Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

netsnmp_iterator_info_s(3snmp) [debian man page]

iterator_info_s(3snmp)						     net-snmp						    iterator_info_s(3snmp)

NAME
iterator_info_s - Holds iterator information containing functions which should be called by the iterator_handler to loop over your data set and sort it in a SNMP specific manner. SYNOPSIS
Data Fields netsnmp_container c Netsnmp_Iterator_Loop_Key * get_first Netsnmp_Iterator_Loop_Key * get_next Netsnmp_Iterator_Loop_Data * get_data Netsnmp_Iterator_Data * free_user_ctx Netsnmp_Iterator_Ctx * init_loop_ctx Netsnmp_Iterator_Ctx * cleanup_loop_ctx Netsnmp_Iterator_Ctx_Dup * save_pos Netsnmp_Iterator_Data * release_data Netsnmp_Iterator_Data * insert_data Netsnmp_Iterator_Data * remove_data Netsnmp_Iterator_Op * get_size int sorted void * user_ctx This can be used by client handlers to store any information they need. Detailed Description Holds iterator information containing functions which should be called by the iterator_handler to loop over your data set and sort it in a SNMP specific manner. The iterator_info typedef can be used instead of directly calling this struct if you would prefer. Definition at line 39 of file container_iterator.c. Field Documentation void* iterator_info_s::user_ctx This can be used by client handlers to store any information they need. Definition at line 69 of file container_iterator.c. Author Generated automatically by Doxygen for net-snmp from the source code. Version 5.4.3.pre1 23 May 2010 iterator_info_s(3snmp)

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