summaryrefslogtreecommitdiffstats
path: root/plugins/netutils.h
diff options
context:
space:
mode:
authorM. Sean Finney <seanius@users.sourceforge.net>2005-05-25 00:30:19 (GMT)
committerM. Sean Finney <seanius@users.sourceforge.net>2005-05-25 00:30:19 (GMT)
commit8134ec30d1fdf9b9921885154c900d2a88707676 (patch)
tree15fbf02522099e889e73292bd387c8944b45a9e0 /plugins/netutils.h
parentdafcd900153a982467d24358724ff51850f28d4c (diff)
downloadmonitoring-plugins-8134ec30d1fdf9b9921885154c900d2a88707676.tar.gz
bah, my_connect is taken by mysql. now calling it np_net_connect.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1176 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/netutils.h')
-rw-r--r--plugins/netutils.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/netutils.h b/plugins/netutils.h
index bd53201..1a52eec 100644
--- a/plugins/netutils.h
+++ b/plugins/netutils.h
@@ -49,9 +49,9 @@ int process_request (const char *address, int port, int proto,
49 const char *sbuffer, char *rbuffer, int rsize); 49 const char *sbuffer, char *rbuffer, int rsize);
50 50
51/* my_connect and wrapper macros */ 51/* my_connect and wrapper macros */
52#define my_tcp_connect(addr, port, s) my_connect(addr, port, s, IPPROTO_TCP) 52#define my_tcp_connect(addr, port, s) np_net_connect(addr, port, s, IPPROTO_TCP)
53#define my_udp_connect(addr, port, s) my_connect(addr, port, s, IPPROTO_UDP) 53#define my_udp_connect(addr, port, s) np_net_connect(addr, port, s, IPPROTO_UDP)
54int my_connect(const char *address, int port, int *sd, int proto); 54int np_net_connect(const char *address, int port, int *sd, int proto);
55 55
56/* send_request and wrapper macros */ 56/* send_request and wrapper macros */
57#define send_tcp_request(s, sbuf, rbuf, rsize) \ 57#define send_tcp_request(s, sbuf, rbuf, rsize) \