|
1 /** |
|
2 * XML Security Library (http://www.aleksey.com/xmlsec). |
|
3 * |
|
4 * Input uri 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_IO_H__ |
|
13 #define __XMLSEC_IO_H__ |
|
14 |
|
15 #ifdef __cplusplus |
|
16 extern "C" { |
|
17 #endif /* __cplusplus */ |
|
18 |
|
19 #include <libxml2_tree.h> |
|
20 #include <libxml2_xmlio.h> |
|
21 #include "xmlsec_config.h" |
|
22 #include "xmlsec_xmlsec.h" |
|
23 #include "xmlsec_transforms.h" |
|
24 |
|
25 XMLSEC_EXPORT int xmlSecIOInit (void); |
|
26 XMLSEC_EXPORT void xmlSecIOShutdown (void); |
|
27 XMLSEC_EXPORT void xmlSecIOCleanupCallbacks (void); |
|
28 XMLSEC_EXPORT int xmlSecIORegisterDefaultCallbacks (void); |
|
29 XMLSEC_EXPORT int xmlSecIORegisterCallbacks (xmlInputMatchCallback matchFunc, |
|
30 xmlInputOpenCallback openFunc, |
|
31 xmlInputReadCallback readFunc, |
|
32 xmlInputCloseCallback closeFunc); |
|
33 |
|
34 /******************************************************************** |
|
35 * |
|
36 * Input URI transform |
|
37 * |
|
38 *******************************************************************/ |
|
39 /** |
|
40 * xmlSecTransformInputURIId: |
|
41 * |
|
42 * The Input URI transform id. |
|
43 */ |
|
44 #define xmlSecTransformInputURIId \ |
|
45 xmlSecTransformInputURIGetKlass() |
|
46 XMLSEC_EXPORT xmlSecTransformId xmlSecTransformInputURIGetKlass (void); |
|
47 XMLSEC_EXPORT int xmlSecTransformInputURIOpen (xmlSecTransformPtr transform, |
|
48 const xmlChar* uri); |
|
49 |
|
50 #ifdef __cplusplus |
|
51 } |
|
52 #endif /* __cplusplus */ |
|
53 |
|
54 #endif /* __XMLSEC_IO_H__ */ |
|
55 |