@revizly/sharp-libvips-dev 1.0.21 → 1.0.23

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 (130) hide show
  1. package/include/aom/aom_decoder.h +1 -1
  2. package/include/aom/aom_encoder.h +2 -0
  3. package/include/aom/aomcx.h +106 -25
  4. package/include/expat.h +37 -24
  5. package/include/expat_config.h +9 -9
  6. package/include/expat_external.h +62 -61
  7. package/include/freetype2/freetype/config/ftconfig.h +1 -1
  8. package/include/freetype2/freetype/config/ftheader.h +1 -1
  9. package/include/freetype2/freetype/config/ftoption.h +37 -12
  10. package/include/freetype2/freetype/config/ftstdlib.h +1 -1
  11. package/include/freetype2/freetype/config/integer-types.h +29 -2
  12. package/include/freetype2/freetype/config/mac-support.h +1 -1
  13. package/include/freetype2/freetype/config/public-macros.h +3 -3
  14. package/include/freetype2/freetype/freetype.h +51 -47
  15. package/include/freetype2/freetype/ftadvanc.h +1 -1
  16. package/include/freetype2/freetype/ftbbox.h +1 -1
  17. package/include/freetype2/freetype/ftbdf.h +1 -1
  18. package/include/freetype2/freetype/ftbitmap.h +1 -1
  19. package/include/freetype2/freetype/ftbzip2.h +1 -1
  20. package/include/freetype2/freetype/ftcache.h +1 -1
  21. package/include/freetype2/freetype/ftcid.h +1 -1
  22. package/include/freetype2/freetype/ftcolor.h +13 -4
  23. package/include/freetype2/freetype/ftdriver.h +3 -3
  24. package/include/freetype2/freetype/fterrdef.h +1 -1
  25. package/include/freetype2/freetype/fterrors.h +1 -1
  26. package/include/freetype2/freetype/ftfntfmt.h +1 -1
  27. package/include/freetype2/freetype/ftgasp.h +1 -1
  28. package/include/freetype2/freetype/ftglyph.h +1 -1
  29. package/include/freetype2/freetype/ftgxval.h +1 -1
  30. package/include/freetype2/freetype/ftgzip.h +1 -1
  31. package/include/freetype2/freetype/ftimage.h +6 -2
  32. package/include/freetype2/freetype/ftincrem.h +1 -1
  33. package/include/freetype2/freetype/ftlcdfil.h +1 -1
  34. package/include/freetype2/freetype/ftlist.h +1 -1
  35. package/include/freetype2/freetype/ftlogging.h +184 -0
  36. package/include/freetype2/freetype/ftlzw.h +1 -1
  37. package/include/freetype2/freetype/ftmac.h +1 -1
  38. package/include/freetype2/freetype/ftmm.h +159 -103
  39. package/include/freetype2/freetype/ftmodapi.h +1 -1
  40. package/include/freetype2/freetype/ftmoderr.h +1 -1
  41. package/include/freetype2/freetype/ftotval.h +1 -1
  42. package/include/freetype2/freetype/ftoutln.h +1 -1
  43. package/include/freetype2/freetype/ftparams.h +1 -1
  44. package/include/freetype2/freetype/ftpfr.h +1 -1
  45. package/include/freetype2/freetype/ftrender.h +1 -1
  46. package/include/freetype2/freetype/ftsizes.h +1 -1
  47. package/include/freetype2/freetype/ftsnames.h +1 -1
  48. package/include/freetype2/freetype/ftstroke.h +1 -1
  49. package/include/freetype2/freetype/ftsynth.h +1 -1
  50. package/include/freetype2/freetype/ftsystem.h +1 -1
  51. package/include/freetype2/freetype/fttrigon.h +1 -1
  52. package/include/freetype2/freetype/fttypes.h +1 -1
  53. package/include/freetype2/freetype/ftwinfnt.h +2 -3
  54. package/include/freetype2/freetype/otsvg.h +1 -1
  55. package/include/freetype2/freetype/t1tables.h +1 -1
  56. package/include/freetype2/freetype/ttnameid.h +129 -129
  57. package/include/freetype2/freetype/tttables.h +8 -5
  58. package/include/freetype2/freetype/tttags.h +1 -1
  59. package/include/freetype2/ft2build.h +1 -1
  60. package/include/glib-2.0/gio/gdbuserror.h +9 -8
  61. package/include/glib-2.0/gio/ginetaddress.h +12 -0
  62. package/include/glib-2.0/gio/gioenums.h +9 -2
  63. package/include/glib-2.0/glib/gstring.h +2 -2
  64. package/include/glib-2.0/glib/gunicode.h +1 -1
  65. package/include/glib-2.0/gobject/glib-types.h +1 -1
  66. package/include/glib-2.0/gobject/gparam.h +1 -1
  67. package/include/glib-2.0/gobject/gvalue.h +78 -35
  68. package/include/harfbuzz/hb-script-list.h +12 -0
  69. package/include/harfbuzz/hb-subset.h +5 -0
  70. package/include/harfbuzz/hb-version.h +3 -3
  71. package/include/hwy/ops/set_macros-inl.h +5 -0
  72. package/include/librsvg-2.0/librsvg/rsvg-version.h +2 -2
  73. package/include/libxml2/libxml/HTMLparser.h +159 -101
  74. package/include/libxml2/libxml/HTMLtree.h +49 -74
  75. package/include/libxml2/libxml/SAX.h +8 -5
  76. package/include/libxml2/libxml/SAX2.h +18 -15
  77. package/include/libxml2/libxml/c14n.h +30 -29
  78. package/include/libxml2/libxml/catalog.h +47 -22
  79. package/include/libxml2/libxml/chvalid.h +52 -64
  80. package/include/libxml2/libxml/debugXML.h +18 -15
  81. package/include/libxml2/libxml/dict.h +22 -19
  82. package/include/libxml2/libxml/encoding.h +144 -111
  83. package/include/libxml2/libxml/entities.h +95 -75
  84. package/include/libxml2/libxml/globals.h +7 -4
  85. package/include/libxml2/libxml/hash.h +61 -64
  86. package/include/libxml2/libxml/list.h +59 -51
  87. package/include/libxml2/libxml/nanoftp.h +7 -4
  88. package/include/libxml2/libxml/nanohttp.h +10 -7
  89. package/include/libxml2/libxml/parser.h +1091 -563
  90. package/include/libxml2/libxml/parserInternals.h +167 -214
  91. package/include/libxml2/libxml/pattern.h +29 -31
  92. package/include/libxml2/libxml/relaxng.h +59 -58
  93. package/include/libxml2/libxml/schemasInternals.h +114 -268
  94. package/include/libxml2/libxml/schematron.h +59 -51
  95. package/include/libxml2/libxml/threads.h +19 -20
  96. package/include/libxml2/libxml/tree.h +873 -623
  97. package/include/libxml2/libxml/uri.h +21 -22
  98. package/include/libxml2/libxml/valid.h +170 -202
  99. package/include/libxml2/libxml/xinclude.h +24 -43
  100. package/include/libxml2/libxml/xlink.h +55 -51
  101. package/include/libxml2/libxml/xmlIO.h +133 -151
  102. package/include/libxml2/libxml/xmlautomata.h +66 -65
  103. package/include/libxml2/libxml/xmlerror.h +198 -95
  104. package/include/libxml2/libxml/xmlexports.h +17 -19
  105. package/include/libxml2/libxml/xmlmemory.h +44 -29
  106. package/include/libxml2/libxml/xmlmodule.h +14 -15
  107. package/include/libxml2/libxml/xmlreader.h +137 -131
  108. package/include/libxml2/libxml/xmlregexp.h +28 -31
  109. package/include/libxml2/libxml/xmlsave.h +81 -36
  110. package/include/libxml2/libxml/xmlschemas.h +61 -67
  111. package/include/libxml2/libxml/xmlschemastypes.h +60 -54
  112. package/include/libxml2/libxml/xmlstring.h +8 -9
  113. package/include/libxml2/libxml/xmlunicode.h +6 -3
  114. package/include/libxml2/libxml/xmlversion.h +44 -121
  115. package/include/libxml2/libxml/xmlwriter.h +97 -97
  116. package/include/libxml2/libxml/xpath.h +235 -232
  117. package/include/libxml2/libxml/xpathInternals.h +247 -277
  118. package/include/libxml2/libxml/xpointer.h +21 -17
  119. package/include/pango-1.0/pango/pango-enum-types.h +3 -0
  120. package/include/pango-1.0/pango/pango-features.h +3 -3
  121. package/include/pango-1.0/pango/pango-font.h +30 -0
  122. package/include/pango-1.0/pango/pango-version-macros.h +26 -0
  123. package/include/tiff.h +1 -0
  124. package/include/tiffconf.h +1 -1
  125. package/include/tiffio.h +23 -5
  126. package/include/tiffvers.h +4 -4
  127. package/include/vips/connection.h +4 -4
  128. package/include/vips/version.h +4 -4
  129. package/package.json +1 -1
  130. package/versions.json +11 -11
