Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Side by Side Diff: third_party/libxslt/libxslt/security.h

Issue 1193533007: Upgrade to libxml 2.9.2 and libxslt 1.1.28 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove suppressions, have landed in blink now Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Summary: interface for the libxslt security framework 2 * Summary: interface for the libxslt security framework
3 * Description: the libxslt security framework allow to restrict 3 * Description: the libxslt security framework allow to restrict
4 * the access to new resources (file or URL) from 4 * the access to new resources (file or URL) from
5 * the stylesheet at runtime. 5 * the stylesheet at runtime.
6 * 6 *
7 * Copy: See Copyright for the status of this software. 7 * Copy: See Copyright for the status of this software.
8 * 8 *
9 * Author: Daniel Veillard 9 * Author: Daniel Veillard
10 */ 10 */
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 * User provided function to check the value of a string like a file 48 * User provided function to check the value of a string like a file
49 * path or an URL ... 49 * path or an URL ...
50 */ 50 */
51 typedef int (*xsltSecurityCheck) (xsltSecurityPrefsPtr sec, 51 typedef int (*xsltSecurityCheck) (xsltSecurityPrefsPtr sec,
52 xsltTransformContextPtr ctxt, 52 xsltTransformContextPtr ctxt,
53 const char *value); 53 const char *value);
54 54
55 /* 55 /*
56 * Module interfaces 56 * Module interfaces
57 */ 57 */
58 XSLTPUBFUN xsltSecurityPrefsPtr XSLTCALL» 58 XSLTPUBFUN xsltSecurityPrefsPtr XSLTCALL
59 xsltNewSecurityPrefs (void); 59 xsltNewSecurityPrefs (void);
60 XSLTPUBFUN void XSLTCALL» » » 60 XSLTPUBFUN void XSLTCALL
61 xsltFreeSecurityPrefs (xsltSecurityPrefsPtr sec); 61 xsltFreeSecurityPrefs (xsltSecurityPrefsPtr sec);
62 XSLTPUBFUN int XSLTCALL»» » 62 XSLTPUBFUN int XSLTCALL
63 xsltSetSecurityPrefs (xsltSecurityPrefsPtr sec, 63 xsltSetSecurityPrefs (xsltSecurityPrefsPtr sec,
64 xsltSecurityOption option, 64 xsltSecurityOption option,
65 xsltSecurityCheck func); 65 xsltSecurityCheck func);
66 XSLTPUBFUN xsltSecurityCheck XSLTCALL» 66 XSLTPUBFUN xsltSecurityCheck XSLTCALL
67 xsltGetSecurityPrefs (xsltSecurityPrefsPtr sec, 67 xsltGetSecurityPrefs (xsltSecurityPrefsPtr sec,
68 xsltSecurityOption option); 68 xsltSecurityOption option);
69 69
70 XSLTPUBFUN void XSLTCALL» » » 70 XSLTPUBFUN void XSLTCALL
71 xsltSetDefaultSecurityPrefs (xsltSecurityPrefsPtr sec); 71 xsltSetDefaultSecurityPrefs (xsltSecurityPrefsPtr sec);
72 XSLTPUBFUN xsltSecurityPrefsPtr XSLTCALL» 72 XSLTPUBFUN xsltSecurityPrefsPtr XSLTCALL
73 xsltGetDefaultSecurityPrefs (void); 73 xsltGetDefaultSecurityPrefs (void);
74 74
75 XSLTPUBFUN int XSLTCALL»» » 75 XSLTPUBFUN int XSLTCALL
76 xsltSetCtxtSecurityPrefs (xsltSecurityPrefsPtr sec, 76 xsltSetCtxtSecurityPrefs (xsltSecurityPrefsPtr sec,
77 xsltTransformContextPtr ctxt); 77 xsltTransformContextPtr ctxt);
78 78
79 XSLTPUBFUN int XSLTCALL»» » 79 XSLTPUBFUN int XSLTCALL
80 xsltSecurityAllow (xsltSecurityPrefsPtr sec, 80 xsltSecurityAllow (xsltSecurityPrefsPtr sec,
81 xsltTransformContextPtr ctxt, 81 xsltTransformContextPtr ctxt,
82 const char *value); 82 const char *value);
83 XSLTPUBFUN int XSLTCALL» 83 XSLTPUBFUN int XSLTCALL
84 xsltSecurityForbid (xsltSecurityPrefsPtr sec, 84 xsltSecurityForbid (xsltSecurityPrefsPtr sec,
85 xsltTransformContextPtr ctxt, 85 xsltTransformContextPtr ctxt,
86 const char *value); 86 const char *value);
87 /* 87 /*
88 * internal interfaces 88 * internal interfaces
89 */ 89 */
90 XSLTPUBFUN int XSLTCALL»» » 90 XSLTPUBFUN int XSLTCALL
91 xsltCheckWrite (xsltSecurityPrefsPtr sec, 91 xsltCheckWrite (xsltSecurityPrefsPtr sec,
92 xsltTransformContextPtr ctxt, 92 xsltTransformContextPtr ctxt,
93 const xmlChar *URL); 93 const xmlChar *URL);
94 XSLTPUBFUN int XSLTCALL»» » 94 XSLTPUBFUN int XSLTCALL
95 xsltCheckRead (xsltSecurityPrefsPtr sec, 95 xsltCheckRead (xsltSecurityPrefsPtr sec,
96 xsltTransformContextPtr ctxt, 96 xsltTransformContextPtr ctxt,
97 const xmlChar *URL); 97 const xmlChar *URL);
98 98
99 #ifdef __cplusplus 99 #ifdef __cplusplus
100 } 100 }
101 #endif 101 #endif
102 102
103 #endif /* __XML_XSLT_SECURITY_H__ */ 103 #endif /* __XML_XSLT_SECURITY_H__ */
104 104
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698