Refactored iq.c to register iq handlers

This commit is contained in:
James Booth
2013-01-25 00:36:09 +00:00
parent 183a66c939
commit 6b632625df
3 changed files with 193 additions and 237 deletions

View File

@@ -84,7 +84,6 @@ void jabber_free_resources(void);
void jabber_restart(void);
void jabber_set_autoping(int seconds);
int iq_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza,
void * const userdata);
void iq_add_handlers(xmpp_conn_t * const conn, xmpp_ctx_t * const ctx);
#endif