about summary refs log tree commit diff stats
path: root/src/xmpp/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmpp/connection.h')
-rw-r--r--src/xmpp/connection.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/xmpp/connection.h b/src/xmpp/connection.h
index 20b4cd74..6d6218ea 100644
--- a/src/xmpp/connection.h
+++ b/src/xmpp/connection.h
@@ -41,14 +41,14 @@ void connection_init(void);
 
 jabber_conn_status_t connection_connect(const char *const fulljid, const char *const passwd, const char *const altdomain, int port,
     const char *const tls_policy);
-
-char *connection_get_domain(void);
+void connection_disco_on_login(void);
 
 void connection_set_status(jabber_conn_status_t status);
 void connection_set_presence_msg(const char *const message);
 void connection_set_priority(const int priority);
 void connection_set_domain(char *domain);
 void connection_set_priority(int priority);
+void connection_set_disco_items(GSList *disco_items);
 
 void connection_free_conn(void);
 void connection_free_ctx(void);
@@ -58,6 +58,9 @@ void connection_free_log(void);
 
 xmpp_conn_t* connection_get_conn(void);
 xmpp_ctx_t* connection_get_ctx(void);
+char *connection_get_domain(void);
+GSList* connection_get_disco_items(void);
+
 void connection_add_available_resource(Resource *resource);
 void connection_remove_available_resource(const char *const resource);
 void connection_remove_all_available_resources(void);