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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/xmpp/connection.h b/src/xmpp/connection.h
index e75cc2ad..857fc88b 100644
--- a/src/xmpp/connection.h
+++ b/src/xmpp/connection.h
@@ -46,6 +46,8 @@
 
 #include "resource.h"
 
+typedef int(*ProfIdCallback)(xmpp_stanza_t *const stanza, void *const userdata);
+
 xmpp_conn_t* connection_get_conn(void);
 xmpp_ctx_t* connection_get_ctx(void);
 void connection_set_priority(int priority);
@@ -53,4 +55,10 @@ void connection_set_presence_message(const char *const message);
 void connection_add_available_resource(Resource *resource);
 void connection_remove_available_resource(const char *const resource);
 
+void send_iq_stanza(xmpp_stanza_t *const stanza);
+
+void roster_set_handler(xmpp_stanza_t *const stanza);
+void roster_result_handler(xmpp_stanza_t *const stanza);
+void id_handler_add(const char *const id, ProfIdCallback func, void *userdata);
+
 #endif