diff options
author | Thibaut Mattern <tmattern@users.sourceforge.net> | 2003-07-19 00:22:43 +0000 |
---|---|---|
committer | Thibaut Mattern <tmattern@users.sourceforge.net> | 2003-07-19 00:22:43 +0000 |
commit | 37b4f6ce5b85acebb6b6f70b04cb19e13b694f13 (patch) | |
tree | 68770fcedd76b5157d8fc4ce781b8052803fd2a9 /src/xine-utils/xmlparser.h | |
parent | 9eb254f79cb45faa856284ee4e577f6e555fadaa (diff) | |
download | xine-lib-37b4f6ce5b85acebb6b6f70b04cb19e13b694f13.tar.gz xine-lib-37b4f6ce5b85acebb6b6f70b04cb19e13b694f13.tar.bz2 |
Backport cleanups/fixes/improvements from gxine.
Thanks Günter.
CVS patchset: 5182
CVS date: 2003/07/19 00:22:43
Diffstat (limited to 'src/xine-utils/xmlparser.h')
-rw-r--r-- | src/xine-utils/xmlparser.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/xine-utils/xmlparser.h b/src/xine-utils/xmlparser.h index 18c5a95df..ccf982f66 100644 --- a/src/xine-utils/xmlparser.h +++ b/src/xine-utils/xmlparser.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2002 the xine project + * Copyright (C) 2002-2003 the xine project * * This file is part of xine, a free video player. * @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xmlparser.h,v 1.1 2002/05/01 19:41:55 guenter Exp $ + * $Id: xmlparser.h,v 1.2 2003/07/19 00:22:43 tmattern Exp $ * */ #ifndef XML_PARSER_H @@ -54,5 +54,16 @@ int xml_parser_build_tree(xml_node_t **root_node); void xml_parser_free_tree(xml_node_t *root_node); +char *xml_parser_get_property (xml_node_t *node, const char *name); +int xml_parser_get_property_int (xml_node_t *node, const char *name, + int def_value); +int xml_parser_get_property_bool (xml_node_t *node, const char *name, + int def_value); + +/* for debugging purposes: dump read-in xml tree in a nicely + * indented fashion + */ + +void xml_parser_dump_tree (xml_node_t *node) ; #endif |