Revert "Revert "and added files""
[bcm963xx.git] / userapps / opensource / net-snmp / include / net-snmp / library / snmpTCPDomain.h
1 #ifndef _SNMPTCPDOMAIN_H
2 #define _SNMPTCPDOMAIN_H
3
4 #ifdef SNMP_TRANSPORT_TCP_DOMAIN
5
6 #ifdef __cplusplus
7 extern          "C" {
8 #endif
9
10 #include <net-snmp/library/snmp_transport.h>
11 #include <net-snmp/library/asn1.h>
12
13 #if HAVE_SYS_SOCKET_H
14 #include <sys/socket.h>
15 #endif
16 #if HAVE_NETINET_IN_H
17 #include <netinet/in.h>
18 #endif
19
20 extern oid netsnmp_snmpTCPDomain[8];    /*  = { 1, 3, 6, 1, 3, 91, 1, 1 };  */
21
22 netsnmp_transport *netsnmp_tcp_transport(struct sockaddr_in *addr, int local);
23
24 /*
25  * "Constructor" for transport domain object.  
26  */
27
28 void            netsnmp_tcp_ctor(void);
29
30 #ifdef __cplusplus
31 }
32 #endif
33 #endif                          /*SNMP_TRANSPORT_TCP_DOMAIN */
34
35 #endif/*_SNMPTCPDOMAIN_H*/