diff options
author | James Booth <boothj5@gmail.com> | 2016-05-02 22:34:26 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-05-02 22:34:43 +0100 |
commit | aabe3afff88a71c295386a22315c183aba894ac9 (patch) | |
tree | 5f885e16266642aa7e8a7111fbf3684ccd392a01 /src/xmpp | |
parent | 39fb05577aae81450946aa6fa28c9973e36f3e1a (diff) | |
download | profani-tty-aabe3afff88a71c295386a22315c183aba894ac9.tar.gz |
Rename stanza handler init functions
Diffstat (limited to 'src/xmpp')
-rw-r--r-- | src/xmpp/connection.c | 6 | ||||
-rw-r--r-- | src/xmpp/iq.c | 2 | ||||
-rw-r--r-- | src/xmpp/iq.h | 2 | ||||
-rw-r--r-- | src/xmpp/message.c | 2 | ||||
-rw-r--r-- | src/xmpp/message.h | 2 | ||||
-rw-r--r-- | src/xmpp/presence.c | 2 | ||||
-rw-r--r-- | src/xmpp/presence.h | 2 |
7 files changed, 9 insertions, 9 deletions
diff --git a/src/xmpp/connection.c b/src/xmpp/connection.c index f730c99c..45c0b318 100644 --- a/src/xmpp/connection.c +++ b/src/xmpp/connection.c @@ -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(); diff --git a/src/xmpp/iq.c b/src/xmpp/iq.c index f01f1c15..fa3d90c4 100644 --- a/src/xmpp/iq.c +++ b/src/xmpp/iq.c @@ -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(); diff --git a/src/xmpp/iq.h b/src/xmpp/iq.h index 36583a28..5f72eac8 100644 --- a/src/xmpp/iq.h +++ b/src/xmpp/iq.h @@ -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 diff --git a/src/xmpp/message.c b/src/xmpp/message.c index 93e78893..6d999d61 100644 --- a/src/xmpp/message.c +++ b/src/xmpp/message.c @@ -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(); diff --git a/src/xmpp/message.h b/src/xmpp/message.h index 01938572..b886144f 100644 --- a/src/xmpp/message.h +++ b/src/xmpp/message.h @@ -35,6 +35,6 @@ #ifndef XMPP_MESSAGE_H #define XMPP_MESSAGE_H -void message_add_handlers(void); +void message_handlers_init(void); #endif diff --git a/src/xmpp/presence.c b/src/xmpp/presence.c index 0a9b3ce0..d817965a 100644 --- a/src/xmpp/presence.c +++ b/src/xmpp/presence.c @@ -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(); diff --git a/src/xmpp/presence.h b/src/xmpp/presence.h index e77a6550..501bf058 100644 --- a/src/xmpp/presence.h +++ b/src/xmpp/presence.h @@ -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 |