[svn] Use bool type for boolean variables and values.

This commit is contained in:
hniksic
2005-06-22 12:38:10 -07:00
parent 19a1ffb2e9
commit 74fbb03b10
36 changed files with 887 additions and 872 deletions

View 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 *);