Fixed 'xmlChar' signedness gcc(1) warnings.
[captive.git] / src / libcaptive / include / captive / libxml.h
1 /* $Id$
2  * Include file for supplementary captive utilities for libxml2
3  * Copyright (C) 2003 Jan Kratochvil <project-captive@jankratochvil.net>
4  * 
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; exactly version 2 of June 1991 is required
8  * 
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  * 
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17  */
18
19
20 #ifndef _CAPTIVE_LIBXML_H
21 #define _CAPTIVE_LIBXML_H 1
22
23
24 #include <glib/gtypes.h>
25 #include <libxml/tree.h>        /* for xmlChar */
26
27
28 G_BEGIN_DECLS
29
30 enum captive_xml_text_reader_node_type {
31         CAPTIVE_XML_TEXT_READER_NODE_TYPE_START=1,
32         CAPTIVE_XML_TEXT_READER_NODE_TYPE_TEXT=3,
33         CAPTIVE_XML_TEXT_READER_NODE_TYPE_COMMENT=8,
34         CAPTIVE_XML_TEXT_READER_NODE_TYPE_SIGNIFICANT_WHITESPACE=14,
35         CAPTIVE_XML_TEXT_READER_NODE_TYPE_END=15,
36         };
37
38 struct captive_libxml_string_drop_stack;
39
40 gint64 captive_libxml_sscanf_gint64(const char *gint64_string);
41 G_CONST_RETURN gchar *captive_libxml_string_drop(struct captive_libxml_string_drop_stack **drop_stackp,const xmlChar *xml_string);
42 void captive_libxml_string_drop_flush(struct captive_libxml_string_drop_stack **drop_stackp);
43
44 G_END_DECLS
45
46
47 #endif /* _CAPTIVE_LIBXML_H */