Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/libxslt
File: security.h
/*
[0] Fix | Delete
* Summary: interface for the libxslt security framework
[1] Fix | Delete
* Description: the libxslt security framework allow to restrict
[2] Fix | Delete
* the access to new resources (file or URL) from
[3] Fix | Delete
* the stylesheet at runtime.
[4] Fix | Delete
*
[5] Fix | Delete
* Copy: See Copyright for the status of this software.
[6] Fix | Delete
*
[7] Fix | Delete
* Author: Daniel Veillard
[8] Fix | Delete
*/
[9] Fix | Delete
[10] Fix | Delete
#ifndef __XML_XSLT_SECURITY_H__
[11] Fix | Delete
#define __XML_XSLT_SECURITY_H__
[12] Fix | Delete
[13] Fix | Delete
#include <libxml/tree.h>
[14] Fix | Delete
#include "xsltexports.h"
[15] Fix | Delete
#include "xsltInternals.h"
[16] Fix | Delete
[17] Fix | Delete
#ifdef __cplusplus
[18] Fix | Delete
extern "C" {
[19] Fix | Delete
#endif
[20] Fix | Delete
[21] Fix | Delete
/**
[22] Fix | Delete
* xsltSecurityPref:
[23] Fix | Delete
*
[24] Fix | Delete
* structure to indicate the preferences for security in the XSLT
[25] Fix | Delete
* transformation.
[26] Fix | Delete
*/
[27] Fix | Delete
typedef struct _xsltSecurityPrefs xsltSecurityPrefs;
[28] Fix | Delete
typedef xsltSecurityPrefs *xsltSecurityPrefsPtr;
[29] Fix | Delete
[30] Fix | Delete
/**
[31] Fix | Delete
* xsltSecurityOption:
[32] Fix | Delete
*
[33] Fix | Delete
* the set of option that can be configured
[34] Fix | Delete
*/
[35] Fix | Delete
typedef enum {
[36] Fix | Delete
XSLT_SECPREF_READ_FILE = 1,
[37] Fix | Delete
XSLT_SECPREF_WRITE_FILE,
[38] Fix | Delete
XSLT_SECPREF_CREATE_DIRECTORY,
[39] Fix | Delete
XSLT_SECPREF_READ_NETWORK,
[40] Fix | Delete
XSLT_SECPREF_WRITE_NETWORK
[41] Fix | Delete
} xsltSecurityOption;
[42] Fix | Delete
[43] Fix | Delete
/**
[44] Fix | Delete
* xsltSecurityCheck:
[45] Fix | Delete
*
[46] Fix | Delete
* User provided function to check the value of a string like a file
[47] Fix | Delete
* path or an URL ...
[48] Fix | Delete
*/
[49] Fix | Delete
typedef int (*xsltSecurityCheck) (xsltSecurityPrefsPtr sec,
[50] Fix | Delete
xsltTransformContextPtr ctxt,
[51] Fix | Delete
const char *value);
[52] Fix | Delete
[53] Fix | Delete
/*
[54] Fix | Delete
* Module interfaces
[55] Fix | Delete
*/
[56] Fix | Delete
XSLTPUBFUN xsltSecurityPrefsPtr XSLTCALL
[57] Fix | Delete
xsltNewSecurityPrefs (void);
[58] Fix | Delete
XSLTPUBFUN void XSLTCALL
[59] Fix | Delete
xsltFreeSecurityPrefs (xsltSecurityPrefsPtr sec);
[60] Fix | Delete
XSLTPUBFUN int XSLTCALL
[61] Fix | Delete
xsltSetSecurityPrefs (xsltSecurityPrefsPtr sec,
[62] Fix | Delete
xsltSecurityOption option,
[63] Fix | Delete
xsltSecurityCheck func);
[64] Fix | Delete
XSLTPUBFUN xsltSecurityCheck XSLTCALL
[65] Fix | Delete
xsltGetSecurityPrefs (xsltSecurityPrefsPtr sec,
[66] Fix | Delete
xsltSecurityOption option);
[67] Fix | Delete
[68] Fix | Delete
XSLTPUBFUN void XSLTCALL
[69] Fix | Delete
xsltSetDefaultSecurityPrefs (xsltSecurityPrefsPtr sec);
[70] Fix | Delete
XSLTPUBFUN xsltSecurityPrefsPtr XSLTCALL
[71] Fix | Delete
xsltGetDefaultSecurityPrefs (void);
[72] Fix | Delete
[73] Fix | Delete
XSLTPUBFUN int XSLTCALL
[74] Fix | Delete
xsltSetCtxtSecurityPrefs (xsltSecurityPrefsPtr sec,
[75] Fix | Delete
xsltTransformContextPtr ctxt);
[76] Fix | Delete
[77] Fix | Delete
XSLTPUBFUN int XSLTCALL
[78] Fix | Delete
xsltSecurityAllow (xsltSecurityPrefsPtr sec,
[79] Fix | Delete
xsltTransformContextPtr ctxt,
[80] Fix | Delete
const char *value);
[81] Fix | Delete
XSLTPUBFUN int XSLTCALL
[82] Fix | Delete
xsltSecurityForbid (xsltSecurityPrefsPtr sec,
[83] Fix | Delete
xsltTransformContextPtr ctxt,
[84] Fix | Delete
const char *value);
[85] Fix | Delete
/*
[86] Fix | Delete
* internal interfaces
[87] Fix | Delete
*/
[88] Fix | Delete
XSLTPUBFUN int XSLTCALL
[89] Fix | Delete
xsltCheckWrite (xsltSecurityPrefsPtr sec,
[90] Fix | Delete
xsltTransformContextPtr ctxt,
[91] Fix | Delete
const xmlChar *URL);
[92] Fix | Delete
XSLTPUBFUN int XSLTCALL
[93] Fix | Delete
xsltCheckRead (xsltSecurityPrefsPtr sec,
[94] Fix | Delete
xsltTransformContextPtr ctxt,
[95] Fix | Delete
const xmlChar *URL);
[96] Fix | Delete
[97] Fix | Delete
#ifdef __cplusplus
[98] Fix | Delete
}
[99] Fix | Delete
#endif
[100] Fix | Delete
[101] Fix | Delete
#endif /* __XML_XSLT_SECURITY_H__ */
[102] Fix | Delete
[103] Fix | Delete
[104] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function