netsnmp_serialize.3
上传用户:wxp200602
上传日期:2007-10-30
资源大小:4028k
文件大小:3k
- .TH "serialize: Calls sub handlers one request at a time." 3 "28 Nov 2005" "Version 5.2.1.rc3" "net-snmp" " -*- nroff -*-
- .ad l
- .nh
- .SH NAME
- serialize: 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.
- .PP
- .SS "Functions"
- .in +1c
- .ti -1c
- .RI "fBnetsnmp_mib_handlerfP * fBnetsnmp_get_serialize_handlerfP (void)"
- .br
- .RI "fIreturns a serialize handler that can be injected into a given handler chain. fP"
- .ti -1c
- .RI "int fBnetsnmp_register_serializefP (fBnetsnmp_handler_registrationfP *reginfo)"
- .br
- .RI "fIfunctionally the same as calling fBnetsnmp_register_handler()fP but also injects a serialize handler at the same time for you. fP"
- .ti -1c
- .RI "int fBnetsnmp_serialize_helper_handlerfP (fBnetsnmp_mib_handlerfP *handler, fBnetsnmp_handler_registrationfP *reginfo, fBnetsnmp_agent_request_infofP *reqinfo, fBnetsnmp_request_infofP *requests)"
- .br
- .RI "fIImplements the serial handler. fP"
- .ti -1c
- .RI "void fBnetsnmp_init_serializefP (void)"
- .br
- .RI "fIinitializes the serialize helper which then registers a serialize handler as a run-time injectable handler for configuration file use. fP"
- .in -1c
- .SH "Detailed Description"
- .PP
- This functionally passes in one request at a time into lower handlers rather than a whole bunch of requests at once.
- .PP
- 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.
- .SH "Function Documentation"
- .PP
- .SS "fBnetsnmp_mib_handlerfP* netsnmp_get_serialize_handler (void)"
- .PP
- returns a serialize handler that can be injected into a given handler chain.
- .PP
- Definition at line 34 of file serialize.c.
- .PP
- References netsnmp_create_handler(), and netsnmp_serialize_helper_handler().
- .PP
- Referenced by netsnmp_init_serialize(), and netsnmp_register_serialize().
- .SS "void netsnmp_init_serialize (void)"
- .PP
- initializes the serialize helper which then registers a serialize handler as a run-time injectable handler for configuration file use.
- .PP
- Definition at line 96 of file serialize.c.
- .PP
- References netsnmp_get_serialize_handler(), and netsnmp_register_handler_by_name().
- .SS "int netsnmp_register_serialize (fBnetsnmp_handler_registrationfP * reginfo)"
- .PP
- functionally the same as calling fBnetsnmp_register_handler()fP but also injects a serialize handler at the same time for you.
- .PP
- Definition at line 43 of file serialize.c.
- .PP
- References netsnmp_get_serialize_handler(), netsnmp_inject_handler(), and netsnmp_register_handler().
- .PP
- Referenced by netsnmp_register_instance(), netsnmp_register_read_only_instance(), netsnmp_register_read_only_scalar(), netsnmp_register_scalar(), and netsnmp_register_scalar_group().
- .SS "int netsnmp_serialize_helper_handler (fBnetsnmp_mib_handlerfP * handler, fBnetsnmp_handler_registrationfP * reginfo, fBnetsnmp_agent_request_infofP * reqinfo, fBnetsnmp_request_infofP * requests)"
- .PP
- Implements the serial handler.
- .PP
- Definition at line 51 of file serialize.c.
- .PP
- References netsnmp_call_next_handler(), netsnmp_request_info_s::next, and NULL.
- .PP
- Referenced by netsnmp_get_serialize_handler().