1debug(3) net-snmp debug(3)
2
3
4
6 debug - Print out debugging information about the handler chain being
7 called.
8
9
10 handler
11 void netsnmp_init_serialize (void)
12 initializes the serialize helper which then registers a serialize
13 handler as a run-time injectable handler for configuration file
14 use.
15 void netsnmp_init_read_only_helper (void)
16 initializes the read_only helper which then registers a read_only
17 handler as a run-time injectable handler for configuration file
18 use.
19 void netsnmp_init_bulk_to_next_helper (void)
20 initializes the bulk_to_next helper which then registers a
21 bulk_to_next handler as a run-time injectable handler for
22 configuration file use.
23 void netsnmp_init_table_dataset (void)
24 void netsnmp_init_stash_cache_helper (void)
25 initializes the stash_cache helper which then registers a
26 stash_cache handler as a run-time injectable handler for
27 configuration file use.
28 void netsnmp_init_helpers (void)
29 call the initialization sequence for all handlers with init_
30 routines.
31
32 Functions
33 netsnmp_mib_handler * netsnmp_get_debug_handler (void)
34 returns a debug handler that can be injected into a given handler
35 chain.
36 void debug_print_requests (netsnmp_request_info *requests)
37 int netsnmp_debug_helper (netsnmp_mib_handler *handler,
38 netsnmp_handler_registration *reginfo, netsnmp_agent_request_info
39 *reqinfo, netsnmp_request_info *requests)
40 void netsnmp_init_debug_helper (void)
41 initializes the debug helper which then registers a debug handler
42 as a run-time injectable handler for configuration file use.
43
45 Print out debugging information about the handler chain being called.
46
47 This is a useful module for run-time debugging of requests as the pass
48 this handler in a calling chain. All debugging output is done via the
49 standard debugging routines with a token name of 'helper:debug', so use
50 the -Dhelper:debug command line flag to see the output when running the
51 snmpd demon. It's not recommended you compile this into a handler chain
52 during compile time, but instead use the 'injectHandler' token in the
53 snmpd.conf file (or similar) to add it to the chain later:
54
55 injectHandler debug my_module_name
56
57 to see an example output, try:
58
59 injectHandler debug mibII/system
60
61 and then run snmpwalk on the 'system' group.
62
64 netsnmp_mib_handler* netsnmp_get_debug_handler (void)
65 returns a debug handler that can be injected into a given handler
66 chain.
67
68 Definition at line 51 of file debug_handler.c.
69
70 References netsnmp_create_handler(), and netsnmp_debug_helper().
71
72 Referenced by netsnmp_init_debug_helper().
73
74 void netsnmp_init_bulk_to_next_helper (void)
75 initializes the bulk_to_next helper which then registers a bulk_to_next
76 handler as a run-time injectable handler for configuration file use.
77
78 Definition at line 139 of file bulk_to_next.c.
79
80 Referenced by netsnmp_init_helpers().
81
82 void netsnmp_init_debug_helper (void)
83 initializes the debug helper which then registers a debug handler as a
84 run-time injectable handler for configuration file use.
85
86 Definition at line 155 of file debug_handler.c.
87
88 References netsnmp_get_debug_handler(), and
89 netsnmp_register_handler_by_name().
90
91 void netsnmp_init_helpers (void)
92 call the initialization sequence for all handlers with init_ routines.
93
94 Definition at line 36 of file all_helpers.c.
95
96 References netsnmp_init_bulk_to_next_helper(),
97 netsnmp_init_debug_helper(), netsnmp_init_read_only_helper(),
98 netsnmp_init_serialize(), netsnmp_init_stash_cache_helper(), and
99 netsnmp_init_table_dataset().
100
101 Referenced by init_agent().
102
103 void netsnmp_init_read_only_helper (void)
104 initializes the read_only helper which then registers a read_only
105 handler as a run-time injectable handler for configuration file use.
106
107 Definition at line 81 of file read_only.c.
108
109 Referenced by netsnmp_init_helpers().
110
111 void netsnmp_init_serialize (void)
112 initializes the serialize helper which then registers a serialize
113 handler as a run-time injectable handler for configuration file use.
114
115 Definition at line 93 of file serialize.c.
116
117 Referenced by netsnmp_init_helpers().
118
119 void netsnmp_init_stash_cache_helper (void)
120 initializes the stash_cache helper which then registers a stash_cache
121 handler as a run-time injectable handler for configuration file use.
122
123 Definition at line 233 of file stash_cache.c.
124
125 References netsnmp_get_stash_cache_handler(), and
126 netsnmp_register_handler_by_name().
127
128 Referenced by netsnmp_init_helpers().
129
130
131
132Version 5.4 24 Nov 2006 debug(3)