/*
- * 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
*/
-#ifndef HC_IOCHANNEL_H
-#define HC_IOCHANNEL_H
+#ifndef HC_CONN_H
+#define HC_CONN_H
#include <glib.h>
#include <sys/socket.h>
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