| 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 : |
#ifndef OLD_API_H
#define OLD_API_H
#ifdef __cplusplus
extern "C" {
#endif
#define OLD_API_NAME "old_api"
typedef struct netsnmp_old_api_info_s {
struct variable *var;
size_t varsize;
size_t numvars;
/*
* old stuff
*/
netsnmp_session *ss;
int flags;
} netsnmp_old_api_info;
typedef struct old_opi_cache_s {
u_char *data;
WriteMethod *write_method;
} netsnmp_old_api_cache;
int netsnmp_register_old_api(const char *moduleName,
const struct variable *var,
size_t varsize,
size_t numvars,
const oid * mibloc,
size_t mibloclen,
int priority,
int range_subid,
oid range_ubound,
netsnmp_session * ss,
const char *context,
int timeout, int flags);
Netsnmp_Node_Handler netsnmp_old_api_helper;
/*
* really shouldn't be used
*/
netsnmp_agent_session *netsnmp_get_current_agent_session(void);
#ifdef __cplusplus
}
#endif
#endif /* OLD_API_H */