X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=hcconn.h;h=85bdd384d838e1d6759ff082128f9c603bfdcb3c;hb=1abeb1f8078fe4c3b5b1059ecb043a48310dd0d6;hp=3fbbea70deda18eb06baf90b4ea6a55a039e2b88;hpb=b7dc018999a689010314c3847576cef772fd1d16;p=cascardo%2Frnetproxy.git diff --git a/hcconn.h b/hcconn.h index 3fbbea7..85bdd38 100644 --- 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 #include @@ -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