snmpTLSTCPDomain.h 806 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #ifndef _SNMPTLSTCPDOMAIN_H
  2. #define _SNMPTLSTCPDOMAIN_H
  3. #if HAVE_NETINET_IN_H
  4. #include <netinet/in.h>
  5. #endif
  6. config_require(IPv4Base)
  7. config_require(SocketBase)
  8. config_require(TLSBase)
  9. #include <net-snmp/library/snmpIPv4BaseDomain.h>
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13. #define TRANSPORT_DOMAIN_TLS_TCP_IP 1,3,6,1,6,1,8
  14. NETSNMP_IMPORT oid netsnmpTLSTCPDomain[7];
  15. NETSNMP_IMPORT size_t netsnmpTLSTCPDomain_len;
  16. netsnmp_transport *netsnmp_tlstcp_transport(const char *addr_string, int local);
  17. /*
  18. * Register any configuration tokens specific to the agent.
  19. */
  20. void netsnmp_tlstcp_agent_config_tokens_register(void);
  21. /*
  22. * "Constructor" for transport domain object.
  23. */
  24. void netsnmp_tlstcp_ctor(void);
  25. #ifdef __cplusplus
  26. }
  27. #endif
  28. #endif/*_SNMPTLSTCPDOMAIN_H*/