@@ -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,228 +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
- XML_DEPRECATED
143
- XMLPUBFUN xmlNotationPtr
144
- xmlAddNotationDecl (xmlValidCtxtPtr ctxt,
145
- xmlDtdPtr dtd,
110
+ XMLPUBFUN xmlNotation *
111
+ xmlAddNotationDecl (xmlValidCtxt *ctxt,
112
+ xmlDtd *dtd,
146
113
  const xmlChar *name,
147
- const xmlChar *PublicID,
148
- const xmlChar *SystemID);
114
+ const xmlChar *publicId,
115
+ const xmlChar *systemId);
149
116
  XML_DEPRECATED
150
- XMLPUBFUN xmlNotationTablePtr
151
- xmlCopyNotationTable (xmlNotationTablePtr table);
117
+ XMLPUBFUN xmlNotationTable *
118
+ xmlCopyNotationTable (xmlNotationTable *table);
152
119
  XML_DEPRECATED
153
120
  XMLPUBFUN void
154
- xmlFreeNotationTable (xmlNotationTablePtr table);
121
+ xmlFreeNotationTable (xmlNotationTable *table);
155
122
  #ifdef LIBXML_OUTPUT_ENABLED
156
123
  XML_DEPRECATED
157
124
  XMLPUBFUN void
