net-snmp 5.7
snmp_get_statistic.h
00001 #ifndef SNMP_GET_STATISTIC_H
00002 #define SNMP_GET_STATISTIC_H
00003 
00011 int
00012 netsnmp_register_statistic_handler(netsnmp_handler_registration *reginfo,
00013                                    oid start, int begin, int end);
00014 
00015 #define NETSNMP_REGISTER_STATISTIC_HANDLER(reginfo, start, stat)        \
00016   netsnmp_register_statistic_handler(reginfo, start,                    \
00017                                      STAT_ ## stat ## _STATS_START,     \
00018                                      STAT_ ## stat ## _STATS_END)
00019 
00020 #endif