diff options
Diffstat (limited to 'plugins/utils.h')
0 files changed, 0 insertions, 0 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) |
54 | int my_connect(const char *address, int port, int *sd, int proto); | 54 | int 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) \ |