summaryrefslogtreecommitdiff
path: root/src/rexmpp.h
diff options
context:
space:
mode:
authordefanor <defanor@uberspace.net>2020-11-17 15:07:05 +0300
committerdefanor <defanor@uberspace.net>2020-11-17 15:18:22 +0300
commit48542332c351d21706e61abbd9cb50ce02afac2d (patch)
tree836aa3365f3de12a14bdd7b5ab4188f09eec8815 /src/rexmpp.h
parent0748958c63052a6c4e0fb20a172ae793fdf8fa6c (diff)
Add initial JID parsing
Diffstat (limited to 'src/rexmpp.h')
-rw-r--r--src/rexmpp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rexmpp.h b/src/rexmpp.h
index 38cf4b2..8b5632a 100644
--- a/src/rexmpp.h
+++ b/src/rexmpp.h
@@ -17,7 +17,7 @@
#include "rexmpp_tcp.h"
#include "rexmpp_socks.h"
#include "rexmpp_dns.h"
-
+#include "rexmpp_jid.h"
typedef struct rexmpp rexmpp_t;
@@ -221,7 +221,7 @@ struct rexmpp
enum carbons_st carbons_state;
/* Basic configuration. */
- char *initial_jid;
+ struct rexmpp_jid initial_jid;
/* Manual host/port configuration. */
const char *manual_host;
@@ -255,7 +255,7 @@ struct rexmpp
roster_modify_cb_t roster_modify_cb;
/* Stream-related state. */
- char *assigned_jid;
+ struct rexmpp_jid assigned_jid;
xmlNodePtr stream_features;
xmlNodePtr roster_items;
char *roster_ver;