1 /** @name handler
2  *  @{ */
3 
4 #include <net-snmp/net-snmp-config.h>
5 #include <net-snmp/net-snmp-features.h>
6 #include <net-snmp/net-snmp-includes.h>
7 #include <net-snmp/agent/net-snmp-agent-includes.h>
8 
9 #include <net-snmp/agent/debug_handler.h>
10 #include <net-snmp/agent/serialize.h>
11 #include <net-snmp/agent/read_only.h>
12 #include <net-snmp/agent/bulk_to_next.h>
13 #include <net-snmp/agent/table_dataset.h>
14 #include <net-snmp/agent/stash_cache.h>
15 
16 netsnmp_feature_child_of(mib_helpers, libnetsnmpagent);
17 
18 
19 /** call the initialization sequence for all handlers with init_ routines. */
20 void
netsnmp_init_helpers(void)21 netsnmp_init_helpers(void)
22 {
23     netsnmp_init_debug_helper();
24     netsnmp_init_serialize();
25     netsnmp_init_read_only_helper();
26     netsnmp_init_bulk_to_next_helper();
27 #ifndef NETSNMP_FEATURE_REMOVE_TABLE_DATASET
28     netsnmp_init_table_dataset();
29 #endif /* NETSNMP_FEATURE_REMOVE_TABLE_DATASET */
30 
31 #ifndef NETSNMP_FEATURE_REMOVE_ROW_MERGE
32     netsnmp_init_row_merge();
33 #endif /* NETSNMP_FEATURE_REMOVE_ROW_MERGE */
34 #ifndef NETSNMP_FEATURE_REMOVE_STASH_CACHE
35     netsnmp_init_stash_cache_helper();
36 #endif /* NETSNMP_FEATURE_REMOVE_STASH_CACHE */
37 }
38 
39 /** @defgroup utilities utility_handlers
40  *  Simplify request processing
41  *  A group of handlers intended to simplify certain aspects of processing
42  *  a request for a MIB object.  These helpers do not implement any MIB
43  *  objects themselves.  Rather they handle specific generic situations,
44  *  either returning an error, or passing a (possibly simpler) request
45  *  down to lower level handlers.
46  *  @ingroup handler
47  */
48 
49 /** @defgroup leaf leaf_handlers
50  *  Process individual leaf objects
51  *  A group of handlers to implement individual leaf objects and instances
52  *  (both scalar objects, and individual objects and instances within a table).
53  *  These handlers will typically allow control to be passed down to a lower
54  *  level, user-provided handler, but this is (usually) optional.
55  *  @ingroup handler
56  */
57 
58 /** @} */
59