scalar.h

来自「snmp的源代码,已经在我的ubuntu下编译通过」· C头文件 代码 · 共 37 行

H
37
字号
/* * scalar.h  */#ifndef NETSNMP_SCALAR_H#define NETSNMP_SCALAR_H#ifdef __cplusplusextern "C" {#endif/* * The scalar helper is designed to simplify the task of adding simple * scalar objects to the mib tree. *//* * GETNEXTs are auto-converted to a GET. * * non-valid GETs are dropped. * * The client can assume that if you're called for a GET, it shouldn't * * have to check the oid at all.  Just answer. */int netsnmp_register_scalar(netsnmp_handler_registration *reginfo);int netsnmp_register_read_only_scalar(netsnmp_handler_registration *reginfo);#define SCALAR_HANDLER_NAME "scalar"netsnmp_mib_handler *netsnmp_get_scalar_handler(void);Netsnmp_Node_Handler netsnmp_scalar_helper_handler;#ifdef __cplusplus}#endif#endif /** NETSNMP_SCALAR_H */

⌨️ 快捷键说明

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