snmpAliasDomain.h 678 B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef _SNMPALIASDOMAIN_H
  2. #define _SNMPALIASDOMAIN_H
  3. #ifdef NETSNMP_TRANSPORT_ALIAS_DOMAIN
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. #include <net-snmp/library/snmp_transport.h>
  8. #include <net-snmp/library/asn1.h>
  9. /*
  10. * Simple aliases for complex transport strings that can be specified
  11. * via the snmp.conf file and the 'alias' token.
  12. */
  13. #define TRANSPORT_DOMAIN_ALIAS_IP 1,3,6,1,2,1,100,1,5
  14. NETSNMP_IMPORT oid netsnmp_snmpALIASDomain[];
  15. /*
  16. * "Constructor" for transport domain object.
  17. */
  18. void netsnmp_alias_ctor(void);
  19. #ifdef __cplusplus
  20. }
  21. #endif
  22. #endif /*NETSNMP_TRANSPORT_ALIAS_DOMAIN */
  23. #endif/*_SNMPALIASDOMAIN_H*/