bulktonext:t:convertrGEGTEBTUBLUKLKrequeststintotGEGTENTENXETXTrequeststforothehhandler.(3)3)
NAME
netsnmpbulktonext - convert GETBULK requests into GETNEXT requests
for the handler.
Functions
netsnmpmibhandler * netsnmpgetbulktonexthandler (void)
returns a bulktonext handler that can be injected into a given
handler chain.
void netsnmpbulktonextfixrequests (netsnmprequestinfo *requests)
takes answered requests and decrements the repeat count and updates
the requests to the next to-do varbind in the list
int netsnmpbulktonexthelper (netsnmpmibhandler *handler,
netsnmphandlerregistration *reginfo, netsnmpagentrequestinfo
*reqinfo, netsnmprequestinfo *requests)
void netsnmpinitbulktonexthelper (void)
initializes the bulktonext helper which then registers a
bulktonext handler as a run-time injectable handler for
configuration file use.
Detailed Description
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 HANDLERCANGETBULK flag.
Function Documentation
void netsnmpbulktonextfixrequests (netsnmprequestinfo ** 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 45 of
file bulktonext.c.
References variablelist::name, variablelist::namelength,
netsnmprequestinfos::next, variablelist::nextvariable,
netsnmprequestinfos::repeat, netsnmprequestinfos::requestvb, and
variablelist::type.
netsnmpmibhandler** netsnmpgetbulktonexthandler (void)
returns a bulktonext handler that can be injected into a given
handler chain. Definition at line 30 of file bulktonext.c.
References netsnmpmibhandlers::flags, netsnmpcreatehandler(), and
netsnmpmibhandler.
Referenced by netsnmpinitbulktonexthelper(), and
netsnmpregisterhandler().
void netsnmpinitbulktonexthelper (void)
initializes the bulktonext helper which then registers a bulktonext
handler as a run-time injectable handler for configuration file use.
Definition at line 114 of file bulktonext.c.
References netsnmpgetbulktonexthandler(), and
netsnmpregisterhandlerbyname().
bulktonext: convert GETBULK requests Jinto20G0ETNEXT requests for the handler.(3)
|