Use version macro in source file name.
[cascardo/rnetproxy.git] / hcconn.h
index 3fbbea7..85bdd38 100644 (file)
--- a/hcconn.h
+++ b/hcconn.h
@@ -17,8 +17,8 @@
  */
 
 
-#ifndef HC_IOCHANNEL_H
-#define HC_IOCHANNEL_H
+#ifndef HC_CONN_H
+#define HC_CONN_H
 
 #include <glib.h>
 #include <sys/socket.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);
 
+int hc_conn_set_driver_channel (HCConn *, int);
+
 #endif