all_helpers.c
上传用户:wxp200602
上传日期:2007-10-30
资源大小:4028k
文件大小:2k
- /** @name handler
- * @{ */
- #include <net-snmp/net-snmp-config.h>
- #include <net-snmp/net-snmp-includes.h>
- #include <net-snmp/agent/net-snmp-agent-includes.h>
- #ifdef STILL_TO_DO
- /*
- * It ought to be possible to just #include these files,
- * but they rely on various other types being defined first.
- *
- * I really can't face tracking down the dependency chain
- * just at the moment.
- * So we'll just have to live with the warnings....
- */
- #include <net-snmp/agent/debug_handler.h>
- #include <net-snmp/agent/serialize.h>
- #include <net-snmp/agent/read_only.h>
- #include <net-snmp/agent/bulk_to_next.h>
- #include <net-snmp/agent/table_dataset.h>
- #include <net-snmp/agent/stash_cache.h>
- #else
- void netsnmp_init_debug_helper(void);
- void netsnmp_init_serialize(void);
- void netsnmp_init_read_only_helper(void);
- void netsnmp_init_bulk_to_next_helper(void);
- void netsnmp_init_table_dataset(void);
- void netsnmp_init_stash_cache_helper(void);
- #endif
- /** call the initialization sequence for all handlers with init_ routines. */
- void
- netsnmp_init_helpers(void)
- {
- netsnmp_init_debug_helper();
- netsnmp_init_serialize();
- netsnmp_init_read_only_helper();
- netsnmp_init_bulk_to_next_helper();
- netsnmp_init_table_dataset();
- netsnmp_init_stash_cache_helper();
- }
- /** @defgroup utilities utility_handlers: simplify request processing
- * A group of handlers intended to simplify certain aspects of processing
- * a request for a MIB object. These helpers do not implement any MIB
- * objects themselves. Rather they handle specific generic situations,
- * either returning an error, or passing a (possibly simpler) request
- * down to lower level handlers.
- * @ingroup handler
- */
- /** @defgroup leaf leaf_handlers: process individual leaf objects
- * A group of handlers to implement individual leaf objects and instances
- * (both scalar objects, and individual objects and instances within a table).
- * These handlers will typically allow control to be passed down to a lower
- * level, user-provided handler, but this is (usually) optional.
- * @ingroup handler
- */
- /** @} */