2 * XML Security Library (http://www.aleksey.com/xmlsec).
4 * XML Parser transform and utility functions.
6 * This is free software; see Copyright file in the source
7 * distribution for preciese wording.
9 * Copyright (C) 2002-2003 Aleksey Sanin <aleksey@aleksey.com>
11 #ifndef __XMLSEC_PARSER_H__
12 #define __XMLSEC_PARSER_H__
16 #endif /* __cplusplus */
18 #include <libxml/tree.h>
20 #include <xmlsec/xmlsec.h>
21 #include <xmlsec/transforms.h>
24 XMLSEC_EXPORT xmlDocPtr xmlSecParseFile (const char *filename);
25 XMLSEC_EXPORT xmlDocPtr xmlSecParseMemory (const xmlSecByte *buffer,
28 XMLSEC_EXPORT xmlDocPtr xmlSecParseMemoryExt (const xmlSecByte *prefix,
29 xmlSecSize prefixSize,
30 const xmlSecByte *buffer,
31 xmlSecSize bufferSize,
32 const xmlSecByte *postfix,
33 xmlSecSize postfixSize);
37 * xmlSecTransformXmlParserId:
39 * The XML Parser transform klass.
41 #define xmlSecTransformXmlParserId \
42 xmlSecTransformXmlParserGetKlass()
43 XMLSEC_EXPORT xmlSecTransformId xmlSecTransformXmlParserGetKlass (void);
48 #endif /* __cplusplus */
50 #endif /* __XMLSEC_PARSER_H__ */