From 6a15a09ed7322c70021b827f1d40cbab4f98c89e Mon Sep 17 00:00:00 2001 From: James Booth Date: Sat, 25 Jan 2014 21:25:35 +0000 Subject: Renamed xmpp roster handlers --- src/xmpp/roster.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/xmpp/roster.c b/src/xmpp/roster.c index a70436e7..68e34e63 100644 --- a/src/xmpp/roster.c +++ b/src/xmpp/roster.c @@ -47,9 +47,9 @@ typedef struct _group_data { } GroupData; // event handlers -static int _roster_handle_push(xmpp_conn_t * const conn, +static int _roster_set_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza, void * const userdata); -static int _roster_handle_result(xmpp_conn_t * const conn, +static int _roster_result_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza, void * const userdata); // id handlers @@ -68,8 +68,8 @@ roster_add_handlers(void) { xmpp_conn_t * const conn = connection_get_conn(); xmpp_ctx_t * const ctx = connection_get_ctx(); - HANDLE(STANZA_TYPE_SET, _roster_handle_push); - HANDLE(STANZA_TYPE_RESULT, _roster_handle_result); + HANDLE(STANZA_TYPE_SET, _roster_set_handler); + HANDLE(STANZA_TYPE_RESULT, _roster_result_handler); } void @@ -206,7 +206,7 @@ _group_remove_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza, } static int -_roster_handle_push(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza, +_roster_set_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza, void * const userdata) { xmpp_stanza_t *query = @@ -270,7 +270,7 @@ _roster_handle_push(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza, } static int -_roster_handle_result(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza, +_roster_result_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza, void * const userdata) { const char *id = xmpp_stanza_get_attribute(stanza, STANZA_ATTR_ID); -- cgit 1.4.1-2-gfad0 name='qt'>
path: root/themes/batman
blob: 4d346ac1b63fb7be7ef6c0a7473728025b29ec21 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50