| Server IP : 20.75.53.88 / Your IP : 216.73.217.72 [ Web Server : Apache System : Linux VMRALP-3 4.4.0-256-generic #290~14.04.1-Ubuntu SMP Thu Jun 20 09:24:50 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29+esm15 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, Domains : 3 Domains MySQL : ON | cURL : OFF | WGET : ON | Perl : ON | Python : ON | 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*/