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

📄 old_api.h

📁 net_snmp应用程序示例
💻 H
字号:
#ifndef OLD_API_H#define OLD_API_H#ifdef __cplusplusextern          "C" {#endif#define OLD_API_NAME "old_api"typedef struct netsnmp_old_api_info_s {    struct variable *var;    size_t          varsize;    size_t          numvars;    /*     * old stuff      */    netsnmp_session *ss;    int             flags;} netsnmp_old_api_info;typedef struct old_opi_cache_s {    u_char         *data;    WriteMethod    *write_method;} netsnmp_old_api_cache;int             netsnmp_register_old_api(const char *moduleName,                                         struct variable *var,                                         size_t varsize,                                         size_t numvars,                                         oid * mibloc,                                         size_t mibloclen,                                         int priority,                                         int range_subid,                                         oid range_ubound,                                         netsnmp_session * ss,                                         const char *context,                                         int timeout, int flags);Netsnmp_Node_Handler netsnmp_old_api_helper;/* * really shouldn't be used  */netsnmp_agent_session *netsnmp_get_current_agent_session(void);#ifdef __cplusplus}#endif#endif                          /* OLD_API_H */

⌨️ 快捷键说明

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