ReactOS  0.4.15-dev-439-g292f67a
security.h
Go to the documentation of this file.
1 /*
2  * Summary: interface for the libxslt security framework
3  * Description: the libxslt security framework allow to restrict
4  * the access to new resources (file or URL) from
5  * the stylesheet at runtime.
6  *
7  * Copy: See Copyright for the status of this software.
8  *
9  * Author: Daniel Veillard
10  */
11 
12 #ifndef __XML_XSLT_SECURITY_H__
13 #define __XML_XSLT_SECURITY_H__
14 
15 #include <libxml/tree.h>
16 #include "xsltexports.h"
17 #include "xsltInternals.h"
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
31 
37 typedef enum {
44 
53  const char *value);
54 
55 /*
56  * Module interfaces
57  */
59  xsltNewSecurityPrefs (void);
69 
74 
78 
82  const char *value);
86  const char *value);
87 /*
88  * internal interfaces
89  */
93  const xmlChar *URL);
97  const xmlChar *URL);
98 
99 #ifdef __cplusplus
100 }
101 #endif
102 
103 #endif /* __XML_XSLT_SECURITY_H__ */
104 
GLenum func
Definition: glext.h:6028
XSLTPUBFUN int XSLTCALL xsltSetSecurityPrefs(xsltSecurityPrefsPtr sec, xsltSecurityOption option, xsltSecurityCheck func)
Definition: security.c:95
XSLTPUBFUN xsltSecurityCheck XSLTCALL xsltGetSecurityPrefs(xsltSecurityPrefsPtr sec, xsltSecurityOption option)
Definition: security.c:125
xsltSecurityPrefs * xsltSecurityPrefsPtr
Definition: security.h:30
XSLTPUBFUN int XSLTCALL xsltCheckRead(xsltSecurityPrefsPtr sec, xsltTransformContextPtr ctxt, const xmlChar *URL)
Definition: security.c:402
Definition: getopt.h:108
XSLTPUBFUN xsltSecurityPrefsPtr XSLTCALL xsltNewSecurityPrefs(void)
Definition: security.c:56
XSLTPUBFUN int XSLTCALL xsltCheckWrite(xsltSecurityPrefsPtr sec, xsltTransformContextPtr ctxt, const xmlChar *URL)
Definition: security.c:335
int(* xsltSecurityCheck)(xsltSecurityPrefsPtr sec, xsltTransformContextPtr ctxt, const char *value)
Definition: security.h:51
unsigned char xmlChar
Definition: xmlstring.h:28
XSLTPUBFUN int XSLTCALL xsltSecurityAllow(xsltSecurityPrefsPtr sec, xsltTransformContextPtr ctxt, const char *value)
GLsizei const GLfloat * value
Definition: glext.h:6069
XSLTPUBFUN int XSLTCALL xsltSecurityForbid(xsltSecurityPrefsPtr sec, xsltTransformContextPtr ctxt, const char *value)
XSLTPUBFUN int XSLTCALL xsltSetCtxtSecurityPrefs(xsltSecurityPrefsPtr sec, xsltTransformContextPtr ctxt)
Definition: security.c:177
#define XSLTPUBFUN
Definition: xsltexports.h:31
#define XSLTCALL
Definition: xsltexports.h:43
XSLTPUBFUN xsltSecurityPrefsPtr XSLTCALL xsltGetDefaultSecurityPrefs(void)
Definition: security.c:163
xsltSecurityOption
Definition: security.h:37
XSLTPUBFUN void XSLTCALL xsltSetDefaultSecurityPrefs(xsltSecurityPrefsPtr sec)
Definition: security.c:150
XSLTPUBFUN void XSLTCALL xsltFreeSecurityPrefs(xsltSecurityPrefsPtr sec)
Definition: security.c:78
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
Definition: typeof.h:31