| 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/library/ |
Upload File : |
#ifndef _SNMPCALLBACKDOMAIN_H
#define _SNMPCALLBACKDOMAIN_H
#ifndef NET_SNMP_CONFIG_H
#error "Please include <netsnmp/net-snmp-config.h> before this file"
#endif
#ifdef __cplusplus
extern "C" {
#endif
#ifdef NETSNMP_TRANSPORT_CALLBACK_DOMAIN
#include <net-snmp/types.h>
#include <net-snmp/library/snmp_transport.h>
typedef struct netsnmp_callback_pass_s {
int return_transport_num;
netsnmp_pdu *pdu;
struct netsnmp_callback_pass_s *next;
} netsnmp_callback_pass;
typedef struct netsnmp_callback_info_s {
int linkedto;
void *parent_data;
netsnmp_callback_pass *data;
int callback_num;
int pipefds[2];
} netsnmp_callback_info;
netsnmp_transport *netsnmp_callback_transport(int);
int netsnmp_callback_hook_parse(netsnmp_session * sp,
netsnmp_pdu *pdu,
u_char * packetptr,
size_t len);
int netsnmp_callback_hook_build(netsnmp_session * sp,
netsnmp_pdu *pdu,
u_char * ptk, size_t * len);
int netsnmp_callback_check_packet(u_char * pkt, size_t len);
netsnmp_pdu *netsnmp_callback_create_pdu(netsnmp_transport *transport,
void *opaque, size_t olength);
NETSNMP_IMPORT
netsnmp_session *netsnmp_callback_open(int attach_to,
int (*return_func) (int op,
netsnmp_session
* session,
int reqid,
netsnmp_pdu
*pdu,
void *magic),
int (*fpre_parse) (netsnmp_session
*,
struct
netsnmp_transport_s
*, void *, int),
int (*fpost_parse) (netsnmp_session
*,
netsnmp_pdu *,
int));
NETSNMP_IMPORT
void netsnmp_clear_callback_list(void);
#else
#define netsnmp_clear_callback_list()
#endif /*NETSNMP_TRANSPORT_CALLBACK_DOMAIN*/
#ifdef __cplusplus
}
#endif
#endif/*_SNMPCALLBACKDOMAIN_H*/