Allow set_driver to fail and handle this case.
[cascardo/rnetproxy.git] / hcconn.h
index eb444f1..f5164ed 100644 (file)
--- a/hcconn.h
+++ b/hcconn.h
@@ -45,6 +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);
+int hc_conn_set_driver_channel (HCConn *, int);
+int hc_conn_set_driver_ssl_client (HCConn *, HCConn *);
 
 #endif