4 #ifndef NETSNMP_SCALAR_H
5 #define NETSNMP_SCALAR_H
12 * The scalar helper is designed to simplify the task of adding simple
13 * scalar objects to the mib tree.
17 * GETNEXTs are auto-converted to a GET.
18 * * non-valid GETs are dropped.
19 * * The client can assume that if you're called for a GET, it shouldn't
20 * * have to check the oid at all. Just answer.
23 int netsnmp_register_scalar(netsnmp_handler_registration *reginfo);
24 int netsnmp_register_read_only_scalar(netsnmp_handler_registration *reginfo);
26 #define SCALAR_HANDLER_NAME "scalar"
28 netsnmp_mib_handler *netsnmp_get_scalar_handler(void);
30 Netsnmp_Node_Handler netsnmp_scalar_helper_handler;
36 #endif /** NETSNMP_SCALAR_H */