Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

netsnmp_read_only(3) [redhat man page]

read_only: make your handler read_only automatically(3)      Library Functions Manual	   read_only: make your handler read_only automatically(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. More... 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
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 32 of file read_only.c. Referenced by netsnmp_init_read_only_helper(), 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 71 of file read_only.c. int netsnmp_read_only_helper (netsnmp_mib_handler * handler, netsnmp_handler_registration * reginfo, netsnmp_agent_request_info * reqinfo, netsnmp_request_info * requests) For internal use only. Definition at line 39 of file read_only.c. net-snmp 5 Oct 2002 read_only: make your handler read_only automatically(3)

Check Out this Related Man Page

serialize(3snmp)						     net-snmp							  serialize(3snmp)

NAME
serialize - Calls sub handlers one request at a time. Functions netsnmp_mib_handler * netsnmp_get_serialize_handler (void) returns a serialize handler that can be injected into a given handler chain. int netsnmp_register_serialize (netsnmp_handler_registration *reginfo) functionally the same as calling netsnmp_register_handler() but also injects a serialize handler at the same time for you. int netsnmp_serialize_helper_handler (netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests) Implements the serial handler. void netsnmp_init_serialize (void) initializes the serialize helper which then registers a serialize handler as a run-time injectable handler for configuration file use. Detailed Description Calls sub handlers one request at a time. This functionally passes in one request at a time into lower handlers rather than a whole bunch of requests at once. This is useful for handlers that don't want to iterate through the request lists themselves. Generally, this is probably less efficient so use with caution. The serialize handler might be useable to dynamically fix handlers with broken looping code, however. Function Documentation netsnmp_mib_handler* netsnmp_get_serialize_handler (void) returns a serialize handler that can be injected into a given handler chain. Definition at line 31 of file serialize.c. void netsnmp_init_serialize (void) initializes the serialize helper which then registers a serialize handler as a run-time injectable handler for configuration file use. Definition at line 93 of file serialize.c. int netsnmp_register_serialize (netsnmp_handler_registration * reginfo) functionally the same as calling netsnmp_register_handler() but also injects a serialize handler at the same time for you. Definition at line 40 of file serialize.c. int netsnmp_serialize_helper_handler (netsnmp_mib_handler * handler, netsnmp_handler_registration * reginfo, netsnmp_agent_request_info * reqinfo, netsnmp_request_info * requests) Implements the serial handler. Definition at line 48 of file serialize.c. Author Generated automatically by Doxygen for net-snmp from the source code. Version 5.4.3.pre1 23 May 2010 serialize(3snmp)
Man Page