158
- xmlDumpNotationDecl (xmlBufferPtr buf,
159
- xmlNotationPtr nota);
125
+ xmlDumpNotationDecl (xmlBuffer *buf,
126
+ xmlNotation *nota);
160
127
  /* XML_DEPRECATED, still used in lxml */
161
128
  XMLPUBFUN void
162
- xmlDumpNotationTable (xmlBufferPtr buf,
163
- xmlNotationTablePtr table);
129
+ xmlDumpNotationTable (xmlBuffer *buf,
130
+ xmlNotationTable *table);
164
131
  #endif /* LIBXML_OUTPUT_ENABLED */
165
132
 
166
133
  /* Element Content */
167
- /* the non Doc version are being deprecated */
168
134
  XML_DEPRECATED
169
- XMLPUBFUN xmlElementContentPtr
135
+ XMLPUBFUN xmlElementContent *
170
136
  xmlNewElementContent (const xmlChar *name,
171
137
  xmlElementContentType type);
172
138
  XML_DEPRECATED
173
- XMLPUBFUN xmlElementContentPtr
174
- xmlCopyElementContent (xmlElementContentPtr content);
139
+ XMLPUBFUN xmlElementContent *
140
+ xmlCopyElementContent (xmlElementContent *content);
175
141
  XML_DEPRECATED
176
142
  XMLPUBFUN void
177
- xmlFreeElementContent (xmlElementContentPtr cur);
178
- /* the new versions with doc argument */
143
+ xmlFreeElementContent (xmlElementContent *cur);
179
144
  XML_DEPRECATED
