Allow set_driver to fail and handle this case.
[cascardo/rnetproxy.git] / hcconn.h
index 89a9366..f5164ed 100644 (file)
--- a/hcconn.h
+++ b/hcconn.h
@@ -45,7 +45,7 @@ void hc_conn_write (HCConn *, char *, size_t);
 void hc_conn_close (HCConn *);
 void hc_conn_set_callback (HCConn *, HCClientFunc, gpointer);
 
-void hc_conn_set_driver_channel (HCConn *, int);
-void hc_conn_set_driver_ssl_client (HCConn *, HCConn *);
+int hc_conn_set_driver_channel (HCConn *, int);
+int hc_conn_set_driver_ssl_client (HCConn *, HCConn *);
 
 #endif