about summary refs log tree commit diff stats
path: root/src/xmpp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmpp.h')
-rw-r--r--src/xmpp.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/xmpp.h b/src/xmpp.h
index 3a179141..a050dd03 100644
--- a/src/xmpp.h
+++ b/src/xmpp.h
@@ -146,11 +146,6 @@ jabber_conn_status_t jabber_connect_with_account(ProfAccount *account,
     const char * const passwd);
 void jabber_disconnect(void);
 void jabber_process_events(void);
-void jabber_send_groupchat(const char * const msg, const char * const recipient);
-void jabber_send_inactive(const char * const recipient);
-void jabber_send_composing(const char * const recipient);
-void jabber_send_paused(const char * const recipient);
-void jabber_send_gone(const char * const recipient);
 const char * jabber_get_jid(void);
 jabber_conn_status_t jabber_get_connection_status(void);
 int jabber_get_priority(void);
@@ -168,7 +163,15 @@ void jabber_conn_set_status(const char * const message);
 char* jabber_get_account_name(void);
 
 // message functions
+
+int message_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza,
+    void * const userdata);
 void message_send(const char * const msg, const char * const recipient);
+void message_send_groupchat(const char * const msg, const char * const recipient);
+void message_send_inactive(const char * const recipient);
+void message_send_composing(const char * const recipient);
+void message_send_paused(const char * const recipient);
+void message_send_gone(const char * const recipient);
 
 // iq functions
 void iq_add_handlers(void);