Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips
System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : fdshops ( 1003)
PHP Version : 8.2.21
Disable Function : NONE
Directory :  /usr/include/net-snmp/agent/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/include/net-snmp/agent/scalar.h
/*
 * scalar.h 
 */
#ifndef NETSNMP_SCALAR_H
#define NETSNMP_SCALAR_H

#ifdef __cplusplus
extern "C" {
#endif

/*
 * The scalar helper is designed to simplify the task of adding simple
 * scalar objects to the mib tree.
 */

/*
 * GETNEXTs are auto-converted to a GET.
 * * non-valid GETs are dropped.
 * * The client can assume that if you're called for a GET, it shouldn't
 * * have to check the oid at all.  Just answer.
 */

int netsnmp_register_scalar(netsnmp_handler_registration *reginfo);
int netsnmp_register_read_only_scalar(netsnmp_handler_registration *reginfo);

#define SCALAR_HANDLER_NAME "scalar"

netsnmp_mib_handler *netsnmp_get_scalar_handler(void);

Netsnmp_Node_Handler netsnmp_scalar_helper_handler;

#ifdef __cplusplus
}
#endif

#endif /** NETSNMP_SCALAR_H */

Spamworldpro Mini