Tell automake to include the configuration file in distribution
[cascardo/rnetproxy.git] / jabber.h
index bb4bd9f..7de6098 100644 (file)
--- a/jabber.h
+++ b/jabber.h
 #define JABBER_H
 
 #include <gnet.h>
+#include <iksemel.h>
+#include <gsasl.h>
 #include "nethook.h"
 
+typedef struct _jabber_data_t jabber_data_t;
+
+struct _jabber_data_t
+{
+  iksparser *parser;
+  Gsasl *ctx;
+  Gsasl_session *client;
+  Gsasl_session *server;
+};
+
+jabber_data_t* jabber_data_new (gpointer, gpointer);
+void jabber_data_destroy (gpointer);
+
 net_hook_t* jabber_hook_new (GConn *conn);
 void jabber_hook_destroy (net_hook_t*);
+net_hook_t* jabber_server_hook_new (net_hook_t*, char*);
+GString* jabber_new_start (iks* node);
 
 #endif