Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

netsnmp_utilities(3) [osx man page]

utility_handlers(3)						     net-snmp						       utility_handlers(3)

NAME
utility_handlers - Simplify request processing A group of handlers intended to simplify certain aspects of processing a request for a MIB object. Modules bulk_to_next Convert GETBULK requests into GETNEXT requests for the handler. cache_handler Maintains a cache of data for use by lower level handlers. debug Print out debugging information about the handler chain being called. mode_end_call At the end of a series of requests, call another handler hook. multiplexer Splits mode requests into calls to different handlers. 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. row_merge Calls sub handlers with request for one row at a time. serialize Calls sub handlers one request at a time. stash_to_next Convert GET_STASH requests into GETNEXT requests for the handler. Detailed Description Simplify request processing A group of handlers intended to simplify certain aspects of processing a request for a MIB object. These helpers do not implement any MIB objects themselves. Rather they handle specific generic situations, either returning an error, or passing a (possibly simpler) request down to lower level handlers. Version 5.4.2 5 Sep 2008 utility_handlers(3)

Check Out this Related Man Page

serialize: Calls sub handlers one request at a time.(3)      Library Functions Manual	   serialize: Calls sub handlers one request at a time.(3)

NAME
serialize: 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. More... 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
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 34 of file serialize.c. Referenced by netsnmp_init_serialize(), and netsnmp_register_serialize(). 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 96 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 43 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 51 of file serialize.c. net-snmp 5 Oct 2002 serialize: Calls sub handlers one request at a time.(3)
Man Page