serialize
[utility_handlers]

Calls sub handlers one request at a time. [詳細]

関数

netsnmp_mib_handlernetsnmp_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.

説明

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.


関数

netsnmp_mib_handler* netsnmp_get_serialize_handler ( void   ) 

returns a serialize handler that can be injected into a given handler chain.

serialize.c31 行で定義されています。

参照先 netsnmp_create_handler()netsnmp_serialize_helper_handler().

参照元 netsnmp_init_serialize()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.

serialize.c93 行で定義されています。

参照先 netsnmp_get_serialize_handler()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.

serialize.c40 行で定義されています。

参照先 netsnmp_get_serialize_handler()netsnmp_inject_handler()netsnmp_register_handler().

参照元 netsnmp_register_instance()netsnmp_register_read_only_instance()netsnmp_register_read_only_scalar()netsnmp_register_scalar()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

serialize.c48 行で定義されています。

参照先 netsnmp_call_next_handler()netsnmp_request_info_s::nextNULL.

参照元 netsnmp_get_serialize_handler().


net-snmpに対してSat Sep 5 13:14:29 2009に生成されました。  doxygen 1.4.7