Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

netsnmp_read_only(3) [osx man page]

read_only(3)							     net-snmp							      read_only(3)

NAME
read_only - Make your handler read_only automatically The only purpose of this handler is to return an appropriate error for any requests passed to it in a SET mode. Functions netsnmp_mib_handler * netsnmp_get_read_only_handler (void) returns a read_only handler that can be injected into a given handler chain. int netsnmp_read_only_helper (netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests) void netsnmp_init_read_only_helper (void) initializes the read_only helper which then registers a read_only handler as a run-time injectable handler for configuration file use. Detailed Description Make your handler read_only automatically The only purpose of this handler is to return an appropriate error for any requests passed to it in a SET mode. Inserting it into your handler chain will ensure you're never asked to perform a SET request so you can ignore those error conditions. Function Documentation netsnmp_mib_handler* netsnmp_get_read_only_handler (void) returns a read_only handler that can be injected into a given handler chain. Definition at line 29 of file read_only.c. References netsnmp_mib_handler_s::flags, MIB_HANDLER_AUTO_NEXT, netsnmp_create_handler(), netsnmp_read_only_helper(), and NULL. Referenced by netsnmp_init_read_only_helper(), netsnmp_register_read_only_instance(), netsnmp_register_read_only_scalar(), and netsnmp_register_read_only_table_data(). void netsnmp_init_read_only_helper (void) initializes the read_only helper which then registers a read_only handler as a run-time injectable handler for configuration file use. Definition at line 81 of file read_only.c. References netsnmp_get_read_only_handler(), and netsnmp_register_handler_by_name(). Version 5.4.2 5 Sep 2008 read_only(3)

Check Out this Related Man Page

bulk_to_next(3) 						     net-snmp							   bulk_to_next(3)

NAME
bulk_to_next - Convert GETBULK requests into GETNEXT requests for the handler. Functions netsnmp_mib_handler * netsnmp_get_bulk_to_next_handler (void) returns a bulk_to_next handler that can be injected into a given handler chain. void netsnmp_bulk_to_next_fix_requests (netsnmp_request_info *requests) takes answered requests and decrements the repeat count and updates the requests to the next to-do varbind in the list int netsnmp_bulk_to_next_helper (netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests) void netsnmp_init_bulk_to_next_helper (void) initializes the bulk_to_next helper which then registers a bulk_to_next handler as a run-time injectable handler for configuration file use. Detailed Description Convert GETBULK requests into GETNEXT requests for the handler. The only purpose of this handler is to convert a GETBULK request to a GETNEXT request. It is inserted into handler chains where the handler has not set the HANDLER_CAN_GETBULK flag. Function Documentation void netsnmp_bulk_to_next_fix_requests (netsnmp_request_info * requests) takes answered requests and decrements the repeat count and updates the requests to the next to-do varbind in the list Definition at line 42 of file bulk_to_next.c. References netsnmp_request_info_s::inclusive, variable_list::name, variable_list::name_length, netsnmp_request_info_s::next, variable_list::next_variable, netsnmp_request_info_s::range_end, netsnmp_request_info_s::range_end_len, netsnmp_request_info_s::repeat, netsnmp_request_info_s::requestvb, snmp_oid_compare(), snmp_set_var_objid(), and variable_list::type. Referenced by netsnmp_bulk_to_next_helper(). netsnmp_mib_handler* netsnmp_get_bulk_to_next_handler (void) returns a bulk_to_next handler that can be injected into a given handler chain. Definition at line 27 of file bulk_to_next.c. References netsnmp_mib_handler_s::flags, MIB_HANDLER_AUTO_NEXT, netsnmp_bulk_to_next_helper(), netsnmp_create_handler(), and NULL. Referenced by netsnmp_init_bulk_to_next_helper(), and netsnmp_register_handler(). void netsnmp_init_bulk_to_next_helper (void) initializes the bulk_to_next helper which then registers a bulk_to_next handler as a run-time injectable handler for configuration file use. Definition at line 139 of file bulk_to_next.c. References netsnmp_get_bulk_to_next_handler(), and netsnmp_register_handler_by_name(). Version 5.4.2 5 Sep 2008 bulk_to_next(3)
Man Page