Separate iochannel implementation from HCConn interface.
[cascardo/rnetproxy.git] / hcconn.h
index 3fbbea7..eb444f1 100644 (file)
--- a/hcconn.h
+++ b/hcconn.h
@@ -39,10 +39,12 @@ typedef enum
 
 typedef void (*HCClientFunc) (HCConn *, HCEvent, gpointer);
 
-HCConn * hc_conn_new (int, HCClientFunc, gpointer);
+HCConn * hc_conn_new (HCClientFunc, gpointer);
 ssize_t hc_conn_read (HCConn *, char *, size_t);
 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);
+
 #endif