MyWebUniversity.com Home Page
 



Darwin Mac OS X man pages main menu
serialize: Calls sub haserialize: Callsssubthandlers(one request at a time.(3)



NAME
       netsnmpserialize - Calls sub handlers one request at a time.



   Functions
       netsnmpmibhandler * netsnmpgetserializehandler (void)
           returns a serialize handler that can be injected into a given
           handler chain.
       int netsnmpregisterserialize (netsnmphandlerregistration *reginfo)
           functionally the same as calling netsnmpregisterhandler() but
           also injects a serialize handler at the same time for you.
       int netsnmpserializehelperhandler (netsnmpmibhandler **handler,,
           netsnmphandlerregistration **reginfo,, netsnmpagentrequestinfo
           **reqinfo,, netsnmprequestinfo **requests)
           Implements the serial handler.
       void netsnmpinitserialize (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
   netsnmpmibhandler** netsnmpgetserializehandler (void)
       returns a serialize handler that can be injected into a given handler
       chain. Definition at line 34 of file serialize.c.

       References netsnmpcreatehandler().

       Referenced by netsnmpinitserialize(), and
       netsnmpregisterserialize().

   void netsnmpinitserialize (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.

       References netsnmpgetserializehandler(), and
       netsnmpregisterhandlerbyname().

   int netsnmpregisterserialize (netsnmphandlerregistration ** reginfo)
       functionally the same as calling netsnmpregisterhandler() but also
       injects a serialize handler at the same time for you. Definition at
       line 43 of file serialize.c.

       References netsnmpgetserializehandler(),
       netsnmphandlerregistration, netsnmpinjecthandler(), and
       netsnmpregisterhandler().

       Referenced by netsnmpregisterinstance(),
       netsnmpregisterreadonlyinstance(),
       netsnmpregisterreadonlyscalar(), and netsnmpregisterscalar().

   int netsnmpserializehelperhandler (netsnmpmibhandler ** handler,,
       netsnmphandlerregistration ** reginfo,, netsnmpagentrequestinfo **
       reqinfo,, netsnmprequestinfo ** requests)
       Implements the serial handler. Definition at line 51 of file
       serialize.c.

       References netsnmpcallnexthandler(), netsnmphandlerregistration,
       netsnmpmibhandler, and netsnmprequestinfos::next.



net-snmp               serialize: CalJlsnsu0b0handlers one request at a time.(3)
Darwin Mac OS X man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™