net-snmp 5.7
|
00001 #ifndef _SNMPTLSTCPDOMAIN_H 00002 #define _SNMPTLSTCPDOMAIN_H 00003 00004 #if HAVE_NETINET_IN_H 00005 #include <netinet/in.h> 00006 #endif 00007 00008 config_require(IPv4Base) 00009 config_require(SocketBase) 00010 config_require(TLSBase) 00011 00012 #include <net-snmp/library/snmpIPv4BaseDomain.h> 00013 00014 #ifdef __cplusplus 00015 extern "C" { 00016 #endif 00017 00018 #define TRANSPORT_DOMAIN_TLS_TCP_IP 1,3,6,1,6,1,8 00019 NETSNMP_IMPORT oid netsnmpTLSTCPDomain[7]; 00020 NETSNMP_IMPORT size_t netsnmpTLSTCPDomain_len; 00021 00022 netsnmp_transport *netsnmp_tlstcp_transport(const char *addr_string, int local); 00023 00024 /* 00025 * Register any configuration tokens specific to the agent. 00026 */ 00027 00028 void netsnmp_tlstcp_agent_config_tokens_register(void); 00029 00030 /* 00031 * "Constructor" for transport domain object. 00032 */ 00033 00034 void netsnmp_tlstcp_ctor(void); 00035 00036 #ifdef __cplusplus 00037 } 00038 #endif 00039 #endif/*_SNMPTLSTCPDOMAIN_H*/