@img/sharp-libvips-dev 1.2.2 → 1.2.4-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/include/archive.h +2 -2
- package/include/archive_entry.h +1 -1
- package/include/expat.h +39 -25
- package/include/expat_config.h +9 -9
- package/include/expat_external.h +62 -61
- package/include/harfbuzz/hb-ot-layout.h +6 -0
- package/include/harfbuzz/hb-script-list.h +1 -1
- package/include/harfbuzz/hb-subset.h +5 -0
- package/include/harfbuzz/hb-version.h +3 -3
- package/include/jconfig.h +37 -14
- package/include/jerror.h +47 -42
- package/include/jmorecfg.h +21 -18
- package/include/jpeglib.h +216 -132
- package/include/librsvg-2.0/librsvg/rsvg-version.h +2 -2
- package/include/libxml2/libxml/HTMLparser.h +159 -101
- package/include/libxml2/libxml/HTMLtree.h +49 -74
- package/include/libxml2/libxml/SAX.h +8 -5
- package/include/libxml2/libxml/SAX2.h +18 -15
- package/include/libxml2/libxml/c14n.h +30 -29
- package/include/libxml2/libxml/catalog.h +47 -22
- package/include/libxml2/libxml/chvalid.h +52 -64
- package/include/libxml2/libxml/debugXML.h +18 -15
- package/include/libxml2/libxml/dict.h +22 -19
- package/include/libxml2/libxml/encoding.h +144 -111
- package/include/libxml2/libxml/entities.h +95 -75
- package/include/libxml2/libxml/globals.h +7 -4
- package/include/libxml2/libxml/hash.h +61 -64
- package/include/libxml2/libxml/list.h +59 -51
- package/include/libxml2/libxml/nanoftp.h +7 -4
- package/include/libxml2/libxml/nanohttp.h +10 -7
- package/include/libxml2/libxml/parser.h +1091 -563
- package/include/libxml2/libxml/parserInternals.h +167 -214
- package/include/libxml2/libxml/pattern.h +29 -31
- package/include/libxml2/libxml/relaxng.h +59 -58
- package/include/libxml2/libxml/schemasInternals.h +114 -268
- package/include/libxml2/libxml/schematron.h +59 -51
- package/include/libxml2/libxml/threads.h +19 -20
- package/include/libxml2/libxml/tree.h +873 -623
- package/include/libxml2/libxml/uri.h +21 -22
- package/include/libxml2/libxml/valid.h +169 -199
- package/include/libxml2/libxml/xinclude.h +24 -43
- package/include/libxml2/libxml/xlink.h +55 -51
- package/include/libxml2/libxml/xmlIO.h +127 -145
- package/include/libxml2/libxml/xmlautomata.h +66 -65
- package/include/libxml2/libxml/xmlerror.h +197 -94
- package/include/libxml2/libxml/xmlexports.h +20 -18
- package/include/libxml2/libxml/xmlmemory.h +44 -29
- package/include/libxml2/libxml/xmlmodule.h +14 -15
- package/include/libxml2/libxml/xmlreader.h +137 -131
- package/include/libxml2/libxml/xmlregexp.h +28 -31
- package/include/libxml2/libxml/xmlsave.h +81 -36
- package/include/libxml2/libxml/xmlschemas.h +61 -67
- package/include/libxml2/libxml/xmlschemastypes.h +60 -54
- package/include/libxml2/libxml/xmlstring.h +8 -9
- package/include/libxml2/libxml/xmlunicode.h +6 -3
- package/include/libxml2/libxml/xmlversion.h +44 -121
- package/include/libxml2/libxml/xmlwriter.h +97 -97
- package/include/libxml2/libxml/xpath.h +235 -232
- package/include/libxml2/libxml/xpathInternals.h +247 -277
- package/include/libxml2/libxml/xpointer.h +21 -17
- package/include/tiff.h +1 -0
- package/include/tiffconf.h +1 -1
- package/include/tiffio.h +23 -5
- package/include/tiffvers.h +4 -4
- package/include/vips/version.h +4 -4
- package/package.json +1 -1
- package/versions.json +9 -9
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
1
|
+
/**
|
|
2
|
+
* @file
|
|
3
|
+
*
|
|
4
|
+
* @brief string dictionary
|
|
5
|
+
*
|
|
6
|
+
* dictionary of reusable strings, just used to avoid allocation
|
|
4
7
|
* and freeing operations.
|
|
5
8
|
*
|
|
6
|
-
*
|
|
9
|
+
* @copyright See Copyright for the status of this software.
|
|
7
10
|
*
|
|
8
|
-
*
|
|
11
|
+
* @author Daniel Veillard
|
|
9
12
|
*/
|
|
10
13
|
|
|
11
14
|
#ifndef __XML_DICT_H__
|
|
@@ -19,8 +22,8 @@
|
|
|
19
22
|
extern "C" {
|
|
20
23
|
#endif
|
|
21
24
|
|
|
22
|
-
|
|
23
|
-
*
|
|
25
|
+
/**
|
|
26
|
+
* Dictionary (pool for interned strings)
|
|
24
27
|
*/
|
|
25
28
|
typedef struct _xmlDict xmlDict;
|
|
26
29
|
typedef xmlDict *xmlDictPtr;
|
|
@@ -34,40 +37,40 @@ XMLPUBFUN int xmlInitializeDict(void);
|
|
|
34
37
|
/*
|
|
35
38
|
* Constructor and destructor.
|
|
36
39
|
*/
|
|
37
|
-
XMLPUBFUN
|
|
40
|
+
XMLPUBFUN xmlDict *
|
|
38
41
|
xmlDictCreate (void);
|
|
39
42
|
XMLPUBFUN size_t
|
|
40
|
-
xmlDictSetLimit (
|
|
43
|
+
xmlDictSetLimit (xmlDict *dict,
|
|
41
44
|
size_t limit);
|
|
42
45
|
XMLPUBFUN size_t
|
|
43
|
-
xmlDictGetUsage (
|
|
44
|
-
XMLPUBFUN
|
|
45
|
-
xmlDictCreateSub(
|
|
46
|
+
xmlDictGetUsage (xmlDict *dict);
|
|
47
|
+
XMLPUBFUN xmlDict *
|
|
48
|
+
xmlDictCreateSub(xmlDict *sub);
|
|
46
49
|
XMLPUBFUN int
|
|
47
|
-
xmlDictReference(
|
|
50
|
+
xmlDictReference(xmlDict *dict);
|
|
48
51
|
XMLPUBFUN void
|
|
49
|
-
xmlDictFree (
|
|
52
|
+
xmlDictFree (xmlDict *dict);
|
|
50
53
|
|
|
51
54
|
/*
|
|
52
55
|
* Lookup of entry in the dictionary.
|
|
53
56
|
*/
|
|
54
57
|
XMLPUBFUN const xmlChar *
|
|
55
|
-
xmlDictLookup (
|
|
58
|
+
xmlDictLookup (xmlDict *dict,
|
|
56
59
|
const xmlChar *name,
|
|
57
60
|
int len);
|
|
58
61
|
XMLPUBFUN const xmlChar *
|
|
59
|
-
xmlDictExists (
|
|
62
|
+
xmlDictExists (xmlDict *dict,
|
|
60
63
|
const xmlChar *name,
|
|
61
64
|
int len);
|
|
62
65
|
XMLPUBFUN const xmlChar *
|
|
63
|
-
xmlDictQLookup (
|
|
66
|
+
xmlDictQLookup (xmlDict *dict,
|
|
64
67
|
const xmlChar *prefix,
|
|
65
68
|
const xmlChar *name);
|
|
66
69
|
XMLPUBFUN int
|
|
67
|
-
xmlDictOwns (
|
|
70
|
+
xmlDictOwns (xmlDict *dict,
|
|
68
71
|
const xmlChar *str);
|
|
69
72
|
XMLPUBFUN int
|
|
70
|
-
xmlDictSize (
|
|
73
|
+
xmlDictSize (xmlDict *dict);
|
|
71
74
|
|
|
72
75
|
/*
|
|
73
76
|
* Cleanup function
|
|
@@ -1,22 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* rfc2044 (UTF-8 and UTF-16) F. Yergeau Alis Technologies
|
|
8
|
-
* [ISO-10646] UTF-8 and UTF-16 in Annexes
|
|
9
|
-
* [ISO-8859-1] ISO Latin-1 characters codes.
|
|
10
|
-
* [UNICODE] The Unicode Consortium, "The Unicode Standard --
|
|
11
|
-
* Worldwide Character Encoding -- Version 1.0", Addison-
|
|
12
|
-
* Wesley, Volume 1, 1991, Volume 2, 1992. UTF-8 is
|
|
13
|
-
* described in Unicode Technical Report #4.
|
|
14
|
-
* [US-ASCII] Coded Character Set--7-bit American Standard Code for
|
|
15
|
-
* Information Interchange, ANSI X3.4-1986.
|
|
16
|
-
*
|
|
17
|
-
* Copy: See Copyright for the status of this software.
|
|
1
|
+
/**
|
|
2
|
+
* @file
|
|
3
|
+
*
|
|
4
|
+
* @brief Character encoding conversion functions
|
|
5
|
+
*
|
|
6
|
+
* @copyright See Copyright for the status of this software.
|
|
18
7
|
*
|
|
19
|
-
*
|
|
8
|
+
* @author Daniel Veillard
|
|
20
9
|
*/
|
|
21
10
|
|
|
22
11
|
#ifndef __XML_CHAR_ENCODING_H__
|
|
@@ -32,139 +21,181 @@ extern "C" {
|
|
|
32
21
|
/*
|
|
33
22
|
* Backward compatibility
|
|
34
23
|
*/
|
|
24
|
+
/** @cond ignore */
|
|
35
25
|
#define UTF8Toisolat1 xmlUTF8ToIsolat1
|
|
36
26
|
#define isolat1ToUTF8 xmlIsolat1ToUTF8
|
|
27
|
+
/** @endcond */
|
|
37
28
|
|
|
29
|
+
/**
|
|
30
|
+
* Encoding conversion errors
|
|
31
|
+
*/
|
|
38
32
|
typedef enum {
|
|
33
|
+
/** Success */
|
|
39
34
|
XML_ENC_ERR_SUCCESS = 0,
|
|
35
|
+
/** Internal or unclassified error */
|
|
40
36
|
XML_ENC_ERR_INTERNAL = -1,
|
|
37
|
+
/** Invalid or untranslatable input sequence */
|
|
41
38
|
XML_ENC_ERR_INPUT = -2,
|
|
39
|
+
/** Not enough space in output buffer */
|
|
42
40
|
XML_ENC_ERR_SPACE = -3,
|
|
41
|
+
/** Out-of-memory error */
|
|
43
42
|
XML_ENC_ERR_MEMORY = -4
|
|
44
43
|
} xmlCharEncError;
|
|
45
44
|
|
|
46
|
-
|
|
47
|
-
* xmlCharEncoding:
|
|
48
|
-
*
|
|
45
|
+
/**
|
|
49
46
|
* Predefined values for some standard encodings.
|
|
50
47
|
*/
|
|
51
48
|
typedef enum {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
49
|
+
/** No char encoding detected */
|
|
50
|
+
XML_CHAR_ENCODING_ERROR= -1,
|
|
51
|
+
/** No char encoding detected */
|
|
52
|
+
XML_CHAR_ENCODING_NONE= 0,
|
|
53
|
+
/** UTF-8 */
|
|
54
|
+
XML_CHAR_ENCODING_UTF8= 1,
|
|
55
|
+
/** UTF-16 little endian */
|
|
56
|
+
XML_CHAR_ENCODING_UTF16LE= 2,
|
|
57
|
+
/** UTF-16 big endian */
|
|
58
|
+
XML_CHAR_ENCODING_UTF16BE= 3,
|
|
59
|
+
/** UCS-4 little endian */
|
|
60
|
+
XML_CHAR_ENCODING_UCS4LE= 4,
|
|
61
|
+
/** UCS-4 big endian */
|
|
62
|
+
XML_CHAR_ENCODING_UCS4BE= 5,
|
|
63
|
+
/** EBCDIC uh! */
|
|
64
|
+
XML_CHAR_ENCODING_EBCDIC= 6,
|
|
65
|
+
/** UCS-4 unusual ordering */
|
|
66
|
+
XML_CHAR_ENCODING_UCS4_2143=7,
|
|
67
|
+
/** UCS-4 unusual ordering */
|
|
68
|
+
XML_CHAR_ENCODING_UCS4_3412=8,
|
|
69
|
+
/** UCS-2 */
|
|
70
|
+
XML_CHAR_ENCODING_UCS2= 9,
|
|
71
|
+
/** ISO-8859-1 ISO Latin 1 */
|
|
72
|
+
XML_CHAR_ENCODING_8859_1= 10,
|
|
73
|
+
/** ISO-8859-2 ISO Latin 2 */
|
|
74
|
+
XML_CHAR_ENCODING_8859_2= 11,
|
|
75
|
+
/** ISO-8859-3 */
|
|
76
|
+
XML_CHAR_ENCODING_8859_3= 12,
|
|
77
|
+
/** ISO-8859-4 */
|
|
78
|
+
XML_CHAR_ENCODING_8859_4= 13,
|
|
79
|
+
/** ISO-8859-5 */
|
|
80
|
+
XML_CHAR_ENCODING_8859_5= 14,
|
|
81
|
+
/** ISO-8859-6 */
|
|
82
|
+
XML_CHAR_ENCODING_8859_6= 15,
|
|
83
|
+
/** ISO-8859-7 */
|
|
84
|
+
XML_CHAR_ENCODING_8859_7= 16,
|
|
85
|
+
/** ISO-8859-8 */
|
|
86
|
+
XML_CHAR_ENCODING_8859_8= 17,
|
|
87
|
+
/** ISO-8859-9 */
|
|
88
|
+
XML_CHAR_ENCODING_8859_9= 18,
|
|
89
|
+
/** ISO-2022-JP */
|
|
90
|
+
XML_CHAR_ENCODING_2022_JP= 19,
|
|
91
|
+
/** Shift_JIS */
|
|
92
|
+
XML_CHAR_ENCODING_SHIFT_JIS=20,
|
|
93
|
+
/** EUC-JP */
|
|
94
|
+
XML_CHAR_ENCODING_EUC_JP= 21,
|
|
95
|
+
/** pure ASCII */
|
|
96
|
+
XML_CHAR_ENCODING_ASCII= 22,
|
|
97
|
+
/** UTF-16 native, available since 2.14 */
|
|
98
|
+
XML_CHAR_ENCODING_UTF16= 23,
|
|
99
|
+
/** HTML (output only), available since 2.14 */
|
|
100
|
+
XML_CHAR_ENCODING_HTML= 24,
|
|
101
|
+
/** ISO-8859-10, available since 2.14 */
|
|
102
|
+
XML_CHAR_ENCODING_8859_10= 25,
|
|
103
|
+
/** ISO-8859-11, available since 2.14 */
|
|
104
|
+
XML_CHAR_ENCODING_8859_11= 26,
|
|
105
|
+
/** ISO-8859-13, available since 2.14 */
|
|
106
|
+
XML_CHAR_ENCODING_8859_13= 27,
|
|
107
|
+
/** ISO-8859-14, available since 2.14 */
|
|
108
|
+
XML_CHAR_ENCODING_8859_14= 28,
|
|
109
|
+
/** ISO-8859-15, available since 2.14 */
|
|
110
|
+
XML_CHAR_ENCODING_8859_15= 29,
|
|
111
|
+
/** ISO-8859-16, available since 2.14 */
|
|
112
|
+
XML_CHAR_ENCODING_8859_16= 30,
|
|
113
|
+
/** windows-1252, available since 2.15 */
|
|
114
|
+
XML_CHAR_ENCODING_WINDOWS_1252 = 31
|
|
85
115
|
} xmlCharEncoding;
|
|
86
116
|
|
|
117
|
+
/**
|
|
118
|
+
* Encoding conversion flags
|
|
119
|
+
*/
|
|
87
120
|
typedef enum {
|
|
121
|
+
/** Create converter for input (conversion to UTF-8) */
|
|
88
122
|
XML_ENC_INPUT = (1 << 0),
|
|
89
|
-
|
|
123
|
+
/** Create converter for output (conversion from UTF-8) */
|
|
124
|
+
XML_ENC_OUTPUT = (1 << 1),
|
|
125
|
+
/** Use HTML5 mappings */
|
|
126
|
+
XML_ENC_HTML = (1 << 2)
|
|
90
127
|
} xmlCharEncFlags;
|
|
91
128
|
|
|
92
129
|
/**
|
|
93
|
-
* xmlCharEncodingInputFunc:
|
|
94
|
-
* @out: a pointer to an array of bytes to store the UTF-8 result
|
|
95
|
-
* @outlen: the length of @out
|
|
96
|
-
* @in: a pointer to an array of chars in the original encoding
|
|
97
|
-
* @inlen: the length of @in
|
|
98
|
-
*
|
|
99
130
|
* Convert characters to UTF-8.
|
|
100
131
|
*
|
|
101
|
-
* On success, the value of
|
|
102
|
-
* bytes consumed and
|
|
132
|
+
* On success, the value of `inlen` after return is the number of
|
|
133
|
+
* bytes consumed and `outlen` is the number of bytes produced.
|
|
103
134
|
*
|
|
104
|
-
*
|
|
135
|
+
* @param out a pointer to an array of bytes to store the UTF-8 result
|
|
136
|
+
* @param outlen the length of `out`
|
|
137
|
+
* @param in a pointer to an array of chars in the original encoding
|
|
138
|
+
* @param inlen the length of `in`
|
|
139
|
+
* @returns the number of bytes written or an xmlCharEncError code.
|
|
105
140
|
*/
|
|
106
141
|
typedef int (*xmlCharEncodingInputFunc)(unsigned char *out, int *outlen,
|
|
107
142
|
const unsigned char *in, int *inlen);
|
|
108
143
|
|
|
109
144
|
|
|
110
145
|
/**
|
|
111
|
-
* xmlCharEncodingOutputFunc:
|
|
112
|
-
* @out: a pointer to an array of bytes to store the result
|
|
113
|
-
* @outlen: the length of @out
|
|
114
|
-
* @in: a pointer to an array of UTF-8 chars
|
|
115
|
-
* @inlen: the length of @in
|
|
116
|
-
*
|
|
117
146
|
* Convert characters from UTF-8.
|
|
118
147
|
*
|
|
119
|
-
* On success, the value of
|
|
120
|
-
* bytes consumed and
|
|
148
|
+
* On success, the value of `inlen` after return is the number of
|
|
149
|
+
* bytes consumed and `outlen` is the number of bytes produced.
|
|
121
150
|
*
|
|
122
|
-
*
|
|
151
|
+
* @param out a pointer to an array of bytes to store the result
|
|
152
|
+
* @param outlen the length of `out`
|
|
153
|
+
* @param in a pointer to an array of UTF-8 chars
|
|
154
|
+
* @param inlen the length of `in`
|
|
155
|
+
* @returns the number of bytes written or an xmlCharEncError code.
|
|
123
156
|
*/
|
|
124
157
|
typedef int (*xmlCharEncodingOutputFunc)(unsigned char *out, int *outlen,
|
|
125
158
|
const unsigned char *in, int *inlen);
|
|
126
159
|
|
|
127
160
|
|
|
128
161
|
/**
|
|
129
|
-
* xmlCharEncConvFunc:
|
|
130
|
-
* @vctxt: conversion context
|
|
131
|
-
* @out: a pointer to an array of bytes to store the result
|
|
132
|
-
* @outlen: the length of @out
|
|
133
|
-
* @in: a pointer to an array of input bytes
|
|
134
|
-
* @inlen: the length of @in
|
|
135
|
-
* @flush: end of input
|
|
136
|
-
*
|
|
137
162
|
* Convert between character encodings.
|
|
138
163
|
*
|
|
139
|
-
* The value of
|
|
140
|
-
* and
|
|
164
|
+
* The value of `inlen` after return is the number of bytes consumed
|
|
165
|
+
* and `outlen` is the number of bytes produced.
|
|
141
166
|
*
|
|
142
167
|
* If the converter can consume partial multi-byte sequences, the
|
|
143
|
-
*
|
|
168
|
+
* `flush` flag can be used to detect truncated sequences at EOF.
|
|
144
169
|
* Otherwise, the flag can be ignored.
|
|
145
170
|
*
|
|
146
|
-
*
|
|
171
|
+
* @param vctxt conversion context
|
|
172
|
+
* @param out a pointer to an array of bytes to store the result
|
|
173
|
+
* @param outlen the length of `out`
|
|
174
|
+
* @param in a pointer to an array of input bytes
|
|
175
|
+
* @param inlen the length of `in`
|
|
176
|
+
* @param flush end of input
|
|
177
|
+
* @returns an xmlCharEncError code.
|
|
147
178
|
*/
|
|
148
179
|
typedef xmlCharEncError
|
|
149
180
|
(*xmlCharEncConvFunc)(void *vctxt, unsigned char *out, int *outlen,
|
|
150
181
|
const unsigned char *in, int *inlen, int flush);
|
|
151
182
|
|
|
152
183
|
/**
|
|
153
|
-
* xmlCharEncConvCtxtDtor:
|
|
154
|
-
* @vctxt: conversion context
|
|
155
|
-
*
|
|
156
184
|
* Free a conversion context.
|
|
185
|
+
*
|
|
186
|
+
* @param vctxt conversion context
|
|
157
187
|
*/
|
|
158
188
|
typedef void
|
|
159
189
|
(*xmlCharEncConvCtxtDtor)(void *vctxt);
|
|
160
190
|
|
|
161
|
-
|
|
162
|
-
|
|
191
|
+
/** Character encoding converter */
|
|
192
|
+
typedef struct _xmlCharEncodingHandler xmlCharEncodingHandler;
|
|
193
|
+
typedef xmlCharEncodingHandler *xmlCharEncodingHandlerPtr;
|
|
194
|
+
/**
|
|
195
|
+
* A character encoding conversion handler for non UTF-8 encodings.
|
|
163
196
|
*
|
|
164
197
|
* This structure will be made private.
|
|
165
198
|
*/
|
|
166
|
-
typedef struct _xmlCharEncodingHandler xmlCharEncodingHandler;
|
|
167
|
-
typedef xmlCharEncodingHandler *xmlCharEncodingHandlerPtr;
|
|
168
199
|
struct _xmlCharEncodingHandler {
|
|
169
200
|
char *name XML_DEPRECATED_MEMBER;
|
|
170
201
|
union {
|
|
@@ -182,19 +213,17 @@ struct _xmlCharEncodingHandler {
|
|
|
182
213
|
};
|
|
183
214
|
|
|
184
215
|
/**
|
|
185
|
-
*
|
|
186
|
-
* @vctxt: user data
|
|
187
|
-
* @name: encoding name
|
|
188
|
-
* @flags: bit mask of flags
|
|
189
|
-
* @out: pointer to resulting handler
|
|
190
|
-
*
|
|
191
|
-
* If this function returns XML_ERR_OK, it must fill the @out
|
|
216
|
+
* If this function returns XML_ERR_OK, it must fill the `out`
|
|
192
217
|
* pointer with an encoding handler. The handler can be obtained
|
|
193
|
-
* from xmlCharEncNewCustomHandler.
|
|
218
|
+
* from #xmlCharEncNewCustomHandler.
|
|
194
219
|
*
|
|
195
|
-
*
|
|
220
|
+
* `flags` can contain XML_ENC_INPUT, XML_ENC_OUTPUT or both.
|
|
196
221
|
*
|
|
197
|
-
*
|
|
222
|
+
* @param vctxt user data
|
|
223
|
+
* @param name encoding name
|
|
224
|
+
* @param flags bit mask of flags
|
|
225
|
+
* @param out pointer to resulting handler
|
|
226
|
+
* @returns an xmlParserErrors code.
|
|
198
227
|
*/
|
|
199
228
|
typedef xmlParserErrors
|
|
200
229
|
(*xmlCharEncConvImpl)(void *vctxt, const char *name, xmlCharEncFlags flags,
|
|
@@ -209,26 +238,28 @@ XMLPUBFUN void
|
|
|
209
238
|
XML_DEPRECATED
|
|
210
239
|
XMLPUBFUN void
|
|
211
240
|
xmlCleanupCharEncodingHandlers (void);
|
|
241
|
+
XML_DEPRECATED
|
|
212
242
|
XMLPUBFUN void
|
|
213
|
-
xmlRegisterCharEncodingHandler (
|
|
243
|
+
xmlRegisterCharEncodingHandler (xmlCharEncodingHandler *handler);
|
|
214
244
|
XMLPUBFUN xmlParserErrors
|
|
215
245
|
xmlLookupCharEncodingHandler (xmlCharEncoding enc,
|
|
216
|
-
|
|
246
|
+
xmlCharEncodingHandler **out);
|
|
217
247
|
XMLPUBFUN xmlParserErrors
|
|
218
248
|
xmlOpenCharEncodingHandler (const char *name,
|
|
219
249
|
int output,
|
|
220
|
-
|
|
250
|
+
xmlCharEncodingHandler **out);
|
|
221
251
|
XMLPUBFUN xmlParserErrors
|
|
222
252
|
xmlCreateCharEncodingHandler (const char *name,
|
|
223
253
|
xmlCharEncFlags flags,
|
|
224
254
|
xmlCharEncConvImpl impl,
|
|
225
255
|
void *implCtxt,
|
|
226
|
-
|
|
227
|
-
XMLPUBFUN
|
|
256
|
+
xmlCharEncodingHandler **out);
|
|
257
|
+
XMLPUBFUN xmlCharEncodingHandler *
|
|
228
258
|
xmlGetCharEncodingHandler (xmlCharEncoding enc);
|
|
229
|
-
XMLPUBFUN
|
|
259
|
+
XMLPUBFUN xmlCharEncodingHandler *
|
|
230
260
|
xmlFindCharEncodingHandler (const char *name);
|
|
231
|
-
|
|
261
|
+
XML_DEPRECATED
|
|
262
|
+
XMLPUBFUN xmlCharEncodingHandler *
|
|
232
263
|
xmlNewCharEncodingHandler (const char *name,
|
|
233
264
|
xmlCharEncodingInputFunc input,
|
|
234
265
|
xmlCharEncodingOutputFunc output);
|
|
@@ -244,13 +275,17 @@ XMLPUBFUN xmlParserErrors
|
|
|
244
275
|
/*
|
|
245
276
|
* Interfaces for encoding names and aliases.
|
|
246
277
|
*/
|
|
278
|
+
XML_DEPRECATED
|
|
247
279
|
XMLPUBFUN int
|
|
248
280
|
xmlAddEncodingAlias (const char *name,
|
|
249
281
|
const char *alias);
|
|
282
|
+
XML_DEPRECATED
|
|
250
283
|
XMLPUBFUN int
|
|
251
284
|
xmlDelEncodingAlias (const char *alias);
|
|
285
|
+
XML_DEPRECATED
|
|
252
286
|
XMLPUBFUN const char *
|
|
253
287
|
xmlGetEncodingAlias (const char *alias);
|
|
288
|
+
XML_DEPRECATED
|
|
254
289
|
XMLPUBFUN void
|
|
255
290
|
xmlCleanupEncodingAliases (void);
|
|
256
291
|
XMLPUBFUN xmlCharEncoding
|
|
@@ -265,9 +300,7 @@ XMLPUBFUN xmlCharEncoding
|
|
|
265
300
|
xmlDetectCharEncoding (const unsigned char *in,
|
|
266
301
|
int len);
|
|
267
302
|
|
|
268
|
-
/** DOC_DISABLE */
|
|
269
303
|
struct _xmlBuffer;
|
|
270
|
-
/** DOC_ENABLE */
|
|
271
304
|
XMLPUBFUN int
|
|
272
305
|
xmlCharEncOutFunc (xmlCharEncodingHandler *handler,
|
|
273
306
|
struct _xmlBuffer *out,
|