|
1 /** |
|
2 * XML Security Library (http://www.aleksey.com/xmlsec). |
|
3 * |
|
4 * XML Parser transform and utility functions. |
|
5 * |
|
6 * This is free software; see Copyright file in the source |
|
7 * distribution for preciese wording. |
|
8 * |
|
9 * Copyright (C) 2002-2003 Aleksey Sanin <aleksey@aleksey.com> |
|
10 * Portion Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. |
|
11 */ |
|
12 #ifndef __XMLSEC_PARSER_H__ |
|
13 #define __XMLSEC_PARSER_H__ |
|
14 |
|
15 #ifdef __cplusplus |
|
16 extern "C" { |
|
17 #endif /* __cplusplus */ |
|
18 |
|
19 #include <libxml2_tree.h> |
|
20 #include "xmlsec_config.h" |
|
21 #include "xmlsec_xmlsec.h" |
|
22 #include "xmlsec_transforms.h" |
|
23 |
|
24 |
|
25 XMLSEC_EXPORT xmlDocPtr xmlSecParseFile (const char *filename); |
|
26 XMLSEC_EXPORT xmlDocPtr xmlSecParseMemory (const xmlSecByte *buffer, |
|
27 xmlSecSize size, |
|
28 int recovery); |
|
29 XMLSEC_EXPORT xmlDocPtr xmlSecParseMemoryExt (const xmlSecByte *prefix, |
|
30 xmlSecSize prefixSize, |
|
31 const xmlSecByte *buffer, |
|
32 xmlSecSize bufferSize, |
|
33 const xmlSecByte *postfix, |
|
34 xmlSecSize postfixSize); |
|
35 |
|
36 |
|
37 /** |
|
38 * xmlSecTransformXmlParserId: |
|
39 * |
|
40 * The XML Parser transform klass. |
|
41 */ |
|
42 #define xmlSecTransformXmlParserId \ |
|
43 xmlSecTransformXmlParserGetKlass() |
|
44 XMLSEC_EXPORT xmlSecTransformId xmlSecTransformXmlParserGetKlass (void); |
|
45 |
|
46 |
|
47 #ifdef __cplusplus |
|
48 } |
|
49 #endif /* __cplusplus */ |
|
50 |
|
51 #endif /* __XMLSEC_PARSER_H__ */ |
|
52 |