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