@img/sharp-libvips-dev 1.1.0-rc5 → 1.1.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.
Files changed (38) hide show
  1. package/include/glib-2.0/gio/gdbusnameowning.h +12 -10
  2. package/include/glib-2.0/gio/gsettings.h +35 -31
  3. package/include/glib-2.0/gobject/gsignal.h +33 -8
  4. package/include/libxml2/libxml/HTMLparser.h +33 -30
  5. package/include/libxml2/libxml/HTMLtree.h +1 -0
  6. package/include/libxml2/libxml/SAX.h +2 -186
  7. package/include/libxml2/libxml/SAX2.h +2 -3
  8. package/include/libxml2/libxml/catalog.h +1 -0
  9. package/include/libxml2/libxml/debugXML.h +0 -138
  10. package/include/libxml2/libxml/encoding.h +124 -61
  11. package/include/libxml2/libxml/entities.h +0 -19
  12. package/include/libxml2/libxml/globals.h +0 -16
  13. package/include/libxml2/libxml/nanoftp.h +3 -173
  14. package/include/libxml2/libxml/parser.h +472 -231
  15. package/include/libxml2/libxml/parserInternals.h +21 -101
  16. package/include/libxml2/libxml/relaxng.h +7 -2
  17. package/include/libxml2/libxml/threads.h +0 -6
  18. package/include/libxml2/libxml/tree.h +29 -85
  19. package/include/libxml2/libxml/valid.h +20 -12
  20. package/include/libxml2/libxml/xinclude.h +5 -0
  21. package/include/libxml2/libxml/xlink.h +4 -0
  22. package/include/libxml2/libxml/xmlIO.h +13 -32
  23. package/include/libxml2/libxml/xmlautomata.h +19 -2
  24. package/include/libxml2/libxml/xmlerror.h +17 -18
  25. package/include/libxml2/libxml/xmlexports.h +6 -56
  26. package/include/libxml2/libxml/xmlmemory.h +19 -19
  27. package/include/libxml2/libxml/xmlmodule.h +4 -0
  28. package/include/libxml2/libxml/xmlreader.h +11 -3
  29. package/include/libxml2/libxml/xmlregexp.h +7 -106
  30. package/include/libxml2/libxml/xmlsave.h +11 -2
  31. package/include/libxml2/libxml/xmlschemas.h +10 -5
  32. package/include/libxml2/libxml/xmlunicode.h +3 -354
  33. package/include/libxml2/libxml/xmlversion.h +18 -33
  34. package/include/libxml2/libxml/xpath.h +5 -15
  35. package/include/libxml2/libxml/xpathInternals.h +9 -3
  36. package/include/libxml2/libxml/xpointer.h +1 -91
  37. package/package.json +1 -1
  38. package/versions.json +2 -2
@@ -33,9 +33,9 @@ G_BEGIN_DECLS
33
33
 
34
34
  /**
35
35
  * GBusAcquiredCallback:
36
- * @connection: The #GDBusConnection to a message bus.
37
- * @name: The name that is requested to be owned.
38
- * @user_data: User data passed to g_bus_own_name().
36
+ * @connection: the connection to a message bus
37
+ * @name: the name that is requested to be owned
38
+ * @user_data: user data passed to [func@Gio.bus_own_name]
39
39
  *
40
40
  * Invoked when a connection to a message bus has been obtained.
41
41
  *
@@ -47,9 +47,10 @@ typedef void (*GBusAcquiredCallback) (GDBusConnection *connection,
47
47
 
48
48
  /**
49
49
  * GBusNameAcquiredCallback:
50
- * @connection: The #GDBusConnection on which to acquired the name.
51
- * @name: The name being owned.
52
- * @user_data: User data passed to g_bus_own_name() or g_bus_own_name_on_connection().
50
+ * @connection: the connection on which to acquired the name
51
+ * @name: the name being owned
52
+ * @user_data: user data passed to [func@Gio.bus_own_name] or
53
+ * [func@Gio.bus_own_name_on_connection]
53
54
  *
54
55
  * Invoked when the name is acquired.
55
56
  *
@@ -61,10 +62,11 @@ typedef void (*GBusNameAcquiredCallback) (GDBusConnection *connection,
61
62
 
62
63
  /**
63
64
  * GBusNameLostCallback:
64
- * @connection: The #GDBusConnection on which to acquire the name or %NULL if
65
- * the connection was disconnected.
66
- * @name: The name being owned.
67
- * @user_data: User data passed to g_bus_own_name() or g_bus_own_name_on_connection().
65
+ * @connection: the connect on which to acquire the name or `NULL` if
66
+ * the connection was disconnected
67
+ * @name: the name being owned
68
+ * @user_data: user data passed to [func@Gio.bus_own_name] or
69
+ * [func@Gio.bus_own_name_on_connection]
68
70
  *
69
71
  * Invoked when the name is lost or @connection has been closed.
70
72
  *
@@ -224,15 +224,15 @@ void g_settings_sync (void);
224
224
 
225
225
  /**
226
226
  * GSettingsBindSetMapping:
227
- * @value: a #GValue containing the property value to map
228
- * @expected_type: the #GVariantType to create
227
+ * @value: the property value to map
228
+ * @expected_type: expected type of the result
229
229
  * @user_data: user data that was specified when the binding was created
230
230
  *
231
231
  * The type for the function that is used to convert an object property
232
- * value to a #GVariant for storing it in #GSettings.
232
+ * value to a [struct@GLib.Variant] for storing it in [class@Gio.Settings].
233
233
  *
234
- * Returns: a new #GVariant holding the data from @value,
235
- * or %NULL in case of an error
234
+ * Returns: (nullable): a new [struct@GLib.Variant] holding the data from @value,
235
+ * or `NULL` in case of an error
236
236
  */
