| Server IP : 23.254.227.96 / Your IP : 216.73.216.21 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64 User : viralblo ( 1001) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/include/net-snmp/agent/ |
Upload File : |
/*
* scalar.h
*/
#ifndef NETSNMP_SCALAR_GROUP_H
#define NETSNMP_SCALAR_GROUP_H
#ifdef __cplusplus
extern "C" {
#endif
/*
* The scalar group helper is designed to implement a group of
* scalar objects all in one go, making use of the scalar and
* instance helpers.
*
* GETNEXTs are auto-converted to a GET. Non-valid GETs are dropped.
* The client-provided handler just needs to check the OID name to
* see which object is being requested, but can otherwise assume that
* things are fine.
*/
typedef struct netsnmp_scalar_group_s {
oid lbound; /* XXX - or do we need a more flexible arrangement? */
oid ubound;
} netsnmp_scalar_group;
int netsnmp_register_scalar_group(netsnmp_handler_registration *reginfo,
oid first, oid last);
netsnmp_mib_handler *netsnmp_get_scalar_group_handler(oid first, oid last);
Netsnmp_Node_Handler netsnmp_scalar_group_helper_handler;
#ifdef __cplusplus
}
#endif
#endif /** NETSNMP_SCALAR_GROUP_H */