Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRudolfs Kreicbergs <git-no-reply@zabbix.com>2011-04-18 16:26:50 +0400
committerRudolfs Kreicbergs <git-no-reply@zabbix.com>2011-04-18 16:26:50 +0400
commit8e2736eb0a331f37f694da774693a2c9125388da (patch)
tree5ab52c2d82fd45d429c3269c225e0c86cd2b1ba0 /include/telnet.h
parent46e8355ae83511aacb87384ecfd333c3ab03abc3 (diff)
- [ZBXNEXT-629] Fixed bugs in telnet.c and converted it to support Windows
Diffstat (limited to 'include/telnet.h')
-rw-r--r--include/telnet.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/telnet.h b/include/telnet.h
index d1775ee1de2..f93fd2238df 100644
--- a/include/telnet.h
+++ b/include/telnet.h
@@ -32,8 +32,8 @@
#define CMD_DONT 254
#define OPT_SGA 3
-int telnet_test_login(int socket_fd);
-int telnet_login(int socket_fd, const char *username, const char *password, AGENT_RESULT *result);
-int telnet_execute(int socket_fd, const char *command, AGENT_RESULT *result, const char *encoding);
+int telnet_test_login(ZBX_SOCKET socket_fd);
+int telnet_login(ZBX_SOCKET socket_fd, const char *username, const char *password, AGENT_RESULT *result);
+int telnet_execute(ZBX_SOCKET socket_fd, const char *command, AGENT_RESULT *result, const char *encoding);
#endif