summaryrefslogtreecommitdiffstats
path: root/plugins/netutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/netutils.h')
-rw-r--r--plugins/netutils.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/plugins/netutils.h b/plugins/netutils.h
index f5df7af..c560f44 100644
--- a/plugins/netutils.h
+++ b/plugins/netutils.h
@@ -36,27 +36,27 @@
36 36
37RETSIGTYPE socket_timeout_alarm_handler (int) __attribute__((noreturn)); 37RETSIGTYPE socket_timeout_alarm_handler (int) __attribute__((noreturn));
38 38
39int process_tcp_request2 (char *address, int port, char *sbuffer, 39int process_tcp_request2 (const char *address, int port,
40 char *rbuffer, int rsize); 40 const char *sbuffer, char *rbuffer, int rsize);
41int process_tcp_request (char *address, int port, char *sbuffer, 41int process_tcp_request (const char *address, int port,
42 char *rbuffer, int rsize); 42 const char *sbuffer, char *rbuffer, int rsize);
43int process_udp_request (char *address, int port, char *sbuffer, 43int process_udp_request (const char *address, int port,
44 char *rbuffer, int rsize); 44 const char *sbuffer, char *rbuffer, int rsize);
45int process_request (char *address, int port, int proto, char *sbuffer, 45int process_request (const char *address, int port, int proto,
46 char *rbuffer, int rsize); 46 const char *sbuffer, char *rbuffer, int rsize);
47 47
48int my_tcp_connect (char *address, int port, int *sd); 48int my_tcp_connect (const char *address, int port, int *sd);
49int my_udp_connect (char *address, int port, int *sd); 49int my_udp_connect (const char *address, int port, int *sd);
50int my_connect (char *address, int port, int *sd, int proto); 50int my_connect (const char *address, int port, int *sd, int proto);
51 51
52int is_host (char *); 52int is_host (const char *);
53int is_addr (char *); 53int is_addr (const char *);
54int resolve_host_or_addr (char *, int); 54int resolve_host_or_addr (const char *, int);
55int is_inet_addr (char *); 55int is_inet_addr (const char *);
56#ifdef USE_IPV6 56#ifdef USE_IPV6
57int is_inet6_addr (char *); 57int is_inet6_addr (const char *);
58#endif 58#endif
59int is_hostname (char *); 59int is_hostname (const char *);
60 60
61extern unsigned int socket_timeout; 61extern unsigned int socket_timeout;
62extern int econn_refuse_state; 62extern int econn_refuse_state;