00001 /*00002 * scalar.h 00003 */00004 #ifndef NETSNMP_SCALAR_H00005 #define NETSNMP_SCALAR_H00006
00007 #ifdef __cplusplus00008 extern"C" {
00009 #endif00010
00011 /*00012 * The scalar helper is designed to simplify the task of adding simple00013 * scalar objects to the mib tree.00014 */00015
00016 /*00017 * GETNEXTs are auto-converted to a GET.00018 * * non-valid GETs are dropped.00019 * * The client can assume that if you're called for a GET, it shouldn't00020 * * have to check the oid at all. Just answer.00021 */00022
00023 intnetsnmp_register_scalar(netsnmp_handler_registration *reginfo);
00024 intnetsnmp_register_read_only_scalar(netsnmp_handler_registration *reginfo);
00025
00026 #define SCALAR_HANDLER_NAME "scalar"00027
00028 netsnmp_mib_handler *netsnmp_get_scalar_handler(void);
00029
00030 Netsnmp_Node_Handler netsnmp_scalar_helper_handler;
00031
00032 #ifdef __cplusplus00033 }
00034 #endif00035
00036 #endif
Generated on Wed Aug 26 10:35:38 2009 for net-snmp by 1.5.7.1
Last modified: Tuesday, 23-Dec-2025 17:22:04 UTC
For questions regarding web content and site functionality, please write to the net-snmp-users mail list.