This manual page is for Mac OS X version 10.6

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

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

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



serialize(3)                                      net-snmp                                      serialize(3)



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.

       References netsnmp_create_handler(), and netsnmp_serialize_helper_handler().

       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 93 of file serialize.c.

       References netsnmp_get_serialize_handler(), and netsnmp_register_handler_by_name().

   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.

       References netsnmp_get_serialize_handler(), netsnmp_inject_handler(), and netsnmp_register_handler().

       Referenced by netsnmp_register_instance(), netsnmp_register_read_only_instance(),
       netsnmp_register_read_only_scalar(), netsnmp_register_scalar(), and netsnmp_register_scalar_group().

   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.

       References netsnmp_call_next_handler(), netsnmp_request_info_s::next, and NULL.

       Referenced by netsnmp_get_serialize_handler().



Version 5.4.2                                    5 Sep 2008                                     serialize(3)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.