Change from GNet to HCConn.
[cascardo/rnetproxy.git] / ssl.h
diff --git a/ssl.h b/ssl.h
index 56e577f..ae541c5 100644 (file)
--- a/ssl.h
+++ b/ssl.h
@@ -21,8 +21,8 @@
 #ifndef POPPROXY_SSL_H
 #define POPPROXY_SSL_H
 
-#include <gnet.h>
 #include "nethook.h"
+#include "iochannel.h"
 
 struct ssl_data
 {
@@ -32,9 +32,9 @@ struct ssl_data
   gboolean handshaking;
 };
 
-net_hook_t* ssl_hook_new (GConn*, char*, int);
+net_hook_t* ssl_hook_new (HCConn*, char*, char *);
 void ssl_destroy (net_hook_t*);
 
-net_hook_t * ssl_server_hook_new (net_hook_t *, char *, int);
+net_hook_t * ssl_server_hook_new (net_hook_t *, char *, char *);
 
 #endif