summaryrefslogtreecommitdiffstats
path: root/plugins/netutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/netutils.h')
-rw-r--r--plugins/netutils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/netutils.h b/plugins/netutils.h
index 88a5162e..b2c2a2f5 100644
--- a/plugins/netutils.h
+++ b/plugins/netutils.h
@@ -48,6 +48,10 @@ int process_request (const char *address, int port, int proto,
48int my_tcp_connect (const char *address, int port, int *sd); 48int my_tcp_connect (const char *address, int port, int *sd);
49int my_udp_connect (const char *address, int port, int *sd); 49int my_udp_connect (const char *address, int port, int *sd);
50 50
51int send_tcp_request (int sd, const char *send_buffer, char *recv_buffer, int recv_size);
52int send_udp_request (int sd, const char *send_buffer, char *recv_buffer, int recv_size);
53int send_request (int sd, int proto, const char *send_buffer, char *recv_buffer, int recv_size);
54
51int is_host (const char *); 55int is_host (const char *);
52int is_addr (const char *); 56int is_addr (const char *);
53int resolve_host_or_addr (const char *, int); 57int resolve_host_or_addr (const char *, int);