Sat, 02 May 2009 04:14:09 +0000
Handle User Nick notifications via <presence/> stanzas (receive-only). Refs #864.
| 8312 | 1 | /** |
| 2 | * @file iq.h JabberID handlers | |
| 3 | * | |
| 15884 | 4 | * purple |
| 8312 | 5 | * |
| 6 | * Copyright (C) 2003 Nathan Walp <faceprint@faceprint.com> | |
| 7 | * | |
| 8 | * This program is free software; you can redistribute it and/or modify | |
| 9 | * it under the terms of the GNU General Public License as published by | |
| 10 | * the Free Software Foundation; either version 2 of the License, or | |
| 11 | * (at your option) any later version. | |
| 12 | * | |
| 13 | * This program is distributed in the hope that it will be useful, | |
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 16 | * GNU General Public License for more details. | |
| 17 | * | |
| 18 | * You should have received a copy of the GNU General Public License | |
| 19 | * along with this program; if not, write to the Free Software | |
|
19859
71d37b57eff2
The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
15884
diff
changeset
|
20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
| 8312 | 21 | */ |
|
26703
17f9a4bef2a3
Further standardize the sentinel style (did someone say leading _s are theoretically a reserved namespace?)
Paul Aurich <darkrain42@pidgin.im>
parents:
25817
diff
changeset
|
22 | #ifndef PURPLE_JABBER_DISCO_H_ |
|
17f9a4bef2a3
Further standardize the sentinel style (did someone say leading _s are theoretically a reserved namespace?)
Paul Aurich <darkrain42@pidgin.im>
parents:
25817
diff
changeset
|
23 | #define PURPLE_JABBER_DISCO_H_ |
| 8312 | 24 | |
| 25 | #include "jabber.h" | |
| 26 | ||
| 27 | typedef void (JabberDiscoInfoCallback)(JabberStream *js, const char *who, | |
| 28 | JabberCapabilities capabilities, gpointer data); | |
| 29 | ||
|
25817
09d6a40a341d
Pass IQ handlers type, from, id, and the child node
Paul Aurich <darkrain42@pidgin.im>
parents:
19859
diff
changeset
|
30 | void jabber_disco_info_parse(JabberStream *js, const char *from, |
|
09d6a40a341d
Pass IQ handlers type, from, id, and the child node
Paul Aurich <darkrain42@pidgin.im>
parents:
19859
diff
changeset
|
31 | JabberIqType type, const char *id, xmlnode *in_query); |
|
09d6a40a341d
Pass IQ handlers type, from, id, and the child node
Paul Aurich <darkrain42@pidgin.im>
parents:
19859
diff
changeset
|
32 | void jabber_disco_items_parse(JabberStream *js, const char *from, |
|
09d6a40a341d
Pass IQ handlers type, from, id, and the child node
Paul Aurich <darkrain42@pidgin.im>
parents:
19859
diff
changeset
|
33 | JabberIqType type, const char *id, xmlnode *query); |
| 8312 | 34 | |
| 35 | void jabber_disco_items_server(JabberStream *js); | |
| 36 | ||
| 37 | void jabber_disco_info_do(JabberStream *js, const char *who, | |
| 38 | JabberDiscoInfoCallback *callback, gpointer data); | |
| 39 | ||
|
26703
17f9a4bef2a3
Further standardize the sentinel style (did someone say leading _s are theoretically a reserved namespace?)
Paul Aurich <darkrain42@pidgin.im>
parents:
25817
diff
changeset
|
40 | #endif /* PURPLE_JABBER_DISCO_H_ */ |