#include <gnet.h>
#include "nethook.h"
-net_hook_t* ssl_hook_new (GConn*, char*);
+struct ssl_data
+{
+ char *server;
+ gnutls_session_t session;
+ GString *buffer;
+ gboolean handshaking;
+};
+
+net_hook_t* ssl_hook_new (GConn*, char*, int);
void ssl_destroy (net_hook_t*);
+net_hook_t * ssl_server_hook_new (net_hook_t *, char *, int);
+
#endif