diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-08-08 16:49:32 +0000 |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-08-08 16:49:32 +0000 |
commit | 930650812a19245a8d45853064e8fe32d87f71f2 (patch) | |
tree | 17146c824e305cf399257ce4dbd546e5e0f63183 /plugins/netutils.h | |
parent | 45b8e6933cb118565efd8807ca8d80ed8e7422f4 (diff) | |
download | monitoring-plugins-930650812a19245a8d45853064e8fe32d87f71f2.tar.gz |
cleanups from pedantic complier warnings
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@666 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/netutils.h')
-rw-r--r-- | plugins/netutils.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/plugins/netutils.h b/plugins/netutils.h index f5df7af6..c560f449 100644 --- a/plugins/netutils.h +++ b/plugins/netutils.h | |||
@@ -36,27 +36,27 @@ | |||
36 | 36 | ||
37 | RETSIGTYPE socket_timeout_alarm_handler (int) __attribute__((noreturn)); | 37 | RETSIGTYPE socket_timeout_alarm_handler (int) __attribute__((noreturn)); |
38 | 38 | ||
39 | int process_tcp_request2 (char *address, int port, char *sbuffer, | 39 | int process_tcp_request2 (const char *address, int port, |
40 | char *rbuffer, int rsize); | 40 | const char *sbuffer, char *rbuffer, int rsize); |
41 | int process_tcp_request (char *address, int port, char *sbuffer, | 41 | int process_tcp_request (const char *address, int port, |
42 | char *rbuffer, int rsize); | 42 | const char *sbuffer, char *rbuffer, int rsize); |
43 | int process_udp_request (char *address, int port, char *sbuffer, | 43 | int process_udp_request (const char *address, int port, |
44 | char *rbuffer, int rsize); | 44 | const char *sbuffer, char *rbuffer, int rsize); |
45 | int process_request (char *address, int port, int proto, char *sbuffer, | 45 | int process_request (const char *address, int port, int proto, |
46 | char *rbuffer, int rsize); | 46 | const char *sbuffer, char *rbuffer, int rsize); |
47 | 47 | ||
48 | int my_tcp_connect (char *address, int port, int *sd); | 48 | int my_tcp_connect (const char *address, int port, int *sd); |
49 | int my_udp_connect (char *address, int port, int *sd); | 49 | int my_udp_connect (const char *address, int port, int *sd); |
50 | int my_connect (char *address, int port, int *sd, int proto); | 50 | int my_connect (const char *address, int port, int *sd, int proto); |
51 | 51 | ||
52 | int is_host (char *); | 52 | int is_host (const char *); |
53 | int is_addr (char *); | 53 | int is_addr (const char *); |
54 | int resolve_host_or_addr (char *, int); | 54 | int resolve_host_or_addr (const char *, int); |
55 | int is_inet_addr (char *); | 55 | int is_inet_addr (const char *); |
56 | #ifdef USE_IPV6 | 56 | #ifdef USE_IPV6 |
57 | int is_inet6_addr (char *); | 57 | int is_inet6_addr (const char *); |
58 | #endif | 58 | #endif |
59 | int is_hostname (char *); | 59 | int is_hostname (const char *); |
60 | 60 | ||
61 | extern unsigned int socket_timeout; | 61 | extern unsigned int socket_timeout; |
62 | extern int econn_refuse_state; | 62 | extern int econn_refuse_state; |