Compila rnetserver e rnetclient.
[cascardo/rnetproxy.git] / hcconn.h
index 3fbbea7..d861959 100644 (file)
--- a/hcconn.h
+++ b/hcconn.h
@@ -1,5 +1,5 @@
 /*
- *  Copyright (C) 2009  Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
+ *  Copyright (C) 2009  Thadeu Lima de Souza Cascardo <cascardo@minaslivre.org>
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -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