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