Mercurial > pidgin
annotate libpurple/protocols/jabber/iq.h @ 27149:e3907cfaeb02
Don't crash when the seemingly impossible occurs.
IOW, try to handle khc's crash, even though I don't see how this is possible.
(gdb) f 4
#4 0x00007f268bd61e11 in jabber_caps_ext_iqcb (js=0x2ac4700,
from=0x4a3c550 "maiku@jabber.org/Telepathy", type=JABBER_IQ_RESULT,
id=0x31b1240 "purpleb9d3d882", packet=0x55e3220, data=0x497d6f0)
at caps.c:552
552 g_hash_table_insert(node_exts->exts, g_strdup(userdata->name), features);
(gdb) p node_exts
$2 = (JabberCapsNodeExts *) 0x0
(gdb) bt
#0 0x00007f2693f53fb5 in raise () from /lib/libc.so.6
#1 0x00007f2693f55bc3 in abort () from /lib/libc.so.6
#2 0x000000000049366b in sighandler (sig=11) at gtkmain.c:195
#3 <signal handler called>
#4 0x00007f268bd61e11 in jabber_caps_ext_iqcb (js=0x2ac4700,
from=0x4a3c550 "maiku@jabber.org/Telepathy", type=JABBER_IQ_RESULT,
id=0x31b1240 "purpleb9d3d882", packet=0x55e3220, data=0x497d6f0)
at caps.c:552
#10 0x00007f268bd56d3d in jabber_parser_process (js=0x2ac4700,
buf=0x7f268bf7a980 "<iq from='maiku@jabber.org/Telepathy' to='khc@hxbc.us/Home' type='result' id='purpleb9d3d882'> <query node='http://telepathy.freedesktop.org/caps#voice-v1' xmlns='http://jabber.org/protocol/disco#info"..., len=279)
at parser.c:227
$4 = (JabberCapsClientInfo *) 0x4a8bcd0
p *((ext_iq_data*)data)->data->info
$6 = {
identities = 0x0,
features = 0x4a41580,
forms = 0x0,
exts = 0x0,
tuple = {
node = 0x3d2ff20 "http://telepathy.freedesktop.org/caps",
ver = 0x31aa850 "0.6.2.1",
hash = 0x0
}
}
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Mon, 22 Jun 2009 23:36:56 +0000 |
parents | 92565c8e1e3a |
children | c585572e80dd |
rev | line source |
---|---|
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1 /** |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
2 * @file iq.h JabberID handlers |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
3 * |
15822 | 4 * purple |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
5 * |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
6 * Copyright (C) 2003 Nathan Walp <faceprint@faceprint.com> |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
7 * |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
8 * This program is free software; you can redistribute it and/or modify |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
9 * it under the terms of the GNU General Public License as published by |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
10 * the Free Software Foundation; either version 2 of the License, or |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
11 * (at your option) any later version. |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
12 * |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
13 * This program is distributed in the hope that it will be useful, |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
16 * GNU General Public License for more details. |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
17 * |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
18 * You should have received a copy of the GNU General Public License |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
19 * along with this program; if not, write to the Free Software |
19681
44b4e8bd759b
The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
15822
diff
changeset
|
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
21 */ |
26481
5767b7698c73
Further standardize the sentinel style (did someone say leading _s are theoretically a reserved namespace?)
Paul Aurich <paul@darkrain42.org>
parents:
26478
diff
changeset
|
22 #ifndef PURPLE_JABBER_IQ_H_ |
5767b7698c73
Further standardize the sentinel style (did someone say leading _s are theoretically a reserved namespace?)
Paul Aurich <paul@darkrain42.org>
parents:
26478
diff
changeset
|
23 #define PURPLE_JABBER_IQ_H_ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
24 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
25 typedef enum { |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
26 JABBER_IQ_SET, |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
27 JABBER_IQ_GET, |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
28 JABBER_IQ_RESULT, |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
29 JABBER_IQ_ERROR, |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
30 JABBER_IQ_NONE |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
31 } JabberIqType; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
32 |
25648
050052891c55
Pass IQ handlers type, from, id, and the child node
Paul Aurich <paul@darkrain42.org>
parents:
25646
diff
changeset
|
33 #include "jabber.h" |
26870
92565c8e1e3a
Add jabber signals for IQ, Message, and Presence stanzas. Lightly tested (it doesn't crash [Prove me wrong!]) and as you'll note, I refer to documentation that doesn't yet exist.
Paul Aurich <paul@darkrain42.org>
parents:
26481
diff
changeset
|
34 #include "connection.h" |
25648
050052891c55
Pass IQ handlers type, from, id, and the child node
Paul Aurich <paul@darkrain42.org>
parents:
25646
diff
changeset
|
35 |
050052891c55
Pass IQ handlers type, from, id, and the child node
Paul Aurich <paul@darkrain42.org>
parents:
25646
diff
changeset
|
36 typedef struct _JabberIq JabberIq; |
050052891c55
Pass IQ handlers type, from, id, and the child node
Paul Aurich <paul@darkrain42.org>
parents:
25646
diff
changeset
|
37 |
26478
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
38 /** |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
39 * A JabberIqHandler is called to process an incoming IQ stanza. |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
40 * Handlers typically process unsolicited incoming GETs or SETs for their |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
41 * registered namespace, but may be called to handle the results of a |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
42 * GET or SET that we generated if no JabberIqCallback was generated |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
43 * The handler may be called for the results of a GET or SET (RESULT or ERROR) |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
44 * that we generated |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
45 * if the generating function did not register a JabberIqCallback. |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
46 * |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
47 * @param js The JabberStream object. |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
48 * @param from The remote entity (the from attribute on the <iq/> stanza) |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
49 * @param type The IQ type. |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
50 * @param id The IQ id (the id attribute on the <iq/> stanza) |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
51 * @param child The child element of the <iq/> stanza that matches the name |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
52 * and namespace registered with jabber_iq_register_handler. |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
53 * |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
54 * @see jabber_iq_register_handler() |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
55 * @see JabberIqCallback |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
56 */ |
25648
050052891c55
Pass IQ handlers type, from, id, and the child node
Paul Aurich <paul@darkrain42.org>
parents:
25646
diff
changeset
|
57 typedef void (JabberIqHandler)(JabberStream *js, const char *from, |
050052891c55
Pass IQ handlers type, from, id, and the child node
Paul Aurich <paul@darkrain42.org>
parents:
25646
diff
changeset
|
58 JabberIqType type, const char *id, |
050052891c55
Pass IQ handlers type, from, id, and the child node
Paul Aurich <paul@darkrain42.org>
parents:
25646
diff
changeset
|
59 xmlnode *child); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
60 |
26478
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
61 /** |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
62 * A JabberIqCallback is called to process the results of a GET or SET that |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
63 * we send to a remote entity. The callback is matched based on the id |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
64 * of the incoming stanza (which matches the one on the initial stanza). |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
65 * |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
66 * @param js The JabberStream object. |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
67 * @param from The remote entity (the from attribute on the <iq/> stanza) |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
68 * @param type The IQ type. The only possible values are JABBER_IQ_RESULT |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
69 * and JABBER_IQ_ERROR. |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
70 * @param id The IQ id (the id attribute on the <iq/> stanza) |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
71 * @param packet The <iq/> stanza |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
72 * @param data The callback data passed to jabber_iq_set_callback() |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
73 * |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
74 * @see jabber_iq_set_callback() |
36c435f55252
Large documentation blocks never hurt anyone.
Paul Aurich <paul@darkrain42.org>
parents:
26465
diff
changeset
|
75 */ |
26465
ae41d8e827e3
Convert all the XMPP IQ callbacks to a typedef similar to the IQ Handlers.
Paul Aurich <paul@darkrain42.org>
parents:
25652
diff
changeset
|
76 typedef void (JabberIqCallback)(JabberStream *js, const char *from, |
ae41d8e827e3
Convert all the XMPP IQ callbacks to a typedef similar to the IQ Handlers.
Paul Aurich <paul@darkrain42.org>
parents:
25652
diff
changeset
|
77 JabberIqType type, const char *id, |
ae41d8e827e3
Convert all the XMPP IQ callbacks to a typedef similar to the IQ Handlers.
Paul Aurich <paul@darkrain42.org>
parents:
25652
diff
changeset
|
78 xmlnode *packet, gpointer data); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
79 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
80 struct _JabberIq { |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
81 JabberIqType type; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
82 char *id; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
83 xmlnode *node; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
84 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
85 JabberIqCallback *callback; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
86 gpointer callback_data; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
87 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
88 JabberStream *js; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
89 }; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
90 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
91 JabberIq *jabber_iq_new(JabberStream *js, JabberIqType type); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
92 JabberIq *jabber_iq_new_query(JabberStream *js, JabberIqType type, |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
93 const char *xmlns); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
94 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
95 void jabber_iq_parse(JabberStream *js, xmlnode *packet); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
96 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
97 void jabber_iq_remove_callback_by_id(JabberStream *js, const char *id); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
98 void jabber_iq_set_callback(JabberIq *iq, JabberIqCallback *cb, gpointer data); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
99 void jabber_iq_set_id(JabberIq *iq, const char *id); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
100 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
101 void jabber_iq_send(JabberIq *iq); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
102 void jabber_iq_free(JabberIq *iq); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
103 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
104 void jabber_iq_init(void); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
105 void jabber_iq_uninit(void); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
106 |
25652
a4cba207068f
merge of '1f6758f8bdba42d2eeca66535d11e7de12d9e715'
Paul Aurich <paul@darkrain42.org>
parents:
25651
diff
changeset
|
107 void jabber_iq_register_handler(const char *node, const char *xmlns, |
a4cba207068f
merge of '1f6758f8bdba42d2eeca66535d11e7de12d9e715'
Paul Aurich <paul@darkrain42.org>
parents:
25651
diff
changeset
|
108 JabberIqHandler *func); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
109 |
26870
92565c8e1e3a
Add jabber signals for IQ, Message, and Presence stanzas. Lightly tested (it doesn't crash [Prove me wrong!]) and as you'll note, I refer to documentation that doesn't yet exist.
Paul Aurich <paul@darkrain42.org>
parents:
26481
diff
changeset
|
110 /* Connected to namespace-handler registration signals */ |
92565c8e1e3a
Add jabber signals for IQ, Message, and Presence stanzas. Lightly tested (it doesn't crash [Prove me wrong!]) and as you'll note, I refer to documentation that doesn't yet exist.
Paul Aurich <paul@darkrain42.org>
parents:
26481
diff
changeset
|
111 void jabber_iq_signal_register(const gchar *node, const gchar *xmlns); |
92565c8e1e3a
Add jabber signals for IQ, Message, and Presence stanzas. Lightly tested (it doesn't crash [Prove me wrong!]) and as you'll note, I refer to documentation that doesn't yet exist.
Paul Aurich <paul@darkrain42.org>
parents:
26481
diff
changeset
|
112 void jabber_iq_signal_unregister(const gchar *node, const gchar *xmlns); |
92565c8e1e3a
Add jabber signals for IQ, Message, and Presence stanzas. Lightly tested (it doesn't crash [Prove me wrong!]) and as you'll note, I refer to documentation that doesn't yet exist.
Paul Aurich <paul@darkrain42.org>
parents:
26481
diff
changeset
|
113 |
26481
5767b7698c73
Further standardize the sentinel style (did someone say leading _s are theoretically a reserved namespace?)
Paul Aurich <paul@darkrain42.org>
parents:
26478
diff
changeset
|
114 #endif /* PURPLE_JABBER_IQ_H_ */ |