Get server, user and password as parameters
[cascardo/chat.git] / xmpp_internal.h
index a1431e9..d46fcf9 100644 (file)
@@ -20,6 +20,8 @@
 #ifndef HC_XMPP_INTERNAL_H
 #define HC_XMPP_INTERNAL_H
 
+#include <gsasl.h>
+#include <iksemel.h>
 #include "xmpp.h"
 
 enum
@@ -33,8 +35,18 @@ enum
 
 struct _hc_xmpp_t
 {
+  char *server;
+  char *user;
+  char *password;
+  iksparser *parser;
+  Gsasl *sasl_ctx;
+  Gsasl_session *sasl_session;
+  int fd;
   int tls;
   int sasl;
+  int bind;
+  int session;
+  int status;
 };
 
 #endif