about summary refs log tree commit diff stats
path: root/src/xmpp/connection.h
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-02-10 19:39:19 +0000
committerJames Booth <boothj5@gmail.com>2013-02-10 19:39:19 +0000
commitebc87b8b829b6eec9775df2de2cdb207baf7303c (patch)
tree2df6a7c0e4baa3a1aaede702da3d40729fc9d8f2 /src/xmpp/connection.h
parent8c9f91624646d22121166446f3c16edbcd7026b6 (diff)
downloadprofani-tty-ebc87b8b829b6eec9775df2de2cdb207baf7303c.tar.gz
Added usage of handlers to message and presence modules
Diffstat (limited to 'src/xmpp/connection.h')
-rw-r--r--src/xmpp/connection.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xmpp/connection.h b/src/xmpp/connection.h
index b5e39953..abe989cd 100644
--- a/src/xmpp/connection.h
+++ b/src/xmpp/connection.h
@@ -28,7 +28,8 @@
 void connection_free_resources(void);
 xmpp_conn_t *connection_get_conn(void);
 xmpp_ctx_t *connection_get_ctx(void);
-int connection_error_handler(xmpp_stanza_t * const stanza);
+int connection_error_handler(xmpp_conn_t * const conn,
+    xmpp_stanza_t * const stanza, void * const userdata);
 void connection_set_priority(int priority);
 void connection_set_presence_message(const char * const message);