Sun, 21 Jun 2009 16:40:15 +0000
propagate from branch 'im.pidgin.pidgin.2.5.7' (head 550e6ec7c9fd15db9956387a5775df07322ec766)
to branch 'im.pidgin.pidgin' (head 3029011cad5ac369187a44041818ef24c4911906)
| 7014 | 1 | /** |
| 2 | * @file parser.h XML parser functions | |
| 3 | * | |
| 15884 | 4 | * purple |
| 7014 | 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 |
| 7014 | 21 | */ |
|
26703
17f9a4bef2a3
Further standardize the sentinel style (did someone say leading _s are theoretically a reserved namespace?)
Paul Aurich <darkrain42@pidgin.im>
parents:
19897
diff
changeset
|
22 | #ifndef PURPLE_JABBER_PARSER_H_ |
|
17f9a4bef2a3
Further standardize the sentinel style (did someone say leading _s are theoretically a reserved namespace?)
Paul Aurich <darkrain42@pidgin.im>
parents:
19897
diff
changeset
|
23 | #define PURPLE_JABBER_PARSER_H_ |
| 7014 | 24 | |
| 25 | #include "jabber.h" | |
| 26 | ||
| 27 | void jabber_parser_setup(JabberStream *js); | |
|
17810
c8d4297080cb
Fixed a leak: The XML parser was never cleaned up on disconnect.
Andreas Monitzer <am@adiumx.com>
parents:
15884
diff
changeset
|
28 | void jabber_parser_free(JabberStream *js); |
| 7014 | 29 | void jabber_parser_process(JabberStream *js, const char *buf, int len); |
| 30 | ||
|
26703
17f9a4bef2a3
Further standardize the sentinel style (did someone say leading _s are theoretically a reserved namespace?)
Paul Aurich <darkrain42@pidgin.im>
parents:
19897
diff
changeset
|
31 | #endif /* PURPLE_JABBER_PARSER_H_ */ |