ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



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 todo
           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.1                                    27 Jul 2007                                 bulk_to_next(3)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.