diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-04-19 17:24:08 +0100 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-04-19 17:24:08 +0100 |
commit | a7cb332c30b51b4e27f6e57c6b58dc2d1f73f89c (patch) | |
tree | 7d87403b3a3c96c2f834dc7e928566c3b3ad2174 /src/xine-utils/xmlparser.h | |
parent | 4c626f20165720587630525ebf86133fb2ad8b51 (diff) | |
download | xine-lib-a7cb332c30b51b4e27f6e57c6b58dc2d1f73f89c.tar.gz xine-lib-a7cb332c30b51b4e27f6e57c6b58dc2d1f73f89c.tar.bz2 |
Relaxed XML parsing (ABI addition).
Copes with missing close tags.
Copes with extra close tags iff they don't match so-far-unclosed elements.
Doesn't cope with missing "/>" - that needs more info from the caller.
Diffstat (limited to 'src/xine-utils/xmlparser.h')
-rw-r--r-- | src/xine-utils/xmlparser.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xine-utils/xmlparser.h b/src/xine-utils/xmlparser.h index f202ca28d..8d4915abf 100644 --- a/src/xine-utils/xmlparser.h +++ b/src/xine-utils/xmlparser.h @@ -57,6 +57,7 @@ typedef struct xml_node_s { void xml_parser_init(const char * buf, int size, int mode) XINE_PROTECTED; int xml_parser_build_tree(xml_node_t **root_node) XINE_PROTECTED; +int xml_parser_build_tree_relaxed(xml_node_t **root_node, int relaxed) XINE_PROTECTED; void xml_parser_free_tree(xml_node_t *root_node) XINE_PROTECTED; |