'\" te .TH "serialize" 3 "27 Jul 2007" "Version 5.4.1" "net-snmp" \" -*- nroff -*- .ad l .nh .SH NAME serialize \- Calls sub handlers one request at a time. .PP .SS "Functions" .in +1c .ti -1c .RI "\fBnetsnmp_mib_handler\fP * \fBnetsnmp_get_serialize_handler\fP (void)" .br .RI "\fIreturns a serialize handler that can be injected into a given handler chain. \fP" .ti -1c .RI "int \fBnetsnmp_register_serialize\fP (\fBnetsnmp_handler_registration\fP *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_handler\fP (\fBnetsnmp_mib_handler\fP *handler, \fBnetsnmp_handler_registration\fP *reginfo, \fBnetsnmp_agent_request_info\fP *reqinfo, \fBnetsnmp_request_info\fP *requests)" .br .RI "\fIImplements the serial handler. \fP" .ti -1c .RI "void \fBnetsnmp_init_serialize\fP (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 Calls sub handlers one request at a time. .PP 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. .SH "Function Documentation" .PP .SS "\fBnetsnmp_mib_handler\fP* netsnmp_get_serialize_handler (void)" .PP returns a serialize handler that can be injected into a given handler chain. .PP Definition at line 31 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 93 of file serialize.c. .PP References netsnmp_get_serialize_handler(), and netsnmp_register_handler_by_name(). .SS "int netsnmp_register_serialize (\fBnetsnmp_handler_registration\fP * 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 40 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_handler\fP * handler, \fBnetsnmp_handler_registration\fP * reginfo, \fBnetsnmp_agent_request_info\fP * reqinfo, \fBnetsnmp_request_info\fP * requests)" .PP Implements the serial handler. .PP Definition at line 48 of file serialize.c. .PP References netsnmp_call_next_handler(), netsnmp_request_info_s::next, and NULL. .PP Referenced by netsnmp_get_serialize_handler(). .\" Oracle has added the ARC stability level to this manual page .SH ATTRIBUTES See .BR attributes (5) for descriptions of the following attributes: .sp .TS box; cbp-1 | cbp-1 l | l . ATTRIBUTE TYPE ATTRIBUTE VALUE = Availability system/management/snmp/net-snmp/documentation = Stability Volatile .TE .PP .SH NOTES .\" Oracle has added source availability information to this manual page This software was built from source available at https://java.net/projects/solaris-userland. The original community source was downloaded from http://ftp.ntua.gr/mirror/net-snmp/OldFiles/net-snmp-5.4.x/5.4.1/net-snmp-5.4.1.tar.gz Further information about this software can be found on the open source community website at http://www.net-snmp.org/.