@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,17 +1,20 @@
1
- /*
2
- * Summary: The DTD validation
3
- * Description: API for the DTD handling and the validity checking
1
+ /**
2
+ * @file
3
+ *
4
+ * @brief DTD validator
5
+ *
6
+ * API to handle XML Document Type Definitions and validate
7
+ * documents.
4
8
  *
5
- * Copy: See Copyright for the status of this software.
9
+ * @copyright See Copyright for the status of this software.
6
10
  *
7
- * Author: Daniel Veillard
11
+ * @author Daniel Veillard
8
12
  */
9
13
 
10
14
 
11
15
  #ifndef __XML_VALID_H__
12
16
  #define __XML_VALID_H__
13
17
 
14
- /** DOC_DISABLE */
15
18
  #include <libxml/xmlversion.h>
16
19
  #include <libxml/xmlerror.h>
17
20
  #define XML_TREE_INTERNALS
@@ -20,67 +23,57 @@
20
23
  #include <libxml/list.h>
21
24
  #include <libxml/xmlautomata.h>
22
25
  #include <libxml/xmlregexp.h>
23
- /** DOC_ENABLE */
24
26
 
25
27
  #ifdef __cplusplus
26
28
  extern "C" {
27
29
  #endif
28
30
 
29
31
  /*
30
- * Validation state added for non-determinist content model.
32
+ * Validation state added for non-deterministic content model.
31
33
  */
32
34
  typedef struct _xmlValidState xmlValidState;
33
35
  typedef xmlValidState *xmlValidStatePtr;
34
36
 
35
37
  /**
36
- * xmlValidityErrorFunc:
37
- * @ctx: usually an xmlValidCtxtPtr to a validity error context,
38
- * but comes from ctxt->userData (which normally contains such
39
- * a pointer); ctxt->userData can be changed by the user.
40
- * @msg: the string to format *printf like vararg
41
- * @...: remaining arguments to the format
38
+ * Report a validity error.
42
39
  *
43
- * Callback called when a validity error is found. This is a message
44
- * oriented function similar to an *printf function.
40
+ * @param ctx user data (usually an xmlValidCtxt)
41
+ * @param msg printf-like format string
42
+ * @param ... arguments to format
45
43
  */
46
44
  typedef void (*xmlValidityErrorFunc) (void *ctx,
47
45
  const char *msg,
48
46
  ...) LIBXML_ATTR_FORMAT(2,3);
49
47
 
50
48
  /**
51
- * xmlValidityWarningFunc:
52
- * @ctx: usually an xmlValidCtxtPtr to a validity error context,
53
- * but comes from ctxt->userData (which normally contains such
54
- * a pointer); ctxt->userData can be changed by the user.
55
- * @msg: the string to format *printf like vararg
56
- * @...: remaining arguments to the format
49
+ * Report a validity warning.
57
50
  *
58
- * Callback called when a validity warning is found. This is a message
59
- * oriented function similar to an *printf function.
51
+ * @param ctx user data (usually an xmlValidCtxt)
52
+ * @param msg printf-like format string
53
+ * @param ... arguments to format
60
54
  */
61
55
  typedef void (*xmlValidityWarningFunc) (void *ctx,
62
56
  const char *msg,
63
57
  ...) LIBXML_ATTR_FORMAT(2,3);
64
58
 
65
- /*
66
- * xmlValidCtxt:
67
- * An xmlValidCtxt is used for error reporting when validating.
68
- */
69
59
  typedef struct _xmlValidCtxt xmlValidCtxt;
70
60
  typedef xmlValidCtxt *xmlValidCtxtPtr;
61
+ /**
62
+ * An xmlValidCtxt is used for error reporting when validating.
63
+ */
71
64
  struct _xmlValidCtxt {
72
65
  void *userData; /* user specific data block */
73
66
  xmlValidityErrorFunc error; /* the callback in case of errors */
74
67
  xmlValidityWarningFunc warning; /* the callback in case of warning */
75
68
 
76
69
  /* Node analysis stack used when validating within entities */
77
- xmlNodePtr node; /* Current parsed Node */
70
+ xmlNode *node; /* Current parsed Node */
78
71
  int nodeNr; /* Depth of the parsing stack */
79
72
  int nodeMax; /* Max depth of the parsing stack */
80
- xmlNodePtr *nodeTab; /* array of nodes */
73
+ xmlNode **nodeTab; /* array of nodes */
81
74
 
82
75
  unsigned int flags; /* internal flags */
83
- xmlDocPtr doc; /* the document */
76
+ xmlDoc *doc; /* the document */
84
77
  int valid; /* temporary validity check result */
85
78
 
86
79
  /* state state used for non-determinist content validation */
@@ -90,225 +83,198 @@ struct _xmlValidCtxt {
90
83
  xmlValidState *vstateTab; /* array of validation states */
91
84
 
92
85
  #ifdef LIBXML_REGEXP_ENABLED
93
- xmlAutomataPtr am; /* the automata */
94
- xmlAutomataStatePtr state; /* used to build the automata */
86
+ xmlAutomata *am; /* the automata */
87
+ xmlAutomataState *state; /* used to build the automata */
95
88
  #else
96
89
  void *am;
97
90
  void *state;
98
91
  #endif
99
92
  };
100
93
 
101
- /*
102
- * ALL notation declarations are stored in a table.
103
- * There is one table per DTD.
104
- */
105
-
106
94
  typedef struct _xmlHashTable xmlNotationTable;
107
95
  typedef xmlNotationTable *xmlNotationTablePtr;
108
96
 
109
- /*
110
- * ALL element declarations are stored in a table.
111
- * There is one table per DTD.
112
- */
113
-
114
97
  typedef struct _xmlHashTable xmlElementTable;
115
98
  typedef xmlElementTable *xmlElementTablePtr;
116
99
 
117
- /*
118
- * ALL attribute declarations are stored in a table.
119
- * There is one table per DTD.
120
- */
121
-
122
100
  typedef struct _xmlHashTable xmlAttributeTable;
123
101
  typedef xmlAttributeTable *xmlAttributeTablePtr;
124
102
 
125
- /*
126
- * ALL IDs attributes are stored in a table.
127
- * There is one table per document.
128
- */
129
-
130
103
  typedef struct _xmlHashTable xmlIDTable;
131
104
  typedef xmlIDTable *xmlIDTablePtr;
132
105
 
133
- /*
134
- * ALL Refs attributes are stored in a table.
135
- * There is one table per document.
136
- */
137
-
138
106
  typedef struct _xmlHashTable xmlRefTable;
139
107
  typedef xmlRefTable *xmlRefTablePtr;
140
108
 
141
109
  /* Notation */
142
- XMLPUBFUN xmlNotationPtr
143
- xmlAddNotationDecl (xmlValidCtxtPtr ctxt,
144
- xmlDtdPtr dtd,
110
+ XMLPUBFUN xmlNotation *
111
+ xmlAddNotationDecl (xmlValidCtxt *ctxt,
112
+ xmlDtd *dtd,
145
113
  const xmlChar *name,
146
- const xmlChar *PublicID,
147
- const xmlChar *SystemID);
114
+ const xmlChar *publicId,
115
+ const xmlChar *systemId);
148
116
  XML_DEPRECATED
149
- XMLPUBFUN xmlNotationTablePtr
150
- xmlCopyNotationTable (xmlNotationTablePtr table);
117
+ XMLPUBFUN xmlNotationTable *
118
+ xmlCopyNotationTable (xmlNotationTable *table);
151
119
  XML_DEPRECATED
152
120
  XMLPUBFUN void
153
- xmlFreeNotationTable (xmlNotationTablePtr table);
121
+ xmlFreeNotationTable (xmlNotationTable *table);
154
122
  #ifdef LIBXML_OUTPUT_ENABLED
155
123
  XML_DEPRECATED
156
124
  XMLPUBFUN void
157
- xmlDumpNotationDecl (xmlBufferPtr buf,
158
- xmlNotationPtr nota);
125
+ xmlDumpNotationDecl (xmlBuffer *buf,
126
+ xmlNotation *nota);
159
127
  /* XML_DEPRECATED, still used in lxml */
160
128
  XMLPUBFUN void
161
- xmlDumpNotationTable (xmlBufferPtr buf,
162
- xmlNotationTablePtr table);
129
+ xmlDumpNotationTable (xmlBuffer *buf,
130
+ xmlNotationTable *table);
163
131
  #endif /* LIBXML_OUTPUT_ENABLED */
164
132
 
165
133
  /* Element Content */
166
- /* the non Doc version are being deprecated */
167
134
  XML_DEPRECATED
168
- XMLPUBFUN xmlElementContentPtr
135
+ XMLPUBFUN xmlElementContent *
169
136
  xmlNewElementContent (const xmlChar *name,
170
137
  xmlElementContentType type);
171
138
  XML_DEPRECATED
172
- XMLPUBFUN xmlElementContentPtr
173
- xmlCopyElementContent (xmlElementContentPtr content);
139
+ XMLPUBFUN xmlElementContent *
140
+ xmlCopyElementContent (xmlElementContent *content);
174
141
  XML_DEPRECATED
175
142
  XMLPUBFUN void
176
- xmlFreeElementContent (xmlElementContentPtr cur);
177
- /* the new versions with doc argument */
143
+ xmlFreeElementContent (xmlElementContent *cur);
178
144
  XML_DEPRECATED
179
- XMLPUBFUN xmlElementContentPtr
180
- xmlNewDocElementContent (xmlDocPtr doc,
145
+ XMLPUBFUN xmlElementContent *
146
+ xmlNewDocElementContent (xmlDoc *doc,
181
147
  const xmlChar *name,
182
148
  xmlElementContentType type);
183
149
  XML_DEPRECATED
184
- XMLPUBFUN xmlElementContentPtr
185
- xmlCopyDocElementContent(xmlDocPtr doc,
186
- xmlElementContentPtr content);
150
+ XMLPUBFUN xmlElementContent *
151
+ xmlCopyDocElementContent(xmlDoc *doc,
152
+ xmlElementContent *content);
187
153
  XML_DEPRECATED
188
154
  XMLPUBFUN void
189
- xmlFreeDocElementContent(xmlDocPtr doc,
190
- xmlElementContentPtr cur);
155
+ xmlFreeDocElementContent(xmlDoc *doc,
156
+ xmlElementContent *cur);
191
157
  XML_DEPRECATED
192
158
  XMLPUBFUN void
193
159
  xmlSnprintfElementContent(char *buf,
194
160
  int size,
195
- xmlElementContentPtr content,
161
+ xmlElementContent *content,
196
162
  int englob);
197
163
  #ifdef LIBXML_OUTPUT_ENABLED
198
164
  XML_DEPRECATED
199
165
  XMLPUBFUN void
200
166
  xmlSprintfElementContent(char *buf,
201
- xmlElementContentPtr content,
167
+ xmlElementContent *content,
202
168
  int englob);
203
169
  #endif /* LIBXML_OUTPUT_ENABLED */
204
170
 
205
171
  /* Element */
206
- XMLPUBFUN xmlElementPtr
207
- xmlAddElementDecl (xmlValidCtxtPtr ctxt,
208
- xmlDtdPtr dtd,
172
+ XMLPUBFUN xmlElement *
173
+ xmlAddElementDecl (xmlValidCtxt *ctxt,
174
+ xmlDtd *dtd,
209
175
  const xmlChar *name,
210
176
  xmlElementTypeVal type,
211
- xmlElementContentPtr content);
177
+ xmlElementContent *content);
212
178
  XML_DEPRECATED
213
- XMLPUBFUN xmlElementTablePtr
214
- xmlCopyElementTable (xmlElementTablePtr table);
179
+ XMLPUBFUN xmlElementTable *
180
+ xmlCopyElementTable (xmlElementTable *table);
215
181
  XML_DEPRECATED
216
182
  XMLPUBFUN void
217
- xmlFreeElementTable (xmlElementTablePtr table);
183
+ xmlFreeElementTable (xmlElementTable *table);
218
184
  #ifdef LIBXML_OUTPUT_ENABLED
219
185
  XML_DEPRECATED
220
186
  XMLPUBFUN void
221
- xmlDumpElementTable (xmlBufferPtr buf,
222
- xmlElementTablePtr table);
187
+ xmlDumpElementTable (xmlBuffer *buf,
188
+ xmlElementTable *table);
223
189
  XML_DEPRECATED
224
190
  XMLPUBFUN void
225
- xmlDumpElementDecl (xmlBufferPtr buf,
226
- xmlElementPtr elem);
191
+ xmlDumpElementDecl (xmlBuffer *buf,
192
+ xmlElement *elem);
227
193
  #endif /* LIBXML_OUTPUT_ENABLED */
228
194
 
229
195
  /* Enumeration */
230
196
  XML_DEPRECATED
231
- XMLPUBFUN xmlEnumerationPtr
197
+ XMLPUBFUN xmlEnumeration *
232
198
  xmlCreateEnumeration (const xmlChar *name);
233
199
  /* XML_DEPRECATED, needed for custom attributeDecl SAX handler */
234
200
  XMLPUBFUN void
235
- xmlFreeEnumeration (xmlEnumerationPtr cur);
201
+ xmlFreeEnumeration (xmlEnumeration *cur);
236
202
  XML_DEPRECATED
237
- XMLPUBFUN xmlEnumerationPtr
238
- xmlCopyEnumeration (xmlEnumerationPtr cur);
203
+ XMLPUBFUN xmlEnumeration *
204
+ xmlCopyEnumeration (xmlEnumeration *cur);
239
205
 
240
206
  /* Attribute */
241
- XMLPUBFUN xmlAttributePtr
242
- xmlAddAttributeDecl (xmlValidCtxtPtr ctxt,
243
- xmlDtdPtr dtd,
207
+ XMLPUBFUN xmlAttribute *
208
+ xmlAddAttributeDecl (xmlValidCtxt *ctxt,
209
+ xmlDtd *dtd,
244
210
  const xmlChar *elem,
245
211
  const xmlChar *name,
246
212
  const xmlChar *ns,
247
213
  xmlAttributeType type,
248
214
  xmlAttributeDefault def,
249
215
  const xmlChar *defaultValue,
250
- xmlEnumerationPtr tree);
216
+ xmlEnumeration *tree);
251
217
  XML_DEPRECATED
252
- XMLPUBFUN xmlAttributeTablePtr
253
- xmlCopyAttributeTable (xmlAttributeTablePtr table);
218
+ XMLPUBFUN xmlAttributeTable *
219
+ xmlCopyAttributeTable (xmlAttributeTable *table);
254
220
  XML_DEPRECATED
255
221
  XMLPUBFUN void
256
- xmlFreeAttributeTable (xmlAttributeTablePtr table);
222
+ xmlFreeAttributeTable (xmlAttributeTable *table);
257
223
  #ifdef LIBXML_OUTPUT_ENABLED
258
224
  XML_DEPRECATED
259
225
  XMLPUBFUN void
260
- xmlDumpAttributeTable (xmlBufferPtr buf,
261
- xmlAttributeTablePtr table);
226
+ xmlDumpAttributeTable (xmlBuffer *buf,
227
+ xmlAttributeTable *table);
262
228
  XML_DEPRECATED
263
229
  XMLPUBFUN void
264
- xmlDumpAttributeDecl (xmlBufferPtr buf,
265
- xmlAttributePtr attr);
230
+ xmlDumpAttributeDecl (xmlBuffer *buf,
231
+ xmlAttribute *attr);
266
232
  #endif /* LIBXML_OUTPUT_ENABLED */
267
233
 
268
234
  /* IDs */
269
235
  XMLPUBFUN int
270
- xmlAddIDSafe (xmlAttrPtr attr,
236
+ xmlAddIDSafe (xmlAttr *attr,
271
237
  const xmlChar *value);
272
- XMLPUBFUN xmlIDPtr
273
- xmlAddID (xmlValidCtxtPtr ctxt,
274
- xmlDocPtr doc,
238
+ XMLPUBFUN xmlID *
239
+ xmlAddID (xmlValidCtxt *ctxt,
240
+ xmlDoc *doc,
275
241
  const xmlChar *value,
276
- xmlAttrPtr attr);
242
+ xmlAttr *attr);
277
243
  XMLPUBFUN void
278
- xmlFreeIDTable (xmlIDTablePtr table);
279
- XMLPUBFUN xmlAttrPtr
280
- xmlGetID (xmlDocPtr doc,
244
+ xmlFreeIDTable (xmlIDTable *table);
245
+ XMLPUBFUN xmlAttr *
246
+ xmlGetID (xmlDoc *doc,
281
247
  const xmlChar *ID);
282
248
  XMLPUBFUN int
283
- xmlIsID (xmlDocPtr doc,
284
- xmlNodePtr elem,
285
- xmlAttrPtr attr);
249
+ xmlIsID (xmlDoc *doc,
250
+ xmlNode *elem,
251
+ xmlAttr *attr);
286
252
  XMLPUBFUN int
287
- xmlRemoveID (xmlDocPtr doc,
288
- xmlAttrPtr attr);
253
+ xmlRemoveID (xmlDoc *doc,
254
+ xmlAttr *attr);
289
255
 
290
256
  /* IDREFs */
291
257
  XML_DEPRECATED
292
- XMLPUBFUN xmlRefPtr
293
- xmlAddRef (xmlValidCtxtPtr ctxt,
294
- xmlDocPtr doc,
258
+ XMLPUBFUN xmlRef *
259
+ xmlAddRef (xmlValidCtxt *ctxt,
260
+ xmlDoc *doc,
295
261
  const xmlChar *value,
296
- xmlAttrPtr attr);
262
+ xmlAttr *attr);
297
263
  XML_DEPRECATED
298
264
  XMLPUBFUN void
299
- xmlFreeRefTable (xmlRefTablePtr table);
265
+ xmlFreeRefTable (xmlRefTable *table);
300
266
  XML_DEPRECATED
301
267
  XMLPUBFUN int
302
- xmlIsRef (xmlDocPtr doc,
303
- xmlNodePtr elem,
304
- xmlAttrPtr attr);
268
+ xmlIsRef (xmlDoc *doc,
269
+ xmlNode *elem,
270
+ xmlAttr *attr);
305
271
  XML_DEPRECATED
306
272
  XMLPUBFUN int
307
- xmlRemoveRef (xmlDocPtr doc,
308
- xmlAttrPtr attr);
273
+ xmlRemoveRef (xmlDoc *doc,
274
+ xmlAttr *attr);
309
275
  XML_DEPRECATED
310
- XMLPUBFUN xmlListPtr
311
- xmlGetRefs (xmlDocPtr doc,
276
+ XMLPUBFUN xmlList *
277
+ xmlGetRefs (xmlDoc *doc,
312
278
  const xmlChar *ID);
313
279
 
314
280
  /**
@@ -316,124 +282,127 @@ XMLPUBFUN xmlListPtr
316
282
  */
317
283
  #ifdef LIBXML_VALID_ENABLED
318
284
  /* Allocate/Release Validation Contexts */
319
- XMLPUBFUN xmlValidCtxtPtr
285
+ XMLPUBFUN xmlValidCtxt *
320
286
  xmlNewValidCtxt(void);
321
287
  XMLPUBFUN void
322
- xmlFreeValidCtxt(xmlValidCtxtPtr);
288
+ xmlFreeValidCtxt(xmlValidCtxt *);
323
289
 
324
290
  XML_DEPRECATED
325
291
  XMLPUBFUN int
326
- xmlValidateRoot (xmlValidCtxtPtr ctxt,
327
- xmlDocPtr doc);
292
+ xmlValidateRoot (xmlValidCtxt *ctxt,
293
+ xmlDoc *doc);
328
294
  XML_DEPRECATED
329
295
  XMLPUBFUN int
330
- xmlValidateElementDecl (xmlValidCtxtPtr ctxt,
331
- xmlDocPtr doc,
332
- xmlElementPtr elem);
296
+ xmlValidateElementDecl (xmlValidCtxt *ctxt,
297
+ xmlDoc *doc,
298
+ xmlElement *elem);
333
299
  XML_DEPRECATED
334
300
  XMLPUBFUN xmlChar *
335
- xmlValidNormalizeAttributeValue(xmlDocPtr doc,
336
- xmlNodePtr elem,
301
+ xmlValidNormalizeAttributeValue(xmlDoc *doc,
302
+ xmlNode *elem,
337
303
  const xmlChar *name,
338
304
  const xmlChar *value);
339
305
  XML_DEPRECATED
340
306
  XMLPUBFUN xmlChar *
341
- xmlValidCtxtNormalizeAttributeValue(xmlValidCtxtPtr ctxt,
342
- xmlDocPtr doc,
343
- xmlNodePtr elem,
307
+ xmlValidCtxtNormalizeAttributeValue(xmlValidCtxt *ctxt,
308
+ xmlDoc *doc,
309
+ xmlNode *elem,
344
310
  const xmlChar *name,
345
311
  const xmlChar *value);
346
312
  XML_DEPRECATED
347
313
  XMLPUBFUN int
348
- xmlValidateAttributeDecl(xmlValidCtxtPtr ctxt,
349
- xmlDocPtr doc,
350
- xmlAttributePtr attr);
314
+ xmlValidateAttributeDecl(xmlValidCtxt *ctxt,
315
+ xmlDoc *doc,
316
+ xmlAttribute *attr);
351
317
  XML_DEPRECATED
352
318
  XMLPUBFUN int
353
319
  xmlValidateAttributeValue(xmlAttributeType type,
354
320
  const xmlChar *value);
355
321
  XML_DEPRECATED
356
322
  XMLPUBFUN int
357
- xmlValidateNotationDecl (xmlValidCtxtPtr ctxt,
358
- xmlDocPtr doc,
359
- xmlNotationPtr nota);
323
+ xmlValidateNotationDecl (xmlValidCtxt *ctxt,
324
+ xmlDoc *doc,
325
+ xmlNotation *nota);
360
326
  XMLPUBFUN int
361
- xmlValidateDtd (xmlValidCtxtPtr ctxt,
362
- xmlDocPtr doc,
363
- xmlDtdPtr dtd);
327
+ xmlValidateDtd (xmlValidCtxt *ctxt,
328
+ xmlDoc *doc,
329
+ xmlDtd *dtd);
364
330
  XML_DEPRECATED
365
331
  XMLPUBFUN int
366
- xmlValidateDtdFinal (xmlValidCtxtPtr ctxt,
367
- xmlDocPtr doc);
332
+ xmlValidateDtdFinal (xmlValidCtxt *ctxt,
333
+ xmlDoc *doc);
368
334
  XMLPUBFUN int
369
- xmlValidateDocument (xmlValidCtxtPtr ctxt,
370
- xmlDocPtr doc);
335
+ xmlValidateDocument (xmlValidCtxt *ctxt,
336
+ xmlDoc *doc);
371
337
  XMLPUBFUN int
372
- xmlValidateElement (xmlValidCtxtPtr ctxt,
373
- xmlDocPtr doc,
374
- xmlNodePtr elem);
338
+ xmlValidateElement (xmlValidCtxt *ctxt,
339
+ xmlDoc *doc,
340
+ xmlNode *elem);
375
341
  XML_DEPRECATED
376
342
  XMLPUBFUN int
377
- xmlValidateOneElement (xmlValidCtxtPtr ctxt,
378
- xmlDocPtr doc,
379
- xmlNodePtr elem);
343
+ xmlValidateOneElement (xmlValidCtxt *ctxt,
344
+ xmlDoc *doc,
345
+ xmlNode *elem);
380
346
  XML_DEPRECATED
381
347
  XMLPUBFUN int
382
- xmlValidateOneAttribute (xmlValidCtxtPtr ctxt,
383
- xmlDocPtr doc,
384
- xmlNodePtr elem,
385
- xmlAttrPtr attr,
348
+ xmlValidateOneAttribute (xmlValidCtxt *ctxt,
349
+ xmlDoc *doc,
350
+ xmlNode *elem,
351
+ xmlAttr *attr,
386
352
  const xmlChar *value);
387
353
  XML_DEPRECATED
388
354
  XMLPUBFUN int
389
- xmlValidateOneNamespace (xmlValidCtxtPtr ctxt,
390
- xmlDocPtr doc,
391
- xmlNodePtr elem,
355
+ xmlValidateOneNamespace (xmlValidCtxt *ctxt,
356
+ xmlDoc *doc,
357
+ xmlNode *elem,
392
358
  const xmlChar *prefix,
393
- xmlNsPtr ns,
359
+ xmlNs *ns,
394
360
  const xmlChar *value);
395
361
  XML_DEPRECATED
396
362
  XMLPUBFUN int
397
- xmlValidateDocumentFinal(xmlValidCtxtPtr ctxt,
398
- xmlDocPtr doc);
363
+ xmlValidateDocumentFinal(xmlValidCtxt *ctxt,
364
+ xmlDoc *doc);
399
365
  XML_DEPRECATED
400
366
  XMLPUBFUN int
401
- xmlValidateNotationUse (xmlValidCtxtPtr ctxt,
402
- xmlDocPtr doc,
367
+ xmlValidateNotationUse (xmlValidCtxt *ctxt,
368
+ xmlDoc *doc,
403
369
  const xmlChar *notationName);
404
370
  #endif /* LIBXML_VALID_ENABLED */
405
371
 
372
+ XML_DEPRECATED
406
373
  XMLPUBFUN int
407
- xmlIsMixedElement (xmlDocPtr doc,
374
+ xmlIsMixedElement (xmlDoc *doc,
408
375
  const xmlChar *name);
409
- XMLPUBFUN xmlAttributePtr
410
- xmlGetDtdAttrDesc (xmlDtdPtr dtd,
376
+ XMLPUBFUN xmlAttribute *
377
+ xmlGetDtdAttrDesc (xmlDtd *dtd,
411
378
  const xmlChar *elem,
412
379
  const xmlChar *name);
413
- XMLPUBFUN xmlAttributePtr
414
- xmlGetDtdQAttrDesc (xmlDtdPtr dtd,
380
+ XMLPUBFUN xmlAttribute *
381
+ xmlGetDtdQAttrDesc (xmlDtd *dtd,
415
382
  const xmlChar *elem,
416
383
  const xmlChar *name,
417
384
  const xmlChar *prefix);
418
- XMLPUBFUN xmlNotationPtr
419
- xmlGetDtdNotationDesc (xmlDtdPtr dtd,
385
+ XMLPUBFUN xmlNotation *
386
+ xmlGetDtdNotationDesc (xmlDtd *dtd,
420
387
  const xmlChar *name);
421
- XMLPUBFUN xmlElementPtr
422
- xmlGetDtdQElementDesc (xmlDtdPtr dtd,
388
+ XMLPUBFUN xmlElement *
389
+ xmlGetDtdQElementDesc (xmlDtd *dtd,
423
390
  const xmlChar *name,
424
391
  const xmlChar *prefix);
425
- XMLPUBFUN xmlElementPtr
426
- xmlGetDtdElementDesc (xmlDtdPtr dtd,
392
+ XMLPUBFUN xmlElement *
393
+ xmlGetDtdElementDesc (xmlDtd *dtd,
427
394
  const xmlChar *name);
428
395
 
429
396
  #ifdef LIBXML_VALID_ENABLED
430
397
 
398
+ XML_DEPRECATED
431
399
  XMLPUBFUN int
432
400
  xmlValidGetPotentialChildren(xmlElementContent *ctree,
433
401
  const xmlChar **names,
434
402
  int *len,
435
403
  int max);
436
404
 
405
+ /* only needed for `xmllint --insert` */
437
406
  XMLPUBFUN int
438
407
  xmlValidGetValidElements(xmlNode *prev,
439
408
  xmlNode *next,
@@ -454,28 +423,30 @@ XMLPUBFUN int
454
423
  */
455
424
  XML_DEPRECATED
456
425
  XMLPUBFUN int
457
- xmlValidBuildContentModel(xmlValidCtxtPtr ctxt,
458
- xmlElementPtr elem);
426
+ xmlValidBuildContentModel(xmlValidCtxt *ctxt,
427
+ xmlElement *elem);
459
428
 
460
429
  XML_DEPRECATED
461
430
  XMLPUBFUN int
462
- xmlValidatePushElement (xmlValidCtxtPtr ctxt,
463
- xmlDocPtr doc,
464
- xmlNodePtr elem,
431
+ xmlValidatePushElement (xmlValidCtxt *ctxt,
432
+ xmlDoc *doc,
433
+ xmlNode *elem,
465
434
  const xmlChar *qname);
466
435
  XML_DEPRECATED
467
436
  XMLPUBFUN int
468
- xmlValidatePushCData (xmlValidCtxtPtr ctxt,
437
+ xmlValidatePushCData (xmlValidCtxt *ctxt,
469
438
  const xmlChar *data,
470
439
  int len);
471
440
  XML_DEPRECATED
472
441
  XMLPUBFUN int
473
- xmlValidatePopElement (xmlValidCtxtPtr ctxt,
474
- xmlDocPtr doc,
475
- xmlNodePtr elem,
442
+ xmlValidatePopElement (xmlValidCtxt *ctxt,
443
+ xmlDoc *doc,
444
+ xmlNode *elem,
476
445
  const xmlChar *qname);
477
446
  #endif /* LIBXML_REGEXP_ENABLED */
447
+
478
448
  #endif /* LIBXML_VALID_ENABLED */
449
+
479
450
  #ifdef __cplusplus
480
451
  }
481
452
  #endif