about summary refs log tree commit diff stats
path: root/src/xmpp/xmpp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmpp/xmpp.h')
-rw-r--r--src/xmpp/xmpp.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/xmpp/xmpp.h b/src/xmpp/xmpp.h
index 3f1094a5..3ab5fb56 100644
--- a/src/xmpp/xmpp.h
+++ b/src/xmpp/xmpp.h
@@ -82,10 +82,14 @@ typedef struct bookmark_t {
     gboolean autojoin;
 } Bookmark;
 
-typedef struct entity_capabilities_t {
-    char *category;
-    char *type;
+typedef struct disco_identity_t {
     char *name;
+    char *type;
+    char *category;
+} DiscoIdentity;
+
+typedef struct entity_capabilities_t {
+    DiscoIdentity *identity;
     char *software;
     char *software_version;
     char *os;
@@ -98,12 +102,6 @@ typedef struct disco_item_t {
     char *name;
 } DiscoItem;
 
-typedef struct disco_identity_t {
-    char *name;
-    char *type;
-    char *category;
-} DiscoIdentity;
-
 void session_init(void);
 jabber_conn_status_t session_connect_with_details(const char *const jid, const char *const passwd,
     const char *const altdomain, const int port, const char *const tls_policy);