@img/sharp-libvips-dev 1.2.2-rc.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.
- package/include/expat.h +37 -24
- package/include/expat_config.h +9 -9
- package/include/expat_external.h +62 -61
- package/include/libxml2/libxml/HTMLparser.h +159 -101
- package/include/libxml2/libxml/HTMLtree.h +49 -74
- package/include/libxml2/libxml/SAX.h +8 -5
- package/include/libxml2/libxml/SAX2.h +18 -15
- package/include/libxml2/libxml/c14n.h +30 -29
- package/include/libxml2/libxml/catalog.h +47 -22
- package/include/libxml2/libxml/chvalid.h +52 -64
- package/include/libxml2/libxml/debugXML.h +18 -15
- package/include/libxml2/libxml/dict.h +22 -19
- package/include/libxml2/libxml/encoding.h +144 -111
- package/include/libxml2/libxml/entities.h +95 -75
- package/include/libxml2/libxml/globals.h +7 -4
- package/include/libxml2/libxml/hash.h +61 -64
- package/include/libxml2/libxml/list.h +59 -51
- package/include/libxml2/libxml/nanoftp.h +7 -4
- package/include/libxml2/libxml/nanohttp.h +10 -7
- package/include/libxml2/libxml/parser.h +1091 -563
- package/include/libxml2/libxml/parserInternals.h +167 -214
- package/include/libxml2/libxml/pattern.h +29 -31
- package/include/libxml2/libxml/relaxng.h +59 -58
- package/include/libxml2/libxml/schemasInternals.h +114 -268
- package/include/libxml2/libxml/schematron.h +59 -51
- package/include/libxml2/libxml/threads.h +19 -20
- package/include/libxml2/libxml/tree.h +873 -623
- package/include/libxml2/libxml/uri.h +21 -22
- package/include/libxml2/libxml/valid.h +170 -199
- package/include/libxml2/libxml/xinclude.h +24 -43
- package/include/libxml2/libxml/xlink.h +55 -51
- package/include/libxml2/libxml/xmlIO.h +133 -151
- package/include/libxml2/libxml/xmlautomata.h +66 -65
- package/include/libxml2/libxml/xmlerror.h +197 -94
- package/include/libxml2/libxml/xmlexports.h +17 -19
- package/include/libxml2/libxml/xmlmemory.h +44 -29
- package/include/libxml2/libxml/xmlmodule.h +14 -15
- package/include/libxml2/libxml/xmlreader.h +137 -131
- package/include/libxml2/libxml/xmlregexp.h +28 -31
- package/include/libxml2/libxml/xmlsave.h +81 -36
- package/include/libxml2/libxml/xmlschemas.h +61 -67
- package/include/libxml2/libxml/xmlschemastypes.h +60 -54
- package/include/libxml2/libxml/xmlstring.h +8 -9
- package/include/libxml2/libxml/xmlunicode.h +6 -3
- package/include/libxml2/libxml/xmlversion.h +44 -121
- package/include/libxml2/libxml/xmlwriter.h +97 -97
- package/include/libxml2/libxml/xpath.h +235 -232
- package/include/libxml2/libxml/xpathInternals.h +247 -277
- package/include/libxml2/libxml/xpointer.h +21 -17
- package/package.json +1 -1
- package/versions.json +2 -2
|
@@ -1,143 +1,163 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
1
|
+
/**
|
|
2
|
+
* @file
|
|
3
|
+
*
|
|
4
|
+
* @brief XML entities
|
|
5
|
+
*
|
|
6
|
+
* This module provides an API to work with XML entities.
|
|
5
7
|
*
|
|
6
|
-
*
|
|
8
|
+
* @copyright See Copyright for the status of this software.
|
|
7
9
|
*
|
|
8
|
-
*
|
|
10
|
+
* @author Daniel Veillard
|
|
9
11
|
*/
|
|
10
12
|
|
|
11
13
|
#ifndef __XML_ENTITIES_H__
|
|
12
14
|
#define __XML_ENTITIES_H__
|
|
13
15
|
|
|
14
|
-
/** DOC_DISABLE */
|
|
15
16
|
#include <libxml/xmlversion.h>
|
|
16
17
|
#define XML_TREE_INTERNALS
|
|
17
18
|
#include <libxml/tree.h>
|
|
18
19
|
#undef XML_TREE_INTERNALS
|
|
19
|
-
/** DOC_ENABLE */
|
|
20
20
|
|
|
21
21
|
#ifdef __cplusplus
|
|
22
22
|
extern "C" {
|
|
23
23
|
#endif
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
* The different
|
|
25
|
+
/**
|
|
26
|
+
* The different entity types.
|
|
27
27
|
*/
|
|
28
28
|
typedef enum {
|
|
29
|
+
/** internal general entity */
|
|
29
30
|
XML_INTERNAL_GENERAL_ENTITY = 1,
|
|
31
|
+
/** external general parsed entity */
|
|
30
32
|
XML_EXTERNAL_GENERAL_PARSED_ENTITY = 2,
|
|
33
|
+
/** external general unparsed entity */
|
|
31
34
|
XML_EXTERNAL_GENERAL_UNPARSED_ENTITY = 3,
|
|
35
|
+
/** internal parameter entity */
|
|
32
36
|
XML_INTERNAL_PARAMETER_ENTITY = 4,
|
|
37
|
+
/** external parameter entity */
|
|
33
38
|
XML_EXTERNAL_PARAMETER_ENTITY = 5,
|
|
39
|
+
/** internal predefined entity */
|
|
34
40
|
XML_INTERNAL_PREDEFINED_ENTITY = 6
|
|
35
41
|
} xmlEntityType;
|
|
36
42
|
|
|
37
|
-
|
|
38
|
-
* An
|
|
39
|
-
* and the linkind data needed for the linking in the hash table.
|
|
43
|
+
/**
|
|
44
|
+
* An entity declaration
|
|
40
45
|
*/
|
|
41
|
-
|
|
42
46
|
struct _xmlEntity {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
struct _xmlNode
|
|
51
|
-
|
|
47
|
+
/** application data */
|
|
48
|
+
void *_private;
|
|
49
|
+
/** XML_ENTITY_DECL, must be second ! */
|
|
50
|
+
xmlElementType type;
|
|
51
|
+
/** Entity name */
|
|
52
|
+
const xmlChar *name;
|
|
53
|
+
/** First child link */
|
|
54
|
+
struct _xmlNode *children;
|
|
55
|
+
/** Last child link */
|
|
56
|
+
struct _xmlNode *last;
|
|
57
|
+
/** -> DTD */
|
|
58
|
+
struct _xmlDtd *parent;
|
|
59
|
+
/** next sibling link */
|
|
60
|
+
struct _xmlNode *next;
|
|
61
|
+
/** previous sibling link */
|
|
62
|
+
struct _xmlNode *prev;
|
|
63
|
+
/** the containing document */
|
|
64
|
+
struct _xmlDoc *doc;
|
|
52
65
|
|
|
53
|
-
|
|
54
|
-
xmlChar
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
66
|
+
/** content without ref substitution */
|
|
67
|
+
xmlChar *orig;
|
|
68
|
+
/** content or ndata if unparsed */
|
|
69
|
+
xmlChar *content;
|
|
70
|
+
/** the content length */
|
|
71
|
+
int length;
|
|
72
|
+
/** The entity type */
|
|
73
|
+
xmlEntityType etype;
|
|
74
|
+
/** External identifier for PUBLIC */
|
|
75
|
+
const xmlChar *ExternalID;
|
|
76
|
+
/** URI for a SYSTEM or PUBLIC Entity */
|
|
77
|
+
const xmlChar *SystemID;
|
|
59
78
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
79
|
+
/** unused */
|
|
80
|
+
struct _xmlEntity *nexte;
|
|
81
|
+
/** the full URI as computed */
|
|
82
|
+
const xmlChar *URI;
|
|
83
|
+
/** unused */
|
|
84
|
+
int owner;
|
|
85
|
+
/** various flags */
|
|
86
|
+
int flags;
|
|
87
|
+
/** expanded size */
|
|
88
|
+
unsigned long expandedSize;
|
|
65
89
|
};
|
|
66
90
|
|
|
67
|
-
/*
|
|
68
|
-
* All entities are stored in an hash table.
|
|
69
|
-
* There is 2 separate hash tables for global and parameter entities.
|
|
70
|
-
*/
|
|
71
|
-
|
|
72
91
|
typedef struct _xmlHashTable xmlEntitiesTable;
|
|
73
92
|
typedef xmlEntitiesTable *xmlEntitiesTablePtr;
|
|
74
93
|
|
|
75
|
-
|
|
76
|
-
*
|
|
77
|
-
*/
|
|
78
|
-
|
|
79
|
-
XMLPUBFUN xmlEntityPtr
|
|
80
|
-
xmlNewEntity (xmlDocPtr doc,
|
|
94
|
+
XMLPUBFUN xmlEntity *
|
|
95
|
+
xmlNewEntity (xmlDoc *doc,
|
|
81
96
|
const xmlChar *name,
|
|
82
97
|
int type,
|
|
83
|
-
const xmlChar *
|
|
84
|
-
const xmlChar *
|
|
98
|
+
const xmlChar *publicId,
|
|
99
|
+
const xmlChar *systemId,
|
|
85
100
|
const xmlChar *content);
|
|
86
101
|
XMLPUBFUN void
|
|
87
|
-
xmlFreeEntity (
|
|
102
|
+
xmlFreeEntity (xmlEntity *entity);
|
|
88
103
|
XMLPUBFUN int
|
|
89
|
-
xmlAddEntity (
|
|
104
|
+
xmlAddEntity (xmlDoc *doc,
|
|
90
105
|
int extSubset,
|
|
91
106
|
const xmlChar *name,
|
|
92
107
|
int type,
|
|
93
|
-
const xmlChar *
|
|
94
|
-
const xmlChar *
|
|
108
|
+
const xmlChar *publicId,
|
|
109
|
+
const xmlChar *systemId,
|
|
95
110
|
const xmlChar *content,
|
|
96
|
-
|
|
97
|
-
XMLPUBFUN
|
|
98
|
-
xmlAddDocEntity (
|
|
111
|
+
xmlEntity **out);
|
|
112
|
+
XMLPUBFUN xmlEntity *
|
|
113
|
+
xmlAddDocEntity (xmlDoc *doc,
|
|
99
114
|
const xmlChar *name,
|
|
100
115
|
int type,
|
|
101
|
-
const xmlChar *
|
|
102
|
-
const xmlChar *
|
|
116
|
+
const xmlChar *publicId,
|
|
117
|
+
const xmlChar *systemId,
|
|
103
118
|
const xmlChar *content);
|
|
104
|
-
XMLPUBFUN
|
|
105
|
-
xmlAddDtdEntity (
|
|
119
|
+
XMLPUBFUN xmlEntity *
|
|
120
|
+
xmlAddDtdEntity (xmlDoc *doc,
|
|
106
121
|
const xmlChar *name,
|
|
107
122
|
int type,
|
|
108
|
-
const xmlChar *
|
|
109
|
-
const xmlChar *
|
|
123
|
+
const xmlChar *publicId,
|
|
124
|
+
const xmlChar *systemId,
|
|
110
125
|
const xmlChar *content);
|
|
111
|
-
XMLPUBFUN
|
|
126
|
+
XMLPUBFUN xmlEntity *
|
|
112
127
|
xmlGetPredefinedEntity (const xmlChar *name);
|
|
113
|
-
XMLPUBFUN
|
|
128
|
+
XMLPUBFUN xmlEntity *
|
|
114
129
|
xmlGetDocEntity (const xmlDoc *doc,
|
|
115
130
|
const xmlChar *name);
|
|
116
|
-
XMLPUBFUN
|
|
117
|
-
xmlGetDtdEntity (
|
|
131
|
+
XMLPUBFUN xmlEntity *
|
|
132
|
+
xmlGetDtdEntity (xmlDoc *doc,
|
|
118
133
|
const xmlChar *name);
|
|
119
|
-
XMLPUBFUN
|
|
120
|
-
xmlGetParameterEntity (
|
|
134
|
+
XMLPUBFUN xmlEntity *
|
|
135
|
+
xmlGetParameterEntity (xmlDoc *doc,
|
|
121
136
|
const xmlChar *name);
|
|
122
137
|
XMLPUBFUN xmlChar *
|
|
123
|
-
xmlEncodeEntitiesReentrant(
|
|
138
|
+
xmlEncodeEntitiesReentrant(xmlDoc *doc,
|
|
124
139
|
const xmlChar *input);
|
|
125
140
|
XMLPUBFUN xmlChar *
|
|
126
141
|
xmlEncodeSpecialChars (const xmlDoc *doc,
|
|
127
142
|
const xmlChar *input);
|
|
128
|
-
|
|
143
|
+
XML_DEPRECATED
|
|
144
|
+
XMLPUBFUN xmlEntitiesTable *
|
|
129
145
|
xmlCreateEntitiesTable (void);
|
|
130
|
-
|
|
131
|
-
|
|
146
|
+
XML_DEPRECATED
|
|
147
|
+
XMLPUBFUN xmlEntitiesTable *
|
|
148
|
+
xmlCopyEntitiesTable (xmlEntitiesTable *table);
|
|
149
|
+
XML_DEPRECATED
|
|
132
150
|
XMLPUBFUN void
|
|
133
|
-
xmlFreeEntitiesTable (
|
|
151
|
+
xmlFreeEntitiesTable (xmlEntitiesTable *table);
|
|
134
152
|
#ifdef LIBXML_OUTPUT_ENABLED
|
|
153
|
+
XML_DEPRECATED
|
|
135
154
|
XMLPUBFUN void
|
|
136
|
-
xmlDumpEntitiesTable (
|
|
137
|
-
|
|
155
|
+
xmlDumpEntitiesTable (xmlBuffer *buf,
|
|
156
|
+
xmlEntitiesTable *table);
|
|
157
|
+
XML_DEPRECATED
|
|
138
158
|
XMLPUBFUN void
|
|
139
|
-
xmlDumpEntityDecl (
|
|
140
|
-
|
|
159
|
+
xmlDumpEntityDecl (xmlBuffer *buf,
|
|
160
|
+
xmlEntity *ent);
|
|
141
161
|
#endif /* LIBXML_OUTPUT_ENABLED */
|
|
142
162
|
|
|
143
163
|
#ifdef __cplusplus
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
1
|
+
/**
|
|
2
|
+
* @file
|
|
3
|
+
*
|
|
4
|
+
* @brief interface for all global variables of the library
|
|
5
|
+
*
|
|
6
|
+
* Deprecated, don't use
|
|
4
7
|
*
|
|
5
|
-
*
|
|
8
|
+
* @copyright See Copyright for the status of this software.
|
|
6
9
|
*/
|
|
7
10
|
|
|
8
11
|
#ifndef __XML_GLOBALS_H
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
1
|
+
/**
|
|
2
|
+
* @file
|
|
3
|
+
*
|
|
4
|
+
* @brief Chained hash tables
|
|
5
|
+
*
|
|
6
|
+
* This module implements the hash table support used in
|
|
4
7
|
* various places in the library.
|
|
5
8
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* Author: Bjorn Reese <bjorn.reese@systematic.dk>
|
|
9
|
+
* @copyright See Copyright for the status of this software.
|
|
9
10
|
*/
|
|
10
11
|
|
|
11
12
|
#ifndef __XML_HASH_H__
|
|
@@ -19,8 +20,10 @@
|
|
|
19
20
|
extern "C" {
|
|
20
21
|
#endif
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
*
|
|
23
|
+
/**
|
|
24
|
+
* Hash table mapping strings to pointers
|
|
25
|
+
*
|
|
26
|
+
* Also supports lookup using two or three strings as key.
|
|
24
27
|
*/
|
|
25
28
|
typedef struct _xmlHashTable xmlHashTable;
|
|
26
29
|
typedef xmlHashTable *xmlHashTablePtr;
|
|
@@ -33,16 +36,15 @@ typedef xmlHashTable *xmlHashTablePtr;
|
|
|
33
36
|
* serious trouble within the library.
|
|
34
37
|
*/
|
|
35
38
|
/**
|
|
36
|
-
* XML_CAST_FPTR:
|
|
37
|
-
* @fptr: pointer to a function
|
|
38
|
-
*
|
|
39
39
|
* Macro to do a casting from an object pointer to a
|
|
40
40
|
* function pointer without encountering a warning from
|
|
41
41
|
* gcc
|
|
42
42
|
*
|
|
43
|
-
*
|
|
43
|
+
* \#define XML_CAST_FPTR(fptr) (*(void **)(&fptr))
|
|
44
44
|
* This macro violated ISO C aliasing rules (gcc4 on s390 broke)
|
|
45
45
|
* so it is disabled now
|
|
46
|
+
*
|
|
47
|
+
* @param fptr pointer to a function
|
|
46
48
|
*/
|
|
47
49
|
|
|
48
50
|
#define XML_CAST_FPTR(fptr) fptr
|
|
@@ -51,41 +53,36 @@ typedef xmlHashTable *xmlHashTablePtr;
|
|
|
51
53
|
* function types:
|
|
52
54
|
*/
|
|
53
55
|
/**
|
|
54
|
-
* xmlHashDeallocator:
|
|
55
|
-
* @payload: the data in the hash
|
|
56
|
-
* @name: the name associated
|
|
57
|
-
*
|
|
58
56
|
* Callback to free data from a hash.
|
|
57
|
+
*
|
|
58
|
+
* @param payload the data in the hash
|
|
59
|
+
* @param name the name associated
|
|
59
60
|
*/
|
|
60
61
|
typedef void (*xmlHashDeallocator)(void *payload, const xmlChar *name);
|
|
61
62
|
/**
|
|
62
|
-
* xmlHashCopier:
|
|
63
|
-
* @payload: the data in the hash
|
|
64
|
-
* @name: the name associated
|
|
65
|
-
*
|
|
66
63
|
* Callback to copy data from a hash.
|
|
67
64
|
*
|
|
68
|
-
*
|
|
65
|
+
* @param payload the data in the hash
|
|
66
|
+
* @param name the name associated
|
|
67
|
+
* @returns a copy of the data or NULL in case of error.
|
|
69
68
|
*/
|
|
70
69
|
typedef void *(*xmlHashCopier)(void *payload, const xmlChar *name);
|
|
71
70
|
/**
|
|
72
|
-
* xmlHashScanner:
|
|
73
|
-
* @payload: the data in the hash
|
|
74
|
-
* @data: extra scanner data
|
|
75
|
-
* @name: the name associated
|
|
76
|
-
*
|
|
77
71
|
* Callback when scanning data in a hash with the simple scanner.
|
|
72
|
+
*
|
|
73
|
+
* @param payload the data in the hash
|
|
74
|
+
* @param data extra scanner data
|
|
75
|
+
* @param name the name associated
|
|
78
76
|
*/
|
|
79
77
|
typedef void (*xmlHashScanner)(void *payload, void *data, const xmlChar *name);
|
|
80
78
|
/**
|
|
81
|
-
* xmlHashScannerFull:
|
|
82
|
-
* @payload: the data in the hash
|
|
83
|
-
* @data: extra scanner data
|
|
84
|
-
* @name: the name associated
|
|
85
|
-
* @name2: the second name associated
|
|
86
|
-
* @name3: the third name associated
|
|
87
|
-
*
|
|
88
79
|
* Callback when scanning data in a hash with the full scanner.
|
|
80
|
+
*
|
|
81
|
+
* @param payload the data in the hash
|
|
82
|
+
* @param data extra scanner data
|
|
83
|
+
* @param name the name associated
|
|
84
|
+
* @param name2 the second name associated
|
|
85
|
+
* @param name3 the third name associated
|
|
89
86
|
*/
|
|
90
87
|
typedef void (*xmlHashScannerFull)(void *payload, void *data,
|
|
91
88
|
const xmlChar *name, const xmlChar *name2,
|
|
@@ -94,13 +91,13 @@ typedef void (*xmlHashScannerFull)(void *payload, void *data,
|
|
|
94
91
|
/*
|
|
95
92
|
* Constructor and destructor.
|
|
96
93
|
*/
|
|
97
|
-
XMLPUBFUN
|
|
94
|
+
XMLPUBFUN xmlHashTable *
|
|
98
95
|
xmlHashCreate (int size);
|
|
99
|
-
XMLPUBFUN
|
|
96
|
+
XMLPUBFUN xmlHashTable *
|
|
100
97
|
xmlHashCreateDict (int size,
|
|
101
|
-
|
|
98
|
+
xmlDict *dict);
|
|
102
99
|
XMLPUBFUN void
|
|
103
|
-
xmlHashFree (
|
|
100
|
+
xmlHashFree (xmlHashTable *hash,
|
|
104
101
|
xmlHashDeallocator dealloc);
|
|
105
102
|
XMLPUBFUN void
|
|
106
103
|
xmlHashDefaultDeallocator(void *entry,
|
|
@@ -110,48 +107,48 @@ XMLPUBFUN void
|
|
|
110
107
|
* Add a new entry to the hash table.
|
|
111
108
|
*/
|
|
112
109
|
XMLPUBFUN int
|
|
113
|
-
xmlHashAdd (
|
|
110
|
+
xmlHashAdd (xmlHashTable *hash,
|
|
114
111
|
const xmlChar *name,
|
|
115
112
|
void *userdata);
|
|
116
113
|
XMLPUBFUN int
|
|
117
|
-
xmlHashAddEntry (
|
|
114
|
+
xmlHashAddEntry (xmlHashTable *hash,
|
|
118
115
|
const xmlChar *name,
|
|
119
116
|
void *userdata);
|
|
120
117
|
XMLPUBFUN int
|
|
121
|
-
xmlHashUpdateEntry (
|
|
118
|
+
xmlHashUpdateEntry (xmlHashTable *hash,
|
|
122
119
|
const xmlChar *name,
|
|
123
120
|
void *userdata,
|
|
124
121
|
xmlHashDeallocator dealloc);
|
|
125
122
|
XMLPUBFUN int
|
|
126
|
-
xmlHashAdd2 (
|
|
123
|
+
xmlHashAdd2 (xmlHashTable *hash,
|
|
127
124
|
const xmlChar *name,
|
|
128
125
|
const xmlChar *name2,
|
|
129
126
|
void *userdata);
|
|
130
127
|
XMLPUBFUN int
|
|
131
|
-
xmlHashAddEntry2 (
|
|
128
|
+
xmlHashAddEntry2 (xmlHashTable *hash,
|
|
132
129
|
const xmlChar *name,
|
|
133
130
|
const xmlChar *name2,
|
|
134
131
|
void *userdata);
|
|
135
132
|
XMLPUBFUN int
|
|
136
|
-
xmlHashUpdateEntry2 (
|
|
133
|
+
xmlHashUpdateEntry2 (xmlHashTable *hash,
|
|
137
134
|
const xmlChar *name,
|
|
138
135
|
const xmlChar *name2,
|
|
139
136
|
void *userdata,
|
|
140
137
|
xmlHashDeallocator dealloc);
|
|
141
138
|
XMLPUBFUN int
|
|
142
|
-
xmlHashAdd3 (
|
|
139
|
+
xmlHashAdd3 (xmlHashTable *hash,
|
|
143
140
|
const xmlChar *name,
|
|
144
141
|
const xmlChar *name2,
|
|
145
142
|
const xmlChar *name3,
|
|
146
143
|
void *userdata);
|
|
147
144
|
XMLPUBFUN int
|
|
148
|
-
xmlHashAddEntry3 (
|
|
145
|
+
xmlHashAddEntry3 (xmlHashTable *hash,
|
|
149
146
|
const xmlChar *name,
|
|
150
147
|
const xmlChar *name2,
|
|
151
148
|
const xmlChar *name3,
|
|
152
149
|
void *userdata);
|
|
153
150
|
XMLPUBFUN int
|
|
154
|
-
xmlHashUpdateEntry3 (
|
|
151
|
+
xmlHashUpdateEntry3 (xmlHashTable *hash,
|
|
155
152
|
const xmlChar *name,
|
|
156
153
|
const xmlChar *name2,
|
|
157
154
|
const xmlChar *name3,
|
|
@@ -162,16 +159,16 @@ XMLPUBFUN int
|
|
|
162
159
|
* Remove an entry from the hash table.
|
|
163
160
|
*/
|
|
164
161
|
XMLPUBFUN int
|
|
165
|
-
xmlHashRemoveEntry (
|
|
162
|
+
xmlHashRemoveEntry (xmlHashTable *hash,
|
|
166
163
|
const xmlChar *name,
|
|
167
164
|
xmlHashDeallocator dealloc);
|
|
168
165
|
XMLPUBFUN int
|
|
169
|
-
xmlHashRemoveEntry2 (
|
|
166
|
+
xmlHashRemoveEntry2 (xmlHashTable *hash,
|
|
170
167
|
const xmlChar *name,
|
|
171
168
|
const xmlChar *name2,
|
|
172
169
|
xmlHashDeallocator dealloc);
|
|
173
170
|
XMLPUBFUN int
|
|
174
|
-
xmlHashRemoveEntry3 (
|
|
171
|
+
xmlHashRemoveEntry3 (xmlHashTable *hash,
|
|
175
172
|
const xmlChar *name,
|
|
176
173
|
const xmlChar *name2,
|
|
177
174
|
const xmlChar *name3,
|
|
@@ -181,29 +178,29 @@ XMLPUBFUN int
|
|
|
181
178
|
* Retrieve the payload.
|
|
182
179
|
*/
|
|
183
180
|
XMLPUBFUN void *
|
|
184
|
-
xmlHashLookup (
|
|
181
|
+
xmlHashLookup (xmlHashTable *hash,
|
|
185
182
|
const xmlChar *name);
|
|
186
183
|
XMLPUBFUN void *
|
|
187
|
-
xmlHashLookup2 (
|
|
184
|
+
xmlHashLookup2 (xmlHashTable *hash,
|
|
188
185
|
const xmlChar *name,
|
|
189
186
|
const xmlChar *name2);
|
|
190
187
|
XMLPUBFUN void *
|
|
191
|
-
xmlHashLookup3 (
|
|
188
|
+
xmlHashLookup3 (xmlHashTable *hash,
|
|
192
189
|
const xmlChar *name,
|
|
193
190
|
const xmlChar *name2,
|
|
194
191
|
const xmlChar *name3);
|
|
195
192
|
XMLPUBFUN void *
|
|
196
|
-
xmlHashQLookup (
|
|
193
|
+
xmlHashQLookup (xmlHashTable *hash,
|
|
197
194
|
const xmlChar *prefix,
|
|
198
195
|
const xmlChar *name);
|
|
199
196
|
XMLPUBFUN void *
|
|
200
|
-
xmlHashQLookup2 (
|
|
197
|
+
xmlHashQLookup2 (xmlHashTable *hash,
|
|
201
198
|
const xmlChar *prefix,
|
|
202
199
|
const xmlChar *name,
|
|
203
200
|
const xmlChar *prefix2,
|
|
204
201
|
const xmlChar *name2);
|
|
205
202
|
XMLPUBFUN void *
|
|
206
|
-
xmlHashQLookup3 (
|
|
203
|
+
xmlHashQLookup3 (xmlHashTable *hash,
|
|
207
204
|
const xmlChar *prefix,
|
|
208
205
|
const xmlChar *name,
|
|
209
206
|
const xmlChar *prefix2,
|
|
@@ -214,32 +211,32 @@ XMLPUBFUN void *
|
|
|
214
211
|
/*
|
|
215
212
|
* Helpers.
|
|
216
213
|
*/
|
|
217
|
-
XMLPUBFUN
|
|
218
|
-
xmlHashCopySafe (
|
|
214
|
+
XMLPUBFUN xmlHashTable *
|
|
215
|
+
xmlHashCopySafe (xmlHashTable *hash,
|
|
219
216
|
xmlHashCopier copy,
|
|
220
217
|
xmlHashDeallocator dealloc);
|
|
221
|
-
XMLPUBFUN
|
|
222
|
-
xmlHashCopy (
|
|
218
|
+
XMLPUBFUN xmlHashTable *
|
|
219
|
+
xmlHashCopy (xmlHashTable *hash,
|
|
223
220
|
xmlHashCopier copy);
|
|
224
221
|
XMLPUBFUN int
|
|
225
|
-
xmlHashSize (
|
|
222
|
+
xmlHashSize (xmlHashTable *hash);
|
|
226
223
|
XMLPUBFUN void
|
|
227
|
-
xmlHashScan (
|
|
224
|
+
xmlHashScan (xmlHashTable *hash,
|
|
228
225
|
xmlHashScanner scan,
|
|
229
226
|
void *data);
|
|
230
227
|
XMLPUBFUN void
|
|
231
|
-
xmlHashScan3 (
|
|
228
|
+
xmlHashScan3 (xmlHashTable *hash,
|
|
232
229
|
const xmlChar *name,
|
|
233
230
|
const xmlChar *name2,
|
|
234
231
|
const xmlChar *name3,
|
|
235
232
|
xmlHashScanner scan,
|
|
236
233
|
void *data);
|
|
237
234
|
XMLPUBFUN void
|
|
238
|
-
xmlHashScanFull (
|
|
235
|
+
xmlHashScanFull (xmlHashTable *hash,
|
|
239
236
|
xmlHashScannerFull scan,
|
|
240
237
|
void *data);
|
|
241
238
|
XMLPUBFUN void
|
|
242
|
-
xmlHashScanFull3 (
|
|
239
|
+
xmlHashScanFull3 (xmlHashTable *hash,
|
|
243
240
|
const xmlChar *name,
|
|
244
241
|
const xmlChar *name2,
|
|
245
242
|
const xmlChar *name3,
|