diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2005-01-16 17:51:04 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2005-01-16 17:51:04 +0000 |
commit | c085fd10b4ad686c90d25264bdda16b7396ecc63 (patch) | |
tree | cb59c060f90e9aaf4be71f69d566413498808220 /src/xine-utils/xmllexer.h | |
parent | 8cd4d1886b68c6db4106e007ecdd0cdb8070b7cf (diff) | |
download | xine-lib-c085fd10b4ad686c90d25264bdda16b7396ecc63.tar.gz xine-lib-c085fd10b4ad686c90d25264bdda16b7396ecc63.tar.bz2 |
Add basic support for character entities:
- recognise " ' & < > &#X; (1<=X<256)
- automatic decoding for text and for attribute values
- provide a function for front-ends to use to escape text for XML output
CVS patchset: 7352
CVS date: 2005/01/16 17:51:04
Diffstat (limited to 'src/xine-utils/xmllexer.h')
-rw-r--r-- | src/xine-utils/xmllexer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xine-utils/xmllexer.h b/src/xine-utils/xmllexer.h index 414021aad..d142c3d0f 100644 --- a/src/xine-utils/xmllexer.h +++ b/src/xine-utils/xmllexer.h @@ -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: xmllexer.h,v 1.3 2003/12/09 00:02:39 f1rmb Exp $ + * $Id: xmllexer.h,v 1.4 2005/01/16 17:51:04 dsalt Exp $ * */ @@ -50,5 +50,6 @@ /* public functions */ void lexer_init(char * buf, int size); int lexer_get_token(char * tok, int tok_size); +char *lexer_decode_entities (const char *tok); #endif |