180
- XMLPUBFUN xmlElementContentPtr
181
- xmlNewDocElementContent (xmlDocPtr doc,
145
+ XMLPUBFUN xmlElementContent *
146
+ xmlNewDocElementContent (xmlDoc *doc,
182
147
  const xmlChar *name,
183
148
  xmlElementContentType type);
184
149
  XML_DEPRECATED
185
- XMLPUBFUN xmlElementContentPtr
186
- xmlCopyDocElementContent(xmlDocPtr doc,
187
- xmlElementContentPtr content);
150
+ XMLPUBFUN xmlElementContent *
151
+ xmlCopyDocElementContent(xmlDoc *doc,
152
+ xmlElementContent *content);
188
153
  XML_DEPRECATED
189
154
  XMLPUBFUN void
190
- xmlFreeDocElementContent(xmlDocPtr doc,
191
- xmlElementContentPtr cur);
155
+ xmlFreeDocElementContent(xmlDoc *doc,
156
+ xmlElementContent *cur);
192
157
  XML_DEPRECATED
193
158
  XMLPUBFUN void
194
159
  xmlSnprintfElementContent(char *buf,
195
160
  int size,
196
- xmlElementContentPtr content,
161
+ xmlElementContent *content,
197
162
  int englob);
198
163
  #ifdef LIBXML_OUTPUT_ENABLED
199
164
  XML_DEPRECATED
200
165
  XMLPUBFUN void
201
166
  xmlSprintfElementContent(char *buf,
202
- xmlElementContentPtr content,
167
+ xmlElementContent *content,
203
168
  int englob);
204
169
  #endif /* LIBXML_OUTPUT_ENABLED */
205
170
 
206
171
  /* Element */
207
- XML_DEPRECATED
208
- XMLPUBFUN xmlElementPtr
209
- xmlAddElementDecl (xmlValidCtxtPtr ctxt,
210
- xmlDtdPtr dtd,
172
+ XMLPUBFUN xmlElement *
173
+ xmlAddElementDecl (xmlValidCtxt *ctxt,
174
+ xmlDtd *dtd,
211
175
  const xmlChar *name,
212
176
  xmlElementTypeVal type,
213
- xmlElementContentPtr content);
177
+ xmlElementContent *content);
214
178
  XML_DEPRECATED
215
- XMLPUBFUN xmlElementTablePtr
216
- xmlCopyElementTable (xmlElementTablePtr table);
179
+ XMLPUBFUN xmlElementTable *
180
+ xmlCopyElementTable (xmlElementTable *table);
217
181
  XML_DEPRECATED
218
182
  XMLPUBFUN void
219
- xmlFreeElementTable (xmlElementTablePtr table);
183
+ xmlFreeElementTable (xmlElementTable *table);
220
184
  #ifdef LIBXML_OUTPUT_ENABLED
221
185
  XML_DEPRECATED
222
186
  XMLPUBFUN void
223
- xmlDumpElementTable (xmlBufferPtr buf,
224
- xmlElementTablePtr table);
187
+ xmlDumpElementTable (xmlBuffer *buf,
188
+ xmlElementTable *table);
225
189
  XML_DEPRECATED
226
190
  XMLPUBFUN void
227
- xmlDumpElementDecl (xmlBufferPtr buf,
228
- xmlElementPtr elem);
191
+ xmlDumpElementDecl (xmlBuffer *buf,
192
+ xmlElement *elem);
229
193
  #endif /* LIBXML_OUTPUT_ENABLED */
230
194
 
231
195
  /* Enumeration */
232
196
  XML_DEPRECATED
233
- XMLPUBFUN xmlEnumerationPtr
197
+ XMLPUBFUN xmlEnumeration *
234
198
  xmlCreateEnumeration (const xmlChar *name);
235
199
  /* XML_DEPRECATED, needed for custom attributeDecl SAX handler */
236
200
  XMLPUBFUN void
237
- xmlFreeEnumeration (xmlEnumerationPtr cur);
201
+ xmlFreeEnumeration (xmlEnumeration *cur);
238
202
  XML_DEPRECATED
239
- XMLPUBFUN xmlEnumerationPtr
240
- xmlCopyEnumeration (xmlEnumerationPtr cur);
203
+ XMLPUBFUN xmlEnumeration *
204
+ xmlCopyEnumeration (xmlEnumeration *cur);
241
205
 
242
206
  /* Attribute */
243
- XML_DEPRECATED
244
- XMLPUBFUN xmlAttributePtr
245
- xmlAddAttributeDecl (xmlValidCtxtPtr ctxt,
246
- xmlDtdPtr dtd,
207
+ XMLPUBFUN xmlAttribute *
208
+ xmlAddAttributeDecl (xmlValidCtxt *ctxt,
209
+ xmlDtd *dtd,
247
210
  const xmlChar *elem,
248
211
  const xmlChar *name,
249
212
  const xmlChar *ns,
250
213
  xmlAttributeType type,
251
214
  xmlAttributeDefault def,
252
215
  const xmlChar *defaultValue,
253
- xmlEnumerationPtr tree);
216
+ xmlEnumeration *tree);
254
217
  XML_DEPRECATED
255
- XMLPUBFUN xmlAttributeTablePtr
256
- xmlCopyAttributeTable (xmlAttributeTablePtr table);
218
+ XMLPUBFUN xmlAttributeTable *
219
+ xmlCopyAttributeTable (xmlAttributeTable *table);
257
220
  XML_DEPRECATED
258
221
  XMLPUBFUN void
259
- xmlFreeAttributeTable (xmlAttributeTablePtr table);
222
+ xmlFreeAttributeTable (xmlAttributeTable *table);
260
223
  #ifdef LIBXML_OUTPUT_ENABLED
261
224
  XML_DEPRECATED
262
225
  XMLPUBFUN void
263
- xmlDumpAttributeTable (xmlBufferPtr buf,
264
- xmlAttributeTablePtr table);
226
+ xmlDumpAttributeTable (xmlBuffer *buf,
227
+ xmlAttributeTable *table);
265
228
  XML_DEPRECATED
266
229
  XMLPUBFUN void
267
- xmlDumpAttributeDecl (xmlBufferPtr buf,
268
- xmlAttributePtr attr);
230
+ xmlDumpAttributeDecl (xmlBuffer *buf,
231
+ xmlAttribute *attr);
269
232
  #endif /* LIBXML_OUTPUT_ENABLED */
270
233
 
271
234
  /* IDs */
272
235
  XMLPUBFUN int
273
- xmlAddIDSafe (xmlAttrPtr attr,
236
+ xmlAddIDSafe (xmlAttr *attr,
274
237
  const xmlChar *value);
275
- XMLPUBFUN xmlIDPtr
276
- xmlAddID (xmlValidCtxtPtr ctxt,
277
- xmlDocPtr doc,
238
+ XMLPUBFUN xmlID *
239
+ xmlAddID (xmlValidCtxt *ctxt,
240
+ xmlDoc *doc,
278
241
  const xmlChar *value,
279
- xmlAttrPtr attr);
242
+ xmlAttr *attr);
280
243
  XMLPUBFUN void
281
- xmlFreeIDTable (xmlIDTablePtr table);
282
- XMLPUBFUN xmlAttrPtr
283
- xmlGetID (xmlDocPtr doc,
244
+ xmlFreeIDTable (xmlIDTable *table);
245
+ XMLPUBFUN xmlAttr *
246
+ xmlGetID (xmlDoc *doc,
284
247
  const xmlChar *ID);
285
248
  XMLPUBFUN int
286
- xmlIsID (xmlDocPtr doc,
287
- xmlNodePtr elem,
288
- xmlAttrPtr attr);
249
+ xmlIsID (xmlDoc *doc,
250
+ xmlNode *elem,
251
+ xmlAttr *attr);
289
252
  XMLPUBFUN int
290
- xmlRemoveID (xmlDocPtr doc,
291
- xmlAttrPtr attr);
253
+ xmlRemoveID (xmlDoc *doc,
254
+ xmlAttr *attr);
292
255
 
293
256
  /* IDREFs */
294
257
  XML_DEPRECATED
295
- XMLPUBFUN xmlRefPtr
296
- xmlAddRef (xmlValidCtxtPtr ctxt,
297
- xmlDocPtr doc,
258
+ XMLPUBFUN xmlRef *
259
+ xmlAddRef (xmlValidCtxt *ctxt,
260
+ xmlDoc *doc,
298
261
  const xmlChar *value,
299
- xmlAttrPtr attr);
262
+ xmlAttr *attr);
300
263
  XML_DEPRECATED
301
264
  XMLPUBFUN void
302
- xmlFreeRefTable (xmlRefTablePtr table);
265
+ xmlFreeRefTable (xmlRefTable *table);
303
266
  XML_DEPRECATED
304
267
  XMLPUBFUN int
305
- xmlIsRef (xmlDocPtr doc,
306
- xmlNodePtr elem,
307
- xmlAttrPtr attr);
268
+ xmlIsRef (xmlDoc *doc,
269
+ xmlNode *elem,
270
+ xmlAttr *attr);
308
271
  XML_DEPRECATED
309
272
  XMLPUBFUN int
310
- xmlRemoveRef (xmlDocPtr doc,
311
- xmlAttrPtr attr);
273
+ xmlRemoveRef (xmlDoc *doc,
274
+ xmlAttr *attr);
312
275
  XML_DEPRECATED
313
- XMLPUBFUN xmlListPtr
314
- xmlGetRefs (xmlDocPtr doc,
276
+ XMLPUBFUN xmlList *
277
+ xmlGetRefs (xmlDoc *doc,
315
278
  const xmlChar *ID);
316
279
 
317
280
  /**
@@ -319,124 +282,127 @@ XMLPUBFUN xmlListPtr
319
282
  */
320
283
  #ifdef LIBXML_VALID_ENABLED
321
284
  /* Allocate/Release Validation Contexts */
322
- XMLPUBFUN xmlValidCtxtPtr
285
+ XMLPUBFUN xmlValidCtxt *
323
286
  xmlNewValidCtxt(void);
324
287
  XMLPUBFUN void
325
- xmlFreeValidCtxt(xmlValidCtxtPtr);
288
+ xmlFreeValidCtxt(xmlValidCtxt *);
326
289
 
327
290
  XML_DEPRECATED
328
291
  XMLPUBFUN int
329
- xmlValidateRoot (xmlValidCtxtPtr ctxt,
330
- xmlDocPtr doc);
292
+ xmlValidateRoot (xmlValidCtxt *ctxt,
293
+ xmlDoc *doc);
331
294
  XML_DEPRECATED
332
295
  XMLPUBFUN int
333
- xmlValidateElementDecl (xmlValidCtxtPtr ctxt,
334
- xmlDocPtr doc,
335
- xmlElementPtr elem);
296
+ xmlValidateElementDecl (xmlValidCtxt *ctxt,
297
+ xmlDoc *doc,
298
+ xmlElement *elem);
336
299
  XML_DEPRECATED
337
300
  XMLPUBFUN xmlChar *
338
- xmlValidNormalizeAttributeValue(xmlDocPtr doc,
339
- xmlNodePtr elem,
301
+ xmlValidNormalizeAttributeValue(xmlDoc *doc,
302
+ xmlNode *elem,
340
303
  const xmlChar *name,
341
304
  const xmlChar *value);
342
305
  XML_DEPRECATED
343
306
  XMLPUBFUN xmlChar *
344
- xmlValidCtxtNormalizeAttributeValue(xmlValidCtxtPtr ctxt,
345
- xmlDocPtr doc,
346
- xmlNodePtr elem,
307
+ xmlValidCtxtNormalizeAttributeValue(xmlValidCtxt *ctxt,
308
+ xmlDoc *doc,
309
+ xmlNode *elem,
347
310
  const xmlChar *name,
348
311
  const xmlChar *value);
349
312
  XML_DEPRECATED
350
313
  XMLPUBFUN int
351
- xmlValidateAttributeDecl(xmlValidCtxtPtr ctxt,
352
- xmlDocPtr doc,
353
- xmlAttributePtr attr);
314
+ xmlValidateAttributeDecl(xmlValidCtxt *ctxt,
315
+ xmlDoc *doc,
316
+ xmlAttribute *attr);
354
317
  XML_DEPRECATED
355
318
  XMLPUBFUN int
356
319
  xmlValidateAttributeValue(xmlAttributeType type,
357
320
  const xmlChar *value);
358
321
  XML_DEPRECATED
359
322
  XMLPUBFUN int
360
- xmlValidateNotationDecl (xmlValidCtxtPtr ctxt,
361
- xmlDocPtr doc,
362
- xmlNotationPtr nota);
323
+ xmlValidateNotationDecl (xmlValidCtxt *ctxt,
324
+ xmlDoc *doc,
325
+ xmlNotation *nota);
363
326
  XMLPUBFUN int
364
- xmlValidateDtd (xmlValidCtxtPtr ctxt,
365
- xmlDocPtr doc,
366
- xmlDtdPtr dtd);
327
+ xmlValidateDtd (xmlValidCtxt *ctxt,
328
+ xmlDoc *doc,
329
+ xmlDtd *dtd);
367
330
  XML_DEPRECATED
368
331
  XMLPUBFUN int
369
- xmlValidateDtdFinal (xmlValidCtxtPtr ctxt,
370
- xmlDocPtr doc);
332
+ xmlValidateDtdFinal (xmlValidCtxt *ctxt,
333
+ xmlDoc *doc);
371
334
  XMLPUBFUN int
372
- xmlValidateDocument (xmlValidCtxtPtr ctxt,
373
- xmlDocPtr doc);
335
+ xmlValidateDocument (xmlValidCtxt *ctxt,
336
+ xmlDoc *doc);
374
337
  XMLPUBFUN int
375
- xmlValidateElement (xmlValidCtxtPtr ctxt,
376
- xmlDocPtr doc,
377
- xmlNodePtr elem);
338
+ xmlValidateElement (xmlValidCtxt *ctxt,
339
+ xmlDoc *doc,
340
+ xmlNode *elem);
378
341
  XML_DEPRECATED
379
342
  XMLPUBFUN int
380
- xmlValidateOneElement (xmlValidCtxtPtr ctxt,
381
- xmlDocPtr doc,
382
- xmlNodePtr elem);
343
+ xmlValidateOneElement (xmlValidCtxt *ctxt,
344
+ xmlDoc *doc,
345
+ xmlNode *elem);
383
346
  XML_DEPRECATED
384
347
  XMLPUBFUN int
385
- xmlValidateOneAttribute (xmlValidCtxtPtr ctxt,
386
- xmlDocPtr doc,
387
- xmlNodePtr elem,
388
- xmlAttrPtr attr,
348
+ xmlValidateOneAttribute (xmlValidCtxt *ctxt,
349
+ xmlDoc *doc,
350
+ xmlNode *elem,
351
+ xmlAttr *attr,
389
352
  const xmlChar *value);
390
353
  XML_DEPRECATED
391
354
  XMLPUBFUN int
392
- xmlValidateOneNamespace (xmlValidCtxtPtr ctxt,
393
- xmlDocPtr doc,
394
- xmlNodePtr elem,
355
+ xmlValidateOneNamespace (xmlValidCtxt *ctxt,
356
+ xmlDoc *doc,
357
+ xmlNode *elem,
395
358
  const xmlChar *prefix,
396
- xmlNsPtr ns,
359
+ xmlNs *ns,
397
360
  const xmlChar *value);
398
361
  XML_DEPRECATED
399
362
  XMLPUBFUN int
400
- xmlValidateDocumentFinal(xmlValidCtxtPtr ctxt,
401
- xmlDocPtr doc);
363
+ xmlValidateDocumentFinal(xmlValidCtxt *ctxt,
364
+ xmlDoc *doc);
402
365
  XML_DEPRECATED
403
366
  XMLPUBFUN int
404
- xmlValidateNotationUse (xmlValidCtxtPtr ctxt,
405
- xmlDocPtr doc,
367
+ xmlValidateNotationUse (xmlValidCtxt *ctxt,
368
+ xmlDoc *doc,
406
369
  const xmlChar *notationName);
407
370
  #endif /* LIBXML_VALID_ENABLED */
408
371
 
372
+ XML_DEPRECATED
409
373
  XMLPUBFUN int
410
- xmlIsMixedElement (xmlDocPtr doc,
374
+ xmlIsMixedElement (xmlDoc *doc,
411
375
  const xmlChar *name);
412
- XMLPUBFUN xmlAttributePtr
413
- xmlGetDtdAttrDesc (xmlDtdPtr dtd,
376
+ XMLPUBFUN xmlAttribute *
377
+ xmlGetDtdAttrDesc (xmlDtd *dtd,
414
378
  const xmlChar *elem,
415
379
  const xmlChar *name);
416
- XMLPUBFUN xmlAttributePtr
417
- xmlGetDtdQAttrDesc (xmlDtdPtr dtd,
380
+ XMLPUBFUN xmlAttribute *
381
+ xmlGetDtdQAttrDesc (xmlDtd *dtd,
418
382
  const xmlChar *elem,
419
383
  const xmlChar *name,
420
384
  const xmlChar *prefix);
421
- XMLPUBFUN xmlNotationPtr
422
- xmlGetDtdNotationDesc (xmlDtdPtr dtd,
385
+ XMLPUBFUN xmlNotation *
386
+ xmlGetDtdNotationDesc (xmlDtd *dtd,
423
387
  const xmlChar *name);
424
- XMLPUBFUN xmlElementPtr
425
- xmlGetDtdQElementDesc (xmlDtdPtr dtd,
388
+ XMLPUBFUN xmlElement *
389
+ xmlGetDtdQElementDesc (xmlDtd *dtd,
426
390
  const xmlChar *name,
427
391
  const xmlChar *prefix);
428
- XMLPUBFUN xmlElementPtr
429
- xmlGetDtdElementDesc (xmlDtdPtr dtd,
392
+ XMLPUBFUN xmlElement *
393
+ xmlGetDtdElementDesc (xmlDtd *dtd,
430
394
  const xmlChar *name);
431
395
 
432
396
  #ifdef LIBXML_VALID_ENABLED
433
397
 
398
+ XML_DEPRECATED
434
399
  XMLPUBFUN int
435
400
  xmlValidGetPotentialChildren(xmlElementContent *ctree,
436
401
  const xmlChar **names,
437
402
  int *len,
438
403
  int max);
439
404
 
405
+ /* only needed for `xmllint --insert` */
440
406
  XMLPUBFUN int
441
407
  xmlValidGetValidElements(xmlNode *prev,
442
408
  xmlNode *next,
@@ -457,28 +423,30 @@ XMLPUBFUN int
457
423
  */
458
424
  XML_DEPRECATED
459
425
  XMLPUBFUN int
460
- xmlValidBuildContentModel(xmlValidCtxtPtr ctxt,
461
- xmlElementPtr elem);
426
+ xmlValidBuildContentModel(xmlValidCtxt *ctxt,
427
+ xmlElement *elem);
462
428
 
463
429
  XML_DEPRECATED
464
430
  XMLPUBFUN int
465
- xmlValidatePushElement (xmlValidCtxtPtr ctxt,
466
- xmlDocPtr doc,
467
- xmlNodePtr elem,
431
+ xmlValidatePushElement (xmlValidCtxt *ctxt,
432
+ xmlDoc *doc,
433
+ xmlNode *elem,
468
434
  const xmlChar *qname);
469
435
  XML_DEPRECATED
470
436
  XMLPUBFUN int
471
- xmlValidatePushCData (xmlValidCtxtPtr ctxt,
437
+ xmlValidatePushCData (xmlValidCtxt *ctxt,
472
438
  const xmlChar *data,
473
439
  int len);
474
440
  XML_DEPRECATED
475
441
  XMLPUBFUN int
476
- xmlValidatePopElement (xmlValidCtxtPtr ctxt,
477
- xmlDocPtr doc,
478
- xmlNodePtr elem,
442
+ xmlValidatePopElement (xmlValidCtxt *ctxt,
443
+ xmlDoc *doc,
444
+ xmlNode *elem,
479
445
  const xmlChar *qname);
480
446
  #endif /* LIBXML_REGEXP_ENABLED */
447
+
481
448
  #endif /* LIBXML_VALID_ENABLED */
449
+
482
450
  #ifdef __cplusplus
483
451
  }
484
452
  #endif