diff src/login-common/ssl-proxy.h @ 3863:55df57c028d4 HEAD

Added "bool" type and changed all ints that were used as booleans to bool.
author Timo Sirainen <tss@iki.fi>
date Fri, 13 Jan 2006 22:25:57 +0200
parents c12df370e1b2
children 9d9e72374164
line wrap: on
line diff
--- a/src/login-common/ssl-proxy.h	Fri Jan 13 17:11:47 2006 +0200
+++ b/src/login-common/ssl-proxy.h	Fri Jan 13 22:25:57 2006 +0200
@@ -4,13 +4,13 @@
 struct ip_addr;
 struct ssl_proxy;
 
-extern int ssl_initialized;
+extern bool ssl_initialized;
 
 /* establish SSL connection with the given fd, returns a new fd which you
    must use from now on, or -1 if error occurred. Unless -1 is returned,
    the given fd must be simply forgotten. */
 int ssl_proxy_new(int fd, struct ip_addr *ip, struct ssl_proxy **proxy_r);
-int ssl_proxy_has_valid_client_cert(struct ssl_proxy *proxy);
+bool ssl_proxy_has_valid_client_cert(struct ssl_proxy *proxy);
 const char *ssl_proxy_get_peer_name(struct ssl_proxy *proxy);
 void ssl_proxy_free(struct ssl_proxy *proxy);