]> sjero.net Git - wget/blobdiff - src/connect.h
[svn] Use bool type for boolean variables and values.
[wget] / src / connect.h
index 69d68cb0e630de04a37b37e95948a5563df8d627..40974f529d36894e277458ba19698aa19528bc38 100644 (file)
@@ -48,9 +48,9 @@ enum {
   ENDPOINT_LOCAL,
   ENDPOINT_PEER
 };
-int socket_ip_address (int, ip_address *, int);
+bool socket_ip_address (int, ip_address *, int);
 
-int retryable_socket_connect_error (int);
+bool retryable_socket_connect_error (int);
 
 /* Flags for select_fd's WAIT_FOR argument. */
 enum {
@@ -58,7 +58,7 @@ enum {
   WAIT_FOR_WRITE = 2
 };
 int select_fd (int, double, int);
-int test_socket_open (int);
+bool test_socket_open (int);
 
 typedef int (*fd_reader_t) (int, char *, int, void *);
 typedef int (*fd_writer_t) (int, char *, int, void *);