summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authoralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-08-16 12:29:54 +0000
committeralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-08-16 12:29:54 +0000
commitab7063b71cea057902b725307f975cc93617c275 (patch)
tree58d91b69451ee3864ccc7920cdb6c130150d4dd4 /include
parent3133a9060cd9628e051f69b57ecce8db1803fed4 (diff)
downloadzabbix-ab7063b71cea057902b725307f975cc93617c275.tar.gz
zabbix-ab7063b71cea057902b725307f975cc93617c275.tar.xz
zabbix-ab7063b71cea057902b725307f975cc93617c275.zip
- added automatic resolution of DNS names for auto-discovery (Alexei)
[svn merge -r4589:4592 svn://svn.zabbix.com/branches/1.4.2] git-svn-id: svn://svn.zabbix.com/trunk@4593 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'include')
-rw-r--r--include/comms.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/comms.h b/include/comms.h
index ffd8a5f6..5b350a4e 100644
--- a/include/comms.h
+++ b/include/comms.h
@@ -57,6 +57,7 @@ char* zbx_tcp_strerror(void);
int zbx_tcp_error(void);
struct hostent *zbx_gethost(const char *hostname);
+struct hostent *zbx_gethost_by_ip(const char *ip);
void zbx_tcp_init(zbx_sock_t *s, ZBX_SOCKET o);
int zbx_tcp_connect(zbx_sock_t *s, const char *ip, unsigned short port);