snmpAAL5PVCDomain.h 856 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #ifndef _SNMPAAL5PVCDOMAIN_H
  2. #define _SNMPAAL5PVCDOMAIN_H
  3. #ifdef NETSNMP_TRANSPORT_AAL5PVC_DOMAIN
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. #if HAVE_SYS_SOCKET_H
  8. #include <sys/socket.h>
  9. #endif
  10. #ifndef linux
  11. config_error(AAL5 PVC support unavailable for this platform -Linux only-);
  12. #endif
  13. #include <atm.h>
  14. #include <net-snmp/library/snmp_transport.h>
  15. #include <net-snmp/library/asn1.h>
  16. extern oid netsnmp_AAL5PVCDomain[]; /* = { NETSNMP_ENTERPRISE_MIB, 3, 3, 3 }; */
  17. netsnmp_transport *netsnmp_aal5pvc_transport(const struct sockaddr_atmpvc *addr,
  18. int local);
  19. /*
  20. * "Constructor" for transport domain object.
  21. */
  22. void netsnmp_aal5pvc_ctor(void);
  23. #ifdef __cplusplus
  24. }
  25. #endif
  26. #endif /*NETSNMP_TRANSPORT_AAL5PVC_DOMAIN */
  27. #endif/*_SNMPAAL5PVCDOMAIN_H*/