1serialize(3) net-snmp serialize(3)
2
3
4
6 serialize - Calls sub handlers one request at a time.
7
8
9 Functions
10 netsnmp_mib_handler * netsnmp_get_serialize_handler (void)
11 returns a serialize handler that can be injected into a given
12 handler chain.
13 int netsnmp_register_serialize (netsnmp_handler_registration *reginfo)
14 functionally the same as calling netsnmp_register_handler() but
15 also injects a serialize handler at the same time for you.
16 int netsnmp_serialize_helper_handler (netsnmp_mib_handler *handler,
17 netsnmp_handler_registration *reginfo, netsnmp_agent_request_info
18 *reqinfo, netsnmp_request_info *requests)
19 Implements the serial handler.
20 void netsnmp_init_serialize (void)
21 initializes the serialize helper which then registers a serialize
22 handler as a run-time injectable handler for configuration file
23 use.
24
26 Calls sub handlers one request at a time.
27
28 This functionally passes in one request at a time into lower handlers
29 rather than a whole bunch of requests at once. This is useful for
30 handlers that don't want to iterate through the request lists
31 themselves. Generally, this is probably less efficient so use with
32 caution. The serialize handler might be useable to dynamically fix
33 handlers with broken looping code, however.
34
36 netsnmp_mib_handler* netsnmp_get_serialize_handler (void)
37 returns a serialize handler that can be injected into a given handler
38 chain.
39
40 Definition at line 31 of file serialize.c.
41
42 References netsnmp_create_handler(), and
43 netsnmp_serialize_helper_handler().
44
45 Referenced by netsnmp_init_serialize(), and
46 netsnmp_register_serialize().
47
48 void netsnmp_init_serialize (void)
49 initializes the serialize helper which then registers a serialize
50 handler as a run-time injectable handler for configuration file use.
51
52 Definition at line 93 of file serialize.c.
53
54 References netsnmp_get_serialize_handler(), and
55 netsnmp_register_handler_by_name().
56
57 int netsnmp_register_serialize (netsnmp_handler_registration * reginfo)
58 functionally the same as calling netsnmp_register_handler() but also
59 injects a serialize handler at the same time for you.
60
61 Definition at line 40 of file serialize.c.
62
63 References netsnmp_get_serialize_handler(), netsnmp_inject_handler(),
64 and netsnmp_register_handler().
65
66 Referenced by netsnmp_register_instance(),
67 netsnmp_register_read_only_instance(),
68 netsnmp_register_read_only_scalar(), netsnmp_register_scalar(), and
69 netsnmp_register_scalar_group().
70
71 int netsnmp_serialize_helper_handler (netsnmp_mib_handler * handler,
72 netsnmp_handler_registration * reginfo, netsnmp_agent_request_info *
73 reqinfo, netsnmp_request_info * requests)
74 Implements the serial handler.
75
76 Definition at line 48 of file serialize.c.
77
78 References netsnmp_call_next_handler(), netsnmp_request_info_s::next,
79 and NULL.
80
81 Referenced by netsnmp_get_serialize_handler().
82
83
84
85Version 5.4 24 Nov 2006 serialize(3)