1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Rename stanza handler init functions

This commit is contained in:
James Booth 2016-05-02 22:34:26 +01:00
parent 39fb05577a
commit aabe3afff8
7 changed files with 9 additions and 9 deletions

View File

@ -688,9 +688,9 @@ _connection_handler(xmpp_conn_t *const conn, const xmpp_conn_event_t status, con
chat_sessions_init();
message_add_handlers();
presence_add_handlers();
iq_add_handlers();
message_handlers_init();
presence_handlers_init();
iq_handlers_init();
roster_request();
bookmark_request();

View File

@ -193,7 +193,7 @@ _iq_handler(xmpp_conn_t *const conn, xmpp_stanza_t *const stanza, void *const us
}
void
iq_add_handlers(void)
iq_handlers_init(void)
{
xmpp_conn_t * const conn = connection_get_conn();
xmpp_ctx_t * const ctx = connection_get_ctx();

View File

@ -35,7 +35,7 @@
#ifndef XMPP_IQ_H
#define XMPP_IQ_H
void iq_add_handlers(void);
void iq_handlers_init(void);
void iq_roster_request(void);
#endif

View File

@ -122,7 +122,7 @@ _message_handler(xmpp_conn_t *const conn, xmpp_stanza_t *const stanza, void *con
}
void
message_add_handlers(void)
message_handlers_init(void)
{
xmpp_conn_t * const conn = connection_get_conn();
xmpp_ctx_t * const ctx = connection_get_ctx();

View File

@ -35,6 +35,6 @@
#ifndef XMPP_MESSAGE_H
#define XMPP_MESSAGE_H
void message_add_handlers(void);
void message_handlers_init(void);
#endif

View File

@ -131,7 +131,7 @@ _presence_handler(xmpp_conn_t *const conn, xmpp_stanza_t *const stanza, void *co
}
void
presence_add_handlers(void)
presence_handlers_init(void)
{
xmpp_conn_t * const conn = connection_get_conn();
xmpp_ctx_t * const ctx = connection_get_ctx();

View File

@ -35,8 +35,8 @@
#ifndef XMPP_PRESENCE_H
#define XMPP_PRESENCE_H
void presence_handlers_init(void);
void presence_sub_requests_init(void);
void presence_add_handlers(void);
void presence_clear_sub_requests(void);
#endif