237
237
  typedef GVariant * (*GSettingsBindSetMapping) (const GValue *value,
238
238
  const GVariantType *expected_type,
@@ -241,14 +241,15 @@ typedef GVariant * (*GSettingsBindSetMapping) (const G
241
241
  /**
242
242
  * GSettingsBindGetMapping:
243
243
  * @value: return location for the property value
244
- * @variant: the #GVariant
244
+ * @variant: variant to map to the property value
245
245
  * @user_data: user data that was specified when the binding was created
246
246
  *
247
- * The type for the function that is used to convert from #GSettings to
248
- * an object property. The @value is already initialized to hold values
249
- * of the appropriate type.
247
+ * The type for the function that is used to convert from [class@Gio.Settings]
248
+ * to an object property.
250
249
  *
251
- * Returns: %TRUE if the conversion succeeded, %FALSE in case of an error
250
+ * The @value is already initialized to hold values of the appropriate type.
251
+ *
252
+ * Returns: true if the conversion succeeded, false in case of an error
252
253
  */
253
254
  typedef gboolean (*GSettingsBindGetMapping) (GValue *value,
254
255
  GVariant *variant,
@@ -256,23 +257,23 @@ typedef gboolean (*GSettingsBindGetMapping) (GValue
256
257
 
257
258
  /**
258
259
  * GSettingsGetMapping:
259
- * @value: the #GVariant to map, or %NULL
260
+ * @value: (nullable): variant to map to the application value
260
261
  * @result: (out): the result of the mapping
261
262
  * @user_data: (closure): the user data that was passed to
262
- * g_settings_get_mapped()
263
+ * [method@Gio.Settings.get_mapped]
263
264
  *
264
265
  * The type of the function that is used to convert from a value stored
265
- * in a #GSettings to a value that is useful to the application.
266
+ * in a [class@Gio.Settings] to a value that is useful to the application.
266
267
  *
267
268
  * If the value is successfully mapped, the result should be stored at
268
- * @result and %TRUE returned. If mapping fails (for example, if @value
269
- * is not in the right format) then %FALSE should be returned.
269
+ * @result and true returned. If mapping fails (for example, if @value
270
+ * is not in the right format) then false should be returned.
270
271
  *
271
- * If @value is %NULL then it means that the mapping function is being
272
- * given a "last chance" to successfully return a valid value. %TRUE
272
+ * If @value is `NULL` then it means that the mapping function is being
273
+ * given a last chance to successfully return a valid value. True
273
274
  * must be returned in this case.
274
275
  *
275
- * Returns: %TRUE if the conversion succeeded, %FALSE in case of an error
276
+ * Returns: true if the conversion succeeded, false in case of an error
276
277
  **/
277
278
  typedef gboolean (*GSettingsGetMapping) (GVariant *value,
278
279
  gpointer *result,
@@ -281,20 +282,23 @@ typedef gboolean (*GSettingsGetMapping) (GVarian
281
282
  /**
282
283
  * GSettingsBindFlags:
283
284
  * @G_SETTINGS_BIND_DEFAULT: Equivalent to `G_SETTINGS_BIND_GET|G_SETTINGS_BIND_SET`
284
- * @G_SETTINGS_BIND_GET: Update the #GObject property when the setting changes.
285
- * It is an error to use this flag if the property is not writable.
286
- * @G_SETTINGS_BIND_SET: Update the setting when the #GObject property changes.
287
- * It is an error to use this flag if the property is not readable.
288
- * @G_SETTINGS_BIND_NO_SENSITIVITY: Do not try to bind a "sensitivity" property to the writability of the setting
289
- * @G_SETTINGS_BIND_GET_NO_CHANGES: When set in addition to %G_SETTINGS_BIND_GET, set the #GObject property
290
- * value initially from the setting, but do not listen for changes of the setting
291
- * @G_SETTINGS_BIND_INVERT_BOOLEAN: When passed to g_settings_bind(), uses a pair of mapping functions that invert
292
- * the boolean value when mapping between the setting and the property. The setting and property must both
293
- * be booleans. You cannot pass this flag to g_settings_bind_with_mapping().
285
+ * @G_SETTINGS_BIND_GET: Update the [class@GObject.Object] property when the setting changes.
286
+ * It is an error to use this flag if the property is not writable.
287
+ * @G_SETTINGS_BIND_SET: Update the setting when the [class@GObject.Object] property changes.
288
+ * It is an error to use this flag if the property is not readable.
289
+ * @G_SETTINGS_BIND_NO_SENSITIVITY: Do not try to bind a sensitivity property to the writability of the setting
290
+ * @G_SETTINGS_BIND_GET_NO_CHANGES: When set in addition to [flags@Gio.SettingsBindFlags.GET],
291
+ * set the [class@GObject.Object] property
292
+ * value initially from the setting, but do not listen for changes of the setting
293
+ * @G_SETTINGS_BIND_INVERT_BOOLEAN: When passed to [method@Gio.Settings.bind],
294
+ * uses a pair of mapping functions that invert
295
+ * the boolean value when mapping between the setting and the property. The setting and property must both
296
+ * be booleans. You cannot pass this flag to [method@Gio.Settings.bind_with_mapping].
297
+ *
298
+ * Flags used when creating a binding.
294
299
  *
295
- * Flags used when creating a binding. These flags determine in which
296
- * direction the binding works. The default is to synchronize in both
297
- * directions.
300
+ * These flags determine in which direction the binding works. The default is to
301
+ * synchronize in both directions.
298
302
  */
299
303
  typedef enum
300
304
  {
@@ -124,14 +124,6 @@ typedef gboolean (*GSignalAccumulator) (GSignalInvocationHint *ihint,
124
124
  * of as object methods which can be called generically by
125
125
  * third-party code.
126
126
  * @G_SIGNAL_NO_HOOKS: No emissions hooks are supported for this signal.
127
- * @G_SIGNAL_MUST_COLLECT: Varargs signal emission will always collect the
128
- * arguments, even if there are no signal handlers connected. Since 2.30.
129
- * @G_SIGNAL_DEPRECATED: The signal is deprecated and will be removed
130
- * in a future version. A warning will be generated if it is connected while
131
- * running with G_ENABLE_DIAGNOSTIC=1. Since 2.32.
132
- * @G_SIGNAL_ACCUMULATOR_FIRST_RUN: Only used in #GSignalAccumulator accumulator
133
- * functions for the #GSignalInvocationHint::run_type field to mark the first
134
- * call to the accumulator function for a signal emission. Since 2.68.
135
127
  *
136
128
  * The signal flags are used to specify a signal's behaviour.
137
129
  */
@@ -149,6 +141,39 @@ typedef enum
149
141
  /* normal signal flags until 1 << 16 */
150
142
  G_SIGNAL_ACCUMULATOR_FIRST_RUN = 1 << 17,
151
143
  } GSignalFlags;
144
+
145
+ /**
146
+ * G_SIGNAL_MUST_COLLECT:
147
+ *
148
+ * Varargs signal emission will always collect the arguments, even if there
149
+ * are no signal handlers connected.
150
+ *
151
+ * Since: 2.30
152
+ */
153
+
154
+ /**
155
+ * G_SIGNAL_DEPRECATED:
156
+ *
157
+ * The signal is deprecated and will be removed in a future version.
158
+ *
159
+ * A warning will be generated if it is connected while running with
160
+ * `G_ENABLE_DIAGNOSTIC=1`.
161
+ *
162
+ * Since: 2.32
163
+ */
164
+
165
+ /**
166
+ * G_SIGNAL_ACCUMULATOR_FIRST_RUN:
167
+ *
168
+ * The signal accumulator was invoked for the first time.
169
+ *
170
+ * This flag is only used in [callback@GObject.SignalAccumulator][accumulator functions]
171
+ * for the `run_type` field of the [struct@GObject.SignalInvocationHint], to
172
+ * mark the first call to the accumulator function for a signal emission.
173
+ *
174
+ * Since: 2.68
175
+ */
176
+
152
177
  /**
153
178
  * G_SIGNAL_FLAGS_MASK:
154
179
  *
@@ -21,6 +21,11 @@
21
21
  extern "C" {
22
22
  #endif
23
23
 
24
+ /*
25
+ * Backward compatibility
26
+ */
27
+ #define UTF8ToHtml htmlUTF8ToHtml
28
+
24
29
  /*
25
30
  * Most of the back-end structures from XML and HTML are shared.
26
31
  */
@@ -42,31 +47,22 @@ typedef struct _htmlElemDesc htmlElemDesc;
42
47
  typedef htmlElemDesc *htmlElemDescPtr;
43
48
  struct _htmlElemDesc {
44
49
  const char *name; /* The tag name */
45
- char startTag; /* Whether the start tag can be implied */
50
+ char startTag; /* unused */
46
51
  char endTag; /* Whether the end tag can be implied */
47
52
  char saveEndTag; /* Whether the end tag should be saved */
48
53
  char empty; /* Is this an empty element ? */
49
- char depr; /* Is this a deprecated element ? */
50
- char dtd; /* 1: only in Loose DTD, 2: only Frameset one */
54
+ char depr; /* unused */
55
+ char dtd; /* unused */
51
56
  char isinline; /* is this a block 0 or inline 1 element */
52
57
  const char *desc; /* the description */
53
58
 
54
- /* NRK Jan.2003
55
- * New fields encapsulating HTML structure
56
- *
57
- * Bugs:
58
- * This is a very limited representation. It fails to tell us when
59
- * an element *requires* subelements (we only have whether they're
60
- * allowed or not), and it doesn't tell us where CDATA and PCDATA
61
- * are allowed. Some element relationships are not fully represented:
62
- * these are flagged with the word MODIFIER
63
- */
64
- const char** subelts; /* allowed sub-elements of this element */
65
- const char* defaultsubelt; /* subelement for suggested auto-repair
66
- if necessary or NULL */
67
- const char** attrs_opt; /* Optional Attributes */
68
- const char** attrs_depr; /* Additional deprecated attributes */
69
- const char** attrs_req; /* Required attributes */
59
+ const char** subelts XML_DEPRECATED_MEMBER;
60
+ const char* defaultsubelt XML_DEPRECATED_MEMBER;
61
+ const char** attrs_opt XML_DEPRECATED_MEMBER;
62
+ const char** attrs_depr XML_DEPRECATED_MEMBER;
63
+ const char** attrs_req XML_DEPRECATED_MEMBER;
64
+
65
+ int dataMode;
70
66
  };
71
67
 
72
68
  /*
@@ -85,11 +81,6 @@ struct _htmlEntityDesc {
85
81
  XML_DEPRECATED
86
82
  XMLPUBVAR const xmlSAXHandlerV1 htmlDefaultSAXHandler;
87
83
 
88
- #ifdef LIBXML_THREAD_ENABLED
89
- XML_DEPRECATED
90
- XMLPUBFUN const xmlSAXHandlerV1 *__htmlDefaultSAXHandler(void);
91
- #endif
92
-
93
84
  #endif /* LIBXML_SAX1_ENABLED */
94
85
 
95
86
  /*
@@ -105,9 +96,11 @@ XMLPUBFUN const htmlEntityDesc *
105
96
  XMLPUBFUN const htmlEntityDesc *
106
97
  htmlEntityValueLookup(unsigned int value);
107
98
 
99
+ XML_DEPRECATED
108
100
  XMLPUBFUN int
109
101
  htmlIsAutoClosed(htmlDocPtr doc,
110
102
  htmlNodePtr elem);
103
+ XML_DEPRECATED
111
104
  XMLPUBFUN int
112
105
  htmlAutoCloseTag(htmlDocPtr doc,
113
106
  const xmlChar *name,
@@ -157,7 +150,7 @@ XMLPUBFUN htmlDocPtr
157
150
  htmlParseFile (const char *filename,
158
151
  const char *encoding);
159
152
  XMLPUBFUN int
160
- UTF8ToHtml (unsigned char *out,
153
+ htmlUTF8ToHtml (unsigned char *out,
161
154
  int *outlen,
162
155
  const unsigned char *in,
163
156
  int *inlen);
@@ -203,20 +196,26 @@ XMLPUBFUN void
203
196
  * to the xmlReadDoc() and similar calls.
204
197
  */
205
198
  typedef enum {
206
- HTML_PARSE_RECOVER = 1<<0, /* Relaxed parsing */
199
+ HTML_PARSE_RECOVER = 1<<0, /* No effect */
200
+ HTML_PARSE_HTML5 = 1<<1, /* HTML5 support */
207
201
  HTML_PARSE_NODEFDTD = 1<<2, /* do not default a doctype if not found */
208
202
  HTML_PARSE_NOERROR = 1<<5, /* suppress error reports */
209
203
  HTML_PARSE_NOWARNING= 1<<6, /* suppress warning reports */
210
- HTML_PARSE_PEDANTIC = 1<<7, /* pedantic error reporting */
204
+ HTML_PARSE_PEDANTIC = 1<<7, /* No effect */
211
205
  HTML_PARSE_NOBLANKS = 1<<8, /* remove blank nodes */
212
- HTML_PARSE_NONET = 1<<11,/* Forbid network access */
206
+ HTML_PARSE_NONET = 1<<11,/* No effect */
213
207
  HTML_PARSE_NOIMPLIED= 1<<13,/* Do not add implied html/body... elements */
214
208
  HTML_PARSE_COMPACT = 1<<16,/* compact small text nodes */
215
- HTML_PARSE_IGNORE_ENC=1<<21 /* ignore internal document encoding hint */
209
+ HTML_PARSE_HUGE = 1<<19,/* relax any hardcoded limit from the parser */
210
+ HTML_PARSE_IGNORE_ENC=1<<21,/* ignore internal document encoding hint */
211
+ HTML_PARSE_BIG_LINES= 1<<22 /* Store big lines numbers in text PSVI field */
216
212
  } htmlParserOption;
217
213
 
218
214
  XMLPUBFUN void
219
215
  htmlCtxtReset (htmlParserCtxtPtr ctxt);
216
+ XMLPUBFUN int
217
+ htmlCtxtSetOptions (htmlParserCtxtPtr ctxt,
218
+ int options);
220
219
  XMLPUBFUN int
221
220
  htmlCtxtUseOptions (htmlParserCtxtPtr ctxt,
222
221
  int options);
@@ -283,7 +282,7 @@ XMLPUBFUN htmlDocPtr
283
282
  const char *encoding,
284
283
  int options);
285
284
 
286
- /* NRK/Jan2003: further knowledge of HTML structure
285
+ /* deprecated content model
287
286
  */
288
287
  typedef enum {
289
288
  HTML_NA = 0 , /* something we don't check at all */
@@ -296,9 +295,13 @@ typedef enum {
296
295
  /* Using htmlElemDesc rather than name here, to emphasise the fact
297
296
  that otherwise there's a lookup overhead
298
297
  */
298
+ XML_DEPRECATED
299
299
  XMLPUBFUN htmlStatus htmlAttrAllowed(const htmlElemDesc*, const xmlChar*, int) ;
300
+ XML_DEPRECATED
300
301
  XMLPUBFUN int htmlElementAllowedHere(const htmlElemDesc*, const xmlChar*) ;
302
+ XML_DEPRECATED
301
303
  XMLPUBFUN htmlStatus htmlElementStatusHere(const htmlElemDesc*, const htmlElemDesc*) ;
304
+ XML_DEPRECATED
302
305
  XMLPUBFUN htmlStatus htmlNodeStatus(htmlNodePtr, int) ;
303
306
  /**
304
307
  * htmlDefaultSubelement:
@@ -133,6 +133,7 @@ XMLPUBFUN void
133
133
 
134
134
  #endif /* LIBXML_OUTPUT_ENABLED */
135
135
 
136
+ XML_DEPRECATED
136
137
  XMLPUBFUN int
137
138
  htmlIsBooleanAttr (const xmlChar *name);
138
139
 
@@ -8,195 +8,11 @@
8
8
  * Author: Daniel Veillard
9
9
  */
10
10
 
11
-
12
11
  #ifndef __XML_SAX_H__
13
12
  #define __XML_SAX_H__
14
13
 
15
- #include <libxml/xmlversion.h>
16
- #include <libxml/parser.h>
17
-
18
- #ifdef LIBXML_LEGACY_ENABLED
19
-
20
- #ifdef __cplusplus
21
- extern "C" {
14
+ #ifdef __GNUC__
15
+ #warning "libxml/SAX.h is deprecated"
22
16
  #endif
23
- XML_DEPRECATED
24
- XMLPUBFUN const xmlChar *
25
- getPublicId (void *ctx);
26
- XML_DEPRECATED
27
- XMLPUBFUN const xmlChar *
28
- getSystemId (void *ctx);
29
- XML_DEPRECATED
30
- XMLPUBFUN void
31
- setDocumentLocator (void *ctx,
32
- xmlSAXLocatorPtr loc);
33
-
34
- XML_DEPRECATED
35
- XMLPUBFUN int
36
- getLineNumber (void *ctx);
37
- XML_DEPRECATED
38
- XMLPUBFUN int
39
- getColumnNumber (void *ctx);
40
-
41
- XML_DEPRECATED
42
- XMLPUBFUN int
43
- isStandalone (void *ctx);
44
- XML_DEPRECATED
45
- XMLPUBFUN int
46
- hasInternalSubset (void *ctx);
47
- XML_DEPRECATED
48
- XMLPUBFUN int
49
- hasExternalSubset (void *ctx);
50
-
51
- XML_DEPRECATED
52
- XMLPUBFUN void
53
- internalSubset (void *ctx,
54
- const xmlChar *name,
55
- const xmlChar *ExternalID,
56
- const xmlChar *SystemID);
57
- XML_DEPRECATED
58
- XMLPUBFUN void
59
- externalSubset (void *ctx,
60
- const xmlChar *name,
61
- const xmlChar *ExternalID,
62
- const xmlChar *SystemID);
63
- XML_DEPRECATED
64
- XMLPUBFUN xmlEntityPtr
65
- getEntity (void *ctx,
66
- const xmlChar *name);
67
- XML_DEPRECATED
68
- XMLPUBFUN xmlEntityPtr
69
- getParameterEntity (void *ctx,
70
- const xmlChar *name);
71
- XML_DEPRECATED
72
- XMLPUBFUN xmlParserInputPtr
73
- resolveEntity (void *ctx,
74
- const xmlChar *publicId,
75
- const xmlChar *systemId);
76
-
77
- XML_DEPRECATED
78
- XMLPUBFUN void
79
- entityDecl (void *ctx,
80
- const xmlChar *name,
81
- int type,
82
- const xmlChar *publicId,
83
- const xmlChar *systemId,
84
- xmlChar *content);
85
- XML_DEPRECATED
86
- XMLPUBFUN void
87
- attributeDecl (void *ctx,
88
- const xmlChar *elem,
89
- const xmlChar *fullname,
90
- int type,
91
- int def,
92
- const xmlChar *defaultValue,
93
- xmlEnumerationPtr tree);
94
- XML_DEPRECATED
95
- XMLPUBFUN void
96
- elementDecl (void *ctx,
97
- const xmlChar *name,
98
- int type,
99
- xmlElementContentPtr content);
100
- XML_DEPRECATED
101
- XMLPUBFUN void
102
- notationDecl (void *ctx,
103
- const xmlChar *name,
104
- const xmlChar *publicId,
105
- const xmlChar *systemId);
106
- XML_DEPRECATED
107
- XMLPUBFUN void
108
- unparsedEntityDecl (void *ctx,
109
- const xmlChar *name,
110
- const xmlChar *publicId,
111
- const xmlChar *systemId,
112
- const xmlChar *notationName);
113
-
114
- XML_DEPRECATED
115
- XMLPUBFUN void
116
- startDocument (void *ctx);
117
- XML_DEPRECATED
118
- XMLPUBFUN void
119
- endDocument (void *ctx);
120
- XML_DEPRECATED
121
- XMLPUBFUN void
122
- attribute (void *ctx,
123
- const xmlChar *fullname,
124
- const xmlChar *value);
125
- XML_DEPRECATED
126
- XMLPUBFUN void
127
- startElement (void *ctx,
128
- const xmlChar *fullname,
129
- const xmlChar **atts);
130
- XML_DEPRECATED
131
- XMLPUBFUN void
132
- endElement (void *ctx,
133
- const xmlChar *name);
134
- XML_DEPRECATED
135
- XMLPUBFUN void
136
- reference (void *ctx,
137
- const xmlChar *name);
138
- XML_DEPRECATED
139
- XMLPUBFUN void
140
- characters (void *ctx,
141
- const xmlChar *ch,
142
- int len);
143
- XML_DEPRECATED
144
- XMLPUBFUN void
145
- ignorableWhitespace (void *ctx,
146
- const xmlChar *ch,
147
- int len);
148
- XML_DEPRECATED
149
- XMLPUBFUN void
150
- processingInstruction (void *ctx,
151
- const xmlChar *target,
152
- const xmlChar *data);
153
- XML_DEPRECATED
154
- XMLPUBFUN void
155
- globalNamespace (void *ctx,
156
- const xmlChar *href,
157
- const xmlChar *prefix);
158
- XML_DEPRECATED
159
- XMLPUBFUN void
160
- setNamespace (void *ctx,
161
- const xmlChar *name);
162
- XML_DEPRECATED
163
- XMLPUBFUN xmlNsPtr
164
- getNamespace (void *ctx);
165
- XML_DEPRECATED
166
- XMLPUBFUN int
167
- checkNamespace (void *ctx,
168
- xmlChar *nameSpace);
169
- XML_DEPRECATED
170
- XMLPUBFUN void
171
- namespaceDecl (void *ctx,
172
- const xmlChar *href,
173
- const xmlChar *prefix);
174
- XML_DEPRECATED
175
- XMLPUBFUN void
176
- comment (void *ctx,
177
- const xmlChar *value);
178
- XML_DEPRECATED
179
- XMLPUBFUN void
180
- cdataBlock (void *ctx,
181
- const xmlChar *value,
182
- int len);
183
-
184
- #ifdef LIBXML_SAX1_ENABLED
185
- XML_DEPRECATED
186
- XMLPUBFUN void
187
- initxmlDefaultSAXHandler (xmlSAXHandlerV1 *hdlr,
188
- int warning);
189
- #ifdef LIBXML_HTML_ENABLED
190
- XML_DEPRECATED
191
- XMLPUBFUN void
192
- inithtmlDefaultSAXHandler (xmlSAXHandlerV1 *hdlr);
193
- #endif
194
- #endif /* LIBXML_SAX1_ENABLED */
195
-
196
- #ifdef __cplusplus
197
- }
198
- #endif
199
-
200
- #endif /* LIBXML_LEGACY_ENABLED */
201
17
 
202
18
  #endif /* __XML_SAX_H__ */
@@ -95,16 +95,15 @@ XMLPUBFUN void
95
95
  xmlSAX2StartDocument (void *ctx);
96
96
  XMLPUBFUN void
97
97
  xmlSAX2EndDocument (void *ctx);
98
- #if defined(LIBXML_SAX1_ENABLED) || defined(LIBXML_HTML_ENABLED) || \
99
- defined(LIBXML_WRITER_ENABLED) || defined(LIBXML_LEGACY_ENABLED)
98
+ XML_DEPRECATED
100
99
  XMLPUBFUN void
101
100
  xmlSAX2StartElement (void *ctx,
102
101
  const xmlChar *fullname,
103
102
  const xmlChar **atts);
103
+ XML_DEPRECATED
104
104
  XMLPUBFUN void
105
105
  xmlSAX2EndElement (void *ctx,
106
106
  const xmlChar *name);
107
- #endif /* LIBXML_SAX1_ENABLED or LIBXML_HTML_ENABLED or LIBXML_LEGACY_ENABLED */
108
107
  XMLPUBFUN void
109
108
  xmlSAX2StartElementNs (void *ctx,
110
109
  const xmlChar *localname,
@@ -161,6 +161,7 @@ XMLPUBFUN xmlChar *
161
161
  */
162
162
  XMLPUBFUN int
163
163
  xmlCatalogSetDebug (int level);
164
+ XML_DEPRECATED
164
165
  XMLPUBFUN xmlCatalogPrefer
165
166
  xmlCatalogSetDefaultPrefer(xmlCatalogPrefer prefer);
166
167
  XMLPUBFUN void