@img/sharp-libvips-dev 1.2.2 → 1.2.3

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.
Files changed (51) hide show
  1. package/include/expat.h +37 -24
  2. package/include/expat_config.h +9 -9
  3. package/include/expat_external.h +62 -61
  4. package/include/libxml2/libxml/HTMLparser.h +159 -101
  5. package/include/libxml2/libxml/HTMLtree.h +49 -74
  6. package/include/libxml2/libxml/SAX.h +8 -5
  7. package/include/libxml2/libxml/SAX2.h +18 -15
  8. package/include/libxml2/libxml/c14n.h +30 -29
  9. package/include/libxml2/libxml/catalog.h +47 -22
  10. package/include/libxml2/libxml/chvalid.h +52 -64
  11. package/include/libxml2/libxml/debugXML.h +18 -15
  12. package/include/libxml2/libxml/dict.h +22 -19
  13. package/include/libxml2/libxml/encoding.h +144 -111
  14. package/include/libxml2/libxml/entities.h +95 -75
  15. package/include/libxml2/libxml/globals.h +7 -4
  16. package/include/libxml2/libxml/hash.h +61 -64
  17. package/include/libxml2/libxml/list.h +59 -51
  18. package/include/libxml2/libxml/nanoftp.h +7 -4
  19. package/include/libxml2/libxml/nanohttp.h +10 -7
  20. package/include/libxml2/libxml/parser.h +1091 -563
  21. package/include/libxml2/libxml/parserInternals.h +167 -214
  22. package/include/libxml2/libxml/pattern.h +29 -31
  23. package/include/libxml2/libxml/relaxng.h +59 -58
  24. package/include/libxml2/libxml/schemasInternals.h +114 -268
  25. package/include/libxml2/libxml/schematron.h +59 -51
  26. package/include/libxml2/libxml/threads.h +19 -20
  27. package/include/libxml2/libxml/tree.h +873 -623
  28. package/include/libxml2/libxml/uri.h +21 -22
  29. package/include/libxml2/libxml/valid.h +170 -199
  30. package/include/libxml2/libxml/xinclude.h +24 -43
  31. package/include/libxml2/libxml/xlink.h +55 -51
  32. package/include/libxml2/libxml/xmlIO.h +133 -151
  33. package/include/libxml2/libxml/xmlautomata.h +66 -65
  34. package/include/libxml2/libxml/xmlerror.h +197 -94
  35. package/include/libxml2/libxml/xmlexports.h +17 -19
  36. package/include/libxml2/libxml/xmlmemory.h +44 -29
  37. package/include/libxml2/libxml/xmlmodule.h +14 -15
  38. package/include/libxml2/libxml/xmlreader.h +137 -131
  39. package/include/libxml2/libxml/xmlregexp.h +28 -31
  40. package/include/libxml2/libxml/xmlsave.h +81 -36
  41. package/include/libxml2/libxml/xmlschemas.h +61 -67
  42. package/include/libxml2/libxml/xmlschemastypes.h +60 -54
  43. package/include/libxml2/libxml/xmlstring.h +8 -9
  44. package/include/libxml2/libxml/xmlunicode.h +6 -3
  45. package/include/libxml2/libxml/xmlversion.h +44 -121
  46. package/include/libxml2/libxml/xmlwriter.h +97 -97
  47. package/include/libxml2/libxml/xpath.h +235 -232
  48. package/include/libxml2/libxml/xpathInternals.h +247 -277
  49. package/include/libxml2/libxml/xpointer.h +21 -17
  50. package/package.json +1 -1
  51. package/versions.json +2 -2
@@ -1,10 +1,13 @@
1
- /*
2
- * Summary: the XML document serializer
3
- * Description: API to save document or subtree of document
1
+ /**
2
+ * @file
3
+ *
4
+ * @brief XML/HTML serializer
5
+ *
6
+ * API to save documents or subtrees of documents.
4
7
  *
5
- * Copy: See Copyright for the status of this software.
8
+ * @copyright See Copyright for the status of this software.
6
9
  *
7
- * Author: Daniel Veillard
10
+ * @author Daniel Veillard
8
11
  */
9
12
 
10
13
  #ifndef __XML_XMLSAVE_H__
