net-snmp
5.4.1
|
00001 #ifndef _SNMPSTDDOMAIN_H 00002 #define _SNMPSTDDOMAIN_H 00003 00004 #ifdef NETSNMP_TRANSPORT_STD_DOMAIN 00005 00006 #ifdef __cplusplus 00007 extern "C" { 00008 #endif 00009 00010 #include <net-snmp/library/snmp_transport.h> 00011 #include <net-snmp/library/asn1.h> 00012 00013 /* 00014 * The SNMP over STD over IPv4 transport domain is identified by 00015 * transportDomainStdIpv4 as defined in RFC 3419. 00016 */ 00017 00018 #define TRANSPORT_DOMAIN_STD_IP 1,3,6,1,2,1,100,1,101 00019 extern oid netsnmp_snmpSTDDomain[]; 00020 00021 typedef struct netsnmp_std_data_s { 00022 int outfd; 00023 int childpid; 00024 char *prog; 00025 } netsnmp_std_data; 00026 00027 netsnmp_transport *netsnmp_std_transport(const char *instring, 00028 size_t instring_len, 00029 const char *default_target); 00030 00031 /* 00032 * "Constructor" for transport domain object. 00033 */ 00034 00035 void netsnmp_std_ctor(void); 00036 00037 #ifdef __cplusplus 00038 } 00039 #endif 00040 #endif /*NETSNMP_TRANSPORT_STD_DOMAIN */ 00041 00042 #endif/*_SNMPSTDDOMAIN_H*/