ReactOS 0.4.16-dev-125-g798ea90
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
20extern "C" {
21#endif
22
31
37typedef enum {
44
53 const char *value);
54
55/*
56 * Module interfaces
57 */
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
xsltSecurityPrefs * xsltSecurityPrefsPtr
Definition: security.h:30
XSLTPUBFUN void XSLTCALL xsltFreeSecurityPrefs(xsltSecurityPrefsPtr sec)
Definition: security.c:78
XSLTPUBFUN xsltSecurityPrefsPtr XSLTCALL xsltNewSecurityPrefs(void)
Definition: security.c:56
XSLTPUBFUN int XSLTCALL xsltSetSecurityPrefs(xsltSecurityPrefsPtr sec, xsltSecurityOption option, xsltSecurityCheck func)
Definition: security.c:95
XSLTPUBFUN int XSLTCALL xsltCheckWrite(xsltSecurityPrefsPtr sec, xsltTransformContextPtr ctxt, const xmlChar *URL)
Definition: security.c:335
XSLTPUBFUN int XSLTCALL xsltSecurityAllow(xsltSecurityPrefsPtr sec, xsltTransformContextPtr ctxt, const char *value)
XSLTPUBFUN int XSLTCALL xsltSecurityForbid(xsltSecurityPrefsPtr sec, xsltTransformContextPtr ctxt, const char *value)
XSLTPUBFUN void XSLTCALL xsltSetDefaultSecurityPrefs(xsltSecurityPrefsPtr sec)
Definition: security.c:150
int(* xsltSecurityCheck)(xsltSecurityPrefsPtr sec, xsltTransformContextPtr ctxt, const char *value)
Definition: security.h:51
XSLTPUBFUN int XSLTCALL xsltCheckRead(xsltSecurityPrefsPtr sec, xsltTransformContextPtr ctxt, const xmlChar *URL)
Definition: security.c:402
XSLTPUBFUN int XSLTCALL xsltSetCtxtSecurityPrefs(xsltSecurityPrefsPtr sec, xsltTransformContextPtr ctxt)
Definition: security.c:177
XSLTPUBFUN xsltSecurityCheck XSLTCALL xsltGetSecurityPrefs(xsltSecurityPrefsPtr sec, xsltSecurityOption option)
Definition: security.c:125
XSLTPUBFUN xsltSecurityPrefsPtr XSLTCALL xsltGetDefaultSecurityPrefs(void)
Definition: security.c:163
xsltSecurityOption
Definition: security.h:37
@ XSLT_SECPREF_READ_NETWORK
Definition: security.h:41
@ XSLT_SECPREF_WRITE_NETWORK
Definition: security.h:42
@ XSLT_SECPREF_CREATE_DIRECTORY
Definition: security.h:40
@ XSLT_SECPREF_WRITE_FILE
Definition: security.h:39
@ XSLT_SECPREF_READ_FILE
Definition: security.h:38
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
Definition: typeof.h:31
GLenum func
Definition: glext.h:6028
Definition: getopt.h:109
Definition: pdh_main.c:94
unsigned char xmlChar
Definition: xmlstring.h:28
#define XSLTCALL
Definition: xsltexports.h:39
#define XSLTPUBFUN
Definition: xsltexports.h:48