⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 all_helpers.c

📁 snmp的源代码,已经在我的ubuntu下编译通过
💻 C
字号:
/** @name handler *  @{ */#include <net-snmp/net-snmp-config.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>#elsevoid  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. */voidnetsnmp_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 *//** @} */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -