Scroll to navigation

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 25 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 87 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 34 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 42 of file serialize.c.

Author

Generated automatically by Doxygen for net-snmp from the source code.

23 Sep 2009 Version 5.5