From 37b4f6ce5b85acebb6b6f70b04cb19e13b694f13 Mon Sep 17 00:00:00 2001 From: Thibaut Mattern Date: Sat, 19 Jul 2003 00:22:43 +0000 Subject: =?UTF-8?q?Backport=20cleanups/fixes/improvements=20from=20gxine.?= =?UTF-8?q?=20Thanks=20G=C3=BCnter.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CVS patchset: 5182 CVS date: 2003/07/19 00:22:43 --- src/xine-utils/xmlparser.h | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'src/xine-utils/xmlparser.h') 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 -- cgit v1.2.3