net-snmp 5.7
snmpAAL5PVCDomain.h
00001 #ifndef _SNMPAAL5PVCDOMAIN_H
00002 #define _SNMPAAL5PVCDOMAIN_H
00003 
00004 #ifdef NETSNMP_TRANSPORT_AAL5PVC_DOMAIN
00005 
00006 #ifdef __cplusplus
00007 extern          "C" {
00008 #endif
00009 
00010 #if HAVE_SYS_SOCKET_H
00011 #include <sys/socket.h>
00012 #endif
00013 
00014 #ifndef linux
00015     config_error(AAL5 PVC support unavailable for this platform -Linux only-);
00016 #endif
00017 
00018 #include <atm.h>
00019 
00020 #include <net-snmp/library/snmp_transport.h>
00021 #include <net-snmp/library/asn1.h>
00022 
00023 extern oid  netsnmp_AAL5PVCDomain[]; /* = { NETSNMP_ENTERPRISE_MIB, 3, 3, 3 }; */
00024 
00025 netsnmp_transport *netsnmp_aal5pvc_transport(struct sockaddr_atmpvc *addr,
00026                                              int local);
00027 
00028 /*
00029  * "Constructor" for transport domain object.  
00030  */
00031 
00032 void            netsnmp_aal5pvc_ctor(void);
00033 
00034 #ifdef __cplusplus
00035 }
00036 #endif
00037 #endif                          /*NETSNMP_TRANSPORT_AAL5PVC_DOMAIN */
00038 
00039 #endif/*_SNMPAAL5PVCDOMAIN_H*/