HEX
Server: Apache/2.4.54 (Unix) OpenSSL/1.0.2k-fips
System: Linux f17.eelserver.com 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64
User: zulfiqar (1155)
PHP: 8.2.0
Disabled: mail, exec, system, popen, proc_open, shell_exec, passthru, show_source
Upload Files
File: //usr/include/net-snmp/agent/snmp_get_statistic.h
#ifndef SNMP_GET_STATISTIC_H
#define SNMP_GET_STATISTIC_H

/** Registers a scalar group with statistics from @ref snmp_get_statistic.
 *  as reginfo.[start, start + end - begin].
 *  @param reginfo registration to register the items under
 *  @param start offset to the begin item
 *  @param begin first snmp_get_statistic key to return
 *  @param end last snmp_get_statistic key to return
 */
int
netsnmp_register_statistic_handler(netsnmp_handler_registration *reginfo,
                                   oid start, int begin, int end);

#define NETSNMP_REGISTER_STATISTIC_HANDLER(reginfo, start, stat)        \
  netsnmp_register_statistic_handler(reginfo, start,                    \
                                     STAT_ ## stat ## _STATS_START,     \
                                     STAT_ ## stat ## _STATS_END)

#endif