diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-06-01 17:13:34 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-06-01 17:13:34 +0200 |
| commit | df96dd006048485dcff3163199c507fff2b81e14 (patch) | |
| tree | 6e3fd52c99eb1e5c0d03904cf3c568de3ddd831c /src | |
| parent | 956e2aace3dff853260d102d52eb00dbbf1a1005 (diff) | |
| download | box64-df96dd006048485dcff3163199c507fff2b81e14.tar.gz box64-df96dd006048485dcff3163199c507fff2b81e14.zip | |
Added wrapped libxml2 (from box86)
Diffstat (limited to 'src')
| -rwxr-xr-x | src/library_list.h | 2 | ||||
| -rw-r--r-- | src/wrapped/generated/functions_list.txt | 23 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedxml2types.h | 58 | ||||
| -rw-r--r-- | src/wrapped/generated/wrapper.c | 58 | ||||
| -rw-r--r-- | src/wrapped/generated/wrapper.h | 23 | ||||
| -rwxr-xr-x | src/wrapped/wrappedxml2.c | 1427 | ||||
| -rwxr-xr-x | src/wrapped/wrappedxml2_private.h | 1611 |
7 files changed, 3201 insertions, 1 deletions
diff --git a/src/library_list.h b/src/library_list.h index 56755de4..a3c4530e 100755 --- a/src/library_list.h +++ b/src/library_list.h @@ -145,7 +145,7 @@ GO("libcups.so.2", libcups) //GO("libvulkan.so.1", vulkan) //GO("libvulkan.so", vulkan) //GO("libwayland-client.so.0", waylandclient) -//GO("libxml2.so.2", xml2) +GO("libxml2.so.2", xml2) //GO("libxslt.so.1", xslt) //GO("libldap_r-2.4.so.2", ldapr) //GO("liblber-2.4.so.2", lber) diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt index 96dfcfd4..564993a8 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -25,6 +25,7 @@ #() IFf #() IFd #() IFp +#() CFp #() WFi #() WFW #() WFp @@ -254,6 +255,7 @@ #() iFiuu #() iFiLi #() iFiLN +#() iFipi #() iFipu #() iFipL #() iFipp @@ -497,6 +499,7 @@ #() iFpipi #() iFpipC #() iFpipp +#() iFpipV #() iFpCCC #() iFpWWu #() iFpuiL @@ -573,6 +576,7 @@ #() pFEppp #() pFiiiu #() pFiiup +#() pFippi #() pFippL #() pFuiii #() pFulli @@ -759,6 +763,7 @@ #() LFpLppL #() LFpLppp #() LFppLLp +#() LFpppii #() LFppppp #() pFEpiii #() pFEpipL @@ -766,6 +771,7 @@ #() pFEpupp #() pFEppii #() pFEppip +#() pFEpppi #() pFEpppu #() pFEpppp #() pFipipL @@ -776,6 +782,7 @@ #() pFpiipi #() pFpiipp #() pFpiuuu +#() pFpippi #() pFpippp #() pFpCpup #() pFpCppp @@ -786,6 +793,7 @@ #() pFpuuup #() pFpdddd #() pFppiii +#() pFppiip #() pFppipi #() pFppipp #() pFppuuu @@ -855,12 +863,14 @@ #() vFppiipi #() vFppilpp #() vFppippi +#() vFppippp #() vFppupii #() vFpplppi #() vFpplppp #() vFppLppi #() vFppLppp #() vFpppiii +#() vFpppiip #() vFpppipu #() vFppppii #() vFpppppi @@ -927,19 +937,25 @@ #() pFEpLLiN #() pFEppLLp #() pFEpppLp +#() pFEppppi #() pFEppppp #() pFiCiiCi #() pFdddddd #() pFpiiiiu +#() pFpiiCCC #() pFpippip #() pFpCuuCC #() pFpCuuWW #() pFpCuuup #() pFpuuuuu #() pFppiiii +#() pFppiCCC +#() pFppippi +#() pFppippp #() pFpppppu #() pFpppppp #() pFSpiiii +#() vFEpppppp #() vFiiiiiip #() vFiiiiuup #() vFiiupuip @@ -989,6 +1005,7 @@ #() vFppLpppp #() vFpppiiii #() vFpppiipi +#() vFpppiipp #() vFpppuuuu #() vFppppipi #() iFEpLiLpV @@ -1021,6 +1038,8 @@ #() iFpppiiup #() iFpppiipi #() iFpppiuwu +#() iFpppippi +#() iFpppippp #() iFpppuiii #() iFppppiii #() iFppppdpi @@ -1035,6 +1054,7 @@ #() pFpCuWCCC #() pFpCuuwwp #() pFpCuuuuu +#() pFppiiCCC #() pFppuuppp #() pFpppuupp #() pFppppuuu @@ -1083,6 +1103,7 @@ #() iFpppipipi #() iFpppipppp #() iFppppiipi +#() iFppppppii #() iFpppppppp #() uFuipppppp #() pFEppppppp @@ -1113,6 +1134,7 @@ #() vFppiiipiii #() vFppuuiiiii #() vFpplpppppi +#() vFppppipiip #() vFpppppippp #() iFEpiiiiipi #() iFEppplPPPP @@ -1136,6 +1158,7 @@ #() pFppiiiiiip #() pFppiiuuuLL #() pFppipppppp +#() pFpppppiipp #() vFiiiiiiiiiu #() vFuiiiiiiiii #() vFuiiiiiiuup diff --git a/src/wrapped/generated/wrappedxml2types.h b/src/wrapped/generated/wrappedxml2types.h new file mode 100644 index 00000000..fe362b75 --- /dev/null +++ b/src/wrapped/generated/wrappedxml2types.h @@ -0,0 +1,58 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v1.3.0.11) * + *******************************************************************/ +#ifndef __wrappedxml2TYPES_H_ +#define __wrappedxml2TYPES_H_ + +#ifndef LIBNAME +#error You should only #include this file inside a wrapped*.c file +#endif +#ifndef ADDED_FUNCTIONS +#define ADDED_FUNCTIONS() +#endif + +typedef void (*vFp_t)(void*); +typedef int64_t (*iFp_t)(void*); +typedef void* (*pFv_t)(void); +typedef void (*vFpp_t)(void*, void*); +typedef void* (*pFpp_t)(void*, void*); +typedef void (*vFppp_t)(void*, void*, void*); +typedef int64_t (*iFppp_t)(void*, void*, void*); +typedef void* (*pFppp_t)(void*, void*, void*); +typedef void (*vFpppp_t)(void*, void*, void*, void*); +typedef int64_t (*iFpppp_t)(void*, void*, void*, void*); +typedef void* (*pFpppi_t)(void*, void*, void*, int64_t); +typedef void* (*pFpppp_t)(void*, void*, void*, void*); +typedef int64_t (*iFppppp_t)(void*, void*, void*, void*, void*); +typedef void* (*pFppppi_t)(void*, void*, void*, void*, int64_t); +typedef void (*vFpppppp_t)(void*, void*, void*, void*, void*, void*); +typedef int64_t (*iFpppppp_t)(void*, void*, void*, void*, void*, void*); + +#define SUPER() ADDED_FUNCTIONS() \ + GO(xmlSetExternalEntityLoader, vFp_t) \ + GO(xmlParseDocument, iFp_t) \ + GO(xmlGetExternalEntityLoader, pFv_t) \ + GO(xmlHashFree, vFpp_t) \ + GO(xmlHashCopy, pFpp_t) \ + GO(xmlHashScan, vFppp_t) \ + GO(xmlHashScanFull, vFppp_t) \ + GO(xmlSchemaSetParserStructuredErrors, vFppp_t) \ + GO(xmlSchemaSetValidStructuredErrors, vFppp_t) \ + GO(xmlHashRemoveEntry, iFppp_t) \ + GO(xmlXPathRegisterFunc, iFppp_t) \ + GO(xmlNewCharEncodingHandler, pFppp_t) \ + GO(xmlSchemaSetParserErrors, vFpppp_t) \ + GO(xmlSchemaSetValidErrors, vFpppp_t) \ + GO(xmlHashRemoveEntry2, iFpppp_t) \ + GO(xmlHashUpdateEntry, iFpppp_t) \ + GO(xmlRegisterInputCallbacks, iFpppp_t) \ + GO(xmlParserInputBufferCreateIO, pFpppi_t) \ + GO(xmlOutputBufferCreateIO, pFpppp_t) \ + GO(xmlHashRemoveEntry3, iFppppp_t) \ + GO(xmlHashUpdateEntry2, iFppppp_t) \ + GO(xmlSaveToIO, pFppppi_t) \ + GO(xmlHashScan3, vFpppppp_t) \ + GO(xmlHashScanFull3, vFpppppp_t) \ + GO(xmlHashUpdateEntry3, iFpppppp_t) + +#endif // __wrappedxml2TYPES_H_ diff --git a/src/wrapped/generated/wrapper.c b/src/wrapped/generated/wrapper.c index f0e4c754..4ba79531 100644 --- a/src/wrapped/generated/wrapper.c +++ b/src/wrapped/generated/wrapper.c @@ -59,6 +59,7 @@ typedef int64_t (*iFS_t)(void*); typedef int64_t (*IFf_t)(float); typedef int64_t (*IFd_t)(double); typedef int64_t (*IFp_t)(void*); +typedef uint8_t (*CFp_t)(void*); typedef uint16_t (*WFi_t)(int64_t); typedef uint16_t (*WFW_t)(uint16_t); typedef uint16_t (*WFp_t)(void*); @@ -288,6 +289,7 @@ typedef int64_t (*iFiiO_t)(int64_t, int64_t, int32_t); typedef int64_t (*iFiuu_t)(int64_t, uint64_t, uint64_t); typedef int64_t (*iFiLi_t)(int64_t, uintptr_t, int64_t); typedef int64_t (*iFiLN_t)(int64_t, uintptr_t, ...); +typedef int64_t (*iFipi_t)(int64_t, void*, int64_t); typedef int64_t (*iFipu_t)(int64_t, void*, uint64_t); typedef int64_t (*iFipL_t)(int64_t, void*, uintptr_t); typedef int64_t (*iFipp_t)(int64_t, void*, void*); @@ -531,6 +533,7 @@ typedef int64_t (*iFpiup_t)(void*, int64_t, uint64_t, void*); typedef int64_t (*iFpipi_t)(void*, int64_t, void*, int64_t); typedef int64_t (*iFpipC_t)(void*, int64_t, void*, uint8_t); typedef int64_t (*iFpipp_t)(void*, int64_t, void*, void*); +typedef int64_t (*iFpipV_t)(void*, int64_t, void*, void*); typedef int64_t (*iFpCCC_t)(void*, uint8_t, uint8_t, uint8_t); typedef int64_t (*iFpWWu_t)(void*, uint16_t, uint16_t, uint64_t); typedef int64_t (*iFpuiL_t)(void*, uint64_t, int64_t, uintptr_t); @@ -607,6 +610,7 @@ typedef void* (*pFEppi_t)(x64emu_t*, void*, void*, int64_t); typedef void* (*pFEppp_t)(x64emu_t*, void*, void*, void*); typedef void* (*pFiiiu_t)(int64_t, int64_t, int64_t, uint64_t); typedef void* (*pFiiup_t)(int64_t, int64_t, uint64_t, void*); +typedef void* (*pFippi_t)(int64_t, void*, void*, int64_t); typedef void* (*pFippL_t)(int64_t, void*, void*, uintptr_t); typedef void* (*pFuiii_t)(uint64_t, int64_t, int64_t, int64_t); typedef void* (*pFulli_t)(uint64_t, intptr_t, intptr_t, int64_t); @@ -793,6 +797,7 @@ typedef uintptr_t (*LFpLLLp_t)(void*, uintptr_t, uintptr_t, uintptr_t, void*); typedef uintptr_t (*LFpLppL_t)(void*, uintptr_t, void*, void*, uintptr_t); typedef uintptr_t (*LFpLppp_t)(void*, uintptr_t, void*, void*, void*); typedef uintptr_t (*LFppLLp_t)(void*, void*, uintptr_t, uintptr_t, void*); +typedef uintptr_t (*LFpppii_t)(void*, void*, void*, int64_t, int64_t); typedef uintptr_t (*LFppppp_t)(void*, void*, void*, void*, void*); typedef void* (*pFEpiii_t)(x64emu_t*, void*, int64_t, int64_t, int64_t); typedef void* (*pFEpipL_t)(x64emu_t*, void*, int64_t, void*, uintptr_t); @@ -800,6 +805,7 @@ typedef void* (*pFEpipp_t)(x64emu_t*, void*, int64_t, void*, void*); typedef void* (*pFEpupp_t)(x64emu_t*, void*, uint64_t, void*, void*); typedef void* (*pFEppii_t)(x64emu_t*, void*, void*, int64_t, int64_t); typedef void* (*pFEppip_t)(x64emu_t*, void*, void*, int64_t, void*); +typedef void* (*pFEpppi_t)(x64emu_t*, void*, void*, void*, int64_t); typedef void* (*pFEpppu_t)(x64emu_t*, void*, void*, void*, uint64_t); typedef void* (*pFEpppp_t)(x64emu_t*, void*, void*, void*, void*); typedef void* (*pFipipL_t)(int64_t, void*, int64_t, void*, uintptr_t); @@ -810,6 +816,7 @@ typedef void* (*pFpiiuu_t)(void*, int64_t, int64_t, uint64_t, uint64_t); typedef void* (*pFpiipi_t)(void*, int64_t, int64_t, void*, int64_t); typedef void* (*pFpiipp_t)(void*, int64_t, int64_t, void*, void*); typedef void* (*pFpiuuu_t)(void*, int64_t, uint64_t, uint64_t, uint64_t); +typedef void* (*pFpippi_t)(void*, int64_t, void*, void*, int64_t); typedef void* (*pFpippp_t)(void*, int64_t, void*, void*, void*); typedef void* (*pFpCpup_t)(void*, uint8_t, void*, uint64_t, void*); typedef void* (*pFpCppp_t)(void*, uint8_t, void*, void*, void*); @@ -820,6 +827,7 @@ typedef void* (*pFpuuWW_t)(void*, uint64_t, uint64_t, uint16_t, uint16_t); typedef void* (*pFpuuup_t)(void*, uint64_t, uint64_t, uint64_t, void*); typedef void* (*pFpdddd_t)(void*, double, double, double, double); typedef void* (*pFppiii_t)(void*, void*, int64_t, int64_t, int64_t); +typedef void* (*pFppiip_t)(void*, void*, int64_t, int64_t, void*); typedef void* (*pFppipi_t)(void*, void*, int64_t, void*, int64_t); typedef void* (*pFppipp_t)(void*, void*, int64_t, void*, void*); typedef void* (*pFppuuu_t)(void*, void*, uint64_t, uint64_t, uint64_t); @@ -889,12 +897,14 @@ typedef void (*vFppiiip_t)(void*, void*, int64_t, int64_t, int64_t, void*); typedef void (*vFppiipi_t)(void*, void*, int64_t, int64_t, void*, int64_t); typedef void (*vFppilpp_t)(void*, void*, int64_t, intptr_t, void*, void*); typedef void (*vFppippi_t)(void*, void*, int64_t, void*, void*, int64_t); +typedef void (*vFppippp_t)(void*, void*, int64_t, void*, void*, void*); typedef void (*vFppupii_t)(void*, void*, uint64_t, void*, int64_t, int64_t); typedef void (*vFpplppi_t)(void*, void*, intptr_t, void*, void*, int64_t); typedef void (*vFpplppp_t)(void*, void*, intptr_t, void*, void*, void*); typedef void (*vFppLppi_t)(void*, void*, uintptr_t, void*, void*, int64_t); typedef void (*vFppLppp_t)(void*, void*, uintptr_t, void*, void*, void*); typedef void (*vFpppiii_t)(void*, void*, void*, int64_t, int64_t, int64_t); +typedef void (*vFpppiip_t)(void*, void*, void*, int64_t, int64_t, void*); typedef void (*vFpppipu_t)(void*, void*, void*, int64_t, void*, uint64_t); typedef void (*vFppppii_t)(void*, void*, void*, void*, int64_t, int64_t); typedef void (*vFpppppi_t)(void*, void*, void*, void*, void*, int64_t); @@ -961,19 +971,25 @@ typedef void* (*pFEpuppp_t)(x64emu_t*, void*, uint64_t, void*, void*, void*); typedef void* (*pFEpLLiN_t)(x64emu_t*, void*, uintptr_t, uintptr_t, int64_t, ...); typedef void* (*pFEppLLp_t)(x64emu_t*, void*, void*, uintptr_t, uintptr_t, void*); typedef void* (*pFEpppLp_t)(x64emu_t*, void*, void*, void*, uintptr_t, void*); +typedef void* (*pFEppppi_t)(x64emu_t*, void*, void*, void*, void*, int64_t); typedef void* (*pFEppppp_t)(x64emu_t*, void*, void*, void*, void*, void*); typedef void* (*pFiCiiCi_t)(int64_t, uint8_t, int64_t, int64_t, uint8_t, int64_t); typedef void* (*pFdddddd_t)(double, double, double, double, double, double); typedef void* (*pFpiiiiu_t)(void*, int64_t, int64_t, int64_t, int64_t, uint64_t); +typedef void* (*pFpiiCCC_t)(void*, int64_t, int64_t, uint8_t, uint8_t, uint8_t); typedef void* (*pFpippip_t)(void*, int64_t, void*, void*, int64_t, void*); typedef void* (*pFpCuuCC_t)(void*, uint8_t, uint64_t, uint64_t, uint8_t, uint8_t); typedef void* (*pFpCuuWW_t)(void*, uint8_t, uint64_t, uint64_t, uint16_t, uint16_t); typedef void* (*pFpCuuup_t)(void*, uint8_t, uint64_t, uint64_t, uint64_t, void*); typedef void* (*pFpuuuuu_t)(void*, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t); typedef void* (*pFppiiii_t)(void*, void*, int64_t, int64_t, int64_t, int64_t); +typedef void* (*pFppiCCC_t)(void*, void*, int64_t, uint8_t, uint8_t, uint8_t); +typedef void* (*pFppippi_t)(void*, void*, int64_t, void*, void*, int64_t); +typedef void* (*pFppippp_t)(void*, void*, int64_t, void*, void*, void*); typedef void* (*pFpppppu_t)(void*, void*, void*, void*, void*, uint64_t); typedef void* (*pFpppppp_t)(void*, void*, void*, void*, void*, void*); typedef void* (*pFSpiiii_t)(void*, void*, int64_t, int64_t, int64_t, int64_t); +typedef void (*vFEpppppp_t)(x64emu_t*, void*, void*, void*, void*, void*, void*); typedef void (*vFiiiiiip_t)(int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, void*); typedef void (*vFiiiiuup_t)(int64_t, int64_t, int64_t, int64_t, uint64_t, uint64_t, void*); typedef void (*vFiiupuip_t)(int64_t, int64_t, uint64_t, void*, uint64_t, int64_t, void*); @@ -1023,6 +1039,7 @@ typedef void (*vFppLpppi_t)(void*, void*, uintptr_t, void*, void*, void*, int64_ typedef void (*vFppLpppp_t)(void*, void*, uintptr_t, void*, void*, void*, void*); typedef void (*vFpppiiii_t)(void*, void*, void*, int64_t, int64_t, int64_t, int64_t); typedef void (*vFpppiipi_t)(void*, void*, void*, int64_t, int64_t, void*, int64_t); +typedef void (*vFpppiipp_t)(void*, void*, void*, int64_t, int64_t, void*, void*); typedef void (*vFpppuuuu_t)(void*, void*, void*, uint64_t, uint64_t, uint64_t, uint64_t); typedef void (*vFppppipi_t)(void*, void*, void*, void*, int64_t, void*, int64_t); typedef int64_t (*iFEpLiLpV_t)(x64emu_t*, void*, uintptr_t, int64_t, uintptr_t, void*, void*); @@ -1055,6 +1072,8 @@ typedef int64_t (*iFpppiiuu_t)(void*, void*, void*, int64_t, int64_t, uint64_t, typedef int64_t (*iFpppiiup_t)(void*, void*, void*, int64_t, int64_t, uint64_t, void*); typedef int64_t (*iFpppiipi_t)(void*, void*, void*, int64_t, int64_t, void*, int64_t); typedef int64_t (*iFpppiuwu_t)(void*, void*, void*, int64_t, uint64_t, int16_t, uint64_t); +typedef int64_t (*iFpppippi_t)(void*, void*, void*, int64_t, void*, void*, int64_t); +typedef int64_t (*iFpppippp_t)(void*, void*, void*, int64_t, void*, void*, void*); typedef int64_t (*iFpppuiii_t)(void*, void*, void*, uint64_t, int64_t, int64_t, int64_t); typedef int64_t (*iFppppiii_t)(void*, void*, void*, void*, int64_t, int64_t, int64_t); typedef int64_t (*iFppppdpi_t)(void*, void*, void*, void*, double, void*, int64_t); @@ -1069,6 +1088,7 @@ typedef void* (*pFpCuwwWW_t)(void*, uint8_t, uint64_t, int16_t, int16_t, uint16_ typedef void* (*pFpCuWCCC_t)(void*, uint8_t, uint64_t, uint16_t, uint8_t, uint8_t, uint8_t); typedef void* (*pFpCuuwwp_t)(void*, uint8_t, uint64_t, uint64_t, int16_t, int16_t, void*); typedef void* (*pFpCuuuuu_t)(void*, uint8_t, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t); +typedef void* (*pFppiiCCC_t)(void*, void*, int64_t, int64_t, uint8_t, uint8_t, uint8_t); typedef void* (*pFppuuppp_t)(void*, void*, uint64_t, uint64_t, void*, void*, void*); typedef void* (*pFpppuupp_t)(void*, void*, void*, uint64_t, uint64_t, void*, void*); typedef void* (*pFppppuuu_t)(void*, void*, void*, void*, uint64_t, uint64_t, uint64_t); @@ -1117,6 +1137,7 @@ typedef int64_t (*iFpppiippp_t)(void*, void*, void*, int64_t, int64_t, void*, vo typedef int64_t (*iFpppipipi_t)(void*, void*, void*, int64_t, void*, int64_t, void*, int64_t); typedef int64_t (*iFpppipppp_t)(void*, void*, void*, int64_t, void*, void*, void*, void*); typedef int64_t (*iFppppiipi_t)(void*, void*, void*, void*, int64_t, int64_t, void*, int64_t); +typedef int64_t (*iFppppppii_t)(void*, void*, void*, void*, void*, void*, int64_t, int64_t); typedef int64_t (*iFpppppppp_t)(void*, void*, void*, void*, void*, void*, void*, void*); typedef uint64_t (*uFuipppppp_t)(uint64_t, int64_t, void*, void*, void*, void*, void*, void*); typedef void* (*pFEppppppp_t)(x64emu_t*, void*, void*, void*, void*, void*, void*, void*); @@ -1147,6 +1168,7 @@ typedef void (*vFpipppiipi_t)(void*, int64_t, void*, void*, void*, int64_t, int6 typedef void (*vFppiiipiii_t)(void*, void*, int64_t, int64_t, int64_t, void*, int64_t, int64_t, int64_t); typedef void (*vFppuuiiiii_t)(void*, void*, uint64_t, uint64_t, int64_t, int64_t, int64_t, int64_t, int64_t); typedef void (*vFpplpppppi_t)(void*, void*, intptr_t, void*, void*, void*, void*, void*, int64_t); +typedef void (*vFppppipiip_t)(void*, void*, void*, void*, int64_t, void*, int64_t, int64_t, void*); typedef void (*vFpppppippp_t)(void*, void*, void*, void*, void*, int64_t, void*, void*, void*); typedef int64_t (*iFEpiiiiipi_t)(x64emu_t*, void*, int64_t, int64_t, int64_t, int64_t, int64_t, void*, int64_t); typedef int64_t (*iFEppplPPPP_t)(x64emu_t*, void*, void*, void*, intptr_t, void*, void*, void*, void*); @@ -1170,6 +1192,7 @@ typedef void* (*pFpuuwwWWww_t)(void*, uint64_t, uint64_t, int16_t, int16_t, uint typedef void* (*pFppiiiiiip_t)(void*, void*, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, void*); typedef void* (*pFppiiuuuLL_t)(void*, void*, int64_t, int64_t, uint64_t, uint64_t, uint64_t, uintptr_t, uintptr_t); typedef void* (*pFppipppppp_t)(void*, void*, int64_t, void*, void*, void*, void*, void*, void*); +typedef void* (*pFpppppiipp_t)(void*, void*, void*, void*, void*, int64_t, int64_t, void*, void*); typedef void (*vFiiiiiiiiiu_t)(int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, uint64_t); typedef void (*vFuiiiiiiiii_t)(uint64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t); typedef void (*vFuiiiiiiuup_t)(uint64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, uint64_t, uint64_t, void*); @@ -1297,6 +1320,7 @@ void iFS(x64emu_t *emu, uintptr_t fcn) { iFS_t fn = (iFS_t)fcn; R_RAX=(int64_t)f void IFf(x64emu_t *emu, uintptr_t fcn) { IFf_t fn = (IFf_t)fcn; R_RAX=(int64_t)fn(emu->xmm[0].f[0]); } void IFd(x64emu_t *emu, uintptr_t fcn) { IFd_t fn = (IFd_t)fcn; R_RAX=(int64_t)fn(emu->xmm[0].d[0]); } void IFp(x64emu_t *emu, uintptr_t fcn) { IFp_t fn = (IFp_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI); } +void CFp(x64emu_t *emu, uintptr_t fcn) { CFp_t fn = (CFp_t)fcn; R_RAX=(unsigned char)fn((void*)R_RDI); } void WFi(x64emu_t *emu, uintptr_t fcn) { WFi_t fn = (WFi_t)fcn; R_RAX=(unsigned short)fn((int64_t)R_RDI); } void WFW(x64emu_t *emu, uintptr_t fcn) { WFW_t fn = (WFW_t)fcn; R_RAX=(unsigned short)fn((uint16_t)R_RDI); } void WFp(x64emu_t *emu, uintptr_t fcn) { WFp_t fn = (WFp_t)fcn; R_RAX=(unsigned short)fn((void*)R_RDI); } @@ -1526,6 +1550,7 @@ void iFiiO(x64emu_t *emu, uintptr_t fcn) { iFiiO_t fn = (iFiiO_t)fcn; R_RAX=(int void iFiuu(x64emu_t *emu, uintptr_t fcn) { iFiuu_t fn = (iFiuu_t)fcn; R_RAX=(int64_t)fn((int64_t)R_RDI, (uint64_t)R_RSI, (uint64_t)R_RDX); } void iFiLi(x64emu_t *emu, uintptr_t fcn) { iFiLi_t fn = (iFiLi_t)fcn; R_RAX=(int64_t)fn((int64_t)R_RDI, (uintptr_t)R_RSI, (int64_t)R_RDX); } void iFiLN(x64emu_t *emu, uintptr_t fcn) { iFiLN_t fn = (iFiLN_t)fcn; R_RAX=(int64_t)fn((int64_t)R_RDI, (uintptr_t)R_RSI, (void*)R_RDX); } +void iFipi(x64emu_t *emu, uintptr_t fcn) { iFipi_t fn = (iFipi_t)fcn; R_RAX=(int64_t)fn((int64_t)R_RDI, (void*)R_RSI, (int64_t)R_RDX); } void iFipu(x64emu_t *emu, uintptr_t fcn) { iFipu_t fn = (iFipu_t)fcn; R_RAX=(int64_t)fn((int64_t)R_RDI, (void*)R_RSI, (uint64_t)R_RDX); } void iFipL(x64emu_t *emu, uintptr_t fcn) { iFipL_t fn = (iFipL_t)fcn; R_RAX=(int64_t)fn((int64_t)R_RDI, (void*)R_RSI, (uintptr_t)R_RDX); } void iFipp(x64emu_t *emu, uintptr_t fcn) { iFipp_t fn = (iFipp_t)fcn; R_RAX=(int64_t)fn((int64_t)R_RDI, (void*)R_RSI, (void*)R_RDX); } @@ -1769,6 +1794,7 @@ void iFpiup(x64emu_t *emu, uintptr_t fcn) { iFpiup_t fn = (iFpiup_t)fcn; R_RAX=( void iFpipi(x64emu_t *emu, uintptr_t fcn) { iFpipi_t fn = (iFpipi_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI, (int64_t)R_RSI, (void*)R_RDX, (int64_t)R_RCX); } void iFpipC(x64emu_t *emu, uintptr_t fcn) { iFpipC_t fn = (iFpipC_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI, (int64_t)R_RSI, (void*)R_RDX, (uint8_t)R_RCX); } void iFpipp(x64emu_t *emu, uintptr_t fcn) { iFpipp_t fn = (iFpipp_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI, (int64_t)R_RSI, (void*)R_RDX, (void*)R_RCX); } +void iFpipV(x64emu_t *emu, uintptr_t fcn) { iFpipV_t fn = (iFpipV_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI, (int64_t)R_RSI, (void*)R_RDX, (void*)(R_RSP + 8)); } void iFpCCC(x64emu_t *emu, uintptr_t fcn) { iFpCCC_t fn = (iFpCCC_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI, (uint8_t)R_RSI, (uint8_t)R_RDX, (uint8_t)R_RCX); } void iFpWWu(x64emu_t *emu, uintptr_t fcn) { iFpWWu_t fn = (iFpWWu_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI, (uint16_t)R_RSI, (uint16_t)R_RDX, (uint64_t)R_RCX); } void iFpuiL(x64emu_t *emu, uintptr_t fcn) { iFpuiL_t fn = (iFpuiL_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI, (uint64_t)R_RSI, (int64_t)R_RDX, (uintptr_t)R_RCX); } @@ -1845,6 +1871,7 @@ void pFEppi(x64emu_t *emu, uintptr_t fcn) { pFEppi_t fn = (pFEppi_t)fcn; R_RAX=( void pFEppp(x64emu_t *emu, uintptr_t fcn) { pFEppp_t fn = (pFEppp_t)fcn; R_RAX=(uintptr_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (void*)R_RDX); } void pFiiiu(x64emu_t *emu, uintptr_t fcn) { pFiiiu_t fn = (pFiiiu_t)fcn; R_RAX=(uintptr_t)fn((int64_t)R_RDI, (int64_t)R_RSI, (int64_t)R_RDX, (uint64_t)R_RCX); } void pFiiup(x64emu_t *emu, uintptr_t fcn) { pFiiup_t fn = (pFiiup_t)fcn; R_RAX=(uintptr_t)fn((int64_t)R_RDI, (int64_t)R_RSI, (uint64_t)R_RDX, (void*)R_RCX); } +void pFippi(x64emu_t *emu, uintptr_t fcn) { pFippi_t fn = (pFippi_t)fcn; R_RAX=(uintptr_t)fn((int64_t)R_RDI, (void*)R_RSI, (void*)R_RDX, (int64_t)R_RCX); } void pFippL(x64emu_t *emu, uintptr_t fcn) { pFippL_t fn = (pFippL_t)fcn; R_RAX=(uintptr_t)fn((int64_t)R_RDI, (void*)R_RSI, (void*)R_RDX, (uintptr_t)R_RCX); } void pFuiii(x64emu_t *emu, uintptr_t fcn) { pFuiii_t fn = (pFuiii_t)fcn; R_RAX=(uintptr_t)fn((uint64_t)R_RDI, (int64_t)R_RSI, (int64_t)R_RDX, (int64_t)R_RCX); } void pFulli(x64emu_t *emu, uintptr_t fcn) { pFulli_t fn = (pFulli_t)fcn; R_RAX=(uintptr_t)fn((uint64_t)R_RDI, (intptr_t)R_RSI, (intptr_t)R_RDX, (int64_t)R_RCX); } @@ -2031,6 +2058,7 @@ void LFpLLLp(x64emu_t *emu, uintptr_t fcn) { LFpLLLp_t fn = (LFpLLLp_t)fcn; R_RA void LFpLppL(x64emu_t *emu, uintptr_t fcn) { LFpLppL_t fn = (LFpLppL_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uintptr_t)R_RSI, (void*)R_RDX, (void*)R_RCX, (uintptr_t)R_R8); } void LFpLppp(x64emu_t *emu, uintptr_t fcn) { LFpLppp_t fn = (LFpLppp_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uintptr_t)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8); } void LFppLLp(x64emu_t *emu, uintptr_t fcn) { LFppLLp_t fn = (LFppLLp_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (uintptr_t)R_RDX, (uintptr_t)R_RCX, (void*)R_R8); } +void LFpppii(x64emu_t *emu, uintptr_t fcn) { LFpppii_t fn = (LFpppii_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (int64_t)R_RCX, (int64_t)R_R8); } void LFppppp(x64emu_t *emu, uintptr_t fcn) { LFppppp_t fn = (LFppppp_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8); } void pFEpiii(x64emu_t *emu, uintptr_t fcn) { pFEpiii_t fn = (pFEpiii_t)fcn; R_RAX=(uintptr_t)fn(emu, (void*)R_RDI, (int64_t)R_RSI, (int64_t)R_RDX, (int64_t)R_RCX); } void pFEpipL(x64emu_t *emu, uintptr_t fcn) { pFEpipL_t fn = (pFEpipL_t)fcn; R_RAX=(uintptr_t)fn(emu, (void*)R_RDI, (int64_t)R_RSI, (void*)R_RDX, (uintptr_t)R_RCX); } @@ -2038,6 +2066,7 @@ void pFEpipp(x64emu_t *emu, uintptr_t fcn) { pFEpipp_t fn = (pFEpipp_t)fcn; R_RA void pFEpupp(x64emu_t *emu, uintptr_t fcn) { pFEpupp_t fn = (pFEpupp_t)fcn; R_RAX=(uintptr_t)fn(emu, (void*)R_RDI, (uint64_t)R_RSI, (void*)R_RDX, (void*)R_RCX); } void pFEppii(x64emu_t *emu, uintptr_t fcn) { pFEppii_t fn = (pFEppii_t)fcn; R_RAX=(uintptr_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (int64_t)R_RDX, (int64_t)R_RCX); } void pFEppip(x64emu_t *emu, uintptr_t fcn) { pFEppip_t fn = (pFEppip_t)fcn; R_RAX=(uintptr_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (int64_t)R_RDX, (void*)R_RCX); } +void pFEpppi(x64emu_t *emu, uintptr_t fcn) { pFEpppi_t fn = (pFEpppi_t)fcn; R_RAX=(uintptr_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (int64_t)R_RCX); } void pFEpppu(x64emu_t *emu, uintptr_t fcn) { pFEpppu_t fn = (pFEpppu_t)fcn; R_RAX=(uintptr_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (uint64_t)R_RCX); } void pFEpppp(x64emu_t *emu, uintptr_t fcn) { pFEpppp_t fn = (pFEpppp_t)fcn; R_RAX=(uintptr_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX); } void pFipipL(x64emu_t *emu, uintptr_t fcn) { pFipipL_t fn = (pFipipL_t)fcn; R_RAX=(uintptr_t)fn((int64_t)R_RDI, (void*)R_RSI, (int64_t)R_RDX, (void*)R_RCX, (uintptr_t)R_R8); } @@ -2048,6 +2077,7 @@ void pFpiiuu(x64emu_t *emu, uintptr_t fcn) { pFpiiuu_t fn = (pFpiiuu_t)fcn; R_RA void pFpiipi(x64emu_t *emu, uintptr_t fcn) { pFpiipi_t fn = (pFpiipi_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (int64_t)R_RSI, (int64_t)R_RDX, (void*)R_RCX, (int64_t)R_R8); } void pFpiipp(x64emu_t *emu, uintptr_t fcn) { pFpiipp_t fn = (pFpiipp_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (int64_t)R_RSI, (int64_t)R_RDX, (void*)R_RCX, (void*)R_R8); } void pFpiuuu(x64emu_t *emu, uintptr_t fcn) { pFpiuuu_t fn = (pFpiuuu_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (int64_t)R_RSI, (uint64_t)R_RDX, (uint64_t)R_RCX, (uint64_t)R_R8); } +void pFpippi(x64emu_t *emu, uintptr_t fcn) { pFpippi_t fn = (pFpippi_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (int64_t)R_RSI, (void*)R_RDX, (void*)R_RCX, (int64_t)R_R8); } void pFpippp(x64emu_t *emu, uintptr_t fcn) { pFpippp_t fn = (pFpippp_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (int64_t)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8); } void pFpCpup(x64emu_t *emu, uintptr_t fcn) { pFpCpup_t fn = (pFpCpup_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uint8_t)R_RSI, (void*)R_RDX, (uint64_t)R_RCX, (void*)R_R8); } void pFpCppp(x64emu_t *emu, uintptr_t fcn) { pFpCppp_t fn = (pFpCppp_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uint8_t)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8); } @@ -2058,6 +2088,7 @@ void pFpuuWW(x64emu_t *emu, uintptr_t fcn) { pFpuuWW_t fn = (pFpuuWW_t)fcn; R_RA void pFpuuup(x64emu_t *emu, uintptr_t fcn) { pFpuuup_t fn = (pFpuuup_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uint64_t)R_RSI, (uint64_t)R_RDX, (uint64_t)R_RCX, (void*)R_R8); } void pFpdddd(x64emu_t *emu, uintptr_t fcn) { pFpdddd_t fn = (pFpdddd_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, emu->xmm[0].d[0], emu->xmm[1].d[0], emu->xmm[2].d[0], emu->xmm[3].d[0]); } void pFppiii(x64emu_t *emu, uintptr_t fcn) { pFppiii_t fn = (pFppiii_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (int64_t)R_RDX, (int64_t)R_RCX, (int64_t)R_R8); } +void pFppiip(x64emu_t *emu, uintptr_t fcn) { pFppiip_t fn = (pFppiip_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (int64_t)R_RDX, (int64_t)R_RCX, (void*)R_R8); } void pFppipi(x64emu_t *emu, uintptr_t fcn) { pFppipi_t fn = (pFppipi_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (int64_t)R_RDX, (void*)R_RCX, (int64_t)R_R8); } void pFppipp(x64emu_t *emu, uintptr_t fcn) { pFppipp_t fn = (pFppipp_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (int64_t)R_RDX, (void*)R_RCX, (void*)R_R8); } void pFppuuu(x64emu_t *emu, uintptr_t fcn) { pFppuuu_t fn = (pFppuuu_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (uint64_t)R_RDX, (uint64_t)R_RCX, (uint64_t)R_R8); } @@ -2127,12 +2158,14 @@ void vFppiiip(x64emu_t *emu, uintptr_t fcn) { vFppiiip_t fn = (vFppiiip_t)fcn; f void vFppiipi(x64emu_t *emu, uintptr_t fcn) { vFppiipi_t fn = (vFppiipi_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (int64_t)R_RDX, (int64_t)R_RCX, (void*)R_R8, (int64_t)R_R9); } void vFppilpp(x64emu_t *emu, uintptr_t fcn) { vFppilpp_t fn = (vFppilpp_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (int64_t)R_RDX, (intptr_t)R_RCX, (void*)R_R8, (void*)R_R9); } void vFppippi(x64emu_t *emu, uintptr_t fcn) { vFppippi_t fn = (vFppippi_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (int64_t)R_RDX, (void*)R_RCX, (void*)R_R8, (int64_t)R_R9); } +void vFppippp(x64emu_t *emu, uintptr_t fcn) { vFppippp_t fn = (vFppippp_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (int64_t)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9); } void vFppupii(x64emu_t *emu, uintptr_t fcn) { vFppupii_t fn = (vFppupii_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (uint64_t)R_RDX, (void*)R_RCX, (int64_t)R_R8, (int64_t)R_R9); } void vFpplppi(x64emu_t *emu, uintptr_t fcn) { vFpplppi_t fn = (vFpplppi_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (intptr_t)R_RDX, (void*)R_RCX, (void*)R_R8, (int64_t)R_R9); } void vFpplppp(x64emu_t *emu, uintptr_t fcn) { vFpplppp_t fn = (vFpplppp_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (intptr_t)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9); } void vFppLppi(x64emu_t *emu, uintptr_t fcn) { vFppLppi_t fn = (vFppLppi_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (uintptr_t)R_RDX, (void*)R_RCX, (void*)R_R8, (int64_t)R_R9); } void vFppLppp(x64emu_t *emu, uintptr_t fcn) { vFppLppp_t fn = (vFppLppp_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (uintptr_t)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9); } void vFpppiii(x64emu_t *emu, uintptr_t fcn) { vFpppiii_t fn = (vFpppiii_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (int64_t)R_RCX, (int64_t)R_R8, (int64_t)R_R9); } +void vFpppiip(x64emu_t *emu, uintptr_t fcn) { vFpppiip_t fn = (vFpppiip_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (int64_t)R_RCX, (int64_t)R_R8, (void*)R_R9); } void vFpppipu(x64emu_t *emu, uintptr_t fcn) { vFpppipu_t fn = (vFpppipu_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (int64_t)R_RCX, (void*)R_R8, (uint64_t)R_R9); } void vFppppii(x64emu_t *emu, uintptr_t fcn) { vFppppii_t fn = (vFppppii_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (int64_t)R_R8, (int64_t)R_R9); } void vFpppppi(x64emu_t *emu, uintptr_t fcn) { vFpppppi_t fn = (vFpppppi_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8, (int64_t)R_R9); } @@ -2199,19 +2232,25 @@ void pFEpuppp(x64emu_t *emu, uintptr_t fcn) { pFEpuppp_t fn = (pFEpuppp_t)fcn; R void pFEpLLiN(x64emu_t *emu, uintptr_t fcn) { pFEpLLiN_t fn = (pFEpLLiN_t)fcn; R_RAX=(uintptr_t)fn(emu, (void*)R_RDI, (uintptr_t)R_RSI, (uintptr_t)R_RDX, (int64_t)R_RCX, (void*)R_R8); } void pFEppLLp(x64emu_t *emu, uintptr_t fcn) { pFEppLLp_t fn = (pFEppLLp_t)fcn; R_RAX=(uintptr_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (uintptr_t)R_RDX, (uintptr_t)R_RCX, (void*)R_R8); } void pFEpppLp(x64emu_t *emu, uintptr_t fcn) { pFEpppLp_t fn = (pFEpppLp_t)fcn; R_RAX=(uintptr_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (uintptr_t)R_RCX, (void*)R_R8); } +void pFEppppi(x64emu_t *emu, uintptr_t fcn) { pFEppppi_t fn = (pFEppppi_t)fcn; R_RAX=(uintptr_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (int64_t)R_R8); } void pFEppppp(x64emu_t *emu, uintptr_t fcn) { pFEppppp_t fn = (pFEppppp_t)fcn; R_RAX=(uintptr_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8); } void pFiCiiCi(x64emu_t *emu, uintptr_t fcn) { pFiCiiCi_t fn = (pFiCiiCi_t)fcn; R_RAX=(uintptr_t)fn((int64_t)R_RDI, (uint8_t)R_RSI, (int64_t)R_RDX, (int64_t)R_RCX, (uint8_t)R_R8, (int64_t)R_R9); } void pFdddddd(x64emu_t *emu, uintptr_t fcn) { pFdddddd_t fn = (pFdddddd_t)fcn; R_RAX=(uintptr_t)fn(emu->xmm[0].d[0], emu->xmm[1].d[0], emu->xmm[2].d[0], emu->xmm[3].d[0], emu->xmm[4].d[0], emu->xmm[5].d[0]); } void pFpiiiiu(x64emu_t *emu, uintptr_t fcn) { pFpiiiiu_t fn = (pFpiiiiu_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (int64_t)R_RSI, (int64_t)R_RDX, (int64_t)R_RCX, (int64_t)R_R8, (uint64_t)R_R9); } +void pFpiiCCC(x64emu_t *emu, uintptr_t fcn) { pFpiiCCC_t fn = (pFpiiCCC_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (int64_t)R_RSI, (int64_t)R_RDX, (uint8_t)R_RCX, (uint8_t)R_R8, (uint8_t)R_R9); } void pFpippip(x64emu_t *emu, uintptr_t fcn) { pFpippip_t fn = (pFpippip_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (int64_t)R_RSI, (void*)R_RDX, (void*)R_RCX, (int64_t)R_R8, (void*)R_R9); } void pFpCuuCC(x64emu_t *emu, uintptr_t fcn) { pFpCuuCC_t fn = (pFpCuuCC_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uint8_t)R_RSI, (uint64_t)R_RDX, (uint64_t)R_RCX, (uint8_t)R_R8, (uint8_t)R_R9); } void pFpCuuWW(x64emu_t *emu, uintptr_t fcn) { pFpCuuWW_t fn = (pFpCuuWW_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uint8_t)R_RSI, (uint64_t)R_RDX, (uint64_t)R_RCX, (uint16_t)R_R8, (uint16_t)R_R9); } void pFpCuuup(x64emu_t *emu, uintptr_t fcn) { pFpCuuup_t fn = (pFpCuuup_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uint8_t)R_RSI, (uint64_t)R_RDX, (uint64_t)R_RCX, (uint64_t)R_R8, (void*)R_R9); } void pFpuuuuu(x64emu_t *emu, uintptr_t fcn) { pFpuuuuu_t fn = (pFpuuuuu_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uint64_t)R_RSI, (uint64_t)R_RDX, (uint64_t)R_RCX, (uint64_t)R_R8, (uint64_t)R_R9); } void pFppiiii(x64emu_t *emu, uintptr_t fcn) { pFppiiii_t fn = (pFppiiii_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (int64_t)R_RDX, (int64_t)R_RCX, (int64_t)R_R8, (int64_t)R_R9); } +void pFppiCCC(x64emu_t *emu, uintptr_t fcn) { pFppiCCC_t fn = (pFppiCCC_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (int64_t)R_RDX, (uint8_t)R_RCX, (uint8_t)R_R8, (uint8_t)R_R9); } +void pFppippi(x64emu_t *emu, uintptr_t fcn) { pFppippi_t fn = (pFppippi_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (int64_t)R_RDX, (void*)R_RCX, (void*)R_R8, (int64_t)R_R9); } +void pFppippp(x64emu_t *emu, uintptr_t fcn) { pFppippp_t fn = (pFppippp_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (int64_t)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9); } void pFpppppu(x64emu_t *emu, uintptr_t fcn) { pFpppppu_t fn = (pFpppppu_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8, (uint64_t)R_R9); } void pFpppppp(x64emu_t *emu, uintptr_t fcn) { pFpppppp_t fn = (pFpppppp_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9); } void pFSpiiii(x64emu_t *emu, uintptr_t fcn) { pFSpiiii_t fn = (pFSpiiii_t)fcn; R_RAX=(uintptr_t)fn(io_convert((void*)R_RDI), (void*)R_RSI, (int64_t)R_RDX, (int64_t)R_RCX, (int64_t)R_R8, (int64_t)R_R9); } +void vFEpppppp(x64emu_t *emu, uintptr_t fcn) { vFEpppppp_t fn = (vFEpppppp_t)fcn; fn(emu, (void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9); } void vFiiiiiip(x64emu_t *emu, uintptr_t fcn) { vFiiiiiip_t fn = (vFiiiiiip_t)fcn; fn((int64_t)R_RDI, (int64_t)R_RSI, (int64_t)R_RDX, (int64_t)R_RCX, (int64_t)R_R8, (int64_t)R_R9, *(void**)(R_RSP + 8)); } void vFiiiiuup(x64emu_t *emu, uintptr_t fcn) { vFiiiiuup_t fn = (vFiiiiuup_t)fcn; fn((int64_t)R_RDI, (int64_t)R_RSI, (int64_t)R_RDX, (int64_t)R_RCX, (uint64_t)R_R8, (uint64_t)R_R9, *(void**)(R_RSP + 8)); } void vFiiupuip(x64emu_t *emu, uintptr_t fcn) { vFiiupuip_t fn = (vFiiupuip_t)fcn; fn((int64_t)R_RDI, (int64_t)R_RSI, (uint64_t)R_RDX, (void*)R_RCX, (uint64_t)R_R8, (int64_t)R_R9, *(void**)(R_RSP + 8)); } @@ -2261,6 +2300,7 @@ void vFppLpppi(x64emu_t *emu, uintptr_t fcn) { vFppLpppi_t fn = (vFppLpppi_t)fcn void vFppLpppp(x64emu_t *emu, uintptr_t fcn) { vFppLpppp_t fn = (vFppLpppp_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (uintptr_t)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9, *(void**)(R_RSP + 8)); } void vFpppiiii(x64emu_t *emu, uintptr_t fcn) { vFpppiiii_t fn = (vFpppiiii_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (int64_t)R_RCX, (int64_t)R_R8, (int64_t)R_R9, *(int64_t*)(R_RSP + 8)); } void vFpppiipi(x64emu_t *emu, uintptr_t fcn) { vFpppiipi_t fn = (vFpppiipi_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (int64_t)R_RCX, (int64_t)R_R8, (void*)R_R9, *(int64_t*)(R_RSP + 8)); } +void vFpppiipp(x64emu_t *emu, uintptr_t fcn) { vFpppiipp_t fn = (vFpppiipp_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (int64_t)R_RCX, (int64_t)R_R8, (void*)R_R9, *(void**)(R_RSP + 8)); } void vFpppuuuu(x64emu_t *emu, uintptr_t fcn) { vFpppuuuu_t fn = (vFpppuuuu_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (uint64_t)R_RCX, (uint64_t)R_R8, (uint64_t)R_R9, *(uint64_t*)(R_RSP + 8)); } void vFppppipi(x64emu_t *emu, uintptr_t fcn) { vFppppipi_t fn = (vFppppipi_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (int64_t)R_R8, (void*)R_R9, *(int64_t*)(R_RSP + 8)); } void iFEpLiLpV(x64emu_t *emu, uintptr_t fcn) { iFEpLiLpV_t fn = (iFEpLiLpV_t)fcn; R_RAX=(int64_t)fn(emu, (void*)R_RDI, (uintptr_t)R_RSI, (int64_t)R_RDX, (uintptr_t)R_RCX, (void*)R_R8, (void*)(R_RSP + 8)); } @@ -2293,6 +2333,8 @@ void iFpppiiuu(x64emu_t *emu, uintptr_t fcn) { iFpppiiuu_t fn = (iFpppiiuu_t)fcn void iFpppiiup(x64emu_t *emu, uintptr_t fcn) { iFpppiiup_t fn = (iFpppiiup_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (int64_t)R_RCX, (int64_t)R_R8, (uint64_t)R_R9, *(void**)(R_RSP + 8)); } void iFpppiipi(x64emu_t *emu, uintptr_t fcn) { iFpppiipi_t fn = (iFpppiipi_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (int64_t)R_RCX, (int64_t)R_R8, (void*)R_R9, *(int64_t*)(R_RSP + 8)); } void iFpppiuwu(x64emu_t *emu, uintptr_t fcn) { iFpppiuwu_t fn = (iFpppiuwu_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (int64_t)R_RCX, (uint64_t)R_R8, (int16_t)R_R9, *(uint64_t*)(R_RSP + 8)); } +void iFpppippi(x64emu_t *emu, uintptr_t fcn) { iFpppippi_t fn = (iFpppippi_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (int64_t)R_RCX, (void*)R_R8, (void*)R_R9, *(int64_t*)(R_RSP + 8)); } +void iFpppippp(x64emu_t *emu, uintptr_t fcn) { iFpppippp_t fn = (iFpppippp_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (int64_t)R_RCX, (void*)R_R8, (void*)R_R9, *(void**)(R_RSP + 8)); } void iFpppuiii(x64emu_t *emu, uintptr_t fcn) { iFpppuiii_t fn = (iFpppuiii_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (uint64_t)R_RCX, (int64_t)R_R8, (int64_t)R_R9, *(int64_t*)(R_RSP + 8)); } void iFppppiii(x64emu_t *emu, uintptr_t fcn) { iFppppiii_t fn = (iFppppiii_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (int64_t)R_R8, (int64_t)R_R9, *(int64_t*)(R_RSP + 8)); } void iFppppdpi(x64emu_t *emu, uintptr_t fcn) { iFppppdpi_t fn = (iFppppdpi_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, emu->xmm[0].d[0], (void*)R_R8, (int64_t)R_R9); } @@ -2307,6 +2349,7 @@ void pFpCuwwWW(x64emu_t *emu, uintptr_t fcn) { pFpCuwwWW_t fn = (pFpCuwwWW_t)fcn void pFpCuWCCC(x64emu_t *emu, uintptr_t fcn) { pFpCuWCCC_t fn = (pFpCuWCCC_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uint8_t)R_RSI, (uint64_t)R_RDX, (uint16_t)R_RCX, (uint8_t)R_R8, (uint8_t)R_R9, *(uint8_t*)(R_RSP + 8)); } void pFpCuuwwp(x64emu_t *emu, uintptr_t fcn) { pFpCuuwwp_t fn = (pFpCuuwwp_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uint8_t)R_RSI, (uint64_t)R_RDX, (uint64_t)R_RCX, (int16_t)R_R8, (int16_t)R_R9, *(void**)(R_RSP + 8)); } void pFpCuuuuu(x64emu_t *emu, uintptr_t fcn) { pFpCuuuuu_t fn = (pFpCuuuuu_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uint8_t)R_RSI, (uint64_t)R_RDX, (uint64_t)R_RCX, (uint64_t)R_R8, (uint64_t)R_R9, *(uint64_t*)(R_RSP + 8)); } +void pFppiiCCC(x64emu_t *emu, uintptr_t fcn) { pFppiiCCC_t fn = (pFppiiCCC_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (int64_t)R_RDX, (int64_t)R_RCX, (uint8_t)R_R8, (uint8_t)R_R9, *(uint8_t*)(R_RSP + 8)); } void pFppuuppp(x64emu_t *emu, uintptr_t fcn) { pFppuuppp_t fn = (pFppuuppp_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (uint64_t)R_RDX, (uint64_t)R_RCX, (void*)R_R8, (void*)R_R9, *(void**)(R_RSP + 8)); } void pFpppuupp(x64emu_t *emu, uintptr_t fcn) { pFpppuupp_t fn = (pFpppuupp_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (uint64_t)R_RCX, (uint64_t)R_R8, (void*)R_R9, *(void**)(R_RSP + 8)); } void pFppppuuu(x64emu_t *emu, uintptr_t fcn) { pFppppuuu_t fn = (pFppppuuu_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (uint64_t)R_R8, (uint64_t)R_R9, *(uint64_t*)(R_RSP + 8)); } @@ -2355,6 +2398,7 @@ void iFpppiippp(x64emu_t *emu, uintptr_t fcn) { iFpppiippp_t fn = (iFpppiippp_t) void iFpppipipi(x64emu_t *emu, uintptr_t fcn) { iFpppipipi_t fn = (iFpppipipi_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (int64_t)R_RCX, (void*)R_R8, (int64_t)R_R9, *(void**)(R_RSP + 8), *(int64_t*)(R_RSP + 16)); } void iFpppipppp(x64emu_t *emu, uintptr_t fcn) { iFpppipppp_t fn = (iFpppipppp_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (int64_t)R_RCX, (void*)R_R8, (void*)R_R9, *(void**)(R_RSP + 8), *(void**)(R_RSP + 16)); } void iFppppiipi(x64emu_t *emu, uintptr_t fcn) { iFppppiipi_t fn = (iFppppiipi_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (int64_t)R_R8, (int64_t)R_R9, *(void**)(R_RSP + 8), *(int64_t*)(R_RSP + 16)); } +void iFppppppii(x64emu_t *emu, uintptr_t fcn) { iFppppppii_t fn = (iFppppppii_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9, *(int64_t*)(R_RSP + 8), *(int64_t*)(R_RSP + 16)); } void iFpppppppp(x64emu_t *emu, uintptr_t fcn) { iFpppppppp_t fn = (iFpppppppp_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9, *(void**)(R_RSP + 8), *(void**)(R_RSP + 16)); } void uFuipppppp(x64emu_t *emu, uintptr_t fcn) { uFuipppppp_t fn = (uFuipppppp_t)fcn; R_RAX=(uint64_t)fn((uint64_t)R_RDI, (int64_t)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9, *(void**)(R_RSP + 8), *(void**)(R_RSP + 16)); } void pFEppppppp(x64emu_t *emu, uintptr_t fcn) { pFEppppppp_t fn = (pFEppppppp_t)fcn; R_RAX=(uintptr_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9, *(void**)(R_RSP + 8)); } @@ -2385,6 +2429,7 @@ void vFpipppiipi(x64emu_t *emu, uintptr_t fcn) { vFpipppiipi_t fn = (vFpipppiipi void vFppiiipiii(x64emu_t *emu, uintptr_t fcn) { vFppiiipiii_t fn = (vFppiiipiii_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (int64_t)R_RDX, (int64_t)R_RCX, (int64_t)R_R8, (void*)R_R9, *(int64_t*)(R_RSP + 8), *(int64_t*)(R_RSP + 16), *(int64_t*)(R_RSP + 24)); } void vFppuuiiiii(x64emu_t *emu, uintptr_t fcn) { vFppuuiiiii_t fn = (vFppuuiiiii_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (uint64_t)R_RDX, (uint64_t)R_RCX, (int64_t)R_R8, (int64_t)R_R9, *(int64_t*)(R_RSP + 8), *(int64_t*)(R_RSP + 16), *(int64_t*)(R_RSP + 24)); } void vFpplpppppi(x64emu_t *emu, uintptr_t fcn) { vFpplpppppi_t fn = (vFpplpppppi_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (intptr_t)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9, *(void**)(R_RSP + 8), *(void**)(R_RSP + 16), *(int64_t*)(R_RSP + 24)); } +void vFppppipiip(x64emu_t *emu, uintptr_t fcn) { vFppppipiip_t fn = (vFppppipiip_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (int64_t)R_R8, (void*)R_R9, *(int64_t*)(R_RSP + 8), *(int64_t*)(R_RSP + 16), *(void**)(R_RSP + 24)); } void vFpppppippp(x64emu_t *emu, uintptr_t fcn) { vFpppppippp_t fn = (vFpppppippp_t)fcn; fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8, (int64_t)R_R9, *(void**)(R_RSP + 8), *(void**)(R_RSP + 16), *(void**)(R_RSP + 24)); } void iFEpiiiiipi(x64emu_t *emu, uintptr_t fcn) { iFEpiiiiipi_t fn = (iFEpiiiiipi_t)fcn; R_RAX=(int64_t)fn(emu, (void*)R_RDI, (int64_t)R_RSI, (int64_t)R_RDX, (int64_t)R_RCX, (int64_t)R_R8, (int64_t)R_R9, *(void**)(R_RSP + 8), *(int64_t*)(R_RSP + 16)); } void iFEppplPPPP(x64emu_t *emu, uintptr_t fcn) { iFEppplPPPP_t fn = (iFEppplPPPP_t)fcn; R_RAX=(int64_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (intptr_t)R_RCX, *(void**)(R_RSP + 8), *(void**)(R_RSP + 16), *(void**)(R_RSP + 24), *(void**)(R_RSP + 32)); } @@ -2408,6 +2453,7 @@ void pFpuuwwWWww(x64emu_t *emu, uintptr_t fcn) { pFpuuwwWWww_t fn = (pFpuuwwWWww void pFppiiiiiip(x64emu_t *emu, uintptr_t fcn) { pFppiiiiiip_t fn = (pFppiiiiiip_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (int64_t)R_RDX, (int64_t)R_RCX, (int64_t)R_R8, (int64_t)R_R9, *(int64_t*)(R_RSP + 8), *(int64_t*)(R_RSP + 16), *(void**)(R_RSP + 24)); } void pFppiiuuuLL(x64emu_t *emu, uintptr_t fcn) { pFppiiuuuLL_t fn = (pFppiiuuuLL_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (int64_t)R_RDX, (int64_t)R_RCX, (uint64_t)R_R8, (uint64_t)R_R9, *(uint64_t*)(R_RSP + 8), *(uintptr_t*)(R_RSP + 16), *(uintptr_t*)(R_RSP + 24)); } void pFppipppppp(x64emu_t *emu, uintptr_t fcn) { pFppipppppp_t fn = (pFppipppppp_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (int64_t)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9, *(void**)(R_RSP + 8), *(void**)(R_RSP + 16), *(void**)(R_RSP + 24)); } +void pFpppppiipp(x64emu_t *emu, uintptr_t fcn) { pFpppppiipp_t fn = (pFpppppiipp_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8, (int64_t)R_R9, *(int64_t*)(R_RSP + 8), *(void**)(R_RSP + 16), *(void**)(R_RSP + 24)); } void vFiiiiiiiiiu(x64emu_t *emu, uintptr_t fcn) { vFiiiiiiiiiu_t fn = (vFiiiiiiiiiu_t)fcn; fn((int64_t)R_RDI, (int64_t)R_RSI, (int64_t)R_RDX, (int64_t)R_RCX, (int64_t)R_R8, (int64_t)R_R9, *(int64_t*)(R_RSP + 8), *(int64_t*)(R_RSP + 16), *(int64_t*)(R_RSP + 24), *(uint64_t*)(R_RSP + 32)); } void vFuiiiiiiiii(x64emu_t *emu, uintptr_t fcn) { vFuiiiiiiiii_t fn = (vFuiiiiiiiii_t)fcn; fn((uint64_t)R_RDI, (int64_t)R_RSI, (int64_t)R_RDX, (int64_t)R_RCX, (int64_t)R_R8, (int64_t)R_R9, *(int64_t*)(R_RSP + 8), *(int64_t*)(R_RSP + 16), *(int64_t*)(R_RSP + 24), *(int64_t*)(R_RSP + 32)); } void vFuiiiiiiuup(x64emu_t *emu, uintptr_t fcn) { vFuiiiiiiuup_t fn = (vFuiiiiiiuup_t)fcn; fn((uint64_t)R_RDI, (int64_t)R_RSI, (int64_t)R_RDX, (int64_t)R_RCX, (int64_t)R_R8, (int64_t)R_R9, *(int64_t*)(R_RSP + 8), *(uint64_t*)(R_RSP + 16), *(uint64_t*)(R_RSP + 24), *(void**)(R_RSP + 32)); } @@ -2543,6 +2589,7 @@ int isSimpleWrapper(wrapper_t fun) { if (fun == &IFf) return 1; if (fun == &IFd) return 1; if (fun == &IFp) return 1; + if (fun == &CFp) return 1; if (fun == &WFi) return 1; if (fun == &WFW) return 1; if (fun == &WFp) return 1; @@ -2733,6 +2780,7 @@ int isSimpleWrapper(wrapper_t fun) { if (fun == &iFiip) return 1; if (fun == &iFiuu) return 1; if (fun == &iFiLi) return 1; + if (fun == &iFipi) return 1; if (fun == &iFipu) return 1; if (fun == &iFipL) return 1; if (fun == &iFipp) return 1; @@ -3005,6 +3053,7 @@ int isSimpleWrapper(wrapper_t fun) { if (fun == &LFpppp) return 1; if (fun == &pFiiiu) return 1; if (fun == &pFiiup) return 1; + if (fun == &pFippi) return 1; if (fun == &pFippL) return 1; if (fun == &pFuiii) return 1; if (fun == &pFulli) return 1; @@ -3171,6 +3220,7 @@ int isSimpleWrapper(wrapper_t fun) { if (fun == &LFpLppL) return 1; if (fun == &LFpLppp) return 1; if (fun == &LFppLLp) return 1; + if (fun == &LFpppii) return 1; if (fun == &LFppppp) return 1; if (fun == &pFipipL) return 1; if (fun == &pFuiiiu) return 1; @@ -3180,6 +3230,7 @@ int isSimpleWrapper(wrapper_t fun) { if (fun == &pFpiipi) return 1; if (fun == &pFpiipp) return 1; if (fun == &pFpiuuu) return 1; + if (fun == &pFpippi) return 1; if (fun == &pFpippp) return 1; if (fun == &pFpCpup) return 1; if (fun == &pFpCppp) return 1; @@ -3190,6 +3241,7 @@ int isSimpleWrapper(wrapper_t fun) { if (fun == &pFpuuup) return 1; if (fun == &pFpdddd) return 1; if (fun == &pFppiii) return 1; + if (fun == &pFppiip) return 1; if (fun == &pFppipi) return 1; if (fun == &pFppipp) return 1; if (fun == &pFppuuu) return 1; @@ -3250,12 +3302,14 @@ int isSimpleWrapper(wrapper_t fun) { if (fun == &vFppiipi) return 1; if (fun == &vFppilpp) return 1; if (fun == &vFppippi) return 1; + if (fun == &vFppippp) return 1; if (fun == &vFppupii) return 1; if (fun == &vFpplppi) return 1; if (fun == &vFpplppp) return 1; if (fun == &vFppLppi) return 1; if (fun == &vFppLppp) return 1; if (fun == &vFpppiii) return 1; + if (fun == &vFpppiip) return 1; if (fun == &vFpppipu) return 1; if (fun == &vFppppii) return 1; if (fun == &vFpppppi) return 1; @@ -3308,12 +3362,16 @@ int isSimpleWrapper(wrapper_t fun) { if (fun == &LFpipipi) return 1; if (fun == &pFiCiiCi) return 1; if (fun == &pFpiiiiu) return 1; + if (fun == &pFpiiCCC) return 1; if (fun == &pFpippip) return 1; if (fun == &pFpCuuCC) return 1; if (fun == &pFpCuuWW) return 1; if (fun == &pFpCuuup) return 1; if (fun == &pFpuuuuu) return 1; if (fun == &pFppiiii) return 1; + if (fun == &pFppiCCC) return 1; + if (fun == &pFppippi) return 1; + if (fun == &pFppippp) return 1; if (fun == &pFpppppu) return 1; if (fun == &pFpppppp) return 1; if (fun == &vFiiffffp) return 1; diff --git a/src/wrapped/generated/wrapper.h b/src/wrapped/generated/wrapper.h index e3bb9c06..3b28a0db 100644 --- a/src/wrapped/generated/wrapper.h +++ b/src/wrapped/generated/wrapper.h @@ -55,6 +55,7 @@ void iFS(x64emu_t *emu, uintptr_t fnc); void IFf(x64emu_t *emu, uintptr_t fnc); void IFd(x64emu_t *emu, uintptr_t fnc); void IFp(x64emu_t *emu, uintptr_t fnc); +void CFp(x64emu_t *emu, uintptr_t fnc); void WFi(x64emu_t *emu, uintptr_t fnc); void WFW(x64emu_t *emu, uintptr_t fnc); void WFp(x64emu_t *emu, uintptr_t fnc); @@ -284,6 +285,7 @@ void iFiiO(x64emu_t *emu, uintptr_t fnc); void iFiuu(x64emu_t *emu, uintptr_t fnc); void iFiLi(x64emu_t *emu, uintptr_t fnc); void iFiLN(x64emu_t *emu, uintptr_t fnc); +void iFipi(x64emu_t *emu, uintptr_t fnc); void iFipu(x64emu_t *emu, uintptr_t fnc); void iFipL(x64emu_t *emu, uintptr_t fnc); void iFipp(x64emu_t *emu, uintptr_t fnc); @@ -527,6 +529,7 @@ void iFpiup(x64emu_t *emu, uintptr_t fnc); void iFpipi(x64emu_t *emu, uintptr_t fnc); void iFpipC(x64emu_t *emu, uintptr_t fnc); void iFpipp(x64emu_t *emu, uintptr_t fnc); +void iFpipV(x64emu_t *emu, uintptr_t fnc); void iFpCCC(x64emu_t *emu, uintptr_t fnc); void iFpWWu(x64emu_t *emu, uintptr_t fnc); void iFpuiL(x64emu_t *emu, uintptr_t fnc); @@ -603,6 +606,7 @@ void pFEppi(x64emu_t *emu, uintptr_t fnc); void pFEppp(x64emu_t *emu, uintptr_t fnc); void pFiiiu(x64emu_t *emu, uintptr_t fnc); void pFiiup(x64emu_t *emu, uintptr_t fnc); +void pFippi(x64emu_t *emu, uintptr_t fnc); void pFippL(x64emu_t *emu, uintptr_t fnc); void pFuiii(x64emu_t *emu, uintptr_t fnc); void pFulli(x64emu_t *emu, uintptr_t fnc); @@ -789,6 +793,7 @@ void LFpLLLp(x64emu_t *emu, uintptr_t fnc); void LFpLppL(x64emu_t *emu, uintptr_t fnc); void LFpLppp(x64emu_t *emu, uintptr_t fnc); void LFppLLp(x64emu_t *emu, uintptr_t fnc); +void LFpppii(x64emu_t *emu, uintptr_t fnc); void LFppppp(x64emu_t *emu, uintptr_t fnc); void pFEpiii(x64emu_t *emu, uintptr_t fnc); void pFEpipL(x64emu_t *emu, uintptr_t fnc); @@ -796,6 +801,7 @@ void pFEpipp(x64emu_t *emu, uintptr_t fnc); void pFEpupp(x64emu_t *emu, uintptr_t fnc); void pFEppii(x64emu_t *emu, uintptr_t fnc); void pFEppip(x64emu_t *emu, uintptr_t fnc); +void pFEpppi(x64emu_t *emu, uintptr_t fnc); void pFEpppu(x64emu_t *emu, uintptr_t fnc); void pFEpppp(x64emu_t *emu, uintptr_t fnc); void pFipipL(x64emu_t *emu, uintptr_t fnc); @@ -806,6 +812,7 @@ void pFpiiuu(x64emu_t *emu, uintptr_t fnc); void pFpiipi(x64emu_t *emu, uintptr_t fnc); void pFpiipp(x64emu_t *emu, uintptr_t fnc); void pFpiuuu(x64emu_t *emu, uintptr_t fnc); +void pFpippi(x64emu_t *emu, uintptr_t fnc); void pFpippp(x64emu_t *emu, uintptr_t fnc); void pFpCpup(x64emu_t *emu, uintptr_t fnc); void pFpCppp(x64emu_t *emu, uintptr_t fnc); @@ -816,6 +823,7 @@ void pFpuuWW(x64emu_t *emu, uintptr_t fnc); void pFpuuup(x64emu_t *emu, uintptr_t fnc); void pFpdddd(x64emu_t *emu, uintptr_t fnc); void pFppiii(x64emu_t *emu, uintptr_t fnc); +void pFppiip(x64emu_t *emu, uintptr_t fnc); void pFppipi(x64emu_t *emu, uintptr_t fnc); void pFppipp(x64emu_t *emu, uintptr_t fnc); void pFppuuu(x64emu_t *emu, uintptr_t fnc); @@ -885,12 +893,14 @@ void vFppiiip(x64emu_t *emu, uintptr_t fnc); void vFppiipi(x64emu_t *emu, uintptr_t fnc); void vFppilpp(x64emu_t *emu, uintptr_t fnc); void vFppippi(x64emu_t *emu, uintptr_t fnc); +void vFppippp(x64emu_t *emu, uintptr_t fnc); void vFppupii(x64emu_t *emu, uintptr_t fnc); void vFpplppi(x64emu_t *emu, uintptr_t fnc); void vFpplppp(x64emu_t *emu, uintptr_t fnc); void vFppLppi(x64emu_t *emu, uintptr_t fnc); void vFppLppp(x64emu_t *emu, uintptr_t fnc); void vFpppiii(x64emu_t *emu, uintptr_t fnc); +void vFpppiip(x64emu_t *emu, uintptr_t fnc); void vFpppipu(x64emu_t *emu, uintptr_t fnc); void vFppppii(x64emu_t *emu, uintptr_t fnc); void vFpppppi(x64emu_t *emu, uintptr_t fnc); @@ -957,19 +967,25 @@ void pFEpuppp(x64emu_t *emu, uintptr_t fnc); void pFEpLLiN(x64emu_t *emu, uintptr_t fnc); void pFEppLLp(x64emu_t *emu, uintptr_t fnc); void pFEpppLp(x64emu_t *emu, uintptr_t fnc); +void pFEppppi(x64emu_t *emu, uintptr_t fnc); void pFEppppp(x64emu_t *emu, uintptr_t fnc); void pFiCiiCi(x64emu_t *emu, uintptr_t fnc); void pFdddddd(x64emu_t *emu, uintptr_t fnc); void pFpiiiiu(x64emu_t *emu, uintptr_t fnc); +void pFpiiCCC(x64emu_t *emu, uintptr_t fnc); void pFpippip(x64emu_t *emu, uintptr_t fnc); void pFpCuuCC(x64emu_t *emu, uintptr_t fnc); void pFpCuuWW(x64emu_t *emu, uintptr_t fnc); void pFpCuuup(x64emu_t *emu, uintptr_t fnc); void pFpuuuuu(x64emu_t *emu, uintptr_t fnc); void pFppiiii(x64emu_t *emu, uintptr_t fnc); +void pFppiCCC(x64emu_t *emu, uintptr_t fnc); +void pFppippi(x64emu_t *emu, uintptr_t fnc); +void pFppippp(x64emu_t *emu, uintptr_t fnc); void pFpppppu(x64emu_t *emu, uintptr_t fnc); void pFpppppp(x64emu_t *emu, uintptr_t fnc); void pFSpiiii(x64emu_t *emu, uintptr_t fnc); +void vFEpppppp(x64emu_t *emu, uintptr_t fnc); void vFiiiiiip(x64emu_t *emu, uintptr_t fnc); void vFiiiiuup(x64emu_t *emu, uintptr_t fnc); void vFiiupuip(x64emu_t *emu, uintptr_t fnc); @@ -1019,6 +1035,7 @@ void vFppLpppi(x64emu_t *emu, uintptr_t fnc); void vFppLpppp(x64emu_t *emu, uintptr_t fnc); void vFpppiiii(x64emu_t *emu, uintptr_t fnc); void vFpppiipi(x64emu_t *emu, uintptr_t fnc); +void vFpppiipp(x64emu_t *emu, uintptr_t fnc); void vFpppuuuu(x64emu_t *emu, uintptr_t fnc); void vFppppipi(x64emu_t *emu, uintptr_t fnc); void iFEpLiLpV(x64emu_t *emu, uintptr_t fnc); @@ -1051,6 +1068,8 @@ void iFpppiiuu(x64emu_t *emu, uintptr_t fnc); void iFpppiiup(x64emu_t *emu, uintptr_t fnc); void iFpppiipi(x64emu_t *emu, uintptr_t fnc); void iFpppiuwu(x64emu_t *emu, uintptr_t fnc); +void iFpppippi(x64emu_t *emu, uintptr_t fnc); +void iFpppippp(x64emu_t *emu, uintptr_t fnc); void iFpppuiii(x64emu_t *emu, uintptr_t fnc); void iFppppiii(x64emu_t *emu, uintptr_t fnc); void iFppppdpi(x64emu_t *emu, uintptr_t fnc); @@ -1065,6 +1084,7 @@ void pFpCuwwWW(x64emu_t *emu, uintptr_t fnc); void pFpCuWCCC(x64emu_t *emu, uintptr_t fnc); void pFpCuuwwp(x64emu_t *emu, uintptr_t fnc); void pFpCuuuuu(x64emu_t *emu, uintptr_t fnc); +void pFppiiCCC(x64emu_t *emu, uintptr_t fnc); void pFppuuppp(x64emu_t *emu, uintptr_t fnc); void pFpppuupp(x64emu_t *emu, uintptr_t fnc); void pFppppuuu(x64emu_t *emu, uintptr_t fnc); @@ -1113,6 +1133,7 @@ void iFpppiippp(x64emu_t *emu, uintptr_t fnc); void iFpppipipi(x64emu_t *emu, uintptr_t fnc); void iFpppipppp(x64emu_t *emu, uintptr_t fnc); void iFppppiipi(x64emu_t *emu, uintptr_t fnc); +void iFppppppii(x64emu_t *emu, uintptr_t fnc); void iFpppppppp(x64emu_t *emu, uintptr_t fnc); void uFuipppppp(x64emu_t *emu, uintptr_t fnc); void pFEppppppp(x64emu_t *emu, uintptr_t fnc); @@ -1143,6 +1164,7 @@ void vFpipppiipi(x64emu_t *emu, uintptr_t fnc); void vFppiiipiii(x64emu_t *emu, uintptr_t fnc); void vFppuuiiiii(x64emu_t *emu, uintptr_t fnc); void vFpplpppppi(x64emu_t *emu, uintptr_t fnc); +void vFppppipiip(x64emu_t *emu, uintptr_t fnc); void vFpppppippp(x64emu_t *emu, uintptr_t fnc); void iFEpiiiiipi(x64emu_t *emu, uintptr_t fnc); void iFEppplPPPP(x64emu_t *emu, uintptr_t fnc); @@ -1166,6 +1188,7 @@ void pFpuuwwWWww(x64emu_t *emu, uintptr_t fnc); void pFppiiiiiip(x64emu_t *emu, uintptr_t fnc); void pFppiiuuuLL(x64emu_t *emu, uintptr_t fnc); void pFppipppppp(x64emu_t *emu, uintptr_t fnc); +void pFpppppiipp(x64emu_t *emu, uintptr_t fnc); void vFiiiiiiiiiu(x64emu_t *emu, uintptr_t fnc); void vFuiiiiiiiii(x64emu_t *emu, uintptr_t fnc); void vFuiiiiiiuup(x64emu_t *emu, uintptr_t fnc); diff --git a/src/wrapped/wrappedxml2.c b/src/wrapped/wrappedxml2.c new file mode 100755 index 00000000..5c1e07fa --- /dev/null +++ b/src/wrapped/wrappedxml2.c @@ -0,0 +1,1427 @@ +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#define _GNU_SOURCE /* See feature_test_macros(7) */ +#include <dlfcn.h> + +#include "wrappedlibs.h" + +#include "debug.h" +#include "wrapper.h" +#include "bridge.h" +#include "librarian/library_private.h" +#include "x64emu.h" +#include "emu/x64emu_private.h" +#include "box64context.h" +#include "librarian.h" +#include "callback.h" + +const char* xml2Name = +#ifdef ANDROID + "libxml2.so" +#else + "libxml2.so.2" +#endif + ; +#define LIBNAME xml2 +static library_t *my_lib = NULL; + +typedef int (*iFv_t) (); +typedef void* (*pFv_t) (); +typedef void (*vFp_t) (void*); +typedef int (*iFp_t) (void*); +typedef void* (*pFpp_t) (void*, void*); +typedef void (*vFpp_t) (void*, void*); +typedef int (*iFppp_t) (void*, void*, void*); +typedef void (*vFppp_t) (void*, void*, void*); +typedef void* (*pFppp_t) (void*, void*, void*); +typedef void* (*pFpppi_t) (void*, void*, void*, int); +typedef int (*iFpppp_t) (void*, void*, void*, void*); +typedef void (*vFpppp_t) (void*, void*, void*, void*); +typedef void* (*pFpppp_t) (void*, void*, void*, void*); +typedef void* (*pFppppi_t) (void*, void*, void*, void*, int); +typedef int (*iFppppp_t) (void*, void*, void*, void*, void*); +typedef void (*vFppppp_t) (void*, void*, void*, void*, void*); +typedef int (*iFpppppp_t) (void*, void*, void*, void*, void*, void*); +typedef void (*vFpppppp_t) (void*, void*, void*, void*, void*, void*); + +#define SUPER() \ + GO(xmlHashCopy, pFpp_t) \ + GO(xmlHashFree, vFpp_t) \ + GO(xmlHashRemoveEntry, iFppp_t) \ + GO(xmlHashRemoveEntry2, iFpppp_t) \ + GO(xmlHashRemoveEntry3, iFppppp_t) \ + GO(xmlHashScan, vFppp_t) \ + GO(xmlHashScan3, vFpppppp_t) \ + GO(xmlHashScanFull, vFppp_t) \ + GO(xmlHashScanFull3, vFpppppp_t) \ + GO(xmlHashUpdateEntry, iFpppp_t) \ + GO(xmlHashUpdateEntry2, iFppppp_t) \ + GO(xmlHashUpdateEntry3, iFpppppp_t) \ + GO(xmlGetExternalEntityLoader, pFv_t) \ + GO(xmlNewCharEncodingHandler, pFppp_t) \ + GO(xmlOutputBufferCreateIO, pFpppp_t) \ + GO(xmlRegisterInputCallbacks, iFpppp_t) \ + GO(xmlSaveToIO, pFppppi_t) \ + GO(xmlSchemaSetParserErrors, vFpppp_t) \ + GO(xmlSchemaSetParserStructuredErrors, vFppp_t) \ + GO(xmlSchemaSetValidErrors, vFpppp_t) \ + GO(xmlSchemaSetValidStructuredErrors, vFppp_t) \ + GO(xmlSetExternalEntityLoader, vFp_t) \ + GO(xmlXPathRegisterFunc, iFppp_t) \ + GO(xmlParserInputBufferCreateIO, pFpppi_t) \ + GO(xmlInitMemory, iFv_t) \ + GO(xmlParseDocument, iFp_t) \ + +EXPORT uintptr_t my_xmlFree = 0; +EXPORT uintptr_t my_xmlMalloc = 0; +EXPORT uintptr_t my_xmlRealloc = 0; +EXPORT uintptr_t my_xmlMemStrdup = 0; + +void my_wrap_xmlFree(void* p) +{ + if(my_xmlFree){ + RunFunction(my_context, my_xmlFree, 1, p); + return; + } + free(p); +} +void* my_wrap_xmlMalloc(size_t s) +{ + if(my_xmlMalloc) + return (void*)RunFunction(my_context, my_xmlMalloc, 1, s); + else + return malloc(s); +} +void* my_wrap_xmlRealloc(void* p, size_t s) +{ + if(my_xmlRealloc) + return (void*)RunFunction(my_context, my_xmlRealloc, 2, p, s); + else + return realloc(p, s); +} +void* my_wrap_xmlMemStrdup(void* p) +{ + if(my_xmlMemStrdup) + return (void*)RunFunction(my_context, my_xmlMemStrdup, 1, p); + else + return strdup(p); +} + +typedef struct xml2_my_s { + // functions + #define GO(A, B) B A; + SUPER() + #undef GO +} xml2_my_t; + +void* getXml2My(library_t* lib) +{ + xml2_my_t* my = (xml2_my_t*)calloc(1, sizeof(xml2_my_t)); + #define GO(A, W) my->A = (W)dlsym(lib->priv.w.lib, #A); + SUPER() + #undef GO + void** p; + // wrap memory pointer + #define GO(A, W) \ + p=dlsym(lib->priv.w.lib, #A); \ + printf_log(LOG_DEBUG, "Wrapping %s=>%p(%p) from lixml2\n", #A, p, p?*p:NULL); \ + my_##A = (p && *p)?AddBridge(lib->priv.w.bridge, W, *p, 0, #A):0; \ + if(p) *p = my_wrap_##A + GO(xmlFree, vFp); + GO(xmlMalloc, pFL); + GO(xmlRealloc, pFpL); + GO(xmlMemStrdup, pFp); + #undef GO + return my; +} +#undef SUPER + +void freeXml2My(void* lib) +{ + //xml2_my_t *my = (xml2_my_t *)lib; +} + +#define SUPER() \ +GO(0) \ +GO(1) \ +GO(2) \ +GO(3) \ +GO(4) \ +GO(5) \ +GO(6) \ +GO(7) \ +GO(8) \ +GO(9) + +// xmlHashCopier ... +#define GO(A) \ +static uintptr_t my_xmlHashCopier_fct_##A = 0; \ +static void* my_xmlHashCopier_##A(void* a, void* b) \ +{ \ + return (void*)RunFunction(my_context, my_xmlHashCopier_fct_##A, 2, a, b); \ +} +SUPER() +#undef GO +static void* find_xmlHashCopier_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_xmlHashCopier_fct_##A == (uintptr_t)fct) return my_xmlHashCopier_##A; + SUPER() + #undef GO + #define GO(A) if(my_xmlHashCopier_fct_##A == 0) {my_xmlHashCopier_fct_##A = (uintptr_t)fct; return my_xmlHashCopier_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 xmlHashCopier callback\n"); + return NULL; +} +// xmlHashDeallocator ... +#define GO(A) \ +static uintptr_t my_xmlHashDeallocator_fct_##A = 0; \ +static void my_xmlHashDeallocator_##A(void* a, void* b) \ +{ \ + RunFunction(my_context, my_xmlHashDeallocator_fct_##A, 2, a, b); \ +} +SUPER() +#undef GO +static void* find_xmlHashDeallocator_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_xmlHashDeallocator_fct_##A == (uintptr_t)fct) return my_xmlHashDeallocator_##A; + SUPER() + #undef GO + #define GO(A) if(my_xmlHashDeallocator_fct_##A == 0) {my_xmlHashDeallocator_fct_##A = (uintptr_t)fct; return my_xmlHashDeallocator_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 xmlHashDeallocator callback\n"); + return NULL; +} +// xmlHashScanner ... +#define GO(A) \ +static uintptr_t my_xmlHashScanner_fct_##A = 0; \ +static void my_xmlHashScanner_##A(void* a, void* b, void* c) \ +{ \ + RunFunction(my_context, my_xmlHashScanner_fct_##A, 3, a, b, c); \ +} +SUPER() +#undef GO +static void* find_xmlHashScanner_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_xmlHashScanner_fct_##A == (uintptr_t)fct) return my_xmlHashScanner_##A; + SUPER() + #undef GO + #define GO(A) if(my_xmlHashScanner_fct_##A == 0) {my_xmlHashScanner_fct_##A = (uintptr_t)fct; return my_xmlHashScanner_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 xmlHashScanner callback\n"); + return NULL; +} +// xmlHashScannerFull ... +#define GO(A) \ +static uintptr_t my_xmlHashScannerFull_fct_##A = 0; \ +static void my_xmlHashScannerFull_##A(void* a, void* b, void* c, void* c2, void* c3)\ +{ \ + RunFunction(my_context, my_xmlHashScannerFull_fct_##A, 5, a, b, c, c2, c3); \ +} +SUPER() +#undef GO +static void* find_xmlHashScannerFull_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_xmlHashScannerFull_fct_##A == (uintptr_t)fct) return my_xmlHashScannerFull_##A; + SUPER() + #undef GO + #define GO(A) if(my_xmlHashScannerFull_fct_##A == 0) {my_xmlHashScannerFull_fct_##A = (uintptr_t)fct; return my_xmlHashScannerFull_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 xmlHashScannerFull callback\n"); + return NULL; +} +// xmlCharEncodingInputFunc ... +#define GO(A) \ +static uintptr_t my_xmlCharEncodingInputFunc_fct_##A = 0; \ +static int my_xmlCharEncodingInputFunc_##A(void* a, void* b, void* c, void* d) \ +{ \ + return RunFunction(my_context, my_xmlCharEncodingInputFunc_fct_##A, 4, a, b, c, d); \ +} +SUPER() +#undef GO +static void* find_xmlCharEncodingInputFunc_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_xmlCharEncodingInputFunc_fct_##A == (uintptr_t)fct) return my_xmlCharEncodingInputFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_xmlCharEncodingInputFunc_fct_##A == 0) {my_xmlCharEncodingInputFunc_fct_##A = (uintptr_t)fct; return my_xmlCharEncodingInputFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 xmlCharEncodingInputFunc callback\n"); + return NULL; +} +// xmlCharEncodingOutputFunc ... +#define GO(A) \ +static uintptr_t my_xmlCharEncodingOutputFunc_fct_##A = 0; \ +static int my_xmlCharEncodingOutputFunc_##A(void* a, void* b, void* c, void* d) \ +{ \ + return RunFunction(my_context, my_xmlCharEncodingOutputFunc_fct_##A, 4, a, b, c, d);\ +} +SUPER() +#undef GO +static void* find_xmlCharEncodingOutputFunc_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_xmlCharEncodingOutputFunc_fct_##A == (uintptr_t)fct) return my_xmlCharEncodingOutputFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_xmlCharEncodingOutputFunc_fct_##A == 0) {my_xmlCharEncodingOutputFunc_fct_##A = (uintptr_t)fct; return my_xmlCharEncodingOutputFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 xmlCharEncodingOutputFunc callback\n"); + return NULL; +} +// xmlOutputWriteCallback ... +#define GO(A) \ +static uintptr_t my_xmlOutputWriteCallback_fct_##A = 0; \ +static int my_xmlOutputWriteCallback_##A(void* a, void* b, int c) \ +{ \ + return RunFunction(my_context, my_xmlOutputWriteCallback_fct_##A, 3, a, b, c); \ +} +SUPER() +#undef GO +static void* find_xmlOutputWriteCallback_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_xmlOutputWriteCallback_fct_##A == (uintptr_t)fct) return my_xmlOutputWriteCallback_##A; + SUPER() + #undef GO + #define GO(A) if(my_xmlOutputWriteCallback_fct_##A == 0) {my_xmlOutputWriteCallback_fct_##A = (uintptr_t)fct; return my_xmlOutputWriteCallback_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 xmlOutputWriteCallback callback\n"); + return NULL; +} +// xmlOutputCloseCallback ... +#define GO(A) \ +static uintptr_t my_xmlOutputCloseCallback_fct_##A = 0; \ +static int my_xmlOutputCloseCallback_##A(void* a) \ +{ \ + return RunFunction(my_context, my_xmlOutputCloseCallback_fct_##A, 1, a); \ +} +SUPER() +#undef GO +static void* find_xmlOutputCloseCallback_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_xmlOutputCloseCallback_fct_##A == (uintptr_t)fct) return my_xmlOutputCloseCallback_##A; + SUPER() + #undef GO + #define GO(A) if(my_xmlOutputCloseCallback_fct_##A == 0) {my_xmlOutputCloseCallback_fct_##A = (uintptr_t)fct; return my_xmlOutputCloseCallback_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 xmlOutputCloseCallback callback\n"); + return NULL; +} +// xmlInputMatchCallback ... +#define GO(A) \ +static uintptr_t my_xmlInputMatchCallback_fct_##A = 0; \ +static int my_xmlInputMatchCallback_##A(void* a) \ +{ \ + return RunFunction(my_context, my_xmlInputMatchCallback_fct_##A, 1, a); \ +} +SUPER() +#undef GO +static void* find_xmlInputMatchCallback_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_xmlInputMatchCallback_fct_##A == (uintptr_t)fct) return my_xmlInputMatchCallback_##A; + SUPER() + #undef GO + #define GO(A) if(my_xmlInputMatchCallback_fct_##A == 0) {my_xmlInputMatchCallback_fct_##A = (uintptr_t)fct; return my_xmlInputMatchCallback_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 xmlInputMatchCallback callback\n"); + return NULL; +} +// xmlInputOpenCallback ... +#define GO(A) \ +static uintptr_t my_xmlInputOpenCallback_fct_##A = 0; \ +static void* my_xmlInputOpenCallback_##A(void* a) \ +{ \ + return (void*)RunFunction(my_context, my_xmlInputOpenCallback_fct_##A, 1, a); \ +} +SUPER() +#undef GO +static void* find_xmlInputOpenCallback_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_xmlInputOpenCallback_fct_##A == (uintptr_t)fct) return my_xmlInputOpenCallback_##A; + SUPER() + #undef GO + #define GO(A) if(my_xmlInputOpenCallback_fct_##A == 0) {my_xmlInputOpenCallback_fct_##A = (uintptr_t)fct; return my_xmlInputOpenCallback_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 xmlInputOpenCallback callback\n"); + return NULL; +} +// xmlInputReadCallback ... +#define GO(A) \ +static uintptr_t my_xmlInputReadCallback_fct_##A = 0; \ +static int my_xmlInputReadCallback_##A(void* a, void* b, int c) \ +{ \ + return RunFunction(my_context, my_xmlInputReadCallback_fct_##A, 3, a, b, c); \ +} +SUPER() +#undef GO +static void* find_xmlInputReadCallback_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_xmlInputReadCallback_fct_##A == (uintptr_t)fct) return my_xmlInputReadCallback_##A; + SUPER() + #undef GO + #define GO(A) if(my_xmlInputReadCallback_fct_##A == 0) {my_xmlInputReadCallback_fct_##A = (uintptr_t)fct; return my_xmlInputReadCallback_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 xmlInputReadCallback callback\n"); + return NULL; +} +// xmlInputCloseCallback ... +#define GO(A) \ +static uintptr_t my_xmlInputCloseCallback_fct_##A = 0; \ +static int my_xmlInputCloseCallback_##A(void* a) \ +{ \ + return RunFunction(my_context, my_xmlInputCloseCallback_fct_##A, 1, a); \ +} +SUPER() +#undef GO +static void* find_xmlInputCloseCallback_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_xmlInputCloseCallback_fct_##A == (uintptr_t)fct) return my_xmlInputCloseCallback_##A; + SUPER() + #undef GO + #define GO(A) if(my_xmlInputCloseCallback_fct_##A == 0) {my_xmlInputCloseCallback_fct_##A = (uintptr_t)fct; return my_xmlInputCloseCallback_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 xmlInputCloseCallback callback\n"); + return NULL; +} +// xmlSchemaValidityErrorFunc (use a VA)... +#define GO(A) \ +static uintptr_t my_xmlSchemaValidityErrorFunc_fct_##A = 0; \ +static void my_xmlSchemaValidityErrorFunc_##A(void* a, void* b, void* c, void* d, void* e, void* f, void* g, void* h, void* i) \ +{ \ + RunFunction(my_context, my_xmlSchemaValidityErrorFunc_fct_##A, 9, a, b, c, d, e, f, g, h, i); \ +} +SUPER() +#undef GO +static void* find_xmlSchemaValidityErrorFunc_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_xmlSchemaValidityErrorFunc_fct_##A == (uintptr_t)fct) return my_xmlSchemaValidityErrorFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_xmlSchemaValidityErrorFunc_fct_##A == 0) {my_xmlSchemaValidityErrorFunc_fct_##A = (uintptr_t)fct; return my_xmlSchemaValidityErrorFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 xmlSchemaValidityErrorFunc callback\n"); + return NULL; +} +// xmlSchemaValidityWarningFunc (use a VA)... +#define GO(A) \ +static uintptr_t my_xmlSchemaValidityWarningFunc_fct_##A = 0; \ +static void my_xmlSchemaValidityWarningFunc_##A(void* a, void* b, void* c, void* d, void* e, void* f, void* g, void* h, void* i) \ +{ \ + RunFunction(my_context, my_xmlSchemaValidityWarningFunc_fct_##A, 9, a, b, c, d, e, f, g, h, i); \ +} +SUPER() +#undef GO +static void* find_xmlSchemaValidityWarningFunc_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_xmlSchemaValidityWarningFunc_fct_##A == (uintptr_t)fct) return my_xmlSchemaValidityWarningFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_xmlSchemaValidityWarningFunc_fct_##A == 0) {my_xmlSchemaValidityWarningFunc_fct_##A = (uintptr_t)fct; return my_xmlSchemaValidityWarningFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 xmlSchemaValidityWarningFunc callback\n"); + return NULL; +} +// xmlStructuredErrorFunc ... +#define GO(A) \ +static uintptr_t my_xmlStructuredErrorFunc_fct_##A = 0; \ +static void my_xmlStructuredErrorFunc_##A(void* a, void* b) \ +{ \ + RunFunction(my_context, my_xmlStructuredErrorFunc_fct_##A, 2, a, b); \ +} +SUPER() +#undef GO +static void* find_xmlStructuredErrorFunc_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_xmlStructuredErrorFunc_fct_##A == (uintptr_t)fct) return my_xmlStructuredErrorFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_xmlStructuredErrorFunc_fct_##A == 0) {my_xmlStructuredErrorFunc_fct_##A = (uintptr_t)fct; return my_xmlStructuredErrorFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 xmlStructuredErrorFunc callback\n"); + return NULL; +} +// xmlXPathFunction ... +#define GO(A) \ +static uintptr_t my_xmlXPathFunction_fct_##A = 0; \ +static void my_xmlXPathFunction_##A(void* a, int b) \ +{ \ + RunFunction(my_context, my_xmlXPathFunction_fct_##A, 2, a, b); \ +} +SUPER() +#undef GO +static void* find_xmlXPathFunction_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_xmlXPathFunction_fct_##A == (uintptr_t)fct) return my_xmlXPathFunction_##A; + SUPER() + #undef GO + #define GO(A) if(my_xmlXPathFunction_fct_##A == 0) {my_xmlXPathFunction_fct_##A = (uintptr_t)fct; return my_xmlXPathFunction_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 xmlXPathFunction callback\n"); + return NULL; +} +// internalSubsetSAXFunc ... +#define GO(A) \ +static uintptr_t my_internalSubsetSAXFunc_fct_##A = 0; \ +static void my_internalSubsetSAXFunc_##A(void* a, void* b, void* c, void* d) \ +{ \ + RunFunction(my_context, my_internalSubsetSAXFunc_fct_##A, 4, a, b, c, d); \ +} +SUPER() +#undef GO +static void* find_internalSubsetSAXFunc_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_internalSubsetSAXFunc_fct_##A == (uintptr_t)fct) return my_internalSubsetSAXFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_internalSubsetSAXFunc_fct_##A == 0) {my_internalSubsetSAXFunc_fct_##A = (uintptr_t)fct; return my_internalSubsetSAXFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 internalSubsetSAXFunc callback\n"); + return NULL; +} +// isStandaloneSAXFunc ... +#define GO(A) \ +static uintptr_t my_isStandaloneSAXFunc_fct_##A = 0; \ +static int my_isStandaloneSAXFunc_##A(void* a) \ +{ \ + return RunFunction(my_context, my_isStandaloneSAXFunc_fct_##A, 1, a); \ +} +SUPER() +#undef GO +static void* find_isStandaloneSAXFunc_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_isStandaloneSAXFunc_fct_##A == (uintptr_t)fct) return my_isStandaloneSAXFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_isStandaloneSAXFunc_fct_##A == 0) {my_isStandaloneSAXFunc_fct_##A = (uintptr_t)fct; return my_isStandaloneSAXFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 isStandaloneSAXFunc callback\n"); + return NULL; +} +// hasInternalSubsetSAXFunc ... +#define GO(A) \ +static uintptr_t my_hasInternalSubsetSAXFunc_fct_##A = 0; \ +static int my_hasInternalSubsetSAXFunc_##A(void* a) \ +{ \ + return RunFunction(my_context, my_hasInternalSubsetSAXFunc_fct_##A, 1, a); \ +} +SUPER() +#undef GO +static void* find_hasInternalSubsetSAXFunc_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_hasInternalSubsetSAXFunc_fct_##A == (uintptr_t)fct) return my_hasInternalSubsetSAXFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_hasInternalSubsetSAXFunc_fct_##A == 0) {my_hasInternalSubsetSAXFunc_fct_##A = (uintptr_t)fct; return my_hasInternalSubsetSAXFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 hasInternalSubsetSAXFunc callback\n"); + return NULL; +} +// hasExternalSubsetSAXFunc ... +#define GO(A) \ +static uintptr_t my_hasExternalSubsetSAXFunc_fct_##A = 0; \ +static int my_hasExternalSubsetSAXFunc_##A(void* a) \ +{ \ + return RunFunction(my_context, my_hasExternalSubsetSAXFunc_fct_##A, 1, a); \ +} +SUPER() +#undef GO +static void* find_hasExternalSubsetSAXFunc_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_hasExternalSubsetSAXFunc_fct_##A == (uintptr_t)fct) return my_hasExternalSubsetSAXFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_hasExternalSubsetSAXFunc_fct_##A == 0) {my_hasExternalSubsetSAXFunc_fct_##A = (uintptr_t)fct; return my_hasExternalSubsetSAXFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 hasExternalSubsetSAXFunc callback\n"); + return NULL; +} +// resolveEntitySAXFunc ... +#define GO(A) \ +static uintptr_t my_resolveEntitySAXFunc_fct_##A = 0; \ +static void* my_resolveEntitySAXFunc_##A(void* a, void* b, void* c) \ +{ \ + return (void*)RunFunction(my_context, my_resolveEntitySAXFunc_fct_##A, 3, a, b, c); \ +} +SUPER() +#undef GO +static void* find_resolveEntitySAXFunc_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_resolveEntitySAXFunc_fct_##A == (uintptr_t)fct) return my_resolveEntitySAXFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_resolveEntitySAXFunc_fct_##A == 0) {my_resolveEntitySAXFunc_fct_##A = (uintptr_t)fct; return my_resolveEntitySAXFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 resolveEntitySAXFunc callback\n"); + return NULL; +} +// getEntitySAXFunc ... +#define GO(A) \ +static uintptr_t my_getEntitySAXFunc_fct_##A = 0; \ +static void* my_getEntitySAXFunc_##A(void* a, void* b) \ +{ \ + return (void*)RunFunction(my_context, my_getEntitySAXFunc_fct_##A, 2, a, b); \ +} +SUPER() +#undef GO +static void* find_getEntitySAXFunc_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_getEntitySAXFunc_fct_##A == (uintptr_t)fct) return my_getEntitySAXFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_getEntitySAXFunc_fct_##A == 0) {my_getEntitySAXFunc_fct_##A = (uintptr_t)fct; return my_getEntitySAXFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 getEntitySAXFunc callback\n"); + return NULL; +} +// entityDeclSAXFunc ... +#define GO(A) \ +static uintptr_t my_entityDeclSAXFunc_fct_##A = 0; \ +static void my_entityDeclSAXFunc_##A(void* a, void* b, int c, void* d, void* e, void* f)\ +{ \ + RunFunction(my_context, my_entityDeclSAXFunc_fct_##A, 6, a, b, c, d, e, f); \ +} +SUPER() +#undef GO +static void* find_entityDeclSAXFunc_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_entityDeclSAXFunc_fct_##A == (uintptr_t)fct) return my_entityDeclSAXFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_entityDeclSAXFunc_fct_##A == 0) {my_entityDeclSAXFunc_fct_##A = (uintptr_t)fct; return my_entityDeclSAXFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 entityDeclSAXFunc callback\n"); + return NULL; +} +// notationDeclSAXFunc ... +#define GO(A) \ +static uintptr_t my_notationDeclSAXFunc_fct_##A = 0; \ +static void my_notationDeclSAXFunc_##A(void* a, void* b, void* c, void* d) \ +{ \ + RunFunction(my_context, my_notationDeclSAXFunc_fct_##A, 4, a, b, c, d); \ +} +SUPER() +#undef GO +static void* find_notationDeclSAXFunc_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_notationDeclSAXFunc_fct_##A == (uintptr_t)fct) return my_notationDeclSAXFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_notationDeclSAXFunc_fct_##A == 0) {my_notationDeclSAXFunc_fct_##A = (uintptr_t)fct; return my_notationDeclSAXFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 notationDeclSAXFunc callback\n"); + return NULL; +} +// attributeDeclSAXFunc ... +#define GO(A) \ +static uintptr_t my_attributeDeclSAXFunc_fct_##A = 0; \ +static void my_attributeDeclSAXFunc_##A(void* a, void* b, void* c, int d, int e, void* f, void* g) \ +{ \ + RunFunction(my_context, my_attributeDeclSAXFunc_fct_##A, 7, a, b, c, d, e, f, g); \ +} +SUPER() +#undef GO +static void* find_attributeDeclSAXFunc_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_attributeDeclSAXFunc_fct_##A == (uintptr_t)fct) return my_attributeDeclSAXFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_attributeDeclSAXFunc_fct_##A == 0) {my_attributeDeclSAXFunc_fct_##A = (uintptr_t)fct; return my_attributeDeclSAXFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 attributeDeclSAXFunc callback\n"); + return NULL; +} +// elementDeclSAXFunc ... +#define GO(A) \ +static uintptr_t my_elementDeclSAXFunc_fct_##A = 0; \ +static void my_elementDeclSAXFunc_##A(void* a, void* b, int c, void* d) \ +{ \ + RunFunction(my_context, my_elementDeclSAXFunc_fct_##A, 4, a, b, c, d); \ +} +SUPER() +#undef GO +static void* find_elementDeclSAXFunc_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_elementDeclSAXFunc_fct_##A == (uintptr_t)fct) return my_elementDeclSAXFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_elementDeclSAXFunc_fct_##A == 0) {my_elementDeclSAXFunc_fct_##A = (uintptr_t)fct; return my_elementDeclSAXFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 elementDeclSAXFunc callback\n"); + return NULL; +} +// unparsedEntityDeclSAXFunc ... +#define GO(A) \ +static uintptr_t my_unparsedEntityDeclSAXFunc_fct_##A = 0; \ +static void my_unparsedEntityDeclSAXFunc_##A(void* a, void* b, void* c, void* d, void* e) \ +{ \ + RunFunction(my_context, my_unparsedEntityDeclSAXFunc_fct_##A, 5, a, b, c, d, e); \ +} +SUPER() +#undef GO +static void* find_unparsedEntityDeclSAXFunc_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_unparsedEntityDeclSAXFunc_fct_##A == (uintptr_t)fct) return my_unparsedEntityDeclSAXFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_unparsedEntityDeclSAXFunc_fct_##A == 0) {my_unparsedEntityDeclSAXFunc_fct_##A = (uintptr_t)fct; return my_unparsedEntityDeclSAXFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 unparsedEntityDeclSAXFunc callback\n"); + return NULL; +} +// setDocumentLocatorSAXFunc ... +#define GO(A) \ +static uintptr_t my_setDocumentLocatorSAXFunc_fct_##A = 0; \ +static void my_setDocumentLocatorSAXFunc_##A(void* a, void* b) \ +{ \ + RunFunction(my_context, my_setDocumentLocatorSAXFunc_fct_##A, 2, a, b); \ +} +SUPER() +#undef GO +static void* find_setDocumentLocatorSAXFunc_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_setDocumentLocatorSAXFunc_fct_##A == (uintptr_t)fct) return my_setDocumentLocatorSAXFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_setDocumentLocatorSAXFunc_fct_##A == 0) {my_setDocumentLocatorSAXFunc_fct_##A = (uintptr_t)fct; return my_setDocumentLocatorSAXFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 setDocumentLocatorSAXFunc callback\n"); + return NULL; +} +// startDocumentSAXFunc ... +#define GO(A) \ +static uintptr_t my_startDocumentSAXFunc_fct_##A = 0; \ +static void my_startDocumentSAXFunc_##A(void* a) \ +{ \ + RunFunction(my_context, my_startDocumentSAXFunc_fct_##A, 1, a); \ +} +SUPER() +#undef GO +static void* find_startDocumentSAXFunc_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_startDocumentSAXFunc_fct_##A == (uintptr_t)fct) return my_startDocumentSAXFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_startDocumentSAXFunc_fct_##A == 0) {my_startDocumentSAXFunc_fct_##A = (uintptr_t)fct; return my_startDocumentSAXFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 startDocumentSAXFunc callback\n"); + return NULL; +} +// endDocumentSAXFunc ... +#define GO(A) \ +static uintptr_t my_endDocumentSAXFunc_fct_##A = 0; \ +static void my_endDocumentSAXFunc_##A(void* a) \ +{ \ + RunFunction(my_context, my_endDocumentSAXFunc_fct_##A, 1, a); \ +} +SUPER() +#undef GO +static void* find_endDocumentSAXFunc_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_endDocumentSAXFunc_fct_##A == (uintptr_t)fct) return my_endDocumentSAXFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_endDocumentSAXFunc_fct_##A == 0) {my_endDocumentSAXFunc_fct_##A = (uintptr_t)fct; return my_endDocumentSAXFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 endDocumentSAXFunc callback\n"); + return NULL; +} +// startElementSAXFunc ... +#define GO(A) \ +static uintptr_t my_startElementSAXFunc_fct_##A = 0; \ +static void my_startElementSAXFunc_##A(void* a, void* b, void* c) \ +{ \ + RunFunction(my_context, my_startElementSAXFunc_fct_##A, 3, a, b, c); \ +} +SUPER() +#undef GO +static void* find_startElementSAXFunc_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_startElementSAXFunc_fct_##A == (uintptr_t)fct) return my_startElementSAXFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_startElementSAXFunc_fct_##A == 0) {my_startElementSAXFunc_fct_##A = (uintptr_t)fct; return my_startElementSAXFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 startElementSAXFunc callback\n"); + return NULL; +} +// endElementSAXFunc ... +#define GO(A) \ +static uintptr_t my_endElementSAXFunc_fct_##A = 0; \ +static void my_endElementSAXFunc_##A(void* a, void* b) \ +{ \ + RunFunction(my_context, my_endElementSAXFunc_fct_##A, 2, a, b); \ +} +SUPER() +#undef GO +static void* find_endElementSAXFunc_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_endElementSAXFunc_fct_##A == (uintptr_t)fct) return my_endElementSAXFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_endElementSAXFunc_fct_##A == 0) {my_endElementSAXFunc_fct_##A = (uintptr_t)fct; return my_endElementSAXFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 endElementSAXFunc callback\n"); + return NULL; +} +// referenceSAXFunc ... +#define GO(A) \ +static uintptr_t my_referenceSAXFunc_fct_##A = 0; \ +static void my_referenceSAXFunc_##A(void* a, void* b) \ +{ \ + RunFunction(my_context, my_referenceSAXFunc_fct_##A, 2, a, b); \ +} +SUPER() +#undef GO +static void* find_referenceSAXFunc_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_referenceSAXFunc_fct_##A == (uintptr_t)fct) return my_referenceSAXFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_referenceSAXFunc_fct_##A == 0) {my_referenceSAXFunc_fct_##A = (uintptr_t)fct; return my_referenceSAXFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 referenceSAXFunc callback\n"); + return NULL; +} +// charactersSAXFunc ... +#define GO(A) \ +static uintptr_t my_charactersSAXFunc_fct_##A = 0; \ +static void my_charactersSAXFunc_##A(void* a, void* b, int c) \ +{ \ + RunFunction(my_context, my_charactersSAXFunc_fct_##A, 3, a, b, c); \ +} +SUPER() +#undef GO +static void* find_charactersSAXFunc_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_charactersSAXFunc_fct_##A == (uintptr_t)fct) return my_charactersSAXFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_charactersSAXFunc_fct_##A == 0) {my_charactersSAXFunc_fct_##A = (uintptr_t)fct; return my_charactersSAXFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 charactersSAXFunc callback\n"); + return NULL; +} +// ignorableWhitespaceSAXFunc ... +#define GO(A) \ +static uintptr_t my_ignorableWhitespaceSAXFunc_fct_##A = 0; \ +static void my_ignorableWhitespaceSAXFunc_##A(void* a, void* b, int c) \ +{ \ + RunFunction(my_context, my_ignorableWhitespaceSAXFunc_fct_##A, 3, a, b, c); \ +} +SUPER() +#undef GO +static void* find_ignorableWhitespaceSAXFunc_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_ignorableWhitespaceSAXFunc_fct_##A == (uintptr_t)fct) return my_ignorableWhitespaceSAXFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_ignorableWhitespaceSAXFunc_fct_##A == 0) {my_ignorableWhitespaceSAXFunc_fct_##A = (uintptr_t)fct; return my_ignorableWhitespaceSAXFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 ignorableWhitespaceSAXFunc callback\n"); + return NULL; +} +// processingInstructionSAXFunc ... +#define GO(A) \ +static uintptr_t my_processingInstructionSAXFunc_fct_##A = 0; \ +static void my_processingInstructionSAXFunc_##A(void* a, void* b, void* c) \ +{ \ + RunFunction(my_context, my_processingInstructionSAXFunc_fct_##A, 3, a, b, c); \ +} +SUPER() +#undef GO +static void* find_processingInstructionSAXFunc_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_processingInstructionSAXFunc_fct_##A == (uintptr_t)fct) return my_processingInstructionSAXFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_processingInstructionSAXFunc_fct_##A == 0) {my_processingInstructionSAXFunc_fct_##A = (uintptr_t)fct; return my_processingInstructionSAXFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 processingInstructionSAXFunc callback\n"); + return NULL; +} +// commentSAXFunc ... +#define GO(A) \ +static uintptr_t my_commentSAXFunc_fct_##A = 0; \ +static void my_commentSAXFunc_##A(void* a, void* b) \ +{ \ + RunFunction(my_context, my_commentSAXFunc_fct_##A, 2, a, b); \ +} +SUPER() +#undef GO +static void* find_commentSAXFunc_Fct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_commentSAXFunc_fct_##A == (uintptr_t)fct) return my_commentSAXFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_commentSAXFunc_fct_##A == 0) {my_commentSAXFunc_fct_##A = (uintptr_t)fct; return my_commentSAXFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 commentSAXFunc callback\n"); + return NULL; +} +// warningSAXFunc ... +#define GO(A) \ +static uintptr_t my_warningSAXFunc_fct_##A = 0; \ +static void my_warningSAXFunc_##A(void* a, void* b, void* c, void* d, void* e, void* f, void* g, void* h, void* i, void* j)\ +{ \ + RunFunction(my_context, my_warningSAXFunc_fct_##A, 10, a, b, c, d, e, f, g, h, i, j); \ +} +SUPER() +#undef GO +static void* find_warningSAXFunc_Fct(void* fct) // this one have a VAArg +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_warningSAXFunc_fct_##A == (uintptr_t)fct) return my_warningSAXFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_warningSAXFunc_fct_##A == 0) {my_warningSAXFunc_fct_##A = (uintptr_t)fct; return my_warningSAXFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 warningSAXFunc callback\n"); + return NULL; +} +// errorSAXFunc ... +#define GO(A) \ +static uintptr_t my_errorSAXFunc_fct_##A = 0; \ +static void my_errorSAXFunc_##A(void* a, void* b, void* c, void* d, void* e, void* f, void* g, void* h, void* i, void* j)\ +{ \ + RunFunction(my_context, my_errorSAXFunc_fct_##A, 10, a, b, c, d, e, f, g, h, i, j); \ +} +SUPER() +#undef GO +static void* find_errorSAXFunc_Fct(void* fct) // this one have a VAArg +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_errorSAXFunc_fct_##A == (uintptr_t)fct) return my_errorSAXFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_errorSAXFunc_fct_##A == 0) {my_errorSAXFunc_fct_##A = (uintptr_t)fct; return my_errorSAXFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 errorSAXFunc callback\n"); + return NULL; +} +// fatalErrorSAXFunc ... +#define GO(A) \ +static uintptr_t my_fatalErrorSAXFunc_fct_##A = 0; \ +static void my_fatalErrorSAXFunc_##A(void* a, void* b, void* c, void* d, void* e, void* f, void* g, void* h, void* i, void* j)\ +{ \ + RunFunction(my_context, my_fatalErrorSAXFunc_fct_##A, 10, a, b, c, d, e, f, g, h, i, j); \ +} +SUPER() +#undef GO +static void* find_fatalErrorSAXFunc_Fct(void* fct) // this one have a VAArg +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_fatalErrorSAXFunc_fct_##A == (uintptr_t)fct) return my_fatalErrorSAXFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_fatalErrorSAXFunc_fct_##A == 0) {my_fatalErrorSAXFunc_fct_##A = (uintptr_t)fct; return my_fatalErrorSAXFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 fatalErrorSAXFunc callback\n"); + return NULL; +} +// getParameterEntitySAXFunc ... +#define GO(A) \ +static uintptr_t my_getParameterEntitySAXFunc_fct_##A = 0; \ +static void* my_getParameterEntitySAXFunc_##A(void* a, void* b) \ +{ \ + return (void*)RunFunction(my_context, my_getParameterEntitySAXFunc_fct_##A, 2, a, b); \ +} +SUPER() +#undef GO +static void* find_getParameterEntitySAXFunc_Fct(void* fct) // this one have a VAArg +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_getParameterEntitySAXFunc_fct_##A == (uintptr_t)fct) return my_getParameterEntitySAXFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_getParameterEntitySAXFunc_fct_##A == 0) {my_getParameterEntitySAXFunc_fct_##A = (uintptr_t)fct; return my_getParameterEntitySAXFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 getParameterEntitySAXFunc callback\n"); + return NULL; +} +// cdataBlockSAXFunc ... +#define GO(A) \ +static uintptr_t my_cdataBlockSAXFunc_fct_##A = 0; \ +static void my_cdataBlockSAXFunc_##A(void* a, void* b, int c) \ +{ \ + RunFunction(my_context, my_cdataBlockSAXFunc_fct_##A, 3, a, b, c); \ +} +SUPER() +#undef GO +static void* find_cdataBlockSAXFunc_Fct(void* fct) // this one have a VAArg +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_cdataBlockSAXFunc_fct_##A == (uintptr_t)fct) return my_cdataBlockSAXFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_cdataBlockSAXFunc_fct_##A == 0) {my_cdataBlockSAXFunc_fct_##A = (uintptr_t)fct; return my_cdataBlockSAXFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 cdataBlockSAXFunc callback\n"); + return NULL; +} +// externalSubsetSAXFunc ... +#define GO(A) \ +static uintptr_t my_externalSubsetSAXFunc_fct_##A = 0; \ +static void my_externalSubsetSAXFunc_##A(void* a, void* b, void* c, void* d) \ +{ \ + RunFunction(my_context, my_externalSubsetSAXFunc_fct_##A, 4, a, b, c, d); \ +} +SUPER() +#undef GO +static void* find_externalSubsetSAXFunc_Fct(void* fct) // this one have a VAArg +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_externalSubsetSAXFunc_fct_##A == (uintptr_t)fct) return my_externalSubsetSAXFunc_##A; + SUPER() + #undef GO + #define GO(A) if(my_externalSubsetSAXFunc_fct_##A == 0) {my_externalSubsetSAXFunc_fct_##A = (uintptr_t)fct; return my_externalSubsetSAXFunc_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 externalSubsetSAXFunc callback\n"); + return NULL; +} +// xmlSAX2StartElementNs ... +#define GO(A) \ +static uintptr_t my_xmlSAX2StartElementNs_fct_##A = 0; \ +static void my_xmlSAX2StartElementNs_##A(void* a, void* b, void* c, void* d, int e, void* f, int g, int h, void* i) \ +{ \ + RunFunction(my_context, my_xmlSAX2StartElementNs_fct_##A, 9, a, b, c, d, e, f, g, h, i); \ +} +SUPER() +#undef GO +static void* find_xmlSAX2StartElementNs_Fct(void* fct) // this one have a VAArg +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_xmlSAX2StartElementNs_fct_##A == (uintptr_t)fct) return my_xmlSAX2StartElementNs_##A; + SUPER() + #undef GO + #define GO(A) if(my_xmlSAX2StartElementNs_fct_##A == 0) {my_xmlSAX2StartElementNs_fct_##A = (uintptr_t)fct; return my_xmlSAX2StartElementNs_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 xmlSAX2StartElementNs callback\n"); + return NULL; +} +// xmlSAX2EndElementNs ... +#define GO(A) \ +static uintptr_t my_xmlSAX2EndElementNs_fct_##A = 0; \ +static void my_xmlSAX2EndElementNs_##A(void* a, void* b, void* c, void* d) \ +{ \ + RunFunction(my_context, my_xmlSAX2EndElementNs_fct_##A, 4, a, b, c, d); \ +} +SUPER() +#undef GO +static void* find_xmlSAX2EndElementNs_Fct(void* fct) // this one have a VAArg +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_xmlSAX2EndElementNs_fct_##A == (uintptr_t)fct) return my_xmlSAX2EndElementNs_##A; + SUPER() + #undef GO + #define GO(A) if(my_xmlSAX2EndElementNs_fct_##A == 0) {my_xmlSAX2EndElementNs_fct_##A = (uintptr_t)fct; return my_xmlSAX2EndElementNs_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 xmlSAX2EndElementNs callback\n"); + return NULL; +} + +// xmlExternalEntityLoader +#define GO(A) \ +static uintptr_t my_xmlExternalEntityLoader_fct_##A = 0; \ +static void* my_xmlExternalEntityLoader_##A(void* a, void* b, void* c) \ +{ \ + return (void*)RunFunction(my_context, my_xmlExternalEntityLoader_fct_##A, 3, a, b, c); \ +} +SUPER() +#undef GO +static void* find_xmlExternalEntityLoaderFct(void* fct) +{ + if(!fct) return fct; + if(GetNativeFnc((uintptr_t)fct)) return GetNativeFnc((uintptr_t)fct); + #define GO(A) if(my_xmlExternalEntityLoader_fct_##A == (uintptr_t)fct) return my_xmlExternalEntityLoader_##A; + SUPER() + #undef GO + #define GO(A) if(my_xmlExternalEntityLoader_fct_##A == 0) {my_xmlExternalEntityLoader_fct_##A = (uintptr_t)fct; return my_xmlExternalEntityLoader_##A; } + SUPER() + #undef GO + printf_log(LOG_NONE, "Warning, no more slot for libxml2 xmlExternalEntityLoader callback\n"); + return NULL; +} +static void* reverse_xmlExternalEntityLoaderFct(void* fct) +{ + if(!fct) return fct; + if(CheckBridged(my_lib->priv.w.bridge, fct)) + return (void*)CheckBridged(my_lib->priv.w.bridge, fct); + #define GO(A) if(my_xmlExternalEntityLoader_##A == fct) return (void*)my_xmlExternalEntityLoader_fct_##A; + SUPER() + #undef GO + return (void*)AddBridge(my_lib->priv.w.bridge, pFppp, fct, 0, "xmlExternalEntityLoader_callback"); +} + + +#undef SUPER + +EXPORT void* my_xmlHashCopy(x64emu_t* emu, void* table, void* f) +{ + xml2_my_t* my = (xml2_my_t*)my_lib->priv.w.p2; + + return my->xmlHashCopy(table, find_xmlHashCopier_Fct(f)); +} + +EXPORT void my_xmlHashFree(x64emu_t* emu, void* table, void* f) +{ + xml2_my_t* my = (xml2_my_t*)my_lib->priv.w.p2; + + my->xmlHashFree(table, find_xmlHashDeallocator_Fct(f)); +} + +EXPORT int my_xmlHashRemoveEntry(x64emu_t* emu, void* table, void* name, void* f) +{ + xml2_my_t* my = (xml2_my_t*)my_lib->priv.w.p2; + + return my->xmlHashRemoveEntry(table, name, find_xmlHashDeallocator_Fct(f)); +} +EXPORT int my_xmlHashRemoveEntry2(x64emu_t* emu, void* table, void* name, void* name2, void* f) +{ + xml2_my_t* my = (xml2_my_t*)my_lib->priv.w.p2; + + return my->xmlHashRemoveEntry2(table, name, name2, find_xmlHashDeallocator_Fct(f)); +} +EXPORT int my_xmlHashRemoveEntry3(x64emu_t* emu, void* table, void* name, void* name2, void* name3, void* f) +{ + xml2_my_t* my = (xml2_my_t*)my_lib->priv.w.p2; + + return my->xmlHashRemoveEntry3(table, name, name2, name3, find_xmlHashDeallocator_Fct(f)); +} + +EXPORT void my_xmlHashScan(x64emu_t* emu, void* table, void* f, void* data) +{ + xml2_my_t* my = (xml2_my_t*)my_lib->priv.w.p2; + + my->xmlHashScan(table, find_xmlHashScanner_Fct(f), data); +} +EXPORT void my_xmlHashScan3(x64emu_t* emu, void* table, void* name, void* name2, void* name3, void* f, void* data) +{ + xml2_my_t* my = (xml2_my_t*)my_lib->priv.w.p2; + + my->xmlHashScan3(table, name, name2, name3, find_xmlHashScanner_Fct(f), data); +} +EXPORT void my_xmlHashScanFull(x64emu_t* emu, void* table, void* f, void* data) +{ + xml2_my_t* my = (xml2_my_t*)my_lib->priv.w.p2; + + my->xmlHashScanFull(table, find_xmlHashScannerFull_Fct(f), data); +} +EXPORT void my_xmlHashScanFull3(x64emu_t* emu, void* table, void* name, void* name2, void* name3, void* f, void* data) +{ + xml2_my_t* my = (xml2_my_t*)my_lib->priv.w.p2; + + my->xmlHashScanFull3(table, name, name2, name3, find_xmlHashScannerFull_Fct(f), data); +} + +EXPORT int my_xmlHashUpdateEntry(x64emu_t* emu, void* table, void* name, void* data, void* f) +{ + xml2_my_t* my = (xml2_my_t*)my_lib->priv.w.p2; + + return my->xmlHashUpdateEntry(table, name, data, find_xmlHashDeallocator_Fct(f)); +} +EXPORT int my_xmlHashUpdateEntry2(x64emu_t* emu, void* table, void* name, void* name2, void* data, void* f) +{ + xml2_my_t* my = (xml2_my_t*)my_lib->priv.w.p2; + + return my->xmlHashUpdateEntry2(table, name, name2, data, find_xmlHashDeallocator_Fct(f)); +} +EXPORT int my_xmlHashUpdateEntry3(x64emu_t* emu, void* table, void* name, void* name2, void* name3, void* data, void* f) +{ + xml2_my_t* my = (xml2_my_t*)my_lib->priv.w.p2; + + return my->xmlHashUpdateEntry3(table, name, name2, name3, data, find_xmlHashDeallocator_Fct(f)); +} + +EXPORT void* my_xmlGetExternalEntityLoader(x64emu_t* emu) +{ + xml2_my_t* my = (xml2_my_t*)my_lib->priv.w.p2; + + return reverse_xmlExternalEntityLoaderFct(my->xmlGetExternalEntityLoader()); +} + +EXPORT void* my_xmlNewCharEncodingHandler(x64emu_t* emu, void* name, void* fin, void* fout) +{ + xml2_my_t* my = (xml2_my_t*)my_lib->priv.w.p2; + + return my->xmlNewCharEncodingHandler(name, find_xmlCharEncodingInputFunc_Fct(fin), find_xmlCharEncodingOutputFunc_Fct(fout)); +} + +EXPORT void* my_xmlOutputBufferCreateIO(x64emu_t* emu, void* fwrite, void* fclose, void* ioctx, void* encoder) +{ + xml2_my_t* my = (xml2_my_t*)my_lib->priv.w.p2; + + return my->xmlOutputBufferCreateIO(find_xmlOutputWriteCallback_Fct(fwrite), find_xmlOutputCloseCallback_Fct(fclose), ioctx, encoder); +} + +EXPORT int my_xmlRegisterInputCallbacks(x64emu_t* emu, void* fmatch, void* fop, void* frd, void* fcl) +{ + xml2_my_t* my = (xml2_my_t*)my_lib->priv.w.p2; + + return my->xmlRegisterInputCallbacks(find_xmlInputMatchCallback_Fct(fmatch), find_xmlInputOpenCallback_Fct(fop), find_xmlInputReadCallback_Fct(frd), find_xmlInputCloseCallback_Fct(fcl)); +} + +EXPORT void* my_xmlSaveToIO(x64emu_t* emu, void* fwrt, void* fcl, void* ioctx, void* encoding, int options) +{ + xml2_my_t* my = (xml2_my_t*)my_lib->priv.w.p2; + + return my->xmlSaveToIO(find_xmlOutputWriteCallback_Fct(fwrt), find_xmlOutputCloseCallback_Fct(fcl), ioctx, encoding, options); +} + +EXPORT void my_xmlSchemaSetParserErrors(x64emu_t* emu, void* ctxt, void* ferr, void* fwarn, void* ctx) +{ + xml2_my_t* my = (xml2_my_t*)my_lib->priv.w.p2; + + my->xmlSchemaSetParserErrors(ctxt, find_xmlSchemaValidityErrorFunc_Fct(ferr), find_xmlSchemaValidityWarningFunc_Fct(fwarn), ctx); +} + +EXPORT void my_xmlSchemaSetParserStructuredErrors(x64emu_t* emu, void* ctxt, void* ferr, void* ctx) +{ + xml2_my_t* my = (xml2_my_t*)my_lib->priv.w.p2; + + my->xmlSchemaSetParserStructuredErrors(ctxt, find_xmlStructuredErrorFunc_Fct(ferr), ctx); +} + +EXPORT void my_xmlSchemaSetValidErrors(x64emu_t* emu, void* ctxt, void* ferr, void* fwarn, void* ctx) +{ + xml2_my_t* my = (xml2_my_t*)my_lib->priv.w.p2; + + my->xmlSchemaSetValidErrors(ctxt, find_xmlSchemaValidityErrorFunc_Fct(ferr), find_xmlSchemaValidityWarningFunc_Fct(fwarn), ctx); +} + +EXPORT void my_xmlSchemaSetValidStructuredErrors(x64emu_t* emu, void* ctxt, void* ferr, void* ctx) +{ + xml2_my_t* my = (xml2_my_t*)my_lib->priv.w.p2; + + my->xmlSchemaSetValidStructuredErrors(ctxt, find_xmlStructuredErrorFunc_Fct(ferr), ctx); +} + +EXPORT void my_xmlSetExternalEntityLoader(x64emu_t* emu, void* f) +{ + xml2_my_t* my = (xml2_my_t*)my_lib->priv.w.p2; + + my->xmlSetExternalEntityLoader(find_xmlExternalEntityLoaderFct(f)); +} + +EXPORT int my_xmlXPathRegisterFunc(x64emu_t* emu, void* ctxt, void* name, void* f) +{ + xml2_my_t* my = (xml2_my_t*)my_lib->priv.w.p2; + + return my->xmlXPathRegisterFunc(ctxt, name, find_xmlXPathFunction_Fct(f)); +} + +EXPORT void* my_xmlParserInputBufferCreateIO(x64emu_t* emu, void* ioread, void* ioclose, void* ioctx, int enc) +{ + xml2_my_t* my = (xml2_my_t*)my_lib->priv.w.p2; + + return my->xmlParserInputBufferCreateIO(find_xmlInputReadCallback_Fct(ioread), find_xmlInputCloseCallback_Fct(ioclose), ioctx, enc); +} + +#define SUPER()\ + GO(internalSubsetSAXFunc, internalSubset) \ + GO(isStandaloneSAXFunc, isStandalone) \ + GO(hasInternalSubsetSAXFunc, hasInternalSubset) \ + GO(hasExternalSubsetSAXFunc, hasExternalSubset) \ + GO(resolveEntitySAXFunc, resolveEntity) \ + GO(getEntitySAXFunc, getEntity) \ + GO(entityDeclSAXFunc, entityDecl) \ + GO(notationDeclSAXFunc, notationDecl) \ + GO(attributeDeclSAXFunc, attributeDecl) \ + GO(elementDeclSAXFunc, elementDecl) \ + GO(unparsedEntityDeclSAXFunc, unparsedEntityDecl) \ + GO(setDocumentLocatorSAXFunc, setDocumentLocator) \ + GO(startDocumentSAXFunc, startDocument) \ + GO(endDocumentSAXFunc, endDocument) \ + GO(startElementSAXFunc, startElement) \ + GO(endElementSAXFunc, endElement) \ + GO(referenceSAXFunc, reference) \ + GO(charactersSAXFunc, characters) \ + GO(ignorableWhitespaceSAXFunc, ignorableWhitespace) \ + GO(processingInstructionSAXFunc, processingInstruction) \ + GO(commentSAXFunc, comment) \ + GO(warningSAXFunc, warning) \ + GO(errorSAXFunc, error) \ + GO(fatalErrorSAXFunc, fatalError) \ + GO(getParameterEntitySAXFunc, getParameterEntity) \ + GO(cdataBlockSAXFunc, cdataBlock) \ + GO(externalSubsetSAXFunc, externalSubset) \ + GA(int, initialized) \ + GA(void*, _private) \ + GO(xmlSAX2StartElementNs, startElementNs) \ + GO(xmlSAX2EndElementNs, endElementNs) \ + GO(xmlStructuredErrorFunc, serror) + +#define GO(T, A) void* A; +#define GA(T, A) T A; +typedef struct my_xmlSAXHandler_s { + SUPER() +} my_xmlSAXHandler_t; +#undef GO +#undef GA +#define GA(T, A) + +static void wrapSaxHandler(my_xmlSAXHandler_t* sav, my_xmlSAXHandler_t* v) +{ + if(!v) return; + #define GO(T, A) sav->A=v->A; v->A=find_##T##_Fct(v->A); + SUPER() + #undef GO +} +static void restoreSaxHandler(my_xmlSAXHandler_t* sav, my_xmlSAXHandler_t* v) +{ + if(!v) return; + #define GO(T, A) v->A = sav->A; + SUPER() + #undef GO +} +#undef GA + +#undef SUPER + +EXPORT int my_xmlParseDocument(x64emu_t* emu, my_xmlSAXHandler_t** p) +{ + xml2_my_t* my = (xml2_my_t*)my_lib->priv.w.p2; + // handling of wine that change the default sax handler of... + my_xmlSAXHandler_t* old_saxhandler = p?(*p):NULL; + my_xmlSAXHandler_t sax_handler = {0}; + wrapSaxHandler(&sax_handler, old_saxhandler); + int ret = my->xmlParseDocument(p); + restoreSaxHandler(&sax_handler, old_saxhandler); + return ret; +} + +#define CUSTOM_INIT \ + lib->priv.w.p2 = getXml2My(lib); \ + my_lib = lib; + +#define CUSTOM_FINI \ + freeXml2My(lib->priv.w.p2); \ + free(lib->priv.w.p2); \ + my_lib = NULL; + +#include "wrappedlib_init.h" diff --git a/src/wrapped/wrappedxml2_private.h b/src/wrapped/wrappedxml2_private.h new file mode 100755 index 00000000..81cba09b --- /dev/null +++ b/src/wrapped/wrappedxml2_private.h @@ -0,0 +1,1611 @@ +#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA)) +#error meh! +#endif + +//GO(docbCreateFileParserCtxt, +//GO(docbCreatePushParserCtxt, +//GO(__docbDefaultSAXHandler, +GO(docbDefaultSAXHandlerInit, vFv) +//GO(docbEncodeEntities, +//GO(docbFreeParserCtxt, +//GO(docbParseChunk, +//GO(docbParseDoc, +//GO(docbParseDocument, +//GO(docbParseFile, +//GO(docbSAXParseDoc, +//GO(docbSAXParseFile, +//GO(_fini, +//GO(htmlAttrAllowed, +//GO(htmlAutoCloseTag, +GO(htmlCreateFileParserCtxt, pFpp) +//GO(htmlCreateMemoryParserCtxt, +//GO(htmlCreatePushParserCtxt, +//GO(htmlCtxtReadDoc, +//GO(htmlCtxtReadFd, +//GO(htmlCtxtReadFile, +//GO(htmlCtxtReadIO, +//GO(htmlCtxtReadMemory, +//GO(htmlCtxtReset, +//GO(htmlCtxtUseOptions, +//GO(__htmlDefaultSAXHandler, +GO(htmlDefaultSAXHandlerInit, vFv) +GO(htmlDocContentDumpFormatOutput, vFpppi) +GO(htmlDocContentDumpOutput, vFppp) +GO(htmlDocDump, iFpp) +GO(htmlDocDumpMemory, vFppp) +GO(htmlDocDumpMemoryFormat, vFpppi) +//GO(htmlElementAllowedHere, +//GO(htmlElementStatusHere, +//GO(htmlEncodeEntities, +//GO(htmlEntityLookup, +//GO(htmlEntityValueLookup, +//GO(htmlFreeParserCtxt, +GO(htmlGetMetaEncoding, pFp) +//GO(htmlHandleOmittedElem, +GO(htmlInitAutoClose, vFv) +//GO(htmlIsAutoClosed, +GO(htmlIsBooleanAttr, iFp) +//GO(htmlIsScriptAttribute, +GO(htmlNewDoc, pFpp) +GO(htmlNewDocNoDtD, pFpp) +//GO(htmlNewParserCtxt, +GO(htmlNodeDump, iFppp) +GO(htmlNodeDumpFile, vFppp) +GO(htmlNodeDumpFileFormat, iFppppi) +GO(htmlNodeDumpFormatOutput, vFppppi) +GO(htmlNodeDumpOutput, vFpppp) +//GO(htmlNodeStatus, +//GO(htmlParseCharRef, +//GO(htmlParseChunk, +//GO(__htmlParseContent, +//GO(htmlParseDoc, +//GO(htmlParseDocument, +//GO(htmlParseElement, +//GO(htmlParseEntityRef, +//GO(htmlParseFile, +//GO(htmlReadDoc, +//GO(htmlReadFd, +//GO(htmlReadFile, +//GO(htmlReadIO, +//GO(htmlReadMemory, +GO(htmlSaveFile, iFpp) +GO(htmlSaveFileEnc, iFppp) +GO(htmlSaveFileFormat, uFpppi) +//GO(htmlSAXParseDoc, +//GO(htmlSAXParseFile, +GO(htmlSetMetaEncoding, iFpp) +//GO(htmlTagLookup, +//GO(_init, +//GO(initGenericErrorDefaultFunc, +GO(inputPop, pFp) +GO(inputPush, iFpp) +GO(isolat1ToUTF8, iFpppp) +GO(namePop, pFp) +GO(namePush, iFpp) +GO(nodePop, pFp) +GO(nodePush, iFpp) +//GO(__oldXMLWDcompatibility, +//GO(UTF8ToHtml, +GO(UTF8Toisolat1, iFpppp) +GO(valuePop, pFp) +GO(valuePush, iFpp) +//GO(xlinkGetDefaultDetect, +//GO(xlinkGetDefaultHandler, +//GO(xlinkIsLink, +//GO(xlinkSetDefaultDetect, +//GO(xlinkSetDefaultHandler, +//GO(xmlACatalogAdd, +//GO(xmlACatalogDump, +//GO(xmlACatalogRemove, +//GO(xmlACatalogResolve, +//GO(xmlACatalogResolvePublic, +//GO(xmlACatalogResolveSystem, +//GO(xmlACatalogResolveURI, +GO(xmlAddAttributeDecl, pFpppppiipp) +GO(xmlAddChild, pFpp) +GO(xmlAddChildList, pFpp) +GO(xmlAddDocEntity, pFppippp) +GO(xmlAddDtdEntity, pFppippp) +GO(xmlAddElementDecl, pFpppip) +GO(xmlAddEncodingAlias, iFpp) +GO(xmlAddID, pFpppp) +GO(xmlAddNextSibling, pFpp) +GO(xmlAddNotationDecl, pFppppp) +GO(xmlAddPrevSibling, pFpp) +GO(xmlAddRef, pFpppp) +//GO(xmlAddSibling, +GO(xmlAllocOutputBuffer, pFp) +GO(xmlAllocOutputBufferInternal, pFp) +GO(xmlAllocParserInputBuffer, pFi) +GO(xmlAttrSerializeTxtContent, vFpppp) +//GO(xmlAutomataCompile, +//GO(xmlAutomataGetInitState, +//GO(xmlAutomataIsDeterminist, +//GO(xmlAutomataNewAllTrans, +//GO(xmlAutomataNewCountedTrans, +//GO(xmlAutomataNewCounter, +//GO(xmlAutomataNewCounterTrans, +//GO(xmlAutomataNewCountTrans, +//GO(xmlAutomataNewCountTrans2, +//GO(xmlAutomataNewEpsilon, +//GO(xmlAutomataNewNegTrans, +//GO(xmlAutomataNewOnceTrans, +//GO(xmlAutomataNewOnceTrans2, +//GO(xmlAutomataNewState, +//GO(xmlAutomataNewTransition, +//GO(xmlAutomataNewTransition2, +//GO(xmlAutomataSetFinalState, +//GO(xmlAutomataSetFlags, +GO(xmlBufContent, pFp) +GO(xmlBufEnd, pFp) +GO(xmlBufGetNodeContent, iFpp) +GO(xmlBufNodeDump, LFpppii) +GO(xmlBufShrink, LFpL) +GO(xmlBufUse, LFp) +GO(xmlBufferAdd, iFppi) +GO(xmlBufferAddHead, iFppi) +//GO(__xmlBufferAllocScheme, +GO(xmlBufferCat, iFpp) +GO(xmlBufferCCat, iFpp) +GO(xmlBufferContent, pFp) +GO(xmlBufferCreate, pFv) +GO(xmlBufferCreateSize, pFL) +GO(xmlBufferCreateStatic, pFpp) +GO(xmlBufferDump, iFpp) +GO(xmlBufferEmpty, vFp) +GO(xmlBufferFree, vFp) +GO(xmlBufferGrow, iFpu) +GO(xmlBufferLength, iFp) +GO(xmlBufferResize, iFpu) +GO(xmlBufferSetAllocationScheme, vFpi) +GO(xmlBufferShrink, vFpu) +GO(xmlBufferWriteChar, vFpp) +GO(xmlBufferWriteCHAR, vFpp) +GO(xmlBufferWriteQuotedString, vFpp) +GO(xmlBuildQName, pFpppi) +//GO(xmlBuildRelativeURI, +//GO(xmlBuildURI, +GO(xmlByteConsumed, lFp) +//GO(xmlC14NDocDumpMemory, +//GO(xmlC14NDocSave, +//GO(xmlC14NDocSaveTo, +//GO(xmlC14NExecute, +//GO(xmlCanonicPath, +//GO(xmlCatalogAdd, +//GO(xmlCatalogAddLocal, +//GO(xmlCatalogCleanup, +//GO(xmlCatalogConvert, +//GO(xmlCatalogDump, +//GO(xmlCatalogFreeLocal, +//GO(xmlCatalogGetDefaults, +//GO(xmlCatalogGetPublic, +//GO(xmlCatalogGetSystem, +//GO(xmlCatalogIsEmpty, +//GO(xmlCatalogLocalResolve, +//GO(xmlCatalogLocalResolveURI, +//GO(xmlCatalogRemove, +//GO(xmlCatalogResolve, +//GO(xmlCatalogResolvePublic, +//GO(xmlCatalogResolveSystem, +//GO(xmlCatalogResolveURI, +//GO(xmlCatalogSetDebug, +//GO(xmlCatalogSetDefaultPrefer, +//GO(xmlCatalogSetDefaults, +GO(xmlCharEncCloseFunc, iFp) +GO(xmlCharEncFirstLine, iFppp) +//GO(xmlCharEncFirstLineInt, +GO(xmlCharEncInFunc, iFppp) +GO(xmlCharEncOutFunc, iFppp) +//GO(xmlCharInRange, +//GO(xmlCharStrdup, +//GO(xmlCharStrndup, +GO(xmlCheckFilename, iFp) +GO(xmlCheckHTTPInput, pFpp) +GO(xmlCheckLanguageID, iFp) +GO(xmlCheckUTF8, iFp) +//GO(xmlCheckVersion, +GO(xmlChildElementCount, LFp) +GO(xmlCleanupCharEncodingHandlers, vFv) +GO(xmlCleanupEncodingAliases, vFv) +GO(xmlCleanupGlobals, vFv) +GO(xmlCleanupInputCallbacks, vFv) +//GO(xmlCleanupMemory, +GO(xmlCleanupOutputCallbacks, vFv) +GO(xmlCleanupParser, vFv) +GO(xmlCleanupPredefinedEntities, vFv) +//GO(xmlCleanupThreads, +GO(xmlClearNodeInfoSeq, vFp) +GO(xmlClearParserCtxt, vFp) +//GO(xmlConvertSGMLCatalog, +GO(xmlCopyAttributeTable, pFp) +GO(xmlCopyChar, iFipi) +GO(xmlCopyCharMultiByte, iFpi) +GO(xmlCopyDoc, pFpi) +GO(xmlCopyDocElementContent, pFpp) +GO(xmlCopyDtd, pFp) +GO(xmlCopyElementContent, pFp) +GO(xmlCopyElementTable, pFp) +GO(xmlCopyEntitiesTable, pFp) +GO(xmlCopyEnumeration, pFp) +//GO(xmlCopyError, +GO(xmlCopyNamespace, pFp) +GO(xmlCopyNamespaceList, pFp) +GO(xmlCopyNode, pFpi) +GO(xmlCopyNodeList, pFp) +GO(xmlCopyNotationTable, pFp) +GO(xmlCopyProp, pFpp) +GO(xmlCopyPropList, pFpp) +GO(xmlCreateDocParserCtxt, pFp) +GO(xmlCreateEntitiesTable, pFv) +GO(xmlCreateEntityParserCtxt, pFppp) +GO(xmlCreateEnumeration, pFp) +GO(xmlCreateFileParserCtxt, pFp) +GO(xmlCreateIntSubset, pFpppp) +//GOM(xmlCreateIOParserCtxt, pFEppBBpi) +GO(xmlCreateMemoryParserCtxt, pFpi) +GO(xmlCreatePushParserCtxt, pFpppip) +//GO(xmlCreateURI, +GO(xmlCreateURLParserCtxt, pFpi) +//GO(xmlCtxtGetLastError, +GO(xmlCtxtReadDoc, pFppppi) +GO(xmlCtxtReadFd, pFpippi) +GO(xmlCtxtReadFile, pFpppi) +//GOM(xmlCtxtReadIO, pFEpBBpppi) +GO(xmlCtxtReadMemory, pFppippi) +GO(xmlCtxtReset, vFp) +//GO(xmlCtxtResetLastError, +GO(xmlCtxtResetPush, iFppipp) +GO(xmlCtxtUseOptions, iFpi) +GO(xmlCurrentChar, iFpp) +GO(xmlDecodeEntities, pFpiiCCC) // deprecated, not always present +//GO(__xmlDefaultBufferSize, +//GO(__xmlDefaultSAXHandler, +GO(xmlDefaultSAXHandlerInit, vFv) +//GO(__xmlDefaultSAXLocator, +GO(xmlDelEncodingAlias, iFp) +//GOM(xmlDeregisterNodeDefault, BFEB) +//GO(__xmlDeregisterNodeDefaultValue, +GO(xmlDetectCharEncoding, iFpi) +GO(xmlDictCleanup, vFv) +GO(xmlDictCreate, pFv) +GO(xmlDictCreateSub, pFp) +GO(xmlDictExists, pFppi) +GO(xmlDictFree, vFp) +GO(xmlDictGetUsage, LFp) +GO(xmlDictLookup, pFppi) +GO(xmlDictOwns, iFpp) +GO(xmlDictQLookup, pFppp) +GO(xmlDictReference, iFp) +GO(xmlDictSetLimit, LFpL) +GO(xmlDictSize, iFp) +GO(xmlDocCopyNode, pFppi) +GO(xmlDocCopyNodeList, pFpp) +GO(xmlDocDump, iFpp) +GO(xmlDocDumpFormatMemory, vFpppi) +GO(xmlDocDumpFormatMemoryEnc, vFppppi) +GO(xmlDocDumpMemory, vFppp) +GO(xmlDocDumpMemoryEnc, vFpppp) +GO(xmlDocFormatDump, iFppi) +GO(xmlDocGetRootElement, pFp) +GO(xmlDocSetRootElement, pFpp) +GO(xmlDOMWrapAdoptNode, iFpppppi) +GO(xmlDOMWrapCloneNode, iFppppppii) +GO(xmlDOMWrapFreeCtxt, vFp) +GO(xmlDOMWrapNewCtxt, pFv) +GO(xmlDOMWrapReconcileNamespaces, iFppi) +GO(xmlDOMWrapRemoveNode, iFppi) +//GO(__xmlDoValidityCheckingDefaultValue, +GO(xmlDumpAttributeDecl, vFpp) +GO(xmlDumpAttributeTable, vFpp) +GO(xmlDumpElementDecl, vFpp) +GO(xmlDumpElementTable, vFpp) +GO(xmlDumpEntitiesTable, vFpp) +GO(xmlDumpEntityDecl, vFpp) +GO(xmlDumpNotationDecl, vFpp) +GO(xmlDumpNotationTable, vFpp) +GO(xmlElemDump, vFppp) +GO(xmlEncodeEntities, pFpp) +GO(xmlEncodeEntitiesReentrant, pFpp) +GO(xmlEncodeSpecialChars, pFpp) +//GO(__xmlErrEncoding, +GO(xmlErrMemory, vFpp) +//GO(xmlExpCtxtNbCons, +//GO(xmlExpCtxtNbNodes, +//GO(xmlExpDump, +//GO(xmlExpExpDerive, +//GO(xmlExpFree, +//GO(xmlExpFreeCtxt, +//GO(xmlExpGetLanguage, +//GO(xmlExpGetStart, +//GO(xmlExpIsNillable, +//GO(xmlExpMaxToken, +//GO(xmlExpNewAtom, +//GO(xmlExpNewCtxt, +//GO(xmlExpNewOr, +//GO(xmlExpNewRange, +//GO(xmlExpNewSeq, +//GO(xmlExpParse, +//GO(xmlExpRef, +//GO(xmlExpStringDerive, +//GO(xmlExpSubsume, +GO(xmlFileClose, iFp) +GO(xmlFileMatch, iFp) +GO(xmlFileOpen, pFp) +GO(xmlFileRead, iFppi) +GO(xmlFindCharEncodingHandler, pFp) +GO(xmlFirstElementChild, pFp) +GO(xmlFreeAttributeTable, vFp) +//GO(xmlFreeAutomata, +//GO(xmlFreeCatalog, +GO(xmlFreeDoc, vFp) +GO(xmlFreeDocElementContent, vFpp) +GO(xmlFreeDtd, vFp) +GO(xmlFreeElementContent, vFp) +GO(xmlFreeElementTable, vFp) +GO(xmlFreeEntitiesTable, vFp) +GO(xmlFreeEnumeration, vFp) +GO(xmlFreeIDTable, vFp) +GO(xmlFreeInputStream, vFp) +//GO(xmlFreeMutex, +GO(xmlFreeNode, vFp) +GO(xmlFreeNodeList, vFp) +GO(xmlFreeNotationTable, vFp) +GO(xmlFreeNs, vFp) +GO(xmlFreeNsList, vFp) +GO(xmlFreeParserCtxt, vFp) +GO(xmlFreeParserInputBuffer, vFp) +//GO(xmlFreePattern, +//GO(xmlFreePatternList, +GO(xmlFreeProp, vFp) +GO(xmlFreePropList, vFp) +GO(xmlFreeRefTable, vFp) +//GO(xmlFreeRMutex, +//GO(xmlFreeStreamCtxt, +//GO(xmlFreeTextReader, +//GO(xmlFreeTextWriter, +//GO(xmlFreeURI, +GO(xmlFreeValidCtxt, vFp) +//GO(xmlGcMemGet, +//GO(xmlGcMemSetup, +//GO(__xmlGenericError, +//GO(__xmlGenericErrorContext, +//GO(xmlGenericErrorDefaultFunc, +GO(xmlGetBufferAllocationScheme, iFv) +GO(xmlGetCharEncodingHandler, pFp) +GO(xmlGetCharEncodingName, pFi) +GO(xmlGetCompressMode, iFv) +GO(xmlGetDocCompressMode, iFv) +GO(xmlGetDocEntity, pFpp) +GO(xmlGetDtdAttrDesc, pFppp) +GO(xmlGetDtdElementDesc, pFpp) +GO(xmlGetDtdEntity, pFpp) +GO(xmlGetDtdNotationDesc, pFpp) +GO(xmlGetDtdQAttrDesc, pFpppp) +GO(xmlGetDtdQElementDesc, pFppp) +GO(xmlGetEncodingAlias, pFp) +GOM(xmlGetExternalEntityLoader, pFEv) +GO(xmlGetFeature, iFppp) +GO(xmlGetFeaturesList, iFpp) +//GO(xmlGetGlobalState, +GO(xmlGetID, pFpp) +GO(xmlGetIntSubset, pFp) +GO(xmlGetLastChild, pFp) +//GO(xmlGetLastError, +GO(xmlGetLineNo, lFp) +GO(xmlGetNodePath, pFp) +GO(xmlGetNoNsProp, pFpp) +GO(xmlGetNsList, pFpp) +GO(xmlGetNsProp, pFppp) +GO(xmlGetParameterEntity, pFpp) +GO(xmlGetPredefinedEntity, pFp) +GO(xmlGetProp, pFpp) +GO(xmlGetRefs, pFpp) +//GO(xmlGetThreadId, +GO(xmlGetUTF8Char, iFpp) +//GO(__xmlGetWarningsDefaultValue, +//GO(__xmlGlobalInitMutexDestroy, +//GO(__xmlGlobalInitMutexLock, +//GO(__xmlGlobalInitMutexUnlock, +GO(xmlHandleEntity, vFpp) // obsolete, might be removed +//GO(xmlHasFeature, +GO(xmlHasNsProp, pFppp) +GO(xmlHasProp, pFpp) +GO(xmlHashAddEntry, iFppp) +GO(xmlHashAddEntry2, iFpppp) +GO(xmlHashAddEntry3, iFppppp) +GOM(xmlHashCopy, pFEpp) +GO(xmlHashCreate, pFi) +GO(xmlHashCreateDict, pFip) +GO(xmlHasFeature, iFi) +GOM(xmlHashFree, vFEpp) +GO(xmlHashLookup, pFpp) +GO(xmlHashLookup2, pFppp) +GO(xmlHashLookup3, pFpppp) +GO(xmlHashQLookup, pFppp) +GO(xmlHashQLookup2, pFppppp) +GO(xmlHashQLookup3, pFppppppp) +GOM(xmlHashRemoveEntry, iFEppp) +GOM(xmlHashRemoveEntry2, iFEpppp) +GOM(xmlHashRemoveEntry3, iFEppppp) +GOM(xmlHashScan, vFEppp) +GOM(xmlHashScan3, vFEpppppp) +GOM(xmlHashScanFull, vFEppp) +GOM(xmlHashScanFull3, vFEpppppp) +GO(xmlHashSize, iFp) +GOM(xmlHashUpdateEntry, iFEpppp) +GOM(xmlHashUpdateEntry2, iFEppppp) +GOM(xmlHashUpdateEntry3, iFEpppppp) +GO(xmlHasNsProp, pFppp) +GO(xmlHasProp, pFpp) +//GO(__xmlIndentTreeOutput, +GO(xmlInitCharEncodingHandlers, vFv) +GO(xmlInitializeDict, iFv) +GO(xmlInitGlobals, vFv) +//GO(xmlInitializeCatalog, +GO(xmlInitializeGlobalState, vFp) +//GO(xmlInitMemory, +GO(xmlInitializePredefinedEntities, vFv) +GO(xmlInitNodeInfoSeq, vFp) +GO(xmlInitParser, vFv) +GO(xmlInitParserCtxt, iFp) +//GO(xmlInitThreads, +//GO(__xmlIOErr, +GO(xmlIOFTPClose, iFp) +GO(xmlIOFTPMatch, iFp) +GO(xmlIOFTPOpen, pFp) +GO(xmlIOFTPRead, iFppi) +GO(xmlIOHTTPClose, iFp) +GO(xmlIOHTTPMatch, iFp) +GO(xmlIOHTTPOpen, pFp) +GO(xmlIOHTTPOpenW, pFpi) +GO(xmlIOHTTPRead, iFppi) +GO(xmlIOParseDTD, pFppp) +//GO(xmlIsBaseChar, +//GO(xmlIsBlank, +GO(xmlIsBlankNode, iFp) +//GO(xmlIsChar, +//GO(xmlIsCombining, +//GO(xmlIsDigit, +//GO(xmlIsExtender, +GO(xmlIsID, iFppp) +//GO(xmlIsIdeographic, +GO(xmlIsLetter, iFi) +//GO(xmlIsMainThread, +GO(xmlIsMixedElement, iFpp) +//GO(xmlIsPubidChar, +GO(xmlIsRef, iFppp) +GO(xmlIsXHTML, iFpp) +GO(xmlKeepBlanksDefault, iFi) +//GO(__xmlKeepBlanksDefaultValue, +GO(xmlLastElementChild, pFp) +//GO(__xmlLastError, +GO(xmlLineNumbersDefault, iFi) +//GO(__xmlLineNumbersDefaultValue, +//GO(xmlLinkGetData, +//GO(xmlListAppend, +//GO(xmlListClear, +//GO(xmlListCopy, +//GO(xmlListCreate, +//GO(xmlListDelete, +//GO(xmlListDup, +//GO(xmlListEmpty, +//GO(xmlListEnd, +//GO(xmlListFront, +//GO(xmlListInsert, +//GO(xmlListMerge, +//GO(xmlListPopBack, +//GO(xmlListPopFront, +//GO(xmlListPushBack, +//GO(xmlListPushFront, +//GO(xmlListRemoveAll, +//GO(xmlListRemoveFirst, +//GO(xmlListRemoveLast, +//GO(xmlListReverse, +//GO(xmlListReverseSearch, +//GO(xmlListReverseWalk, +//GO(xmlListSearch, +//GO(xmlListSize, +//GO(xmlListSort, +//GO(xmlListWalk, +//GO(xmlLoadACatalog, +//GO(xmlLoadCatalog, +//GO(xmlLoadCatalogs, +//GO(__xmlLoaderErr, +//GO(__xmlLoadExtDtdDefaultValue, +GO(xmlLoadExternalEntity, pFppp) +//GO(xmlLoadSGMLSuperCatalog, +//GO(xmlLockLibrary, +//GO(xmlMallocAtomicLoc, +//GO(xmlMallocBreakpoint, +//GO(xmlMallocLoc, +//GO(xmlMemBlocks, +//GO(xmlMemDisplay, +//GO(xmlMemDisplayLast, +//GO(xmlMemFree, +//GO(xmlMemGet, +//GO(xmlMemMalloc, +//GO(xmlMemoryDump, +//GO(xmlMemoryStrdup, +//GO(xmlMemRealloc, +//GO(xmlMemSetup, +//GO(xmlMemShow, +//GO(xmlMemStrdupLoc, +//GO(xmlMemUsed, +//GO(xmlModuleClose, +//GO(xmlModuleFree, +//GO(xmlModuleOpen, +//GO(xmlModuleSymbol, +//GO(xmlMutexLock, +//GO(xmlMutexUnlock, +GO(xmlNamespaceParseNCName, pFp) +GO(xmlNamespaceParseNSDef, pFp) +GO(xmlNamespaceParseQName, pFpp) +//GO(xmlNanoFTPCheckResponse, +//GO(xmlNanoFTPCleanup, +//GO(xmlNanoFTPClose, +//GO(xmlNanoFTPCloseConnection, +//GO(xmlNanoFTPConnect, +//GO(xmlNanoFTPConnectTo, +//GO(xmlNanoFTPCwd, +//GO(xmlNanoFTPDele, +//GO(xmlNanoFTPFreeCtxt, +//GO(xmlNanoFTPGet, +//GO(xmlNanoFTPGetConnection, +//GO(xmlNanoFTPGetResponse, +//GO(xmlNanoFTPGetSocket, +//GO(xmlNanoFTPInit, +//GO(xmlNanoFTPList, +//GO(xmlNanoFTPNewCtxt, +//GO(xmlNanoFTPOpen, +//GO(xmlNanoFTPProxy, +//GO(xmlNanoFTPQuit, +//GO(xmlNanoFTPRead, +//GO(xmlNanoFTPScanProxy, +//GO(xmlNanoFTPUpdateURL, +//GO(xmlNanoHTTPAuthHeader, +//GO(xmlNanoHTTPCleanup, +//GO(xmlNanoHTTPClose, +//GO(xmlNanoHTTPContentLength, +//GO(xmlNanoHTTPEncoding, +//GO(xmlNanoHTTPFetch, +//GO(xmlNanoHTTPInit, +//GO(xmlNanoHTTPMethod, +//GO(xmlNanoHTTPMethodRedir, +//GO(xmlNanoHTTPMimeType, +//GO(xmlNanoHTTPOpen, +//GO(xmlNanoHTTPOpenRedir, +//GO(xmlNanoHTTPRead, +//GO(xmlNanoHTTPRedir, +//GO(xmlNanoHTTPReturnCode, +//GO(xmlNanoHTTPSave, +//GO(xmlNanoHTTPScanProxy, +//GO(xmlNewAutomata, +//GO(xmlNewCatalog, +GO(xmlNewCDataBlock, pFppi) +GOM(xmlNewCharEncodingHandler, pFEppp) +GO(xmlNewCharRef, pFpp) +GO(xmlNewChild, pFpppp) +GO(xmlNewComment, pFp) +GO(xmlNewDoc, pFp) +GO(xmlNewDocComment, pFpp) +GO(xmlNewDocElementContent, pFppi) +GO(xmlNewDocFragment, pFp) +GO(xmlNewDocNode, pFpppp) +GO(xmlNewDocNodeEatName, pFpppp) +GO(xmlNewDocPI, pFppp) +GO(xmlNewDocProp, pFppp) +GO(xmlNewDocRawNode, pFpppp) +GO(xmlNewDocText, pFpp) +GO(xmlNewDocTextLen, pFppi) +GO(xmlNewDtd, pFpppp) +GO(xmlNewElementContent, pFpi) +GO(xmlNewEntity, pFppippp) +GO(xmlNewEntityInputStream, pFpp) +GO(xmlNewGlobalNs, pFppp) +GO(xmlNewInputFromFile, pFpp) +GO(xmlNewInputStream, pFp) +GO(xmlNewIOInputStream, pFppi) +//GO(xmlNewMutex, +GO(xmlNewNode, pFpp) +GO(xmlNewNodeEatName, pFpp) +GO(xmlNewNs, pFppp) +GO(xmlNewNsProp, pFpppp) +GO(xmlNewNsPropEatName, pFpppp) +GO(xmlNewParserCtxt, pFv) +GO(xmlNewPI, pFpp) +GO(xmlNewProp, pFppp) +GO(xmlNewReference, pFpp) +//GO(xmlNewRMutex, +GO(xmlNewStringInputStream, pFpp) +GO(xmlNewText, pFp) +GO(xmlNewTextChild, pFpppp) +GO(xmlNewTextLen, pFpi) +//GO(xmlNewTextReader, +//GO(xmlNewTextReaderFilename, +//GO(xmlNewTextWriter, +//GO(xmlNewTextWriterDoc, +//GO(xmlNewTextWriterFilename, +//GO(xmlNewTextWriterMemory, +//GO(xmlNewTextWriterPushParser, +//GO(xmlNewTextWriterTree, +GO(xmlNewValidCtxt, pFv) +GO(xmlNextChar, vFp) +GO(xmlNextElementSibling, pFp) +GO(xmlNodeAddContent, vFpp) +GO(xmlNodeAddContentLen, vFppi) +GO(xmlNodeBufGetContent, iFpp) +GO(xmlNodeDump, iFpppii) +GO(xmlNodeDumpOutput, vFpppiip) +GO(xmlNodeGetBase, pFpp) +GO(xmlNodeGetContent, pFp) +GO(xmlNodeGetLang, pFp) +GO(xmlNodeGetSpacePreserve, iFp) +GO(xmlNodeIsText, iFp) +GO(xmlNodeListGetRawString, pFppi) +GO(xmlNodeListGetString, pFppi) +GO(xmlNodeSetBase, vFpp) +GO(xmlNodeSetContent, vFpp) +GO(xmlNodeSetContentLen, vFppi) +GO(xmlNodeSetLang, vFpp) +GO(xmlNodeSetName, vFpp) +GO(xmlNodeSetSpacePreserve, vFpi) +GO(xmlNoNetExternalEntityLoader, pFppp) +//GO(xmlNormalizeURIPath, +GO(xmlNormalizeWindowsPath, pFp) +//GO(xmlNsListDumpOutput, +GO(xmlOutputBufferClose, iFp) +GO(xmlOutputBufferCreateBuffer, pFpp) +GO(xmlOutputBufferCreateFd, pFip) +GO(xmlOutputBufferCreateFile, pFpp) +GO(xmlOutputBufferCreateFilename, pFppi) +//GO(__xmlOutputBufferCreateFilename, +//GOM(xmlOutputBufferCreateFilenameDefault, BFEB) +//GO(__xmlOutputBufferCreateFilenameValue, +GOM(xmlOutputBufferCreateIO, pFEpppp) +GO(xmlOutputBufferFlush, iFp) +GO(xmlOutputBufferGetContent, pFp) +GO(xmlOutputBufferWrite, iFppp) +GO(xmlOutputBufferWriteEscape, iFppp) +GO(xmlOutputBufferWriteString, iFpp) +GO(xmlParseAttribute, pFpp) +GO(xmlParseAttributeListDecl, vFp) +GO(xmlParseAttributeType, iFpp) +GO(xmlParseAttValue, pFp) +GO(xmlParseBalancedChunkMemory, iFpppipp) +GO(xmlParseBalancedChunkMemoryRecover, iFpppippi) +//GO(xmlParseCatalogFile, +GO(xmlParseCDSect, vFp) +GO(xmlParseCharData, vFpi) +GO(xmlParseCharEncoding, iFp) +GO(xmlParseCharRef, iFp) +GO(xmlParseChunk, iFppii) +GO(xmlParseComment, vFp) +GO(xmlParseContent, vFp) +GO(xmlParseCtxtExternalEntity, iFpppp) +GO(xmlParseDefaultDecl, iFpp) +GO(xmlParseDoc, pFp) +GO(xmlParseDocTypeDecl, iFpp) +GOM(xmlParseDocument, iFEp) +GO(xmlParseDTD, pFpp) +GO(xmlParseElement, vFp) +GO(xmlParseElementChildrenContentDecl, pFpi) +GO(xmlParseElementContentDecl, iFppp) +GO(xmlParseElementDecl, iFp) +GO(xmlParseElementMixedContentDecl, pFpi) +GO(xmlParseEncName, pFp) +GO(xmlParseEncodingDecl, pFp) +GO(xmlParseEndTag, vFp) +GO(xmlParseEntity, pFp) +GO(xmlParseEntityDecl, vFp) +GO(xmlParseEntityRef, pFp) +GO(xmlParseEntityValue, pFpp) +GO(xmlParseEnumeratedType, iFp) +GO(xmlParseEnumerationType, pFp) +GO(xmlParseExternalEntity, iFpppippp) +GO(xmlParseExternalID, pFppi) +GO(xmlParseExternalSubset, vFppp) +//GO(xmlParseExtParsedEnt, +GO(xmlParseFile, pFp) +GO(xmlParseInNodeContext, pFppiip) +GO(xmlParseMarkupDecl, vFp) +GO(xmlParseMemory, pFpi) +GO(xmlParseMisc, vFp) +GO(xmlParseName, pFp) +GO(xmlParseNmtoken, pFp) +GO(xmlParseNotationDecl, vFp) +GO(xmlParseNotationType, pFp) +GO(xmlParsePEReference, vFp) +GO(xmlParsePI, vFp) +GO(xmlParsePITarget, pFp) +GO(xmlParsePubidLiteral, pFp) +GO(xmlParserAddNodeInfo, vFpp) +//GO(__xmlParserDebugEntities, +GO(xmlParseQuotedString, pFp) +GO(xmlParseReference, vFp) +//GO(xmlParserError, +GO(xmlParserFindNodeInfo, pFpp) +GO(xmlParserFindNodeInfoIndex, LFpp) +GO(xmlParserGetDirectory, pFp) +GO(xmlParserHandlePEReference, vFp) +GO(xmlParserHandleReference, vFp) +GO(xmlParserInputBufferCreateFd, pFii) +GO(xmlParserInputBufferCreateFile, pFpi) +GO(xmlParserInputBufferCreateFilename, pFpi) +//GO(__xmlParserInputBufferCreateFilename, +//GOM(xmlParserInputBufferCreateFilenameDefault, BFEB) +//GO(__xmlParserInputBufferCreateFilenameValue, +GOM(xmlParserInputBufferCreateIO, pFEpppi) +GO(xmlParserInputBufferCreateMem, pFpii) +GO(xmlParserInputBufferCreateStatic, pFpii) +GO(xmlParserInputBufferGrow, iFpi) +GO(xmlParserInputBufferPush, iFpip) +GO(xmlParserInputBufferRead, iFpi) +GO(xmlParserInputGrow, iFpi) +GO(xmlParserInputRead, iFpi) +GO(xmlParserInputShrink, vFp) +//GO(xmlParserPrintFileContext, +//GO(xmlParserPrintFileInfo, +//GO(xmlParserValidityError, +//GO(xmlParserValidityWarning, +//GO(__xmlParserVersion, +//GO(xmlParserWarning, +GO(xmlParseSDDecl, iFp) +GO(xmlParseStartTag, pFp) +GO(xmlParseSystemLiteral, pFp) +GO(xmlParseTextDecl, vFp) +//GO(xmlParseURI, +//GO(xmlParseURIRaw, +//GO(xmlParseURIReference, +GO(xmlParseVersionInfo, pFp) +GO(xmlParseVersionNum, pFp) +GO(xmlParseXMLDecl, vFp) +//GO(xmlPathToURI, +//GO(xmlPatterncompile, +//GO(xmlPatternFromRoot, +//GO(xmlPatternGetStreamCtxt, +//GO(xmlPatternMatch, +//GO(xmlPatternMaxDepth, +//GO(xmlPatternMinDepth, +//GO(xmlPatternStreamable, +GO(xmlPedanticParserDefault, iFi) +//GO(__xmlPedanticParserDefaultValue, +GO(xmlPopInput, CFp) +GO(xmlPopInputCallbacks, iFv) +GO(xmlPreviousElementSibling, pFp) +//GO(xmlPrintURI, +GO(xmlPushInput, iFpi) +//GO(__xmlRaiseError, +GO(xmlReadDoc, pFpppi) +//GO(xmlReaderForDoc, +//GO(xmlReaderForFd, +//GO(xmlReaderForFile, +//GO(xmlReaderForIO, +//GO(xmlReaderForMemory, +//GO(xmlReaderNewDoc, +//GO(xmlReaderNewFd, +//GO(xmlReaderNewFile, +//GO(xmlReaderNewIO, +//GO(xmlReaderNewMemory, +//GO(xmlReaderNewWalker, +//GO(xmlReaderWalker, +GO(xmlReadFd, pFippi) +GO(xmlReadFile, pFppi) +//GOM(xmlReadIO, pFEBBpppi) +GO(xmlReadMemory, pFpippi) +//GO(xmlReallocLoc, +GO(xmlReconciliateNs, iFpp) +GO(xmlRecoverDoc, pFp) +GO(xmlRecoverFile, pFp) +GO(xmlRecoverMemory, pFpi) +//GO(xmlRegExecErrInfo, +//GO(xmlRegExecNextValues, +//GO(xmlRegExecPushString, +//GO(xmlRegExecPushString2, +//GO(xmlRegexpCompile, +//GO(xmlRegexpExec, +//GO(xmlRegexpIsDeterminist, +//GO(xmlRegexpPrint, +//GO(xmlRegFreeExecCtxt, +//GO(xmlRegFreeRegexp, +GO(xmlRegisterCharEncodingHandler, vFp) +GO(xmlRegisterDefaultInputCallbacks, vFv) +GO(xmlRegisterDefaultOutputCallbacks, vFv) +GO(xmlRegisterHTTPPostCallbacks, vFv) +GOM(xmlRegisterInputCallbacks, iFEpppp) +//GOM(xmlRegisterNodeDefault, BFEB) +//GO(__xmlRegisterNodeDefaultValue, +//GOM(xmlRegisterOutputCallbacks, iFEBBBB) +//GO(xmlRegNewExecCtxt, +//GO(xmlRelaxNGCleanupTypes, +//GO(xmlRelaxNGDump, +//GO(xmlRelaxNGDumpTree, +//GO(xmlRelaxNGFree, +//GO(xmlRelaxNGFreeParserCtxt, +//GO(xmlRelaxNGFreeValidCtxt, +//GO(xmlRelaxNGGetParserErrors, +//GO(xmlRelaxNGGetValidErrors, +//GO(xmlRelaxNGInitTypes, +//GO(xmlRelaxNGNewDocParserCtxt, +//GO(xmlRelaxNGNewMemParserCtxt, +//GO(xmlRelaxNGNewParserCtxt, +//GO(xmlRelaxNGNewValidCtxt, +//GO(xmlRelaxNGParse, +//GO(xmlRelaxNGSetParserErrors, +//GO(xmlRelaxNGSetParserStructuredErrors, +//GO(xmlRelaxNGSetValidErrors, +//GO(xmlRelaxNGSetValidStructuredErrors, +//GO(xmlRelaxNGValidateDoc, +//GO(xmlRelaxNGValidateFullElement, +//GO(xmlRelaxNGValidatePopElement, +//GO(xmlRelaxNGValidatePushCData, +//GO(xmlRelaxNGValidatePushElement, +//GO(xmlRelaxParserSetFlag, +GO(xmlRemoveID, iFpp) +GO(xmlRemoveProp, iFp) +GO(xmlRemoveRef, iFpp) +GO(xmlReplaceNode, pFpp) +//GO(xmlResetError, +//GO(xmlResetLastError, +//GO(xmlRMutexLock, +//GO(xmlRMutexUnlock, +GO(xmlSaveClose, iFp) +GO(xmlSaveDoc, lFpp) +GO(xmlSaveFile, iFpp) +GO(xmlSaveFileEnc, iFppp) +GO(xmlSaveFileTo, iFppp) +GO(xmlSaveFlush, iFp) +//GO(xmlSaveFormatFile, +//GO(xmlSaveFormatFileEnc, +//GO(xmlSaveFormatFileTo, +//GO(__xmlSaveNoEmptyTags, +//GOM(xmlSaveSetAttrEscape, iFEpB) +//GOM(xmlSaveSetEscape, iFEpB) +GO(xmlSaveToBuffer, pFppi) +GO(xmlSaveToFd, pFipi) +GO(xmlSaveToFilename, pFppi) +GOM(xmlSaveToIO, pFEppppi) +GO(xmlSaveTree, lFpp) +//GO(xmlSaveUri, +GO(xmlSAX2AttributeDecl, vFpppiipp) +GO(xmlSAX2CDataBlock, vFppi) +GO(xmlSAX2Characters, vFppi) +GO(xmlSAX2Comment, vFpp) +GO(xmlSAX2ElementDecl, vFppip) +GO(xmlSAX2EndDocument, vFp) +GO(xmlSAX2EndElement, vFpp) +GO(xmlSAX2EndElementNs, vFpppp) +GO(xmlSAX2EntityDecl, vFppippp) +GO(xmlSAX2ExternalSubset, vFpppp) +GO(xmlSAX2GetColumnNumber, iFp) +GO(xmlSAX2GetEntity, pFpp) +GO(xmlSAX2GetLineNumber, iFp) +GO(xmlSAX2GetParameterEntity, pFpp) +GO(xmlSAX2GetPublicId, pFp) +GO(xmlSAX2GetSystemId, pFp) +GO(xmlSAX2HasExternalSubset, iFp) +GO(xmlSAX2HasInternalSubset, iFp) +GO(xmlSAX2IgnorableWhitespace, vFppi) +GO(xmlSAX2InitDefaultSAXHandler, vFpi) +GO(xmlSAX2InitDocbDefaultSAXHandler, vFp) +GO(xmlSAX2InitHtmlDefaultSAXHandler, vFp) +GO(xmlSAX2InternalSubset, vFpppp) +GO(xmlSAX2IsStandalone, iFp) +GO(xmlSAX2NotationDecl, vFpppp) +GO(xmlSAX2ProcessingInstruction, vFppp) +GO(xmlSAX2Reference, vFpp) +GO(xmlSAX2ResolveEntity, pFppp) +GO(xmlSAX2SetDocumentLocator, vFpp) +GO(xmlSAX2StartDocument, vFp) +GO(xmlSAX2StartElement, vFppp) +GO(xmlSAX2StartElementNs, vFppppipiip) +GO(xmlSAX2UnparsedEntityDecl, vFppppp) +GO(xmlSAXDefaultVersion, iFi) +GO(xmlSAXParseDoc, pFppi) +GO(xmlSAXParseDTD, pFppp) +GO(xmlSAXParseEntity, pFpp) +GO(xmlSAXParseFile, pFppi) +GO(xmlSAXParseFileWithData, pFppip) +GO(xmlSAXParseMemory, pFppii) +GO(xmlSAXParseMemoryWithData, pFppiip) +GO(xmlSAXUserParseFile, iFppp) +GO(xmlSAXUserParseMemory, iFpppi) +GO(xmlSAXVersion, iFpi) +GO(xmlScanName, pFp) +//GO(xmlSchemaCheckFacet, +//GO(xmlSchemaCleanupTypes, +//GO(xmlSchemaCollapseString, +//GO(xmlSchemaCompareValues, +//GO(xmlSchemaCompareValuesWhtsp, +//GO(xmlSchemaCopyValue, +GO(xmlSchemaDump, vFpp) +GO(xmlSchemaFree, vFp) +//GO(xmlSchemaFreeFacet, +GO(xmlSchemaFreeParserCtxt, vFp) +//GO(xmlSchemaFreeType, +GO(xmlSchemaFreeValidCtxt, vFp) +//GO(xmlSchemaFreeValue, +//GO(xmlSchemaFreeWildcard, +//GO(xmlSchemaGetBuiltInListSimpleTypeItemType, +//GO(xmlSchemaGetBuiltInType, +//GO(xmlSchemaGetCanonValue, +//GO(xmlSchemaGetCanonValueWhtsp, +//GO(xmlSchemaGetFacetValueAsULong, +//GOM(xmlSchemaGetParserErrors, iFEpBBp) +//GO(xmlSchemaGetPredefinedType, +//GOM(xmlSchemaGetValidErrors, iFEpBBp) +//GO(xmlSchemaGetValType, +//GO(xmlSchemaInitTypes, +//GO(xmlSchemaIsBuiltInTypeFacet, +GO(xmlSchemaIsValid, iFp) +GO(xmlSchemaNewDocParserCtxt, pFp) +//GO(xmlSchemaNewFacet, +GO(xmlSchemaNewMemParserCtxt, pFpi) +//GO(xmlSchemaNewNOTATIONValue, +GO(xmlSchemaNewParserCtxt, pFp) +//GO(xmlSchemaNewQNameValue, +//GO(xmlSchemaNewStringValue, +GO(xmlSchemaNewValidCtxt, pFp) +GO(xmlSchemaParse, pFp) +GO(xmlSchemaSAXPlug, pFppp) +GO(xmlSchemaSAXUnplug, iFp) +GOM(xmlSchemaSetParserErrors, vFEpppp) +GOM(xmlSchemaSetParserStructuredErrors, vFEppp) +GOM(xmlSchemaSetValidErrors, vFEpppp) +GO(xmlSchemaSetValidOptions, iFpi) +GOM(xmlSchemaSetValidStructuredErrors, vFEppp) +//GO(xmlSchematronFree, +//GO(xmlSchematronFreeParserCtxt, +//GO(xmlSchematronFreeValidCtxt, +//GO(xmlSchematronNewDocParserCtxt, +//GO(xmlSchematronNewMemParserCtxt, +//GO(xmlSchematronNewParserCtxt, +//GO(xmlSchematronNewValidCtxt, +//GO(xmlSchematronParse, +//GO(xmlSchematronSetValidStructuredErrors, +//GO(xmlSchematronValidateDoc, +GO(xmlSchemaValidateDoc, iFpp) +//GO(xmlSchemaValidateFacet, +//GO(xmlSchemaValidateFacetWhtsp, +GO(xmlSchemaValidateFile, iFppi) +//GO(xmlSchemaValidateLengthFacet, +//GO(xmlSchemaValidateLengthFacetWhtsp, +//GO(xmlSchemaValidateListSimpleTypeFacet, +GO(xmlSchemaValidateOneElement, iFpp) +//GO(xmlSchemaValidatePredefinedType, +GO(xmlSchemaValidateSetFilename, iFpp) +//GOM(xmlSchemaValidateSetLocator, iFEpBp) +GO(xmlSchemaValidateStream, iFppipp) +GO(xmlSchemaValidCtxtGetOptions, iFp) +GO(xmlSchemaValidCtxtGetParserCtxt, pFp) +//GO(xmlSchemaValPredefTypeNode, +//GO(xmlSchemaValPredefTypeNodeNoNorm, +//GO(xmlSchemaValueAppend, +//GO(xmlSchemaValueGetAsBoolean, +//GO(xmlSchemaValueGetAsString, +//GO(xmlSchemaValueGetNext, +//GO(xmlSchemaWhiteSpaceReplace, +GO(xmlSearchNs, pFppp) +GO(xmlSearchNsByHref, pFppp) +GO(xmlSetBufferAllocationScheme, vFi) +GO(xmlSetCompressMode, vFi) +GO(xmlSetDocCompressMode, vFpi) +GOM(xmlSetExternalEntityLoader, vFEp) +GO(xmlSetFeature, iFppp) +//GO(xmlSetGenericErrorFunc, +GO(xmlSetListDoc, vFpp) +GO(xmlSetNs, vFpp) +GO(xmlSetNsProp, pFpppp) +GO(xmlSetProp, pFppp) +//GO(xmlSetStructuredErrorFunc, +GO(xmlSetTreeDoc, vFpp) +GO(xmlSetupParserForBuffer, vFppp) +//GO(__xmlSimpleError, +GO(xmlSkipBlankChars, iFp) +GO(xmlSnprintfElementContent, vFpipi) +GO(xmlSplitQName, pFppp) +GO(xmlSplitQName2, pFpp) +GO(xmlSplitQName3, pFpp) +GO(xmlSprintfElementContent, vFppi) +GO(xmlStopParser, vFp) +GO(xmlStrcasecmp, iFpp) +GO(xmlStrcasestr, pFpp) +GO(xmlStrcat, pFpp) +GO(xmlStrchr, pFpC) +GO(xmlStrcmp, iFpp) +GO(xmlStrdup, pFp) +//GO(xmlStreamPop, +//GO(xmlStreamPush, +//GO(xmlStreamPushAttr, +//GO(xmlStreamPushNode, +//GO(xmlStreamWantsAnyNode, +GO(xmlStrEqual, iFpp) +GO(xmlStringCurrentChar, iFppp) +GO(xmlStringDecodeEntities, pFppiCCC) +GO(xmlStringGetNodeList, pFpp) +GO(xmlStringLenDecodeEntities, pFppiiCCC) +GO(xmlStringLenGetNodeList, pFppi) +GO(xmlStrlen, iFp) +GO(xmlStrncasecmp, iFppi) +GO(xmlStrncat, pFppi) +GO(xmlStrncatNew, pFppi) +GO(xmlStrncmp, iFppi) +GO(xmlStrndup, pFpi) +GO2(xmlStrPrintf, iFpipV, xmlStrVPrintf) +GO(xmlStrQEqual, iFppp) +GO(xmlStrstr, pFpp) +GO(xmlStrsub, pFpii) +//GO(__xmlStructuredError, +//GO(__xmlStructuredErrorContext, +GO(xmlStrVPrintf, iFpipp) +GO(xmlSubstituteEntitiesDefault, iFi) +//GO(__xmlSubstituteEntitiesDefaultValue, +GO(xmlSwitchEncoding, iFpi) +GO(xmlSwitchInputEncoding, iFppp) +GO(xmlSwitchToEncoding, iFpp) +GO(xmlTextConcat, iFppi) +GO(xmlTextMerge, pFpp) +//GO(xmlTextReaderAttributeCount, +//GO(xmlTextReaderBaseUri, +//GO(xmlTextReaderByteConsumed, +//GO(xmlTextReaderClose, +//GO(xmlTextReaderConstBaseUri, +//GO(xmlTextReaderConstEncoding, +//GO(xmlTextReaderConstLocalName, +//GO(xmlTextReaderConstName, +//GO(xmlTextReaderConstNamespaceUri, +//GO(xmlTextReaderConstPrefix, +//GO(xmlTextReaderConstString, +//GO(xmlTextReaderConstValue, +//GO(xmlTextReaderConstXmlLang, +//GO(xmlTextReaderConstXmlVersion, +//GO(xmlTextReaderCurrentDoc, +//GO(xmlTextReaderCurrentNode, +//GO(xmlTextReaderDepth, +//GO(xmlTextReaderExpand, +//GO(xmlTextReaderGetAttribute, +//GO(xmlTextReaderGetAttributeNo, +//GO(xmlTextReaderGetAttributeNs, +//GO(xmlTextReaderGetErrorHandler, +//GO(xmlTextReaderGetParserColumnNumber, +//GO(xmlTextReaderGetParserLineNumber, +//GO(xmlTextReaderGetParserProp, +//GO(xmlTextReaderGetRemainder, +//GO(xmlTextReaderHasAttributes, +//GO(xmlTextReaderHasValue, +//GO(xmlTextReaderIsDefault, +//GO(xmlTextReaderIsEmptyElement, +//GO(xmlTextReaderIsNamespaceDecl, +//GO(xmlTextReaderIsValid, +//GO(xmlTextReaderLocalName, +//GO(xmlTextReaderLocatorBaseURI, +//GO(xmlTextReaderLocatorLineNumber, +//GO(xmlTextReaderLookupNamespace, +//GO(xmlTextReaderMoveToAttribute, +//GO(xmlTextReaderMoveToAttributeNo, +//GO(xmlTextReaderMoveToAttributeNs, +//GO(xmlTextReaderMoveToElement, +//GO(xmlTextReaderMoveToFirstAttribute, +//GO(xmlTextReaderMoveToNextAttribute, +//GO(xmlTextReaderName, +//GO(xmlTextReaderNamespaceUri, +//GO(xmlTextReaderNext, +//GO(xmlTextReaderNextSibling, +//GO(xmlTextReaderNodeType, +//GO(xmlTextReaderNormalization, +//GO(xmlTextReaderPrefix, +//GO(xmlTextReaderPreserve, +//GO(xmlTextReaderPreservePattern, +//GO(xmlTextReaderQuoteChar, +//GO(xmlTextReaderRead, +//GO(xmlTextReaderReadAttributeValue, +//GO(xmlTextReaderReadInnerXml, +//GO(xmlTextReaderReadOuterXml, +//GO(xmlTextReaderReadState, +//GO(xmlTextReaderReadString, +//GO(xmlTextReaderRelaxNGSetSchema, +//GO(xmlTextReaderRelaxNGValidate, +//GO(xmlTextReaderSchemaValidate, +//GO(xmlTextReaderSchemaValidateCtxt, +//GO(xmlTextReaderSetErrorHandler, +//GO(xmlTextReaderSetParserProp, +//GO(xmlTextReaderSetSchema, +//GO(xmlTextReaderSetStructuredErrorHandler, +//GO(xmlTextReaderSetup, +//GO(xmlTextReaderStandalone, +//GO(xmlTextReaderValue, +//GO(xmlTextReaderXmlLang, +//GO(xmlTextWriterEndAttribute, +//GO(xmlTextWriterEndCDATA, +//GO(xmlTextWriterEndComment, +//GO(xmlTextWriterEndDocument, +//GO(xmlTextWriterEndDTD, +//GO(xmlTextWriterEndDTDAttlist, +//GO(xmlTextWriterEndDTDElement, +//GO(xmlTextWriterEndDTDEntity, +//GO(xmlTextWriterEndElement, +//GO(xmlTextWriterEndPI, +//GO(xmlTextWriterFlush, +//GO(xmlTextWriterFullEndElement, +//GO(xmlTextWriterSetIndent, +//GO(xmlTextWriterSetIndentString, +//GO(xmlTextWriterStartAttribute, +//GO(xmlTextWriterStartAttributeNS, +//GO(xmlTextWriterStartCDATA, +//GO(xmlTextWriterStartComment, +//GO(xmlTextWriterStartDocument, +//GO(xmlTextWriterStartDTD, +//GO(xmlTextWriterStartDTDAttlist, +//GO(xmlTextWriterStartDTDElement, +//GO(xmlTextWriterStartDTDEntity, +//GO(xmlTextWriterStartElement, +//GO(xmlTextWriterStartElementNS, +//GO(xmlTextWriterStartPI, +//GO(xmlTextWriterWriteAttribute, +//GO(xmlTextWriterWriteAttributeNS, +//GO(xmlTextWriterWriteBase64, +//GO(xmlTextWriterWriteBinHex, +//GO(xmlTextWriterWriteCDATA, +//GO(xmlTextWriterWriteComment, +//GO(xmlTextWriterWriteDTD, +//GO(xmlTextWriterWriteDTDAttlist, +//GO(xmlTextWriterWriteDTDElement, +//GO(xmlTextWriterWriteDTDEntity, +//GO(xmlTextWriterWriteDTDExternalEntity, +//GO(xmlTextWriterWriteDTDExternalEntityContents, +//GO(xmlTextWriterWriteDTDInternalEntity, +//GO(xmlTextWriterWriteDTDNotation, +//GO(xmlTextWriterWriteElement, +//GO(xmlTextWriterWriteElementNS, +//GO(xmlTextWriterWriteFormatAttribute, +//GO(xmlTextWriterWriteFormatAttributeNS, +//GO(xmlTextWriterWriteFormatCDATA, +//GO(xmlTextWriterWriteFormatComment, +//GO(xmlTextWriterWriteFormatDTD, +//GO(xmlTextWriterWriteFormatDTDAttlist, +//GO(xmlTextWriterWriteFormatDTDElement, +//GO(xmlTextWriterWriteFormatDTDInternalEntity, +//GO(xmlTextWriterWriteFormatElement, +//GO(xmlTextWriterWriteFormatElementNS, +//GO(xmlTextWriterWriteFormatPI, +//GO(xmlTextWriterWriteFormatRaw, +//GO(xmlTextWriterWriteFormatString, +//GO(xmlTextWriterWritePI, +//GO(xmlTextWriterWriteRaw, +//GO(xmlTextWriterWriteRawLen, +//GO(xmlTextWriterWriteString, +//GO(xmlTextWriterWriteVFormatAttribute, +//GO(xmlTextWriterWriteVFormatAttributeNS, +//GO(xmlTextWriterWriteVFormatCDATA, +//GO(xmlTextWriterWriteVFormatComment, +//GO(xmlTextWriterWriteVFormatDTD, +//GO(xmlTextWriterWriteVFormatDTDAttlist, +//GO(xmlTextWriterWriteVFormatDTDElement, +//GO(xmlTextWriterWriteVFormatDTDInternalEntity, +//GO(xmlTextWriterWriteVFormatElement, +//GO(xmlTextWriterWriteVFormatElementNS, +//GO(xmlTextWriterWriteVFormatPI, +//GO(xmlTextWriterWriteVFormatRaw, +//GO(xmlTextWriterWriteVFormatString, +GO(xmlThrDefBufferAllocScheme, iFi) +GO(xmlThrDefDefaultBufferSize, iFi) +//GOM(xmlThrDefDeregisterNodeDefault, BFEB) +GO(xmlThrDefDoValidityCheckingDefaultValue, iFi) +GO(xmlThrDefGetWarningsDefaultValue, iFi) +GO(xmlThrDefIndentTreeOutput, iFi) +GO(xmlThrDefKeepBlanksDefaultValue, iFi) +GO(xmlThrDefLineNumbersDefaultValue, iFi) +GO(xmlThrDefLoadExtDtdDefaultValue, iFi) +//GOM(xmlThrDefOutputBufferCreateFilenameDefault, BFEB) +GO(xmlThrDefParserDebugEntities, iFi) +//GOM(xmlThrDefParserInputBufferCreateFilenameDefault, BFEB) +GO(xmlThrDefPedanticParserDefaultValue, iFi) +//GOM(xmlThrDefRegisterNodeDefault, BFEB) +GO(xmlThrDefSaveNoEmptyTags, iFi) +//GOM(xmlThrDefSetGenericErrorFunc, vFEpB) +//GOM(xmlThrDefSetStructuredErrorFunc, vFEpB) +GO(xmlThrDefSubstituteEntitiesDefaultValue, iFi) +GO(xmlThrDefTreeIndentString, pFp) +GO(__xmlTreeIndentString, pFv) +//GO(xmlUCSIsAegeanNumbers, +//GO(xmlUCSIsAlphabeticPresentationForms, +//GO(xmlUCSIsArabic, +//GO(xmlUCSIsArabicPresentationFormsA, +//GO(xmlUCSIsArabicPresentationFormsB, +//GO(xmlUCSIsArmenian, +//GO(xmlUCSIsArrows, +//GO(xmlUCSIsBasicLatin, +//GO(xmlUCSIsBengali, +//GO(xmlUCSIsBlock, +//GO(xmlUCSIsBlockElements, +//GO(xmlUCSIsBopomofo, +//GO(xmlUCSIsBopomofoExtended, +//GO(xmlUCSIsBoxDrawing, +//GO(xmlUCSIsBraillePatterns, +//GO(xmlUCSIsBuhid, +//GO(xmlUCSIsByzantineMusicalSymbols, +//GO(xmlUCSIsCat, +//GO(xmlUCSIsCatC, +//GO(xmlUCSIsCatCc, +//GO(xmlUCSIsCatCf, +//GO(xmlUCSIsCatCo, +//GO(xmlUCSIsCatCs, +//GO(xmlUCSIsCatL, +//GO(xmlUCSIsCatLl, +//GO(xmlUCSIsCatLm, +//GO(xmlUCSIsCatLo, +//GO(xmlUCSIsCatLt, +//GO(xmlUCSIsCatLu, +//GO(xmlUCSIsCatM, +//GO(xmlUCSIsCatMc, +//GO(xmlUCSIsCatMe, +//GO(xmlUCSIsCatMn, +//GO(xmlUCSIsCatN, +//GO(xmlUCSIsCatNd, +//GO(xmlUCSIsCatNl, +//GO(xmlUCSIsCatNo, +//GO(xmlUCSIsCatP, +//GO(xmlUCSIsCatPc, +//GO(xmlUCSIsCatPd, +//GO(xmlUCSIsCatPe, +//GO(xmlUCSIsCatPf, +//GO(xmlUCSIsCatPi, +//GO(xmlUCSIsCatPo, +//GO(xmlUCSIsCatPs, +//GO(xmlUCSIsCatS, +//GO(xmlUCSIsCatSc, +//GO(xmlUCSIsCatSk, +//GO(xmlUCSIsCatSm, +//GO(xmlUCSIsCatSo, +//GO(xmlUCSIsCatZ, +//GO(xmlUCSIsCatZl, +//GO(xmlUCSIsCatZp, +//GO(xmlUCSIsCatZs, +//GO(xmlUCSIsCherokee, +//GO(xmlUCSIsCJKCompatibility, +//GO(xmlUCSIsCJKCompatibilityForms, +//GO(xmlUCSIsCJKCompatibilityIdeographs, +//GO(xmlUCSIsCJKCompatibilityIdeographsSupplement, +//GO(xmlUCSIsCJKRadicalsSupplement, +//GO(xmlUCSIsCJKSymbolsandPunctuation, +//GO(xmlUCSIsCJKUnifiedIdeographs, +//GO(xmlUCSIsCJKUnifiedIdeographsExtensionA, +//GO(xmlUCSIsCJKUnifiedIdeographsExtensionB, +//GO(xmlUCSIsCombiningDiacriticalMarks, +//GO(xmlUCSIsCombiningDiacriticalMarksforSymbols, +//GO(xmlUCSIsCombiningHalfMarks, +//GO(xmlUCSIsCombiningMarksforSymbols, +//GO(xmlUCSIsControlPictures, +//GO(xmlUCSIsCurrencySymbols, +//GO(xmlUCSIsCypriotSyllabary, +//GO(xmlUCSIsCyrillic, +//GO(xmlUCSIsCyrillicSupplement, +//GO(xmlUCSIsDeseret, +//GO(xmlUCSIsDevanagari, +//GO(xmlUCSIsDingbats, +//GO(xmlUCSIsEnclosedAlphanumerics, +//GO(xmlUCSIsEnclosedCJKLettersandMonths, +//GO(xmlUCSIsEthiopic, +//GO(xmlUCSIsGeneralPunctuation, +//GO(xmlUCSIsGeometricShapes, +//GO(xmlUCSIsGeorgian, +//GO(xmlUCSIsGothic, +//GO(xmlUCSIsGreek, +//GO(xmlUCSIsGreekandCoptic, +//GO(xmlUCSIsGreekExtended, +//GO(xmlUCSIsGujarati, +//GO(xmlUCSIsGurmukhi, +//GO(xmlUCSIsHalfwidthandFullwidthForms, +//GO(xmlUCSIsHangulCompatibilityJamo, +//GO(xmlUCSIsHangulJamo, +//GO(xmlUCSIsHangulSyllables, +//GO(xmlUCSIsHanunoo, +//GO(xmlUCSIsHebrew, +//GO(xmlUCSIsHighPrivateUseSurrogates, +//GO(xmlUCSIsHighSurrogates, +//GO(xmlUCSIsHiragana, +//GO(xmlUCSIsIdeographicDescriptionCharacters, +//GO(xmlUCSIsIPAExtensions, +//GO(xmlUCSIsKanbun, +//GO(xmlUCSIsKangxiRadicals, +//GO(xmlUCSIsKannada, +//GO(xmlUCSIsKatakana, +//GO(xmlUCSIsKatakanaPhoneticExtensions, +//GO(xmlUCSIsKhmer, +//GO(xmlUCSIsKhmerSymbols, +//GO(xmlUCSIsLao, +//GO(xmlUCSIsLatin1Supplement, +//GO(xmlUCSIsLatinExtendedA, +//GO(xmlUCSIsLatinExtendedAdditional, +//GO(xmlUCSIsLatinExtendedB, +//GO(xmlUCSIsLetterlikeSymbols, +//GO(xmlUCSIsLimbu, +//GO(xmlUCSIsLinearBIdeograms, +//GO(xmlUCSIsLinearBSyllabary, +//GO(xmlUCSIsLowSurrogates, +//GO(xmlUCSIsMalayalam, +//GO(xmlUCSIsMathematicalAlphanumericSymbols, +//GO(xmlUCSIsMathematicalOperators, +//GO(xmlUCSIsMiscellaneousMathematicalSymbolsA, +//GO(xmlUCSIsMiscellaneousMathematicalSymbolsB, +//GO(xmlUCSIsMiscellaneousSymbols, +//GO(xmlUCSIsMiscellaneousSymbolsandArrows, +//GO(xmlUCSIsMiscellaneousTechnical, +//GO(xmlUCSIsMongolian, +//GO(xmlUCSIsMusicalSymbols, +//GO(xmlUCSIsMyanmar, +//GO(xmlUCSIsNumberForms, +//GO(xmlUCSIsOgham, +//GO(xmlUCSIsOldItalic, +//GO(xmlUCSIsOpticalCharacterRecognition, +//GO(xmlUCSIsOriya, +//GO(xmlUCSIsOsmanya, +//GO(xmlUCSIsPhoneticExtensions, +//GO(xmlUCSIsPrivateUse, +//GO(xmlUCSIsPrivateUseArea, +//GO(xmlUCSIsRunic, +//GO(xmlUCSIsShavian, +//GO(xmlUCSIsSinhala, +//GO(xmlUCSIsSmallFormVariants, +//GO(xmlUCSIsSpacingModifierLetters, +//GO(xmlUCSIsSpecials, +//GO(xmlUCSIsSuperscriptsandSubscripts, +//GO(xmlUCSIsSupplementalArrowsA, +//GO(xmlUCSIsSupplementalArrowsB, +//GO(xmlUCSIsSupplementalMathematicalOperators, +//GO(xmlUCSIsSupplementaryPrivateUseAreaA, +//GO(xmlUCSIsSupplementaryPrivateUseAreaB, +//GO(xmlUCSIsSyriac, +//GO(xmlUCSIsTagalog, +//GO(xmlUCSIsTagbanwa, +//GO(xmlUCSIsTags, +//GO(xmlUCSIsTaiLe, +//GO(xmlUCSIsTaiXuanJingSymbols, +//GO(xmlUCSIsTamil, +//GO(xmlUCSIsTelugu, +//GO(xmlUCSIsThaana, +//GO(xmlUCSIsThai, +//GO(xmlUCSIsTibetan, +//GO(xmlUCSIsUgaritic, +//GO(xmlUCSIsUnifiedCanadianAboriginalSyllabics, +//GO(xmlUCSIsVariationSelectors, +//GO(xmlUCSIsVariationSelectorsSupplement, +//GO(xmlUCSIsYijingHexagramSymbols, +//GO(xmlUCSIsYiRadicals, +//GO(xmlUCSIsYiSyllables, +GO(xmlUnlinkNode, vFp) +//GO(xmlUnlockLibrary, +GO(xmlUnsetNsProp, iFppp) +GO(xmlUnsetProp, iFpp) +//GO(xmlURIEscape, +//GO(xmlURIEscapeStr, +//GO(xmlURIUnescapeString, +GO(xmlUTF8Charcmp, iFpp) +GO(xmlUTF8Size, iFp) +GO(xmlUTF8Strlen, iFp) +GO(xmlUTF8Strloc, iFpp) +GO(xmlUTF8Strndup, pFpi) +GO(xmlUTF8Strpos, pFpi) +GO(xmlUTF8Strsize, iFpi) +GO(xmlUTF8Strsub, pFpii) +GO(xmlValidateAttributeDecl, iFppp) +GO(xmlValidateAttributeValue, iFpp) +GO(xmlValidateDocument, iFpp) +GO(xmlValidateDocumentFinal, iFpp) +GO(xmlValidateDtd, iFpp) +GO(xmlValidateDtdFinal, iFpp) +GO(xmlValidateElement, iFpp) +GO(xmlValidateElementDecl, iFppp) +GO(xmlValidateName, iFpi) +GO(xmlValidateNamesValue, iFp) +GO(xmlValidateNameValue, iFp) +GO(xmlValidateNCName, iFpi) +GO(xmlValidateNMToken, iFpi) +GO(xmlValidateNmtokensValue, iFp) +GO(xmlValidateNmtokenValue, iFp) +GO(xmlValidateNotationDecl, iFppp) +GO(xmlValidateNotationUse, iFppp) +GO(xmlValidateOneAttribute, iFppppp) +GO(xmlValidateOneElement, iFppp) +GO(xmlValidateOneNamespace, iFpppppp) +GO(xmlValidatePopElement, iFpppp) +GO(xmlValidatePushCData, iFppi) +GO(xmlValidatePushElement, iFpppp) +GO(xmlValidateQName, iFpi) +GO(xmlValidateRoot, iFpp) +GO(xmlValidBuildContentModel, iFpp) +GO(xmlValidCtxtNormalizeAttributeValue, pFppppp) +GO(xmlValidGetPotentialChildren, iFpppi) +GO(xmlValidGetValidElements, iFpppi) +GO(xmlValidNormalizeAttributeValue, pFpppp) +//GO(xmlXIncludeFreeContext, +//GO(xmlXIncludeNewContext, +//GO(xmlXIncludeProcess, +//GO(xmlXIncludeProcessFlags, +//GO(xmlXIncludeProcessFlagsData, +//GO(xmlXIncludeProcessNode, +//GO(xmlXIncludeProcessTree, +//GO(xmlXIncludeProcessTreeFlags, +//GO(xmlXIncludeProcessTreeFlagsData, +//GO(xmlXIncludeSetFlags, +GO(xmlXPathAddValues, vFp) +GO(xmlXPathBooleanFunction, vFpi) +GO(xmlXPathCastBooleanToNumber, dFi) +GO(xmlXPathCastBooleanToString, pFi) +GO(xmlXPathCastNodeSetToBoolean, iFp) +GO(xmlXPathCastNodeSetToNumber, dFp) +GO(xmlXPathCastNodeSetToString, pFp) +GO(xmlXPathCastNodeToNumber, dFp) +GO(xmlXPathCastNodeToString, pFp) +GO(xmlXPathCastNumberToBoolean, iFd) +GO(xmlXPathCastNumberToString, pFd) +GO(xmlXPathCastStringToBoolean, iFp) +GO(xmlXPathCastStringToNumber, dFp) +GO(xmlXPathCastToBoolean, iFp) +GO(xmlXPathCastToNumber, dFp) +GO(xmlXPathCastToString, pFp) +GO(xmlXPathCeilingFunction, vFpi) +GO(xmlXPathCmpNodes, iFpp) +GO(xmlXPathCompareValues, iFpii) +GO(xmlXPathCompile, pFp) +GO(xmlXPathCompiledEval, pFpp) +GO(xmlXPathCompiledEvalToBoolean, iFpp) +GO(xmlXPathConcatFunction, vFpi) +GO(xmlXPathContainsFunction, vFpi) +GO(xmlXPathContextSetCache, iFpiii) +GO(xmlXPathConvertBoolean, pFp) +GO(xmlXPathConvertNumber, pFp) +GO(xmlXPathConvertString, pFp) +GO(xmlXPathCountFunction, vFpi) +GO(xmlXPathCtxtCompile, pFpp) +GO(xmlXPathDebugDumpCompExpr, vFppi) +GO(xmlXPathDebugDumpObject, vFppi) +GO(xmlXPathDifference, pFpp) +GO(xmlXPathDistinct, pFp) +GO(xmlXPathDistinctSorted, pFp) +GO(xmlXPathDivValues, vFp) +GO(xmlXPathEqualValues, iFp) +GO(xmlXPathErr, vFpi) +GO(xmlXPatherror, vFppii) +GO(xmlXPathEval, pFpp) +GO(xmlXPathEvalExpr, vFp) +GO(xmlXPathEvalExpression, pFpp) +GO(xmlXPathEvalPredicate, pFpp) +GO(xmlXPathEvaluatePredicateResult, iFpp) +GO(xmlXPathFalseFunction, vFpi) +GO(xmlXPathFloorFunction, vFpi) +GO(xmlXPathFreeCompExpr, vFp) +GO(xmlXPathFreeContext, vFp) +GO(xmlXPathFreeNodeSet, vFp) +GO(xmlXPathFreeNodeSetList, vFp) +GO(xmlXPathFreeObject, vFp) +GO(xmlXPathFreeParserContext, vFp) +//GOM(xmlXPathFunctionLookup, BFEpp) +//GOM(xmlXPathFunctionLookupNS, BFEppp) +//GO(xmlXPathHasSameNodes, +//GO(xmlXPathIdFunction, +GO(xmlXPathInit, vFv) +GO(xmlXPathIntersection, pFpp) +GO(xmlXPathIsInf, iFd) +GO(xmlXPathIsNaN, iFd) +GO(xmlXPathIsNodeType, iFp) +GO(xmlXPathLangFunction, vFpi) +GO(xmlXPathLastFunction, vFpi) +GO(xmlXPathLeading, pFpp) +GO(xmlXPathLeadingSorted, pFpp) +GO(xmlXPathLocalNameFunction, vFpi) +GO(xmlXPathModValues, vFp) +GO(xmlXPathMultValues, vFp) +GO(xmlXPathNamespaceURIFunction, vFpi) +GO(xmlXPathNewBoolean, pFi) +GO(xmlXPathNewContext, pFp) +GO(xmlXPathNewCString, pFp) +GO(xmlXPathNewFloat, pFd) +GO(xmlXPathNewNodeSet, pFp) +GO(xmlXPathNewNodeSetList, pFp) +GO(xmlXPathNewParserContext, pFpp) +GO(xmlXPathNewString, pFp) +GO(xmlXPathNewValueTree, pFp) +GO(xmlXPathNextAncestor, pFpp) +GO(xmlXPathNextAncestorOrSelf, pFpp) +GO(xmlXPathNextAttribute, pFpp) +GO(xmlXPathNextChild, pFpp) +GO(xmlXPathNextDescendant, pFpp) +GO(xmlXPathNextDescendantOrSelf, pFpp) +GO(xmlXPathNextFollowing, pFpp) +GO(xmlXPathNextFollowingSibling, pFpp) +GO(xmlXPathNextNamespace, pFpp) +GO(xmlXPathNextParent, pFpp) +GO(xmlXPathNextPreceding, pFpp) +GO(xmlXPathNextPrecedingSibling, pFpp) +GO(xmlXPathNextSelf, pFpp) +GO(xmlXPathNodeEval, pFppp) +GO(xmlXPathNodeLeading, pFpp) +GO(xmlXPathNodeLeadingSorted, pFpp) +GO(xmlXPathNodeSetAdd, iFpp) +GO(xmlXPathNodeSetAddNs, iFppp) +GO(xmlXPathNodeSetAddUnique, iFpp) +GO(xmlXPathNodeSetContains, iFpp) +GO(xmlXPathNodeSetCreate, pFp) +GO(xmlXPathNodeSetDel, vFpp) +GO(xmlXPathNodeSetFreeNs, vFp) +GO(xmlXPathNodeSetMerge, pFpp) +GO(xmlXPathNodeSetRemove, vFpi) +GO(xmlXPathNodeSetSort, vFp) +GO(xmlXPathNodeTrailing, pFpp) +GO(xmlXPathNodeTrailingSorted, pFpp) +GO(xmlXPathNormalizeFunction, vFpi) +GO(xmlXPathNotEqualValues, iFp) +GO(xmlXPathNotFunction, vFpi) +GO(xmlXPathNsLookup, pFpp) +GO(xmlXPathNumberFunction, vFpi) +GO(xmlXPathObjectCopy, pFp) +GO(xmlXPathOrderDocElems, lFp) +GO(xmlXPathParseName, pFp) +GO(xmlXPathParseNCName, pFp) +GO(xmlXPathPopBoolean, iFp) +GO(xmlXPathPopExternal, pFp) +GO(xmlXPathPopNodeSet, pFp) +GO(xmlXPathPopNumber, dFp) +GO(xmlXPathPopString, pFp) +GO(xmlXPathPositionFunction, vFpi) +GO(xmlXPathRegisterAllFunctions, vFp) +GO(xmlXPathRegisteredFuncsCleanup, vFp) +GO(xmlXPathRegisteredNsCleanup,vFp) +GO(xmlXPathRegisteredVariablesCleanup, vFp) +GOM(xmlXPathRegisterFunc, iFEppp) +//GOM(xmlXPathRegisterFuncLookup, vFEpBp) +//GOM(xmlXPathRegisterFuncNS, iFEpppB) +GO(xmlXPathRegisterNs, iFppp) +GO(xmlXPathRegisterVariable, iFppp) +//GOM(xmlXPathRegisterVariableLookup, vFEpBp) +GO(xmlXPathRegisterVariableNS, iFpppp) +GO(xmlXPathRoot, vFp) +GO(xmlXPathRoundFunction, vFpi) +GO(xmlXPathSetContextNode, iFpp) +GO(xmlXPathStartsWithFunction, vFpi) +GO(xmlXPathStringEvalNumber, dFp) +GO(xmlXPathStringFunction, vFpi) +GO(xmlXPathStringLengthFunction, vFpi) +GO(xmlXPathSubstringAfterFunction, vFpi) +GO(xmlXPathSubstringBeforeFunction, vFpi) +GO(xmlXPathSubstringFunction, vFpi) +//GO(xmlXPathSubValues, +GO(xmlXPathSumFunction, vFpi) +GO(xmlXPathTrailing, pFpp) +GO(xmlXPathTrailingSorted, pFpp) +GO(xmlXPathTranslateFunction, vFpi) +GO(xmlXPathTrueFunction, vFpi) +GO(xmlXPathValueFlipSign, vFp) +GO(xmlXPathVariableLookup, pFpp) +GO(xmlXPathVariableLookupNS, pFppp) +GO(xmlXPathWrapCString, pFp) +GO(xmlXPathWrapExternal, pFp) +GO(xmlXPathWrapNodeSet, pFp) +GO(xmlXPathWrapString, pFp) +//GO(xmlXPtrAdvanceNode, +//GO(xmlXPtrBuildNodeList, +//GO(xmlXPtrEval, +//GO(xmlXPtrEvalRangePredicate, +//GO(xmlXPtrFreeLocationSet, +//GO(xmlXPtrLocationSetAdd, +//GO(xmlXPtrLocationSetCreate, +//GO(xmlXPtrLocationSetDel, +//GO(xmlXPtrLocationSetMerge, +//GO(xmlXPtrLocationSetRemove, +//GO(xmlXPtrNewCollapsedRange, +//GO(xmlXPtrNewContext, +//GO(xmlXPtrNewLocationSetNodes, +//GO(xmlXPtrNewLocationSetNodeSet, +//GO(xmlXPtrNewRange, +//GO(xmlXPtrNewRangeNodeObject, +//GO(xmlXPtrNewRangeNodePoint, +//GO(xmlXPtrNewRangeNodes, +//GO(xmlXPtrNewRangePointNode, +//GO(xmlXPtrNewRangePoints, +//GO(xmlXPtrRangeToFunction, +//GO(xmlXPtrWrapLocationSet, + +DATAM(xmlFree, sizeof(void*)) +DATAM(xmlMalloc, sizeof(void*)) +DATAM(xmlRealloc, sizeof(void*)) +DATAM(xmlMemStrdup, sizeof(void*)) \ No newline at end of file |