@@ -21,45 +24,87 @@ extern "C" {
21
24
  #endif
22
25
 
23
26
  /**
24
- * xmlSaveOption:
25
- *
26
27
  * This is the set of XML save options that can be passed down
27
- * to the xmlSaveToFd() and similar calls.
28
+ * to the #xmlSaveToFd and similar calls.
28
29
  */
29
30
  typedef enum {
30
- XML_SAVE_FORMAT = 1<<0, /* format save output */
31
- XML_SAVE_NO_DECL = 1<<1, /* drop the xml declaration */
32
- XML_SAVE_NO_EMPTY = 1<<2, /* no empty tags */
33
- XML_SAVE_NO_XHTML = 1<<3, /* disable XHTML1 specific rules */
34
- XML_SAVE_XHTML = 1<<4, /* force XHTML1 specific rules */
35
- XML_SAVE_AS_XML = 1<<5, /* force XML serialization on HTML doc */
36
- XML_SAVE_AS_HTML = 1<<6, /* force HTML serialization on XML doc */
37
- XML_SAVE_WSNONSIG = 1<<7, /* format with non-significant whitespace */
38
- /* Available since 2.14.0 */
39
- XML_SAVE_EMPTY = 1<<8, /* force empty tags, overriding global */
40
- XML_SAVE_NO_INDENT = 1<<9, /* disable indenting */
41
- XML_SAVE_INDENT = 1<<10 /* force indenting, overriding global */
31
+ /**
32
+ * Format output. This adds newlines and enables indenting
33
+ * by default.
34
+ */
35
+ XML_SAVE_FORMAT = 1<<0,
36
+ /**
37
+ * Don't emit an XML declaration.
38
+ */
39
+ XML_SAVE_NO_DECL = 1<<1,
40
+ /**
41
+ * Don't emit empty tags.
42
+ */
43
+ XML_SAVE_NO_EMPTY = 1<<2,
44
+ /**
45
+ * Don't serialize as XHTML.
46
+ */
47
+ XML_SAVE_NO_XHTML = 1<<3,
48
+ /**
49
+ * Always serialize as XHTML.
50
+ */
51
+ XML_SAVE_XHTML = 1<<4,
52
+ /**
53
+ * Serialize HTML documents as XML.
54
+ */
55
+ XML_SAVE_AS_XML = 1<<5,
56
+ /**
57
+ * Serialize XML documents as HTML.
58
+ */
59
+ XML_SAVE_AS_HTML = 1<<6,
60
+ /**
61
+ * Format with non-significant whitespace.
62
+ * TODO: What does this mean?
63
+ */
64
+ XML_SAVE_WSNONSIG = 1<<7,
65
+ /**
66
+ * Always emit empty tags. This is the default unless the
67
+ * deprecated thread-local setting xmlSaveNoEmptyTags is
68
+ * set to 1.
69
+ *
70
+ * @since 2.14
71
+ */
72
+ XML_SAVE_EMPTY = 1<<8,
73
+ /**
74
+ * Don't indent output when formatting.
75
+ *
76
+ * @since 2.14
77
+ */
78
+ XML_SAVE_NO_INDENT = 1<<9,
79
+ /**
80
+ * Always indent output when formatting. This is the default
81
+ * unless the deprecated thread-local setting
82
+ * xmlIndentTreeOutput is set to 0.
83
+ *
84
+ * @since 2.14
85
+ */
86
+ XML_SAVE_INDENT = 1<<10
42
87
  } xmlSaveOption;
43
88
 
44
-
89
+ /** XML and HTML serializer */
45
90
  typedef struct _xmlSaveCtxt xmlSaveCtxt;
46
91
  typedef xmlSaveCtxt *xmlSaveCtxtPtr;
47
92
 
48
- XMLPUBFUN xmlSaveCtxtPtr
93
+ XMLPUBFUN xmlSaveCtxt *
49
94
  xmlSaveToFd (int fd,
50
95
  const char *encoding,
51
96
  int options);
52
- XMLPUBFUN xmlSaveCtxtPtr
97
+ XMLPUBFUN xmlSaveCtxt *
53
98
  xmlSaveToFilename (const char *filename,
54
99
  const char *encoding,
55
100
  int options);
56
101
 
57
- XMLPUBFUN xmlSaveCtxtPtr
58
- xmlSaveToBuffer (xmlBufferPtr buffer,
102
+ XMLPUBFUN xmlSaveCtxt *
103
+ xmlSaveToBuffer (xmlBuffer *buffer,
59
104
  const char *encoding,
60
105
  int options);
61
106
 
62
- XMLPUBFUN xmlSaveCtxtPtr
107
+ XMLPUBFUN xmlSaveCtxt *
63
108
  xmlSaveToIO (xmlOutputWriteCallback iowrite,
64
109
  xmlOutputCloseCallback ioclose,
65
110
  void *ioctx,
@@ -67,28 +112,28 @@ XMLPUBFUN xmlSaveCtxtPtr
67
112
  int options);
68
113
 
69
114
  XMLPUBFUN long
70
- xmlSaveDoc (xmlSaveCtxtPtr ctxt,
71
- xmlDocPtr doc);
115
+ xmlSaveDoc (xmlSaveCtxt *ctxt,
116
+ xmlDoc *doc);
72
117
  XMLPUBFUN long
73
- xmlSaveTree (xmlSaveCtxtPtr ctxt,
74
- xmlNodePtr node);
118
+ xmlSaveTree (xmlSaveCtxt *ctxt,
119
+ xmlNode *node);
75
120
 
76
121
  XMLPUBFUN int
77
- xmlSaveFlush (xmlSaveCtxtPtr ctxt);
122
+ xmlSaveFlush (xmlSaveCtxt *ctxt);
78
123
  XMLPUBFUN int
79
- xmlSaveClose (xmlSaveCtxtPtr ctxt);
124
+ xmlSaveClose (xmlSaveCtxt *ctxt);
80
125
  XMLPUBFUN xmlParserErrors
81
- xmlSaveFinish (xmlSaveCtxtPtr ctxt);
126
+ xmlSaveFinish (xmlSaveCtxt *ctxt);
82
127
  XMLPUBFUN int
83
- xmlSaveSetIndentString (xmlSaveCtxtPtr ctxt,
128
+ xmlSaveSetIndentString (xmlSaveCtxt *ctxt,
84
129
  const char *indent);
85
130
  XML_DEPRECATED
86
131
  XMLPUBFUN int
87
- xmlSaveSetEscape (xmlSaveCtxtPtr ctxt,
132
+ xmlSaveSetEscape (xmlSaveCtxt *ctxt,
88
133
  xmlCharEncodingOutputFunc escape);
89
134
  XML_DEPRECATED
90
135
  XMLPUBFUN int
91
- xmlSaveSetAttrEscape (xmlSaveCtxtPtr ctxt,
136
+ xmlSaveSetAttrEscape (xmlSaveCtxt *ctxt,
92
137
  xmlCharEncodingOutputFunc escape);
93
138
 
94
139
  XML_DEPRECATED
@@ -1,11 +1,14 @@
1
- /*
2
- * Summary: incomplete XML Schemas structure implementation
3
- * Description: interface to the XML Schemas handling and schema validity
1
+ /**
2
+ * @file
3
+ *
4
+ * @brief incomplete XML Schemas structure implementation
5
+ *
6
+ * interface to the XML Schemas handling and schema validity
4
7
  * checking, it is incomplete right now.
5
8
  *
6
- * Copy: See Copyright for the status of this software.
9
+ * @copyright See Copyright for the status of this software.
7
10
  *
8
- * Author: Daniel Veillard
11
+ * @author Daniel Veillard
9
12
  */
10
13
 
11
14
 
@@ -64,8 +67,6 @@ typedef enum {
64
67
  * options below.
65
68
  */
66
69
  /**
67
- * xmlSchemaValidOption:
68
- *
69
70
  * This is the set of XML Schema validation options.
70
71
  */
71
72
  typedef enum {
@@ -82,54 +83,47 @@ typedef enum {
82
83
  * xsi:noNamespaceSchemaLocation
83
84
  */
84
85
 
85
- /**
86
- * The schemas related types are kept internal
87
- */
86
+ /** XML schema */
88
87
  typedef struct _xmlSchema xmlSchema;
89
88
  typedef xmlSchema *xmlSchemaPtr;
90
89
 
91
90
  /**
92
- * xmlSchemaValidityErrorFunc:
93
- * @ctx: the validation context
94
- * @msg: the message
95
- * @...: extra arguments
96
- *
97
91
  * Signature of an error callback from an XSD validation
92
+ *
93
+ * @param ctx the validation context
94
+ * @param msg the message
95
+ * @param ... extra arguments
98
96
  */
99
97
  typedef void (*xmlSchemaValidityErrorFunc)
100
98
  (void *ctx, const char *msg, ...) LIBXML_ATTR_FORMAT(2,3);
101
99
 
102
100
  /**
103
- * xmlSchemaValidityWarningFunc:
104
- * @ctx: the validation context
105
- * @msg: the message
106
- * @...: extra arguments
107
- *
108
101
  * Signature of a warning callback from an XSD validation
102
+ *
103
+ * @param ctx the validation context
104
+ * @param msg the message
105
+ * @param ... extra arguments
109
106
  */
110
107
  typedef void (*xmlSchemaValidityWarningFunc)
111
108
  (void *ctx, const char *msg, ...) LIBXML_ATTR_FORMAT(2,3);
112
109
 
113
- /**
114
- * A schemas validation context
115
- */
110
+ /** Schema parser context */
116
111
  typedef struct _xmlSchemaParserCtxt xmlSchemaParserCtxt;
117
112
  typedef xmlSchemaParserCtxt *xmlSchemaParserCtxtPtr;
118
113
 
114
+ /** Schema validation context */
119
115
  typedef struct _xmlSchemaValidCtxt xmlSchemaValidCtxt;
120
116
  typedef xmlSchemaValidCtxt *xmlSchemaValidCtxtPtr;
121
117
 
122
118
  /**
123
- * xmlSchemaValidityLocatorFunc:
124
- * @ctx: user provided context
125
- * @file: returned file information
126
- * @line: returned line information
127
- *
128
119
  * A schemas validation locator, a callback called by the validator.
129
120
  * This is used when file or node information are not available
130
121
  * to find out what file and line number are affected
131
122
  *
132
- * Returns: 0 in case of success and -1 in case of error
123
+ * @param ctx user provided context
124
+ * @param file returned file information
125
+ * @param line returned line information
126
+ * @returns 0 in case of success and -1 in case of error
133
127
  */
134
128
 
135
129
  typedef int (*xmlSchemaValidityLocatorFunc) (void *ctx,
@@ -138,111 +132,111 @@ typedef int (*xmlSchemaValidityLocatorFunc) (void *ctx,
138
132
  /*
139
133
  * Interfaces for parsing.
140
134
  */
141
- XMLPUBFUN xmlSchemaParserCtxtPtr
135
+ XMLPUBFUN xmlSchemaParserCtxt *
142
136
  xmlSchemaNewParserCtxt (const char *URL);
143
- XMLPUBFUN xmlSchemaParserCtxtPtr
137
+ XMLPUBFUN xmlSchemaParserCtxt *
144
138
  xmlSchemaNewMemParserCtxt (const char *buffer,
145
139
  int size);
146
- XMLPUBFUN xmlSchemaParserCtxtPtr
147
- xmlSchemaNewDocParserCtxt (xmlDocPtr doc);
140
+ XMLPUBFUN xmlSchemaParserCtxt *
141
+ xmlSchemaNewDocParserCtxt (xmlDoc *doc);
148
142
  XMLPUBFUN void
149
- xmlSchemaFreeParserCtxt (xmlSchemaParserCtxtPtr ctxt);
143
+ xmlSchemaFreeParserCtxt (xmlSchemaParserCtxt *ctxt);
150
144
  XMLPUBFUN void
151
- xmlSchemaSetParserErrors (xmlSchemaParserCtxtPtr ctxt,
145
+ xmlSchemaSetParserErrors (xmlSchemaParserCtxt *ctxt,
152
146
  xmlSchemaValidityErrorFunc err,
153
147
  xmlSchemaValidityWarningFunc warn,
154
148
  void *ctx);
155
149
  XMLPUBFUN void
156
- xmlSchemaSetParserStructuredErrors(xmlSchemaParserCtxtPtr ctxt,
150
+ xmlSchemaSetParserStructuredErrors(xmlSchemaParserCtxt *ctxt,
157
151
  xmlStructuredErrorFunc serror,
158
152
  void *ctx);
159
153
  XMLPUBFUN int
160
- xmlSchemaGetParserErrors (xmlSchemaParserCtxtPtr ctxt,
154
+ xmlSchemaGetParserErrors (xmlSchemaParserCtxt *ctxt,
161
155
  xmlSchemaValidityErrorFunc * err,
162
156
  xmlSchemaValidityWarningFunc * warn,
163
157
  void **ctx);
164
158
  XMLPUBFUN void
165
- xmlSchemaSetResourceLoader (xmlSchemaParserCtxtPtr ctxt,
159
+ xmlSchemaSetResourceLoader (xmlSchemaParserCtxt *ctxt,
166
160
  xmlResourceLoader loader,
167
161
  void *data);
168
162
  XMLPUBFUN int
169
- xmlSchemaIsValid (xmlSchemaValidCtxtPtr ctxt);
163
+ xmlSchemaIsValid (xmlSchemaValidCtxt *ctxt);
170
164
 
171
- XMLPUBFUN xmlSchemaPtr
172
- xmlSchemaParse (xmlSchemaParserCtxtPtr ctxt);
165
+ XMLPUBFUN xmlSchema *
166
+ xmlSchemaParse (xmlSchemaParserCtxt *ctxt);
173
167
  XMLPUBFUN void
174
- xmlSchemaFree (xmlSchemaPtr schema);
168
+ xmlSchemaFree (xmlSchema *schema);
175
169
  #ifdef LIBXML_DEBUG_ENABLED
176
170
  XMLPUBFUN void
177
171
  xmlSchemaDump (FILE *output,
178
- xmlSchemaPtr schema);
172
+ xmlSchema *schema);
179
173
  #endif /* LIBXML_DEBUG_ENABLED */
180
174
  /*
181
175
  * Interfaces for validating
182
176
  */
183
177
  XMLPUBFUN void
184
- xmlSchemaSetValidErrors (xmlSchemaValidCtxtPtr ctxt,
178
+ xmlSchemaSetValidErrors (xmlSchemaValidCtxt *ctxt,
185
179
  xmlSchemaValidityErrorFunc err,
186
180
  xmlSchemaValidityWarningFunc warn,
187
181
  void *ctx);
188
182
  XMLPUBFUN void
189
- xmlSchemaSetValidStructuredErrors(xmlSchemaValidCtxtPtr ctxt,
183
+ xmlSchemaSetValidStructuredErrors(xmlSchemaValidCtxt *ctxt,
190
184
  xmlStructuredErrorFunc serror,
191
185
  void *ctx);
192
186
  XMLPUBFUN int
193
- xmlSchemaGetValidErrors (xmlSchemaValidCtxtPtr ctxt,
187
+ xmlSchemaGetValidErrors (xmlSchemaValidCtxt *ctxt,
194
188
  xmlSchemaValidityErrorFunc *err,
195
189
  xmlSchemaValidityWarningFunc *warn,
196
190
  void **ctx);
197
191
  XMLPUBFUN int
198
- xmlSchemaSetValidOptions (xmlSchemaValidCtxtPtr ctxt,
192
+ xmlSchemaSetValidOptions (xmlSchemaValidCtxt *ctxt,
199
193
  int options);
200
194
  XMLPUBFUN void
201
- xmlSchemaValidateSetFilename(xmlSchemaValidCtxtPtr vctxt,
195
+ xmlSchemaValidateSetFilename(xmlSchemaValidCtxt *vctxt,
202
196
  const char *filename);
203
197
  XMLPUBFUN int
204
- xmlSchemaValidCtxtGetOptions(xmlSchemaValidCtxtPtr ctxt);
198
+ xmlSchemaValidCtxtGetOptions(xmlSchemaValidCtxt *ctxt);
205
199
 
206
- XMLPUBFUN xmlSchemaValidCtxtPtr
207
- xmlSchemaNewValidCtxt (xmlSchemaPtr schema);
200
+ XMLPUBFUN xmlSchemaValidCtxt *
201
+ xmlSchemaNewValidCtxt (xmlSchema *schema);
208
202
  XMLPUBFUN void
209
- xmlSchemaFreeValidCtxt (xmlSchemaValidCtxtPtr ctxt);
203
+ xmlSchemaFreeValidCtxt (xmlSchemaValidCtxt *ctxt);
210
204
  XMLPUBFUN int
211
- xmlSchemaValidateDoc (xmlSchemaValidCtxtPtr ctxt,
212
- xmlDocPtr instance);
205
+ xmlSchemaValidateDoc (xmlSchemaValidCtxt *ctxt,
206
+ xmlDoc *instance);
213
207
  XMLPUBFUN int
214
- xmlSchemaValidateOneElement (xmlSchemaValidCtxtPtr ctxt,
215
- xmlNodePtr elem);
208
+ xmlSchemaValidateOneElement (xmlSchemaValidCtxt *ctxt,
209
+ xmlNode *elem);
216
210
  XMLPUBFUN int
217
- xmlSchemaValidateStream (xmlSchemaValidCtxtPtr ctxt,
218
- xmlParserInputBufferPtr input,
211
+ xmlSchemaValidateStream (xmlSchemaValidCtxt *ctxt,
212
+ xmlParserInputBuffer *input,
219
213
  xmlCharEncoding enc,
220
214
  const xmlSAXHandler *sax,
221
215
  void *user_data);
222
216
  XMLPUBFUN int
223
- xmlSchemaValidateFile (xmlSchemaValidCtxtPtr ctxt,
217
+ xmlSchemaValidateFile (xmlSchemaValidCtxt *ctxt,
224
218
  const char * filename,
225
219
  int options);
226
220
 
227
- XMLPUBFUN xmlParserCtxtPtr
228
- xmlSchemaValidCtxtGetParserCtxt(xmlSchemaValidCtxtPtr ctxt);
221
+ XMLPUBFUN xmlParserCtxt *
222
+ xmlSchemaValidCtxtGetParserCtxt(xmlSchemaValidCtxt *ctxt);
229
223
 
230
- /*
224
+ /**
231
225
  * Interface to insert Schemas SAX validation in a SAX stream
232
226
  */
233
227
  typedef struct _xmlSchemaSAXPlug xmlSchemaSAXPlugStruct;
234
228
  typedef xmlSchemaSAXPlugStruct *xmlSchemaSAXPlugPtr;
235
229
 
236
- XMLPUBFUN xmlSchemaSAXPlugPtr
237
- xmlSchemaSAXPlug (xmlSchemaValidCtxtPtr ctxt,
238
- xmlSAXHandlerPtr *sax,
230
+ XMLPUBFUN xmlSchemaSAXPlugStruct *
231
+ xmlSchemaSAXPlug (xmlSchemaValidCtxt *ctxt,
232
+ xmlSAXHandler **sax,
239
233
  void **user_data);
240
234
  XMLPUBFUN int
241
- xmlSchemaSAXUnplug (xmlSchemaSAXPlugPtr plug);
235
+ xmlSchemaSAXUnplug (xmlSchemaSAXPlugStruct *plug);
242
236
 
243
237
 
244
238
  XMLPUBFUN void
245
- xmlSchemaValidateSetLocator (xmlSchemaValidCtxtPtr vctxt,
239
+ xmlSchemaValidateSetLocator (xmlSchemaValidCtxt *vctxt,
246
240
  xmlSchemaValidityLocatorFunc f,
247
241
  void *ctxt);
248
242
 
@@ -1,11 +1,14 @@
1
- /*
2
- * Summary: implementation of XML Schema Datatypes
3
- * Description: module providing the XML Schema Datatypes implementation
1
+ /**
2
+ * @file
3
+ *
4
+ * @brief implementation of XML Schema Datatypes
5
+ *
6
+ * module providing the XML Schema Datatypes implementation
4
7
  * both definition and validity checking
5
8
  *
6
- * Copy: See Copyright for the status of this software.
9
+ * @copyright See Copyright for the status of this software.
7
10
  *
8
- * Author: Daniel Veillard
11
+ * @author Daniel Veillard
9
12
  */
10
13
 
11
14
 
@@ -23,6 +26,9 @@
23
26
  extern "C" {
24
27
  #endif
25
28
 
29
+ /**
30
+ * Schema whitespace value type
31
+ */
26
32
  typedef enum {
27
33
  XML_SCHEMA_WHITESPACE_UNKNOWN = 0,
28
34
  XML_SCHEMA_WHITESPACE_PRESERVE = 1,
@@ -35,114 +41,114 @@ XMLPUBFUN int
35
41
  XML_DEPRECATED
36
42
  XMLPUBFUN void
37
43
  xmlSchemaCleanupTypes (void);
38
- XMLPUBFUN xmlSchemaTypePtr
44
+ XMLPUBFUN xmlSchemaType *
39
45
  xmlSchemaGetPredefinedType (const xmlChar *name,
40
46
  const xmlChar *ns);
41
47
  XMLPUBFUN int
42
- xmlSchemaValidatePredefinedType (xmlSchemaTypePtr type,
48
+ xmlSchemaValidatePredefinedType (xmlSchemaType *type,
43
49
  const xmlChar *value,
44
- xmlSchemaValPtr *val);
50
+ xmlSchemaVal **val);
45
51
  XMLPUBFUN int
46
- xmlSchemaValPredefTypeNode (xmlSchemaTypePtr type,
52
+ xmlSchemaValPredefTypeNode (xmlSchemaType *type,
47
53
  const xmlChar *value,
48
- xmlSchemaValPtr *val,
49
- xmlNodePtr node);
54
+ xmlSchemaVal **val,
55
+ xmlNode *node);
50
56
  XMLPUBFUN int
51
- xmlSchemaValidateFacet (xmlSchemaTypePtr base,
52
- xmlSchemaFacetPtr facet,
57
+ xmlSchemaValidateFacet (xmlSchemaType *base,
58
+ xmlSchemaFacet *facet,
53
59
  const xmlChar *value,
54
- xmlSchemaValPtr val);
60
+ xmlSchemaVal *val);
55
61
  XMLPUBFUN int
56
- xmlSchemaValidateFacetWhtsp (xmlSchemaFacetPtr facet,
62
+ xmlSchemaValidateFacetWhtsp (xmlSchemaFacet *facet,
57
63
  xmlSchemaWhitespaceValueType fws,
58
64
  xmlSchemaValType valType,
59
65
  const xmlChar *value,
60
- xmlSchemaValPtr val,
66
+ xmlSchemaVal *val,
61
67
  xmlSchemaWhitespaceValueType ws);
62
68
  XMLPUBFUN void
63
- xmlSchemaFreeValue (xmlSchemaValPtr val);
64
- XMLPUBFUN xmlSchemaFacetPtr
69
+ xmlSchemaFreeValue (xmlSchemaVal *val);
70
+ XMLPUBFUN xmlSchemaFacet *
65
71
  xmlSchemaNewFacet (void);
66
72
  XMLPUBFUN int
67
- xmlSchemaCheckFacet (xmlSchemaFacetPtr facet,
68
- xmlSchemaTypePtr typeDecl,
69
- xmlSchemaParserCtxtPtr ctxt,
73
+ xmlSchemaCheckFacet (xmlSchemaFacet *facet,
74
+ xmlSchemaType *typeDecl,
75
+ xmlSchemaParserCtxt *ctxt,
70
76
  const xmlChar *name);
71
77
  XMLPUBFUN void
72
- xmlSchemaFreeFacet (xmlSchemaFacetPtr facet);
78
+ xmlSchemaFreeFacet (xmlSchemaFacet *facet);
73
79
  XMLPUBFUN int
74
- xmlSchemaCompareValues (xmlSchemaValPtr x,
75
- xmlSchemaValPtr y);
76
- XMLPUBFUN xmlSchemaTypePtr
77
- xmlSchemaGetBuiltInListSimpleTypeItemType (xmlSchemaTypePtr type);
80
+ xmlSchemaCompareValues (xmlSchemaVal *x,
81
+ xmlSchemaVal *y);
82
+ XMLPUBFUN xmlSchemaType *
83
+ xmlSchemaGetBuiltInListSimpleTypeItemType (xmlSchemaType *type);
78
84
  XMLPUBFUN int
79
- xmlSchemaValidateListSimpleTypeFacet (xmlSchemaFacetPtr facet,
85
+ xmlSchemaValidateListSimpleTypeFacet (xmlSchemaFacet *facet,
80
86
  const xmlChar *value,
81
87
  unsigned long actualLen,
82
88
  unsigned long *expectedLen);
83
- XMLPUBFUN xmlSchemaTypePtr
89
+ XMLPUBFUN xmlSchemaType *
84
90
  xmlSchemaGetBuiltInType (xmlSchemaValType type);
85
91
  XMLPUBFUN int
86
- xmlSchemaIsBuiltInTypeFacet (xmlSchemaTypePtr type,
92
+ xmlSchemaIsBuiltInTypeFacet (xmlSchemaType *type,
87
93
  int facetType);
88
94
  XMLPUBFUN xmlChar *
89
95
  xmlSchemaCollapseString (const xmlChar *value);
90
96
  XMLPUBFUN xmlChar *
91
97
  xmlSchemaWhiteSpaceReplace (const xmlChar *value);
92
98
  XMLPUBFUN unsigned long
93
- xmlSchemaGetFacetValueAsULong (xmlSchemaFacetPtr facet);
99
+ xmlSchemaGetFacetValueAsULong (xmlSchemaFacet *facet);
94
100
  XMLPUBFUN int
95
- xmlSchemaValidateLengthFacet (xmlSchemaTypePtr type,
96
- xmlSchemaFacetPtr facet,
101
+ xmlSchemaValidateLengthFacet (xmlSchemaType *type,
102
+ xmlSchemaFacet *facet,
97
103
  const xmlChar *value,
98
- xmlSchemaValPtr val,
104
+ xmlSchemaVal *val,
99
105
  unsigned long *length);
100
106
  XMLPUBFUN int
101
- xmlSchemaValidateLengthFacetWhtsp(xmlSchemaFacetPtr facet,
107
+ xmlSchemaValidateLengthFacetWhtsp(xmlSchemaFacet *facet,
102
108
  xmlSchemaValType valType,
103
109
  const xmlChar *value,
104
- xmlSchemaValPtr val,
110
+ xmlSchemaVal *val,
105
111
  unsigned long *length,
106
112
  xmlSchemaWhitespaceValueType ws);
107
113
  XMLPUBFUN int
108
- xmlSchemaValPredefTypeNodeNoNorm(xmlSchemaTypePtr type,
114
+ xmlSchemaValPredefTypeNodeNoNorm(xmlSchemaType *type,
109
115
  const xmlChar *value,
110
- xmlSchemaValPtr *val,
111
- xmlNodePtr node);
116
+ xmlSchemaVal **val,
117
+ xmlNode *node);
112
118
  XMLPUBFUN int
113
- xmlSchemaGetCanonValue (xmlSchemaValPtr val,
119
+ xmlSchemaGetCanonValue (xmlSchemaVal *val,
114
120
  const xmlChar **retValue);
115
121
  XMLPUBFUN int
116
- xmlSchemaGetCanonValueWhtsp (xmlSchemaValPtr val,
122
+ xmlSchemaGetCanonValueWhtsp (xmlSchemaVal *val,
117
123
  const xmlChar **retValue,
118
124
  xmlSchemaWhitespaceValueType ws);
119
125
  XMLPUBFUN int
120
- xmlSchemaValueAppend (xmlSchemaValPtr prev,
121
- xmlSchemaValPtr cur);
122
- XMLPUBFUN xmlSchemaValPtr
123
- xmlSchemaValueGetNext (xmlSchemaValPtr cur);
126
+ xmlSchemaValueAppend (xmlSchemaVal *prev,
127
+ xmlSchemaVal *cur);
128
+ XMLPUBFUN xmlSchemaVal *
129
+ xmlSchemaValueGetNext (xmlSchemaVal *cur);
124
130
  XMLPUBFUN const xmlChar *
125
- xmlSchemaValueGetAsString (xmlSchemaValPtr val);
131
+ xmlSchemaValueGetAsString (xmlSchemaVal *val);
126
132
  XMLPUBFUN int
127
- xmlSchemaValueGetAsBoolean (xmlSchemaValPtr val);
128
- XMLPUBFUN xmlSchemaValPtr
133
+ xmlSchemaValueGetAsBoolean (xmlSchemaVal *val);
134
+ XMLPUBFUN xmlSchemaVal *
129
135
  xmlSchemaNewStringValue (xmlSchemaValType type,
130
136
  const xmlChar *value);
131
- XMLPUBFUN xmlSchemaValPtr
137
+ XMLPUBFUN xmlSchemaVal *
132
138
  xmlSchemaNewNOTATIONValue (const xmlChar *name,
133
139
  const xmlChar *ns);
134
- XMLPUBFUN xmlSchemaValPtr
140
+ XMLPUBFUN xmlSchemaVal *
135
141
  xmlSchemaNewQNameValue (const xmlChar *namespaceName,
136
142
  const xmlChar *localName);
137
143
  XMLPUBFUN int
138
- xmlSchemaCompareValuesWhtsp (xmlSchemaValPtr x,
144
+ xmlSchemaCompareValuesWhtsp (xmlSchemaVal *x,
139
145
  xmlSchemaWhitespaceValueType xws,
140
- xmlSchemaValPtr y,
146
+ xmlSchemaVal *y,
141
147
  xmlSchemaWhitespaceValueType yws);
142
- XMLPUBFUN xmlSchemaValPtr
143
- xmlSchemaCopyValue (xmlSchemaValPtr val);
148
+ XMLPUBFUN xmlSchemaVal *
149
+ xmlSchemaCopyValue (xmlSchemaVal *val);
144
150
  XMLPUBFUN xmlSchemaValType
145
- xmlSchemaGetValType (xmlSchemaValPtr val);
151
+ xmlSchemaGetValType (xmlSchemaVal *val);
146
152
 
147
153
  #ifdef __cplusplus
148
154
  }
@@ -1,11 +1,14 @@
1
- /*
2
- * Summary: set of routines to process strings
3
- * Description: type and interfaces needed for the internal string handling
1
+ /**
2
+ * @file
3
+ *
4
+ * @brief set of routines to process strings
5
+ *
6
+ * type and interfaces needed for the internal string handling
4
7
  * of the library, especially UTF8 processing.
5
8
  *
6
- * Copy: See Copyright for the status of this software.
9
+ * @copyright See Copyright for the status of this software.
7
10
  *
8
- * Author: Daniel Veillard
11
+ * @author Daniel Veillard
9
12
  */
10
13
 
11
14
  #ifndef __XML_STRING_H__
@@ -19,8 +22,6 @@ extern "C" {
19
22
  #endif
20
23
 
21
24
  /**
22
- * xmlChar:
23
- *
24
25
  * This is a basic byte in an UTF-8 encoded string.
25
26
  * It's unsigned allowing to pinpoint case where char * are assigned
26
27
  * to xmlChar * (possibly making serialization back impossible).
@@ -28,8 +29,6 @@ extern "C" {
28
29
  typedef unsigned char xmlChar;
29
30
 
30
31
  /**
31
- * BAD_CAST:
32
- *
33
32
  * Macro to cast a string to an xmlChar * when one know its safe.
34
33
  */
35
34
  #define BAD_CAST (xmlChar *)
@@ -1,6 +1,9 @@
1
- /*
2
- * Summary: Unicode character APIs
3
- * Description: API for the Unicode character APIs
1
+ /**
2
+ * @file
3
+ *
4
+ * @brief Unicode character APIs
5
+ *
6
+ * API for the Unicode character APIs
4
7
  *
5
8
  * Deprecated, don't use.
6
9
  */