[INFO] fetching crate libxml2-rs 0.1.1...
[INFO] testing libxml2-rs-0.1.1 against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate libxml2-rs 0.1.1 into /workspace/builds/worker-4-tc1/source
[INFO] started tweaking crates.io crate libxml2-rs 0.1.1
[INFO] finished tweaking crates.io crate libxml2-rs 0.1.1
[INFO] tweaked toml for crates.io crate libxml2-rs 0.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate libxml2-rs 0.1.1 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate libxml2-rs 0.1.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded workspace_root v0.2.0
[INFO] [stderr]   Downloaded serial_test_derive v3.2.0
[INFO] [stderr]   Downloaded redox_syscall v0.5.17
[INFO] [stderr]   Downloaded serial_test v3.2.0
[INFO] [stderr]   Downloaded get_dir v0.5.0
[INFO] [stderr]   Downloaded dtor v0.1.0
[INFO] [stderr]   Downloaded dtor-proc-macro v0.0.6
[INFO] [stderr]   Downloaded ctor v0.5.0
[INFO] [stderr]   Downloaded windows-targets v0.53.3
[INFO] [stderr]   Downloaded bitflags v2.9.3
[INFO] [stderr]   Downloaded ctor-proc-macro v0.0.6
[INFO] [stderr]   Downloaded cc v1.2.34
[INFO] [stderr]   Downloaded regex v1.11.2
[INFO] [stderr]   Downloaded bindgen v0.72.0
[INFO] [stderr]   Downloaded regex-syntax v0.8.6
[INFO] [stderr]   Downloaded regex-automata v0.4.10
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6699e2e9e18be2beb41bf598df61b6c011e606b854dfd61553f5e491a0aa607e
[INFO] running `Command { std: "docker" "start" "6699e2e9e18be2beb41bf598df61b6c011e606b854dfd61553f5e491a0aa607e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6699e2e9e18be2beb41bf598df61b6c011e606b854dfd61553f5e491a0aa607e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6699e2e9e18be2beb41bf598df61b6c011e606b854dfd61553f5e491a0aa607e" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6699e2e9e18be2beb41bf598df61b6c011e606b854dfd61553f5e491a0aa607e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6699e2e9e18be2beb41bf598df61b6c011e606b854dfd61553f5e491a0aa607e" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling regex-syntax v0.8.6
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling libloading v0.8.8
[INFO] [stderr]    Compiling bindgen v0.72.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling cc v1.2.34
[INFO] [stderr]    Compiling bitflags v2.9.3
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling rustc-hash v2.1.1
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling cmake v0.1.54
[INFO] [stderr]    Compiling regex-automata v0.4.10
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling regex v1.11.2
[INFO] [stderr]    Compiling libxml2-rs v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]  --> /opt/rustwide/target/release/build/libxml2-rs-88f840c53f735f57/out/bindings.rs:3:29060
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...:: raw :: c_int { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set_...
[INFO] [stdout]   |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]   |
[INFO] [stdout] 3 - # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] fn extract_bit (byte : u8 , index : usize) -> bool { let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; Self :: extract_bit (byte , index) } # [inline] pub unsafe fn raw_get_bit (this : * const Self , index : usize) -> bool { debug_assert ! (index / 8 < core :: mem :: size_of ::< Storage > ()) ; let byte_index = index / 8 ; let byte = unsafe { * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) } ; Self :: extract_bit (byte , index) } # [inline] fn change_bit (byte : u8 , index : usize , val : bool) -> u8 { let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { byte | mask } else { byte & ! mask } } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; * byte = Self :: change_bit (* byte , index , val) ; } # [inline] pub unsafe fn raw_set_bit (this : * mut Self , index : usize , val : bool) { debug_assert ! (index / 8 < core :: mem :: size_of ::< Storage > ()) ; let byte_index = index / 8 ; let byte = unsafe { (core :: ptr :: addr_of_mut ! ((* this) . storage) as * mut u8) . offset (byte_index as isize) } ; unsafe { * byte = Self :: change_bit (* byte , index , val) } ; } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub unsafe fn raw_get (this : * const Self , bit_offset : usize , bit_width : u8 ,) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < core :: mem :: size_of ::< Storage > ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= core :: mem :: size_of ::< Storage > ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if unsafe { Self :: raw_get_bit (this , i + bit_offset) } { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } # [inline] pub unsafe fn raw_set (this : * mut Self , bit_offset : usize , bit_width : u8 , val : u64 ,) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < core :: mem :: size_of ::< Storage > ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= core :: mem :: size_of ::< Storage > ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; unsafe { Self :: raw_set_bit (this , index + bit_offset , val_bit_is_set) } ; } } } # [derive (PartialEq , Copy , Clone , Hash , Debug , Default)] # [repr (C)] pub struct __BindgenComplex < T > { pub re : T , pub im : T } pub const LIBXML_DOTTED_VERSION : & [u8 ; 7] = b"2.15.2\0" ; pub const LIBXML_VERSION : u32 = 21502 ; pub const LIBXML_VERSION_STRING : & [u8 ; 6] = b"21502\0" ; pub const LIBXML_VERSION_EXTRA : & [u8 ; 1] = b"\0" ; pub const LIBXML_MODULE_EXTENSION : & [u8 ; 4] = b".so\0" ; pub const _STDIO_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2Y : u32 = 0 ; pub const __GLIBC_USE_ISOC23 : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 202405 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __USE_XOPEN2K24 : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_TIME_BITS64 : u32 = 1 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const __GLIBC_USE_C23_STRTOL : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 43 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C23 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C23 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _____fpos_t_defined : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _____fpos64_t_defined : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const __struct_FILE_defined : u32 = 1 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const __cookie_io_functions_t_defined : u32 = 1 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; pub const EOF : i32 = - 1 ; pub const SEEK_SET : u32 = 0 ; pub const SEEK_CUR : u32 = 1 ; pub const SEEK_END : u32 = 2 ; pub const P_tmpdir : & [u8 ; 5] = b"/tmp\0" ; pub const L_tmpnam : u32 = 20 ; pub const TMP_MAX : u32 = 238328 ; pub const _BITS_STDIO_LIM_H : u32 = 1 ; pub const FILENAME_MAX : u32 = 4096 ; pub const L_ctermid : u32 = 9 ; pub const FOPEN_MAX : u32 = 16 ; pub const __HAVE_FLOAT128 : u32 = 1 ; pub const __HAVE_DISTINCT_FLOAT128 : u32 = 1 ; pub const __HAVE_FLOAT64X : u32 = 1 ; pub const __HAVE_FLOAT64X_LONG_DOUBLE : u32 = 1 ; pub const __HAVE_FLOAT16 : u32 = 0 ; pub const __HAVE_FLOAT32 : u32 = 1 ; pub const __HAVE_FLOAT64 : u32 = 1 ; pub const __HAVE_FLOAT32X : u32 = 1 ; pub const __HAVE_FLOAT128X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT16 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT128X : u32 = 0 ; pub const __HAVE_FLOATN_NOT_TYPEDEF : u32 = 0 ; pub const _LIBC_LIMITS_H_ : u32 = 1 ; pub const MB_LEN_MAX : u32 = 16 ; pub const _BITS_POSIX1_LIM_H : u32 = 1 ; pub const _POSIX_AIO_LISTIO_MAX : u32 = 2 ; pub const _POSIX_AIO_MAX : u32 = 1 ; pub const _POSIX_ARG_MAX : u32 = 4096 ; pub const _POSIX_CHILD_MAX : u32 = 25 ; pub const _POSIX_DELAYTIMER_MAX : u32 = 32 ; pub const _POSIX_HOST_NAME_MAX : u32 = 255 ; pub const _POSIX_LINK_MAX : u32 = 8 ; pub const _POSIX_LOGIN_NAME_MAX : u32 = 9 ; pub const _POSIX_MAX_CANON : u32 = 255 ; pub const _POSIX_MAX_INPUT : u32 = 255 ; pub const _POSIX_MQ_OPEN_MAX : u32 = 8 ; pub const _POSIX_MQ_PRIO_MAX : u32 = 32 ; pub const _POSIX_NAME_MAX : u32 = 14 ; pub const _POSIX_NGROUPS_MAX : u32 = 8 ; pub const _POSIX_OPEN_MAX : u32 = 20 ; pub const _POSIX_PATH_MAX : u32 = 256 ; pub const _POSIX_PIPE_BUF : u32 = 512 ; pub const _POSIX_RE_DUP_MAX : u32 = 255 ; pub const _POSIX_RTSIG_MAX : u32 = 8 ; pub const _POSIX_SEM_NSEMS_MAX : u32 = 256 ; pub const _POSIX_SEM_VALUE_MAX : u32 = 32767 ; pub const _POSIX_SIGQUEUE_MAX : u32 = 32 ; pub const _POSIX_SSIZE_MAX : u32 = 32767 ; pub const _POSIX_STREAM_MAX : u32 = 8 ; pub const _POSIX_SYMLINK_MAX : u32 = 255 ; pub const _POSIX_SYMLOOP_MAX : u32 = 8 ; pub const _POSIX_TIMER_MAX : u32 = 32 ; pub const _POSIX_TTY_NAME_MAX : u32 = 9 ; pub const _POSIX_TZNAME_MAX : u32 = 6 ; pub const _POSIX_CLOCKRES_MIN : u32 = 20000000 ; pub const NR_OPEN : u32 = 1024 ; pub const NGROUPS_MAX : u32 = 65536 ; pub const ARG_MAX : u32 = 131072 ; pub const LINK_MAX : u32 = 127 ; pub const MAX_CANON : u32 = 255 ; pub const MAX_INPUT : u32 = 255 ; pub const NAME_MAX : u32 = 255 ; pub const PATH_MAX : u32 = 4096 ; pub const PIPE_BUF : u32 = 4096 ; pub const XATTR_NAME_MAX : u32 = 255 ; pub const XATTR_SIZE_MAX : u32 = 65536 ; pub const XATTR_LIST_MAX : u32 = 65536 ; pub const RTSIG_MAX : u32 = 32 ; pub const _POSIX_THREAD_KEYS_MAX : u32 = 128 ; pub const PTHREAD_KEYS_MAX : u32 = 1024 ; pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const PTHREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const _POSIX_THREAD_THREADS_MAX : u32 = 64 ; pub const AIO_PRIO_DELTA_MAX : u32 = 20 ; pub const PTHREAD_STACK_MIN : u32 = 16384 ; pub const DELAYTIMER_MAX : u32 = 2147483647 ; pub const TTY_NAME_MAX : u32 = 32 ; pub const LOGIN_NAME_MAX : u32 = 256 ; pub const HOST_NAME_MAX : u32 = 64 ; pub const MQ_PRIO_MAX : u32 = 32768 ; pub const SEM_VALUE_MAX : u32 = 2147483647 ; pub const _BITS_POSIX2_LIM_H : u32 = 1 ; pub const _POSIX2_BC_BASE_MAX : u32 = 99 ; pub const _POSIX2_BC_DIM_MAX : u32 = 2048 ; pub const _POSIX2_BC_SCALE_MAX : u32 = 99 ; pub const _POSIX2_BC_STRING_MAX : u32 = 1000 ; pub const _POSIX2_COLL_WEIGHTS_MAX : u32 = 2 ; pub const _POSIX2_EXPR_NEST_MAX : u32 = 32 ; pub const _POSIX2_LINE_MAX : u32 = 2048 ; pub const _POSIX2_RE_DUP_MAX : u32 = 255 ; pub const _POSIX2_CHARCLASS_NAME_MAX : u32 = 14 ; pub const BC_BASE_MAX : u32 = 99 ; pub const BC_DIM_MAX : u32 = 2048 ; pub const BC_SCALE_MAX : u32 = 99 ; pub const BC_STRING_MAX : u32 = 1000 ; pub const COLL_WEIGHTS_MAX : u32 = 255 ; pub const EXPR_NEST_MAX : u32 = 32 ; pub const LINE_MAX : u32 = 2048 ; pub const CHARCLASS_NAME_MAX : u32 = 2048 ; pub const RE_DUP_MAX : u32 = 32767 ; pub const xmlDefaultBufferSize : u32 = 4096 ; pub const XML_DOCB_DOCUMENT_NODE : u32 = 21 ; pub const XML_DEFAULT_VERSION : & [u8 ; 4] = b"1.0\0" ; pub const XML_DETECT_IDS : u32 = 2 ; pub const XML_COMPLETE_ATTRS : u32 = 4 ; pub const XML_SKIP_IDS : u32 = 8 ; pub const XML_SAX2_MAGIC : u32 = 3740122799 ; pub const XML_SCHEMAS_ANYATTR_SKIP : u32 = 1 ; pub const XML_SCHEMAS_ANYATTR_LAX : u32 = 2 ; pub const XML_SCHEMAS_ANYATTR_STRICT : u32 = 3 ; pub const XML_SCHEMAS_ANY_SKIP : u32 = 1 ; pub const XML_SCHEMAS_ANY_LAX : u32 = 2 ; pub const XML_SCHEMAS_ANY_STRICT : u32 = 3 ; pub const XML_SCHEMAS_ATTR_USE_PROHIBITED : u32 = 0 ; pub const XML_SCHEMAS_ATTR_USE_REQUIRED : u32 = 1 ; pub const XML_SCHEMAS_ATTR_USE_OPTIONAL : u32 = 2 ; pub const XML_SCHEMAS_ATTR_GLOBAL : u32 = 1 ; pub const XML_SCHEMAS_ATTR_NSDEFAULT : u32 = 128 ; pub const XML_SCHEMAS_ATTR_INTERNAL_RESOLVED : u32 = 256 ; pub const XML_SCHEMAS_ATTR_FIXED : u32 = 512 ; pub const XML_SCHEMAS_WILDCARD_COMPLETE : u32 = 1 ; pub const XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED : u32 = 1 ; pub const XML_SCHEMAS_ATTRGROUP_GLOBAL : u32 = 2 ; pub const XML_SCHEMAS_ATTRGROUP_MARKED : u32 = 4 ; pub const XML_SCHEMAS_ATTRGROUP_REDEFINED : u32 = 8 ; pub const XML_SCHEMAS_ATTRGROUP_HAS_REFS : u32 = 16 ; pub const XML_SCHEMAS_TYPE_MIXED : u32 = 1 ; pub const XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION : u32 = 2 ; pub const XML_SCHEMAS_TYPE_DERIVATION_METHOD_RESTRICTION : u32 = 4 ; pub const XML_SCHEMAS_TYPE_GLOBAL : u32 = 8 ; pub const XML_SCHEMAS_TYPE_OWNED_ATTR_WILDCARD : u32 = 16 ; pub const XML_SCHEMAS_TYPE_VARIETY_ABSENT : u32 = 32 ; pub const XML_SCHEMAS_TYPE_VARIETY_LIST : u32 = 64 ; pub const XML_SCHEMAS_TYPE_VARIETY_UNION : u32 = 128 ; pub const XML_SCHEMAS_TYPE_VARIETY_ATOMIC : u32 = 256 ; pub const XML_SCHEMAS_TYPE_FINAL_EXTENSION : u32 = 512 ; pub const XML_SCHEMAS_TYPE_FINAL_RESTRICTION : u32 = 1024 ; pub const XML_SCHEMAS_TYPE_FINAL_LIST : u32 = 2048 ; pub const XML_SCHEMAS_TYPE_FINAL_UNION : u32 = 4096 ; pub const XML_SCHEMAS_TYPE_FINAL_DEFAULT : u32 = 8192 ; pub const XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE : u32 = 16384 ; pub const XML_SCHEMAS_TYPE_MARKED : u32 = 65536 ; pub const XML_SCHEMAS_TYPE_BLOCK_DEFAULT : u32 = 131072 ; pub const XML_SCHEMAS_TYPE_BLOCK_EXTENSION : u32 = 262144 ; pub const XML_SCHEMAS_TYPE_BLOCK_RESTRICTION : u32 = 524288 ; pub const XML_SCHEMAS_TYPE_ABSTRACT : u32 = 1048576 ; pub const XML_SCHEMAS_TYPE_FACETSNEEDVALUE : u32 = 2097152 ; pub const XML_SCHEMAS_TYPE_INTERNAL_RESOLVED : u32 = 4194304 ; pub const XML_SCHEMAS_TYPE_INTERNAL_INVALID : u32 = 8388608 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_PRESERVE : u32 = 16777216 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_REPLACE : u32 = 33554432 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_COLLAPSE : u32 = 67108864 ; pub const XML_SCHEMAS_TYPE_HAS_FACETS : u32 = 134217728 ; pub const XML_SCHEMAS_TYPE_NORMVALUENEEDED : u32 = 268435456 ; pub const XML_SCHEMAS_TYPE_FIXUP_1 : u32 = 536870912 ; pub const XML_SCHEMAS_TYPE_REDEFINED : u32 = 1073741824 ; pub const XML_SCHEMAS_ELEM_NILLABLE : u32 = 1 ; pub const XML_SCHEMAS_ELEM_GLOBAL : u32 = 2 ; pub const XML_SCHEMAS_ELEM_DEFAULT : u32 = 4 ; pub const XML_SCHEMAS_ELEM_FIXED : u32 = 8 ; pub const XML_SCHEMAS_ELEM_ABSTRACT : u32 = 16 ; pub const XML_SCHEMAS_ELEM_TOPLEVEL : u32 = 32 ; pub const XML_SCHEMAS_ELEM_REF : u32 = 64 ; pub const XML_SCHEMAS_ELEM_NSDEFAULT : u32 = 128 ; pub const XML_SCHEMAS_ELEM_INTERNAL_RESOLVED : u32 = 256 ; pub const XML_SCHEMAS_ELEM_CIRCULAR : u32 = 512 ; pub const XML_SCHEMAS_ELEM_BLOCK_ABSENT : u32 = 1024 ; pub const XML_SCHEMAS_ELEM_BLOCK_EXTENSION : u32 = 2048 ; pub const XML_SCHEMAS_ELEM_BLOCK_RESTRICTION : u32 = 4096 ; pub const XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION : u32 = 8192 ; pub const XML_SCHEMAS_ELEM_FINAL_ABSENT : u32 = 16384 ; pub const XML_SCHEMAS_ELEM_FINAL_EXTENSION : u32 = 32768 ; pub const XML_SCHEMAS_ELEM_FINAL_RESTRICTION : u32 = 65536 ; pub const XML_SCHEMAS_ELEM_SUBST_GROUP_HEAD : u32 = 131072 ; pub const XML_SCHEMAS_ELEM_INTERNAL_CHECKED : u32 = 262144 ; pub const XML_SCHEMAS_FACET_UNKNOWN : u32 = 0 ; pub const XML_SCHEMAS_FACET_PRESERVE : u32 = 1 ; pub const XML_SCHEMAS_FACET_REPLACE : u32 = 2 ; pub const XML_SCHEMAS_FACET_COLLAPSE : u32 = 3 ; pub const XML_SCHEMAS_QUALIF_ELEM : u32 = 1 ; pub const XML_SCHEMAS_QUALIF_ATTR : u32 = 2 ; pub const XML_SCHEMAS_FINAL_DEFAULT_EXTENSION : u32 = 4 ; pub const XML_SCHEMAS_FINAL_DEFAULT_RESTRICTION : u32 = 8 ; pub const XML_SCHEMAS_FINAL_DEFAULT_LIST : u32 = 16 ; pub const XML_SCHEMAS_FINAL_DEFAULT_UNION : u32 = 32 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_EXTENSION : u32 = 64 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_RESTRICTION : u32 = 128 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_SUBSTITUTION : u32 = 256 ; pub const XML_SCHEMAS_INCLUDING_CONVERT_NS : u32 = 512 ; unsafe extern "C" { pub fn xmlCheckVersion (version : :: std :: os :: raw :: c_int) ; } pub type __gnuc_va_list = __builtin_va_list ; pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [:: std :: os :: raw :: c_int ; 2usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __fsid_t"] [:: std :: mem :: size_of :: < __fsid_t > () - 8usize] ; ["Alignment of __fsid_t"] [:: std :: mem :: align_of :: < __fsid_t > () - 4usize] ; ["Offset of field: __fsid_t::__val"] [:: std :: mem :: offset_of ! (__fsid_t , __val) - 0usize] ; } ; pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __suseconds64_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Copy , Clone)] pub struct __mbstate_t { pub __count : :: std :: os :: raw :: c_int , pub __value : __mbstate_t__bindgen_ty_1 , } # [repr (C)] # [derive (Copy , Clone)] pub union __mbstate_t__bindgen_ty_1 { pub __wch : :: std :: os :: raw :: c_uint , pub __wchb : [:: std :: os :: raw :: c_char ; 4usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __mbstate_t__bindgen_ty_1"] [:: std :: mem :: size_of :: < __mbstate_t__bindgen_ty_1 > () - 4usize] ; ["Alignment of __mbstate_t__bindgen_ty_1"] [:: std :: mem :: align_of :: < __mbstate_t__bindgen_ty_1 > () - 4usize] ; ["Offset of field: __mbstate_t__bindgen_ty_1::__wch"] [:: std :: mem :: offset_of ! (__mbstate_t__bindgen_ty_1 , __wch) - 0usize] ; ["Offset of field: __mbstate_t__bindgen_ty_1::__wchb"] [:: std :: mem :: offset_of ! (__mbstate_t__bindgen_ty_1 , __wchb) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __mbstate_t"] [:: std :: mem :: size_of :: < __mbstate_t > () - 8usize] ; ["Alignment of __mbstate_t"] [:: std :: mem :: align_of :: < __mbstate_t > () - 4usize] ; ["Offset of field: __mbstate_t::__count"] [:: std :: mem :: offset_of ! (__mbstate_t , __count) - 0usize] ; ["Offset of field: __mbstate_t::__value"] [:: std :: mem :: offset_of ! (__mbstate_t , __value) - 4usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos_t { pub __pos : __off_t , pub __state : __mbstate_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _G_fpos_t"] [:: std :: mem :: size_of :: < _G_fpos_t > () - 16usize] ; ["Alignment of _G_fpos_t"] [:: std :: mem :: align_of :: < _G_fpos_t > () - 8usize] ; ["Offset of field: _G_fpos_t::__pos"] [:: std :: mem :: offset_of ! (_G_fpos_t , __pos) - 0usize] ; ["Offset of field: _G_fpos_t::__state"] [:: std :: mem :: offset_of ! (_G_fpos_t , __state) - 8usize] ; } ; pub type __fpos_t = _G_fpos_t ; # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos64_t { pub __pos : __off64_t , pub __state : __mbstate_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _G_fpos64_t"] [:: std :: mem :: size_of :: < _G_fpos64_t > () - 16usize] ; ["Alignment of _G_fpos64_t"] [:: std :: mem :: align_of :: < _G_fpos64_t > () - 8usize] ; ["Offset of field: _G_fpos64_t::__pos"] [:: std :: mem :: offset_of ! (_G_fpos64_t , __pos) - 0usize] ; ["Offset of field: _G_fpos64_t::__state"] [:: std :: mem :: offset_of ! (_G_fpos64_t , __state) - 8usize] ; } ; pub type __fpos64_t = _G_fpos64_t ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: std :: os :: raw :: c_int , pub _IO_read_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_read_end : * mut :: std :: os :: raw :: c_char , pub _IO_read_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_write_end : * mut :: std :: os :: raw :: c_char , pub _IO_buf_base : * mut :: std :: os :: raw :: c_char , pub _IO_buf_end : * mut :: std :: os :: raw :: c_char , pub _IO_save_base : * mut :: std :: os :: raw :: c_char , pub _IO_backup_base : * mut :: std :: os :: raw :: c_char , pub _IO_save_end : * mut :: std :: os :: raw :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: std :: os :: raw :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: std :: os :: raw :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: std :: os :: raw :: c_ushort , pub _vtable_offset : :: std :: os :: raw :: c_schar , pub _shortbuf : [:: std :: os :: raw :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: std :: os :: raw :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: std :: os :: raw :: c_int , pub _unused3 : :: std :: os :: raw :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: std :: os :: raw :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: std :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: std :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: std :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: std :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: std :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: std :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: std :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: std :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: std :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: std :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: std :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: std :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: std :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: std :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: std :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: std :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: std :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: std :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: std :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: std :: os :: raw :: c_int { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: std :: os :: raw :: c_int) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub unsafe fn _flags2_raw (this : * const Self) -> :: std :: os :: raw :: c_int { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 3usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 0usize , 24u8 ,) as u32) } } # [inline] pub unsafe fn set__flags2_raw (this : * mut Self , val : :: std :: os :: raw :: c_int) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 3usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 0usize , 24u8 , val as u64 ,) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: std :: os :: raw :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { :: std :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } pub type cookie_read_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_write_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_seek_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; pub type cookie_close_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_cookie_io_functions_t { pub read : cookie_read_function_t , pub write : cookie_write_function_t , pub seek : cookie_seek_function_t , pub close : cookie_close_function_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_cookie_io_functions_t"] [:: std :: mem :: size_of :: < _IO_cookie_io_functions_t > () - 32usize] ; ["Alignment of _IO_cookie_io_functions_t"] [:: std :: mem :: align_of :: < _IO_cookie_io_functions_t > () - 8usize] ; ["Offset of field: _IO_cookie_io_functions_t::read"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , read) - 0usize] ; ["Offset of field: _IO_cookie_io_functions_t::write"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , write) - 8usize] ; ["Offset of field: _IO_cookie_io_functions_t::seek"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , seek) - 16usize] ; ["Offset of field: _IO_cookie_io_functions_t::close"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , close) - 24usize] ; } ; pub type cookie_io_functions_t = _IO_cookie_io_functions_t ; pub type va_list = __gnuc_va_list ; pub type off_t = __off_t ; pub type fpos_t = __fpos_t ; unsafe extern "C" { pub static mut stdin : * mut FILE ; } unsafe extern "C" { pub static mut stdout : * mut FILE ; } unsafe extern "C" { pub static mut stderr : * mut FILE ; } unsafe extern "C" { pub fn remove (__filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn rename (__old : * const :: std :: os :: raw :: c_char , __new : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn renameat (__oldfd : :: std :: os :: raw :: c_int , __old : * const :: std :: os :: raw :: c_char , __newfd : :: std :: os :: raw :: c_int , __new : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fclose (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn tmpfile () -> * mut FILE ; } unsafe extern "C" { pub fn tmpnam (arg1 : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn tmpnam_r (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn tempnam (__dir : * const :: std :: os :: raw :: c_char , __pfx : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn fflush (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fflush_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn freopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> * mut FILE ; } unsafe extern "C" { pub fn fdopen (__fd : :: std :: os :: raw :: c_int , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn fopencookie (__magic_cookie : * mut :: std :: os :: raw :: c_void , __modes : * const :: std :: os :: raw :: c_char , __io_funcs : cookie_io_functions_t) -> * mut FILE ; } unsafe extern "C" { pub fn fmemopen (__s : * mut :: std :: os :: raw :: c_void , __len : usize , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn open_memstream (__bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize) -> * mut FILE ; } unsafe extern "C" { pub fn setbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn setvbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn setbuffer (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize) ; } unsafe extern "C" { pub fn setlinebuf (__stream : * mut FILE) ; } unsafe extern "C" { pub fn fprintf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn printf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn sprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vfprintf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vprintf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn snprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsnprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vasprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __f : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vdprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn dprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fscanf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn scanf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn sscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } pub type __cfloat128 = __BindgenComplex < u128 > ; pub type _Float128 = u128 ; pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = u128 ; unsafe extern "C" { # [link_name = "\u{1}__isoc99_fscanf"] pub fn fscanf1 (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_scanf"] pub fn scanf1 (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_sscanf"] pub fn sscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vfscanf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vscanf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vfscanf"] pub fn vfscanf1 (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vscanf"] pub fn vscanf1 (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vsscanf"] pub fn vsscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgetc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getchar () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getchar_unlocked () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgetc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fputc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putchar (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fputc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putchar_unlocked (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getw (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putw (__w : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgets (__s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn __getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn getline (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn fputs (__s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn puts (__s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ungetc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fread (__ptr : * mut :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __stream : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn fwrite (__ptr : * const :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __s : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn fread_unlocked (__ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } unsafe extern "C" { pub fn fwrite_unlocked (__ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } unsafe extern "C" { pub fn fseek (__stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ftell (__stream : * mut FILE) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn rewind (__stream : * mut FILE) ; } unsafe extern "C" { pub fn fseeko (__stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ftello (__stream : * mut FILE) -> __off_t ; } unsafe extern "C" { pub fn fgetpos (__stream : * mut FILE , __pos : * mut fpos_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fsetpos (__stream : * mut FILE , __pos : * const fpos_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn clearerr (__stream : * mut FILE) ; } unsafe extern "C" { pub fn feof (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ferror (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn clearerr_unlocked (__stream : * mut FILE) ; } unsafe extern "C" { pub fn feof_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ferror_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn perror (__s : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn fileno (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fileno_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn pclose (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn popen (__command : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn ctermid (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn flockfile (__stream : * mut FILE) ; } unsafe extern "C" { pub fn ftrylockfile (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn funlockfile (__stream : * mut FILE) ; } unsafe extern "C" { pub fn __uflow (arg1 : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __overflow (arg1 : * mut FILE , arg2 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " This is a basic byte in an UTF-8 encoded string.\n It's unsigned allowing to pinpoint case where char * are assigned\n to xmlChar * (possibly making serialization back impossible)."] pub type xmlChar = :: std :: os :: raw :: c_uchar ; unsafe extern "C" { pub fn xmlStrdup (cur : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrndup (cur : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCharStrndup (cur : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCharStrdup (cur : * const :: std :: os :: raw :: c_char) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrsub (str_ : * const xmlChar , start : :: std :: os :: raw :: c_int , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrchr (str_ : * const xmlChar , val : xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrstr (str_ : * const xmlChar , val : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrcasestr (str_ : * const xmlChar , val : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrcmp (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrncmp (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrcasecmp (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrncasecmp (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrEqual (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrQEqual (pref : * const xmlChar , name : * const xmlChar , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrlen (str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrcat (cur : * mut xmlChar , add : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrncat (cur : * mut xmlChar , add : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrncatNew (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrPrintf (buf : * mut xmlChar , len : :: std :: os :: raw :: c_int , msg : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrVPrintf (buf : * mut xmlChar , len : :: std :: os :: raw :: c_int , msg : * const :: std :: os :: raw :: c_char , ap : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetUTF8Char (utf : * const :: std :: os :: raw :: c_uchar , len : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCheckUTF8 (utf : * const :: std :: os :: raw :: c_uchar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strsize (utf : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strndup (utf : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strpos (utf : * const xmlChar , pos : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strloc (utf : * const xmlChar , utfchar : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strsub (utf : * const xmlChar , start : :: std :: os :: raw :: c_int , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strlen (utf : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Size (utf : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Charcmp (utf1 : * const xmlChar , utf2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } # [doc = " Signature for a free() implementation.\n\n @param mem  an already allocated block of memory"] pub type xmlFreeFunc = :: std :: option :: Option < unsafe extern "C" fn (mem : * mut :: std :: os :: raw :: c_void) > ; # [doc = " Signature for a malloc() implementation.\n\n @param size  the size requested in bytes\n @returns a pointer to the newly allocated block or NULL in case of error."] pub type xmlMallocFunc = :: std :: option :: Option < unsafe extern "C" fn (size : usize) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Signature for a realloc() implementation.\n\n @param mem  an already allocated block of memory\n @param size  the new size requested in bytes\n @returns a pointer to the newly reallocated block or NULL in case of error."] pub type xmlReallocFunc = :: std :: option :: Option < unsafe extern "C" fn (mem : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Signature for an strdup() implementation.\n\n @param str  a zero terminated string\n @returns the copy of the string or NULL in case of error."] pub type xmlStrdupFunc = :: std :: option :: Option < unsafe extern "C" fn (str_ : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char > ; unsafe extern "C" { # [doc = " The variable holding the libxml malloc() implementation"] pub static mut xmlMalloc : xmlMallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml malloc() implementation for atomic\n data (i.e. blocks not containing pointers), useful when using a\n garbage collecting allocator.\n\n @deprecated Use #xmlMalloc"] pub static mut xmlMallocAtomic : xmlMallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml realloc() implementation"] pub static mut xmlRealloc : xmlReallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml free() implementation"] pub static mut xmlFree : xmlFreeFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml strdup() implementation"] pub static mut xmlMemStrdup : xmlStrdupFunc ; } unsafe extern "C" { pub fn xmlMemSetup (freeFunc : xmlFreeFunc , mallocFunc : xmlMallocFunc , reallocFunc : xmlReallocFunc , strdupFunc : xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemGet (freeFunc : * mut xmlFreeFunc , mallocFunc : * mut xmlMallocFunc , reallocFunc : * mut xmlReallocFunc , strdupFunc : * mut xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGcMemSetup (freeFunc : xmlFreeFunc , mallocFunc : xmlMallocFunc , mallocAtomicFunc : xmlMallocFunc , reallocFunc : xmlReallocFunc , strdupFunc : xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGcMemGet (freeFunc : * mut xmlFreeFunc , mallocFunc : * mut xmlMallocFunc , mallocAtomicFunc : * mut xmlMallocFunc , reallocFunc : * mut xmlReallocFunc , strdupFunc : * mut xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlInitMemory () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCleanupMemory () ; } unsafe extern "C" { pub fn xmlMemSize (ptr : * mut :: std :: os :: raw :: c_void) -> usize ; } unsafe extern "C" { pub fn xmlMemUsed () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemBlocks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemDisplay (fp : * mut FILE) ; } unsafe extern "C" { pub fn xmlMemDisplayLast (fp : * mut FILE , nbBytes : :: std :: os :: raw :: c_long) ; } unsafe extern "C" { pub fn xmlMemShow (fp : * mut FILE , nr : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlMemoryDump () ; } unsafe extern "C" { pub fn xmlMemMalloc (size : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemRealloc (ptr : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemFree (ptr : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlMemoryStrdup (str_ : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlMallocLoc (size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlReallocLoc (ptr : * mut :: std :: os :: raw :: c_void , size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMallocAtomicLoc (size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemStrdupLoc (str_ : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRegexp { _unused : [u8 ; 0] , } # [doc = " A libxml regular expression"] pub type xmlRegexp = _xmlRegexp ; pub type xmlRegexpPtr = * mut xmlRegexp ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRegExecCtxt { _unused : [u8 ; 0] , } # [doc = " A libxml progressive regular expression evaluation context"] pub type xmlRegExecCtxt = _xmlRegExecCtxt ; pub type xmlRegExecCtxtPtr = * mut xmlRegExecCtxt ; unsafe extern "C" { pub fn xmlRegexpCompile (regexp : * const xmlChar) -> * mut xmlRegexp ; } unsafe extern "C" { pub fn xmlRegFreeRegexp (regexp : * mut xmlRegexp) ; } unsafe extern "C" { pub fn xmlRegexpExec (comp : * mut xmlRegexp , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegexpPrint (output : * mut FILE , regexp : * mut xmlRegexp) ; } unsafe extern "C" { pub fn xmlRegexpIsDeterminist (comp : * mut xmlRegexp) -> :: std :: os :: raw :: c_int ; } # [doc = " Callback function when doing a transition in the automata\n\n @param exec  the regular expression context\n @param token  the current token string\n @param transdata  transition data\n @param inputdata  input data"] pub type xmlRegExecCallbacks = :: std :: option :: Option < unsafe extern "C" fn (exec : * mut xmlRegExecCtxt , token : * const xmlChar , transdata : * mut :: std :: os :: raw :: c_void , inputdata : * mut :: std :: os :: raw :: c_void) > ; unsafe extern "C" { pub fn xmlRegNewExecCtxt (comp : * mut xmlRegexp , callback : xmlRegExecCallbacks , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlRegExecCtxt ; } unsafe extern "C" { pub fn xmlRegFreeExecCtxt (exec : * mut xmlRegExecCtxt) ; } unsafe extern "C" { pub fn xmlRegExecPushString (exec : * mut xmlRegExecCtxt , value : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecPushString2 (exec : * mut xmlRegExecCtxt , value : * const xmlChar , value2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecNextValues (exec : * mut xmlRegExecCtxt , nbval : * mut :: std :: os :: raw :: c_int , nbneg : * mut :: std :: os :: raw :: c_int , values : * mut * mut xmlChar , terminal : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecErrInfo (exec : * mut xmlRegExecCtxt , string : * mut * const xmlChar , nbval : * mut :: std :: os :: raw :: c_int , nbneg : * mut :: std :: os :: raw :: c_int , values : * mut * mut xmlChar , terminal : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " Parser input buffer\n\n This struct and all related functions should ultimately\n be removed from the public interface."] pub type xmlParserInputBuffer = _xmlParserInputBuffer ; pub type xmlParserInputBufferPtr = * mut xmlParserInputBuffer ; # [doc = " Output buffer"] pub type xmlOutputBuffer = _xmlOutputBuffer ; pub type xmlOutputBufferPtr = * mut xmlOutputBuffer ; # [doc = " Parser input"] pub type xmlParserInput = _xmlParserInput ; pub type xmlParserInputPtr = * mut xmlParserInput ; # [doc = " Parser context"] pub type xmlParserCtxt = _xmlParserCtxt ; pub type xmlParserCtxtPtr = * mut xmlParserCtxt ; # [doc = " SAX locator"] pub type xmlSAXLocator = _xmlSAXLocator ; pub type xmlSAXLocatorPtr = * mut xmlSAXLocator ; # [doc = " SAX handler"] pub type xmlSAXHandler = _xmlSAXHandler ; pub type xmlSAXHandlerPtr = * mut xmlSAXHandler ; # [doc = " Entity declaration"] pub type xmlEntity = _xmlEntity ; pub type xmlEntityPtr = * mut xmlEntity ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_DOUBLEIT : xmlBufferAllocationScheme = 0 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_EXACT : xmlBufferAllocationScheme = 1 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_IMMUTABLE : xmlBufferAllocationScheme = 2 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_IO : xmlBufferAllocationScheme = 3 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_HYBRID : xmlBufferAllocationScheme = 4 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_BOUNDED : xmlBufferAllocationScheme = 5 ; # [doc = " Removed, buffers always use XML_BUFFER_ALLOC_IO now."] pub type xmlBufferAllocationScheme = :: std :: os :: raw :: c_uint ; # [doc = " Buffer type"] pub type xmlBuffer = _xmlBuffer ; pub type xmlBufferPtr = * mut xmlBuffer ; # [doc = " A buffer structure, this old construct is limited to 2GB and\n is being deprecated, use API with xmlBuf instead."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlBuffer { # [doc = " @deprecated Use #xmlBufferContent\n\n The buffer content UTF8"] pub content : * mut xmlChar , # [doc = " @deprecated Use #xmlBufferLength\n\n The buffer size used"] pub use_ : :: std :: os :: raw :: c_uint , pub size : :: std :: os :: raw :: c_uint , pub alloc : xmlBufferAllocationScheme , pub contentIO : * mut xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlBuffer"] [:: std :: mem :: size_of :: < _xmlBuffer > () - 32usize] ; ["Alignment of _xmlBuffer"] [:: std :: mem :: align_of :: < _xmlBuffer > () - 8usize] ; ["Offset of field: _xmlBuffer::content"] [:: std :: mem :: offset_of ! (_xmlBuffer , content) - 0usize] ; ["Offset of field: _xmlBuffer::use_"] [:: std :: mem :: offset_of ! (_xmlBuffer , use_) - 8usize] ; ["Offset of field: _xmlBuffer::size"] [:: std :: mem :: offset_of ! (_xmlBuffer , size) - 12usize] ; ["Offset of field: _xmlBuffer::alloc"] [:: std :: mem :: offset_of ! (_xmlBuffer , alloc) - 16usize] ; ["Offset of field: _xmlBuffer::contentIO"] [:: std :: mem :: offset_of ! (_xmlBuffer , contentIO) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlBuf { _unused : [u8 ; 0] , } # [doc = " Buffer with 64-bit support"] pub type xmlBuf = _xmlBuf ; pub type xmlBufPtr = * mut xmlBuf ; # [doc = " An element.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_ELEMENT_NODE : xmlElementType = 1 ; # [doc = " An attribute.\n\n Objects of this type are an xmlAttr."] pub const xmlElementType_XML_ATTRIBUTE_NODE : xmlElementType = 2 ; # [doc = " A text node.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_TEXT_NODE : xmlElementType = 3 ; # [doc = " A CDATA section.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_CDATA_SECTION_NODE : xmlElementType = 4 ; # [doc = " An entity reference.\n\n Objects of this type are an xmlNode. The `children` member\n points to the entity declaration if available."] pub const xmlElementType_XML_ENTITY_REF_NODE : xmlElementType = 5 ; # [doc = " unused"] pub const xmlElementType_XML_ENTITY_NODE : xmlElementType = 6 ; # [doc = " A processing instruction.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_PI_NODE : xmlElementType = 7 ; # [doc = " A comment.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_COMMENT_NODE : xmlElementType = 8 ; # [doc = " A document.\n\n Objects of this type are an xmlDoc."] pub const xmlElementType_XML_DOCUMENT_NODE : xmlElementType = 9 ; # [doc = " unused"] pub const xmlElementType_XML_DOCUMENT_TYPE_NODE : xmlElementType = 10 ; # [doc = " A document fragment.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_DOCUMENT_FRAG_NODE : xmlElementType = 11 ; # [doc = " A notation, unused"] pub const xmlElementType_XML_NOTATION_NODE : xmlElementType = 12 ; # [doc = " An HTML document.\n\n Objects of this type are an xmlDoc."] pub const xmlElementType_XML_HTML_DOCUMENT_NODE : xmlElementType = 13 ; # [doc = " A document type definition.\n\n Objects of this type are an xmlDtd."] pub const xmlElementType_XML_DTD_NODE : xmlElementType = 14 ; # [doc = " An element declaration.\n\n Objects of this type are an xmlElement."] pub const xmlElementType_XML_ELEMENT_DECL : xmlElementType = 15 ; # [doc = " An attribute declaration.\n\n Objects of this type are an xmlAttribute."] pub const xmlElementType_XML_ATTRIBUTE_DECL : xmlElementType = 16 ; # [doc = " An entity declaration.\n\n Objects of this type are an xmlEntity."] pub const xmlElementType_XML_ENTITY_DECL : xmlElementType = 17 ; # [doc = " An XPath namespace node.\n\n Can only be returned by the XPath engine. Objects of this\n type are an xmlNs which has a completely different layout\n than xmlNode. The `next` member contains a pointer to the\n xmlNode element to which the namespace applies.\n\n Nodes of this type must be handled with extreme care to\n avoid type confusion bugs."] pub const xmlElementType_XML_NAMESPACE_DECL : xmlElementType = 18 ; # [doc = " An XInclude start marker.\n\n Objects of this type are an xmlNode. Inserted as preceding\n sibling of XIncluded content."] pub const xmlElementType_XML_XINCLUDE_START : xmlElementType = 19 ; # [doc = " An XInclude end marker.\n\n Objects of this type are an xmlNode. Inserted as following\n sibling of XIncluded content."] pub const xmlElementType_XML_XINCLUDE_END : xmlElementType = 20 ; # [doc = " The different element types carried by an XML tree.\n\n NOTE: This is synchronized with DOM Level 1 values.\n       See http://www.w3.org/TR/REC-DOM-Level-1/\n\n Actually this had diverged a bit, and XML_DTD_NODE is used instead\n of XML_DOCUMENT_TYPE_NODE."] pub type xmlElementType = :: std :: os :: raw :: c_uint ; # [doc = " Notation declaration"] pub type xmlNotation = _xmlNotation ; pub type xmlNotationPtr = * mut xmlNotation ; # [doc = " A DTD Notation definition.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNotation { # [doc = " Notation name"] pub name : * const xmlChar , # [doc = " Public identifier, if any"] pub PublicID : * const xmlChar , # [doc = " System identifier, if any"] pub SystemID : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNotation"] [:: std :: mem :: size_of :: < _xmlNotation > () - 24usize] ; ["Alignment of _xmlNotation"] [:: std :: mem :: align_of :: < _xmlNotation > () - 8usize] ; ["Offset of field: _xmlNotation::name"] [:: std :: mem :: offset_of ! (_xmlNotation , name) - 0usize] ; ["Offset of field: _xmlNotation::PublicID"] [:: std :: mem :: offset_of ! (_xmlNotation , PublicID) - 8usize] ; ["Offset of field: _xmlNotation::SystemID"] [:: std :: mem :: offset_of ! (_xmlNotation , SystemID) - 16usize] ; } ; pub const xmlAttributeType_XML_ATTRIBUTE_CDATA : xmlAttributeType = 1 ; pub const xmlAttributeType_XML_ATTRIBUTE_ID : xmlAttributeType = 2 ; pub const xmlAttributeType_XML_ATTRIBUTE_IDREF : xmlAttributeType = 3 ; pub const xmlAttributeType_XML_ATTRIBUTE_IDREFS : xmlAttributeType = 4 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENTITY : xmlAttributeType = 5 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENTITIES : xmlAttributeType = 6 ; pub const xmlAttributeType_XML_ATTRIBUTE_NMTOKEN : xmlAttributeType = 7 ; pub const xmlAttributeType_XML_ATTRIBUTE_NMTOKENS : xmlAttributeType = 8 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENUMERATION : xmlAttributeType = 9 ; pub const xmlAttributeType_XML_ATTRIBUTE_NOTATION : xmlAttributeType = 10 ; # [doc = " A DTD Attribute type definition."] pub type xmlAttributeType = :: std :: os :: raw :: c_uint ; pub const xmlAttributeDefault_XML_ATTRIBUTE_NONE : xmlAttributeDefault = 1 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_REQUIRED : xmlAttributeDefault = 2 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_IMPLIED : xmlAttributeDefault = 3 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_FIXED : xmlAttributeDefault = 4 ; # [doc = " A DTD Attribute default definition."] pub type xmlAttributeDefault = :: std :: os :: raw :: c_uint ; # [doc = " Enumeration in a DTD"] pub type xmlEnumeration = _xmlEnumeration ; pub type xmlEnumerationPtr = * mut xmlEnumeration ; # [doc = " List structure used when there is an enumeration in DTDs.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlEnumeration { # [doc = " next enumeration"] pub next : * mut _xmlEnumeration , # [doc = " value"] pub name : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlEnumeration"] [:: std :: mem :: size_of :: < _xmlEnumeration > () - 16usize] ; ["Alignment of _xmlEnumeration"] [:: std :: mem :: align_of :: < _xmlEnumeration > () - 8usize] ; ["Offset of field: _xmlEnumeration::next"] [:: std :: mem :: offset_of ! (_xmlEnumeration , next) - 0usize] ; ["Offset of field: _xmlEnumeration::name"] [:: std :: mem :: offset_of ! (_xmlEnumeration , name) - 8usize] ; } ; # [doc = " Attribute declaration"] pub type xmlAttribute = _xmlAttribute ; pub type xmlAttributePtr = * mut xmlAttribute ; # [doc = " An Attribute declaration in a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttribute { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ATTRIBUTE_DECL"] pub type_ : xmlElementType , # [doc = " attribute name"] pub name : * const xmlChar , # [doc = " NULL"] pub children : * mut _xmlNode , # [doc = " NULL"] pub last : * mut _xmlNode , # [doc = " DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " next in hash table"] pub nexth : * mut _xmlAttribute , # [doc = " attribute type"] pub atype : xmlAttributeType , # [doc = " attribute default"] pub def : xmlAttributeDefault , # [doc = " default value"] pub defaultValue : * mut xmlChar , # [doc = " enumeration tree if any"] pub tree : * mut xmlEnumeration , # [doc = " namespace prefix if any"] pub prefix : * const xmlChar , # [doc = " element name"] pub elem : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlAttribute"] [:: std :: mem :: size_of :: < _xmlAttribute > () - 120usize] ; ["Alignment of _xmlAttribute"] [:: std :: mem :: align_of :: < _xmlAttribute > () - 8usize] ; ["Offset of field: _xmlAttribute::_private"] [:: std :: mem :: offset_of ! (_xmlAttribute , _private) - 0usize] ; ["Offset of field: _xmlAttribute::type_"] [:: std :: mem :: offset_of ! (_xmlAttribute , type_) - 8usize] ; ["Offset of field: _xmlAttribute::name"] [:: std :: mem :: offset_of ! (_xmlAttribute , name) - 16usize] ; ["Offset of field: _xmlAttribute::children"] [:: std :: mem :: offset_of ! (_xmlAttribute , children) - 24usize] ; ["Offset of field: _xmlAttribute::last"] [:: std :: mem :: offset_of ! (_xmlAttribute , last) - 32usize] ; ["Offset of field: _xmlAttribute::parent"] [:: std :: mem :: offset_of ! (_xmlAttribute , parent) - 40usize] ; ["Offset of field: _xmlAttribute::next"] [:: std :: mem :: offset_of ! (_xmlAttribute , next) - 48usize] ; ["Offset of field: _xmlAttribute::prev"] [:: std :: mem :: offset_of ! (_xmlAttribute , prev) - 56usize] ; ["Offset of field: _xmlAttribute::doc"] [:: std :: mem :: offset_of ! (_xmlAttribute , doc) - 64usize] ; ["Offset of field: _xmlAttribute::nexth"] [:: std :: mem :: offset_of ! (_xmlAttribute , nexth) - 72usize] ; ["Offset of field: _xmlAttribute::atype"] [:: std :: mem :: offset_of ! (_xmlAttribute , atype) - 80usize] ; ["Offset of field: _xmlAttribute::def"] [:: std :: mem :: offset_of ! (_xmlAttribute , def) - 84usize] ; ["Offset of field: _xmlAttribute::defaultValue"] [:: std :: mem :: offset_of ! (_xmlAttribute , defaultValue) - 88usize] ; ["Offset of field: _xmlAttribute::tree"] [:: std :: mem :: offset_of ! (_xmlAttribute , tree) - 96usize] ; ["Offset of field: _xmlAttribute::prefix"] [:: std :: mem :: offset_of ! (_xmlAttribute , prefix) - 104usize] ; ["Offset of field: _xmlAttribute::elem"] [:: std :: mem :: offset_of ! (_xmlAttribute , elem) - 112usize] ; } ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_PCDATA : xmlElementContentType = 1 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_ELEMENT : xmlElementContentType = 2 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_SEQ : xmlElementContentType = 3 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_OR : xmlElementContentType = 4 ; # [doc = " Possible definitions of element content types."] pub type xmlElementContentType = :: std :: os :: raw :: c_uint ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_ONCE : xmlElementContentOccur = 1 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_OPT : xmlElementContentOccur = 2 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_MULT : xmlElementContentOccur = 3 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_PLUS : xmlElementContentOccur = 4 ; # [doc = " Possible definitions of element content occurrences."] pub type xmlElementContentOccur = :: std :: os :: raw :: c_uint ; # [doc = " Element content in element declarations"] pub type xmlElementContent = _xmlElementContent ; pub type xmlElementContentPtr = * mut xmlElementContent ; # [doc = " An XML Element content as stored after parsing an element definition\n in a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlElementContent { # [doc = " PCDATA, ELEMENT, SEQ or OR"] pub type_ : xmlElementContentType , # [doc = " ONCE, OPT, MULT or PLUS"] pub ocur : xmlElementContentOccur , # [doc = " element name"] pub name : * const xmlChar , # [doc = " first child"] pub c1 : * mut _xmlElementContent , # [doc = " second child"] pub c2 : * mut _xmlElementContent , # [doc = " parent"] pub parent : * mut _xmlElementContent , # [doc = " namespace prefix"] pub prefix : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlElementContent"] [:: std :: mem :: size_of :: < _xmlElementContent > () - 48usize] ; ["Alignment of _xmlElementContent"] [:: std :: mem :: align_of :: < _xmlElementContent > () - 8usize] ; ["Offset of field: _xmlElementContent::type_"] [:: std :: mem :: offset_of ! (_xmlElementContent , type_) - 0usize] ; ["Offset of field: _xmlElementContent::ocur"] [:: std :: mem :: offset_of ! (_xmlElementContent , ocur) - 4usize] ; ["Offset of field: _xmlElementContent::name"] [:: std :: mem :: offset_of ! (_xmlElementContent , name) - 8usize] ; ["Offset of field: _xmlElementContent::c1"] [:: std :: mem :: offset_of ! (_xmlElementContent , c1) - 16usize] ; ["Offset of field: _xmlElementContent::c2"] [:: std :: mem :: offset_of ! (_xmlElementContent , c2) - 24usize] ; ["Offset of field: _xmlElementContent::parent"] [:: std :: mem :: offset_of ! (_xmlElementContent , parent) - 32usize] ; ["Offset of field: _xmlElementContent::prefix"] [:: std :: mem :: offset_of ! (_xmlElementContent , prefix) - 40usize] ; } ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_UNDEFINED : xmlElementTypeVal = 0 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_EMPTY : xmlElementTypeVal = 1 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_ANY : xmlElementTypeVal = 2 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_MIXED : xmlElementTypeVal = 3 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_ELEMENT : xmlElementTypeVal = 4 ; # [doc = " The different possibilities for an element content type."] pub type xmlElementTypeVal = :: std :: os :: raw :: c_uint ; # [doc = " Element declaration"] pub type xmlElement = _xmlElement ; pub type xmlElementPtr = * mut xmlElement ; # [doc = " An XML Element declaration from a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlElement { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ELEMENT_DECL"] pub type_ : xmlElementType , # [doc = " element name"] pub name : * const xmlChar , # [doc = " NULL"] pub children : * mut _xmlNode , # [doc = " NULL"] pub last : * mut _xmlNode , # [doc = " -> DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " element type"] pub etype : xmlElementTypeVal , # [doc = " allowed element content"] pub content : * mut xmlElementContent , # [doc = " list of declared attributes"] pub attributes : * mut xmlAttribute , # [doc = " namespace prefix if any"] pub prefix : * const xmlChar , # [doc = " validating regexp"] pub contModel : * mut xmlRegexp , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlElement"] [:: std :: mem :: size_of :: < _xmlElement > () - 112usize] ; ["Alignment of _xmlElement"] [:: std :: mem :: align_of :: < _xmlElement > () - 8usize] ; ["Offset of field: _xmlElement::_private"] [:: std :: mem :: offset_of ! (_xmlElement , _private) - 0usize] ; ["Offset of field: _xmlElement::type_"] [:: std :: mem :: offset_of ! (_xmlElement , type_) - 8usize] ; ["Offset of field: _xmlElement::name"] [:: std :: mem :: offset_of ! (_xmlElement , name) - 16usize] ; ["Offset of field: _xmlElement::children"] [:: std :: mem :: offset_of ! (_xmlElement , children) - 24usize] ; ["Offset of field: _xmlElement::last"] [:: std :: mem :: offset_of ! (_xmlElement , last) - 32usize] ; ["Offset of field: _xmlElement::parent"] [:: std :: mem :: offset_of ! (_xmlElement , parent) - 40usize] ; ["Offset of field: _xmlElement::next"] [:: std :: mem :: offset_of ! (_xmlElement , next) - 48usize] ; ["Offset of field: _xmlElement::prev"] [:: std :: mem :: offset_of ! (_xmlElement , prev) - 56usize] ; ["Offset of field: _xmlElement::doc"] [:: std :: mem :: offset_of ! (_xmlElement , doc) - 64usize] ; ["Offset of field: _xmlElement::etype"] [:: std :: mem :: offset_of ! (_xmlElement , etype) - 72usize] ; ["Offset of field: _xmlElement::content"] [:: std :: mem :: offset_of ! (_xmlElement , content) - 80usize] ; ["Offset of field: _xmlElement::attributes"] [:: std :: mem :: offset_of ! (_xmlElement , attributes) - 88usize] ; ["Offset of field: _xmlElement::prefix"] [:: std :: mem :: offset_of ! (_xmlElement , prefix) - 96usize] ; ["Offset of field: _xmlElement::contModel"] [:: std :: mem :: offset_of ! (_xmlElement , contModel) - 104usize] ; } ; # [doc = " The different element types carried by an XML tree.\n\n NOTE: This is synchronized with DOM Level 1 values.\n       See http://www.w3.org/TR/REC-DOM-Level-1/\n\n Actually this had diverged a bit, and XML_DTD_NODE is used instead\n of XML_DOCUMENT_TYPE_NODE."] pub use self :: xmlElementType as xmlNsType ; # [doc = " Namespace declaration"] pub type xmlNs = _xmlNs ; pub type xmlNsPtr = * mut xmlNs ; # [doc = " An XML namespace.\n Note that prefix == NULL is valid, it defines the default namespace\n within the subtree (until overridden).\n\n xmlNsType is unified with xmlElementType.\n\n Note that the XPath engine returns XPath namespace nodes as\n xmlNs cast to xmlNode. This is a terrible design decision that\n can easily cause type confusion errors. In this case, the `next`\n member points to the xmlNode element to which the namespace\n node belongs."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNs { # [doc = " next namespace"] pub next : * mut _xmlNs , # [doc = " XML_NAMESPACE_DECL"] pub type_ : xmlNsType , # [doc = " namespace URI"] pub href : * const xmlChar , # [doc = " namespace prefix"] pub prefix : * const xmlChar , # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " normally an xmlDoc"] pub context : * mut _xmlDoc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNs"] [:: std :: mem :: size_of :: < _xmlNs > () - 48usize] ; ["Alignment of _xmlNs"] [:: std :: mem :: align_of :: < _xmlNs > () - 8usize] ; ["Offset of field: _xmlNs::next"] [:: std :: mem :: offset_of ! (_xmlNs , next) - 0usize] ; ["Offset of field: _xmlNs::type_"] [:: std :: mem :: offset_of ! (_xmlNs , type_) - 8usize] ; ["Offset of field: _xmlNs::href"] [:: std :: mem :: offset_of ! (_xmlNs , href) - 16usize] ; ["Offset of field: _xmlNs::prefix"] [:: std :: mem :: offset_of ! (_xmlNs , prefix) - 24usize] ; ["Offset of field: _xmlNs::_private"] [:: std :: mem :: offset_of ! (_xmlNs , _private) - 32usize] ; ["Offset of field: _xmlNs::context"] [:: std :: mem :: offset_of ! (_xmlNs , context) - 40usize] ; } ; # [doc = " Document type definition (DTD)"] pub type xmlDtd = _xmlDtd ; pub type xmlDtdPtr = * mut xmlDtd ; # [doc = " An XML DTD, as defined by <!DOCTYPE ... There is actually one for\n the internal subset and for the external subset.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDtd { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_DTD_NODE"] pub type_ : xmlElementType , # [doc = " name of the DTD"] pub name : * const xmlChar , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlDoc , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " hash table for notations if any"] pub notations : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for elements if any"] pub elements : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for attributes if any"] pub attributes : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for entities if any"] pub entities : * mut :: std :: os :: raw :: c_void , # [doc = " public identifier"] pub ExternalID : * mut xmlChar , # [doc = " system identifier"] pub SystemID : * mut xmlChar , # [doc = " hash table for parameter entities if any"] pub pentities : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDtd"] [:: std :: mem :: size_of :: < _xmlDtd > () - 128usize] ; ["Alignment of _xmlDtd"] [:: std :: mem :: align_of :: < _xmlDtd > () - 8usize] ; ["Offset of field: _xmlDtd::_private"] [:: std :: mem :: offset_of ! (_xmlDtd , _private) - 0usize] ; ["Offset of field: _xmlDtd::type_"] [:: std :: mem :: offset_of ! (_xmlDtd , type_) - 8usize] ; ["Offset of field: _xmlDtd::name"] [:: std :: mem :: offset_of ! (_xmlDtd , name) - 16usize] ; ["Offset of field: _xmlDtd::children"] [:: std :: mem :: offset_of ! (_xmlDtd , children) - 24usize] ; ["Offset of field: _xmlDtd::last"] [:: std :: mem :: offset_of ! (_xmlDtd , last) - 32usize] ; ["Offset of field: _xmlDtd::parent"] [:: std :: mem :: offset_of ! (_xmlDtd , parent) - 40usize] ; ["Offset of field: _xmlDtd::next"] [:: std :: mem :: offset_of ! (_xmlDtd , next) - 48usize] ; ["Offset of field: _xmlDtd::prev"] [:: std :: mem :: offset_of ! (_xmlDtd , prev) - 56usize] ; ["Offset of field: _xmlDtd::doc"] [:: std :: mem :: offset_of ! (_xmlDtd , doc) - 64usize] ; ["Offset of field: _xmlDtd::notations"] [:: std :: mem :: offset_of ! (_xmlDtd , notations) - 72usize] ; ["Offset of field: _xmlDtd::elements"] [:: std :: mem :: offset_of ! (_xmlDtd , elements) - 80usize] ; ["Offset of field: _xmlDtd::attributes"] [:: std :: mem :: offset_of ! (_xmlDtd , attributes) - 88usize] ; ["Offset of field: _xmlDtd::entities"] [:: std :: mem :: offset_of ! (_xmlDtd , entities) - 96usize] ; ["Offset of field: _xmlDtd::ExternalID"] [:: std :: mem :: offset_of ! (_xmlDtd , ExternalID) - 104usize] ; ["Offset of field: _xmlDtd::SystemID"] [:: std :: mem :: offset_of ! (_xmlDtd , SystemID) - 112usize] ; ["Offset of field: _xmlDtd::pentities"] [:: std :: mem :: offset_of ! (_xmlDtd , pentities) - 120usize] ; } ; # [doc = " Attribute of an element"] pub type xmlAttr = _xmlAttr ; pub type xmlAttrPtr = * mut xmlAttr ; # [doc = " An attribute of element."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttr { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ATTRIBUTE_NODE"] pub type_ : xmlElementType , # [doc = " local name"] pub name : * const xmlChar , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlNode , # [doc = " next sibling"] pub next : * mut _xmlAttr , # [doc = " previous sibling"] pub prev : * mut _xmlAttr , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " namespace if any"] pub ns : * mut xmlNs , # [doc = " attribute type if validating"] pub atype : xmlAttributeType , # [doc = " for type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " ID struct if any"] pub id : * mut _xmlID , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlAttr"] [:: std :: mem :: size_of :: < _xmlAttr > () - 104usize] ; ["Alignment of _xmlAttr"] [:: std :: mem :: align_of :: < _xmlAttr > () - 8usize] ; ["Offset of field: _xmlAttr::_private"] [:: std :: mem :: offset_of ! (_xmlAttr , _private) - 0usize] ; ["Offset of field: _xmlAttr::type_"] [:: std :: mem :: offset_of ! (_xmlAttr , type_) - 8usize] ; ["Offset of field: _xmlAttr::name"] [:: std :: mem :: offset_of ! (_xmlAttr , name) - 16usize] ; ["Offset of field: _xmlAttr::children"] [:: std :: mem :: offset_of ! (_xmlAttr , children) - 24usize] ; ["Offset of field: _xmlAttr::last"] [:: std :: mem :: offset_of ! (_xmlAttr , last) - 32usize] ; ["Offset of field: _xmlAttr::parent"] [:: std :: mem :: offset_of ! (_xmlAttr , parent) - 40usize] ; ["Offset of field: _xmlAttr::next"] [:: std :: mem :: offset_of ! (_xmlAttr , next) - 48usize] ; ["Offset of field: _xmlAttr::prev"] [:: std :: mem :: offset_of ! (_xmlAttr , prev) - 56usize] ; ["Offset of field: _xmlAttr::doc"] [:: std :: mem :: offset_of ! (_xmlAttr , doc) - 64usize] ; ["Offset of field: _xmlAttr::ns"] [:: std :: mem :: offset_of ! (_xmlAttr , ns) - 72usize] ; ["Offset of field: _xmlAttr::atype"] [:: std :: mem :: offset_of ! (_xmlAttr , atype) - 80usize] ; ["Offset of field: _xmlAttr::psvi"] [:: std :: mem :: offset_of ! (_xmlAttr , psvi) - 88usize] ; ["Offset of field: _xmlAttr::id"] [:: std :: mem :: offset_of ! (_xmlAttr , id) - 96usize] ; } ; # [doc = " Extra data for ID attributes"] pub type xmlID = _xmlID ; pub type xmlIDPtr = * mut xmlID ; # [doc = " An XML ID instance.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlID { pub next : * mut _xmlID , pub value : * mut xmlChar , pub attr : * mut xmlAttr , pub name : * const xmlChar , pub lineno : :: std :: os :: raw :: c_int , pub doc : * mut _xmlDoc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlID"] [:: std :: mem :: size_of :: < _xmlID > () - 48usize] ; ["Alignment of _xmlID"] [:: std :: mem :: align_of :: < _xmlID > () - 8usize] ; ["Offset of field: _xmlID::next"] [:: std :: mem :: offset_of ! (_xmlID , next) - 0usize] ; ["Offset of field: _xmlID::value"] [:: std :: mem :: offset_of ! (_xmlID , value) - 8usize] ; ["Offset of field: _xmlID::attr"] [:: std :: mem :: offset_of ! (_xmlID , attr) - 16usize] ; ["Offset of field: _xmlID::name"] [:: std :: mem :: offset_of ! (_xmlID , name) - 24usize] ; ["Offset of field: _xmlID::lineno"] [:: std :: mem :: offset_of ! (_xmlID , lineno) - 32usize] ; ["Offset of field: _xmlID::doc"] [:: std :: mem :: offset_of ! (_xmlID , doc) - 40usize] ; } ; # [doc = " @cond ignore"] pub type xmlRef = _xmlRef ; pub type xmlRefPtr = * mut xmlRef ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRef { pub next : * mut _xmlRef , pub value : * const xmlChar , pub attr : * mut xmlAttr , pub name : * const xmlChar , pub lineno : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlRef"] [:: std :: mem :: size_of :: < _xmlRef > () - 40usize] ; ["Alignment of _xmlRef"] [:: std :: mem :: align_of :: < _xmlRef > () - 8usize] ; ["Offset of field: _xmlRef::next"] [:: std :: mem :: offset_of ! (_xmlRef , next) - 0usize] ; ["Offset of field: _xmlRef::value"] [:: std :: mem :: offset_of ! (_xmlRef , value) - 8usize] ; ["Offset of field: _xmlRef::attr"] [:: std :: mem :: offset_of ! (_xmlRef , attr) - 16usize] ; ["Offset of field: _xmlRef::name"] [:: std :: mem :: offset_of ! (_xmlRef , name) - 24usize] ; ["Offset of field: _xmlRef::lineno"] [:: std :: mem :: offset_of ! (_xmlRef , lineno) - 32usize] ; } ; # [doc = " Generic node type in an XML or HTML tree"] pub type xmlNode = _xmlNode ; pub type xmlNodePtr = * mut xmlNode ; # [doc = " Generic node type in an XML or HTML tree.\n\n This is used for\n\n - XML_ELEMENT_NODE\n - XML_TEXT_NODE\n - XML_CDATA_SECTION_NODE\n - XML_ENTITY_REF_NODE\n - XML_PI_NODE\n - XML_COMMENT_NODE\n - XML_DOCUMENT_FRAG_NODE\n - XML_XINCLUDE_START_NODE\n - XML_XINCLUDE_END_NODE\n\n Other node types have a different struct layout than xmlNode,\n see xmlElementType. Except for XML_NAMESPACE_DECL all nodes\n share the following members at the same offset:\n\n - `_private`\n - `type` (also for XML_NAMESPACE_DECL)\n - `name`\n - `children`\n - `last`\n - `parent`\n - `next`\n - `prev`\n - `doc`\n\n xmlNode and xmlAttr also share the `ns` member."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNode { # [doc = " Application data. Often used by language bindings."] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " Type enum, an xmlElementType value"] pub type_ : xmlElementType , # [doc = " Name of the node.\n\n - Local name of elements or attributes. As a corner case,\n   this can also contain Names which are invalid QNames in\n   non-namespace-wellformed documents.\n - Name of entity references\n - Target of processing instructions\n - Fixed string for text and comments\n - Unused otherwise"] pub name : * const xmlChar , # [doc = " First child. Entity declaration of entity references."] pub children : * mut _xmlNode , # [doc = " Last child"] pub last : * mut _xmlNode , # [doc = " Parent node. NULL for documents or unlinked root nodes."] pub parent : * mut _xmlNode , # [doc = " Next sibling"] pub next : * mut _xmlNode , # [doc = " Previous sibling"] pub prev : * mut _xmlNode , # [doc = " Associated document.\n\n Used to access DTDs, entities, ID tables, dictionary or\n other document properties. All children of a node share the\n same document."] pub doc : * mut _xmlDoc , # [doc = " Namespace of element if any"] pub ns : * mut xmlNs , # [doc = " Content of text, comment, PI nodes.\n\n Sort index for elements after calling #xmlXPathOrderDocElems.\n Content of internal entities for entity references."] pub content : * mut xmlChar , # [doc = " First attribute of element.\n\n Also used to store small strings with XML_PARSE_COMPACT."] pub properties : * mut _xmlAttr , # [doc = " First namespace definition of element"] pub nsDef : * mut xmlNs , # [doc = " For type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " Line number"] pub line : :: std :: os :: raw :: c_ushort , # [doc = " Extra data for XPath/XSLT"] pub extra : :: std :: os :: raw :: c_ushort , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNode"] [:: std :: mem :: size_of :: < _xmlNode > () - 120usize] ; ["Alignment of _xmlNode"] [:: std :: mem :: align_of :: < _xmlNode > () - 8usize] ; ["Offset of field: _xmlNode::_private"] [:: std :: mem :: offset_of ! (_xmlNode , _private) - 0usize] ; ["Offset of field: _xmlNode::type_"] [:: std :: mem :: offset_of ! (_xmlNode , type_) - 8usize] ; ["Offset of field: _xmlNode::name"] [:: std :: mem :: offset_of ! (_xmlNode , name) - 16usize] ; ["Offset of field: _xmlNode::children"] [:: std :: mem :: offset_of ! (_xmlNode , children) - 24usize] ; ["Offset of field: _xmlNode::last"] [:: std :: mem :: offset_of ! (_xmlNode , last) - 32usize] ; ["Offset of field: _xmlNode::parent"] [:: std :: mem :: offset_of ! (_xmlNode , parent) - 40usize] ; ["Offset of field: _xmlNode::next"] [:: std :: mem :: offset_of ! (_xmlNode , next) - 48usize] ; ["Offset of field: _xmlNode::prev"] [:: std :: mem :: offset_of ! (_xmlNode , prev) - 56usize] ; ["Offset of field: _xmlNode::doc"] [:: std :: mem :: offset_of ! (_xmlNode , doc) - 64usize] ; ["Offset of field: _xmlNode::ns"] [:: std :: mem :: offset_of ! (_xmlNode , ns) - 72usize] ; ["Offset of field: _xmlNode::content"] [:: std :: mem :: offset_of ! (_xmlNode , content) - 80usize] ; ["Offset of field: _xmlNode::properties"] [:: std :: mem :: offset_of ! (_xmlNode , properties) - 88usize] ; ["Offset of field: _xmlNode::nsDef"] [:: std :: mem :: offset_of ! (_xmlNode , nsDef) - 96usize] ; ["Offset of field: _xmlNode::psvi"] [:: std :: mem :: offset_of ! (_xmlNode , psvi) - 104usize] ; ["Offset of field: _xmlNode::line"] [:: std :: mem :: offset_of ! (_xmlNode , line) - 112usize] ; ["Offset of field: _xmlNode::extra"] [:: std :: mem :: offset_of ! (_xmlNode , extra) - 114usize] ; } ; # [doc = " document is XML well formed"] pub const xmlDocProperties_XML_DOC_WELLFORMED : xmlDocProperties = 1 ; # [doc = " document is Namespace valid"] pub const xmlDocProperties_XML_DOC_NSVALID : xmlDocProperties = 2 ; # [doc = " parsed with old XML-1.0 parser"] pub const xmlDocProperties_XML_DOC_OLD10 : xmlDocProperties = 4 ; # [doc = " DTD validation was successful"] pub const xmlDocProperties_XML_DOC_DTDVALID : xmlDocProperties = 8 ; # [doc = " XInclude substitution was done"] pub const xmlDocProperties_XML_DOC_XINCLUDE : xmlDocProperties = 16 ; # [doc = " Document was built using the API and not by parsing an instance"] pub const xmlDocProperties_XML_DOC_USERBUILT : xmlDocProperties = 32 ; # [doc = " built for internal processing"] pub const xmlDocProperties_XML_DOC_INTERNAL : xmlDocProperties = 64 ; # [doc = " parsed or built HTML document"] pub const xmlDocProperties_XML_DOC_HTML : xmlDocProperties = 128 ; # [doc = " Set of properties of the document as found by the parser.\n Some of them are linked to similarly named xmlParserOption."] pub type xmlDocProperties = :: std :: os :: raw :: c_uint ; # [doc = " XML or HTML document"] pub type xmlDoc = _xmlDoc ; pub type xmlDocPtr = * mut xmlDoc ; # [doc = " An XML or HTML document."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDoc { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_DOCUMENT_NODE or XML_HTML_DOCUMENT_NODE"] pub type_ : xmlElementType , # [doc = " NULL"] pub name : * mut :: std :: os :: raw :: c_char , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlNode , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " reference to itself"] pub doc : * mut _xmlDoc , # [doc = " level of zlib compression"] pub compression : :: std :: os :: raw :: c_int , # [doc = " standalone document (no external refs)\n\n - 1 if standalone=\"yes\",\n - 0 if standalone=\"no\",\n - -1 if there is no XML declaration,\n - -2 if there is an XML declaration, but no\n   standalone attribute was specified"] pub standalone : :: std :: os :: raw :: c_int , # [doc = " internal subset"] pub intSubset : * mut _xmlDtd , # [doc = " external subset"] pub extSubset : * mut _xmlDtd , # [doc = " used to hold the XML namespace if needed"] pub oldNs : * mut _xmlNs , # [doc = " version string from XML declaration"] pub version : * mut xmlChar , # [doc = " actual encoding if any"] pub encoding : * mut xmlChar , # [doc = " hash table for ID attributes if any"] pub ids : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for IDREFs attributes if any"] pub refs : * mut :: std :: os :: raw :: c_void , # [doc = " URI of the document"] pub URL : * mut xmlChar , # [doc = " unused"] pub charset : :: std :: os :: raw :: c_int , # [doc = " dict used to allocate names if any"] pub dict : * mut _xmlDict , # [doc = " for type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " xmlParserOption enum used to parse the document"] pub parseFlags : :: std :: os :: raw :: c_int , # [doc = " xmlDocProperties of the document"] pub properties : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDoc"] [:: std :: mem :: size_of :: < _xmlDoc > () - 176usize] ; ["Alignment of _xmlDoc"] [:: std :: mem :: align_of :: < _xmlDoc > () - 8usize] ; ["Offset of field: _xmlDoc::_private"] [:: std :: mem :: offset_of ! (_xmlDoc , _private) - 0usize] ; ["Offset of field: _xmlDoc::type_"] [:: std :: mem :: offset_of ! (_xmlDoc , type_) - 8usize] ; ["Offset of field: _xmlDoc::name"] [:: std :: mem :: offset_of ! (_xmlDoc , name) - 16usize] ; ["Offset of field: _xmlDoc::children"] [:: std :: mem :: offset_of ! (_xmlDoc , children) - 24usize] ; ["Offset of field: _xmlDoc::last"] [:: std :: mem :: offset_of ! (_xmlDoc , last) - 32usize] ; ["Offset of field: _xmlDoc::parent"] [:: std :: mem :: offset_of ! (_xmlDoc , parent) - 40usize] ; ["Offset of field: _xmlDoc::next"] [:: std :: mem :: offset_of ! (_xmlDoc , next) - 48usize] ; ["Offset of field: _xmlDoc::prev"] [:: std :: mem :: offset_of ! (_xmlDoc , prev) - 56usize] ; ["Offset of field: _xmlDoc::doc"] [:: std :: mem :: offset_of ! (_xmlDoc , doc) - 64usize] ; ["Offset of field: _xmlDoc::compression"] [:: std :: mem :: offset_of ! (_xmlDoc , compression) - 72usize] ; ["Offset of field: _xmlDoc::standalone"] [:: std :: mem :: offset_of ! (_xmlDoc , standalone) - 76usize] ; ["Offset of field: _xmlDoc::intSubset"] [:: std :: mem :: offset_of ! (_xmlDoc , intSubset) - 80usize] ; ["Offset of field: _xmlDoc::extSubset"] [:: std :: mem :: offset_of ! (_xmlDoc , extSubset) - 88usize] ; ["Offset of field: _xmlDoc::oldNs"] [:: std :: mem :: offset_of ! (_xmlDoc , oldNs) - 96usize] ; ["Offset of field: _xmlDoc::version"] [:: std :: mem :: offset_of ! (_xmlDoc , version) - 104usize] ; ["Offset of field: _xmlDoc::encoding"] [:: std :: mem :: offset_of ! (_xmlDoc , encoding) - 112usize] ; ["Offset of field: _xmlDoc::ids"] [:: std :: mem :: offset_of ! (_xmlDoc , ids) - 120usize] ; ["Offset of field: _xmlDoc::refs"] [:: std :: mem :: offset_of ! (_xmlDoc , refs) - 128usize] ; ["Offset of field: _xmlDoc::URL"] [:: std :: mem :: offset_of ! (_xmlDoc , URL) - 136usize] ; ["Offset of field: _xmlDoc::charset"] [:: std :: mem :: offset_of ! (_xmlDoc , charset) - 144usize] ; ["Offset of field: _xmlDoc::dict"] [:: std :: mem :: offset_of ! (_xmlDoc , dict) - 152usize] ; ["Offset of field: _xmlDoc::psvi"] [:: std :: mem :: offset_of ! (_xmlDoc , psvi) - 160usize] ; ["Offset of field: _xmlDoc::parseFlags"] [:: std :: mem :: offset_of ! (_xmlDoc , parseFlags) - 168usize] ; ["Offset of field: _xmlDoc::properties"] [:: std :: mem :: offset_of ! (_xmlDoc , properties) - 172usize] ; } ; # [doc = " Context for DOM wrapper operations"] pub type xmlDOMWrapCtxt = _xmlDOMWrapCtxt ; pub type xmlDOMWrapCtxtPtr = * mut xmlDOMWrapCtxt ; # [doc = " A function called to acquire namespaces (xmlNs) from the wrapper.\n\n @param ctxt  a DOM wrapper context\n @param node  the context node (element or attribute)\n @param nsName  the requested namespace name\n @param nsPrefix  the requested namespace prefix\n @returns an xmlNs or NULL in case of an error."] pub type xmlDOMWrapAcquireNsFunction = :: std :: option :: Option < unsafe extern "C" fn (ctxt : * mut xmlDOMWrapCtxt , node : * mut xmlNode , nsName : * const xmlChar , nsPrefix : * const xmlChar) -> * mut xmlNs > ; # [doc = " Context for DOM wrapper-operations."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDOMWrapCtxt { pub _private : * mut :: std :: os :: raw :: c_void , pub type_ : :: std :: os :: raw :: c_int , pub namespaceMap : * mut :: std :: os :: raw :: c_void , pub getNsForNodeFunc : xmlDOMWrapAcquireNsFunction , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDOMWrapCtxt"] [:: std :: mem :: size_of :: < _xmlDOMWrapCtxt > () - 32usize] ; ["Alignment of _xmlDOMWrapCtxt"] [:: std :: mem :: align_of :: < _xmlDOMWrapCtxt > () - 8usize] ; ["Offset of field: _xmlDOMWrapCtxt::_private"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , _private) - 0usize] ; ["Offset of field: _xmlDOMWrapCtxt::type_"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , type_) - 8usize] ; ["Offset of field: _xmlDOMWrapCtxt::namespaceMap"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , namespaceMap) - 16usize] ; ["Offset of field: _xmlDOMWrapCtxt::getNsForNodeFunc"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , getNsForNodeFunc) - 24usize] ; } ; # [doc = " Signature for the registration callback of a created node\n\n @param node  the current node"] pub type xmlRegisterNodeFunc = :: std :: option :: Option < unsafe extern "C" fn (node : * mut xmlNode) > ; # [doc = " Signature for the deregistration callback of a discarded node\n\n @param node  the current node"] pub type xmlDeregisterNodeFunc = :: std :: option :: Option < unsafe extern "C" fn (node : * mut xmlNode) > ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlRegisterNodeDefaultValue () -> * mut xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn __xmlDeregisterNodeDefaultValue () -> * mut xmlDeregisterNodeFunc ; } unsafe extern "C" { # [doc = " @endcond"] pub fn xmlValidateNCName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateQName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNMToken (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBuildQName (ncname : * const xmlChar , prefix : * const xmlChar , memory : * mut xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSplitQName2 (name : * const xmlChar , prefix : * mut * mut xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSplitQName3 (name : * const xmlChar , len : * mut :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCreateIntSubset (doc : * mut xmlDoc , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlNewDtd (doc : * mut xmlDoc , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlGetIntSubset (doc : * const xmlDoc) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlFreeDtd (cur : * mut xmlDtd) ; } unsafe extern "C" { pub fn xmlNewNs (node : * mut xmlNode , href : * const xmlChar , prefix : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlFreeNs (cur : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlFreeNsList (cur : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlNewDoc (version : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlFreeDoc (cur : * mut xmlDoc) ; } unsafe extern "C" { pub fn xmlNewDocProp (doc : * mut xmlDoc , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewProp (node : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewNsPropEatName (node : * mut xmlNode , ns : * mut xmlNs , name : * mut xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlFreePropList (cur : * mut xmlAttr) ; } unsafe extern "C" { pub fn xmlFreeProp (cur : * mut xmlAttr) ; } unsafe extern "C" { pub fn xmlCopyProp (target : * mut xmlNode , cur : * mut xmlAttr) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlCopyPropList (target : * mut xmlNode , cur : * mut xmlAttr) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlCopyDtd (dtd : * mut xmlDtd) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlCopyDoc (doc : * mut xmlDoc , recursive : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlNewDocNode (doc : * mut xmlDoc , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocNodeEatName (doc : * mut xmlDoc , ns : * mut xmlNs , name : * mut xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewNode (ns : * mut xmlNs , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewNodeEatName (ns : * mut xmlNs , name : * mut xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewChild (parent : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocText (doc : * const xmlDoc , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewText (content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocPI (doc : * mut xmlDoc , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewPI (name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocTextLen (doc : * mut xmlDoc , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewTextLen (content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocComment (doc : * mut xmlDoc , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewComment (content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewCDataBlock (doc : * mut xmlDoc , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewCharRef (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewReference (doc : * const xmlDoc , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCopyNode (node : * mut xmlNode , recursive : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlDocCopyNode (node : * mut xmlNode , doc : * mut xmlDoc , recursive : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlDocCopyNodeList (doc : * mut xmlDoc , node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCopyNodeList (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewTextChild (parent : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocRawNode (doc : * mut xmlDoc , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocFragment (doc : * mut xmlDoc) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlGetLineNo (node : * const xmlNode) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn xmlGetNodePath (node : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlDocGetRootElement (doc : * const xmlDoc) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlGetLastChild (parent : * const xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeIsText (node : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsBlankNode (node : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocSetRootElement (doc : * mut xmlDoc , root : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeSetName (cur : * mut xmlNode , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlAddChild (parent : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddChildList (parent : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlReplaceNode (old : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddPrevSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddNextSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlUnlinkNode (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlTextMerge (first : * mut xmlNode , second : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlTextConcat (node : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFreeNodeList (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlFreeNode (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlSetTreeDoc (tree : * mut xmlNode , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetListDoc (list : * mut xmlNode , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSearchNs (doc : * mut xmlDoc , node : * mut xmlNode , nameSpace : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlSearchNsByHref (doc : * mut xmlDoc , node : * mut xmlNode , href : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlGetNsListSafe (doc : * const xmlDoc , node : * const xmlNode , out : * mut * mut * mut xmlNs) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetNsList (doc : * const xmlDoc , node : * const xmlNode) -> * mut * mut xmlNs ; } unsafe extern "C" { pub fn xmlSetNs (node : * mut xmlNode , ns : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlCopyNamespace (cur : * mut xmlNs) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlCopyNamespaceList (cur : * mut xmlNs) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlSetProp (node : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlSetNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNodeGetAttrValue (node : * const xmlNode , name : * const xmlChar , nsUri : * const xmlChar , out : * mut * mut xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetNoNsProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlGetProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlHasProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlHasNsProp (node : * const xmlNode , name : * const xmlChar , nameSpace : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlGetNsProp (node : * const xmlNode , name : * const xmlChar , nameSpace : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStringGetNodeList (doc : * const xmlDoc , value : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlStringLenGetNodeList (doc : * const xmlDoc , value : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeListGetString (doc : * mut xmlDoc , list : * const xmlNode , inLine : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeListGetRawString (doc : * const xmlDoc , list : * const xmlNode , inLine : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeSetContent (cur : * mut xmlNode , content : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetContentLen (cur : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeAddContent (cur : * mut xmlNode , content : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeAddContentLen (cur : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetContent (cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeBufGetContent (buffer : * mut xmlBuffer , cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufGetNodeContent (buf : * mut xmlBuf , cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetLang (cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeGetSpacePreserve (cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetLang (cur : * mut xmlNode , lang : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetSpacePreserve (cur : * mut xmlNode , val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetBaseSafe (doc : * const xmlDoc , cur : * const xmlNode , baseOut : * mut * mut xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetBase (doc : * const xmlDoc , cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeSetBase (cur : * mut xmlNode , uri : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveProp (cur : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUnsetNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUnsetProp (node : * mut xmlNode , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAttrSerializeTxtContent (buf : * mut xmlBuffer , doc : * mut xmlDoc , attr : * mut xmlAttr , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlReconciliateNs (doc : * mut xmlDoc , tree : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocDumpFormatMemory (cur : * mut xmlDoc , mem : * mut * mut xmlChar , size : * mut :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocDumpMemory (cur : * mut xmlDoc , mem : * mut * mut xmlChar , size : * mut :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocDumpMemoryEnc (out_doc : * mut xmlDoc , doc_txt_ptr : * mut * mut xmlChar , doc_txt_len : * mut :: std :: os :: raw :: c_int , txt_encoding : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlDocDumpFormatMemoryEnc (out_doc : * mut xmlDoc , doc_txt_ptr : * mut * mut xmlChar , doc_txt_len : * mut :: std :: os :: raw :: c_int , txt_encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocFormatDump (f : * mut FILE , cur : * mut xmlDoc , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocDump (f : * mut FILE , cur : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlElemDump (f : * mut FILE , doc : * mut xmlDoc , cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlSaveFile (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFormatFile (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufNodeDump (buf : * mut xmlBuf , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> usize ; } unsafe extern "C" { pub fn xmlNodeDump (buf : * mut xmlBuffer , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFileTo (buf : * mut xmlOutputBuffer , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFormatFileTo (buf : * mut xmlOutputBuffer , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeDumpOutput (buf : * mut xmlOutputBuffer , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , encoding : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlSaveFormatFileEnc (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFileEnc (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsXHTML (systemID : * const xmlChar , publicID : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetDocCompressMode (doc : * const xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetDocCompressMode (doc : * mut xmlDoc , mode : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlGetCompressMode () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetCompressMode (mode : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDOMWrapNewCtxt () -> * mut xmlDOMWrapCtxt ; } unsafe extern "C" { pub fn xmlDOMWrapFreeCtxt (ctxt : * mut xmlDOMWrapCtxt) ; } unsafe extern "C" { pub fn xmlDOMWrapReconcileNamespaces (ctxt : * mut xmlDOMWrapCtxt , elem : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapAdoptNode (ctxt : * mut xmlDOMWrapCtxt , sourceDoc : * mut xmlDoc , node : * mut xmlNode , destDoc : * mut xmlDoc , destParent : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapRemoveNode (ctxt : * mut xmlDOMWrapCtxt , doc : * mut xmlDoc , node : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapCloneNode (ctxt : * mut xmlDOMWrapCtxt , sourceDoc : * mut xmlDoc , node : * mut xmlNode , clonedNode : * mut * mut xmlNode , destDoc : * mut xmlDoc , destParent : * mut xmlNode , deep : :: std :: os :: raw :: c_int , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlChildElementCount (parent : * mut xmlNode) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlNextElementSibling (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlFirstElementChild (parent : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlLastElementChild (parent : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlPreviousElementSibling (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlRegisterNodeDefault (func : xmlRegisterNodeFunc) -> xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn xmlDeregisterNodeDefault (func : xmlDeregisterNodeFunc) -> xmlDeregisterNodeFunc ; } unsafe extern "C" { pub fn xmlThrDefRegisterNodeDefault (func : xmlRegisterNodeFunc) -> xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn xmlThrDefDeregisterNodeDefault (func : xmlDeregisterNodeFunc) -> xmlDeregisterNodeFunc ; } unsafe extern "C" { pub fn xmlSetBufferAllocationScheme (scheme : xmlBufferAllocationScheme) ; } unsafe extern "C" { pub fn xmlGetBufferAllocationScheme () -> xmlBufferAllocationScheme ; } unsafe extern "C" { pub fn xmlBufferCreate () -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferCreateSize (size : usize) -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferCreateStatic (mem : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferResize (buf : * mut xmlBuffer , size : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferFree (buf : * mut xmlBuffer) ; } unsafe extern "C" { pub fn xmlBufferDump (file : * mut FILE , buf : * mut xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferAdd (buf : * mut xmlBuffer , str_ : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferAddHead (buf : * mut xmlBuffer , str_ : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferCat (buf : * mut xmlBuffer , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferCCat (buf : * mut xmlBuffer , str_ : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferShrink (buf : * mut xmlBuffer , len : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferGrow (buf : * mut xmlBuffer , len : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferEmpty (buf : * mut xmlBuffer) ; } unsafe extern "C" { pub fn xmlBufferContent (buf : * const xmlBuffer) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlBufferDetach (buf : * mut xmlBuffer) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufferSetAllocationScheme (buf : * mut xmlBuffer , scheme : xmlBufferAllocationScheme) ; } unsafe extern "C" { pub fn xmlBufferLength (buf : * const xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferWriteCHAR (buf : * mut xmlBuffer , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlBufferWriteChar (buf : * mut xmlBuffer , string : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlBufferWriteQuotedString (buf : * mut xmlBuffer , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlBufContent (buf : * const xmlBuf) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufEnd (buf : * mut xmlBuf) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufUse (buf : * mut xmlBuf) -> usize ; } unsafe extern "C" { pub fn xmlBufShrink (buf : * mut xmlBuf , len : usize) -> usize ; } pub type wchar_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [repr (align (16))] # [derive (Debug , Copy , Clone)] pub struct max_align_t { pub __clang_max_align_nonce1 : :: std :: os :: raw :: c_longlong , pub __bindgen_padding_0 : u64 , pub __clang_max_align_nonce2 : u128 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of max_align_t"] [:: std :: mem :: size_of :: < max_align_t > () - 32usize] ; ["Alignment of max_align_t"] [:: std :: mem :: align_of :: < max_align_t > () - 16usize] ; ["Offset of field: max_align_t::__clang_max_align_nonce1"] [:: std :: mem :: offset_of ! (max_align_t , __clang_max_align_nonce1) - 0usize] ; ["Offset of field: max_align_t::__clang_max_align_nonce2"] [:: std :: mem :: offset_of ! (max_align_t , __clang_max_align_nonce2) - 16usize] ; } ; # [doc = " Dictionary (pool for interned strings)"] pub type xmlDict = _xmlDict ; pub type xmlDictPtr = * mut xmlDict ; unsafe extern "C" { pub fn xmlInitializeDict () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictCreate () -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlDictSetLimit (dict : * mut xmlDict , limit : usize) -> usize ; } unsafe extern "C" { pub fn xmlDictGetUsage (dict : * mut xmlDict) -> usize ; } unsafe extern "C" { pub fn xmlDictCreateSub (sub : * mut xmlDict) -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlDictReference (dict : * mut xmlDict) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictFree (dict : * mut xmlDict) ; } unsafe extern "C" { pub fn xmlDictLookup (dict : * mut xmlDict , name : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictExists (dict : * mut xmlDict , name : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictQLookup (dict : * mut xmlDict , prefix : * const xmlChar , name : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictOwns (dict : * mut xmlDict , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictSize (dict : * mut xmlDict) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictCleanup () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlHashTable { _unused : [u8 ; 0] , } # [doc = " Hash table mapping strings to pointers\n\n Also supports lookup using two or three strings as key."] pub type xmlHashTable = _xmlHashTable ; pub type xmlHashTablePtr = * mut xmlHashTable ; # [doc = " Callback to free data from a hash.\n\n @param payload  the data in the hash\n @param name  the name associated"] pub type xmlHashDeallocator = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback to copy data from a hash.\n\n @param payload  the data in the hash\n @param name  the name associated\n @returns a copy of the data or NULL in case of error."] pub type xmlHashCopier = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback when scanning data in a hash with the simple scanner.\n\n @param payload  the data in the hash\n @param data  extra scanner data\n @param name  the name associated"] pub type xmlHashScanner = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , data : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback when scanning data in a hash with the full scanner.\n\n @param payload  the data in the hash\n @param data  extra scanner data\n @param name  the name associated\n @param name2  the second name associated\n @param name3  the third name associated"] pub type xmlHashScannerFull = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , data : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar) > ; unsafe extern "C" { pub fn xmlHashCreate (size : :: std :: os :: raw :: c_int) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashCreateDict (size : :: std :: os :: raw :: c_int , dict : * mut xmlDict) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashFree (hash : * mut xmlHashTable , dealloc : xmlHashDeallocator) ; } unsafe extern "C" { pub fn xmlHashDefaultDeallocator (entry : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlHashAdd (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAdd2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAdd3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry (hash : * mut xmlHashTable , name : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashLookup (hash : * mut xmlHashTable , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashLookup2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashLookup3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup2 (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar , prefix2 : * const xmlChar , name2 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup3 (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar , prefix2 : * const xmlChar , name2 : * const xmlChar , prefix3 : * const xmlChar , name3 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashCopySafe (hash : * mut xmlHashTable , copy : xmlHashCopier , dealloc : xmlHashDeallocator) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashCopy (hash : * mut xmlHashTable , copy : xmlHashCopier) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashSize (hash : * mut xmlHashTable) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashScan (hash : * mut xmlHashTable , scan : xmlHashScanner , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScan3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , scan : xmlHashScanner , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScanFull (hash : * mut xmlHashTable , scan : xmlHashScannerFull , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScanFull3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , scan : xmlHashScannerFull , data : * mut :: std :: os :: raw :: c_void) ; } # [doc = " Success"] pub const xmlErrorLevel_XML_ERR_NONE : xmlErrorLevel = 0 ; # [doc = " A warning\n\n When parsing XML, warnings are only reported to error\n handlers."] pub const xmlErrorLevel_XML_ERR_WARNING : xmlErrorLevel = 1 ; # [doc = " An error\n\n When parsing XML, this is used for recoverable errors like\n\n - namespace errors\n - validity errors when validating\n - certain undeclared entities\n - ID uniqueness and xml:id errors\n\n Note that some recoverable errors in the sense of the XML\n spec are reported as warnings.\n\n In other contexts, this may be used for unrecoverable\n errors."] pub const xmlErrorLevel_XML_ERR_ERROR : xmlErrorLevel = 2 ; # [doc = " A fatal error\n\n When parsing XML, a \"fatal error\" according to the XML spec.\n This typically means that the document isn't well-formed.\n\n This also includes OOM and I/O errors, resource limit\n exhaustion, unexpected errors from other libraries and\n invalid argument errors."] pub const xmlErrorLevel_XML_ERR_FATAL : xmlErrorLevel = 3 ; # [doc = " Indicates the level of an error"] pub type xmlErrorLevel = :: std :: os :: raw :: c_uint ; # [doc = " Unknown"] pub const xmlErrorDomain_XML_FROM_NONE : xmlErrorDomain = 0 ; # [doc = " The XML parser"] pub const xmlErrorDomain_XML_FROM_PARSER : xmlErrorDomain = 1 ; # [doc = " The tree module (unused)"] pub const xmlErrorDomain_XML_FROM_TREE : xmlErrorDomain = 2 ; # [doc = " The XML Namespace module"] pub const xmlErrorDomain_XML_FROM_NAMESPACE : xmlErrorDomain = 3 ; # [doc = " The XML DTD validation with parser context"] pub const xmlErrorDomain_XML_FROM_DTD : xmlErrorDomain = 4 ; # [doc = " The HTML parser"] pub const xmlErrorDomain_XML_FROM_HTML : xmlErrorDomain = 5 ; # [doc = " The memory allocator (unused)"] pub const xmlErrorDomain_XML_FROM_MEMORY : xmlErrorDomain = 6 ; # [doc = " The serialization code"] pub const xmlErrorDomain_XML_FROM_OUTPUT : xmlErrorDomain = 7 ; # [doc = " The Input/Output stack"] pub const xmlErrorDomain_XML_FROM_IO : xmlErrorDomain = 8 ; # [doc = " The FTP module (unused)"] pub const xmlErrorDomain_XML_FROM_FTP : xmlErrorDomain = 9 ; # [doc = " The HTTP module (unused)"] pub const xmlErrorDomain_XML_FROM_HTTP : xmlErrorDomain = 10 ; # [doc = " The XInclude processing"] pub const xmlErrorDomain_XML_FROM_XINCLUDE : xmlErrorDomain = 11 ; # [doc = " The XPath module"] pub const xmlErrorDomain_XML_FROM_XPATH : xmlErrorDomain = 12 ; # [doc = " The XPointer module"] pub const xmlErrorDomain_XML_FROM_XPOINTER : xmlErrorDomain = 13 ; # [doc = " The regular expressions module"] pub const xmlErrorDomain_XML_FROM_REGEXP : xmlErrorDomain = 14 ; # [doc = " The W3C XML Schemas Datatype module"] pub const xmlErrorDomain_XML_FROM_DATATYPE : xmlErrorDomain = 15 ; # [doc = " The W3C XML Schemas parser module"] pub const xmlErrorDomain_XML_FROM_SCHEMASP : xmlErrorDomain = 16 ; # [doc = " The W3C XML Schemas validation module"] pub const xmlErrorDomain_XML_FROM_SCHEMASV : xmlErrorDomain = 17 ; # [doc = " The Relax-NG parser module"] pub const xmlErrorDomain_XML_FROM_RELAXNGP : xmlErrorDomain = 18 ; # [doc = " The Relax-NG validator module"] pub const xmlErrorDomain_XML_FROM_RELAXNGV : xmlErrorDomain = 19 ; # [doc = " The Catalog module"] pub const xmlErrorDomain_XML_FROM_CATALOG : xmlErrorDomain = 20 ; # [doc = " The Canonicalization module"] pub const xmlErrorDomain_XML_FROM_C14N : xmlErrorDomain = 21 ; # [doc = " The XSLT engine from libxslt (unused)"] pub const xmlErrorDomain_XML_FROM_XSLT : xmlErrorDomain = 22 ; # [doc = " The XML DTD validation with valid context"] pub const xmlErrorDomain_XML_FROM_VALID : xmlErrorDomain = 23 ; # [doc = " The error checking module (unused)"] pub const xmlErrorDomain_XML_FROM_CHECK : xmlErrorDomain = 24 ; # [doc = " The xmlwriter module"] pub const xmlErrorDomain_XML_FROM_WRITER : xmlErrorDomain = 25 ; # [doc = " The dynamically loaded module module (unused)"] pub const xmlErrorDomain_XML_FROM_MODULE : xmlErrorDomain = 26 ; # [doc = " The module handling character conversion (unused)"] pub const xmlErrorDomain_XML_FROM_I18N : xmlErrorDomain = 27 ; # [doc = " The Schematron validator module"] pub const xmlErrorDomain_XML_FROM_SCHEMATRONV : xmlErrorDomain = 28 ; # [doc = " The buffers module (unused)"] pub const xmlErrorDomain_XML_FROM_BUFFER : xmlErrorDomain = 29 ; # [doc = " The URI module (unused)"] pub const xmlErrorDomain_XML_FROM_URI : xmlErrorDomain = 30 ; # [doc = " Indicates where an error may have come from"] pub type xmlErrorDomain = :: std :: os :: raw :: c_uint ; # [doc = " Structured error"] pub type xmlError = _xmlError ; pub type xmlErrorPtr = * mut xmlError ; # [doc = " An object containing information about an error."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlError { # [doc = " An xmlErrorDomain value."] pub domain : :: std :: os :: raw :: c_int , # [doc = " The error code, e.g. an xmlParserErrors."] pub code : :: std :: os :: raw :: c_int , # [doc = " Human-readable error message."] pub message : * mut :: std :: os :: raw :: c_char , # [doc = " Error level."] pub level : xmlErrorLevel , # [doc = " Filename if available"] pub file : * mut :: std :: os :: raw :: c_char , # [doc = " Line number if available"] pub line : :: std :: os :: raw :: c_int , # [doc = " Extra string information."] pub str1 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra string information."] pub str2 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra string information."] pub str3 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra number information."] pub int1 : :: std :: os :: raw :: c_int , # [doc = " Column number if available."] pub int2 : :: std :: os :: raw :: c_int , # [doc = " Parser context if available"] pub ctxt : * mut :: std :: os :: raw :: c_void , # [doc = " Node if available"] pub node : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlError"] [:: std :: mem :: size_of :: < _xmlError > () - 88usize] ; ["Alignment of _xmlError"] [:: std :: mem :: align_of :: < _xmlError > () - 8usize] ; ["Offset of field: _xmlError::domain"] [:: std :: mem :: offset_of ! (_xmlError , domain) - 0usize] ; ["Offset of field: _xmlError::code"] [:: std :: mem :: offset_of ! (_xmlError , code) - 4usize] ; ["Offset of field: _xmlError::message"] [:: std :: mem :: offset_of ! (_xmlError , message) - 8usize] ; ["Offset of field: _xmlError::level"] [:: std :: mem :: offset_of ! (_xmlError , level) - 16usize] ; ["Offset of field: _xmlError::file"] [:: std :: mem :: offset_of ! (_xmlError , file) - 24usize] ; ["Offset of field: _xmlError::line"] [:: std :: mem :: offset_of ! (_xmlError , line) - 32usize] ; ["Offset of field: _xmlError::str1"] [:: std :: mem :: offset_of ! (_xmlError , str1) - 40usize] ; ["Offset of field: _xmlError::str2"] [:: std :: mem :: offset_of ! (_xmlError , str2) - 48usize] ; ["Offset of field: _xmlError::str3"] [:: std :: mem :: offset_of ! (_xmlError , str3) - 56usize] ; ["Offset of field: _xmlError::int1"] [:: std :: mem :: offset_of ! (_xmlError , int1) - 64usize] ; ["Offset of field: _xmlError::int2"] [:: std :: mem :: offset_of ! (_xmlError , int2) - 68usize] ; ["Offset of field: _xmlError::ctxt"] [:: std :: mem :: offset_of ! (_xmlError , ctxt) - 72usize] ; ["Offset of field: _xmlError::node"] [:: std :: mem :: offset_of ! (_xmlError , node) - 80usize] ; } ; # [doc = " Success."] pub const xmlParserErrors_XML_ERR_OK : xmlParserErrors = 0 ; # [doc = " Internal assertion failure."] pub const xmlParserErrors_XML_ERR_INTERNAL_ERROR : xmlParserErrors = 1 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_NO_MEMORY : xmlParserErrors = 2 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_START : xmlParserErrors = 3 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_EMPTY : xmlParserErrors = 4 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_END : xmlParserErrors = 5 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_HEX_CHARREF : xmlParserErrors = 6 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_DEC_CHARREF : xmlParserErrors = 7 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_CHARREF : xmlParserErrors = 8 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_CHAR : xmlParserErrors = 9 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_AT_EOF : xmlParserErrors = 10 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_PROLOG : xmlParserErrors = 11 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_EPILOG : xmlParserErrors = 12 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_DTD : xmlParserErrors = 13 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_AT_EOF : xmlParserErrors = 14 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_PROLOG : xmlParserErrors = 15 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_EPILOG : xmlParserErrors = 16 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_DTD : xmlParserErrors = 17 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_AT_EOF : xmlParserErrors = 18 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_PROLOG : xmlParserErrors = 19 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_EPILOG : xmlParserErrors = 20 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_INT_SUBSET : xmlParserErrors = 21 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_NO_NAME : xmlParserErrors = 22 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_SEMICOL_MISSING : xmlParserErrors = 23 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_NO_NAME : xmlParserErrors = 24 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_SEMICOL_MISSING : xmlParserErrors = 25 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNDECLARED_ENTITY : xmlParserErrors = 26 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_WAR_UNDECLARED_ENTITY : xmlParserErrors = 27 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNPARSED_ENTITY : xmlParserErrors = 28 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITY_IS_EXTERNAL : xmlParserErrors = 29 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITY_IS_PARAMETER : xmlParserErrors = 30 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNKNOWN_ENCODING : xmlParserErrors = 31 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_UNSUPPORTED_ENCODING : xmlParserErrors = 32 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STRING_NOT_STARTED : xmlParserErrors = 33 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STRING_NOT_CLOSED : xmlParserErrors = 34 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NS_DECL_ERROR : xmlParserErrors = 35 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_NOT_STARTED : xmlParserErrors = 36 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_NOT_FINISHED : xmlParserErrors = 37 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LT_IN_ATTRIBUTE : xmlParserErrors = 38 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_NOT_STARTED : xmlParserErrors = 39 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_NOT_FINISHED : xmlParserErrors = 40 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_WITHOUT_VALUE : xmlParserErrors = 41 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_REDEFINED : xmlParserErrors = 42 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LITERAL_NOT_STARTED : xmlParserErrors = 43 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LITERAL_NOT_FINISHED : xmlParserErrors = 44 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_COMMENT_NOT_FINISHED : xmlParserErrors = 45 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PI_NOT_STARTED : xmlParserErrors = 46 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PI_NOT_FINISHED : xmlParserErrors = 47 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_NOT_STARTED : xmlParserErrors = 48 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_NOT_FINISHED : xmlParserErrors = 49 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTLIST_NOT_STARTED : xmlParserErrors = 50 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTLIST_NOT_FINISHED : xmlParserErrors = 51 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MIXED_NOT_STARTED : xmlParserErrors = 52 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MIXED_NOT_FINISHED : xmlParserErrors = 53 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ELEMCONTENT_NOT_STARTED : xmlParserErrors = 54 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ELEMCONTENT_NOT_FINISHED : xmlParserErrors = 55 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_XMLDECL_NOT_STARTED : xmlParserErrors = 56 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_XMLDECL_NOT_FINISHED : xmlParserErrors = 57 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_NOT_STARTED : xmlParserErrors = 58 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_NOT_FINISHED : xmlParserErrors = 59 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXT_SUBSET_NOT_FINISHED : xmlParserErrors = 60 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_DOCTYPE_NOT_FINISHED : xmlParserErrors = 61 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MISPLACED_CDATA_END : xmlParserErrors = 62 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CDATA_NOT_FINISHED : xmlParserErrors = 63 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_RESERVED_XML_NAME : xmlParserErrors = 64 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_SPACE_REQUIRED : xmlParserErrors = 65 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_SEPARATOR_REQUIRED : xmlParserErrors = 66 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NMTOKEN_REQUIRED : xmlParserErrors = 67 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NAME_REQUIRED : xmlParserErrors = 68 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PCDATA_REQUIRED : xmlParserErrors = 69 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_URI_REQUIRED : xmlParserErrors = 70 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PUBID_REQUIRED : xmlParserErrors = 71 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LT_REQUIRED : xmlParserErrors = 72 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_GT_REQUIRED : xmlParserErrors = 73 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LTSLASH_REQUIRED : xmlParserErrors = 74 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EQUAL_REQUIRED : xmlParserErrors = 75 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_TAG_NAME_MISMATCH : xmlParserErrors = 76 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_TAG_NOT_FINISHED : xmlParserErrors = 77 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STANDALONE_VALUE : xmlParserErrors = 78 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENCODING_NAME : xmlParserErrors = 79 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_HYPHEN_IN_COMMENT : xmlParserErrors = 80 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_INVALID_ENCODING : xmlParserErrors = 81 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXT_ENTITY_STANDALONE : xmlParserErrors = 82 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_INVALID : xmlParserErrors = 83 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VALUE_REQUIRED : xmlParserErrors = 84 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOT_WELL_BALANCED : xmlParserErrors = 85 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXTRA_CONTENT : xmlParserErrors = 86 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_CHAR_ERROR : xmlParserErrors = 87 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_PE_INTERNAL : xmlParserErrors = 88 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_LOOP : xmlParserErrors = 89 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_BOUNDARY : xmlParserErrors = 90 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_INVALID_URI : xmlParserErrors = 91 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_URI_FRAGMENT : xmlParserErrors = 92 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_CATALOG_PI : xmlParserErrors = 93 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NO_DTD : xmlParserErrors = 94 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_INVALID_KEYWORD : xmlParserErrors = 95 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VERSION_MISSING : xmlParserErrors = 96 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_UNKNOWN_VERSION : xmlParserErrors = 97 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_LANG_VALUE : xmlParserErrors = 98 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_URI : xmlParserErrors = 99 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_URI_RELATIVE : xmlParserErrors = 100 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MISSING_ENCODING : xmlParserErrors = 101 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_SPACE_VALUE : xmlParserErrors = 102 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOT_STANDALONE : xmlParserErrors = 103 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_PROCESSING : xmlParserErrors = 104 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_PROCESSING : xmlParserErrors = 105 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_COLUMN : xmlParserErrors = 106 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_ENTITY_REDEFINED : xmlParserErrors = 107 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_UNKNOWN_VERSION : xmlParserErrors = 108 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VERSION_MISMATCH : xmlParserErrors = 109 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NAME_TOO_LONG : xmlParserErrors = 110 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_USER_STOP : xmlParserErrors = 111 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_COMMENT_ABRUPTLY_ENDED : xmlParserErrors = 112 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_ENCODING_MISMATCH : xmlParserErrors = 113 ; # [doc = " Internal resource limit like maximum amplification\n factor exceeded."] pub const xmlParserErrors_XML_ERR_RESOURCE_LIMIT : xmlParserErrors = 114 ; # [doc = " Invalid argument."] pub const xmlParserErrors_XML_ERR_ARGUMENT : xmlParserErrors = 115 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_SYSTEM : xmlParserErrors = 116 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_REDECL_PREDEF_ENTITY : xmlParserErrors = 117 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_INT_SUBSET_NOT_FINISHED : xmlParserErrors = 118 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_XML_NAMESPACE : xmlParserErrors = 200 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_UNDEFINED_NAMESPACE : xmlParserErrors = 201 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_QNAME : xmlParserErrors = 202 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_ATTRIBUTE_REDEFINED : xmlParserErrors = 203 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_EMPTY : xmlParserErrors = 204 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_COLON : xmlParserErrors = 205 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_DEFAULT : xmlParserErrors = 500 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_REDEFINED : xmlParserErrors = 501 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_VALUE : xmlParserErrors = 502 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_ERROR : xmlParserErrors = 503 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_MODEL : xmlParserErrors = 504 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_NOT_DETERMINIST : xmlParserErrors = 505 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_DIFFERENT_PREFIX : xmlParserErrors = 506 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_DEFAULT_NAMESPACE : xmlParserErrors = 507 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_NAMESPACE : xmlParserErrors = 508 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_REDEFINED : xmlParserErrors = 509 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_EMPTY_NOTATION : xmlParserErrors = 510 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ENTITY_TYPE : xmlParserErrors = 511 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_FIXED : xmlParserErrors = 512 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_REDEFINED : xmlParserErrors = 513 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_SUBSET : xmlParserErrors = 514 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_INVALID_CHILD : xmlParserErrors = 515 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_INVALID_DEFAULT : xmlParserErrors = 516 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_LOAD_ERROR : xmlParserErrors = 517 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MISSING_ATTRIBUTE : xmlParserErrors = 518 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MIXED_CORRUPT : xmlParserErrors = 519 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MULTIPLE_ID : xmlParserErrors = 520 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_DOC : xmlParserErrors = 521 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_DTD : xmlParserErrors = 522 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_ELEM_NAME : xmlParserErrors = 523 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_PREFIX : xmlParserErrors = 524 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_ROOT : xmlParserErrors = 525 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOTATION_REDEFINED : xmlParserErrors = 526 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOTATION_VALUE : xmlParserErrors = 527 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_EMPTY : xmlParserErrors = 528 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_PCDATA : xmlParserErrors = 529 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_STANDALONE : xmlParserErrors = 530 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ROOT_NAME : xmlParserErrors = 531 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_STANDALONE_WHITE_SPACE : xmlParserErrors = 532 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ATTRIBUTE : xmlParserErrors = 533 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ELEM : xmlParserErrors = 534 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ENTITY : xmlParserErrors = 535 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ID : xmlParserErrors = 536 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_NOTATION : xmlParserErrors = 537 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_STANDALONE_DEFAULTED : xmlParserErrors = 538 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_XMLID_VALUE : xmlParserErrors = 539 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_XMLID_TYPE : xmlParserErrors = 540 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_DUP_TOKEN : xmlParserErrors = 541 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_STRUCURE_ERROR : xmlParserErrors = 800 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_UNKNOWN_TAG : xmlParserErrors = 801 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_INCORRECTLY_OPENED_COMMENT : xmlParserErrors = 802 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ANYNAME_ATTR_ANCESTOR : xmlParserErrors = 1000 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTR_CONFLICT : xmlParserErrors = 1001 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_CHILDREN : xmlParserErrors = 1002 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_CONTENT : xmlParserErrors = 1003 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_EMPTY : xmlParserErrors = 1004 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_NOOP : xmlParserErrors = 1005 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CHOICE_CONTENT : xmlParserErrors = 1006 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CHOICE_EMPTY : xmlParserErrors = 1007 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CREATE_FAILURE : xmlParserErrors = 1008 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DATA_CONTENT : xmlParserErrors = 1009 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEF_CHOICE_AND_INTERLEAVE : xmlParserErrors = 1010 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_CREATE_FAILED : xmlParserErrors = 1011 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_EMPTY : xmlParserErrors = 1012 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_MISSING : xmlParserErrors = 1013 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_NAME_MISSING : xmlParserErrors = 1014 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_CONTENT_EMPTY : xmlParserErrors = 1015 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_CONTENT_ERROR : xmlParserErrors = 1016 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_EMPTY : xmlParserErrors = 1017 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_CONTENT : xmlParserErrors = 1018 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_NAME : xmlParserErrors = 1019 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_NO_CONTENT : xmlParserErrors = 1020 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_TEXT_CONFLICT : xmlParserErrors = 1021 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY : xmlParserErrors = 1022 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_CONSTRUCT : xmlParserErrors = 1023 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_CONTENT : xmlParserErrors = 1024 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_NOT_EMPTY : xmlParserErrors = 1025 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ERROR_TYPE_LIB : xmlParserErrors = 1026 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_EMPTY : xmlParserErrors = 1027 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_MISSING : xmlParserErrors = 1028 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_MULTIPLE : xmlParserErrors = 1029 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_NO_CONTENT : xmlParserErrors = 1030 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNALREF_EMTPY : xmlParserErrors = 1031 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNAL_REF_FAILURE : xmlParserErrors = 1032 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNALREF_RECURSE : xmlParserErrors = 1033 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_FORBIDDEN_ATTRIBUTE : xmlParserErrors = 1034 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_FOREIGN_ELEMENT : xmlParserErrors = 1035 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_CONTENT : xmlParserErrors = 1036 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_EMPTY : xmlParserErrors = 1037 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_MISSING : xmlParserErrors = 1038 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_NO_START : xmlParserErrors = 1039 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GROUP_ATTR_CONFLICT : xmlParserErrors = 1040 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_HREF_ERROR : xmlParserErrors = 1041 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_EMPTY : xmlParserErrors = 1042 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_FAILURE : xmlParserErrors = 1043 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_RECURSE : xmlParserErrors = 1044 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_ADD : xmlParserErrors = 1045 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_CREATE_FAILED : xmlParserErrors = 1046 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_EMPTY : xmlParserErrors = 1047 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_NO_CONTENT : xmlParserErrors = 1048 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_DEFINE_NAME : xmlParserErrors = 1049 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_URI : xmlParserErrors = 1050 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_VALUE : xmlParserErrors = 1051 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_MISSING_HREF : xmlParserErrors = 1052 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NAME_MISSING : xmlParserErrors = 1053 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NEED_COMBINE : xmlParserErrors = 1054 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NOTALLOWED_NOT_EMPTY : xmlParserErrors = 1055 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NSNAME_ATTR_ANCESTOR : xmlParserErrors = 1056 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NSNAME_NO_NS : xmlParserErrors = 1057 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARAM_FORBIDDEN : xmlParserErrors = 1058 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARAM_NAME_MISSING : xmlParserErrors = 1059 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_CREATE_FAILED : xmlParserErrors = 1060 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NAME_INVALID : xmlParserErrors = 1061 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NO_NAME : xmlParserErrors = 1062 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NO_PARENT : xmlParserErrors = 1063 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NOT_EMPTY : xmlParserErrors = 1064 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARSE_ERROR : xmlParserErrors = 1065 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ANYNAME_EXCEPT_ANYNAME : xmlParserErrors = 1066 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ATTR_ATTR : xmlParserErrors = 1067 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ATTR_ELEM : xmlParserErrors = 1068 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ATTR : xmlParserErrors = 1069 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ELEM : xmlParserErrors = 1070 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_EMPTY : xmlParserErrors = 1071 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_GROUP : xmlParserErrors = 1072 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_INTERLEAVE : xmlParserErrors = 1073 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_LIST : xmlParserErrors = 1074 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ONEMORE : xmlParserErrors = 1075 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_REF : xmlParserErrors = 1076 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_TEXT : xmlParserErrors = 1077 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_ATTR : xmlParserErrors = 1078 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_ELEM : xmlParserErrors = 1079 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_INTERLEAVE : xmlParserErrors = 1080 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_LIST : xmlParserErrors = 1081 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_REF : xmlParserErrors = 1082 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_TEXT : xmlParserErrors = 1083 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_NSNAME_EXCEPT_ANYNAME : xmlParserErrors = 1084 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_NSNAME_EXCEPT_NSNAME : xmlParserErrors = 1085 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ONEMORE_GROUP_ATTR : xmlParserErrors = 1086 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ONEMORE_INTERLEAVE_ATTR : xmlParserErrors = 1087 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_ATTR : xmlParserErrors = 1088 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_DATA : xmlParserErrors = 1089 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_EMPTY : xmlParserErrors = 1090 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_GROUP : xmlParserErrors = 1091 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_INTERLEAVE : xmlParserErrors = 1092 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_LIST : xmlParserErrors = 1093 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_ONEMORE : xmlParserErrors = 1094 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_TEXT : xmlParserErrors = 1095 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_VALUE : xmlParserErrors = 1096 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PREFIX_UNDEFINED : xmlParserErrors = 1097 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_CREATE_FAILED : xmlParserErrors = 1098 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_CYCLE : xmlParserErrors = 1099 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NAME_INVALID : xmlParserErrors = 1100 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NO_DEF : xmlParserErrors = 1101 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NO_NAME : xmlParserErrors = 1102 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NOT_EMPTY : xmlParserErrors = 1103 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_CHOICE_AND_INTERLEAVE : xmlParserErrors = 1104 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_CONTENT : xmlParserErrors = 1105 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_EMPTY : xmlParserErrors = 1106 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_MISSING : xmlParserErrors = 1107 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TEXT_EXPECTED : xmlParserErrors = 1108 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TEXT_HAS_CHILD : xmlParserErrors = 1109 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_MISSING : xmlParserErrors = 1110 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_NOT_FOUND : xmlParserErrors = 1111 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_VALUE : xmlParserErrors = 1112 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_ATTRIBUTE : xmlParserErrors = 1113 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_COMBINE : xmlParserErrors = 1114 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_CONSTRUCT : xmlParserErrors = 1115 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_TYPE_LIB : xmlParserErrors = 1116 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_URI_FRAGMENT : xmlParserErrors = 1117 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_URI_NOT_ABSOLUTE : xmlParserErrors = 1118 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_VALUE_EMPTY : xmlParserErrors = 1119 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_VALUE_NO_CONTENT : xmlParserErrors = 1120 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_XMLNS_NAME : xmlParserErrors = 1121 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_XML_NS : xmlParserErrors = 1122 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_EXPRESSION_OK : xmlParserErrors = 1200 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_NUMBER_ERROR : xmlParserErrors = 1201 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNFINISHED_LITERAL_ERROR : xmlParserErrors = 1202 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_START_LITERAL_ERROR : xmlParserErrors = 1203 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_VARIABLE_REF_ERROR : xmlParserErrors = 1204 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNDEF_VARIABLE_ERROR : xmlParserErrors = 1205 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_PREDICATE_ERROR : xmlParserErrors = 1206 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_EXPR_ERROR : xmlParserErrors = 1207 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNCLOSED_ERROR : xmlParserErrors = 1208 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNKNOWN_FUNC_ERROR : xmlParserErrors = 1209 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_OPERAND : xmlParserErrors = 1210 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_TYPE : xmlParserErrors = 1211 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_ARITY : xmlParserErrors = 1212 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CTXT_SIZE : xmlParserErrors = 1213 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CTXT_POSITION : xmlParserErrors = 1214 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_MEMORY_ERROR : xmlParserErrors = 1215 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_SYNTAX_ERROR : xmlParserErrors = 1216 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_RESOURCE_ERROR : xmlParserErrors = 1217 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_SUB_RESOURCE_ERROR : xmlParserErrors = 1218 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNDEF_PREFIX_ERROR : xmlParserErrors = 1219 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_ENCODING_ERROR : xmlParserErrors = 1220 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CHAR_ERROR : xmlParserErrors = 1221 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_INVALID_HEX : xmlParserErrors = 1300 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_INVALID_DEC : xmlParserErrors = 1301 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_UNTERMINATED_ENTITY : xmlParserErrors = 1302 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_NOT_UTF8 : xmlParserErrors = 1303 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_NOT_UTF8 : xmlParserErrors = 1400 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_CHAR_INVALID : xmlParserErrors = 1401 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_NO_DOCTYPE : xmlParserErrors = 1402 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_UNKNOWN_ENCODING : xmlParserErrors = 1403 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_REGEXP_COMPILE_ERROR : xmlParserErrors = 1450 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_UNKNOWN : xmlParserErrors = 1500 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EACCES : xmlParserErrors = 1501 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EAGAIN : xmlParserErrors = 1502 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBADF : xmlParserErrors = 1503 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBADMSG : xmlParserErrors = 1504 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBUSY : xmlParserErrors = 1505 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ECANCELED : xmlParserErrors = 1506 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ECHILD : xmlParserErrors = 1507 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EDEADLK : xmlParserErrors = 1508 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EDOM : xmlParserErrors = 1509 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EEXIST : xmlParserErrors = 1510 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EFAULT : xmlParserErrors = 1511 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EFBIG : xmlParserErrors = 1512 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINPROGRESS : xmlParserErrors = 1513 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINTR : xmlParserErrors = 1514 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINVAL : xmlParserErrors = 1515 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EIO : xmlParserErrors = 1516 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EISDIR : xmlParserErrors = 1517 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMFILE : xmlParserErrors = 1518 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMLINK : xmlParserErrors = 1519 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMSGSIZE : xmlParserErrors = 1520 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENAMETOOLONG : xmlParserErrors = 1521 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENFILE : xmlParserErrors = 1522 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENODEV : xmlParserErrors = 1523 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOENT : xmlParserErrors = 1524 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOEXEC : xmlParserErrors = 1525 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOLCK : xmlParserErrors = 1526 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOMEM : xmlParserErrors = 1527 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOSPC : xmlParserErrors = 1528 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOSYS : xmlParserErrors = 1529 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTDIR : xmlParserErrors = 1530 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTEMPTY : xmlParserErrors = 1531 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTSUP : xmlParserErrors = 1532 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTTY : xmlParserErrors = 1533 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENXIO : xmlParserErrors = 1534 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EPERM : xmlParserErrors = 1535 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EPIPE : xmlParserErrors = 1536 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ERANGE : xmlParserErrors = 1537 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EROFS : xmlParserErrors = 1538 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ESPIPE : xmlParserErrors = 1539 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ESRCH : xmlParserErrors = 1540 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ETIMEDOUT : xmlParserErrors = 1541 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EXDEV : xmlParserErrors = 1542 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_NETWORK_ATTEMPT : xmlParserErrors = 1543 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENCODER : xmlParserErrors = 1544 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_FLUSH : xmlParserErrors = 1545 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_WRITE : xmlParserErrors = 1546 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_NO_INPUT : xmlParserErrors = 1547 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_BUFFER_FULL : xmlParserErrors = 1548 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_LOAD_ERROR : xmlParserErrors = 1549 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTSOCK : xmlParserErrors = 1550 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EISCONN : xmlParserErrors = 1551 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ECONNREFUSED : xmlParserErrors = 1552 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENETUNREACH : xmlParserErrors = 1553 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EADDRINUSE : xmlParserErrors = 1554 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EALREADY : xmlParserErrors = 1555 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EAFNOSUPPORT : xmlParserErrors = 1556 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_UNSUPPORTED_PROTOCOL : xmlParserErrors = 1557 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_RECURSION : xmlParserErrors = 1600 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_PARSE_VALUE : xmlParserErrors = 1601 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_ENTITY_DEF_MISMATCH : xmlParserErrors = 1602 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_NO_HREF : xmlParserErrors = 1603 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_NO_FALLBACK : xmlParserErrors = 1604 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_HREF_URI : xmlParserErrors = 1605 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_TEXT_FRAGMENT : xmlParserErrors = 1606 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_TEXT_DOCUMENT : xmlParserErrors = 1607 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_INVALID_CHAR : xmlParserErrors = 1608 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_BUILD_FAILED : xmlParserErrors = 1609 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_UNKNOWN_ENCODING : xmlParserErrors = 1610 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_MULTIPLE_ROOT : xmlParserErrors = 1611 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_XPTR_FAILED : xmlParserErrors = 1612 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_XPTR_RESULT : xmlParserErrors = 1613 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_INCLUDE_IN_INCLUDE : xmlParserErrors = 1614 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FALLBACKS_IN_INCLUDE : xmlParserErrors = 1615 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FALLBACK_NOT_IN_INCLUDE : xmlParserErrors = 1616 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_DEPRECATED_NS : xmlParserErrors = 1617 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FRAGMENT_ID : xmlParserErrors = 1618 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_MISSING_ATTR : xmlParserErrors = 1650 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_ENTRY_BROKEN : xmlParserErrors = 1651 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_PREFER_VALUE : xmlParserErrors = 1652 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_NOT_CATALOG : xmlParserErrors = 1653 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_RECURSION : xmlParserErrors = 1654 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_PREFIX_UNDEFINED : xmlParserErrors = 1700 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTRFORMDEFAULT_VALUE : xmlParserErrors = 1701 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTRGRP_NONAME_NOREF : xmlParserErrors = 1702 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTR_NONAME_NOREF : xmlParserErrors = 1703 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COMPLEXTYPE_NONAME_NOREF : xmlParserErrors = 1704 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEMFORMDEFAULT_VALUE : xmlParserErrors = 1705 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEM_NONAME_NOREF : xmlParserErrors = 1706 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_EXTENSION_NO_BASE : xmlParserErrors = 1707 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FACET_NO_VALUE : xmlParserErrors = 1708 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_BUILD_IMPORT : xmlParserErrors = 1709 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_GROUP_NONAME_NOREF : xmlParserErrors = 1710 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_NAMESPACE_NOT_URI : xmlParserErrors = 1711 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_REDEFINE_NSNAME : xmlParserErrors = 1712 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_SCHEMA_NOT_URI : xmlParserErrors = 1713 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_BOOLEAN : xmlParserErrors = 1714 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ENUM : xmlParserErrors = 1715 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_FACET : xmlParserErrors = 1716 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_FACET_VALUE : xmlParserErrors = 1717 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_MAXOCCURS : xmlParserErrors = 1718 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_MINOCCURS : xmlParserErrors = 1719 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_REF_AND_SUBTYPE : xmlParserErrors = 1720 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_WHITE_SPACE : xmlParserErrors = 1721 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOATTR_NOREF : xmlParserErrors = 1722 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTATION_NO_NAME : xmlParserErrors = 1723 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTYPE_NOREF : xmlParserErrors = 1724 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REF_AND_SUBTYPE : xmlParserErrors = 1725 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_RESTRICTION_NONAME_NOREF : xmlParserErrors = 1726 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SIMPLETYPE_NONAME : xmlParserErrors = 1727 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_TYPE_AND_SUBTYPE : xmlParserErrors = 1728 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ALL_CHILD : xmlParserErrors = 1729 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ANYATTRIBUTE_CHILD : xmlParserErrors = 1730 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTR_CHILD : xmlParserErrors = 1731 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTRGRP_CHILD : xmlParserErrors = 1732 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTRIBUTE_GROUP : xmlParserErrors = 1733 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_BASE_TYPE : xmlParserErrors = 1734 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_CHOICE_CHILD : xmlParserErrors = 1735 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_COMPLEXCONTENT_CHILD : xmlParserErrors = 1736 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_COMPLEXTYPE_CHILD : xmlParserErrors = 1737 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ELEM_CHILD : xmlParserErrors = 1738 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_EXTENSION_CHILD : xmlParserErrors = 1739 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_FACET_CHILD : xmlParserErrors = 1740 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_FACET_TYPE : xmlParserErrors = 1741 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_GROUP_CHILD : xmlParserErrors = 1742 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_IMPORT_CHILD : xmlParserErrors = 1743 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_LIST_CHILD : xmlParserErrors = 1744 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_NOTATION_CHILD : xmlParserErrors = 1745 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_PROCESSCONTENT_CHILD : xmlParserErrors = 1746 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_REF : xmlParserErrors = 1747 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_RESTRICTION_CHILD : xmlParserErrors = 1748 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SCHEMAS_CHILD : xmlParserErrors = 1749 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SEQUENCE_CHILD : xmlParserErrors = 1750 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SIMPLECONTENT_CHILD : xmlParserErrors = 1751 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SIMPLETYPE_CHILD : xmlParserErrors = 1752 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_TYPE : xmlParserErrors = 1753 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_UNION_CHILD : xmlParserErrors = 1754 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEM_DEFAULT_FIXED : xmlParserErrors = 1755 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REGEXP_INVALID : xmlParserErrors = 1756 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_LOAD : xmlParserErrors = 1757 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTHING_TO_PARSE : xmlParserErrors = 1758 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOROOT : xmlParserErrors = 1759 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_GROUP : xmlParserErrors = 1760 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_TYPE : xmlParserErrors = 1761 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ELEMENT : xmlParserErrors = 1762 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ATTRGROUP : xmlParserErrors = 1763 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ATTR : xmlParserErrors = 1764 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_NOTATION : xmlParserErrors = 1765 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_PARSE : xmlParserErrors = 1766 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_PREFIX : xmlParserErrors = 1767 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DEF_AND_PREFIX : xmlParserErrors = 1768 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_INCLUDE_CHILD : xmlParserErrors = 1769 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INCLUDE_SCHEMA_NOT_URI : xmlParserErrors = 1770 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INCLUDE_SCHEMA_NO_URI : xmlParserErrors = 1771 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOT_SCHEMA : xmlParserErrors = 1772 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_MEMBER_TYPE : xmlParserErrors = 1773 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_USE : xmlParserErrors = 1774 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_RECURSIVE : xmlParserErrors = 1775 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPE : xmlParserErrors = 1776 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_COMBINATION : xmlParserErrors = 1777 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_INLINE_COMBINATION : xmlParserErrors = 1778 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MISSING_SIMPLETYPE_CHILD : xmlParserErrors = 1779 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_NAME : xmlParserErrors = 1780 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REF_AND_CONTENT : xmlParserErrors = 1781 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_1 : xmlParserErrors = 1782 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_2 : xmlParserErrors = 1783 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_3 : xmlParserErrors = 1784 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_4 : xmlParserErrors = 1785 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_5 : xmlParserErrors = 1786 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_1 : xmlParserErrors = 1787 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_1 : xmlParserErrors = 1788 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_2 : xmlParserErrors = 1789 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_2 : xmlParserErrors = 1790 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_3 : xmlParserErrors = 1791 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WILDCARD_INVALID_NS_MEMBER : xmlParserErrors = 1792 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INTERSECTION_NOT_EXPRESSIBLE : xmlParserErrors = 1793 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNION_NOT_EXPRESSIBLE : xmlParserErrors = 1794 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_3_1 : xmlParserErrors = 1795 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_3_2 : xmlParserErrors = 1796 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_1 : xmlParserErrors = 1797 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_2 : xmlParserErrors = 1798 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_3 : xmlParserErrors = 1799 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_3 : xmlParserErrors = 1800 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOROOT : xmlParserErrors = 1801 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_UNDECLAREDELEM : xmlParserErrors = 1802 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTTOPLEVEL : xmlParserErrors = 1803 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_MISSING : xmlParserErrors = 1804 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_WRONGELEM : xmlParserErrors = 1805 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTYPE : xmlParserErrors = 1806 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOROLLBACK : xmlParserErrors = 1807 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ISABSTRACT : xmlParserErrors = 1808 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTEMPTY : xmlParserErrors = 1809 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ELEMCONT : xmlParserErrors = 1810 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_HAVEDEFAULT : xmlParserErrors = 1811 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTNILLABLE : xmlParserErrors = 1812 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_EXTRACONTENT : xmlParserErrors = 1813 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INVALIDATTR : xmlParserErrors = 1814 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INVALIDELEM : xmlParserErrors = 1815 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTDETERMINIST : xmlParserErrors = 1816 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CONSTRUCT : xmlParserErrors = 1817 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INTERNAL : xmlParserErrors = 1818 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTSIMPLE : xmlParserErrors = 1819 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ATTRUNKNOWN : xmlParserErrors = 1820 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ATTRINVALID : xmlParserErrors = 1821 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_VALUE : xmlParserErrors = 1822 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_FACET : xmlParserErrors = 1823 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_1 : xmlParserErrors = 1824 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_2 : xmlParserErrors = 1825 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_3 : xmlParserErrors = 1826 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_3_1_1 : xmlParserErrors = 1827 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_3_1_2 : xmlParserErrors = 1828 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_FACET_VALID : xmlParserErrors = 1829 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_LENGTH_VALID : xmlParserErrors = 1830 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MINLENGTH_VALID : xmlParserErrors = 1831 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXLENGTH_VALID : xmlParserErrors = 1832 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MININCLUSIVE_VALID : xmlParserErrors = 1833 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXINCLUSIVE_VALID : xmlParserErrors = 1834 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MINEXCLUSIVE_VALID : xmlParserErrors = 1835 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXEXCLUSIVE_VALID : xmlParserErrors = 1836 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TOTALDIGITS_VALID : xmlParserErrors = 1837 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_FRACTIONDIGITS_VALID : xmlParserErrors = 1838 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_PATTERN_VALID : xmlParserErrors = 1839 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ENUMERATION_VALID : xmlParserErrors = 1840 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_1 : xmlParserErrors = 1841 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_2 : xmlParserErrors = 1842 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_3 : xmlParserErrors = 1843 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_4 : xmlParserErrors = 1844 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_1 : xmlParserErrors = 1845 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_2 : xmlParserErrors = 1846 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_1 : xmlParserErrors = 1847 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_2_1 : xmlParserErrors = 1848 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_2_2 : xmlParserErrors = 1849 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_1 : xmlParserErrors = 1850 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_2 : xmlParserErrors = 1851 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_3 : xmlParserErrors = 1852 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_1_1 : xmlParserErrors = 1853 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_1_2 : xmlParserErrors = 1854 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_1 : xmlParserErrors = 1855 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_1 : xmlParserErrors = 1856 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_2_1 : xmlParserErrors = 1857 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_2_2 : xmlParserErrors = 1858 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_6 : xmlParserErrors = 1859 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_7 : xmlParserErrors = 1860 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_1 : xmlParserErrors = 1861 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_2 : xmlParserErrors = 1862 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_3 : xmlParserErrors = 1863 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_4 : xmlParserErrors = 1864 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_1 : xmlParserErrors = 1865 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_1 : xmlParserErrors = 1866 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_2 : xmlParserErrors = 1867 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_4 : xmlParserErrors = 1868 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_5_1 : xmlParserErrors = 1869 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_5_2 : xmlParserErrors = 1870 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ELEMENT_CONTENT : xmlParserErrors = 1871 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_DOCUMENT_ELEMENT_MISSING : xmlParserErrors = 1872 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_1 : xmlParserErrors = 1873 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_AU : xmlParserErrors = 1874 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_1 : xmlParserErrors = 1875 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_2 : xmlParserErrors = 1876 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_IDC : xmlParserErrors = 1877 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_WILDCARD : xmlParserErrors = 1878 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_MISC : xmlParserErrors = 1879 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_UNKNOWN_SCHEME : xmlParserErrors = 1900 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_CHILDSEQ_START : xmlParserErrors = 1901 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_EVAL_FAILED : xmlParserErrors = 1902 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_EXTRA_OBJECTS : xmlParserErrors = 1903 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_CREATE_CTXT : xmlParserErrors = 1950 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_REQUIRES_UTF8 : xmlParserErrors = 1951 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_CREATE_STACK : xmlParserErrors = 1952 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_INVALID_NODE : xmlParserErrors = 1953 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_UNKNOW_NODE : xmlParserErrors = 1954 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_RELATIVE_NAMESPACE : xmlParserErrors = 1955 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_PASV_ANSWER : xmlParserErrors = 2000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_EPSV_ANSWER : xmlParserErrors = 2001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_ACCNT : xmlParserErrors = 2002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_URL_SYNTAX : xmlParserErrors = 2003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_URL_SYNTAX : xmlParserErrors = 2020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_USE_IP : xmlParserErrors = 2021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_UNKNOWN_HOST : xmlParserErrors = 2022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_1 : xmlParserErrors = 3000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_2 : xmlParserErrors = 3001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_3 : xmlParserErrors = 3002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_4 : xmlParserErrors = 3003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_RESOLVE : xmlParserErrors = 3004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE : xmlParserErrors = 3005 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE : xmlParserErrors = 3006 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPES : xmlParserErrors = 3007 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_1 : xmlParserErrors = 3008 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_2 : xmlParserErrors = 3009 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_3 : xmlParserErrors = 3010 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_1 : xmlParserErrors = 3011 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_2 : xmlParserErrors = 3012 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_3_1 : xmlParserErrors = 3013 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_3_2 : xmlParserErrors = 3014 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_1 : xmlParserErrors = 3015 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_1 : xmlParserErrors = 3016 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_2 : xmlParserErrors = 3017 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_1 : xmlParserErrors = 3018 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_2 : xmlParserErrors = 3019 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_3 : xmlParserErrors = 3020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_4 : xmlParserErrors = 3021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_5 : xmlParserErrors = 3022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_1 : xmlParserErrors = 3023 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1 : xmlParserErrors = 3024 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1_2 : xmlParserErrors = 3025 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_2 : xmlParserErrors = 3026 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_1 : xmlParserErrors = 3027 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_3 : xmlParserErrors = 3028 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_4 : xmlParserErrors = 3029 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_5 : xmlParserErrors = 3030 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_DERIVED_OK_2_1 : xmlParserErrors = 3031 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_DERIVED_OK_2_2 : xmlParserErrors = 3032 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ELEM_NOT_ALLOWED : xmlParserErrors = 3033 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ELEM_MISSING : xmlParserErrors = 3034 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_NOT_ALLOWED : xmlParserErrors = 3035 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_MISSING : xmlParserErrors = 3036 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_INVALID_VALUE : xmlParserErrors = 3037 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_1 : xmlParserErrors = 3038 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_2_1 : xmlParserErrors = 3039 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_2_2 : xmlParserErrors = 3040 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_3 : xmlParserErrors = 3041 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_1 : xmlParserErrors = 3042 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_2_1 : xmlParserErrors = 3043 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_2_2 : xmlParserErrors = 3044 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_2 : xmlParserErrors = 3045 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_3 : xmlParserErrors = 3046 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_4 : xmlParserErrors = 3047 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_5 : xmlParserErrors = 3048 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_6 : xmlParserErrors = 3049 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_INCLUDE : xmlParserErrors = 3050 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_1 : xmlParserErrors = 3051 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_2 : xmlParserErrors = 3052 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_3_1 : xmlParserErrors = 3053 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_3_2 : xmlParserErrors = 3054 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_4 : xmlParserErrors = 3055 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NO_XMLNS : xmlParserErrors = 3056 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NO_XSI : xmlParserErrors = 3057 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_1 : xmlParserErrors = 3058 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_1 : xmlParserErrors = 3059 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_2_1 : xmlParserErrors = 3060 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_2_2 : xmlParserErrors = 3061 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CVC_SIMPLE_TYPE : xmlParserErrors = 3062 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_1 : xmlParserErrors = 3063 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_1_1 : xmlParserErrors = 3064 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_1_2 : xmlParserErrors = 3065 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2 : xmlParserErrors = 3066 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2_1 : xmlParserErrors = 3067 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2_2 : xmlParserErrors = 3068 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INTERNAL : xmlParserErrors = 3069 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOT_DETERMINISTIC : xmlParserErrors = 3070 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_1 : xmlParserErrors = 3071 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_2 : xmlParserErrors = 3072 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_3 : xmlParserErrors = 3073 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MG_PROPS_CORRECT_1 : xmlParserErrors = 3074 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MG_PROPS_CORRECT_2 : xmlParserErrors = 3075 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_CT_1 : xmlParserErrors = 3076 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_3 : xmlParserErrors = 3077 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AU_PROPS_CORRECT_2 : xmlParserErrors = 3078 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_A_PROPS_CORRECT_2 : xmlParserErrors = 3079 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_C_PROPS_CORRECT : xmlParserErrors = 3080 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_REDEFINE : xmlParserErrors = 3081 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT : xmlParserErrors = 3082 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_SKIP_SCHEMA : xmlParserErrors = 3083 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_UNLOCATED_SCHEMA : xmlParserErrors = 3084 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_ATTR_REDECL_PROH : xmlParserErrors = 3085 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_ATTR_POINTLESS_PROH : xmlParserErrors = 3086 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AG_PROPS_CORRECT : xmlParserErrors = 3087 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_2 : xmlParserErrors = 3088 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AU_PROPS_CORRECT : xmlParserErrors = 3089 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_A_PROPS_CORRECT_3 : xmlParserErrors = 3090 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ALL_LIMITED : xmlParserErrors = 3091 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMATRONV_ASSERT : xmlParserErrors = 4000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMATRONV_REPORT : xmlParserErrors = 4001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_MODULE_OPEN : xmlParserErrors = 4900 ; # [doc = " File not found."] pub const xmlParserErrors_XML_MODULE_CLOSE : xmlParserErrors = 4901 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ELEMENT : xmlParserErrors = 5000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ATTRIBUTE : xmlParserErrors = 5001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_TEXT : xmlParserErrors = 5002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_CDATA : xmlParserErrors = 5003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ENTITYREF : xmlParserErrors = 5004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ENTITY : xmlParserErrors = 5005 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_PI : xmlParserErrors = 5006 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_COMMENT : xmlParserErrors = 5007 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_DOCTYPE : xmlParserErrors = 5008 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_FRAGMENT : xmlParserErrors = 5009 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_NOTATION : xmlParserErrors = 5010 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_UNKNOWN_NODE : xmlParserErrors = 5011 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_ENTITY_TYPE : xmlParserErrors = 5012 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_PARENT : xmlParserErrors = 5013 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_DOC : xmlParserErrors = 5014 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_NAME : xmlParserErrors = 5015 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_ELEM : xmlParserErrors = 5016 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_DOC : xmlParserErrors = 5017 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_PREV : xmlParserErrors = 5018 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_PREV : xmlParserErrors = 5019 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_NEXT : xmlParserErrors = 5020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_NEXT : xmlParserErrors = 5021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_DTD : xmlParserErrors = 5022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ATTR : xmlParserErrors = 5023 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ATTR_DECL : xmlParserErrors = 5024 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ELEM_DECL : xmlParserErrors = 5025 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ENTITY_DECL : xmlParserErrors = 5026 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_NS_DECL : xmlParserErrors = 5027 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_HREF : xmlParserErrors = 5028 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_PARENT : xmlParserErrors = 5029 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NS_SCOPE : xmlParserErrors = 5030 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NS_ANCESTOR : xmlParserErrors = 5031 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_UTF8 : xmlParserErrors = 5032 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_DICT : xmlParserErrors = 5033 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_NCNAME : xmlParserErrors = 5034 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_OUTSIDE_DICT : xmlParserErrors = 5035 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_NAME : xmlParserErrors = 5036 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NAME_NOT_NULL : xmlParserErrors = 5037 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_NAME : xmlParserErrors = 6000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_HANDLER : xmlParserErrors = 6001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_EXCESS_HANDLER : xmlParserErrors = 6002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_CONV_FAILED : xmlParserErrors = 6003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_OUTPUT : xmlParserErrors = 6004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_BUF_OVERFLOW : xmlParserErrors = 7000 ; # [doc = " Error codes. Note that only some codes are documented."] pub type xmlParserErrors = :: std :: os :: raw :: c_uint ; # [doc = " Generic error callback.\n\n @deprecated in favor of structured errors.\n @param ctx  user data\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlGenericErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Structured error callback receiving an xmlError.\n\n @param userData  user provided data for the error callback\n @param error  the error being raised"] pub type xmlStructuredErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (userData : * mut :: std :: os :: raw :: c_void , error : * const xmlError) > ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlLastError () -> * const xmlError ; } unsafe extern "C" { pub fn __xmlGenericError () -> * mut xmlGenericErrorFunc ; } unsafe extern "C" { pub fn __xmlGenericErrorContext () -> * mut * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn __xmlStructuredError () -> * mut xmlStructuredErrorFunc ; } unsafe extern "C" { pub fn __xmlStructuredErrorContext () -> * mut * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlSetGenericErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlGenericErrorFunc) ; } unsafe extern "C" { pub fn xmlSetStructuredErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlStructuredErrorFunc) ; } unsafe extern "C" { pub fn xmlThrDefSetGenericErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlGenericErrorFunc) ; } unsafe extern "C" { pub fn xmlThrDefSetStructuredErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlStructuredErrorFunc) ; } unsafe extern "C" { pub fn xmlParserError (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserWarning (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserValidityError (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserValidityWarning (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserPrintFileInfo (input : * mut _xmlParserInput) ; } unsafe extern "C" { pub fn xmlParserPrintFileContext (input : * mut _xmlParserInput) ; } unsafe extern "C" { pub fn xmlFormatError (err : * const xmlError , channel : xmlGenericErrorFunc , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlGetLastError () -> * const xmlError ; } unsafe extern "C" { pub fn xmlResetLastError () ; } unsafe extern "C" { pub fn xmlCtxtGetLastError (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlError ; } unsafe extern "C" { pub fn xmlCtxtResetLastError (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlResetError (err : * mut xmlError) ; } unsafe extern "C" { pub fn xmlCopyError (from : * const xmlError , to : * mut xmlError) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlLink { _unused : [u8 ; 0] , } # [doc = " Linked list item\n\n @deprecated Don't use in new code."] pub type xmlLink = _xmlLink ; pub type xmlLinkPtr = * mut xmlLink ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlList { _unused : [u8 ; 0] , } # [doc = " Linked list\n\n @deprecated Don't use in new code."] pub type xmlList = _xmlList ; pub type xmlListPtr = * mut xmlList ; # [doc = " Callback function used to free data from a list.\n\n @param lk  the data to deallocate"] pub type xmlListDeallocator = :: std :: option :: Option < unsafe extern "C" fn (lk : * mut xmlLink) > ; # [doc = " Callback function used to compare 2 data.\n\n @param data0  the first data\n @param data1  the second data\n @returns 0 is equality, -1 or 1 otherwise depending on the ordering."] pub type xmlListDataCompare = :: std :: option :: Option < unsafe extern "C" fn (data0 : * const :: std :: os :: raw :: c_void , data1 : * const :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback function used when walking a list with #xmlListWalk.\n\n @param data  the data found in the list\n @param user  extra user provided data to the walker\n @returns 0 to stop walking the list, 1 otherwise."] pub type xmlListWalker = :: std :: option :: Option < unsafe extern "C" fn (data : * const :: std :: os :: raw :: c_void , user : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; unsafe extern "C" { pub fn xmlListCreate (deallocator : xmlListDeallocator , compare : xmlListDataCompare) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlListDelete (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListSearch (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlListReverseSearch (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlListInsert (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListAppend (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveFirst (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveLast (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveAll (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListClear (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListEmpty (l : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListFront (l : * mut xmlList) -> * mut xmlLink ; } unsafe extern "C" { pub fn xmlListEnd (l : * mut xmlList) -> * mut xmlLink ; } unsafe extern "C" { pub fn xmlListSize (l : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListPopFront (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListPopBack (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListPushFront (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListPushBack (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListReverse (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListSort (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListWalk (l : * mut xmlList , walker : xmlListWalker , user : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlListReverseWalk (l : * mut xmlList , walker : xmlListWalker , user : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlListMerge (l1 : * mut xmlList , l2 : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListDup (old : * mut xmlList) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlListCopy (cur : * mut xmlList , old : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlLinkGetData (lk : * mut xmlLink) -> * mut :: std :: os :: raw :: c_void ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAutomata { _unused : [u8 ; 0] , } # [doc = " A libxml automata description\n\n It can be compiled into a regexp"] pub type xmlAutomata = _xmlAutomata ; pub type xmlAutomataPtr = * mut xmlAutomata ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAutomataState { _unused : [u8 ; 0] , } # [doc = " A state in the automata description"] pub type xmlAutomataState = _xmlAutomataState ; pub type xmlAutomataStatePtr = * mut xmlAutomataState ; unsafe extern "C" { pub fn xmlNewAutomata () -> * mut xmlAutomata ; } unsafe extern "C" { pub fn xmlFreeAutomata (am : * mut xmlAutomata) ; } unsafe extern "C" { pub fn xmlAutomataGetInitState (am : * mut xmlAutomata) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataSetFinalState (am : * mut xmlAutomata , state : * mut xmlAutomataState) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAutomataNewState (am : * mut xmlAutomata) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewTransition (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewTransition2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewNegTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountTrans2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewOnceTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewOnceTrans2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewAllTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , lax : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewEpsilon (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountedTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , counter : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCounterTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , counter : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCounter (am : * mut xmlAutomata , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAutomataCompile (am : * mut xmlAutomata) -> * mut _xmlRegexp ; } unsafe extern "C" { pub fn xmlAutomataIsDeterminist (am : * mut xmlAutomata) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlValidState { _unused : [u8 ; 0] , } pub type xmlValidState = _xmlValidState ; pub type xmlValidStatePtr = * mut xmlValidState ; # [doc = " Report a validity error.\n\n @param ctx  user data (usually an xmlValidCtxt)\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlValidityErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Report a validity warning.\n\n @param ctx  user data (usually an xmlValidCtxt)\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlValidityWarningFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " An xmlValidCtxt is used for error reporting when validating."] pub type xmlValidCtxt = _xmlValidCtxt ; pub type xmlValidCtxtPtr = * mut xmlValidCtxt ; # [doc = " An xmlValidCtxt is used for error reporting when validating."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlValidCtxt { pub userData : * mut :: std :: os :: raw :: c_void , pub error : xmlValidityErrorFunc , pub warning : xmlValidityWarningFunc , pub node : * mut xmlNode , pub nodeNr : :: std :: os :: raw :: c_int , pub nodeMax : :: std :: os :: raw :: c_int , pub nodeTab : * mut * mut xmlNode , pub flags : :: std :: os :: raw :: c_uint , pub doc : * mut xmlDoc , pub valid : :: std :: os :: raw :: c_int , pub vstate : * mut xmlValidState , pub vstateNr : :: std :: os :: raw :: c_int , pub vstateMax : :: std :: os :: raw :: c_int , pub vstateTab : * mut xmlValidState , pub am : * mut xmlAutomata , pub state : * mut xmlAutomataState , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlValidCtxt"] [:: std :: mem :: size_of :: < _xmlValidCtxt > () - 112usize] ; ["Alignment of _xmlValidCtxt"] [:: std :: mem :: align_of :: < _xmlValidCtxt > () - 8usize] ; ["Offset of field: _xmlValidCtxt::userData"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , userData) - 0usize] ; ["Offset of field: _xmlValidCtxt::error"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , error) - 8usize] ; ["Offset of field: _xmlValidCtxt::warning"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , warning) - 16usize] ; ["Offset of field: _xmlValidCtxt::node"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , node) - 24usize] ; ["Offset of field: _xmlValidCtxt::nodeNr"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeNr) - 32usize] ; ["Offset of field: _xmlValidCtxt::nodeMax"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeMax) - 36usize] ; ["Offset of field: _xmlValidCtxt::nodeTab"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeTab) - 40usize] ; ["Offset of field: _xmlValidCtxt::flags"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , flags) - 48usize] ; ["Offset of field: _xmlValidCtxt::doc"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , doc) - 56usize] ; ["Offset of field: _xmlValidCtxt::valid"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , valid) - 64usize] ; ["Offset of field: _xmlValidCtxt::vstate"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstate) - 72usize] ; ["Offset of field: _xmlValidCtxt::vstateNr"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateNr) - 80usize] ; ["Offset of field: _xmlValidCtxt::vstateMax"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateMax) - 84usize] ; ["Offset of field: _xmlValidCtxt::vstateTab"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateTab) - 88usize] ; ["Offset of field: _xmlValidCtxt::am"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , am) - 96usize] ; ["Offset of field: _xmlValidCtxt::state"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , state) - 104usize] ; } ; pub type xmlNotationTable = _xmlHashTable ; pub type xmlNotationTablePtr = * mut xmlNotationTable ; pub type xmlElementTable = _xmlHashTable ; pub type xmlElementTablePtr = * mut xmlElementTable ; pub type xmlAttributeTable = _xmlHashTable ; pub type xmlAttributeTablePtr = * mut xmlAttributeTable ; pub type xmlIDTable = _xmlHashTable ; pub type xmlIDTablePtr = * mut xmlIDTable ; pub type xmlRefTable = _xmlHashTable ; pub type xmlRefTablePtr = * mut xmlRefTable ; unsafe extern "C" { pub fn xmlAddNotationDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlNotation ; } unsafe extern "C" { pub fn xmlCopyNotationTable (table : * mut xmlNotationTable) -> * mut xmlNotationTable ; } unsafe extern "C" { pub fn xmlFreeNotationTable (table : * mut xmlNotationTable) ; } unsafe extern "C" { pub fn xmlDumpNotationDecl (buf : * mut xmlBuffer , nota : * mut xmlNotation) ; } unsafe extern "C" { pub fn xmlDumpNotationTable (buf : * mut xmlBuffer , table : * mut xmlNotationTable) ; } unsafe extern "C" { pub fn xmlNewElementContent (name : * const xmlChar , type_ : xmlElementContentType) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlCopyElementContent (content : * mut xmlElementContent) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlFreeElementContent (cur : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlNewDocElementContent (doc : * mut xmlDoc , name : * const xmlChar , type_ : xmlElementContentType) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlCopyDocElementContent (doc : * mut xmlDoc , content : * mut xmlElementContent) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlFreeDocElementContent (doc : * mut xmlDoc , cur : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlSnprintfElementContent (buf : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , content : * mut xmlElementContent , englob : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSprintfElementContent (buf : * mut :: std :: os :: raw :: c_char , content : * mut xmlElementContent , englob : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlAddElementDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , name : * const xmlChar , type_ : xmlElementTypeVal , content : * mut xmlElementContent) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlCopyElementTable (table : * mut xmlElementTable) -> * mut xmlElementTable ; } unsafe extern "C" { pub fn xmlFreeElementTable (table : * mut xmlElementTable) ; } unsafe extern "C" { pub fn xmlDumpElementTable (buf : * mut xmlBuffer , table : * mut xmlElementTable) ; } unsafe extern "C" { pub fn xmlDumpElementDecl (buf : * mut xmlBuffer , elem : * mut xmlElement) ; } unsafe extern "C" { pub fn xmlCreateEnumeration (name : * const xmlChar) -> * mut xmlEnumeration ; } unsafe extern "C" { pub fn xmlFreeEnumeration (cur : * mut xmlEnumeration) ; } unsafe extern "C" { pub fn xmlCopyEnumeration (cur : * mut xmlEnumeration) -> * mut xmlEnumeration ; } unsafe extern "C" { pub fn xmlAddAttributeDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar , ns : * const xmlChar , type_ : xmlAttributeType , def : xmlAttributeDefault , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlCopyAttributeTable (table : * mut xmlAttributeTable) -> * mut xmlAttributeTable ; } unsafe extern "C" { pub fn xmlFreeAttributeTable (table : * mut xmlAttributeTable) ; } unsafe extern "C" { pub fn xmlDumpAttributeTable (buf : * mut xmlBuffer , table : * mut xmlAttributeTable) ; } unsafe extern "C" { pub fn xmlDumpAttributeDecl (buf : * mut xmlBuffer , attr : * mut xmlAttribute) ; } unsafe extern "C" { pub fn xmlAddIDSafe (attr : * mut xmlAttr , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddID (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , value : * const xmlChar , attr : * mut xmlAttr) -> * mut xmlID ; } unsafe extern "C" { pub fn xmlFreeIDTable (table : * mut xmlIDTable) ; } unsafe extern "C" { pub fn xmlGetID (doc : * mut xmlDoc , ID : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlIsID (doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveID (doc : * mut xmlDoc , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddRef (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , value : * const xmlChar , attr : * mut xmlAttr) -> * mut xmlRef ; } unsafe extern "C" { pub fn xmlFreeRefTable (table : * mut xmlRefTable) ; } unsafe extern "C" { pub fn xmlIsRef (doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveRef (doc : * mut xmlDoc , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetRefs (doc : * mut xmlDoc , ID : * const xmlChar) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlNewValidCtxt () -> * mut xmlValidCtxt ; } unsafe extern "C" { pub fn xmlFreeValidCtxt (arg1 : * mut xmlValidCtxt) ; } unsafe extern "C" { pub fn xmlValidateRoot (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateElementDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlElement) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidNormalizeAttributeValue (doc : * mut xmlDoc , elem : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlValidCtxtNormalizeAttributeValue (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlValidateAttributeDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , attr : * mut xmlAttribute) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateAttributeValue (type_ : xmlAttributeType , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNotationDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , nota : * mut xmlNotation) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDtd (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , dtd : * mut xmlDtd) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDtdFinal (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDocument (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneAttribute (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneNamespace (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , prefix : * const xmlChar , ns : * mut xmlNs , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDocumentFinal (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNotationUse (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , notationName : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsMixedElement (doc : * mut xmlDoc , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetDtdAttrDesc (dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlGetDtdQAttrDesc (dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar , prefix : * const xmlChar) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlGetDtdNotationDesc (dtd : * mut xmlDtd , name : * const xmlChar) -> * mut xmlNotation ; } unsafe extern "C" { pub fn xmlGetDtdQElementDesc (dtd : * mut xmlDtd , name : * const xmlChar , prefix : * const xmlChar) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlGetDtdElementDesc (dtd : * mut xmlDtd , name : * const xmlChar) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlValidGetPotentialChildren (ctree : * mut xmlElementContent , names : * mut * const xmlChar , len : * mut :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidGetValidElements (prev : * mut xmlNode , next : * mut xmlNode , names : * mut * const xmlChar , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNameValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNamesValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNmtokenValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNmtokensValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidBuildContentModel (ctxt : * mut xmlValidCtxt , elem : * mut xmlElement) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePushElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , qname : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePushCData (ctxt : * mut xmlValidCtxt , data : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePopElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , qname : * const xmlChar) -> :: std :: os :: raw :: c_int ; } # [doc = " internal general entity"] pub const xmlEntityType_XML_INTERNAL_GENERAL_ENTITY : xmlEntityType = 1 ; # [doc = " external general parsed entity"] pub const xmlEntityType_XML_EXTERNAL_GENERAL_PARSED_ENTITY : xmlEntityType = 2 ; # [doc = " external general unparsed entity"] pub const xmlEntityType_XML_EXTERNAL_GENERAL_UNPARSED_ENTITY : xmlEntityType = 3 ; # [doc = " internal parameter entity"] pub const xmlEntityType_XML_INTERNAL_PARAMETER_ENTITY : xmlEntityType = 4 ; # [doc = " external parameter entity"] pub const xmlEntityType_XML_EXTERNAL_PARAMETER_ENTITY : xmlEntityType = 5 ; # [doc = " internal predefined entity"] pub const xmlEntityType_XML_INTERNAL_PREDEFINED_ENTITY : xmlEntityType = 6 ; # [doc = " The different entity types."] pub type xmlEntityType = :: std :: os :: raw :: c_uint ; # [doc = " An entity declaration"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlEntity { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ENTITY_DECL, must be second !"] pub type_ : xmlElementType , # [doc = " Entity name"] pub name : * const xmlChar , # [doc = " First child link"] pub children : * mut _xmlNode , # [doc = " Last child link"] pub last : * mut _xmlNode , # [doc = " -> DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling link"] pub next : * mut _xmlNode , # [doc = " previous sibling link"] pub prev : * mut _xmlNode , # [doc = " the containing document"] pub doc : * mut _xmlDoc , # [doc = " content without ref substitution"] pub orig : * mut xmlChar , # [doc = " content or ndata if unparsed"] pub content : * mut xmlChar , # [doc = " the content length"] pub length : :: std :: os :: raw :: c_int , # [doc = " The entity type"] pub etype : xmlEntityType , # [doc = " External identifier for PUBLIC"] pub ExternalID : * const xmlChar , # [doc = " URI for a SYSTEM or PUBLIC Entity"] pub SystemID : * const xmlChar , # [doc = " unused"] pub nexte : * mut _xmlEntity , # [doc = " the full URI as computed"] pub URI : * const xmlChar , # [doc = " unused"] pub owner : :: std :: os :: raw :: c_int , # [doc = " various flags"] pub flags : :: std :: os :: raw :: c_int , # [doc = " expanded size"] pub expandedSize : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlEntity"] [:: std :: mem :: size_of :: < _xmlEntity > () - 144usize] ; ["Alignment of _xmlEntity"] [:: std :: mem :: align_of :: < _xmlEntity > () - 8usize] ; ["Offset of field: _xmlEntity::_private"] [:: std :: mem :: offset_of ! (_xmlEntity , _private) - 0usize] ; ["Offset of field: _xmlEntity::type_"] [:: std :: mem :: offset_of ! (_xmlEntity , type_) - 8usize] ; ["Offset of field: _xmlEntity::name"] [:: std :: mem :: offset_of ! (_xmlEntity , name) - 16usize] ; ["Offset of field: _xmlEntity::children"] [:: std :: mem :: offset_of ! (_xmlEntity , children) - 24usize] ; ["Offset of field: _xmlEntity::last"] [:: std :: mem :: offset_of ! (_xmlEntity , last) - 32usize] ; ["Offset of field: _xmlEntity::parent"] [:: std :: mem :: offset_of ! (_xmlEntity , parent) - 40usize] ; ["Offset of field: _xmlEntity::next"] [:: std :: mem :: offset_of ! (_xmlEntity , next) - 48usize] ; ["Offset of field: _xmlEntity::prev"] [:: std :: mem :: offset_of ! (_xmlEntity , prev) - 56usize] ; ["Offset of field: _xmlEntity::doc"] [:: std :: mem :: offset_of ! (_xmlEntity , doc) - 64usize] ; ["Offset of field: _xmlEntity::orig"] [:: std :: mem :: offset_of ! (_xmlEntity , orig) - 72usize] ; ["Offset of field: _xmlEntity::content"] [:: std :: mem :: offset_of ! (_xmlEntity , content) - 80usize] ; ["Offset of field: _xmlEntity::length"] [:: std :: mem :: offset_of ! (_xmlEntity , length) - 88usize] ; ["Offset of field: _xmlEntity::etype"] [:: std :: mem :: offset_of ! (_xmlEntity , etype) - 92usize] ; ["Offset of field: _xmlEntity::ExternalID"] [:: std :: mem :: offset_of ! (_xmlEntity , ExternalID) - 96usize] ; ["Offset of field: _xmlEntity::SystemID"] [:: std :: mem :: offset_of ! (_xmlEntity , SystemID) - 104usize] ; ["Offset of field: _xmlEntity::nexte"] [:: std :: mem :: offset_of ! (_xmlEntity , nexte) - 112usize] ; ["Offset of field: _xmlEntity::URI"] [:: std :: mem :: offset_of ! (_xmlEntity , URI) - 120usize] ; ["Offset of field: _xmlEntity::owner"] [:: std :: mem :: offset_of ! (_xmlEntity , owner) - 128usize] ; ["Offset of field: _xmlEntity::flags"] [:: std :: mem :: offset_of ! (_xmlEntity , flags) - 132usize] ; ["Offset of field: _xmlEntity::expandedSize"] [:: std :: mem :: offset_of ! (_xmlEntity , expandedSize) - 136usize] ; } ; pub type xmlEntitiesTable = _xmlHashTable ; pub type xmlEntitiesTablePtr = * mut xmlEntitiesTable ; unsafe extern "C" { pub fn xmlNewEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlFreeEntity (entity : * mut xmlEntity) ; } unsafe extern "C" { pub fn xmlAddEntity (doc : * mut xmlDoc , extSubset : :: std :: os :: raw :: c_int , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar , out : * mut * mut xmlEntity) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddDocEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlAddDtdEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetPredefinedEntity (name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetDocEntity (doc : * const xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetDtdEntity (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetParameterEntity (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlEncodeEntitiesReentrant (doc : * mut xmlDoc , input : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlEncodeSpecialChars (doc : * const xmlDoc , input : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCreateEntitiesTable () -> * mut xmlEntitiesTable ; } unsafe extern "C" { pub fn xmlCopyEntitiesTable (table : * mut xmlEntitiesTable) -> * mut xmlEntitiesTable ; } unsafe extern "C" { pub fn xmlFreeEntitiesTable (table : * mut xmlEntitiesTable) ; } unsafe extern "C" { pub fn xmlDumpEntitiesTable (buf : * mut xmlBuffer , table : * mut xmlEntitiesTable) ; } unsafe extern "C" { pub fn xmlDumpEntityDecl (buf : * mut xmlBuffer , ent : * mut xmlEntity) ; } # [doc = " Success"] pub const xmlCharEncError_XML_ENC_ERR_SUCCESS : xmlCharEncError = 0 ; # [doc = " Internal or unclassified error"] pub const xmlCharEncError_XML_ENC_ERR_INTERNAL : xmlCharEncError = - 1 ; # [doc = " Invalid or untranslatable input sequence"] pub const xmlCharEncError_XML_ENC_ERR_INPUT : xmlCharEncError = - 2 ; # [doc = " Not enough space in output buffer"] pub const xmlCharEncError_XML_ENC_ERR_SPACE : xmlCharEncError = - 3 ; # [doc = " Out-of-memory error"] pub const xmlCharEncError_XML_ENC_ERR_MEMORY : xmlCharEncError = - 4 ; # [doc = " Encoding conversion errors"] pub type xmlCharEncError = :: std :: os :: raw :: c_int ; # [doc = " No char encoding detected"] pub const xmlCharEncoding_XML_CHAR_ENCODING_ERROR : xmlCharEncoding = - 1 ; # [doc = " No char encoding detected"] pub const xmlCharEncoding_XML_CHAR_ENCODING_NONE : xmlCharEncoding = 0 ; # [doc = " UTF-8"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF8 : xmlCharEncoding = 1 ; # [doc = " UTF-16 little endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16LE : xmlCharEncoding = 2 ; # [doc = " UTF-16 big endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16BE : xmlCharEncoding = 3 ; # [doc = " UCS-4 little endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4LE : xmlCharEncoding = 4 ; # [doc = " UCS-4 big endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4BE : xmlCharEncoding = 5 ; # [doc = " EBCDIC uh!"] pub const xmlCharEncoding_XML_CHAR_ENCODING_EBCDIC : xmlCharEncoding = 6 ; # [doc = " UCS-4 unusual ordering"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4_2143 : xmlCharEncoding = 7 ; # [doc = " UCS-4 unusual ordering"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4_3412 : xmlCharEncoding = 8 ; # [doc = " UCS-2"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS2 : xmlCharEncoding = 9 ; # [doc = " ISO-8859-1 ISO Latin 1"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_1 : xmlCharEncoding = 10 ; # [doc = " ISO-8859-2 ISO Latin 2"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_2 : xmlCharEncoding = 11 ; # [doc = " ISO-8859-3"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_3 : xmlCharEncoding = 12 ; # [doc = " ISO-8859-4"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_4 : xmlCharEncoding = 13 ; # [doc = " ISO-8859-5"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_5 : xmlCharEncoding = 14 ; # [doc = " ISO-8859-6"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_6 : xmlCharEncoding = 15 ; # [doc = " ISO-8859-7"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_7 : xmlCharEncoding = 16 ; # [doc = " ISO-8859-8"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_8 : xmlCharEncoding = 17 ; # [doc = " ISO-8859-9"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_9 : xmlCharEncoding = 18 ; # [doc = " ISO-2022-JP"] pub const xmlCharEncoding_XML_CHAR_ENCODING_2022_JP : xmlCharEncoding = 19 ; # [doc = " Shift_JIS"] pub const xmlCharEncoding_XML_CHAR_ENCODING_SHIFT_JIS : xmlCharEncoding = 20 ; # [doc = " EUC-JP"] pub const xmlCharEncoding_XML_CHAR_ENCODING_EUC_JP : xmlCharEncoding = 21 ; # [doc = " pure ASCII"] pub const xmlCharEncoding_XML_CHAR_ENCODING_ASCII : xmlCharEncoding = 22 ; # [doc = " UTF-16 native, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16 : xmlCharEncoding = 23 ; # [doc = " HTML (output only), available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_HTML : xmlCharEncoding = 24 ; # [doc = " ISO-8859-10, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_10 : xmlCharEncoding = 25 ; # [doc = " ISO-8859-11, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_11 : xmlCharEncoding = 26 ; # [doc = " ISO-8859-13, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_13 : xmlCharEncoding = 27 ; # [doc = " ISO-8859-14, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_14 : xmlCharEncoding = 28 ; # [doc = " ISO-8859-15, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_15 : xmlCharEncoding = 29 ; # [doc = " ISO-8859-16, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_16 : xmlCharEncoding = 30 ; # [doc = " windows-1252, available since 2.15"] pub const xmlCharEncoding_XML_CHAR_ENCODING_WINDOWS_1252 : xmlCharEncoding = 31 ; # [doc = " Predefined values for some standard encodings."] pub type xmlCharEncoding = :: std :: os :: raw :: c_int ; # [doc = " Create converter for input (conversion to UTF-8)"] pub const xmlCharEncFlags_XML_ENC_INPUT : xmlCharEncFlags = 1 ; # [doc = " Create converter for output (conversion from UTF-8)"] pub const xmlCharEncFlags_XML_ENC_OUTPUT : xmlCharEncFlags = 2 ; # [doc = " Use HTML5 mappings"] pub const xmlCharEncFlags_XML_ENC_HTML : xmlCharEncFlags = 4 ; # [doc = " Encoding conversion flags"] pub type xmlCharEncFlags = :: std :: os :: raw :: c_uint ; # [doc = " Convert characters to UTF-8.\n\n On success, the value of `inlen` after return is the number of\n bytes consumed and `outlen` is the number of bytes produced.\n\n @param out  a pointer to an array of bytes to store the UTF-8 result\n @param outlen  the length of `out`\n @param in  a pointer to an array of chars in the original encoding\n @param inlen  the length of `in`\n @returns the number of bytes written or an xmlCharEncError code."] pub type xmlCharEncodingInputFunc = :: std :: option :: Option < unsafe extern "C" fn (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Convert characters from UTF-8.\n\n On success, the value of `inlen` after return is the number of\n bytes consumed and `outlen` is the number of bytes produced.\n\n @param out  a pointer to an array of bytes to store the result\n @param outlen  the length of `out`\n @param in  a pointer to an array of UTF-8 chars\n @param inlen  the length of `in`\n @returns the number of bytes written or an xmlCharEncError code."] pub type xmlCharEncodingOutputFunc = :: std :: option :: Option < unsafe extern "C" fn (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Convert between character encodings.\n\n The value of `inlen` after return is the number of bytes consumed\n and `outlen` is the number of bytes produced.\n\n If the converter can consume partial multi-byte sequences, the\n `flush` flag can be used to detect truncated sequences at EOF.\n Otherwise, the flag can be ignored.\n\n @param vctxt  conversion context\n @param out  a pointer to an array of bytes to store the result\n @param outlen  the length of `out`\n @param in  a pointer to an array of input bytes\n @param inlen  the length of `in`\n @param flush  end of input\n @returns an xmlCharEncError code."] pub type xmlCharEncConvFunc = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void , out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int , flush : :: std :: os :: raw :: c_int) -> xmlCharEncError > ; # [doc = " Free a conversion context.\n\n @param vctxt  conversion context"] pub type xmlCharEncConvCtxtDtor = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void) > ; # [doc = " Character encoding converter"] pub type xmlCharEncodingHandler = _xmlCharEncodingHandler ; pub type xmlCharEncodingHandlerPtr = * mut xmlCharEncodingHandler ; # [doc = " A character encoding conversion handler for non UTF-8 encodings.\n\n This structure will be made private."] # [repr (C)] # [derive (Copy , Clone)] pub struct _xmlCharEncodingHandler { pub name : * mut :: std :: os :: raw :: c_char , pub input : _xmlCharEncodingHandler__bindgen_ty_1 , pub output : _xmlCharEncodingHandler__bindgen_ty_2 , pub inputCtxt : * mut :: std :: os :: raw :: c_void , pub outputCtxt : * mut :: std :: os :: raw :: c_void , pub ctxtDtor : xmlCharEncConvCtxtDtor , pub flags : :: std :: os :: raw :: c_int , } # [repr (C)] # [derive (Copy , Clone)] pub union _xmlCharEncodingHandler__bindgen_ty_1 { pub func : xmlCharEncConvFunc , pub legacyFunc : xmlCharEncodingInputFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler__bindgen_ty_1"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler__bindgen_ty_1 > () - 8usize] ; ["Alignment of _xmlCharEncodingHandler__bindgen_ty_1"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler__bindgen_ty_1 > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_1::func"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_1 , func) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_1::legacyFunc"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_1 , legacyFunc) - 0usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union _xmlCharEncodingHandler__bindgen_ty_2 { pub func : xmlCharEncConvFunc , pub legacyFunc : xmlCharEncodingOutputFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler__bindgen_ty_2"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler__bindgen_ty_2 > () - 8usize] ; ["Alignment of _xmlCharEncodingHandler__bindgen_ty_2"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler__bindgen_ty_2 > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_2::func"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_2 , func) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_2::legacyFunc"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_2 , legacyFunc) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler > () - 56usize] ; ["Alignment of _xmlCharEncodingHandler"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler::name"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , name) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler::input"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , input) - 8usize] ; ["Offset of field: _xmlCharEncodingHandler::output"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , output) - 16usize] ; ["Offset of field: _xmlCharEncodingHandler::inputCtxt"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , inputCtxt) - 24usize] ; ["Offset of field: _xmlCharEncodingHandler::outputCtxt"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , outputCtxt) - 32usize] ; ["Offset of field: _xmlCharEncodingHandler::ctxtDtor"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , ctxtDtor) - 40usize] ; ["Offset of field: _xmlCharEncodingHandler::flags"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , flags) - 48usize] ; } ; # [doc = " If this function returns XML_ERR_OK, it must fill the `out`\n pointer with an encoding handler. The handler can be obtained\n from #xmlCharEncNewCustomHandler.\n\n `flags` can contain XML_ENC_INPUT, XML_ENC_OUTPUT or both.\n\n @param vctxt  user data\n @param name  encoding name\n @param flags  bit mask of flags\n @param out  pointer to resulting handler\n @returns an xmlParserErrors code."] pub type xmlCharEncConvImpl = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void , name : * const :: std :: os :: raw :: c_char , flags : xmlCharEncFlags , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors > ; unsafe extern "C" { pub fn xmlInitCharEncodingHandlers () ; } unsafe extern "C" { pub fn xmlCleanupCharEncodingHandlers () ; } unsafe extern "C" { pub fn xmlRegisterCharEncodingHandler (handler : * mut xmlCharEncodingHandler) ; } unsafe extern "C" { pub fn xmlLookupCharEncodingHandler (enc : xmlCharEncoding , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlOpenCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , output : :: std :: os :: raw :: c_int , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlCreateCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , flags : xmlCharEncFlags , impl_ : xmlCharEncConvImpl , implCtxt : * mut :: std :: os :: raw :: c_void , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlGetCharEncodingHandler (enc : xmlCharEncoding) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlFindCharEncodingHandler (name : * const :: std :: os :: raw :: c_char) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlNewCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , input : xmlCharEncodingInputFunc , output : xmlCharEncodingOutputFunc) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlCharEncNewCustomHandler (name : * const :: std :: os :: raw :: c_char , input : xmlCharEncConvFunc , output : xmlCharEncConvFunc , ctxtDtor : xmlCharEncConvCtxtDtor , inputCtxt : * mut :: std :: os :: raw :: c_void , outputCtxt : * mut :: std :: os :: raw :: c_void , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlAddEncodingAlias (name : * const :: std :: os :: raw :: c_char , alias : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDelEncodingAlias (alias : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetEncodingAlias (alias : * const :: std :: os :: raw :: c_char) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlCleanupEncodingAliases () ; } unsafe extern "C" { pub fn xmlParseCharEncoding (name : * const :: std :: os :: raw :: c_char) -> xmlCharEncoding ; } unsafe extern "C" { pub fn xmlGetCharEncodingName (enc : xmlCharEncoding) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlDetectCharEncoding (in_ : * const :: std :: os :: raw :: c_uchar , len : :: std :: os :: raw :: c_int) -> xmlCharEncoding ; } unsafe extern "C" { pub fn xmlCharEncOutFunc (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncInFunc (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncFirstLine (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncCloseFunc (handler : * mut xmlCharEncodingHandler) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8ToIsolat1 (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsolat1ToUTF8 (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " Callback used in the I/O Input API to detect if the current handler\n can provide input functionality for this resource.\n\n @param filename  the filename or URI\n @returns 1 if yes and 0 if another Input module should be used"] pub type xmlInputMatchCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Input API to open the resource\n\n @param filename  the filename or URI\n @returns an Input context or NULL in case or error"] pub type xmlInputOpenCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback used in the I/O Input API to read the resource\n\n @param context  an Input context\n @param buffer  the buffer to store data read\n @param len  the length of the buffer in bytes\n @returns the number of bytes read or -1 in case of error"] pub type xmlInputReadCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Input API to close the resource\n\n @param context  an Input context\n @returns 0 or -1 in case of error"] pub type xmlInputCloseCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to detect if the current handler\n can provide output functionality for this resource.\n\n @param filename  the filename or URI\n @returns 1 if yes and 0 if another Output module should be used"] pub type xmlOutputMatchCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to open the resource\n\n @param filename  the filename or URI\n @returns an Output context or NULL in case or error"] pub type xmlOutputOpenCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback used in the I/O Output API to write to the resource\n\n @param context  an Output context\n @param buffer  the buffer of data to write\n @param len  the length of the buffer in bytes\n @returns the number of bytes written or -1 in case of error"] pub type xmlOutputWriteCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void , buffer : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to close the resource\n\n @param context  an Output context\n @returns 0 or -1 in case of error"] pub type xmlOutputCloseCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Signature for the function doing the lookup for a suitable input method\n corresponding to an URI.\n\n @param URI  the URI to read from\n @param enc  the requested source encoding\n @returns the new xmlParserInputBuffer in case of success or NULL if no\n         method was found."] pub type xmlParserInputBufferCreateFilenameFunc = :: std :: option :: Option < unsafe extern "C" fn (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer > ; # [doc = " Signature for the function doing the lookup for a suitable output method\n corresponding to an URI.\n\n @param URI  the URI to write to\n @param encoder  the requested target encoding\n @param compression  compression level\n @returns the new xmlOutputBuffer in case of success or NULL if no\n         method was found."] pub type xmlOutputBufferCreateFilenameFunc = :: std :: option :: Option < unsafe extern "C" fn (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer > ; # [doc = " Parser input buffer\n\n This struct and all related functions should ultimately\n be removed from the public interface."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserInputBuffer { pub context : * mut :: std :: os :: raw :: c_void , pub readcallback : xmlInputReadCallback , pub closecallback : xmlInputCloseCallback , pub encoder : * mut xmlCharEncodingHandler , pub buffer : * mut xmlBuf , pub raw : * mut xmlBuf , pub compressed : :: std :: os :: raw :: c_int , pub error : :: std :: os :: raw :: c_int , pub rawconsumed : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserInputBuffer"] [:: std :: mem :: size_of :: < _xmlParserInputBuffer > () - 64usize] ; ["Alignment of _xmlParserInputBuffer"] [:: std :: mem :: align_of :: < _xmlParserInputBuffer > () - 8usize] ; ["Offset of field: _xmlParserInputBuffer::context"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , context) - 0usize] ; ["Offset of field: _xmlParserInputBuffer::readcallback"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , readcallback) - 8usize] ; ["Offset of field: _xmlParserInputBuffer::closecallback"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , closecallback) - 16usize] ; ["Offset of field: _xmlParserInputBuffer::encoder"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , encoder) - 24usize] ; ["Offset of field: _xmlParserInputBuffer::buffer"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , buffer) - 32usize] ; ["Offset of field: _xmlParserInputBuffer::raw"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , raw) - 40usize] ; ["Offset of field: _xmlParserInputBuffer::compressed"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , compressed) - 48usize] ; ["Offset of field: _xmlParserInputBuffer::error"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , error) - 52usize] ; ["Offset of field: _xmlParserInputBuffer::rawconsumed"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , rawconsumed) - 56usize] ; } ; # [doc = " Output buffer"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlOutputBuffer { pub context : * mut :: std :: os :: raw :: c_void , pub writecallback : xmlOutputWriteCallback , pub closecallback : xmlOutputCloseCallback , pub encoder : * mut xmlCharEncodingHandler , pub buffer : * mut xmlBuf , pub conv : * mut xmlBuf , pub written : :: std :: os :: raw :: c_int , pub error : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlOutputBuffer"] [:: std :: mem :: size_of :: < _xmlOutputBuffer > () - 56usize] ; ["Alignment of _xmlOutputBuffer"] [:: std :: mem :: align_of :: < _xmlOutputBuffer > () - 8usize] ; ["Offset of field: _xmlOutputBuffer::context"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , context) - 0usize] ; ["Offset of field: _xmlOutputBuffer::writecallback"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , writecallback) - 8usize] ; ["Offset of field: _xmlOutputBuffer::closecallback"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , closecallback) - 16usize] ; ["Offset of field: _xmlOutputBuffer::encoder"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , encoder) - 24usize] ; ["Offset of field: _xmlOutputBuffer::buffer"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , buffer) - 32usize] ; ["Offset of field: _xmlOutputBuffer::conv"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , conv) - 40usize] ; ["Offset of field: _xmlOutputBuffer::written"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , written) - 48usize] ; ["Offset of field: _xmlOutputBuffer::error"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , error) - 52usize] ; } ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlParserInputBufferCreateFilenameValue () -> * mut xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn __xmlOutputBufferCreateFilenameValue () -> * mut xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { # [doc = " @endcond"] pub fn xmlCleanupInputCallbacks () ; } unsafe extern "C" { pub fn xmlPopInputCallbacks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterDefaultInputCallbacks () ; } unsafe extern "C" { pub fn xmlAllocParserInputBuffer (enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFile (file : * mut FILE , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFd (fd : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateMem (mem : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateStatic (mem : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateIO (ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferRead (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferGrow (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferPush (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int , buf : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFreeParserInputBuffer (in_ : * mut xmlParserInputBuffer) ; } unsafe extern "C" { pub fn xmlParserGetDirectory (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlRegisterInputCallbacks (matchFunc : xmlInputMatchCallback , openFunc : xmlInputOpenCallback , readFunc : xmlInputReadCallback , closeFunc : xmlInputCloseCallback) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlParserInputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlCleanupOutputCallbacks () ; } unsafe extern "C" { pub fn xmlPopOutputCallbacks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterDefaultOutputCallbacks () ; } unsafe extern "C" { pub fn xmlAllocOutputBuffer (encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFile (file : * mut FILE , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateBuffer (buffer : * mut xmlBuffer , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFd (fd : :: std :: os :: raw :: c_int , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateIO (iowrite : xmlOutputWriteCallback , ioclose : xmlOutputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferGetContent (out : * mut xmlOutputBuffer) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlOutputBufferGetSize (out : * mut xmlOutputBuffer) -> usize ; } unsafe extern "C" { pub fn xmlOutputBufferWrite (out : * mut xmlOutputBuffer , len : :: std :: os :: raw :: c_int , buf : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferWriteString (out : * mut xmlOutputBuffer , str_ : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferWriteEscape (out : * mut xmlOutputBuffer , str_ : * const xmlChar , escaping : xmlCharEncodingOutputFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferFlush (out : * mut xmlOutputBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferClose (out : * mut xmlOutputBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterOutputCallbacks (matchFunc : xmlOutputMatchCallback , openFunc : xmlOutputOpenCallback , writeFunc : xmlOutputWriteCallback , closeFunc : xmlOutputCloseCallback) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlOutputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlCheckHTTPInput (ctxt : * mut xmlParserCtxt , ret : * mut xmlParserInput) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNoNetExternalEntityLoader (URL : * const :: std :: os :: raw :: c_char , ID : * const :: std :: os :: raw :: c_char , ctxt : * mut xmlParserCtxt) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNormalizeWindowsPath (path : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCheckFilename (path : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileMatch (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileOpen (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlFileRead (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileClose (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [doc = " @cond IGNORE"] pub fn xmlIOHTTPMatch (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIOHTTPOpen (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlRegisterHTTPPostCallbacks () ; } unsafe extern "C" { pub fn xmlIOHTTPOpenW (post_uri : * const :: std :: os :: raw :: c_char , compression : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlIOHTTPRead (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIOHTTPClose (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFilenameDefault (func : xmlParserInputBufferCreateFilenameFunc) -> xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFilenameDefault (func : xmlOutputBufferCreateFilenameFunc) -> xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlThrDefOutputBufferCreateFilenameDefault (func : xmlOutputBufferCreateFilenameFunc) -> xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlThrDefParserInputBufferCreateFilenameDefault (func : xmlParserInputBufferCreateFilenameFunc) -> xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlSAX2GetPublicId (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSAX2GetSystemId (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSAX2SetDocumentLocator (ctx : * mut :: std :: os :: raw :: c_void , loc : * mut xmlSAXLocator) ; } unsafe extern "C" { pub fn xmlSAX2GetLineNumber (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2GetColumnNumber (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2IsStandalone (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2HasInternalSubset (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2HasExternalSubset (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2InternalSubset (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2ExternalSubset (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2GetEntity (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlSAX2GetParameterEntity (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlSAX2ResolveEntity (ctx : * mut :: std :: os :: raw :: c_void , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlSAX2EntityDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * mut xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2AttributeDecl (ctx : * mut :: std :: os :: raw :: c_void , elem : * const xmlChar , fullname : * const xmlChar , type_ : :: std :: os :: raw :: c_int , def : :: std :: os :: raw :: c_int , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) ; } unsafe extern "C" { pub fn xmlSAX2ElementDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , content : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlSAX2NotationDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2UnparsedEntityDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar , notationName : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2StartDocument (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSAX2EndDocument (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSAX2StartElement (ctx : * mut :: std :: os :: raw :: c_void , fullname : * const xmlChar , atts : * mut * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2EndElement (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2StartElementNs (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar , nb_namespaces : :: std :: os :: raw :: c_int , namespaces : * mut * const xmlChar , nb_attributes : :: std :: os :: raw :: c_int , nb_defaulted : :: std :: os :: raw :: c_int , attributes : * mut * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2EndElementNs (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Reference (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Characters (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2IgnorableWhitespace (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2ProcessingInstruction (ctx : * mut :: std :: os :: raw :: c_void , target : * const xmlChar , data : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Comment (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2CDataBlock (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAXDefaultVersion (version : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXVersion (hdlr : * mut xmlSAXHandler , version : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2InitDefaultSAXHandler (hdlr : * mut xmlSAXHandler , warning : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2InitHtmlDefaultSAXHandler (hdlr : * mut xmlSAXHandler) ; } unsafe extern "C" { pub fn htmlDefaultSAXHandlerInit () ; } unsafe extern "C" { pub fn xmlDefaultSAXHandlerInit () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlMutex { _unused : [u8 ; 0] , } # [doc = " Mutual exclusion object"] pub type xmlMutex = _xmlMutex ; pub type xmlMutexPtr = * mut xmlMutex ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRMutex { _unused : [u8 ; 0] , } # [doc = " Reentrant mutual exclusion object"] pub type xmlRMutex = _xmlRMutex ; pub type xmlRMutexPtr = * mut xmlRMutex ; unsafe extern "C" { pub fn xmlCheckThreadLocalStorage () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNewMutex () -> * mut xmlMutex ; } unsafe extern "C" { pub fn xmlMutexLock (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlMutexUnlock (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlFreeMutex (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlNewRMutex () -> * mut xmlRMutex ; } unsafe extern "C" { pub fn xmlRMutexLock (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlRMutexUnlock (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlFreeRMutex (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlInitThreads () ; } unsafe extern "C" { pub fn xmlLockLibrary () ; } unsafe extern "C" { pub fn xmlUnlockLibrary () ; } unsafe extern "C" { pub fn xmlCleanupThreads () ; } # [doc = " not well-formed"] pub const xmlParserStatus_XML_STATUS_NOT_WELL_FORMED : xmlParserStatus = 1 ; # [doc = " not namespace-well-formed"] pub const xmlParserStatus_XML_STATUS_NOT_NS_WELL_FORMED : xmlParserStatus = 2 ; # [doc = " DTD validation failed"] pub const xmlParserStatus_XML_STATUS_DTD_VALIDATION_FAILED : xmlParserStatus = 4 ; # [doc = " catastrophic failure like OOM or I/O error"] pub const xmlParserStatus_XML_STATUS_CATASTROPHIC_ERROR : xmlParserStatus = 8 ; # [doc = " Status after parsing a document"] pub type xmlParserStatus = :: std :: os :: raw :: c_uint ; # [doc = " unknown"] pub const xmlResourceType_XML_RESOURCE_UNKNOWN : xmlResourceType = 0 ; # [doc = " main document"] pub const xmlResourceType_XML_RESOURCE_MAIN_DOCUMENT : xmlResourceType = 1 ; # [doc = " external DTD"] pub const xmlResourceType_XML_RESOURCE_DTD : xmlResourceType = 2 ; # [doc = " external general entity"] pub const xmlResourceType_XML_RESOURCE_GENERAL_ENTITY : xmlResourceType = 3 ; # [doc = " external parameter entity"] pub const xmlResourceType_XML_RESOURCE_PARAMETER_ENTITY : xmlResourceType = 4 ; # [doc = " XIncluded document"] pub const xmlResourceType_XML_RESOURCE_XINCLUDE : xmlResourceType = 5 ; # [doc = " XIncluded text"] pub const xmlResourceType_XML_RESOURCE_XINCLUDE_TEXT : xmlResourceType = 6 ; # [doc = " Resource type for resource loaders"] pub type xmlResourceType = :: std :: os :: raw :: c_uint ; # [doc = " The input buffer won't be changed during parsing."] pub const xmlParserInputFlags_XML_INPUT_BUF_STATIC : xmlParserInputFlags = 2 ; # [doc = " The input buffer is zero-terminated. (Note that the zero\nbyte shouldn't be included in buffer size.)"] pub const xmlParserInputFlags_XML_INPUT_BUF_ZERO_TERMINATED : xmlParserInputFlags = 4 ; # [doc = " Uncompress gzipped file input"] pub const xmlParserInputFlags_XML_INPUT_UNZIP : xmlParserInputFlags = 8 ; # [doc = " Allow network access. Unused internally."] pub const xmlParserInputFlags_XML_INPUT_NETWORK : xmlParserInputFlags = 16 ; # [doc = " Allow system catalog to resolve URIs."] pub const xmlParserInputFlags_XML_INPUT_USE_SYS_CATALOG : xmlParserInputFlags = 32 ; # [doc = " Flags for parser input"] pub type xmlParserInputFlags = :: std :: os :: raw :: c_uint ; pub type xmlParserInputDeallocate = :: std :: option :: Option < unsafe extern "C" fn (str_ : * mut xmlChar) > ; # [doc = " Parser input"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserInput { pub buf : * mut xmlParserInputBuffer , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n The filename or URI, if any"] pub filename : * const :: std :: os :: raw :: c_char , pub directory : * const :: std :: os :: raw :: c_char , pub base : * const xmlChar , # [doc = " @deprecated Use #xmlCtxtGetInputWindow\n\n Current char being parsed"] pub cur : * const xmlChar , pub end : * const xmlChar , pub length : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n Current line"] pub line : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n Current column"] pub col : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n How many xmlChars already consumed"] pub consumed : :: std :: os :: raw :: c_ulong , pub free : xmlParserInputDeallocate , pub encoding : * const xmlChar , pub version : * const xmlChar , pub flags : :: std :: os :: raw :: c_int , pub id : :: std :: os :: raw :: c_int , pub parentConsumed : :: std :: os :: raw :: c_ulong , pub entity : * mut xmlEntity , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserInput"] [:: std :: mem :: size_of :: < _xmlParserInput > () - 120usize] ; ["Alignment of _xmlParserInput"] [:: std :: mem :: align_of :: < _xmlParserInput > () - 8usize] ; ["Offset of field: _xmlParserInput::buf"] [:: std :: mem :: offset_of ! (_xmlParserInput , buf) - 0usize] ; ["Offset of field: _xmlParserInput::filename"] [:: std :: mem :: offset_of ! (_xmlParserInput , filename) - 8usize] ; ["Offset of field: _xmlParserInput::directory"] [:: std :: mem :: offset_of ! (_xmlParserInput , directory) - 16usize] ; ["Offset of field: _xmlParserInput::base"] [:: std :: mem :: offset_of ! (_xmlParserInput , base) - 24usize] ; ["Offset of field: _xmlParserInput::cur"] [:: std :: mem :: offset_of ! (_xmlParserInput , cur) - 32usize] ; ["Offset of field: _xmlParserInput::end"] [:: std :: mem :: offset_of ! (_xmlParserInput , end) - 40usize] ; ["Offset of field: _xmlParserInput::length"] [:: std :: mem :: offset_of ! (_xmlParserInput , length) - 48usize] ; ["Offset of field: _xmlParserInput::line"] [:: std :: mem :: offset_of ! (_xmlParserInput , line) - 52usize] ; ["Offset of field: _xmlParserInput::col"] [:: std :: mem :: offset_of ! (_xmlParserInput , col) - 56usize] ; ["Offset of field: _xmlParserInput::consumed"] [:: std :: mem :: offset_of ! (_xmlParserInput , consumed) - 64usize] ; ["Offset of field: _xmlParserInput::free"] [:: std :: mem :: offset_of ! (_xmlParserInput , free) - 72usize] ; ["Offset of field: _xmlParserInput::encoding"] [:: std :: mem :: offset_of ! (_xmlParserInput , encoding) - 80usize] ; ["Offset of field: _xmlParserInput::version"] [:: std :: mem :: offset_of ! (_xmlParserInput , version) - 88usize] ; ["Offset of field: _xmlParserInput::flags"] [:: std :: mem :: offset_of ! (_xmlParserInput , flags) - 96usize] ; ["Offset of field: _xmlParserInput::id"] [:: std :: mem :: offset_of ! (_xmlParserInput , id) - 100usize] ; ["Offset of field: _xmlParserInput::parentConsumed"] [:: std :: mem :: offset_of ! (_xmlParserInput , parentConsumed) - 104usize] ; ["Offset of field: _xmlParserInput::entity"] [:: std :: mem :: offset_of ! (_xmlParserInput , entity) - 112usize] ; } ; # [doc = " @cond ignore"] pub type xmlParserNodeInfo = _xmlParserNodeInfo ; pub type xmlParserNodeInfoPtr = * mut xmlParserNodeInfo ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNodeInfo { pub node : * const _xmlNode , pub begin_pos : :: std :: os :: raw :: c_ulong , pub begin_line : :: std :: os :: raw :: c_ulong , pub end_pos : :: std :: os :: raw :: c_ulong , pub end_line : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserNodeInfo"] [:: std :: mem :: size_of :: < _xmlParserNodeInfo > () - 40usize] ; ["Alignment of _xmlParserNodeInfo"] [:: std :: mem :: align_of :: < _xmlParserNodeInfo > () - 8usize] ; ["Offset of field: _xmlParserNodeInfo::node"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , node) - 0usize] ; ["Offset of field: _xmlParserNodeInfo::begin_pos"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , begin_pos) - 8usize] ; ["Offset of field: _xmlParserNodeInfo::begin_line"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , begin_line) - 16usize] ; ["Offset of field: _xmlParserNodeInfo::end_pos"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , end_pos) - 24usize] ; ["Offset of field: _xmlParserNodeInfo::end_line"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , end_line) - 32usize] ; } ; pub type xmlParserNodeInfoSeq = _xmlParserNodeInfoSeq ; pub type xmlParserNodeInfoSeqPtr = * mut xmlParserNodeInfoSeq ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNodeInfoSeq { pub maximum : :: std :: os :: raw :: c_ulong , pub length : :: std :: os :: raw :: c_ulong , pub buffer : * mut xmlParserNodeInfo , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserNodeInfoSeq"] [:: std :: mem :: size_of :: < _xmlParserNodeInfoSeq > () - 24usize] ; ["Alignment of _xmlParserNodeInfoSeq"] [:: std :: mem :: align_of :: < _xmlParserNodeInfoSeq > () - 8usize] ; ["Offset of field: _xmlParserNodeInfoSeq::maximum"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , maximum) - 0usize] ; ["Offset of field: _xmlParserNodeInfoSeq::length"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , length) - 8usize] ; ["Offset of field: _xmlParserNodeInfoSeq::buffer"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , buffer) - 16usize] ; } ; pub const xmlParserInputState_XML_PARSER_EOF : xmlParserInputState = - 1 ; pub const xmlParserInputState_XML_PARSER_START : xmlParserInputState = 0 ; pub const xmlParserInputState_XML_PARSER_MISC : xmlParserInputState = 1 ; pub const xmlParserInputState_XML_PARSER_PI : xmlParserInputState = 2 ; pub const xmlParserInputState_XML_PARSER_DTD : xmlParserInputState = 3 ; pub const xmlParserInputState_XML_PARSER_PROLOG : xmlParserInputState = 4 ; pub const xmlParserInputState_XML_PARSER_COMMENT : xmlParserInputState = 5 ; pub const xmlParserInputState_XML_PARSER_START_TAG : xmlParserInputState = 6 ; pub const xmlParserInputState_XML_PARSER_CONTENT : xmlParserInputState = 7 ; pub const xmlParserInputState_XML_PARSER_CDATA_SECTION : xmlParserInputState = 8 ; pub const xmlParserInputState_XML_PARSER_END_TAG : xmlParserInputState = 9 ; pub const xmlParserInputState_XML_PARSER_ENTITY_DECL : xmlParserInputState = 10 ; pub const xmlParserInputState_XML_PARSER_ENTITY_VALUE : xmlParserInputState = 11 ; pub const xmlParserInputState_XML_PARSER_ATTRIBUTE_VALUE : xmlParserInputState = 12 ; pub const xmlParserInputState_XML_PARSER_SYSTEM_LITERAL : xmlParserInputState = 13 ; pub const xmlParserInputState_XML_PARSER_EPILOG : xmlParserInputState = 14 ; pub const xmlParserInputState_XML_PARSER_IGNORE : xmlParserInputState = 15 ; pub const xmlParserInputState_XML_PARSER_PUBLIC_LITERAL : xmlParserInputState = 16 ; pub const xmlParserInputState_XML_PARSER_XML_DECL : xmlParserInputState = 17 ; pub type xmlParserInputState = :: std :: os :: raw :: c_int ; pub const xmlParserMode_XML_PARSE_UNKNOWN : xmlParserMode = 0 ; pub const xmlParserMode_XML_PARSE_DOM : xmlParserMode = 1 ; pub const xmlParserMode_XML_PARSE_SAX : xmlParserMode = 2 ; pub const xmlParserMode_XML_PARSE_PUSH_DOM : xmlParserMode = 3 ; pub const xmlParserMode_XML_PARSE_PUSH_SAX : xmlParserMode = 4 ; pub const xmlParserMode_XML_PARSE_READER : xmlParserMode = 5 ; pub type xmlParserMode = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlStartTag { _unused : [u8 ; 0] , } pub type xmlStartTag = _xmlStartTag ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNsData { _unused : [u8 ; 0] , } pub type xmlParserNsData = _xmlParserNsData ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttrHashBucket { _unused : [u8 ; 0] , } pub type xmlAttrHashBucket = _xmlAttrHashBucket ; # [doc = " Callback for custom resource loaders.\n\n `flags` can contain XML_INPUT_UNZIP and XML_INPUT_NETWORK.\n\n The URL is resolved using XML catalogs before being passed to\n the callback.\n\n On success, `out` should be set to a new parser input object and\n XML_ERR_OK should be returned.\n\n @param ctxt  parser context\n @param url  URL or system ID to load\n @param publicId  publid ID from DTD (optional)\n @param type  resource type\n @param flags  flags\n @param out  result pointer\n @returns an xmlParserErrors code."] pub type xmlResourceLoader = :: std :: option :: Option < unsafe extern "C" fn (ctxt : * mut :: std :: os :: raw :: c_void , url : * const :: std :: os :: raw :: c_char , publicId : * const :: std :: os :: raw :: c_char , type_ : xmlResourceType , flags : xmlParserInputFlags , out : * mut * mut xmlParserInput) -> xmlParserErrors > ; # [doc = " Parser context"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserCtxt { # [doc = " @deprecated Use xmlCtxtGetSaxHandler() and\n xmlCtxtSetSaxHandler().\n\n the SAX handler"] pub sax : * mut _xmlSAXHandler , # [doc = " @deprecated Use #xmlCtxtGetUserData\n\n user data for SAX interface, defaults to the context itself"] pub userData : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlCtxtGetDocument()\n\n the document being built"] pub myDoc : * mut xmlDoc , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document well formed?"] pub wellFormed : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_NOENT\n\n shall we replace entities?"] pub replaceEntities : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetVersion()\n\n the XML version string"] pub version : * mut xmlChar , # [doc = " @deprecated Use xmlCtxtGetDeclaredEncoding()\n\n the declared encoding, if any"] pub encoding : * mut xmlChar , # [doc = " @deprecated Use xmlCtxtGetStandalone()\n\n standalone document"] pub standalone : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsHtml()\n\n non-zero for HTML documents, actually an htmlInsertMode"] pub html : :: std :: os :: raw :: c_int , pub input : * mut xmlParserInput , pub inputNr : :: std :: os :: raw :: c_int , pub inputMax : :: std :: os :: raw :: c_int , pub inputTab : * mut * mut xmlParserInput , # [doc = " @deprecated Use #xmlCtxtGetNode\n\n The current element."] pub node : * mut xmlNode , pub nodeNr : :: std :: os :: raw :: c_int , pub nodeMax : :: std :: os :: raw :: c_int , pub nodeTab : * mut * mut xmlNode , pub record_info : :: std :: os :: raw :: c_int , pub node_seq : xmlParserNodeInfoSeq , # [doc = " @deprecated Use xmlCtxtGetLastError()\n\n error code"] pub errNo : :: std :: os :: raw :: c_int , pub hasExternalSubset : :: std :: os :: raw :: c_int , pub hasPErefs : :: std :: os :: raw :: c_int , pub external : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document valid"] pub valid : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_DTDVALID\n\n shall we try to validate?"] pub validate : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetValidCtxt()\n\n The validity context"] pub vctxt : xmlValidCtxt , pub instate : xmlParserInputState , pub token : :: std :: os :: raw :: c_int , # [doc = " @deprecated Don't use\n\n The main document URI, if available, with its last\n component stripped."] pub directory : * mut :: std :: os :: raw :: c_char , pub name : * const xmlChar , pub nameNr : :: std :: os :: raw :: c_int , pub nameMax : :: std :: os :: raw :: c_int , pub nameTab : * mut * const xmlChar , pub nbChars : :: std :: os :: raw :: c_long , pub checkIndex : :: std :: os :: raw :: c_long , # [doc = " @deprecated Use inverted xmlParserOption XML_PARSE_NOBLANKS\n\n ugly but ..."] pub keepBlanks : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsStopped()\n\n SAX callbacks are disabled"] pub disableSAX : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsInSubset\n\n Set if DTD content is parsed.\n\n - 0: not in DTD\n - 1: in internal DTD subset\n - 2: in external DTD subset"] pub inSubset : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use the `name` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n Name of the internal subset (root element type)."] pub intSubName : * const xmlChar , # [doc = " @deprecated Use the `systemId` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n System identifier (URI) of external the subset."] pub extSubURI : * mut xmlChar , # [doc = " @deprecated Use the `publicId` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n This member is MISNAMED. It contains the *public* identifier\n of the external subset."] pub extSubSystem : * mut xmlChar , pub space : * mut :: std :: os :: raw :: c_int , pub spaceNr : :: std :: os :: raw :: c_int , pub spaceMax : :: std :: os :: raw :: c_int , pub spaceTab : * mut :: std :: os :: raw :: c_int , pub depth : :: std :: os :: raw :: c_int , pub entity : * mut xmlParserInput , pub charset : :: std :: os :: raw :: c_int , pub nodelen : :: std :: os :: raw :: c_int , pub nodemem : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_PEDANTIC\n\n signal pedantic warnings"] pub pedantic : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetPrivate() and xmlCtxtSetPrivate()\n\n For user data, libxml won't touch it"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlParserOption XML_PARSE_DTDLOAD,\n XML_PARSE_DTDATTR or XML_PARSE_SKIP_IDS.\n\n Control loading of the external subset and handling of IDs.\n Other options like `validate` can override this value.\n\n - 0: The default behavior is to process IDs and to ignore\n   the external subset.\n - XML_DETECT_IDS: Load external subset. This flag is\n   misnamed. ID handling is only controlled by XML_SKIP_IDS.\n - XML_COMPLETE_ATTRS: Load external subset and process\n   default attributes.\n - XML_SKIP_IDS: Ignore IDs."] pub loadsubset : :: std :: os :: raw :: c_int , pub linenumbers : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetCatalogs() and xmlCtxtSetCatalogs()\n\n document's own catalog"] pub catalogs : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlParserOption XML_PARSE_RECOVER\n run in recovery mode"] pub recovery : :: std :: os :: raw :: c_int , pub progressive : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetDict() and xmlCtxtSetDict()\n\n dictionary for the parser"] pub dict : * mut xmlDict , pub atts : * mut * const xmlChar , pub maxatts : :: std :: os :: raw :: c_int , pub docdict : :: std :: os :: raw :: c_int , pub str_xml : * const xmlChar , pub str_xmlns : * const xmlChar , pub str_xml_ns : * const xmlChar , pub sax2 : :: std :: os :: raw :: c_int , pub nsNr : :: std :: os :: raw :: c_int , pub nsMax : :: std :: os :: raw :: c_int , pub nsTab : * mut * const xmlChar , pub attallocs : * mut :: std :: os :: raw :: c_uint , pub pushTab : * mut xmlStartTag , pub attsDefault : * mut xmlHashTable , pub attsSpecial : * mut xmlHashTable , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document XML Namespace okay"] pub nsWellFormed : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetOptions()\n\n Extra options"] pub options : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use inverted xmlParserOption XML_PARSE_NODICT\n\n Use dictionary names for the tree"] pub dictNames : :: std :: os :: raw :: c_int , pub freeElemsNr : :: std :: os :: raw :: c_int , pub freeElems : * mut xmlNode , pub freeAttrsNr : :: std :: os :: raw :: c_int , pub freeAttrs : * mut xmlAttr , # [doc = " @deprecated Use xmlCtxtGetLastError()\n\n the complete error information for the last error."] pub lastError : xmlError , pub parseMode : xmlParserMode , pub nbentities : :: std :: os :: raw :: c_ulong , pub sizeentities : :: std :: os :: raw :: c_ulong , pub nodeInfo : * mut xmlParserNodeInfo , pub nodeInfoNr : :: std :: os :: raw :: c_int , pub nodeInfoMax : :: std :: os :: raw :: c_int , pub nodeInfoTab : * mut xmlParserNodeInfo , pub input_id : :: std :: os :: raw :: c_int , pub sizeentcopy : :: std :: os :: raw :: c_ulong , pub endCheckState : :: std :: os :: raw :: c_int , pub nbErrors : :: std :: os :: raw :: c_ushort , pub nbWarnings : :: std :: os :: raw :: c_ushort , pub maxAmpl : :: std :: os :: raw :: c_uint , pub nsdb : * mut xmlParserNsData , pub attrHashMax : :: std :: os :: raw :: c_uint , pub attrHash : * mut xmlAttrHashBucket , pub errorHandler : xmlStructuredErrorFunc , pub errorCtxt : * mut :: std :: os :: raw :: c_void , pub resourceLoader : xmlResourceLoader , pub resourceCtxt : * mut :: std :: os :: raw :: c_void , pub convImpl : xmlCharEncConvImpl , pub convCtxt : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserCtxt"] [:: std :: mem :: size_of :: < _xmlParserCtxt > () - 840usize] ; ["Alignment of _xmlParserCtxt"] [:: std :: mem :: align_of :: < _xmlParserCtxt > () - 8usize] ; ["Offset of field: _xmlParserCtxt::sax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sax) - 0usize] ; ["Offset of field: _xmlParserCtxt::userData"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , userData) - 8usize] ; ["Offset of field: _xmlParserCtxt::myDoc"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , myDoc) - 16usize] ; ["Offset of field: _xmlParserCtxt::wellFormed"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , wellFormed) - 24usize] ; ["Offset of field: _xmlParserCtxt::replaceEntities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , replaceEntities) - 28usize] ; ["Offset of field: _xmlParserCtxt::version"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , version) - 32usize] ; ["Offset of field: _xmlParserCtxt::encoding"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , encoding) - 40usize] ; ["Offset of field: _xmlParserCtxt::standalone"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , standalone) - 48usize] ; ["Offset of field: _xmlParserCtxt::html"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , html) - 52usize] ; ["Offset of field: _xmlParserCtxt::input"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , input) - 56usize] ; ["Offset of field: _xmlParserCtxt::inputNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputNr) - 64usize] ; ["Offset of field: _xmlParserCtxt::inputMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputMax) - 68usize] ; ["Offset of field: _xmlParserCtxt::inputTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputTab) - 72usize] ; ["Offset of field: _xmlParserCtxt::node"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , node) - 80usize] ; ["Offset of field: _xmlParserCtxt::nodeNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeNr) - 88usize] ; ["Offset of field: _xmlParserCtxt::nodeMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeMax) - 92usize] ; ["Offset of field: _xmlParserCtxt::nodeTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeTab) - 96usize] ; ["Offset of field: _xmlParserCtxt::record_info"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , record_info) - 104usize] ; ["Offset of field: _xmlParserCtxt::node_seq"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , node_seq) - 112usize] ; ["Offset of field: _xmlParserCtxt::errNo"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errNo) - 136usize] ; ["Offset of field: _xmlParserCtxt::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , hasExternalSubset) - 140usize] ; ["Offset of field: _xmlParserCtxt::hasPErefs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , hasPErefs) - 144usize] ; ["Offset of field: _xmlParserCtxt::external"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , external) - 148usize] ; ["Offset of field: _xmlParserCtxt::valid"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , valid) - 152usize] ; ["Offset of field: _xmlParserCtxt::validate"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , validate) - 156usize] ; ["Offset of field: _xmlParserCtxt::vctxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , vctxt) - 160usize] ; ["Offset of field: _xmlParserCtxt::instate"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , instate) - 272usize] ; ["Offset of field: _xmlParserCtxt::token"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , token) - 276usize] ; ["Offset of field: _xmlParserCtxt::directory"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , directory) - 280usize] ; ["Offset of field: _xmlParserCtxt::name"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , name) - 288usize] ; ["Offset of field: _xmlParserCtxt::nameNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameNr) - 296usize] ; ["Offset of field: _xmlParserCtxt::nameMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameMax) - 300usize] ; ["Offset of field: _xmlParserCtxt::nameTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameTab) - 304usize] ; ["Offset of field: _xmlParserCtxt::nbChars"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbChars) - 312usize] ; ["Offset of field: _xmlParserCtxt::checkIndex"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , checkIndex) - 320usize] ; ["Offset of field: _xmlParserCtxt::keepBlanks"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , keepBlanks) - 328usize] ; ["Offset of field: _xmlParserCtxt::disableSAX"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , disableSAX) - 332usize] ; ["Offset of field: _xmlParserCtxt::inSubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inSubset) - 336usize] ; ["Offset of field: _xmlParserCtxt::intSubName"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , intSubName) - 344usize] ; ["Offset of field: _xmlParserCtxt::extSubURI"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , extSubURI) - 352usize] ; ["Offset of field: _xmlParserCtxt::extSubSystem"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , extSubSystem) - 360usize] ; ["Offset of field: _xmlParserCtxt::space"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , space) - 368usize] ; ["Offset of field: _xmlParserCtxt::spaceNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceNr) - 376usize] ; ["Offset of field: _xmlParserCtxt::spaceMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceMax) - 380usize] ; ["Offset of field: _xmlParserCtxt::spaceTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceTab) - 384usize] ; ["Offset of field: _xmlParserCtxt::depth"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , depth) - 392usize] ; ["Offset of field: _xmlParserCtxt::entity"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , entity) - 400usize] ; ["Offset of field: _xmlParserCtxt::charset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , charset) - 408usize] ; ["Offset of field: _xmlParserCtxt::nodelen"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodelen) - 412usize] ; ["Offset of field: _xmlParserCtxt::nodemem"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodemem) - 416usize] ; ["Offset of field: _xmlParserCtxt::pedantic"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , pedantic) - 420usize] ; ["Offset of field: _xmlParserCtxt::_private"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , _private) - 424usize] ; ["Offset of field: _xmlParserCtxt::loadsubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , loadsubset) - 432usize] ; ["Offset of field: _xmlParserCtxt::linenumbers"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , linenumbers) - 436usize] ; ["Offset of field: _xmlParserCtxt::catalogs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , catalogs) - 440usize] ; ["Offset of field: _xmlParserCtxt::recovery"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , recovery) - 448usize] ; ["Offset of field: _xmlParserCtxt::progressive"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , progressive) - 452usize] ; ["Offset of field: _xmlParserCtxt::dict"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , dict) - 456usize] ; ["Offset of field: _xmlParserCtxt::atts"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , atts) - 464usize] ; ["Offset of field: _xmlParserCtxt::maxatts"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , maxatts) - 472usize] ; ["Offset of field: _xmlParserCtxt::docdict"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , docdict) - 476usize] ; ["Offset of field: _xmlParserCtxt::str_xml"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xml) - 480usize] ; ["Offset of field: _xmlParserCtxt::str_xmlns"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xmlns) - 488usize] ; ["Offset of field: _xmlParserCtxt::str_xml_ns"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xml_ns) - 496usize] ; ["Offset of field: _xmlParserCtxt::sax2"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sax2) - 504usize] ; ["Offset of field: _xmlParserCtxt::nsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsNr) - 508usize] ; ["Offset of field: _xmlParserCtxt::nsMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsMax) - 512usize] ; ["Offset of field: _xmlParserCtxt::nsTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsTab) - 520usize] ; ["Offset of field: _xmlParserCtxt::attallocs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attallocs) - 528usize] ; ["Offset of field: _xmlParserCtxt::pushTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , pushTab) - 536usize] ; ["Offset of field: _xmlParserCtxt::attsDefault"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attsDefault) - 544usize] ; ["Offset of field: _xmlParserCtxt::attsSpecial"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attsSpecial) - 552usize] ; ["Offset of field: _xmlParserCtxt::nsWellFormed"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsWellFormed) - 560usize] ; ["Offset of field: _xmlParserCtxt::options"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , options) - 564usize] ; ["Offset of field: _xmlParserCtxt::dictNames"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , dictNames) - 568usize] ; ["Offset of field: _xmlParserCtxt::freeElemsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeElemsNr) - 572usize] ; ["Offset of field: _xmlParserCtxt::freeElems"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeElems) - 576usize] ; ["Offset of field: _xmlParserCtxt::freeAttrsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeAttrsNr) - 584usize] ; ["Offset of field: _xmlParserCtxt::freeAttrs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeAttrs) - 592usize] ; ["Offset of field: _xmlParserCtxt::lastError"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , lastError) - 600usize] ; ["Offset of field: _xmlParserCtxt::parseMode"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , parseMode) - 688usize] ; ["Offset of field: _xmlParserCtxt::nbentities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbentities) - 696usize] ; ["Offset of field: _xmlParserCtxt::sizeentities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sizeentities) - 704usize] ; ["Offset of field: _xmlParserCtxt::nodeInfo"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfo) - 712usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoNr) - 720usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoMax) - 724usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoTab) - 728usize] ; ["Offset of field: _xmlParserCtxt::input_id"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , input_id) - 736usize] ; ["Offset of field: _xmlParserCtxt::sizeentcopy"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sizeentcopy) - 744usize] ; ["Offset of field: _xmlParserCtxt::endCheckState"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , endCheckState) - 752usize] ; ["Offset of field: _xmlParserCtxt::nbErrors"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbErrors) - 756usize] ; ["Offset of field: _xmlParserCtxt::nbWarnings"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbWarnings) - 758usize] ; ["Offset of field: _xmlParserCtxt::maxAmpl"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , maxAmpl) - 760usize] ; ["Offset of field: _xmlParserCtxt::nsdb"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsdb) - 768usize] ; ["Offset of field: _xmlParserCtxt::attrHashMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attrHashMax) - 776usize] ; ["Offset of field: _xmlParserCtxt::attrHash"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attrHash) - 784usize] ; ["Offset of field: _xmlParserCtxt::errorHandler"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errorHandler) - 792usize] ; ["Offset of field: _xmlParserCtxt::errorCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errorCtxt) - 800usize] ; ["Offset of field: _xmlParserCtxt::resourceLoader"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , resourceLoader) - 808usize] ; ["Offset of field: _xmlParserCtxt::resourceCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , resourceCtxt) - 816usize] ; ["Offset of field: _xmlParserCtxt::convImpl"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , convImpl) - 824usize] ; ["Offset of field: _xmlParserCtxt::convCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , convCtxt) - 832usize] ; } ; # [doc = " A SAX Locator."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXLocator { pub getPublicId : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar > , pub getSystemId : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar > , pub getLineNumber : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , pub getColumnNumber : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXLocator"] [:: std :: mem :: size_of :: < _xmlSAXLocator > () - 32usize] ; ["Alignment of _xmlSAXLocator"] [:: std :: mem :: align_of :: < _xmlSAXLocator > () - 8usize] ; ["Offset of field: _xmlSAXLocator::getPublicId"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getPublicId) - 0usize] ; ["Offset of field: _xmlSAXLocator::getSystemId"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getSystemId) - 8usize] ; ["Offset of field: _xmlSAXLocator::getLineNumber"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getLineNumber) - 16usize] ; ["Offset of field: _xmlSAXLocator::getColumnNumber"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getColumnNumber) - 24usize] ; } ; # [doc = " SAX callback to resolve external entities.\n\n This is only used to load DTDs. The preferred way to install\n custom resolvers is #xmlCtxtSetResourceLoader.\n\n @param ctx  the user data (XML parser context)\n @param publicId  The public identifier of the entity\n @param systemId  The system identifier of the entity (URL)\n @returns the xmlParserInput if inlined or NULL for DOM behaviour."] pub type resolveEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlParserInput > ; # [doc = " SAX callback for the internal subset.\n\n @param ctx  the user data (XML parser context)\n @param name  the root element name\n @param publicId  the public identifier\n @param systemId  the system identifier (e.g. filename or URL)"] pub type internalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback for the external subset.\n\n @param ctx  the user data (XML parser context)\n @param name  the root element name\n @param publicId  the public identifier\n @param systemId  the system identifier (e.g. filename or URL)"] pub type externalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback to look up a general entity by name.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name\n @returns the xmlEntity if found."] pub type getEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity > ; # [doc = " SAX callback to look up a parameter entity by name.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name\n @returns the xmlEntity if found."] pub type getParameterEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity > ; # [doc = " SAX callback for entity declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  the entity name\n @param type  the entity type\n @param publicId  The public ID of the entity\n @param systemId  The system ID of the entity\n @param content  the entity value (without processing)."] pub type entityDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * mut xmlChar) > ; # [doc = " SAX callback for notation declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  The name of the notation\n @param publicId  The public ID of the notation\n @param systemId  The system ID of the notation"] pub type notationDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback for attribute declarations.\n\n @param ctx  the user data (XML parser context)\n @param elem  the name of the element\n @param fullname  the attribute name\n @param type  the attribute type\n @param def  the type of default value\n @param defaultValue  the attribute default value\n @param tree  the tree of enumerated value set"] pub type attributeDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , elem : * const xmlChar , fullname : * const xmlChar , type_ : :: std :: os :: raw :: c_int , def : :: std :: os :: raw :: c_int , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) > ; # [doc = " SAX callback for element declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  the element name\n @param type  the element type\n @param content  the element value tree"] pub type elementDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , content : * mut xmlElementContent) > ; # [doc = " SAX callback for unparsed entity declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  The name of the entity\n @param publicId  The public ID of the entity\n @param systemId  The system ID of the entity\n @param notationName  the name of the notation"] pub type unparsedEntityDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar , notationName : * const xmlChar) > ; # [doc = " This callback receives the \"document locator\" at startup,\n which is always the global xmlDefaultSAXLocator.\n\n Everything is available on the context, so this is useless in\n our case.\n\n @param ctx  the user data (XML parser context)\n @param loc  A SAX Locator"] pub type setDocumentLocatorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , loc : * mut xmlSAXLocator) > ; # [doc = " SAX callback for start of document.\n\n @param ctx  the user data (XML parser context)"] pub type startDocumentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) > ; # [doc = " SAX callback for end of document.\n\n @param ctx  the user data (XML parser context)"] pub type endDocumentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) > ; # [doc = " SAX callback for start tags.\n\n @param ctx  the user data (XML parser context)\n @param name  The element name, including namespace prefix\n @param atts  An array of name/value attributes pairs, NULL terminated"] pub type startElementSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , atts : * mut * const xmlChar) > ; # [doc = " SAX callback for end tags.\n\n @param ctx  the user data (XML parser context)\n @param name  The element name"] pub type endElementSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback for attributes.\n\n @deprecated This typedef is unused.\n\n @param ctx  the user data (XML parser context)\n @param name  The attribute name, including namespace prefix\n @param value  The attribute value"] pub type attributeSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , value : * const xmlChar) > ; # [doc = " SAX callback for entity references.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name"] pub type referenceSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " SAX callback for character data.\n\n @param ctx  the user data (XML parser context)\n @param ch  a xmlChar string\n @param len  the number of xmlChar"] pub type charactersSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for \"ignorable\" whitespace.\n\n @param ctx  the user data (XML parser context)\n @param ch  a xmlChar string\n @param len  the number of xmlChar"] pub type ignorableWhitespaceSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for processing instructions.\n\n @param ctx  the user data (XML parser context)\n @param target  the target name\n @param data  the PI data's"] pub type processingInstructionSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , target : * const xmlChar , data : * const xmlChar) > ; # [doc = " SAX callback for comments.\n\n @param ctx  the user data (XML parser context)\n @param value  the comment content"] pub type commentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar) > ; # [doc = " SAX callback for CDATA sections.\n\n @param ctx  the user data (XML parser context)\n @param value  The pcdata content\n @param len  the block length"] pub type cdataBlockSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for warning messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type warningSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback for error messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type errorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback for fatal error messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type fatalErrorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback to get standalone status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type isStandaloneSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX callback to get internal subset status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type hasInternalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX callback to get external subset status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type hasExternalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX2 callback for start tags.\n\n It provides the namespace information for the element, as well as\n the new namespace declarations on the element.\n\n @param ctx  the user data (XML parser context)\n @param localname  the local name of the element\n @param prefix  the element namespace prefix if available\n @param URI  the element namespace name if available\n @param nb_namespaces  number of namespace definitions on that node\n @param namespaces  pointer to the array of prefix/URI pairs namespace definitions\n @param nb_attributes  the number of attributes on that node\n @param nb_defaulted  the number of defaulted attributes. The defaulted\n                  ones are at the end of the array\n @param attributes  pointer to the array of (localname/prefix/URI/value/end)\n               attribute values."] pub type startElementNsSAX2Func = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar , nb_namespaces : :: std :: os :: raw :: c_int , namespaces : * mut * const xmlChar , nb_attributes : :: std :: os :: raw :: c_int , nb_defaulted : :: std :: os :: raw :: c_int , attributes : * mut * const xmlChar) > ; # [doc = " SAX2 callback for end tags.\n\n It provides the namespace information for the element.\n\n @param ctx  the user data (XML parser context)\n @param localname  the local name of the element\n @param prefix  the element namespace prefix if available\n @param URI  the element namespace name if available"] pub type endElementNsSAX2Func = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar) > ; # [doc = " Callbacks for SAX parser\n\n For DTD-related handlers, it's recommended to either use the\n original libxml2 handler or set them to NULL if DTDs can be\n ignored."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXHandler { # [doc = " Called after the start of the document type declaration\n was parsed.\n\n Should typically not be modified."] pub internalSubset : internalSubsetSAXFunc , # [doc = " Standalone status. Not invoked by the parser. Not supposed\n to be changed by applications."] pub isStandalone : isStandaloneSAXFunc , # [doc = " Internal subset availability. Not invoked by the parser.\n Not supposed to be changed by applications."] pub hasInternalSubset : hasInternalSubsetSAXFunc , # [doc = " External subset availability. Not invoked by the parser.\n Not supposed to be changed by applications."] pub hasExternalSubset : hasExternalSubsetSAXFunc , # [doc = " Only called when loading external DTDs. Not called to load\n external entities.\n\n Should typically not be modified."] pub resolveEntity : resolveEntitySAXFunc , # [doc = " Called when looking up general entities.\n\n Should typically not be modified."] pub getEntity : getEntitySAXFunc , # [doc = " Called after an entity declaration was parsed.\n\n Should typically not be modified."] pub entityDecl : entityDeclSAXFunc , # [doc = " Called after a notation declaration was parsed.\n\n Should typically not be modified."] pub notationDecl : notationDeclSAXFunc , # [doc = " Called after an attribute declaration was parsed.\n\n Should typically not be modified."] pub attributeDecl : attributeDeclSAXFunc , # [doc = " Called after an element declaration was parsed.\n\n Should typically not be modified."] pub elementDecl : elementDeclSAXFunc , # [doc = " Called after an unparsed entity declaration was parsed.\n\n Should typically not be modified."] pub unparsedEntityDecl : unparsedEntityDeclSAXFunc , # [doc = " This callback receives the \"document locator\" at startup,\n which is always the global xmlDefaultSAXLocator.\n\n Everything is available on the context, so this is useless in\n our case."] pub setDocumentLocator : setDocumentLocatorSAXFunc , # [doc = " Called after the XML declaration was parsed.\n\n Use xmlCtxtGetVersion(), xmlCtxtGetDeclaredEncoding() and\n xmlCtxtGetStandalone() to get data from the XML declaration."] pub startDocument : startDocumentSAXFunc , # [doc = " Called at the end of the document."] pub endDocument : endDocumentSAXFunc , # [doc = " Legacy start tag handler\n\n `startElement` and `endElement` are only used by the legacy SAX1\n interface and should not be used in new software. If you really\n have to enable SAX1, the preferred way is set the `initialized`\n member to 1 instead of XML_SAX2_MAGIC.\n\n For backward compatibility, it's also possible to set the\n `startElementNs` and `endElementNs` handlers to NULL.\n\n You can also set the XML_PARSE_SAX1 parser option, but versions\n older than 2.12.0 will probably crash if this option is provided\n together with custom SAX callbacks."] pub startElement : startElementSAXFunc , # [doc = " See _xmlSAXHandler.startElement"] pub endElement : endElementSAXFunc , # [doc = " Called after an entity reference was parsed."] pub reference : referenceSAXFunc , # [doc = " Called after a character data was parsed."] pub characters : charactersSAXFunc , # [doc = " Called after \"ignorable\" whitespace was parsed.\n\n `ignorableWhitespace` should always be set to the same value\n as `characters`. Otherwise, the parser will try to detect\n whitespace which is unreliable."] pub ignorableWhitespace : ignorableWhitespaceSAXFunc , # [doc = " Called after a processing instruction was parsed."] pub processingInstruction : processingInstructionSAXFunc , # [doc = " Called after a comment was parsed."] pub comment : commentSAXFunc , # [doc = " Callback for warning messages."] pub warning : warningSAXFunc , # [doc = " Callback for error messages."] pub error : errorSAXFunc , # [doc = " Unused, all errors go to `error`."] pub fatalError : fatalErrorSAXFunc , # [doc = " Called when looking up parameter entities.\n\n Should typically not be modified."] pub getParameterEntity : getParameterEntitySAXFunc , # [doc = " Called after a CDATA section was parsed."] pub cdataBlock : cdataBlockSAXFunc , # [doc = " Called to parse the external subset.\n\n Should typically not be modified."] pub externalSubset : externalSubsetSAXFunc , # [doc = " Legacy magic value\n\n `initialized` should always be set to XML_SAX2_MAGIC to\n enable the modern SAX2 interface."] pub initialized : :: std :: os :: raw :: c_uint , # [doc = " Application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " Called after a start tag was parsed."] pub startElementNs : startElementNsSAX2Func , # [doc = " Called after an end tag was parsed."] pub endElementNs : endElementNsSAX2Func , # [doc = " Structured error handler.\n\n Takes precedence over `error` or `warning`, but modern code\n should use xmlCtxtSetErrorHandler()."] pub serror : xmlStructuredErrorFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXHandler"] [:: std :: mem :: size_of :: < _xmlSAXHandler > () - 256usize] ; ["Alignment of _xmlSAXHandler"] [:: std :: mem :: align_of :: < _xmlSAXHandler > () - 8usize] ; ["Offset of field: _xmlSAXHandler::internalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , internalSubset) - 0usize] ; ["Offset of field: _xmlSAXHandler::isStandalone"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , isStandalone) - 8usize] ; ["Offset of field: _xmlSAXHandler::hasInternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , hasInternalSubset) - 16usize] ; ["Offset of field: _xmlSAXHandler::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , hasExternalSubset) - 24usize] ; ["Offset of field: _xmlSAXHandler::resolveEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , resolveEntity) - 32usize] ; ["Offset of field: _xmlSAXHandler::getEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , getEntity) - 40usize] ; ["Offset of field: _xmlSAXHandler::entityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , entityDecl) - 48usize] ; ["Offset of field: _xmlSAXHandler::notationDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , notationDecl) - 56usize] ; ["Offset of field: _xmlSAXHandler::attributeDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , attributeDecl) - 64usize] ; ["Offset of field: _xmlSAXHandler::elementDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , elementDecl) - 72usize] ; ["Offset of field: _xmlSAXHandler::unparsedEntityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , unparsedEntityDecl) - 80usize] ; ["Offset of field: _xmlSAXHandler::setDocumentLocator"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , setDocumentLocator) - 88usize] ; ["Offset of field: _xmlSAXHandler::startDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startDocument) - 96usize] ; ["Offset of field: _xmlSAXHandler::endDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endDocument) - 104usize] ; ["Offset of field: _xmlSAXHandler::startElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startElement) - 112usize] ; ["Offset of field: _xmlSAXHandler::endElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endElement) - 120usize] ; ["Offset of field: _xmlSAXHandler::reference"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , reference) - 128usize] ; ["Offset of field: _xmlSAXHandler::characters"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , characters) - 136usize] ; ["Offset of field: _xmlSAXHandler::ignorableWhitespace"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , ignorableWhitespace) - 144usize] ; ["Offset of field: _xmlSAXHandler::processingInstruction"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , processingInstruction) - 152usize] ; ["Offset of field: _xmlSAXHandler::comment"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , comment) - 160usize] ; ["Offset of field: _xmlSAXHandler::warning"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , warning) - 168usize] ; ["Offset of field: _xmlSAXHandler::error"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , error) - 176usize] ; ["Offset of field: _xmlSAXHandler::fatalError"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , fatalError) - 184usize] ; ["Offset of field: _xmlSAXHandler::getParameterEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , getParameterEntity) - 192usize] ; ["Offset of field: _xmlSAXHandler::cdataBlock"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , cdataBlock) - 200usize] ; ["Offset of field: _xmlSAXHandler::externalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , externalSubset) - 208usize] ; ["Offset of field: _xmlSAXHandler::initialized"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , initialized) - 216usize] ; ["Offset of field: _xmlSAXHandler::_private"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , _private) - 224usize] ; ["Offset of field: _xmlSAXHandler::startElementNs"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startElementNs) - 232usize] ; ["Offset of field: _xmlSAXHandler::endElementNs"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endElementNs) - 240usize] ; ["Offset of field: _xmlSAXHandler::serror"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , serror) - 248usize] ; } ; # [doc = " SAX handler, version 1.\n\n @deprecated Use version 2 handlers."] pub type xmlSAXHandlerV1 = _xmlSAXHandlerV1 ; pub type xmlSAXHandlerV1Ptr = * mut xmlSAXHandlerV1 ; # [doc = " SAX handler, version 1.\n\n @deprecated Use version 2 handlers."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXHandlerV1 { pub internalSubset : internalSubsetSAXFunc , pub isStandalone : isStandaloneSAXFunc , pub hasInternalSubset : hasInternalSubsetSAXFunc , pub hasExternalSubset : hasExternalSubsetSAXFunc , pub resolveEntity : resolveEntitySAXFunc , pub getEntity : getEntitySAXFunc , pub entityDecl : entityDeclSAXFunc , pub notationDecl : notationDeclSAXFunc , pub attributeDecl : attributeDeclSAXFunc , pub elementDecl : elementDeclSAXFunc , pub unparsedEntityDecl : unparsedEntityDeclSAXFunc , pub setDocumentLocator : setDocumentLocatorSAXFunc , pub startDocument : startDocumentSAXFunc , pub endDocument : endDocumentSAXFunc , pub startElement : startElementSAXFunc , pub endElement : endElementSAXFunc , pub reference : referenceSAXFunc , pub characters : charactersSAXFunc , pub ignorableWhitespace : ignorableWhitespaceSAXFunc , pub processingInstruction : processingInstructionSAXFunc , pub comment : commentSAXFunc , pub warning : warningSAXFunc , pub error : errorSAXFunc , pub fatalError : fatalErrorSAXFunc , pub getParameterEntity : getParameterEntitySAXFunc , pub cdataBlock : cdataBlockSAXFunc , pub externalSubset : externalSubsetSAXFunc , pub initialized : :: std :: os :: raw :: c_uint , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXHandlerV1"] [:: std :: mem :: size_of :: < _xmlSAXHandlerV1 > () - 224usize] ; ["Alignment of _xmlSAXHandlerV1"] [:: std :: mem :: align_of :: < _xmlSAXHandlerV1 > () - 8usize] ; ["Offset of field: _xmlSAXHandlerV1::internalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , internalSubset) - 0usize] ; ["Offset of field: _xmlSAXHandlerV1::isStandalone"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , isStandalone) - 8usize] ; ["Offset of field: _xmlSAXHandlerV1::hasInternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , hasInternalSubset) - 16usize] ; ["Offset of field: _xmlSAXHandlerV1::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , hasExternalSubset) - 24usize] ; ["Offset of field: _xmlSAXHandlerV1::resolveEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , resolveEntity) - 32usize] ; ["Offset of field: _xmlSAXHandlerV1::getEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , getEntity) - 40usize] ; ["Offset of field: _xmlSAXHandlerV1::entityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , entityDecl) - 48usize] ; ["Offset of field: _xmlSAXHandlerV1::notationDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , notationDecl) - 56usize] ; ["Offset of field: _xmlSAXHandlerV1::attributeDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , attributeDecl) - 64usize] ; ["Offset of field: _xmlSAXHandlerV1::elementDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , elementDecl) - 72usize] ; ["Offset of field: _xmlSAXHandlerV1::unparsedEntityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , unparsedEntityDecl) - 80usize] ; ["Offset of field: _xmlSAXHandlerV1::setDocumentLocator"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , setDocumentLocator) - 88usize] ; ["Offset of field: _xmlSAXHandlerV1::startDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , startDocument) - 96usize] ; ["Offset of field: _xmlSAXHandlerV1::endDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , endDocument) - 104usize] ; ["Offset of field: _xmlSAXHandlerV1::startElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , startElement) - 112usize] ; ["Offset of field: _xmlSAXHandlerV1::endElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , endElement) - 120usize] ; ["Offset of field: _xmlSAXHandlerV1::reference"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , reference) - 128usize] ; ["Offset of field: _xmlSAXHandlerV1::characters"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , characters) - 136usize] ; ["Offset of field: _xmlSAXHandlerV1::ignorableWhitespace"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , ignorableWhitespace) - 144usize] ; ["Offset of field: _xmlSAXHandlerV1::processingInstruction"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , processingInstruction) - 152usize] ; ["Offset of field: _xmlSAXHandlerV1::comment"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , comment) - 160usize] ; ["Offset of field: _xmlSAXHandlerV1::warning"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , warning) - 168usize] ; ["Offset of field: _xmlSAXHandlerV1::error"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , error) - 176usize] ; ["Offset of field: _xmlSAXHandlerV1::fatalError"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , fatalError) - 184usize] ; ["Offset of field: _xmlSAXHandlerV1::getParameterEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , getParameterEntity) - 192usize] ; ["Offset of field: _xmlSAXHandlerV1::cdataBlock"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , cdataBlock) - 200usize] ; ["Offset of field: _xmlSAXHandlerV1::externalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , externalSubset) - 208usize] ; ["Offset of field: _xmlSAXHandlerV1::initialized"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , initialized) - 216usize] ; } ; # [doc = " Callback for external entity loader.\n\n The URL is not resolved using XML catalogs before being passed\n to the callback.\n\n @param URL  The URL or system ID of the resource requested\n @param publicId  The public ID of the resource requested (optional)\n @param context  the XML parser context\n @returns the entity input parser or NULL on error."] pub type xmlExternalEntityLoader = :: std :: option :: Option < unsafe extern "C" fn (URL : * const :: std :: os :: raw :: c_char , publicId : * const :: std :: os :: raw :: c_char , context : * mut xmlParserCtxt) -> * mut xmlParserInput > ; unsafe extern "C" { pub static xmlParserVersion : * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { # [doc = " @cond ignore"] pub static xmlDefaultSAXLocator : xmlSAXLocator ; } unsafe extern "C" { # [doc = " @deprecated Use #xmlSAXVersion or #xmlSAX2InitDefaultSAXHandler"] pub static xmlDefaultSAXHandler : xmlSAXHandlerV1 ; } unsafe extern "C" { pub fn __xmlDoValidityCheckingDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlGetWarningsDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlKeepBlanksDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlLineNumbersDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlLoadExtDtdDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlPedanticParserDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlSubstituteEntitiesDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlIndentTreeOutput () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlTreeIndentString () -> * mut * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn __xmlSaveNoEmptyTags () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlInitParser () ; } unsafe extern "C" { pub fn xmlCleanupParser () ; } unsafe extern "C" { pub fn xmlInitGlobals () ; } unsafe extern "C" { pub fn xmlCleanupGlobals () ; } unsafe extern "C" { pub fn xmlParserInputRead (in_ : * mut xmlParserInput , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputGrow (in_ : * mut xmlParserInput , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseDoc (cur : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseFile (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSubstituteEntitiesDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlKeepBlanksDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStopParser (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlPedanticParserDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlLineNumbersDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefSubstituteEntitiesDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefKeepBlanksDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefPedanticParserDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefLineNumbersDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefDoValidityCheckingDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefGetWarningsDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefLoadExtDtdDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRecoverDoc (cur : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlRecoverMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlRecoverFile (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseDocument (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseExtParsedEnt (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXUserParseFile (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXUserParseMemory (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXParseDoc (sax : * mut xmlSAXHandler , cur : * const xmlChar , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseMemory (sax : * mut xmlSAXHandler , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseMemoryWithData (sax : * mut xmlSAXHandler , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , recovery : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseFile (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseFileWithData (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char , recovery : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseEntity (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseEntity (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseDtd (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlCtxtValidateDocument (ctxt : * mut xmlParserCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtValidateDtd (ctxt : * mut xmlParserCtxt , doc : * mut xmlDoc , dtd : * mut xmlDtd) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXParseDTD (sax : * mut xmlSAXHandler , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlParseDTD (publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlIOParseDTD (sax : * mut xmlSAXHandler , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlParseBalancedChunkMemory (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , string : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseInNodeContext (node : * mut xmlNode , data : * const :: std :: os :: raw :: c_char , datalen : :: std :: os :: raw :: c_int , options : :: std :: os :: raw :: c_int , lst : * mut * mut xmlNode) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlParseBalancedChunkMemoryRecover (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , string : * const xmlChar , lst : * mut * mut xmlNode , recover : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseExternalEntity (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , URL : * const xmlChar , ID : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseCtxtExternalEntity (ctx : * mut xmlParserCtxt , URL : * const xmlChar , ID : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNewParserCtxt () -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlNewSAXParserCtxt (sax : * const xmlSAXHandler , userData : * mut :: std :: os :: raw :: c_void) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlInitParserCtxt (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlClearParserCtxt (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlFreeParserCtxt (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlSetupParserForBuffer (ctxt : * mut xmlParserCtxt , buffer : * const xmlChar , filename : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlCreateDocParserCtxt (cur : * const xmlChar) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlCreatePushParserCtxt (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , filename : * const :: std :: os :: raw :: c_char) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlParseChunk (ctxt : * mut xmlParserCtxt , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , terminate : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCreateIOParserCtxt (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , enc : xmlCharEncoding) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlNewIOInputStream (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlParserFindNodeInfo (ctxt : * mut xmlParserCtxt , node : * mut xmlNode) -> * const xmlParserNodeInfo ; } unsafe extern "C" { pub fn xmlInitNodeInfoSeq (seq : * mut xmlParserNodeInfoSeq) ; } unsafe extern "C" { pub fn xmlClearNodeInfoSeq (seq : * mut xmlParserNodeInfoSeq) ; } unsafe extern "C" { pub fn xmlParserFindNodeInfoIndex (seq : * mut xmlParserNodeInfoSeq , node : * mut xmlNode) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlParserAddNodeInfo (ctxt : * mut xmlParserCtxt , info : * mut xmlParserNodeInfo) ; } unsafe extern "C" { pub fn xmlSetExternalEntityLoader (f : xmlExternalEntityLoader) ; } unsafe extern "C" { pub fn xmlGetExternalEntityLoader () -> xmlExternalEntityLoader ; } unsafe extern "C" { pub fn xmlLoadExternalEntity (URL : * const :: std :: os :: raw :: c_char , ID : * const :: std :: os :: raw :: c_char , ctxt : * mut xmlParserCtxt) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlByteConsumed (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_long ; } # [doc = " Enable \"recovery\" mode which allows non-wellformed documents.\n How this mode behaves exactly is unspecified and may change\n without further notice. Use of this feature is DISCOURAGED.\n\n Not supported by the push parser."] pub const xmlParserOption_XML_PARSE_RECOVER : xmlParserOption = 1 ; # [doc = " Despite the confusing name, this option enables substitution\n of entities. The resulting tree won't contain any entity\n reference nodes.\n\n This option also enables loading of external entities (both\n general and parameter entities) which is dangerous. If you\n process untrusted data, it's recommended to set the\n XML_PARSE_NO_XXE option to disable loading of external\n entities."] pub const xmlParserOption_XML_PARSE_NOENT : xmlParserOption = 2 ; # [doc = " Enables loading of an external DTD and the loading and\n substitution of external parameter entities. Has no effect\n if XML_PARSE_NO_XXE is set."] pub const xmlParserOption_XML_PARSE_DTDLOAD : xmlParserOption = 4 ; # [doc = " Adds default attributes from the DTD to the result document.\n\n Implies XML_PARSE_DTDLOAD, but loading of external content\n can be disabled with XML_PARSE_NO_XXE."] pub const xmlParserOption_XML_PARSE_DTDATTR : xmlParserOption = 8 ; # [doc = " This option enables DTD validation which requires to load\n external DTDs and external entities (both general and\n parameter entities) unless XML_PARSE_NO_XXE was set.\n\n DTD validation is vulnerable to algorithmic complexity\n attacks and should never be enabled with untrusted input."] pub const xmlParserOption_XML_PARSE_DTDVALID : xmlParserOption = 16 ; # [doc = " Disable error and warning reports to the error handlers.\n Errors are still accessible with xmlCtxtGetLastError()."] pub const xmlParserOption_XML_PARSE_NOERROR : xmlParserOption = 32 ; # [doc = " Disable warning reports."] pub const xmlParserOption_XML_PARSE_NOWARNING : xmlParserOption = 64 ; # [doc = " Enable some pedantic warnings."] pub const xmlParserOption_XML_PARSE_PEDANTIC : xmlParserOption = 128 ; # [doc = " Remove some whitespace from the result document. Where to\n remove whitespace depends on DTD element declarations or a\n broken heuristic with unfixable bugs. Use of this option is\n DISCOURAGED.\n\n Not supported by the push parser."] pub const xmlParserOption_XML_PARSE_NOBLANKS : xmlParserOption = 256 ; # [doc = " Always invoke the deprecated SAX1 startElement and endElement\n handlers.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_SAX1 : xmlParserOption = 512 ; # [doc = " Enable XInclude processing. This option only affects the\n xmlTextReader and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_XINCLUDE : xmlParserOption = 1024 ; # [doc = " Disable network access with the built-in HTTP or FTP clients.\n\n After the last built-in network client was removed in 2.15,\n this option has no effect expect for being passed on to custom\n resource loaders."] pub const xmlParserOption_XML_PARSE_NONET : xmlParserOption = 2048 ; # [doc = " Create a document without interned strings, making all\n strings separate memory allocations."] pub const xmlParserOption_XML_PARSE_NODICT : xmlParserOption = 4096 ; # [doc = " Remove redundant namespace declarations from the result\n document."] pub const xmlParserOption_XML_PARSE_NSCLEAN : xmlParserOption = 8192 ; # [doc = " Output normal text nodes instead of CDATA nodes."] pub const xmlParserOption_XML_PARSE_NOCDATA : xmlParserOption = 16384 ; # [doc = " Don't generate XInclude start/end nodes when expanding\n inclusions. This option only affects the xmlTextReader\n and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_NOXINCNODE : xmlParserOption = 32768 ; # [doc = " Store small strings directly in the node struct to save\n memory."] pub const xmlParserOption_XML_PARSE_COMPACT : xmlParserOption = 65536 ; # [doc = " Use old Name productions from before XML 1.0 Fifth Edition.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_OLD10 : xmlParserOption = 131072 ; # [doc = " Don't fix up XInclude xml:base URIs. This option only affects\n the xmlTextReader and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_NOBASEFIX : xmlParserOption = 262144 ; # [doc = " Relax some internal limits.\n\n Maximum size of text nodes, tags, comments, processing instructions,\n CDATA sections, entity values\n\n normal: 10M\n huge:    1B\n\n Maximum size of names, system literals, pubid literals\n\n normal: 50K\n huge:   10M\n\n Maximum nesting depth of elements\n\n normal:  256\n huge:   2048\n\n Maximum nesting depth of entities\n\n normal: 20\n huge:   40"] pub const xmlParserOption_XML_PARSE_HUGE : xmlParserOption = 524288 ; # [doc = " Enable an unspecified legacy mode for SAX parsers.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_OLDSAX : xmlParserOption = 1048576 ; # [doc = " Ignore the encoding in the XML declaration. This option is\n mostly unneeded these days. The only effect is to enforce\n UTF-8 decoding of ASCII-like data."] pub const xmlParserOption_XML_PARSE_IGNORE_ENC : xmlParserOption = 2097152 ; # [doc = " Enable reporting of line numbers larger than 65535."] pub const xmlParserOption_XML_PARSE_BIG_LINES : xmlParserOption = 4194304 ; # [doc = " Disables loading of external DTDs or entities.\n\n @since 2.13.0"] pub const xmlParserOption_XML_PARSE_NO_XXE : xmlParserOption = 8388608 ; # [doc = " Enable input decompression. Setting this option is discouraged\n to avoid zip bombs.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_UNZIP : xmlParserOption = 16777216 ; # [doc = " Disables the global system XML catalog.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_NO_SYS_CATALOG : xmlParserOption = 33554432 ; # [doc = " Enable XML catalog processing instructions.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_CATALOG_PI : xmlParserOption = 67108864 ; # [doc = " Force the parser to ignore IDs.\n\n @since 2.15.0"] pub const xmlParserOption_XML_PARSE_SKIP_IDS : xmlParserOption = 134217728 ; # [doc = " This is the set of XML parser options that can be passed to\n #xmlReadDoc, #xmlCtxtSetOptions and other functions."] pub type xmlParserOption = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlCtxtReset (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlCtxtResetPush (ctxt : * mut xmlParserCtxt , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , filename : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetOptions (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtSetOptions (ctxt : * mut xmlParserCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtUseOptions (ctxt : * mut xmlParserCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetPrivate (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtSetPrivate (ctxt : * mut xmlParserCtxt , priv_ : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtGetCatalogs (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtSetCatalogs (ctxt : * mut xmlParserCtxt , catalogs : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtGetDict (ctxt : * mut xmlParserCtxt) -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlCtxtSetDict (ctxt : * mut xmlParserCtxt , arg1 : * mut xmlDict) ; } unsafe extern "C" { pub fn xmlCtxtGetSaxHandler (ctxt : * mut xmlParserCtxt) -> * mut xmlSAXHandler ; } unsafe extern "C" { pub fn xmlCtxtSetSaxHandler (ctxt : * mut xmlParserCtxt , sax : * const xmlSAXHandler) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetDocument (ctxt : * mut xmlParserCtxt) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtIsHtml (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtIsStopped (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtIsInSubset (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetValidCtxt (ctxt : * mut xmlParserCtxt) -> * mut xmlValidCtxt ; } unsafe extern "C" { pub fn xmlCtxtGetVersion (ctxt : * mut xmlParserCtxt) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCtxtGetDeclaredEncoding (ctxt : * mut xmlParserCtxt) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCtxtGetStandalone (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetStatus (ctxt : * mut xmlParserCtxt) -> xmlParserStatus ; } unsafe extern "C" { pub fn xmlCtxtGetUserData (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtGetNode (ctxt : * mut xmlParserCtxt) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCtxtGetDocTypeDecl (ctxt : * mut xmlParserCtxt , name : * mut * const xmlChar , systemId : * mut * const xmlChar , publicId : * mut * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetInputPosition (ctxt : * mut xmlParserCtxt , inputIndex : :: std :: os :: raw :: c_int , filname : * mut * const :: std :: os :: raw :: c_char , line : * mut :: std :: os :: raw :: c_int , col : * mut :: std :: os :: raw :: c_int , bytePos : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetInputWindow (ctxt : * mut xmlParserCtxt , inputIndex : :: std :: os :: raw :: c_int , startOut : * mut * const xmlChar , sizeInOut : * mut :: std :: os :: raw :: c_int , offsetOut : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtSetErrorHandler (ctxt : * mut xmlParserCtxt , handler : xmlStructuredErrorFunc , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetResourceLoader (ctxt : * mut xmlParserCtxt , loader : xmlResourceLoader , vctxt : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetCharEncConvImpl (ctxt : * mut xmlParserCtxt , impl_ : xmlCharEncConvImpl , vctxt : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetMaxAmplification (ctxt : * mut xmlParserCtxt , maxAmpl : :: std :: os :: raw :: c_uint) ; } unsafe extern "C" { pub fn xmlReadDoc (cur : * const xmlChar , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadFile (URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadFd (fd : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadIO (ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseDocument (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseContent (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput , node : * mut xmlNode , hasTextDecl : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCtxtReadDoc (ctxt : * mut xmlParserCtxt , cur : * const xmlChar , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadFile (ctxt : * mut xmlParserCtxt , filename : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadMemory (ctxt : * mut xmlParserCtxt , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadFd (ctxt : * mut xmlParserCtxt , fd : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadIO (ctxt : * mut xmlParserCtxt , ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlNewInputFromUrl (url : * const :: std :: os :: raw :: c_char , flags : xmlParserInputFlags , out : * mut * mut xmlParserInput) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlNewInputFromMemory (url : * const :: std :: os :: raw :: c_char , mem : * const :: std :: os :: raw :: c_void , size : usize , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromString (url : * const :: std :: os :: raw :: c_char , str_ : * const :: std :: os :: raw :: c_char , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromFd (url : * const :: std :: os :: raw :: c_char , fd : :: std :: os :: raw :: c_int , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromIO (url : * const :: std :: os :: raw :: c_char , ioRead : xmlInputReadCallback , ioClose : xmlInputCloseCallback , ioCtxt : * mut :: std :: os :: raw :: c_void , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlInputSetEncodingHandler (input : * mut xmlParserInput , handler : * mut xmlCharEncodingHandler) -> xmlParserErrors ; } # [doc = " Multithreading support"] pub const xmlFeature_XML_WITH_THREAD : xmlFeature = 1 ; # [doc = " @deprecated Always available"] pub const xmlFeature_XML_WITH_TREE : xmlFeature = 2 ; # [doc = " Serialization support"] pub const xmlFeature_XML_WITH_OUTPUT : xmlFeature = 3 ; # [doc = " Push parser"] pub const xmlFeature_XML_WITH_PUSH : xmlFeature = 4 ; # [doc = " XML Reader"] pub const xmlFeature_XML_WITH_READER : xmlFeature = 5 ; # [doc = " Streaming patterns"] pub const xmlFeature_XML_WITH_PATTERN : xmlFeature = 6 ; # [doc = " XML Writer"] pub const xmlFeature_XML_WITH_WRITER : xmlFeature = 7 ; # [doc = " Legacy SAX1 API"] pub const xmlFeature_XML_WITH_SAX1 : xmlFeature = 8 ; # [doc = " @deprecated FTP support was removed"] pub const xmlFeature_XML_WITH_FTP : xmlFeature = 9 ; # [doc = " @deprecated HTTP support was removed"] pub const xmlFeature_XML_WITH_HTTP : xmlFeature = 10 ; # [doc = " DTD validation"] pub const xmlFeature_XML_WITH_VALID : xmlFeature = 11 ; # [doc = " HTML parser"] pub const xmlFeature_XML_WITH_HTML : xmlFeature = 12 ; # [doc = " Legacy symbols"] pub const xmlFeature_XML_WITH_LEGACY : xmlFeature = 13 ; # [doc = " Canonical XML"] pub const xmlFeature_XML_WITH_C14N : xmlFeature = 14 ; # [doc = " XML Catalogs"] pub const xmlFeature_XML_WITH_CATALOG : xmlFeature = 15 ; # [doc = " XPath"] pub const xmlFeature_XML_WITH_XPATH : xmlFeature = 16 ; # [doc = " XPointer"] pub const xmlFeature_XML_WITH_XPTR : xmlFeature = 17 ; # [doc = " XInclude"] pub const xmlFeature_XML_WITH_XINCLUDE : xmlFeature = 18 ; # [doc = " iconv"] pub const xmlFeature_XML_WITH_ICONV : xmlFeature = 19 ; # [doc = " Built-in ISO-8859-X"] pub const xmlFeature_XML_WITH_ISO8859X : xmlFeature = 20 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_UNICODE : xmlFeature = 21 ; # [doc = " Regular expressions"] pub const xmlFeature_XML_WITH_REGEXP : xmlFeature = 22 ; # [doc = " @deprecated Same as XML_WITH_REGEXP"] pub const xmlFeature_XML_WITH_AUTOMATA : xmlFeature = 23 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_EXPR : xmlFeature = 24 ; # [doc = " XML Schemas"] pub const xmlFeature_XML_WITH_SCHEMAS : xmlFeature = 25 ; # [doc = " Schematron"] pub const xmlFeature_XML_WITH_SCHEMATRON : xmlFeature = 26 ; # [doc = " Loadable modules"] pub const xmlFeature_XML_WITH_MODULES : xmlFeature = 27 ; # [doc = " Debugging API"] pub const xmlFeature_XML_WITH_DEBUG : xmlFeature = 28 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_DEBUG_MEM : xmlFeature = 29 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_DEBUG_RUN : xmlFeature = 30 ; # [doc = " GZIP compression"] pub const xmlFeature_XML_WITH_ZLIB : xmlFeature = 31 ; # [doc = " ICU"] pub const xmlFeature_XML_WITH_ICU : xmlFeature = 32 ; # [doc = " @deprecated LZMA support was removed"] pub const xmlFeature_XML_WITH_LZMA : xmlFeature = 33 ; # [doc = " RELAXNG, since 2.14"] pub const xmlFeature_XML_WITH_RELAXNG : xmlFeature = 34 ; # [doc = " RELAXNG, since 2.14"] pub const xmlFeature_XML_WITH_NONE : xmlFeature = 99999 ; # [doc = " Used to examine the existence of features that can be enabled\n or disabled at compile-time.\n They used to be called XML_FEATURE_xxx but this clashed with Expat"] pub type xmlFeature = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlHasFeature (feature : xmlFeature) -> :: std :: os :: raw :: c_int ; } pub const xmlSchemaValidError_XML_SCHEMAS_ERR_OK : xmlSchemaValidError = 0 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOROOT : xmlSchemaValidError = 1 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_UNDECLAREDELEM : xmlSchemaValidError = 2 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTTOPLEVEL : xmlSchemaValidError = 3 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_MISSING : xmlSchemaValidError = 4 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_WRONGELEM : xmlSchemaValidError = 5 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTYPE : xmlSchemaValidError = 6 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOROLLBACK : xmlSchemaValidError = 7 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ISABSTRACT : xmlSchemaValidError = 8 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTEMPTY : xmlSchemaValidError = 9 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ELEMCONT : xmlSchemaValidError = 10 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_HAVEDEFAULT : xmlSchemaValidError = 11 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTNILLABLE : xmlSchemaValidError = 12 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_EXTRACONTENT : xmlSchemaValidError = 13 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INVALIDATTR : xmlSchemaValidError = 14 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INVALIDELEM : xmlSchemaValidError = 15 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTDETERMINIST : xmlSchemaValidError = 16 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_CONSTRUCT : xmlSchemaValidError = 17 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INTERNAL : xmlSchemaValidError = 18 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTSIMPLE : xmlSchemaValidError = 19 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ATTRUNKNOWN : xmlSchemaValidError = 20 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ATTRINVALID : xmlSchemaValidError = 21 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_VALUE : xmlSchemaValidError = 22 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_FACET : xmlSchemaValidError = 23 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ : xmlSchemaValidError = 24 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_XXX : xmlSchemaValidError = 25 ; # [doc = " This error codes are obsolete; not used any more."] pub type xmlSchemaValidError = :: std :: os :: raw :: c_uint ; pub const xmlSchemaValidOption_XML_SCHEMA_VAL_VC_I_CREATE : xmlSchemaValidOption = 1 ; # [doc = " This is the set of XML Schema validation options."] pub type xmlSchemaValidOption = :: std :: os :: raw :: c_uint ; # [doc = " XML schema"] pub type xmlSchema = _xmlSchema ; pub type xmlSchemaPtr = * mut xmlSchema ; # [doc = " Signature of an error callback from an XSD validation\n\n @param ctx  the validation context\n @param msg  the message\n @param ... extra arguments"] pub type xmlSchemaValidityErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Signature of a warning callback from an XSD validation\n\n @param ctx  the validation context\n @param msg  the message\n @param ... extra arguments"] pub type xmlSchemaValidityWarningFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaParserCtxt { _unused : [u8 ; 0] , } # [doc = " Schema parser context"] pub type xmlSchemaParserCtxt = _xmlSchemaParserCtxt ; pub type xmlSchemaParserCtxtPtr = * mut xmlSchemaParserCtxt ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaValidCtxt { _unused : [u8 ; 0] , } # [doc = " Schema validation context"] pub type xmlSchemaValidCtxt = _xmlSchemaValidCtxt ; pub type xmlSchemaValidCtxtPtr = * mut xmlSchemaValidCtxt ; # [doc = " A schemas validation locator, a callback called by the validator.\n This is used when file or node information are not available\n to find out what file and line number are affected\n\n @param ctx  user provided context\n @param file  returned file information\n @param line  returned line information\n @returns 0 in case of success and -1 in case of error"] pub type xmlSchemaValidityLocatorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , file : * mut * const :: std :: os :: raw :: c_char , line : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int > ; unsafe extern "C" { pub fn xmlSchemaNewParserCtxt (URL : * const :: std :: os :: raw :: c_char) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaNewMemParserCtxt (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaNewDocParserCtxt (doc : * mut xmlDoc) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaFreeParserCtxt (ctxt : * mut xmlSchemaParserCtxt) ; } unsafe extern "C" { pub fn xmlSchemaSetParserErrors (ctxt : * mut xmlSchemaParserCtxt , err : xmlSchemaValidityErrorFunc , warn : xmlSchemaValidityWarningFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaSetParserStructuredErrors (ctxt : * mut xmlSchemaParserCtxt , serror : xmlStructuredErrorFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaGetParserErrors (ctxt : * mut xmlSchemaParserCtxt , err : * mut xmlSchemaValidityErrorFunc , warn : * mut xmlSchemaValidityWarningFunc , ctx : * mut * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaSetResourceLoader (ctxt : * mut xmlSchemaParserCtxt , loader : xmlResourceLoader , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaIsValid (ctxt : * mut xmlSchemaValidCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaParse (ctxt : * mut xmlSchemaParserCtxt) -> * mut xmlSchema ; } unsafe extern "C" { pub fn xmlSchemaFree (schema : * mut xmlSchema) ; } unsafe extern "C" { pub fn xmlSchemaDump (output : * mut FILE , schema : * mut xmlSchema) ; } unsafe extern "C" { pub fn xmlSchemaSetValidErrors (ctxt : * mut xmlSchemaValidCtxt , err : xmlSchemaValidityErrorFunc , warn : xmlSchemaValidityWarningFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaSetValidStructuredErrors (ctxt : * mut xmlSchemaValidCtxt , serror : xmlStructuredErrorFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaGetValidErrors (ctxt : * mut xmlSchemaValidCtxt , err : * mut xmlSchemaValidityErrorFunc , warn : * mut xmlSchemaValidityWarningFunc , ctx : * mut * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaSetValidOptions (ctxt : * mut xmlSchemaValidCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateSetFilename (vctxt : * mut xmlSchemaValidCtxt , filename : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlSchemaValidCtxtGetOptions (ctxt : * mut xmlSchemaValidCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaNewValidCtxt (schema : * mut xmlSchema) -> * mut xmlSchemaValidCtxt ; } unsafe extern "C" { pub fn xmlSchemaFreeValidCtxt (ctxt : * mut xmlSchemaValidCtxt) ; } unsafe extern "C" { pub fn xmlSchemaValidateDoc (ctxt : * mut xmlSchemaValidCtxt , instance : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateOneElement (ctxt : * mut xmlSchemaValidCtxt , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateStream (ctxt : * mut xmlSchemaValidCtxt , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding , sax : * const xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFile (ctxt : * mut xmlSchemaValidCtxt , filename : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidCtxtGetParserCtxt (ctxt : * mut xmlSchemaValidCtxt) -> * mut xmlParserCtxt ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaSAXPlug { _unused : [u8 ; 0] , } # [doc = " Interface to insert Schemas SAX validation in a SAX stream"] pub type xmlSchemaSAXPlugStruct = _xmlSchemaSAXPlug ; pub type xmlSchemaSAXPlugPtr = * mut xmlSchemaSAXPlugStruct ; unsafe extern "C" { pub fn xmlSchemaSAXPlug (ctxt : * mut xmlSchemaValidCtxt , sax : * mut * mut xmlSAXHandler , user_data : * mut * mut :: std :: os :: raw :: c_void) -> * mut xmlSchemaSAXPlugStruct ; } unsafe extern "C" { pub fn xmlSchemaSAXUnplug (plug : * mut xmlSchemaSAXPlugStruct) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateSetLocator (vctxt : * mut xmlSchemaValidCtxt , f : xmlSchemaValidityLocatorFunc , ctxt : * mut :: std :: os :: raw :: c_void) ; } pub const xmlSchemaValType_XML_SCHEMAS_UNKNOWN : xmlSchemaValType = 0 ; pub const xmlSchemaValType_XML_SCHEMAS_STRING : xmlSchemaValType = 1 ; pub const xmlSchemaValType_XML_SCHEMAS_NORMSTRING : xmlSchemaValType = 2 ; pub const xmlSchemaValType_XML_SCHEMAS_DECIMAL : xmlSchemaValType = 3 ; pub const xmlSchemaValType_XML_SCHEMAS_TIME : xmlSchemaValType = 4 ; pub const xmlSchemaValType_XML_SCHEMAS_GDAY : xmlSchemaValType = 5 ; pub const xmlSchemaValType_XML_SCHEMAS_GMONTH : xmlSchemaValType = 6 ; pub const xmlSchemaValType_XML_SCHEMAS_GMONTHDAY : xmlSchemaValType = 7 ; pub const xmlSchemaValType_XML_SCHEMAS_GYEAR : xmlSchemaValType = 8 ; pub const xmlSchemaValType_XML_SCHEMAS_GYEARMONTH : xmlSchemaValType = 9 ; pub const xmlSchemaValType_XML_SCHEMAS_DATE : xmlSchemaValType = 10 ; pub const xmlSchemaValType_XML_SCHEMAS_DATETIME : xmlSchemaValType = 11 ; pub const xmlSchemaValType_XML_SCHEMAS_DURATION : xmlSchemaValType = 12 ; pub const xmlSchemaValType_XML_SCHEMAS_FLOAT : xmlSchemaValType = 13 ; pub const xmlSchemaValType_XML_SCHEMAS_DOUBLE : xmlSchemaValType = 14 ; pub const xmlSchemaValType_XML_SCHEMAS_BOOLEAN : xmlSchemaValType = 15 ; pub const xmlSchemaValType_XML_SCHEMAS_TOKEN : xmlSchemaValType = 16 ; pub const xmlSchemaValType_XML_SCHEMAS_LANGUAGE : xmlSchemaValType = 17 ; pub const xmlSchemaValType_XML_SCHEMAS_NMTOKEN : xmlSchemaValType = 18 ; pub const xmlSchemaValType_XML_SCHEMAS_NMTOKENS : xmlSchemaValType = 19 ; pub const xmlSchemaValType_XML_SCHEMAS_NAME : xmlSchemaValType = 20 ; pub const xmlSchemaValType_XML_SCHEMAS_QNAME : xmlSchemaValType = 21 ; pub const xmlSchemaValType_XML_SCHEMAS_NCNAME : xmlSchemaValType = 22 ; pub const xmlSchemaValType_XML_SCHEMAS_ID : xmlSchemaValType = 23 ; pub const xmlSchemaValType_XML_SCHEMAS_IDREF : xmlSchemaValType = 24 ; pub const xmlSchemaValType_XML_SCHEMAS_IDREFS : xmlSchemaValType = 25 ; pub const xmlSchemaValType_XML_SCHEMAS_ENTITY : xmlSchemaValType = 26 ; pub const xmlSchemaValType_XML_SCHEMAS_ENTITIES : xmlSchemaValType = 27 ; pub const xmlSchemaValType_XML_SCHEMAS_NOTATION : xmlSchemaValType = 28 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYURI : xmlSchemaValType = 29 ; pub const xmlSchemaValType_XML_SCHEMAS_INTEGER : xmlSchemaValType = 30 ; pub const xmlSchemaValType_XML_SCHEMAS_NPINTEGER : xmlSchemaValType = 31 ; pub const xmlSchemaValType_XML_SCHEMAS_NINTEGER : xmlSchemaValType = 32 ; pub const xmlSchemaValType_XML_SCHEMAS_NNINTEGER : xmlSchemaValType = 33 ; pub const xmlSchemaValType_XML_SCHEMAS_PINTEGER : xmlSchemaValType = 34 ; pub const xmlSchemaValType_XML_SCHEMAS_INT : xmlSchemaValType = 35 ; pub const xmlSchemaValType_XML_SCHEMAS_UINT : xmlSchemaValType = 36 ; pub const xmlSchemaValType_XML_SCHEMAS_LONG : xmlSchemaValType = 37 ; pub const xmlSchemaValType_XML_SCHEMAS_ULONG : xmlSchemaValType = 38 ; pub const xmlSchemaValType_XML_SCHEMAS_SHORT : xmlSchemaValType = 39 ; pub const xmlSchemaValType_XML_SCHEMAS_USHORT : xmlSchemaValType = 40 ; pub const xmlSchemaValType_XML_SCHEMAS_BYTE : xmlSchemaValType = 41 ; pub const xmlSchemaValType_XML_SCHEMAS_UBYTE : xmlSchemaValType = 42 ; pub const xmlSchemaValType_XML_SCHEMAS_HEXBINARY : xmlSchemaValType = 43 ; pub const xmlSchemaValType_XML_SCHEMAS_BASE64BINARY : xmlSchemaValType = 44 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYTYPE : xmlSchemaValType = 45 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYSIMPLETYPE : xmlSchemaValType = 46 ; # [doc = " Schema value type"] pub type xmlSchemaValType = :: std :: os :: raw :: c_uint ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_BASIC : xmlSchemaTypeType = 1 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ANY : xmlSchemaTypeType = 2 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_FACET : xmlSchemaTypeType = 3 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SIMPLE : xmlSchemaTypeType = 4 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_COMPLEX : xmlSchemaTypeType = 5 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SEQUENCE : xmlSchemaTypeType = 6 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_CHOICE : xmlSchemaTypeType = 7 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ALL : xmlSchemaTypeType = 8 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SIMPLE_CONTENT : xmlSchemaTypeType = 9 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_COMPLEX_CONTENT : xmlSchemaTypeType = 10 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_UR : xmlSchemaTypeType = 11 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_RESTRICTION : xmlSchemaTypeType = 12 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_EXTENSION : xmlSchemaTypeType = 13 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ELEMENT : xmlSchemaTypeType = 14 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTE : xmlSchemaTypeType = 15 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTEGROUP : xmlSchemaTypeType = 16 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_GROUP : xmlSchemaTypeType = 17 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_NOTATION : xmlSchemaTypeType = 18 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_LIST : xmlSchemaTypeType = 19 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_UNION : xmlSchemaTypeType = 20 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ANY_ATTRIBUTE : xmlSchemaTypeType = 21 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_UNIQUE : xmlSchemaTypeType = 22 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_KEY : xmlSchemaTypeType = 23 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_KEYREF : xmlSchemaTypeType = 24 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_PARTICLE : xmlSchemaTypeType = 25 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTE_USE : xmlSchemaTypeType = 26 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MININCLUSIVE : xmlSchemaTypeType = 1000 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MINEXCLUSIVE : xmlSchemaTypeType = 1001 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXINCLUSIVE : xmlSchemaTypeType = 1002 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXEXCLUSIVE : xmlSchemaTypeType = 1003 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_TOTALDIGITS : xmlSchemaTypeType = 1004 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_FRACTIONDIGITS : xmlSchemaTypeType = 1005 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_PATTERN : xmlSchemaTypeType = 1006 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_ENUMERATION : xmlSchemaTypeType = 1007 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_WHITESPACE : xmlSchemaTypeType = 1008 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_LENGTH : xmlSchemaTypeType = 1009 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXLENGTH : xmlSchemaTypeType = 1010 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MINLENGTH : xmlSchemaTypeType = 1011 ; pub const xmlSchemaTypeType_XML_SCHEMA_EXTRA_QNAMEREF : xmlSchemaTypeType = 2000 ; pub const xmlSchemaTypeType_XML_SCHEMA_EXTRA_ATTR_USE_PROHIB : xmlSchemaTypeType = 2001 ; # [doc = " XML Schemas defines multiple type of types."] pub type xmlSchemaTypeType = :: std :: os :: raw :: c_uint ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_UNKNOWN : xmlSchemaContentType = 0 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_EMPTY : xmlSchemaContentType = 1 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_ELEMENTS : xmlSchemaContentType = 2 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_MIXED : xmlSchemaContentType = 3 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_SIMPLE : xmlSchemaContentType = 4 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_MIXED_OR_ELEMENTS : xmlSchemaContentType = 5 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_BASIC : xmlSchemaContentType = 6 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_ANY : xmlSchemaContentType = 7 ; # [doc = " Schema content type"] pub type xmlSchemaContentType = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaVal { _unused : [u8 ; 0] , } # [doc = " Schema value"] pub type xmlSchemaVal = _xmlSchemaVal ; pub type xmlSchemaValPtr = * mut xmlSchemaVal ; # [doc = " Schema type"] pub type xmlSchemaType = _xmlSchemaType ; pub type xmlSchemaTypePtr = * mut xmlSchemaType ; # [doc = " Schema facet"] pub type xmlSchemaFacet = _xmlSchemaFacet ; pub type xmlSchemaFacetPtr = * mut xmlSchemaFacet ; # [doc = " Schema annotation"] pub type xmlSchemaAnnot = _xmlSchemaAnnot ; pub type xmlSchemaAnnotPtr = * mut xmlSchemaAnnot ; # [doc = " Annotation"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAnnot { pub next : * mut _xmlSchemaAnnot , pub content : * mut xmlNode , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAnnot"] [:: std :: mem :: size_of :: < _xmlSchemaAnnot > () - 16usize] ; ["Alignment of _xmlSchemaAnnot"] [:: std :: mem :: align_of :: < _xmlSchemaAnnot > () - 8usize] ; ["Offset of field: _xmlSchemaAnnot::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAnnot , next) - 0usize] ; ["Offset of field: _xmlSchemaAnnot::content"] [:: std :: mem :: offset_of ! (_xmlSchemaAnnot , content) - 8usize] ; } ; # [doc = " Schema attribute definition"] pub type xmlSchemaAttribute = _xmlSchemaAttribute ; pub type xmlSchemaAttributePtr = * mut xmlSchemaAttribute ; # [doc = " An attribute definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttribute { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaAttribute , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub typeName : * const xmlChar , pub typeNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub base : * mut xmlSchemaType , pub occurs : :: std :: os :: raw :: c_int , pub defValue : * const xmlChar , pub subtypes : * mut xmlSchemaType , pub node : * mut xmlNode , pub targetNamespace : * const xmlChar , pub flags : :: std :: os :: raw :: c_int , pub refPrefix : * const xmlChar , pub defVal : * mut xmlSchemaVal , pub refDecl : * mut xmlSchemaAttribute , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttribute"] [:: std :: mem :: size_of :: < _xmlSchemaAttribute > () - 152usize] ; ["Alignment of _xmlSchemaAttribute"] [:: std :: mem :: align_of :: < _xmlSchemaAttribute > () - 8usize] ; ["Offset of field: _xmlSchemaAttribute::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , type_) - 0usize] ; ["Offset of field: _xmlSchemaAttribute::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , next) - 8usize] ; ["Offset of field: _xmlSchemaAttribute::name"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , name) - 16usize] ; ["Offset of field: _xmlSchemaAttribute::id"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , id) - 24usize] ; ["Offset of field: _xmlSchemaAttribute::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , ref_) - 32usize] ; ["Offset of field: _xmlSchemaAttribute::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refNs) - 40usize] ; ["Offset of field: _xmlSchemaAttribute::typeName"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , typeName) - 48usize] ; ["Offset of field: _xmlSchemaAttribute::typeNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , typeNs) - 56usize] ; ["Offset of field: _xmlSchemaAttribute::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , annot) - 64usize] ; ["Offset of field: _xmlSchemaAttribute::base"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , base) - 72usize] ; ["Offset of field: _xmlSchemaAttribute::occurs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , occurs) - 80usize] ; ["Offset of field: _xmlSchemaAttribute::defValue"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , defValue) - 88usize] ; ["Offset of field: _xmlSchemaAttribute::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , subtypes) - 96usize] ; ["Offset of field: _xmlSchemaAttribute::node"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , node) - 104usize] ; ["Offset of field: _xmlSchemaAttribute::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , targetNamespace) - 112usize] ; ["Offset of field: _xmlSchemaAttribute::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , flags) - 120usize] ; ["Offset of field: _xmlSchemaAttribute::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refPrefix) - 128usize] ; ["Offset of field: _xmlSchemaAttribute::defVal"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , defVal) - 136usize] ; ["Offset of field: _xmlSchemaAttribute::refDecl"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refDecl) - 144usize] ; } ; # [doc = " Linked list of schema attributes"] pub type xmlSchemaAttributeLink = _xmlSchemaAttributeLink ; pub type xmlSchemaAttributeLinkPtr = * mut xmlSchemaAttributeLink ; # [doc = " Used to build a list of attribute uses on complexType definitions.\n WARNING: Deprecated; not used."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttributeLink { pub next : * mut _xmlSchemaAttributeLink , pub attr : * mut _xmlSchemaAttribute , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttributeLink"] [:: std :: mem :: size_of :: < _xmlSchemaAttributeLink > () - 16usize] ; ["Alignment of _xmlSchemaAttributeLink"] [:: std :: mem :: align_of :: < _xmlSchemaAttributeLink > () - 8usize] ; ["Offset of field: _xmlSchemaAttributeLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeLink , next) - 0usize] ; ["Offset of field: _xmlSchemaAttributeLink::attr"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeLink , attr) - 8usize] ; } ; # [doc = " Namespace wildcard"] pub type xmlSchemaWildcardNs = _xmlSchemaWildcardNs ; pub type xmlSchemaWildcardNsPtr = * mut xmlSchemaWildcardNs ; # [doc = " Used to build a list of namespaces on wildcards."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaWildcardNs { pub next : * mut _xmlSchemaWildcardNs , pub value : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaWildcardNs"] [:: std :: mem :: size_of :: < _xmlSchemaWildcardNs > () - 16usize] ; ["Alignment of _xmlSchemaWildcardNs"] [:: std :: mem :: align_of :: < _xmlSchemaWildcardNs > () - 8usize] ; ["Offset of field: _xmlSchemaWildcardNs::next"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcardNs , next) - 0usize] ; ["Offset of field: _xmlSchemaWildcardNs::value"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcardNs , value) - 8usize] ; } ; # [doc = " Name wildcard"] pub type xmlSchemaWildcard = _xmlSchemaWildcard ; pub type xmlSchemaWildcardPtr = * mut xmlSchemaWildcard ; # [doc = " A wildcard."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaWildcard { pub type_ : xmlSchemaTypeType , pub id : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub processContents : :: std :: os :: raw :: c_int , pub any : :: std :: os :: raw :: c_int , pub nsSet : * mut xmlSchemaWildcardNs , pub negNsSet : * mut xmlSchemaWildcardNs , pub flags : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaWildcard"] [:: std :: mem :: size_of :: < _xmlSchemaWildcard > () - 72usize] ; ["Alignment of _xmlSchemaWildcard"] [:: std :: mem :: align_of :: < _xmlSchemaWildcard > () - 8usize] ; ["Offset of field: _xmlSchemaWildcard::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , type_) - 0usize] ; ["Offset of field: _xmlSchemaWildcard::id"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , id) - 8usize] ; ["Offset of field: _xmlSchemaWildcard::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , annot) - 16usize] ; ["Offset of field: _xmlSchemaWildcard::node"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , node) - 24usize] ; ["Offset of field: _xmlSchemaWildcard::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , minOccurs) - 32usize] ; ["Offset of field: _xmlSchemaWildcard::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , maxOccurs) - 36usize] ; ["Offset of field: _xmlSchemaWildcard::processContents"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , processContents) - 40usize] ; ["Offset of field: _xmlSchemaWildcard::any"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , any) - 44usize] ; ["Offset of field: _xmlSchemaWildcard::nsSet"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , nsSet) - 48usize] ; ["Offset of field: _xmlSchemaWildcard::negNsSet"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , negNsSet) - 56usize] ; ["Offset of field: _xmlSchemaWildcard::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , flags) - 64usize] ; } ; # [doc = " Attribute group"] pub type xmlSchemaAttributeGroup = _xmlSchemaAttributeGroup ; pub type xmlSchemaAttributeGroupPtr = * mut xmlSchemaAttributeGroup ; # [doc = " An attribute group definition.\n\n xmlSchemaAttribute and xmlSchemaAttributeGroup start of structures\n must be kept similar"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttributeGroup { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaAttribute , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub flags : :: std :: os :: raw :: c_int , pub attributeWildcard : * mut xmlSchemaWildcard , pub refPrefix : * const xmlChar , pub refItem : * mut xmlSchemaAttributeGroup , pub targetNamespace : * const xmlChar , pub attrUses : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttributeGroup"] [:: std :: mem :: size_of :: < _xmlSchemaAttributeGroup > () - 120usize] ; ["Alignment of _xmlSchemaAttributeGroup"] [:: std :: mem :: align_of :: < _xmlSchemaAttributeGroup > () - 8usize] ; ["Offset of field: _xmlSchemaAttributeGroup::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , type_) - 0usize] ; ["Offset of field: _xmlSchemaAttributeGroup::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , next) - 8usize] ; ["Offset of field: _xmlSchemaAttributeGroup::name"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , name) - 16usize] ; ["Offset of field: _xmlSchemaAttributeGroup::id"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , id) - 24usize] ; ["Offset of field: _xmlSchemaAttributeGroup::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , ref_) - 32usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refNs) - 40usize] ; ["Offset of field: _xmlSchemaAttributeGroup::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , annot) - 48usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attributes) - 56usize] ; ["Offset of field: _xmlSchemaAttributeGroup::node"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , node) - 64usize] ; ["Offset of field: _xmlSchemaAttributeGroup::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , flags) - 72usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attributeWildcard"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attributeWildcard) - 80usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refPrefix) - 88usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refItem"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refItem) - 96usize] ; ["Offset of field: _xmlSchemaAttributeGroup::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , targetNamespace) - 104usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attrUses"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attrUses) - 112usize] ; } ; # [doc = " Linked list of schema types"] pub type xmlSchemaTypeLink = _xmlSchemaTypeLink ; pub type xmlSchemaTypeLinkPtr = * mut xmlSchemaTypeLink ; # [doc = " Used to build a list of types (e.g. member types of\n simpleType with variety \"union\")."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaTypeLink { pub next : * mut _xmlSchemaTypeLink , pub type_ : * mut xmlSchemaType , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaTypeLink"] [:: std :: mem :: size_of :: < _xmlSchemaTypeLink > () - 16usize] ; ["Alignment of _xmlSchemaTypeLink"] [:: std :: mem :: align_of :: < _xmlSchemaTypeLink > () - 8usize] ; ["Offset of field: _xmlSchemaTypeLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaTypeLink , next) - 0usize] ; ["Offset of field: _xmlSchemaTypeLink::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaTypeLink , type_) - 8usize] ; } ; # [doc = " Linked list of schema facets"] pub type xmlSchemaFacetLink = _xmlSchemaFacetLink ; pub type xmlSchemaFacetLinkPtr = * mut xmlSchemaFacetLink ; # [doc = " Used to build a list of facets."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaFacetLink { pub next : * mut _xmlSchemaFacetLink , pub facet : * mut xmlSchemaFacet , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaFacetLink"] [:: std :: mem :: size_of :: < _xmlSchemaFacetLink > () - 16usize] ; ["Alignment of _xmlSchemaFacetLink"] [:: std :: mem :: align_of :: < _xmlSchemaFacetLink > () - 8usize] ; ["Offset of field: _xmlSchemaFacetLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaFacetLink , next) - 0usize] ; ["Offset of field: _xmlSchemaFacetLink::facet"] [:: std :: mem :: offset_of ! (_xmlSchemaFacetLink , facet) - 8usize] ; } ; # [doc = " Schemas type definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaType { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaType , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub subtypes : * mut xmlSchemaType , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub flags : :: std :: os :: raw :: c_int , pub contentType : xmlSchemaContentType , pub base : * const xmlChar , pub baseNs : * const xmlChar , pub baseType : * mut xmlSchemaType , pub facets : * mut xmlSchemaFacet , pub redef : * mut _xmlSchemaType , pub recurse : :: std :: os :: raw :: c_int , pub attributeUses : * mut * mut xmlSchemaAttributeLink , pub attributeWildcard : * mut xmlSchemaWildcard , pub builtInType : :: std :: os :: raw :: c_int , pub memberTypes : * mut xmlSchemaTypeLink , pub facetSet : * mut xmlSchemaFacetLink , pub refPrefix : * const xmlChar , pub contentTypeDef : * mut xmlSchemaType , pub contModel : * mut xmlRegexp , pub targetNamespace : * const xmlChar , pub attrUses : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaType"] [:: std :: mem :: size_of :: < _xmlSchemaType > () - 224usize] ; ["Alignment of _xmlSchemaType"] [:: std :: mem :: align_of :: < _xmlSchemaType > () - 8usize] ; ["Offset of field: _xmlSchemaType::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaType , type_) - 0usize] ; ["Offset of field: _xmlSchemaType::next"] [:: std :: mem :: offset_of ! (_xmlSchemaType , next) - 8usize] ; ["Offset of field: _xmlSchemaType::name"] [:: std :: mem :: offset_of ! (_xmlSchemaType , name) - 16usize] ; ["Offset of field: _xmlSchemaType::id"] [:: std :: mem :: offset_of ! (_xmlSchemaType , id) - 24usize] ; ["Offset of field: _xmlSchemaType::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaType , ref_) - 32usize] ; ["Offset of field: _xmlSchemaType::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , refNs) - 40usize] ; ["Offset of field: _xmlSchemaType::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaType , annot) - 48usize] ; ["Offset of field: _xmlSchemaType::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , subtypes) - 56usize] ; ["Offset of field: _xmlSchemaType::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributes) - 64usize] ; ["Offset of field: _xmlSchemaType::node"] [:: std :: mem :: offset_of ! (_xmlSchemaType , node) - 72usize] ; ["Offset of field: _xmlSchemaType::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , minOccurs) - 80usize] ; ["Offset of field: _xmlSchemaType::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , maxOccurs) - 84usize] ; ["Offset of field: _xmlSchemaType::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaType , flags) - 88usize] ; ["Offset of field: _xmlSchemaType::contentType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contentType) - 92usize] ; ["Offset of field: _xmlSchemaType::base"] [:: std :: mem :: offset_of ! (_xmlSchemaType , base) - 96usize] ; ["Offset of field: _xmlSchemaType::baseNs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , baseNs) - 104usize] ; ["Offset of field: _xmlSchemaType::baseType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , baseType) - 112usize] ; ["Offset of field: _xmlSchemaType::facets"] [:: std :: mem :: offset_of ! (_xmlSchemaType , facets) - 120usize] ; ["Offset of field: _xmlSchemaType::redef"] [:: std :: mem :: offset_of ! (_xmlSchemaType , redef) - 128usize] ; ["Offset of field: _xmlSchemaType::recurse"] [:: std :: mem :: offset_of ! (_xmlSchemaType , recurse) - 136usize] ; ["Offset of field: _xmlSchemaType::attributeUses"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributeUses) - 144usize] ; ["Offset of field: _xmlSchemaType::attributeWildcard"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributeWildcard) - 152usize] ; ["Offset of field: _xmlSchemaType::builtInType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , builtInType) - 160usize] ; ["Offset of field: _xmlSchemaType::memberTypes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , memberTypes) - 168usize] ; ["Offset of field: _xmlSchemaType::facetSet"] [:: std :: mem :: offset_of ! (_xmlSchemaType , facetSet) - 176usize] ; ["Offset of field: _xmlSchemaType::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaType , refPrefix) - 184usize] ; ["Offset of field: _xmlSchemaType::contentTypeDef"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contentTypeDef) - 192usize] ; ["Offset of field: _xmlSchemaType::contModel"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contModel) - 200usize] ; ["Offset of field: _xmlSchemaType::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaType , targetNamespace) - 208usize] ; ["Offset of field: _xmlSchemaType::attrUses"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attrUses) - 216usize] ; } ; # [doc = " Schema element definition"] pub type xmlSchemaElement = _xmlSchemaElement ; pub type xmlSchemaElementPtr = * mut xmlSchemaElement ; # [doc = " An element definition.\n\n xmlSchemaType, xmlSchemaFacet and xmlSchemaElement start of\n structures must be kept similar"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaElement { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaType , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub subtypes : * mut xmlSchemaType , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub flags : :: std :: os :: raw :: c_int , pub targetNamespace : * const xmlChar , pub namedType : * const xmlChar , pub namedTypeNs : * const xmlChar , pub substGroup : * const xmlChar , pub substGroupNs : * const xmlChar , pub scope : * const xmlChar , pub value : * const xmlChar , pub refDecl : * mut _xmlSchemaElement , pub contModel : * mut xmlRegexp , pub contentType : xmlSchemaContentType , pub refPrefix : * const xmlChar , pub defVal : * mut xmlSchemaVal , pub idcs : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaElement"] [:: std :: mem :: size_of :: < _xmlSchemaElement > () - 200usize] ; ["Alignment of _xmlSchemaElement"] [:: std :: mem :: align_of :: < _xmlSchemaElement > () - 8usize] ; ["Offset of field: _xmlSchemaElement::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , type_) - 0usize] ; ["Offset of field: _xmlSchemaElement::next"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , next) - 8usize] ; ["Offset of field: _xmlSchemaElement::name"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , name) - 16usize] ; ["Offset of field: _xmlSchemaElement::id"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , id) - 24usize] ; ["Offset of field: _xmlSchemaElement::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , ref_) - 32usize] ; ["Offset of field: _xmlSchemaElement::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refNs) - 40usize] ; ["Offset of field: _xmlSchemaElement::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , annot) - 48usize] ; ["Offset of field: _xmlSchemaElement::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , subtypes) - 56usize] ; ["Offset of field: _xmlSchemaElement::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , attributes) - 64usize] ; ["Offset of field: _xmlSchemaElement::node"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , node) - 72usize] ; ["Offset of field: _xmlSchemaElement::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , minOccurs) - 80usize] ; ["Offset of field: _xmlSchemaElement::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , maxOccurs) - 84usize] ; ["Offset of field: _xmlSchemaElement::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , flags) - 88usize] ; ["Offset of field: _xmlSchemaElement::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , targetNamespace) - 96usize] ; ["Offset of field: _xmlSchemaElement::namedType"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , namedType) - 104usize] ; ["Offset of field: _xmlSchemaElement::namedTypeNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , namedTypeNs) - 112usize] ; ["Offset of field: _xmlSchemaElement::substGroup"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , substGroup) - 120usize] ; ["Offset of field: _xmlSchemaElement::substGroupNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , substGroupNs) - 128usize] ; ["Offset of field: _xmlSchemaElement::scope"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , scope) - 136usize] ; ["Offset of field: _xmlSchemaElement::value"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , value) - 144usize] ; ["Offset of field: _xmlSchemaElement::refDecl"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refDecl) - 152usize] ; ["Offset of field: _xmlSchemaElement::contModel"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , contModel) - 160usize] ; ["Offset of field: _xmlSchemaElement::contentType"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , contentType) - 168usize] ; ["Offset of field: _xmlSchemaElement::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refPrefix) - 176usize] ; ["Offset of field: _xmlSchemaElement::defVal"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , defVal) - 184usize] ; ["Offset of field: _xmlSchemaElement::idcs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , idcs) - 192usize] ; } ; # [doc = " A facet definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaFacet { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaFacet , pub value : * const xmlChar , pub id : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub node : * mut xmlNode , pub fixed : :: std :: os :: raw :: c_int , pub whitespace : :: std :: os :: raw :: c_int , pub val : * mut xmlSchemaVal , pub regexp : * mut xmlRegexp , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaFacet"] [:: std :: mem :: size_of :: < _xmlSchemaFacet > () - 72usize] ; ["Alignment of _xmlSchemaFacet"] [:: std :: mem :: align_of :: < _xmlSchemaFacet > () - 8usize] ; ["Offset of field: _xmlSchemaFacet::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , type_) - 0usize] ; ["Offset of field: _xmlSchemaFacet::next"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , next) - 8usize] ; ["Offset of field: _xmlSchemaFacet::value"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , value) - 16usize] ; ["Offset of field: _xmlSchemaFacet::id"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , id) - 24usize] ; ["Offset of field: _xmlSchemaFacet::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , annot) - 32usize] ; ["Offset of field: _xmlSchemaFacet::node"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , node) - 40usize] ; ["Offset of field: _xmlSchemaFacet::fixed"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , fixed) - 48usize] ; ["Offset of field: _xmlSchemaFacet::whitespace"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , whitespace) - 52usize] ; ["Offset of field: _xmlSchemaFacet::val"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , val) - 56usize] ; ["Offset of field: _xmlSchemaFacet::regexp"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , regexp) - 64usize] ; } ; # [doc = " Schema notation"] pub type xmlSchemaNotation = _xmlSchemaNotation ; pub type xmlSchemaNotationPtr = * mut xmlSchemaNotation ; # [doc = " A notation definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaNotation { pub type_ : xmlSchemaTypeType , pub name : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub identifier : * const xmlChar , pub targetNamespace : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaNotation"] [:: std :: mem :: size_of :: < _xmlSchemaNotation > () - 40usize] ; ["Alignment of _xmlSchemaNotation"] [:: std :: mem :: align_of :: < _xmlSchemaNotation > () - 8usize] ; ["Offset of field: _xmlSchemaNotation::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , type_) - 0usize] ; ["Offset of field: _xmlSchemaNotation::name"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , name) - 8usize] ; ["Offset of field: _xmlSchemaNotation::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , annot) - 16usize] ; ["Offset of field: _xmlSchemaNotation::identifier"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , identifier) - 24usize] ; ["Offset of field: _xmlSchemaNotation::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , targetNamespace) - 32usize] ; } ; # [doc = " A Schemas definition"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchema { pub name : * const xmlChar , pub targetNamespace : * const xmlChar , pub version : * const xmlChar , pub id : * const xmlChar , pub doc : * mut xmlDoc , pub annot : * mut xmlSchemaAnnot , pub flags : :: std :: os :: raw :: c_int , pub typeDecl : * mut xmlHashTable , pub attrDecl : * mut xmlHashTable , pub attrgrpDecl : * mut xmlHashTable , pub elemDecl : * mut xmlHashTable , pub notaDecl : * mut xmlHashTable , pub schemasImports : * mut xmlHashTable , pub _private : * mut :: std :: os :: raw :: c_void , pub groupDecl : * mut xmlHashTable , pub dict : * mut xmlDict , pub includes : * mut :: std :: os :: raw :: c_void , pub preserve : :: std :: os :: raw :: c_int , pub counter : :: std :: os :: raw :: c_int , pub idcDef : * mut xmlHashTable , pub volatiles : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchema"] [:: std :: mem :: size_of :: < _xmlSchema > () - 160usize] ; ["Alignment of _xmlSchema"] [:: std :: mem :: align_of :: < _xmlSchema > () - 8usize] ; ["Offset of field: _xmlSchema::name"] [:: std :: mem :: offset_of ! (_xmlSchema , name) - 0usize] ; ["Offset of field: _xmlSchema::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchema , targetNamespace) - 8usize] ; ["Offset of field: _xmlSchema::version"] [:: std :: mem :: offset_of ! (_xmlSchema , version) - 16usize] ; ["Offset of field: _xmlSchema::id"] [:: std :: mem :: offset_of ! (_xmlSchema , id) - 24usize] ; ["Offset of field: _xmlSchema::doc"] [:: std :: mem :: offset_of ! (_xmlSchema , doc) - 32usize] ; ["Offset of field: _xmlSchema::annot"] [:: std :: mem :: offset_of ! (_xmlSchema , annot) - 40usize] ; ["Offset of field: _xmlSchema::flags"] [:: std :: mem :: offset_of ! (_xmlSchema , flags) - 48usize] ; ["Offset of field: _xmlSchema::typeDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , typeDecl) - 56usize] ; ["Offset of field: _xmlSchema::attrDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , attrDecl) - 64usize] ; ["Offset of field: _xmlSchema::attrgrpDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , attrgrpDecl) - 72usize] ; ["Offset of field: _xmlSchema::elemDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , elemDecl) - 80usize] ; ["Offset of field: _xmlSchema::notaDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , notaDecl) - 88usize] ; ["Offset of field: _xmlSchema::schemasImports"] [:: std :: mem :: offset_of ! (_xmlSchema , schemasImports) - 96usize] ; ["Offset of field: _xmlSchema::_private"] [:: std :: mem :: offset_of ! (_xmlSchema , _private) - 104usize] ; ["Offset of field: _xmlSchema::groupDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , groupDecl) - 112usize] ; ["Offset of field: _xmlSchema::dict"] [:: std :: mem :: offset_of ! (_xmlSchema , dict) - 120usize] ; ["Offset of field: _xmlSchema::includes"] [:: std :: mem :: offset_of ! (_xmlSchema , includes) - 128usize] ; ["Offset of field: _xmlSchema::preserve"] [:: std :: mem :: offset_of ! (_xmlSchema , preserve) - 136usize] ; ["Offset of field: _xmlSchema::counter"] [:: std :: mem :: offset_of ! (_xmlSchema , counter) - 140usize] ; ["Offset of field: _xmlSchema::idcDef"] [:: std :: mem :: offset_of ! (_xmlSchema , idcDef) - 144usize] ; ["Offset of field: _xmlSchema::volatiles"] [:: std :: mem :: offset_of ! (_xmlSchema , volatiles) - 152usize] ; } ; unsafe extern "C" { pub fn xmlSchemaFreeType (type_ : * mut xmlSchemaType) ; } unsafe extern "C" { pub fn xmlSchemaFreeWildcard (wildcard : * mut xmlSchemaWildcard) ; } pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_UNKNOWN : xmlSchemaWhitespaceValueType = 0 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_PRESERVE : xmlSchemaWhitespaceValueType = 1 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_REPLACE : xmlSchemaWhitespaceValueType = 2 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_COLLAPSE : xmlSchemaWhitespaceValueType = 3 ; # [doc = " Schema whitespace value type"] pub type xmlSchemaWhitespaceValueType = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlSchemaInitTypes () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCleanupTypes () ; } unsafe extern "C" { pub fn xmlSchemaGetPredefinedType (name : * const xmlChar , ns : * const xmlChar) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaValidatePredefinedType (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValPredefTypeNode (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal , node : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFacet (base : * mut xmlSchemaType , facet : * mut xmlSchemaFacet , value : * const xmlChar , val : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFacetWhtsp (facet : * mut xmlSchemaFacet , fws : xmlSchemaWhitespaceValueType , valType : xmlSchemaValType , value : * const xmlChar , val : * mut xmlSchemaVal , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaFreeValue (val : * mut xmlSchemaVal) ; } unsafe extern "C" { pub fn xmlSchemaNewFacet () -> * mut xmlSchemaFacet ; } unsafe extern "C" { pub fn xmlSchemaCheckFacet (facet : * mut xmlSchemaFacet , typeDecl : * mut xmlSchemaType , ctxt : * mut xmlSchemaParserCtxt , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaFreeFacet (facet : * mut xmlSchemaFacet) ; } unsafe extern "C" { pub fn xmlSchemaCompareValues (x : * mut xmlSchemaVal , y : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetBuiltInListSimpleTypeItemType (type_ : * mut xmlSchemaType) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaValidateListSimpleTypeFacet (facet : * mut xmlSchemaFacet , value : * const xmlChar , actualLen : :: std :: os :: raw :: c_ulong , expectedLen : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetBuiltInType (type_ : xmlSchemaValType) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaIsBuiltInTypeFacet (type_ : * mut xmlSchemaType , facetType : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCollapseString (value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSchemaWhiteSpaceReplace (value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSchemaGetFacetValueAsULong (facet : * mut xmlSchemaFacet) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlSchemaValidateLengthFacet (type_ : * mut xmlSchemaType , facet : * mut xmlSchemaFacet , value : * const xmlChar , val : * mut xmlSchemaVal , length : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateLengthFacetWhtsp (facet : * mut xmlSchemaFacet , valType : xmlSchemaValType , value : * const xmlChar , val : * mut xmlSchemaVal , length : * mut :: std :: os :: raw :: c_ulong , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValPredefTypeNodeNoNorm (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal , node : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetCanonValue (val : * mut xmlSchemaVal , retValue : * mut * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetCanonValueWhtsp (val : * mut xmlSchemaVal , retValue : * mut * const xmlChar , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValueAppend (prev : * mut xmlSchemaVal , cur : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValueGetNext (cur : * mut xmlSchemaVal) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaValueGetAsString (val : * mut xmlSchemaVal) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSchemaValueGetAsBoolean (val : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaNewStringValue (type_ : xmlSchemaValType , value : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaNewNOTATIONValue (name : * const xmlChar , ns : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaNewQNameValue (namespaceName : * const xmlChar , localName : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaCompareValuesWhtsp (x : * mut xmlSchemaVal , xws : xmlSchemaWhitespaceValueType , y : * mut xmlSchemaVal , yws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCopyValue (val : * mut xmlSchemaVal) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaGetValType (val : * mut xmlSchemaVal) -> xmlSchemaValType ; } pub type __builtin_va_list = [__va_list_tag ; 1usize] ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __va_list_tag { pub gp_offset : :: std :: os :: raw :: c_uint , pub fp_offset : :: std :: os :: raw :: c_uint , pub overflow_arg_area : * mut :: std :: os :: raw :: c_void , pub reg_save_area : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __va_list_tag"] [:: std :: mem :: size_of :: < __va_list_tag > () - 24usize] ; ["Alignment of __va_list_tag"] [:: std :: mem :: align_of :: < __va_list_tag > () - 8usize] ; ["Offset of field: __va_list_tag::gp_offset"] [:: std :: mem :: offset_of ! (__va_list_tag , gp_offset) - 0usize] ; ["Offset of field: __va_list_tag::fp_offset"] [:: std :: mem :: offset_of ! (__va_list_tag , fp_offset) - 4usize] ; ["Offset of field: __va_list_tag::overflow_arg_area"] [:: std :: mem :: offset_of ! (__va_list_tag , overflow_arg_area) - 8usize] ; ["Offset of field: __va_list_tag::reg_save_area"] [:: std :: mem :: offset_of ! (__va_list_tag , reg_save_area) - 16usize] ; } ; # [doc = " dict used to allocate names if any"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDict { pub _address : u8 , }
[INFO] [stdout] 3 + # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] fn extract_bit (byte : u8 , index : usize) -> bool { let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; Self :: extract_bit (byte , index) } # [inline] pub unsafe fn raw_get_bit (this : * const Self , index : usize) -> bool { debug_assert ! (index / 8 < core :: mem :: size_of ::< Storage > ()) ; let byte_index = index / 8 ; let byte = unsafe { * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) } ; Self :: extract_bit (byte , index) } # [inline] fn change_bit (byte : u8 , index : usize , val : bool) -> u8 { let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { byte | mask } else { byte & ! mask } } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; * byte = Self :: change_bit (* byte , index , val) ; } # [inline] pub unsafe fn raw_set_bit (this : * mut Self , index : usize , val : bool) { debug_assert ! (index / 8 < core :: mem :: size_of ::< Storage > ()) ; let byte_index = index / 8 ; let byte = unsafe { (core :: ptr :: addr_of_mut ! ((* this) . storage) as * mut u8) . offset (byte_index as isize) } ; unsafe { * byte = Self :: change_bit (* byte , index , val) } ; } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub unsafe fn raw_get (this : * const Self , bit_offset : usize , bit_width : u8 ,) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < core :: mem :: size_of ::< Storage > ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= core :: mem :: size_of ::< Storage > ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if unsafe { Self :: raw_get_bit (this , i + bit_offset) } { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } # [inline] pub unsafe fn raw_set (this : * mut Self , bit_offset : usize , bit_width : u8 , val : u64 ,) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < core :: mem :: size_of ::< Storage > ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= core :: mem :: size_of ::< Storage > ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; unsafe { Self :: raw_set_bit (this , index + bit_offset , val_bit_is_set) } ; } } } # [derive (PartialEq , Copy , Clone , Hash , Debug , Default)] # [repr (C)] pub struct __BindgenComplex < T > { pub re : T , pub im : T } pub const LIBXML_DOTTED_VERSION : & [u8 ; 7] = b"2.15.2\0" ; pub const LIBXML_VERSION : u32 = 21502 ; pub const LIBXML_VERSION_STRING : & [u8 ; 6] = b"21502\0" ; pub const LIBXML_VERSION_EXTRA : & [u8 ; 1] = b"\0" ; pub const LIBXML_MODULE_EXTENSION : & [u8 ; 4] = b".so\0" ; pub const _STDIO_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2Y : u32 = 0 ; pub const __GLIBC_USE_ISOC23 : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 202405 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __USE_XOPEN2K24 : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_TIME_BITS64 : u32 = 1 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const __GLIBC_USE_C23_STRTOL : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 43 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C23 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C23 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _____fpos_t_defined : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _____fpos64_t_defined : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const __struct_FILE_defined : u32 = 1 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const __cookie_io_functions_t_defined : u32 = 1 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; pub const EOF : i32 = - 1 ; pub const SEEK_SET : u32 = 0 ; pub const SEEK_CUR : u32 = 1 ; pub const SEEK_END : u32 = 2 ; pub const P_tmpdir : & [u8 ; 5] = b"/tmp\0" ; pub const L_tmpnam : u32 = 20 ; pub const TMP_MAX : u32 = 238328 ; pub const _BITS_STDIO_LIM_H : u32 = 1 ; pub const FILENAME_MAX : u32 = 4096 ; pub const L_ctermid : u32 = 9 ; pub const FOPEN_MAX : u32 = 16 ; pub const __HAVE_FLOAT128 : u32 = 1 ; pub const __HAVE_DISTINCT_FLOAT128 : u32 = 1 ; pub const __HAVE_FLOAT64X : u32 = 1 ; pub const __HAVE_FLOAT64X_LONG_DOUBLE : u32 = 1 ; pub const __HAVE_FLOAT16 : u32 = 0 ; pub const __HAVE_FLOAT32 : u32 = 1 ; pub const __HAVE_FLOAT64 : u32 = 1 ; pub const __HAVE_FLOAT32X : u32 = 1 ; pub const __HAVE_FLOAT128X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT16 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT128X : u32 = 0 ; pub const __HAVE_FLOATN_NOT_TYPEDEF : u32 = 0 ; pub const _LIBC_LIMITS_H_ : u32 = 1 ; pub const MB_LEN_MAX : u32 = 16 ; pub const _BITS_POSIX1_LIM_H : u32 = 1 ; pub const _POSIX_AIO_LISTIO_MAX : u32 = 2 ; pub const _POSIX_AIO_MAX : u32 = 1 ; pub const _POSIX_ARG_MAX : u32 = 4096 ; pub const _POSIX_CHILD_MAX : u32 = 25 ; pub const _POSIX_DELAYTIMER_MAX : u32 = 32 ; pub const _POSIX_HOST_NAME_MAX : u32 = 255 ; pub const _POSIX_LINK_MAX : u32 = 8 ; pub const _POSIX_LOGIN_NAME_MAX : u32 = 9 ; pub const _POSIX_MAX_CANON : u32 = 255 ; pub const _POSIX_MAX_INPUT : u32 = 255 ; pub const _POSIX_MQ_OPEN_MAX : u32 = 8 ; pub const _POSIX_MQ_PRIO_MAX : u32 = 32 ; pub const _POSIX_NAME_MAX : u32 = 14 ; pub const _POSIX_NGROUPS_MAX : u32 = 8 ; pub const _POSIX_OPEN_MAX : u32 = 20 ; pub const _POSIX_PATH_MAX : u32 = 256 ; pub const _POSIX_PIPE_BUF : u32 = 512 ; pub const _POSIX_RE_DUP_MAX : u32 = 255 ; pub const _POSIX_RTSIG_MAX : u32 = 8 ; pub const _POSIX_SEM_NSEMS_MAX : u32 = 256 ; pub const _POSIX_SEM_VALUE_MAX : u32 = 32767 ; pub const _POSIX_SIGQUEUE_MAX : u32 = 32 ; pub const _POSIX_SSIZE_MAX : u32 = 32767 ; pub const _POSIX_STREAM_MAX : u32 = 8 ; pub const _POSIX_SYMLINK_MAX : u32 = 255 ; pub const _POSIX_SYMLOOP_MAX : u32 = 8 ; pub const _POSIX_TIMER_MAX : u32 = 32 ; pub const _POSIX_TTY_NAME_MAX : u32 = 9 ; pub const _POSIX_TZNAME_MAX : u32 = 6 ; pub const _POSIX_CLOCKRES_MIN : u32 = 20000000 ; pub const NR_OPEN : u32 = 1024 ; pub const NGROUPS_MAX : u32 = 65536 ; pub const ARG_MAX : u32 = 131072 ; pub const LINK_MAX : u32 = 127 ; pub const MAX_CANON : u32 = 255 ; pub const MAX_INPUT : u32 = 255 ; pub const NAME_MAX : u32 = 255 ; pub const PATH_MAX : u32 = 4096 ; pub const PIPE_BUF : u32 = 4096 ; pub const XATTR_NAME_MAX : u32 = 255 ; pub const XATTR_SIZE_MAX : u32 = 65536 ; pub const XATTR_LIST_MAX : u32 = 65536 ; pub const RTSIG_MAX : u32 = 32 ; pub const _POSIX_THREAD_KEYS_MAX : u32 = 128 ; pub const PTHREAD_KEYS_MAX : u32 = 1024 ; pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const PTHREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const _POSIX_THREAD_THREADS_MAX : u32 = 64 ; pub const AIO_PRIO_DELTA_MAX : u32 = 20 ; pub const PTHREAD_STACK_MIN : u32 = 16384 ; pub const DELAYTIMER_MAX : u32 = 2147483647 ; pub const TTY_NAME_MAX : u32 = 32 ; pub const LOGIN_NAME_MAX : u32 = 256 ; pub const HOST_NAME_MAX : u32 = 64 ; pub const MQ_PRIO_MAX : u32 = 32768 ; pub const SEM_VALUE_MAX : u32 = 2147483647 ; pub const _BITS_POSIX2_LIM_H : u32 = 1 ; pub const _POSIX2_BC_BASE_MAX : u32 = 99 ; pub const _POSIX2_BC_DIM_MAX : u32 = 2048 ; pub const _POSIX2_BC_SCALE_MAX : u32 = 99 ; pub const _POSIX2_BC_STRING_MAX : u32 = 1000 ; pub const _POSIX2_COLL_WEIGHTS_MAX : u32 = 2 ; pub const _POSIX2_EXPR_NEST_MAX : u32 = 32 ; pub const _POSIX2_LINE_MAX : u32 = 2048 ; pub const _POSIX2_RE_DUP_MAX : u32 = 255 ; pub const _POSIX2_CHARCLASS_NAME_MAX : u32 = 14 ; pub const BC_BASE_MAX : u32 = 99 ; pub const BC_DIM_MAX : u32 = 2048 ; pub const BC_SCALE_MAX : u32 = 99 ; pub const BC_STRING_MAX : u32 = 1000 ; pub const COLL_WEIGHTS_MAX : u32 = 255 ; pub const EXPR_NEST_MAX : u32 = 32 ; pub const LINE_MAX : u32 = 2048 ; pub const CHARCLASS_NAME_MAX : u32 = 2048 ; pub const RE_DUP_MAX : u32 = 32767 ; pub const xmlDefaultBufferSize : u32 = 4096 ; pub const XML_DOCB_DOCUMENT_NODE : u32 = 21 ; pub const XML_DEFAULT_VERSION : & [u8 ; 4] = b"1.0\0" ; pub const XML_DETECT_IDS : u32 = 2 ; pub const XML_COMPLETE_ATTRS : u32 = 4 ; pub const XML_SKIP_IDS : u32 = 8 ; pub const XML_SAX2_MAGIC : u32 = 3740122799 ; pub const XML_SCHEMAS_ANYATTR_SKIP : u32 = 1 ; pub const XML_SCHEMAS_ANYATTR_LAX : u32 = 2 ; pub const XML_SCHEMAS_ANYATTR_STRICT : u32 = 3 ; pub const XML_SCHEMAS_ANY_SKIP : u32 = 1 ; pub const XML_SCHEMAS_ANY_LAX : u32 = 2 ; pub const XML_SCHEMAS_ANY_STRICT : u32 = 3 ; pub const XML_SCHEMAS_ATTR_USE_PROHIBITED : u32 = 0 ; pub const XML_SCHEMAS_ATTR_USE_REQUIRED : u32 = 1 ; pub const XML_SCHEMAS_ATTR_USE_OPTIONAL : u32 = 2 ; pub const XML_SCHEMAS_ATTR_GLOBAL : u32 = 1 ; pub const XML_SCHEMAS_ATTR_NSDEFAULT : u32 = 128 ; pub const XML_SCHEMAS_ATTR_INTERNAL_RESOLVED : u32 = 256 ; pub const XML_SCHEMAS_ATTR_FIXED : u32 = 512 ; pub const XML_SCHEMAS_WILDCARD_COMPLETE : u32 = 1 ; pub const XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED : u32 = 1 ; pub const XML_SCHEMAS_ATTRGROUP_GLOBAL : u32 = 2 ; pub const XML_SCHEMAS_ATTRGROUP_MARKED : u32 = 4 ; pub const XML_SCHEMAS_ATTRGROUP_REDEFINED : u32 = 8 ; pub const XML_SCHEMAS_ATTRGROUP_HAS_REFS : u32 = 16 ; pub const XML_SCHEMAS_TYPE_MIXED : u32 = 1 ; pub const XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION : u32 = 2 ; pub const XML_SCHEMAS_TYPE_DERIVATION_METHOD_RESTRICTION : u32 = 4 ; pub const XML_SCHEMAS_TYPE_GLOBAL : u32 = 8 ; pub const XML_SCHEMAS_TYPE_OWNED_ATTR_WILDCARD : u32 = 16 ; pub const XML_SCHEMAS_TYPE_VARIETY_ABSENT : u32 = 32 ; pub const XML_SCHEMAS_TYPE_VARIETY_LIST : u32 = 64 ; pub const XML_SCHEMAS_TYPE_VARIETY_UNION : u32 = 128 ; pub const XML_SCHEMAS_TYPE_VARIETY_ATOMIC : u32 = 256 ; pub const XML_SCHEMAS_TYPE_FINAL_EXTENSION : u32 = 512 ; pub const XML_SCHEMAS_TYPE_FINAL_RESTRICTION : u32 = 1024 ; pub const XML_SCHEMAS_TYPE_FINAL_LIST : u32 = 2048 ; pub const XML_SCHEMAS_TYPE_FINAL_UNION : u32 = 4096 ; pub const XML_SCHEMAS_TYPE_FINAL_DEFAULT : u32 = 8192 ; pub const XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE : u32 = 16384 ; pub const XML_SCHEMAS_TYPE_MARKED : u32 = 65536 ; pub const XML_SCHEMAS_TYPE_BLOCK_DEFAULT : u32 = 131072 ; pub const XML_SCHEMAS_TYPE_BLOCK_EXTENSION : u32 = 262144 ; pub const XML_SCHEMAS_TYPE_BLOCK_RESTRICTION : u32 = 524288 ; pub const XML_SCHEMAS_TYPE_ABSTRACT : u32 = 1048576 ; pub const XML_SCHEMAS_TYPE_FACETSNEEDVALUE : u32 = 2097152 ; pub const XML_SCHEMAS_TYPE_INTERNAL_RESOLVED : u32 = 4194304 ; pub const XML_SCHEMAS_TYPE_INTERNAL_INVALID : u32 = 8388608 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_PRESERVE : u32 = 16777216 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_REPLACE : u32 = 33554432 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_COLLAPSE : u32 = 67108864 ; pub const XML_SCHEMAS_TYPE_HAS_FACETS : u32 = 134217728 ; pub const XML_SCHEMAS_TYPE_NORMVALUENEEDED : u32 = 268435456 ; pub const XML_SCHEMAS_TYPE_FIXUP_1 : u32 = 536870912 ; pub const XML_SCHEMAS_TYPE_REDEFINED : u32 = 1073741824 ; pub const XML_SCHEMAS_ELEM_NILLABLE : u32 = 1 ; pub const XML_SCHEMAS_ELEM_GLOBAL : u32 = 2 ; pub const XML_SCHEMAS_ELEM_DEFAULT : u32 = 4 ; pub const XML_SCHEMAS_ELEM_FIXED : u32 = 8 ; pub const XML_SCHEMAS_ELEM_ABSTRACT : u32 = 16 ; pub const XML_SCHEMAS_ELEM_TOPLEVEL : u32 = 32 ; pub const XML_SCHEMAS_ELEM_REF : u32 = 64 ; pub const XML_SCHEMAS_ELEM_NSDEFAULT : u32 = 128 ; pub const XML_SCHEMAS_ELEM_INTERNAL_RESOLVED : u32 = 256 ; pub const XML_SCHEMAS_ELEM_CIRCULAR : u32 = 512 ; pub const XML_SCHEMAS_ELEM_BLOCK_ABSENT : u32 = 1024 ; pub const XML_SCHEMAS_ELEM_BLOCK_EXTENSION : u32 = 2048 ; pub const XML_SCHEMAS_ELEM_BLOCK_RESTRICTION : u32 = 4096 ; pub const XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION : u32 = 8192 ; pub const XML_SCHEMAS_ELEM_FINAL_ABSENT : u32 = 16384 ; pub const XML_SCHEMAS_ELEM_FINAL_EXTENSION : u32 = 32768 ; pub const XML_SCHEMAS_ELEM_FINAL_RESTRICTION : u32 = 65536 ; pub const XML_SCHEMAS_ELEM_SUBST_GROUP_HEAD : u32 = 131072 ; pub const XML_SCHEMAS_ELEM_INTERNAL_CHECKED : u32 = 262144 ; pub const XML_SCHEMAS_FACET_UNKNOWN : u32 = 0 ; pub const XML_SCHEMAS_FACET_PRESERVE : u32 = 1 ; pub const XML_SCHEMAS_FACET_REPLACE : u32 = 2 ; pub const XML_SCHEMAS_FACET_COLLAPSE : u32 = 3 ; pub const XML_SCHEMAS_QUALIF_ELEM : u32 = 1 ; pub const XML_SCHEMAS_QUALIF_ATTR : u32 = 2 ; pub const XML_SCHEMAS_FINAL_DEFAULT_EXTENSION : u32 = 4 ; pub const XML_SCHEMAS_FINAL_DEFAULT_RESTRICTION : u32 = 8 ; pub const XML_SCHEMAS_FINAL_DEFAULT_LIST : u32 = 16 ; pub const XML_SCHEMAS_FINAL_DEFAULT_UNION : u32 = 32 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_EXTENSION : u32 = 64 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_RESTRICTION : u32 = 128 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_SUBSTITUTION : u32 = 256 ; pub const XML_SCHEMAS_INCLUDING_CONVERT_NS : u32 = 512 ; unsafe extern "C" { pub fn xmlCheckVersion (version : :: std :: os :: raw :: c_int) ; } pub type __gnuc_va_list = __builtin_va_list ; pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [:: std :: os :: raw :: c_int ; 2usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __fsid_t"] [:: std :: mem :: size_of :: < __fsid_t > () - 8usize] ; ["Alignment of __fsid_t"] [:: std :: mem :: align_of :: < __fsid_t > () - 4usize] ; ["Offset of field: __fsid_t::__val"] [:: std :: mem :: offset_of ! (__fsid_t , __val) - 0usize] ; } ; pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __suseconds64_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Copy , Clone)] pub struct __mbstate_t { pub __count : :: std :: os :: raw :: c_int , pub __value : __mbstate_t__bindgen_ty_1 , } # [repr (C)] # [derive (Copy , Clone)] pub union __mbstate_t__bindgen_ty_1 { pub __wch : :: std :: os :: raw :: c_uint , pub __wchb : [:: std :: os :: raw :: c_char ; 4usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __mbstate_t__bindgen_ty_1"] [:: std :: mem :: size_of :: < __mbstate_t__bindgen_ty_1 > () - 4usize] ; ["Alignment of __mbstate_t__bindgen_ty_1"] [:: std :: mem :: align_of :: < __mbstate_t__bindgen_ty_1 > () - 4usize] ; ["Offset of field: __mbstate_t__bindgen_ty_1::__wch"] [:: std :: mem :: offset_of ! (__mbstate_t__bindgen_ty_1 , __wch) - 0usize] ; ["Offset of field: __mbstate_t__bindgen_ty_1::__wchb"] [:: std :: mem :: offset_of ! (__mbstate_t__bindgen_ty_1 , __wchb) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __mbstate_t"] [:: std :: mem :: size_of :: < __mbstate_t > () - 8usize] ; ["Alignment of __mbstate_t"] [:: std :: mem :: align_of :: < __mbstate_t > () - 4usize] ; ["Offset of field: __mbstate_t::__count"] [:: std :: mem :: offset_of ! (__mbstate_t , __count) - 0usize] ; ["Offset of field: __mbstate_t::__value"] [:: std :: mem :: offset_of ! (__mbstate_t , __value) - 4usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos_t { pub __pos : __off_t , pub __state : __mbstate_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _G_fpos_t"] [:: std :: mem :: size_of :: < _G_fpos_t > () - 16usize] ; ["Alignment of _G_fpos_t"] [:: std :: mem :: align_of :: < _G_fpos_t > () - 8usize] ; ["Offset of field: _G_fpos_t::__pos"] [:: std :: mem :: offset_of ! (_G_fpos_t , __pos) - 0usize] ; ["Offset of field: _G_fpos_t::__state"] [:: std :: mem :: offset_of ! (_G_fpos_t , __state) - 8usize] ; } ; pub type __fpos_t = _G_fpos_t ; # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos64_t { pub __pos : __off64_t , pub __state : __mbstate_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _G_fpos64_t"] [:: std :: mem :: size_of :: < _G_fpos64_t > () - 16usize] ; ["Alignment of _G_fpos64_t"] [:: std :: mem :: align_of :: < _G_fpos64_t > () - 8usize] ; ["Offset of field: _G_fpos64_t::__pos"] [:: std :: mem :: offset_of ! (_G_fpos64_t , __pos) - 0usize] ; ["Offset of field: _G_fpos64_t::__state"] [:: std :: mem :: offset_of ! (_G_fpos64_t , __state) - 8usize] ; } ; pub type __fpos64_t = _G_fpos64_t ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: std :: os :: raw :: c_int , pub _IO_read_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_read_end : * mut :: std :: os :: raw :: c_char , pub _IO_read_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_write_end : * mut :: std :: os :: raw :: c_char , pub _IO_buf_base : * mut :: std :: os :: raw :: c_char , pub _IO_buf_end : * mut :: std :: os :: raw :: c_char , pub _IO_save_base : * mut :: std :: os :: raw :: c_char , pub _IO_backup_base : * mut :: std :: os :: raw :: c_char , pub _IO_save_end : * mut :: std :: os :: raw :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: std :: os :: raw :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: std :: os :: raw :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: std :: os :: raw :: c_ushort , pub _vtable_offset : :: std :: os :: raw :: c_schar , pub _shortbuf : [:: std :: os :: raw :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: std :: os :: raw :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: std :: os :: raw :: c_int , pub _unused3 : :: std :: os :: raw :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: std :: os :: raw :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: std :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: std :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: std :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: std :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: std :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: std :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: std :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: std :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: std :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: std :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: std :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: std :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: std :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: std :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: std :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: std :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: std :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: std :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: std :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: std :: os :: raw :: c_int { unsafe { u32::cast_signed (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: std :: os :: raw :: c_int) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub unsafe fn _flags2_raw (this : * const Self) -> :: std :: os :: raw :: c_int { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 3usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 0usize , 24u8 ,) as u32) } } # [inline] pub unsafe fn set__flags2_raw (this : * mut Self , val : :: std :: os :: raw :: c_int) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 3usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 0usize , 24u8 , val as u64 ,) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: std :: os :: raw :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { :: std :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } pub type cookie_read_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_write_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_seek_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; pub type cookie_close_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_cookie_io_functions_t { pub read : cookie_read_function_t , pub write : cookie_write_function_t , pub seek : cookie_seek_function_t , pub close : cookie_close_function_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_cookie_io_functions_t"] [:: std :: mem :: size_of :: < _IO_cookie_io_functions_t > () - 32usize] ; ["Alignment of _IO_cookie_io_functions_t"] [:: std :: mem :: align_of :: < _IO_cookie_io_functions_t > () - 8usize] ; ["Offset of field: _IO_cookie_io_functions_t::read"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , read) - 0usize] ; ["Offset of field: _IO_cookie_io_functions_t::write"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , write) - 8usize] ; ["Offset of field: _IO_cookie_io_functions_t::seek"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , seek) - 16usize] ; ["Offset of field: _IO_cookie_io_functions_t::close"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , close) - 24usize] ; } ; pub type cookie_io_functions_t = _IO_cookie_io_functions_t ; pub type va_list = __gnuc_va_list ; pub type off_t = __off_t ; pub type fpos_t = __fpos_t ; unsafe extern "C" { pub static mut stdin : * mut FILE ; } unsafe extern "C" { pub static mut stdout : * mut FILE ; } unsafe extern "C" { pub static mut stderr : * mut FILE ; } unsafe extern "C" { pub fn remove (__filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn rename (__old : * const :: std :: os :: raw :: c_char , __new : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn renameat (__oldfd : :: std :: os :: raw :: c_int , __old : * const :: std :: os :: raw :: c_char , __newfd : :: std :: os :: raw :: c_int , __new : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fclose (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn tmpfile () -> * mut FILE ; } unsafe extern "C" { pub fn tmpnam (arg1 : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn tmpnam_r (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn tempnam (__dir : * const :: std :: os :: raw :: c_char , __pfx : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn fflush (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fflush_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn freopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> * mut FILE ; } unsafe extern "C" { pub fn fdopen (__fd : :: std :: os :: raw :: c_int , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn fopencookie (__magic_cookie : * mut :: std :: os :: raw :: c_void , __modes : * const :: std :: os :: raw :: c_char , __io_funcs : cookie_io_functions_t) -> * mut FILE ; } unsafe extern "C" { pub fn fmemopen (__s : * mut :: std :: os :: raw :: c_void , __len : usize , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn open_memstream (__bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize) -> * mut FILE ; } unsafe extern "C" { pub fn setbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn setvbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn setbuffer (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize) ; } unsafe extern "C" { pub fn setlinebuf (__stream : * mut FILE) ; } unsafe extern "C" { pub fn fprintf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn printf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn sprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vfprintf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vprintf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn snprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsnprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vasprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __f : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vdprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn dprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fscanf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn scanf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn sscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } pub type __cfloat128 = __BindgenComplex < u128 > ; pub type _Float128 = u128 ; pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = u128 ; unsafe extern "C" { # [link_name = "\u{1}__isoc99_fscanf"] pub fn fscanf1 (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_scanf"] pub fn scanf1 (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_sscanf"] pub fn sscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vfscanf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vscanf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vfscanf"] pub fn vfscanf1 (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vscanf"] pub fn vscanf1 (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vsscanf"] pub fn vsscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgetc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getchar () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getchar_unlocked () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgetc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fputc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putchar (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fputc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putchar_unlocked (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getw (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putw (__w : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgets (__s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn __getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn getline (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn fputs (__s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn puts (__s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ungetc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fread (__ptr : * mut :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __stream : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn fwrite (__ptr : * const :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __s : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn fread_unlocked (__ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } unsafe extern "C" { pub fn fwrite_unlocked (__ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } unsafe extern "C" { pub fn fseek (__stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ftell (__stream : * mut FILE) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn rewind (__stream : * mut FILE) ; } unsafe extern "C" { pub fn fseeko (__stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ftello (__stream : * mut FILE) -> __off_t ; } unsafe extern "C" { pub fn fgetpos (__stream : * mut FILE , __pos : * mut fpos_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fsetpos (__stream : * mut FILE , __pos : * const fpos_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn clearerr (__stream : * mut FILE) ; } unsafe extern "C" { pub fn feof (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ferror (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn clearerr_unlocked (__stream : * mut FILE) ; } unsafe extern "C" { pub fn feof_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ferror_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn perror (__s : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn fileno (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fileno_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn pclose (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn popen (__command : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn ctermid (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn flockfile (__stream : * mut FILE) ; } unsafe extern "C" { pub fn ftrylockfile (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn funlockfile (__stream : * mut FILE) ; } unsafe extern "C" { pub fn __uflow (arg1 : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __overflow (arg1 : * mut FILE , arg2 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " This is a basic byte in an UTF-8 encoded string.\n It's unsigned allowing to pinpoint case where char * are assigned\n to xmlChar * (possibly making serialization back impossible)."] pub type xmlChar = :: std :: os :: raw :: c_uchar ; unsafe extern "C" { pub fn xmlStrdup (cur : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrndup (cur : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCharStrndup (cur : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCharStrdup (cur : * const :: std :: os :: raw :: c_char) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrsub (str_ : * const xmlChar , start : :: std :: os :: raw :: c_int , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrchr (str_ : * const xmlChar , val : xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrstr (str_ : * const xmlChar , val : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrcasestr (str_ : * const xmlChar , val : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrcmp (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrncmp (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrcasecmp (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrncasecmp (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrEqual (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrQEqual (pref : * const xmlChar , name : * const xmlChar , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrlen (str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrcat (cur : * mut xmlChar , add : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrncat (cur : * mut xmlChar , add : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrncatNew (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrPrintf (buf : * mut xmlChar , len : :: std :: os :: raw :: c_int , msg : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrVPrintf (buf : * mut xmlChar , len : :: std :: os :: raw :: c_int , msg : * const :: std :: os :: raw :: c_char , ap : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetUTF8Char (utf : * const :: std :: os :: raw :: c_uchar , len : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCheckUTF8 (utf : * const :: std :: os :: raw :: c_uchar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strsize (utf : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strndup (utf : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strpos (utf : * const xmlChar , pos : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strloc (utf : * const xmlChar , utfchar : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strsub (utf : * const xmlChar , start : :: std :: os :: raw :: c_int , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strlen (utf : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Size (utf : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Charcmp (utf1 : * const xmlChar , utf2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } # [doc = " Signature for a free() implementation.\n\n @param mem  an already allocated block of memory"] pub type xmlFreeFunc = :: std :: option :: Option < unsafe extern "C" fn (mem : * mut :: std :: os :: raw :: c_void) > ; # [doc = " Signature for a malloc() implementation.\n\n @param size  the size requested in bytes\n @returns a pointer to the newly allocated block or NULL in case of error."] pub type xmlMallocFunc = :: std :: option :: Option < unsafe extern "C" fn (size : usize) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Signature for a realloc() implementation.\n\n @param mem  an already allocated block of memory\n @param size  the new size requested in bytes\n @returns a pointer to the newly reallocated block or NULL in case of error."] pub type xmlReallocFunc = :: std :: option :: Option < unsafe extern "C" fn (mem : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Signature for an strdup() implementation.\n\n @param str  a zero terminated string\n @returns the copy of the string or NULL in case of error."] pub type xmlStrdupFunc = :: std :: option :: Option < unsafe extern "C" fn (str_ : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char > ; unsafe extern "C" { # [doc = " The variable holding the libxml malloc() implementation"] pub static mut xmlMalloc : xmlMallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml malloc() implementation for atomic\n data (i.e. blocks not containing pointers), useful when using a\n garbage collecting allocator.\n\n @deprecated Use #xmlMalloc"] pub static mut xmlMallocAtomic : xmlMallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml realloc() implementation"] pub static mut xmlRealloc : xmlReallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml free() implementation"] pub static mut xmlFree : xmlFreeFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml strdup() implementation"] pub static mut xmlMemStrdup : xmlStrdupFunc ; } unsafe extern "C" { pub fn xmlMemSetup (freeFunc : xmlFreeFunc , mallocFunc : xmlMallocFunc , reallocFunc : xmlReallocFunc , strdupFunc : xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemGet (freeFunc : * mut xmlFreeFunc , mallocFunc : * mut xmlMallocFunc , reallocFunc : * mut xmlReallocFunc , strdupFunc : * mut xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGcMemSetup (freeFunc : xmlFreeFunc , mallocFunc : xmlMallocFunc , mallocAtomicFunc : xmlMallocFunc , reallocFunc : xmlReallocFunc , strdupFunc : xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGcMemGet (freeFunc : * mut xmlFreeFunc , mallocFunc : * mut xmlMallocFunc , mallocAtomicFunc : * mut xmlMallocFunc , reallocFunc : * mut xmlReallocFunc , strdupFunc : * mut xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlInitMemory () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCleanupMemory () ; } unsafe extern "C" { pub fn xmlMemSize (ptr : * mut :: std :: os :: raw :: c_void) -> usize ; } unsafe extern "C" { pub fn xmlMemUsed () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemBlocks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemDisplay (fp : * mut FILE) ; } unsafe extern "C" { pub fn xmlMemDisplayLast (fp : * mut FILE , nbBytes : :: std :: os :: raw :: c_long) ; } unsafe extern "C" { pub fn xmlMemShow (fp : * mut FILE , nr : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlMemoryDump () ; } unsafe extern "C" { pub fn xmlMemMalloc (size : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemRealloc (ptr : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemFree (ptr : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlMemoryStrdup (str_ : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlMallocLoc (size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlReallocLoc (ptr : * mut :: std :: os :: raw :: c_void , size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMallocAtomicLoc (size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemStrdupLoc (str_ : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRegexp { _unused : [u8 ; 0] , } # [doc = " A libxml regular expression"] pub type xmlRegexp = _xmlRegexp ; pub type xmlRegexpPtr = * mut xmlRegexp ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRegExecCtxt { _unused : [u8 ; 0] , } # [doc = " A libxml progressive regular expression evaluation context"] pub type xmlRegExecCtxt = _xmlRegExecCtxt ; pub type xmlRegExecCtxtPtr = * mut xmlRegExecCtxt ; unsafe extern "C" { pub fn xmlRegexpCompile (regexp : * const xmlChar) -> * mut xmlRegexp ; } unsafe extern "C" { pub fn xmlRegFreeRegexp (regexp : * mut xmlRegexp) ; } unsafe extern "C" { pub fn xmlRegexpExec (comp : * mut xmlRegexp , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegexpPrint (output : * mut FILE , regexp : * mut xmlRegexp) ; } unsafe extern "C" { pub fn xmlRegexpIsDeterminist (comp : * mut xmlRegexp) -> :: std :: os :: raw :: c_int ; } # [doc = " Callback function when doing a transition in the automata\n\n @param exec  the regular expression context\n @param token  the current token string\n @param transdata  transition data\n @param inputdata  input data"] pub type xmlRegExecCallbacks = :: std :: option :: Option < unsafe extern "C" fn (exec : * mut xmlRegExecCtxt , token : * const xmlChar , transdata : * mut :: std :: os :: raw :: c_void , inputdata : * mut :: std :: os :: raw :: c_void) > ; unsafe extern "C" { pub fn xmlRegNewExecCtxt (comp : * mut xmlRegexp , callback : xmlRegExecCallbacks , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlRegExecCtxt ; } unsafe extern "C" { pub fn xmlRegFreeExecCtxt (exec : * mut xmlRegExecCtxt) ; } unsafe extern "C" { pub fn xmlRegExecPushString (exec : * mut xmlRegExecCtxt , value : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecPushString2 (exec : * mut xmlRegExecCtxt , value : * const xmlChar , value2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecNextValues (exec : * mut xmlRegExecCtxt , nbval : * mut :: std :: os :: raw :: c_int , nbneg : * mut :: std :: os :: raw :: c_int , values : * mut * mut xmlChar , terminal : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecErrInfo (exec : * mut xmlRegExecCtxt , string : * mut * const xmlChar , nbval : * mut :: std :: os :: raw :: c_int , nbneg : * mut :: std :: os :: raw :: c_int , values : * mut * mut xmlChar , terminal : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " Parser input buffer\n\n This struct and all related functions should ultimately\n be removed from the public interface."] pub type xmlParserInputBuffer = _xmlParserInputBuffer ; pub type xmlParserInputBufferPtr = * mut xmlParserInputBuffer ; # [doc = " Output buffer"] pub type xmlOutputBuffer = _xmlOutputBuffer ; pub type xmlOutputBufferPtr = * mut xmlOutputBuffer ; # [doc = " Parser input"] pub type xmlParserInput = _xmlParserInput ; pub type xmlParserInputPtr = * mut xmlParserInput ; # [doc = " Parser context"] pub type xmlParserCtxt = _xmlParserCtxt ; pub type xmlParserCtxtPtr = * mut xmlParserCtxt ; # [doc = " SAX locator"] pub type xmlSAXLocator = _xmlSAXLocator ; pub type xmlSAXLocatorPtr = * mut xmlSAXLocator ; # [doc = " SAX handler"] pub type xmlSAXHandler = _xmlSAXHandler ; pub type xmlSAXHandlerPtr = * mut xmlSAXHandler ; # [doc = " Entity declaration"] pub type xmlEntity = _xmlEntity ; pub type xmlEntityPtr = * mut xmlEntity ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_DOUBLEIT : xmlBufferAllocationScheme = 0 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_EXACT : xmlBufferAllocationScheme = 1 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_IMMUTABLE : xmlBufferAllocationScheme = 2 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_IO : xmlBufferAllocationScheme = 3 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_HYBRID : xmlBufferAllocationScheme = 4 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_BOUNDED : xmlBufferAllocationScheme = 5 ; # [doc = " Removed, buffers always use XML_BUFFER_ALLOC_IO now."] pub type xmlBufferAllocationScheme = :: std :: os :: raw :: c_uint ; # [doc = " Buffer type"] pub type xmlBuffer = _xmlBuffer ; pub type xmlBufferPtr = * mut xmlBuffer ; # [doc = " A buffer structure, this old construct is limited to 2GB and\n is being deprecated, use API with xmlBuf instead."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlBuffer { # [doc = " @deprecated Use #xmlBufferContent\n\n The buffer content UTF8"] pub content : * mut xmlChar , # [doc = " @deprecated Use #xmlBufferLength\n\n The buffer size used"] pub use_ : :: std :: os :: raw :: c_uint , pub size : :: std :: os :: raw :: c_uint , pub alloc : xmlBufferAllocationScheme , pub contentIO : * mut xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlBuffer"] [:: std :: mem :: size_of :: < _xmlBuffer > () - 32usize] ; ["Alignment of _xmlBuffer"] [:: std :: mem :: align_of :: < _xmlBuffer > () - 8usize] ; ["Offset of field: _xmlBuffer::content"] [:: std :: mem :: offset_of ! (_xmlBuffer , content) - 0usize] ; ["Offset of field: _xmlBuffer::use_"] [:: std :: mem :: offset_of ! (_xmlBuffer , use_) - 8usize] ; ["Offset of field: _xmlBuffer::size"] [:: std :: mem :: offset_of ! (_xmlBuffer , size) - 12usize] ; ["Offset of field: _xmlBuffer::alloc"] [:: std :: mem :: offset_of ! (_xmlBuffer , alloc) - 16usize] ; ["Offset of field: _xmlBuffer::contentIO"] [:: std :: mem :: offset_of ! (_xmlBuffer , contentIO) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlBuf { _unused : [u8 ; 0] , } # [doc = " Buffer with 64-bit support"] pub type xmlBuf = _xmlBuf ; pub type xmlBufPtr = * mut xmlBuf ; # [doc = " An element.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_ELEMENT_NODE : xmlElementType = 1 ; # [doc = " An attribute.\n\n Objects of this type are an xmlAttr."] pub const xmlElementType_XML_ATTRIBUTE_NODE : xmlElementType = 2 ; # [doc = " A text node.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_TEXT_NODE : xmlElementType = 3 ; # [doc = " A CDATA section.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_CDATA_SECTION_NODE : xmlElementType = 4 ; # [doc = " An entity reference.\n\n Objects of this type are an xmlNode. The `children` member\n points to the entity declaration if available."] pub const xmlElementType_XML_ENTITY_REF_NODE : xmlElementType = 5 ; # [doc = " unused"] pub const xmlElementType_XML_ENTITY_NODE : xmlElementType = 6 ; # [doc = " A processing instruction.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_PI_NODE : xmlElementType = 7 ; # [doc = " A comment.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_COMMENT_NODE : xmlElementType = 8 ; # [doc = " A document.\n\n Objects of this type are an xmlDoc."] pub const xmlElementType_XML_DOCUMENT_NODE : xmlElementType = 9 ; # [doc = " unused"] pub const xmlElementType_XML_DOCUMENT_TYPE_NODE : xmlElementType = 10 ; # [doc = " A document fragment.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_DOCUMENT_FRAG_NODE : xmlElementType = 11 ; # [doc = " A notation, unused"] pub const xmlElementType_XML_NOTATION_NODE : xmlElementType = 12 ; # [doc = " An HTML document.\n\n Objects of this type are an xmlDoc."] pub const xmlElementType_XML_HTML_DOCUMENT_NODE : xmlElementType = 13 ; # [doc = " A document type definition.\n\n Objects of this type are an xmlDtd."] pub const xmlElementType_XML_DTD_NODE : xmlElementType = 14 ; # [doc = " An element declaration.\n\n Objects of this type are an xmlElement."] pub const xmlElementType_XML_ELEMENT_DECL : xmlElementType = 15 ; # [doc = " An attribute declaration.\n\n Objects of this type are an xmlAttribute."] pub const xmlElementType_XML_ATTRIBUTE_DECL : xmlElementType = 16 ; # [doc = " An entity declaration.\n\n Objects of this type are an xmlEntity."] pub const xmlElementType_XML_ENTITY_DECL : xmlElementType = 17 ; # [doc = " An XPath namespace node.\n\n Can only be returned by the XPath engine. Objects of this\n type are an xmlNs which has a completely different layout\n than xmlNode. The `next` member contains a pointer to the\n xmlNode element to which the namespace applies.\n\n Nodes of this type must be handled with extreme care to\n avoid type confusion bugs."] pub const xmlElementType_XML_NAMESPACE_DECL : xmlElementType = 18 ; # [doc = " An XInclude start marker.\n\n Objects of this type are an xmlNode. Inserted as preceding\n sibling of XIncluded content."] pub const xmlElementType_XML_XINCLUDE_START : xmlElementType = 19 ; # [doc = " An XInclude end marker.\n\n Objects of this type are an xmlNode. Inserted as following\n sibling of XIncluded content."] pub const xmlElementType_XML_XINCLUDE_END : xmlElementType = 20 ; # [doc = " The different element types carried by an XML tree.\n\n NOTE: This is synchronized with DOM Level 1 values.\n       See http://www.w3.org/TR/REC-DOM-Level-1/\n\n Actually this had diverged a bit, and XML_DTD_NODE is used instead\n of XML_DOCUMENT_TYPE_NODE."] pub type xmlElementType = :: std :: os :: raw :: c_uint ; # [doc = " Notation declaration"] pub type xmlNotation = _xmlNotation ; pub type xmlNotationPtr = * mut xmlNotation ; # [doc = " A DTD Notation definition.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNotation { # [doc = " Notation name"] pub name : * const xmlChar , # [doc = " Public identifier, if any"] pub PublicID : * const xmlChar , # [doc = " System identifier, if any"] pub SystemID : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNotation"] [:: std :: mem :: size_of :: < _xmlNotation > () - 24usize] ; ["Alignment of _xmlNotation"] [:: std :: mem :: align_of :: < _xmlNotation > () - 8usize] ; ["Offset of field: _xmlNotation::name"] [:: std :: mem :: offset_of ! (_xmlNotation , name) - 0usize] ; ["Offset of field: _xmlNotation::PublicID"] [:: std :: mem :: offset_of ! (_xmlNotation , PublicID) - 8usize] ; ["Offset of field: _xmlNotation::SystemID"] [:: std :: mem :: offset_of ! (_xmlNotation , SystemID) - 16usize] ; } ; pub const xmlAttributeType_XML_ATTRIBUTE_CDATA : xmlAttributeType = 1 ; pub const xmlAttributeType_XML_ATTRIBUTE_ID : xmlAttributeType = 2 ; pub const xmlAttributeType_XML_ATTRIBUTE_IDREF : xmlAttributeType = 3 ; pub const xmlAttributeType_XML_ATTRIBUTE_IDREFS : xmlAttributeType = 4 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENTITY : xmlAttributeType = 5 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENTITIES : xmlAttributeType = 6 ; pub const xmlAttributeType_XML_ATTRIBUTE_NMTOKEN : xmlAttributeType = 7 ; pub const xmlAttributeType_XML_ATTRIBUTE_NMTOKENS : xmlAttributeType = 8 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENUMERATION : xmlAttributeType = 9 ; pub const xmlAttributeType_XML_ATTRIBUTE_NOTATION : xmlAttributeType = 10 ; # [doc = " A DTD Attribute type definition."] pub type xmlAttributeType = :: std :: os :: raw :: c_uint ; pub const xmlAttributeDefault_XML_ATTRIBUTE_NONE : xmlAttributeDefault = 1 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_REQUIRED : xmlAttributeDefault = 2 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_IMPLIED : xmlAttributeDefault = 3 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_FIXED : xmlAttributeDefault = 4 ; # [doc = " A DTD Attribute default definition."] pub type xmlAttributeDefault = :: std :: os :: raw :: c_uint ; # [doc = " Enumeration in a DTD"] pub type xmlEnumeration = _xmlEnumeration ; pub type xmlEnumerationPtr = * mut xmlEnumeration ; # [doc = " List structure used when there is an enumeration in DTDs.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlEnumeration { # [doc = " next enumeration"] pub next : * mut _xmlEnumeration , # [doc = " value"] pub name : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlEnumeration"] [:: std :: mem :: size_of :: < _xmlEnumeration > () - 16usize] ; ["Alignment of _xmlEnumeration"] [:: std :: mem :: align_of :: < _xmlEnumeration > () - 8usize] ; ["Offset of field: _xmlEnumeration::next"] [:: std :: mem :: offset_of ! (_xmlEnumeration , next) - 0usize] ; ["Offset of field: _xmlEnumeration::name"] [:: std :: mem :: offset_of ! (_xmlEnumeration , name) - 8usize] ; } ; # [doc = " Attribute declaration"] pub type xmlAttribute = _xmlAttribute ; pub type xmlAttributePtr = * mut xmlAttribute ; # [doc = " An Attribute declaration in a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttribute { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ATTRIBUTE_DECL"] pub type_ : xmlElementType , # [doc = " attribute name"] pub name : * const xmlChar , # [doc = " NULL"] pub children : * mut _xmlNode , # [doc = " NULL"] pub last : * mut _xmlNode , # [doc = " DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " next in hash table"] pub nexth : * mut _xmlAttribute , # [doc = " attribute type"] pub atype : xmlAttributeType , # [doc = " attribute default"] pub def : xmlAttributeDefault , # [doc = " default value"] pub defaultValue : * mut xmlChar , # [doc = " enumeration tree if any"] pub tree : * mut xmlEnumeration , # [doc = " namespace prefix if any"] pub prefix : * const xmlChar , # [doc = " element name"] pub elem : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlAttribute"] [:: std :: mem :: size_of :: < _xmlAttribute > () - 120usize] ; ["Alignment of _xmlAttribute"] [:: std :: mem :: align_of :: < _xmlAttribute > () - 8usize] ; ["Offset of field: _xmlAttribute::_private"] [:: std :: mem :: offset_of ! (_xmlAttribute , _private) - 0usize] ; ["Offset of field: _xmlAttribute::type_"] [:: std :: mem :: offset_of ! (_xmlAttribute , type_) - 8usize] ; ["Offset of field: _xmlAttribute::name"] [:: std :: mem :: offset_of ! (_xmlAttribute , name) - 16usize] ; ["Offset of field: _xmlAttribute::children"] [:: std :: mem :: offset_of ! (_xmlAttribute , children) - 24usize] ; ["Offset of field: _xmlAttribute::last"] [:: std :: mem :: offset_of ! (_xmlAttribute , last) - 32usize] ; ["Offset of field: _xmlAttribute::parent"] [:: std :: mem :: offset_of ! (_xmlAttribute , parent) - 40usize] ; ["Offset of field: _xmlAttribute::next"] [:: std :: mem :: offset_of ! (_xmlAttribute , next) - 48usize] ; ["Offset of field: _xmlAttribute::prev"] [:: std :: mem :: offset_of ! (_xmlAttribute , prev) - 56usize] ; ["Offset of field: _xmlAttribute::doc"] [:: std :: mem :: offset_of ! (_xmlAttribute , doc) - 64usize] ; ["Offset of field: _xmlAttribute::nexth"] [:: std :: mem :: offset_of ! (_xmlAttribute , nexth) - 72usize] ; ["Offset of field: _xmlAttribute::atype"] [:: std :: mem :: offset_of ! (_xmlAttribute , atype) - 80usize] ; ["Offset of field: _xmlAttribute::def"] [:: std :: mem :: offset_of ! (_xmlAttribute , def) - 84usize] ; ["Offset of field: _xmlAttribute::defaultValue"] [:: std :: mem :: offset_of ! (_xmlAttribute , defaultValue) - 88usize] ; ["Offset of field: _xmlAttribute::tree"] [:: std :: mem :: offset_of ! (_xmlAttribute , tree) - 96usize] ; ["Offset of field: _xmlAttribute::prefix"] [:: std :: mem :: offset_of ! (_xmlAttribute , prefix) - 104usize] ; ["Offset of field: _xmlAttribute::elem"] [:: std :: mem :: offset_of ! (_xmlAttribute , elem) - 112usize] ; } ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_PCDATA : xmlElementContentType = 1 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_ELEMENT : xmlElementContentType = 2 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_SEQ : xmlElementContentType = 3 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_OR : xmlElementContentType = 4 ; # [doc = " Possible definitions of element content types."] pub type xmlElementContentType = :: std :: os :: raw :: c_uint ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_ONCE : xmlElementContentOccur = 1 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_OPT : xmlElementContentOccur = 2 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_MULT : xmlElementContentOccur = 3 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_PLUS : xmlElementContentOccur = 4 ; # [doc = " Possible definitions of element content occurrences."] pub type xmlElementContentOccur = :: std :: os :: raw :: c_uint ; # [doc = " Element content in element declarations"] pub type xmlElementContent = _xmlElementContent ; pub type xmlElementContentPtr = * mut xmlElementContent ; # [doc = " An XML Element content as stored after parsing an element definition\n in a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlElementContent { # [doc = " PCDATA, ELEMENT, SEQ or OR"] pub type_ : xmlElementContentType , # [doc = " ONCE, OPT, MULT or PLUS"] pub ocur : xmlElementContentOccur , # [doc = " element name"] pub name : * const xmlChar , # [doc = " first child"] pub c1 : * mut _xmlElementContent , # [doc = " second child"] pub c2 : * mut _xmlElementContent , # [doc = " parent"] pub parent : * mut _xmlElementContent , # [doc = " namespace prefix"] pub prefix : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlElementContent"] [:: std :: mem :: size_of :: < _xmlElementContent > () - 48usize] ; ["Alignment of _xmlElementContent"] [:: std :: mem :: align_of :: < _xmlElementContent > () - 8usize] ; ["Offset of field: _xmlElementContent::type_"] [:: std :: mem :: offset_of ! (_xmlElementContent , type_) - 0usize] ; ["Offset of field: _xmlElementContent::ocur"] [:: std :: mem :: offset_of ! (_xmlElementContent , ocur) - 4usize] ; ["Offset of field: _xmlElementContent::name"] [:: std :: mem :: offset_of ! (_xmlElementContent , name) - 8usize] ; ["Offset of field: _xmlElementContent::c1"] [:: std :: mem :: offset_of ! (_xmlElementContent , c1) - 16usize] ; ["Offset of field: _xmlElementContent::c2"] [:: std :: mem :: offset_of ! (_xmlElementContent , c2) - 24usize] ; ["Offset of field: _xmlElementContent::parent"] [:: std :: mem :: offset_of ! (_xmlElementContent , parent) - 32usize] ; ["Offset of field: _xmlElementContent::prefix"] [:: std :: mem :: offset_of ! (_xmlElementContent , prefix) - 40usize] ; } ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_UNDEFINED : xmlElementTypeVal = 0 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_EMPTY : xmlElementTypeVal = 1 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_ANY : xmlElementTypeVal = 2 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_MIXED : xmlElementTypeVal = 3 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_ELEMENT : xmlElementTypeVal = 4 ; # [doc = " The different possibilities for an element content type."] pub type xmlElementTypeVal = :: std :: os :: raw :: c_uint ; # [doc = " Element declaration"] pub type xmlElement = _xmlElement ; pub type xmlElementPtr = * mut xmlElement ; # [doc = " An XML Element declaration from a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlElement { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ELEMENT_DECL"] pub type_ : xmlElementType , # [doc = " element name"] pub name : * const xmlChar , # [doc = " NULL"] pub children : * mut _xmlNode , # [doc = " NULL"] pub last : * mut _xmlNode , # [doc = " -> DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " element type"] pub etype : xmlElementTypeVal , # [doc = " allowed element content"] pub content : * mut xmlElementContent , # [doc = " list of declared attributes"] pub attributes : * mut xmlAttribute , # [doc = " namespace prefix if any"] pub prefix : * const xmlChar , # [doc = " validating regexp"] pub contModel : * mut xmlRegexp , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlElement"] [:: std :: mem :: size_of :: < _xmlElement > () - 112usize] ; ["Alignment of _xmlElement"] [:: std :: mem :: align_of :: < _xmlElement > () - 8usize] ; ["Offset of field: _xmlElement::_private"] [:: std :: mem :: offset_of ! (_xmlElement , _private) - 0usize] ; ["Offset of field: _xmlElement::type_"] [:: std :: mem :: offset_of ! (_xmlElement , type_) - 8usize] ; ["Offset of field: _xmlElement::name"] [:: std :: mem :: offset_of ! (_xmlElement , name) - 16usize] ; ["Offset of field: _xmlElement::children"] [:: std :: mem :: offset_of ! (_xmlElement , children) - 24usize] ; ["Offset of field: _xmlElement::last"] [:: std :: mem :: offset_of ! (_xmlElement , last) - 32usize] ; ["Offset of field: _xmlElement::parent"] [:: std :: mem :: offset_of ! (_xmlElement , parent) - 40usize] ; ["Offset of field: _xmlElement::next"] [:: std :: mem :: offset_of ! (_xmlElement , next) - 48usize] ; ["Offset of field: _xmlElement::prev"] [:: std :: mem :: offset_of ! (_xmlElement , prev) - 56usize] ; ["Offset of field: _xmlElement::doc"] [:: std :: mem :: offset_of ! (_xmlElement , doc) - 64usize] ; ["Offset of field: _xmlElement::etype"] [:: std :: mem :: offset_of ! (_xmlElement , etype) - 72usize] ; ["Offset of field: _xmlElement::content"] [:: std :: mem :: offset_of ! (_xmlElement , content) - 80usize] ; ["Offset of field: _xmlElement::attributes"] [:: std :: mem :: offset_of ! (_xmlElement , attributes) - 88usize] ; ["Offset of field: _xmlElement::prefix"] [:: std :: mem :: offset_of ! (_xmlElement , prefix) - 96usize] ; ["Offset of field: _xmlElement::contModel"] [:: std :: mem :: offset_of ! (_xmlElement , contModel) - 104usize] ; } ; # [doc = " The different element types carried by an XML tree.\n\n NOTE: This is synchronized with DOM Level 1 values.\n       See http://www.w3.org/TR/REC-DOM-Level-1/\n\n Actually this had diverged a bit, and XML_DTD_NODE is used instead\n of XML_DOCUMENT_TYPE_NODE."] pub use self :: xmlElementType as xmlNsType ; # [doc = " Namespace declaration"] pub type xmlNs = _xmlNs ; pub type xmlNsPtr = * mut xmlNs ; # [doc = " An XML namespace.\n Note that prefix == NULL is valid, it defines the default namespace\n within the subtree (until overridden).\n\n xmlNsType is unified with xmlElementType.\n\n Note that the XPath engine returns XPath namespace nodes as\n xmlNs cast to xmlNode. This is a terrible design decision that\n can easily cause type confusion errors. In this case, the `next`\n member points to the xmlNode element to which the namespace\n node belongs."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNs { # [doc = " next namespace"] pub next : * mut _xmlNs , # [doc = " XML_NAMESPACE_DECL"] pub type_ : xmlNsType , # [doc = " namespace URI"] pub href : * const xmlChar , # [doc = " namespace prefix"] pub prefix : * const xmlChar , # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " normally an xmlDoc"] pub context : * mut _xmlDoc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNs"] [:: std :: mem :: size_of :: < _xmlNs > () - 48usize] ; ["Alignment of _xmlNs"] [:: std :: mem :: align_of :: < _xmlNs > () - 8usize] ; ["Offset of field: _xmlNs::next"] [:: std :: mem :: offset_of ! (_xmlNs , next) - 0usize] ; ["Offset of field: _xmlNs::type_"] [:: std :: mem :: offset_of ! (_xmlNs , type_) - 8usize] ; ["Offset of field: _xmlNs::href"] [:: std :: mem :: offset_of ! (_xmlNs , href) - 16usize] ; ["Offset of field: _xmlNs::prefix"] [:: std :: mem :: offset_of ! (_xmlNs , prefix) - 24usize] ; ["Offset of field: _xmlNs::_private"] [:: std :: mem :: offset_of ! (_xmlNs , _private) - 32usize] ; ["Offset of field: _xmlNs::context"] [:: std :: mem :: offset_of ! (_xmlNs , context) - 40usize] ; } ; # [doc = " Document type definition (DTD)"] pub type xmlDtd = _xmlDtd ; pub type xmlDtdPtr = * mut xmlDtd ; # [doc = " An XML DTD, as defined by <!DOCTYPE ... There is actually one for\n the internal subset and for the external subset.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDtd { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_DTD_NODE"] pub type_ : xmlElementType , # [doc = " name of the DTD"] pub name : * const xmlChar , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlDoc , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " hash table for notations if any"] pub notations : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for elements if any"] pub elements : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for attributes if any"] pub attributes : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for entities if any"] pub entities : * mut :: std :: os :: raw :: c_void , # [doc = " public identifier"] pub ExternalID : * mut xmlChar , # [doc = " system identifier"] pub SystemID : * mut xmlChar , # [doc = " hash table for parameter entities if any"] pub pentities : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDtd"] [:: std :: mem :: size_of :: < _xmlDtd > () - 128usize] ; ["Alignment of _xmlDtd"] [:: std :: mem :: align_of :: < _xmlDtd > () - 8usize] ; ["Offset of field: _xmlDtd::_private"] [:: std :: mem :: offset_of ! (_xmlDtd , _private) - 0usize] ; ["Offset of field: _xmlDtd::type_"] [:: std :: mem :: offset_of ! (_xmlDtd , type_) - 8usize] ; ["Offset of field: _xmlDtd::name"] [:: std :: mem :: offset_of ! (_xmlDtd , name) - 16usize] ; ["Offset of field: _xmlDtd::children"] [:: std :: mem :: offset_of ! (_xmlDtd , children) - 24usize] ; ["Offset of field: _xmlDtd::last"] [:: std :: mem :: offset_of ! (_xmlDtd , last) - 32usize] ; ["Offset of field: _xmlDtd::parent"] [:: std :: mem :: offset_of ! (_xmlDtd , parent) - 40usize] ; ["Offset of field: _xmlDtd::next"] [:: std :: mem :: offset_of ! (_xmlDtd , next) - 48usize] ; ["Offset of field: _xmlDtd::prev"] [:: std :: mem :: offset_of ! (_xmlDtd , prev) - 56usize] ; ["Offset of field: _xmlDtd::doc"] [:: std :: mem :: offset_of ! (_xmlDtd , doc) - 64usize] ; ["Offset of field: _xmlDtd::notations"] [:: std :: mem :: offset_of ! (_xmlDtd , notations) - 72usize] ; ["Offset of field: _xmlDtd::elements"] [:: std :: mem :: offset_of ! (_xmlDtd , elements) - 80usize] ; ["Offset of field: _xmlDtd::attributes"] [:: std :: mem :: offset_of ! (_xmlDtd , attributes) - 88usize] ; ["Offset of field: _xmlDtd::entities"] [:: std :: mem :: offset_of ! (_xmlDtd , entities) - 96usize] ; ["Offset of field: _xmlDtd::ExternalID"] [:: std :: mem :: offset_of ! (_xmlDtd , ExternalID) - 104usize] ; ["Offset of field: _xmlDtd::SystemID"] [:: std :: mem :: offset_of ! (_xmlDtd , SystemID) - 112usize] ; ["Offset of field: _xmlDtd::pentities"] [:: std :: mem :: offset_of ! (_xmlDtd , pentities) - 120usize] ; } ; # [doc = " Attribute of an element"] pub type xmlAttr = _xmlAttr ; pub type xmlAttrPtr = * mut xmlAttr ; # [doc = " An attribute of element."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttr { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ATTRIBUTE_NODE"] pub type_ : xmlElementType , # [doc = " local name"] pub name : * const xmlChar , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlNode , # [doc = " next sibling"] pub next : * mut _xmlAttr , # [doc = " previous sibling"] pub prev : * mut _xmlAttr , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " namespace if any"] pub ns : * mut xmlNs , # [doc = " attribute type if validating"] pub atype : xmlAttributeType , # [doc = " for type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " ID struct if any"] pub id : * mut _xmlID , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlAttr"] [:: std :: mem :: size_of :: < _xmlAttr > () - 104usize] ; ["Alignment of _xmlAttr"] [:: std :: mem :: align_of :: < _xmlAttr > () - 8usize] ; ["Offset of field: _xmlAttr::_private"] [:: std :: mem :: offset_of ! (_xmlAttr , _private) - 0usize] ; ["Offset of field: _xmlAttr::type_"] [:: std :: mem :: offset_of ! (_xmlAttr , type_) - 8usize] ; ["Offset of field: _xmlAttr::name"] [:: std :: mem :: offset_of ! (_xmlAttr , name) - 16usize] ; ["Offset of field: _xmlAttr::children"] [:: std :: mem :: offset_of ! (_xmlAttr , children) - 24usize] ; ["Offset of field: _xmlAttr::last"] [:: std :: mem :: offset_of ! (_xmlAttr , last) - 32usize] ; ["Offset of field: _xmlAttr::parent"] [:: std :: mem :: offset_of ! (_xmlAttr , parent) - 40usize] ; ["Offset of field: _xmlAttr::next"] [:: std :: mem :: offset_of ! (_xmlAttr , next) - 48usize] ; ["Offset of field: _xmlAttr::prev"] [:: std :: mem :: offset_of ! (_xmlAttr , prev) - 56usize] ; ["Offset of field: _xmlAttr::doc"] [:: std :: mem :: offset_of ! (_xmlAttr , doc) - 64usize] ; ["Offset of field: _xmlAttr::ns"] [:: std :: mem :: offset_of ! (_xmlAttr , ns) - 72usize] ; ["Offset of field: _xmlAttr::atype"] [:: std :: mem :: offset_of ! (_xmlAttr , atype) - 80usize] ; ["Offset of field: _xmlAttr::psvi"] [:: std :: mem :: offset_of ! (_xmlAttr , psvi) - 88usize] ; ["Offset of field: _xmlAttr::id"] [:: std :: mem :: offset_of ! (_xmlAttr , id) - 96usize] ; } ; # [doc = " Extra data for ID attributes"] pub type xmlID = _xmlID ; pub type xmlIDPtr = * mut xmlID ; # [doc = " An XML ID instance.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlID { pub next : * mut _xmlID , pub value : * mut xmlChar , pub attr : * mut xmlAttr , pub name : * const xmlChar , pub lineno : :: std :: os :: raw :: c_int , pub doc : * mut _xmlDoc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlID"] [:: std :: mem :: size_of :: < _xmlID > () - 48usize] ; ["Alignment of _xmlID"] [:: std :: mem :: align_of :: < _xmlID > () - 8usize] ; ["Offset of field: _xmlID::next"] [:: std :: mem :: offset_of ! (_xmlID , next) - 0usize] ; ["Offset of field: _xmlID::value"] [:: std :: mem :: offset_of ! (_xmlID , value) - 8usize] ; ["Offset of field: _xmlID::attr"] [:: std :: mem :: offset_of ! (_xmlID , attr) - 16usize] ; ["Offset of field: _xmlID::name"] [:: std :: mem :: offset_of ! (_xmlID , name) - 24usize] ; ["Offset of field: _xmlID::lineno"] [:: std :: mem :: offset_of ! (_xmlID , lineno) - 32usize] ; ["Offset of field: _xmlID::doc"] [:: std :: mem :: offset_of ! (_xmlID , doc) - 40usize] ; } ; # [doc = " @cond ignore"] pub type xmlRef = _xmlRef ; pub type xmlRefPtr = * mut xmlRef ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRef { pub next : * mut _xmlRef , pub value : * const xmlChar , pub attr : * mut xmlAttr , pub name : * const xmlChar , pub lineno : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlRef"] [:: std :: mem :: size_of :: < _xmlRef > () - 40usize] ; ["Alignment of _xmlRef"] [:: std :: mem :: align_of :: < _xmlRef > () - 8usize] ; ["Offset of field: _xmlRef::next"] [:: std :: mem :: offset_of ! (_xmlRef , next) - 0usize] ; ["Offset of field: _xmlRef::value"] [:: std :: mem :: offset_of ! (_xmlRef , value) - 8usize] ; ["Offset of field: _xmlRef::attr"] [:: std :: mem :: offset_of ! (_xmlRef , attr) - 16usize] ; ["Offset of field: _xmlRef::name"] [:: std :: mem :: offset_of ! (_xmlRef , name) - 24usize] ; ["Offset of field: _xmlRef::lineno"] [:: std :: mem :: offset_of ! (_xmlRef , lineno) - 32usize] ; } ; # [doc = " Generic node type in an XML or HTML tree"] pub type xmlNode = _xmlNode ; pub type xmlNodePtr = * mut xmlNode ; # [doc = " Generic node type in an XML or HTML tree.\n\n This is used for\n\n - XML_ELEMENT_NODE\n - XML_TEXT_NODE\n - XML_CDATA_SECTION_NODE\n - XML_ENTITY_REF_NODE\n - XML_PI_NODE\n - XML_COMMENT_NODE\n - XML_DOCUMENT_FRAG_NODE\n - XML_XINCLUDE_START_NODE\n - XML_XINCLUDE_END_NODE\n\n Other node types have a different struct layout than xmlNode,\n see xmlElementType. Except for XML_NAMESPACE_DECL all nodes\n share the following members at the same offset:\n\n - `_private`\n - `type` (also for XML_NAMESPACE_DECL)\n - `name`\n - `children`\n - `last`\n - `parent`\n - `next`\n - `prev`\n - `doc`\n\n xmlNode and xmlAttr also share the `ns` member."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNode { # [doc = " Application data. Often used by language bindings."] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " Type enum, an xmlElementType value"] pub type_ : xmlElementType , # [doc = " Name of the node.\n\n - Local name of elements or attributes. As a corner case,\n   this can also contain Names which are invalid QNames in\n   non-namespace-wellformed documents.\n - Name of entity references\n - Target of processing instructions\n - Fixed string for text and comments\n - Unused otherwise"] pub name : * const xmlChar , # [doc = " First child. Entity declaration of entity references."] pub children : * mut _xmlNode , # [doc = " Last child"] pub last : * mut _xmlNode , # [doc = " Parent node. NULL for documents or unlinked root nodes."] pub parent : * mut _xmlNode , # [doc = " Next sibling"] pub next : * mut _xmlNode , # [doc = " Previous sibling"] pub prev : * mut _xmlNode , # [doc = " Associated document.\n\n Used to access DTDs, entities, ID tables, dictionary or\n other document properties. All children of a node share the\n same document."] pub doc : * mut _xmlDoc , # [doc = " Namespace of element if any"] pub ns : * mut xmlNs , # [doc = " Content of text, comment, PI nodes.\n\n Sort index for elements after calling #xmlXPathOrderDocElems.\n Content of internal entities for entity references."] pub content : * mut xmlChar , # [doc = " First attribute of element.\n\n Also used to store small strings with XML_PARSE_COMPACT."] pub properties : * mut _xmlAttr , # [doc = " First namespace definition of element"] pub nsDef : * mut xmlNs , # [doc = " For type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " Line number"] pub line : :: std :: os :: raw :: c_ushort , # [doc = " Extra data for XPath/XSLT"] pub extra : :: std :: os :: raw :: c_ushort , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNode"] [:: std :: mem :: size_of :: < _xmlNode > () - 120usize] ; ["Alignment of _xmlNode"] [:: std :: mem :: align_of :: < _xmlNode > () - 8usize] ; ["Offset of field: _xmlNode::_private"] [:: std :: mem :: offset_of ! (_xmlNode , _private) - 0usize] ; ["Offset of field: _xmlNode::type_"] [:: std :: mem :: offset_of ! (_xmlNode , type_) - 8usize] ; ["Offset of field: _xmlNode::name"] [:: std :: mem :: offset_of ! (_xmlNode , name) - 16usize] ; ["Offset of field: _xmlNode::children"] [:: std :: mem :: offset_of ! (_xmlNode , children) - 24usize] ; ["Offset of field: _xmlNode::last"] [:: std :: mem :: offset_of ! (_xmlNode , last) - 32usize] ; ["Offset of field: _xmlNode::parent"] [:: std :: mem :: offset_of ! (_xmlNode , parent) - 40usize] ; ["Offset of field: _xmlNode::next"] [:: std :: mem :: offset_of ! (_xmlNode , next) - 48usize] ; ["Offset of field: _xmlNode::prev"] [:: std :: mem :: offset_of ! (_xmlNode , prev) - 56usize] ; ["Offset of field: _xmlNode::doc"] [:: std :: mem :: offset_of ! (_xmlNode , doc) - 64usize] ; ["Offset of field: _xmlNode::ns"] [:: std :: mem :: offset_of ! (_xmlNode , ns) - 72usize] ; ["Offset of field: _xmlNode::content"] [:: std :: mem :: offset_of ! (_xmlNode , content) - 80usize] ; ["Offset of field: _xmlNode::properties"] [:: std :: mem :: offset_of ! (_xmlNode , properties) - 88usize] ; ["Offset of field: _xmlNode::nsDef"] [:: std :: mem :: offset_of ! (_xmlNode , nsDef) - 96usize] ; ["Offset of field: _xmlNode::psvi"] [:: std :: mem :: offset_of ! (_xmlNode , psvi) - 104usize] ; ["Offset of field: _xmlNode::line"] [:: std :: mem :: offset_of ! (_xmlNode , line) - 112usize] ; ["Offset of field: _xmlNode::extra"] [:: std :: mem :: offset_of ! (_xmlNode , extra) - 114usize] ; } ; # [doc = " document is XML well formed"] pub const xmlDocProperties_XML_DOC_WELLFORMED : xmlDocProperties = 1 ; # [doc = " document is Namespace valid"] pub const xmlDocProperties_XML_DOC_NSVALID : xmlDocProperties = 2 ; # [doc = " parsed with old XML-1.0 parser"] pub const xmlDocProperties_XML_DOC_OLD10 : xmlDocProperties = 4 ; # [doc = " DTD validation was successful"] pub const xmlDocProperties_XML_DOC_DTDVALID : xmlDocProperties = 8 ; # [doc = " XInclude substitution was done"] pub const xmlDocProperties_XML_DOC_XINCLUDE : xmlDocProperties = 16 ; # [doc = " Document was built using the API and not by parsing an instance"] pub const xmlDocProperties_XML_DOC_USERBUILT : xmlDocProperties = 32 ; # [doc = " built for internal processing"] pub const xmlDocProperties_XML_DOC_INTERNAL : xmlDocProperties = 64 ; # [doc = " parsed or built HTML document"] pub const xmlDocProperties_XML_DOC_HTML : xmlDocProperties = 128 ; # [doc = " Set of properties of the document as found by the parser.\n Some of them are linked to similarly named xmlParserOption."] pub type xmlDocProperties = :: std :: os :: raw :: c_uint ; # [doc = " XML or HTML document"] pub type xmlDoc = _xmlDoc ; pub type xmlDocPtr = * mut xmlDoc ; # [doc = " An XML or HTML document."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDoc { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_DOCUMENT_NODE or XML_HTML_DOCUMENT_NODE"] pub type_ : xmlElementType , # [doc = " NULL"] pub name : * mut :: std :: os :: raw :: c_char , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlNode , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " reference to itself"] pub doc : * mut _xmlDoc , # [doc = " level of zlib compression"] pub compression : :: std :: os :: raw :: c_int , # [doc = " standalone document (no external refs)\n\n - 1 if standalone=\"yes\",\n - 0 if standalone=\"no\",\n - -1 if there is no XML declaration,\n - -2 if there is an XML declaration, but no\n   standalone attribute was specified"] pub standalone : :: std :: os :: raw :: c_int , # [doc = " internal subset"] pub intSubset : * mut _xmlDtd , # [doc = " external subset"] pub extSubset : * mut _xmlDtd , # [doc = " used to hold the XML namespace if needed"] pub oldNs : * mut _xmlNs , # [doc = " version string from XML declaration"] pub version : * mut xmlChar , # [doc = " actual encoding if any"] pub encoding : * mut xmlChar , # [doc = " hash table for ID attributes if any"] pub ids : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for IDREFs attributes if any"] pub refs : * mut :: std :: os :: raw :: c_void , # [doc = " URI of the document"] pub URL : * mut xmlChar , # [doc = " unused"] pub charset : :: std :: os :: raw :: c_int , # [doc = " dict used to allocate names if any"] pub dict : * mut _xmlDict , # [doc = " for type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " xmlParserOption enum used to parse the document"] pub parseFlags : :: std :: os :: raw :: c_int , # [doc = " xmlDocProperties of the document"] pub properties : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDoc"] [:: std :: mem :: size_of :: < _xmlDoc > () - 176usize] ; ["Alignment of _xmlDoc"] [:: std :: mem :: align_of :: < _xmlDoc > () - 8usize] ; ["Offset of field: _xmlDoc::_private"] [:: std :: mem :: offset_of ! (_xmlDoc , _private) - 0usize] ; ["Offset of field: _xmlDoc::type_"] [:: std :: mem :: offset_of ! (_xmlDoc , type_) - 8usize] ; ["Offset of field: _xmlDoc::name"] [:: std :: mem :: offset_of ! (_xmlDoc , name) - 16usize] ; ["Offset of field: _xmlDoc::children"] [:: std :: mem :: offset_of ! (_xmlDoc , children) - 24usize] ; ["Offset of field: _xmlDoc::last"] [:: std :: mem :: offset_of ! (_xmlDoc , last) - 32usize] ; ["Offset of field: _xmlDoc::parent"] [:: std :: mem :: offset_of ! (_xmlDoc , parent) - 40usize] ; ["Offset of field: _xmlDoc::next"] [:: std :: mem :: offset_of ! (_xmlDoc , next) - 48usize] ; ["Offset of field: _xmlDoc::prev"] [:: std :: mem :: offset_of ! (_xmlDoc , prev) - 56usize] ; ["Offset of field: _xmlDoc::doc"] [:: std :: mem :: offset_of ! (_xmlDoc , doc) - 64usize] ; ["Offset of field: _xmlDoc::compression"] [:: std :: mem :: offset_of ! (_xmlDoc , compression) - 72usize] ; ["Offset of field: _xmlDoc::standalone"] [:: std :: mem :: offset_of ! (_xmlDoc , standalone) - 76usize] ; ["Offset of field: _xmlDoc::intSubset"] [:: std :: mem :: offset_of ! (_xmlDoc , intSubset) - 80usize] ; ["Offset of field: _xmlDoc::extSubset"] [:: std :: mem :: offset_of ! (_xmlDoc , extSubset) - 88usize] ; ["Offset of field: _xmlDoc::oldNs"] [:: std :: mem :: offset_of ! (_xmlDoc , oldNs) - 96usize] ; ["Offset of field: _xmlDoc::version"] [:: std :: mem :: offset_of ! (_xmlDoc , version) - 104usize] ; ["Offset of field: _xmlDoc::encoding"] [:: std :: mem :: offset_of ! (_xmlDoc , encoding) - 112usize] ; ["Offset of field: _xmlDoc::ids"] [:: std :: mem :: offset_of ! (_xmlDoc , ids) - 120usize] ; ["Offset of field: _xmlDoc::refs"] [:: std :: mem :: offset_of ! (_xmlDoc , refs) - 128usize] ; ["Offset of field: _xmlDoc::URL"] [:: std :: mem :: offset_of ! (_xmlDoc , URL) - 136usize] ; ["Offset of field: _xmlDoc::charset"] [:: std :: mem :: offset_of ! (_xmlDoc , charset) - 144usize] ; ["Offset of field: _xmlDoc::dict"] [:: std :: mem :: offset_of ! (_xmlDoc , dict) - 152usize] ; ["Offset of field: _xmlDoc::psvi"] [:: std :: mem :: offset_of ! (_xmlDoc , psvi) - 160usize] ; ["Offset of field: _xmlDoc::parseFlags"] [:: std :: mem :: offset_of ! (_xmlDoc , parseFlags) - 168usize] ; ["Offset of field: _xmlDoc::properties"] [:: std :: mem :: offset_of ! (_xmlDoc , properties) - 172usize] ; } ; # [doc = " Context for DOM wrapper operations"] pub type xmlDOMWrapCtxt = _xmlDOMWrapCtxt ; pub type xmlDOMWrapCtxtPtr = * mut xmlDOMWrapCtxt ; # [doc = " A function called to acquire namespaces (xmlNs) from the wrapper.\n\n @param ctxt  a DOM wrapper context\n @param node  the context node (element or attribute)\n @param nsName  the requested namespace name\n @param nsPrefix  the requested namespace prefix\n @returns an xmlNs or NULL in case of an error."] pub type xmlDOMWrapAcquireNsFunction = :: std :: option :: Option < unsafe extern "C" fn (ctxt : * mut xmlDOMWrapCtxt , node : * mut xmlNode , nsName : * const xmlChar , nsPrefix : * const xmlChar) -> * mut xmlNs > ; # [doc = " Context for DOM wrapper-operations."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDOMWrapCtxt { pub _private : * mut :: std :: os :: raw :: c_void , pub type_ : :: std :: os :: raw :: c_int , pub namespaceMap : * mut :: std :: os :: raw :: c_void , pub getNsForNodeFunc : xmlDOMWrapAcquireNsFunction , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDOMWrapCtxt"] [:: std :: mem :: size_of :: < _xmlDOMWrapCtxt > () - 32usize] ; ["Alignment of _xmlDOMWrapCtxt"] [:: std :: mem :: align_of :: < _xmlDOMWrapCtxt > () - 8usize] ; ["Offset of field: _xmlDOMWrapCtxt::_private"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , _private) - 0usize] ; ["Offset of field: _xmlDOMWrapCtxt::type_"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , type_) - 8usize] ; ["Offset of field: _xmlDOMWrapCtxt::namespaceMap"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , namespaceMap) - 16usize] ; ["Offset of field: _xmlDOMWrapCtxt::getNsForNodeFunc"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , getNsForNodeFunc) - 24usize] ; } ; # [doc = " Signature for the registration callback of a created node\n\n @param node  the current node"] pub type xmlRegisterNodeFunc = :: std :: option :: Option < unsafe extern "C" fn (node : * mut xmlNode) > ; # [doc = " Signature for the deregistration callback of a discarded node\n\n @param node  the current node"] pub type xmlDeregisterNodeFunc = :: std :: option :: Option < unsafe extern "C" fn (node : * mut xmlNode) > ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlRegisterNodeDefaultValue () -> * mut xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn __xmlDeregisterNodeDefaultValue () -> * mut xmlDeregisterNodeFunc ; } unsafe extern "C" { # [doc = " @endcond"] pub fn xmlValidateNCName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateQName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNMToken (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBuildQName (ncname : * const xmlChar , prefix : * const xmlChar , memory : * mut xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSplitQName2 (name : * const xmlChar , prefix : * mut * mut xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSplitQName3 (name : * const xmlChar , len : * mut :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCreateIntSubset (doc : * mut xmlDoc , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlNewDtd (doc : * mut xmlDoc , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlGetIntSubset (doc : * const xmlDoc) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlFreeDtd (cur : * mut xmlDtd) ; } unsafe extern "C" { pub fn xmlNewNs (node : * mut xmlNode , href : * const xmlChar , prefix : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlFreeNs (cur : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlFreeNsList (cur : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlNewDoc (version : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlFreeDoc (cur : * mut xmlDoc) ; } unsafe extern "C" { pub fn xmlNewDocProp (doc : * mut xmlDoc , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewProp (node : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewNsPropEatName (node : * mut xmlNode , ns : * mut xmlNs , name : * mut xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlFreePropList (cur : * mut xmlAttr) ; } unsafe extern "C" { pub fn xmlFreeProp (cur : * mut xmlAttr) ; } unsafe extern "C" { pub fn xmlCopyProp (target : * mut xmlNode , cur : * mut xmlAttr) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlCopyPropList (target : * mut xmlNode , cur : * mut xmlAttr) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlCopyDtd (dtd : * mut xmlDtd) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlCopyDoc (doc : * mut xmlDoc , recursive : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlNewDocNode (doc : * mut xmlDoc , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocNodeEatName (doc : * mut xmlDoc , ns : * mut xmlNs , name : * mut xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewNode (ns : * mut xmlNs , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewNodeEatName (ns : * mut xmlNs , name : * mut xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewChild (parent : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocText (doc : * const xmlDoc , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewText (content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocPI (doc : * mut xmlDoc , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewPI (name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocTextLen (doc : * mut xmlDoc , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewTextLen (content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocComment (doc : * mut xmlDoc , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewComment (content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewCDataBlock (doc : * mut xmlDoc , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewCharRef (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewReference (doc : * const xmlDoc , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCopyNode (node : * mut xmlNode , recursive : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlDocCopyNode (node : * mut xmlNode , doc : * mut xmlDoc , recursive : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlDocCopyNodeList (doc : * mut xmlDoc , node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCopyNodeList (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewTextChild (parent : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocRawNode (doc : * mut xmlDoc , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocFragment (doc : * mut xmlDoc) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlGetLineNo (node : * const xmlNode) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn xmlGetNodePath (node : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlDocGetRootElement (doc : * const xmlDoc) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlGetLastChild (parent : * const xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeIsText (node : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsBlankNode (node : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocSetRootElement (doc : * mut xmlDoc , root : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeSetName (cur : * mut xmlNode , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlAddChild (parent : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddChildList (parent : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlReplaceNode (old : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddPrevSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddNextSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlUnlinkNode (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlTextMerge (first : * mut xmlNode , second : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlTextConcat (node : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFreeNodeList (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlFreeNode (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlSetTreeDoc (tree : * mut xmlNode , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetListDoc (list : * mut xmlNode , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSearchNs (doc : * mut xmlDoc , node : * mut xmlNode , nameSpace : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlSearchNsByHref (doc : * mut xmlDoc , node : * mut xmlNode , href : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlGetNsListSafe (doc : * const xmlDoc , node : * const xmlNode , out : * mut * mut * mut xmlNs) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetNsList (doc : * const xmlDoc , node : * const xmlNode) -> * mut * mut xmlNs ; } unsafe extern "C" { pub fn xmlSetNs (node : * mut xmlNode , ns : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlCopyNamespace (cur : * mut xmlNs) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlCopyNamespaceList (cur : * mut xmlNs) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlSetProp (node : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlSetNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNodeGetAttrValue (node : * const xmlNode , name : * const xmlChar , nsUri : * const xmlChar , out : * mut * mut xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetNoNsProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlGetProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlHasProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlHasNsProp (node : * const xmlNode , name : * const xmlChar , nameSpace : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlGetNsProp (node : * const xmlNode , name : * const xmlChar , nameSpace : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStringGetNodeList (doc : * const xmlDoc , value : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlStringLenGetNodeList (doc : * const xmlDoc , value : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeListGetString (doc : * mut xmlDoc , list : * const xmlNode , inLine : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeListGetRawString (doc : * const xmlDoc , list : * const xmlNode , inLine : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeSetContent (cur : * mut xmlNode , content : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetContentLen (cur : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeAddContent (cur : * mut xmlNode , content : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeAddContentLen (cur : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetContent (cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeBufGetContent (buffer : * mut xmlBuffer , cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufGetNodeContent (buf : * mut xmlBuf , cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetLang (cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeGetSpacePreserve (cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetLang (cur : * mut xmlNode , lang : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetSpacePreserve (cur : * mut xmlNode , val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetBaseSafe (doc : * const xmlDoc , cur : * const xmlNode , baseOut : * mut * mut xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetBase (doc : * const xmlDoc , cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeSetBase (cur : * mut xmlNode , uri : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveProp (cur : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUnsetNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUnsetProp (node : * mut xmlNode , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAttrSerializeTxtContent (buf : * mut xmlBuffer , doc : * mut xmlDoc , attr : * mut xmlAttr , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlReconciliateNs (doc : * mut xmlDoc , tree : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocDumpFormatMemory (cur : * mut xmlDoc , mem : * mut * mut xmlChar , size : * mut :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocDumpMemory (cur : * mut xmlDoc , mem : * mut * mut xmlChar , size : * mut :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocDumpMemoryEnc (out_doc : * mut xmlDoc , doc_txt_ptr : * mut * mut xmlChar , doc_txt_len : * mut :: std :: os :: raw :: c_int , txt_encoding : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlDocDumpFormatMemoryEnc (out_doc : * mut xmlDoc , doc_txt_ptr : * mut * mut xmlChar , doc_txt_len : * mut :: std :: os :: raw :: c_int , txt_encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocFormatDump (f : * mut FILE , cur : * mut xmlDoc , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocDump (f : * mut FILE , cur : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlElemDump (f : * mut FILE , doc : * mut xmlDoc , cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlSaveFile (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFormatFile (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufNodeDump (buf : * mut xmlBuf , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> usize ; } unsafe extern "C" { pub fn xmlNodeDump (buf : * mut xmlBuffer , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFileTo (buf : * mut xmlOutputBuffer , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFormatFileTo (buf : * mut xmlOutputBuffer , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeDumpOutput (buf : * mut xmlOutputBuffer , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , encoding : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlSaveFormatFileEnc (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFileEnc (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsXHTML (systemID : * const xmlChar , publicID : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetDocCompressMode (doc : * const xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetDocCompressMode (doc : * mut xmlDoc , mode : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlGetCompressMode () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetCompressMode (mode : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDOMWrapNewCtxt () -> * mut xmlDOMWrapCtxt ; } unsafe extern "C" { pub fn xmlDOMWrapFreeCtxt (ctxt : * mut xmlDOMWrapCtxt) ; } unsafe extern "C" { pub fn xmlDOMWrapReconcileNamespaces (ctxt : * mut xmlDOMWrapCtxt , elem : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapAdoptNode (ctxt : * mut xmlDOMWrapCtxt , sourceDoc : * mut xmlDoc , node : * mut xmlNode , destDoc : * mut xmlDoc , destParent : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapRemoveNode (ctxt : * mut xmlDOMWrapCtxt , doc : * mut xmlDoc , node : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapCloneNode (ctxt : * mut xmlDOMWrapCtxt , sourceDoc : * mut xmlDoc , node : * mut xmlNode , clonedNode : * mut * mut xmlNode , destDoc : * mut xmlDoc , destParent : * mut xmlNode , deep : :: std :: os :: raw :: c_int , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlChildElementCount (parent : * mut xmlNode) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlNextElementSibling (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlFirstElementChild (parent : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlLastElementChild (parent : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlPreviousElementSibling (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlRegisterNodeDefault (func : xmlRegisterNodeFunc) -> xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn xmlDeregisterNodeDefault (func : xmlDeregisterNodeFunc) -> xmlDeregisterNodeFunc ; } unsafe extern "C" { pub fn xmlThrDefRegisterNodeDefault (func : xmlRegisterNodeFunc) -> xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn xmlThrDefDeregisterNodeDefault (func : xmlDeregisterNodeFunc) -> xmlDeregisterNodeFunc ; } unsafe extern "C" { pub fn xmlSetBufferAllocationScheme (scheme : xmlBufferAllocationScheme) ; } unsafe extern "C" { pub fn xmlGetBufferAllocationScheme () -> xmlBufferAllocationScheme ; } unsafe extern "C" { pub fn xmlBufferCreate () -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferCreateSize (size : usize) -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferCreateStatic (mem : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferResize (buf : * mut xmlBuffer , size : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferFree (buf : * mut xmlBuffer) ; } unsafe extern "C" { pub fn xmlBufferDump (file : * mut FILE , buf : * mut xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferAdd (buf : * mut xmlBuffer , str_ : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferAddHead (buf : * mut xmlBuffer , str_ : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferCat (buf : * mut xmlBuffer , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferCCat (buf : * mut xmlBuffer , str_ : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferShrink (buf : * mut xmlBuffer , len : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferGrow (buf : * mut xmlBuffer , len : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferEmpty (buf : * mut xmlBuffer) ; } unsafe extern "C" { pub fn xmlBufferContent (buf : * const xmlBuffer) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlBufferDetach (buf : * mut xmlBuffer) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufferSetAllocationScheme (buf : * mut xmlBuffer , scheme : xmlBufferAllocationScheme) ; } unsafe extern "C" { pub fn xmlBufferLength (buf : * const xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferWriteCHAR (buf : * mut xmlBuffer , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlBufferWriteChar (buf : * mut xmlBuffer , string : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlBufferWriteQuotedString (buf : * mut xmlBuffer , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlBufContent (buf : * const xmlBuf) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufEnd (buf : * mut xmlBuf) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufUse (buf : * mut xmlBuf) -> usize ; } unsafe extern "C" { pub fn xmlBufShrink (buf : * mut xmlBuf , len : usize) -> usize ; } pub type wchar_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [repr (align (16))] # [derive (Debug , Copy , Clone)] pub struct max_align_t { pub __clang_max_align_nonce1 : :: std :: os :: raw :: c_longlong , pub __bindgen_padding_0 : u64 , pub __clang_max_align_nonce2 : u128 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of max_align_t"] [:: std :: mem :: size_of :: < max_align_t > () - 32usize] ; ["Alignment of max_align_t"] [:: std :: mem :: align_of :: < max_align_t > () - 16usize] ; ["Offset of field: max_align_t::__clang_max_align_nonce1"] [:: std :: mem :: offset_of ! (max_align_t , __clang_max_align_nonce1) - 0usize] ; ["Offset of field: max_align_t::__clang_max_align_nonce2"] [:: std :: mem :: offset_of ! (max_align_t , __clang_max_align_nonce2) - 16usize] ; } ; # [doc = " Dictionary (pool for interned strings)"] pub type xmlDict = _xmlDict ; pub type xmlDictPtr = * mut xmlDict ; unsafe extern "C" { pub fn xmlInitializeDict () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictCreate () -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlDictSetLimit (dict : * mut xmlDict , limit : usize) -> usize ; } unsafe extern "C" { pub fn xmlDictGetUsage (dict : * mut xmlDict) -> usize ; } unsafe extern "C" { pub fn xmlDictCreateSub (sub : * mut xmlDict) -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlDictReference (dict : * mut xmlDict) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictFree (dict : * mut xmlDict) ; } unsafe extern "C" { pub fn xmlDictLookup (dict : * mut xmlDict , name : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictExists (dict : * mut xmlDict , name : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictQLookup (dict : * mut xmlDict , prefix : * const xmlChar , name : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictOwns (dict : * mut xmlDict , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictSize (dict : * mut xmlDict) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictCleanup () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlHashTable { _unused : [u8 ; 0] , } # [doc = " Hash table mapping strings to pointers\n\n Also supports lookup using two or three strings as key."] pub type xmlHashTable = _xmlHashTable ; pub type xmlHashTablePtr = * mut xmlHashTable ; # [doc = " Callback to free data from a hash.\n\n @param payload  the data in the hash\n @param name  the name associated"] pub type xmlHashDeallocator = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback to copy data from a hash.\n\n @param payload  the data in the hash\n @param name  the name associated\n @returns a copy of the data or NULL in case of error."] pub type xmlHashCopier = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback when scanning data in a hash with the simple scanner.\n\n @param payload  the data in the hash\n @param data  extra scanner data\n @param name  the name associated"] pub type xmlHashScanner = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , data : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback when scanning data in a hash with the full scanner.\n\n @param payload  the data in the hash\n @param data  extra scanner data\n @param name  the name associated\n @param name2  the second name associated\n @param name3  the third name associated"] pub type xmlHashScannerFull = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , data : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar) > ; unsafe extern "C" { pub fn xmlHashCreate (size : :: std :: os :: raw :: c_int) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashCreateDict (size : :: std :: os :: raw :: c_int , dict : * mut xmlDict) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashFree (hash : * mut xmlHashTable , dealloc : xmlHashDeallocator) ; } unsafe extern "C" { pub fn xmlHashDefaultDeallocator (entry : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlHashAdd (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAdd2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAdd3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry (hash : * mut xmlHashTable , name : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashLookup (hash : * mut xmlHashTable , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashLookup2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashLookup3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup2 (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar , prefix2 : * const xmlChar , name2 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup3 (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar , prefix2 : * const xmlChar , name2 : * const xmlChar , prefix3 : * const xmlChar , name3 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashCopySafe (hash : * mut xmlHashTable , copy : xmlHashCopier , dealloc : xmlHashDeallocator) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashCopy (hash : * mut xmlHashTable , copy : xmlHashCopier) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashSize (hash : * mut xmlHashTable) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashScan (hash : * mut xmlHashTable , scan : xmlHashScanner , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScan3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , scan : xmlHashScanner , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScanFull (hash : * mut xmlHashTable , scan : xmlHashScannerFull , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScanFull3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , scan : xmlHashScannerFull , data : * mut :: std :: os :: raw :: c_void) ; } # [doc = " Success"] pub const xmlErrorLevel_XML_ERR_NONE : xmlErrorLevel = 0 ; # [doc = " A warning\n\n When parsing XML, warnings are only reported to error\n handlers."] pub const xmlErrorLevel_XML_ERR_WARNING : xmlErrorLevel = 1 ; # [doc = " An error\n\n When parsing XML, this is used for recoverable errors like\n\n - namespace errors\n - validity errors when validating\n - certain undeclared entities\n - ID uniqueness and xml:id errors\n\n Note that some recoverable errors in the sense of the XML\n spec are reported as warnings.\n\n In other contexts, this may be used for unrecoverable\n errors."] pub const xmlErrorLevel_XML_ERR_ERROR : xmlErrorLevel = 2 ; # [doc = " A fatal error\n\n When parsing XML, a \"fatal error\" according to the XML spec.\n This typically means that the document isn't well-formed.\n\n This also includes OOM and I/O errors, resource limit\n exhaustion, unexpected errors from other libraries and\n invalid argument errors."] pub const xmlErrorLevel_XML_ERR_FATAL : xmlErrorLevel = 3 ; # [doc = " Indicates the level of an error"] pub type xmlErrorLevel = :: std :: os :: raw :: c_uint ; # [doc = " Unknown"] pub const xmlErrorDomain_XML_FROM_NONE : xmlErrorDomain = 0 ; # [doc = " The XML parser"] pub const xmlErrorDomain_XML_FROM_PARSER : xmlErrorDomain = 1 ; # [doc = " The tree module (unused)"] pub const xmlErrorDomain_XML_FROM_TREE : xmlErrorDomain = 2 ; # [doc = " The XML Namespace module"] pub const xmlErrorDomain_XML_FROM_NAMESPACE : xmlErrorDomain = 3 ; # [doc = " The XML DTD validation with parser context"] pub const xmlErrorDomain_XML_FROM_DTD : xmlErrorDomain = 4 ; # [doc = " The HTML parser"] pub const xmlErrorDomain_XML_FROM_HTML : xmlErrorDomain = 5 ; # [doc = " The memory allocator (unused)"] pub const xmlErrorDomain_XML_FROM_MEMORY : xmlErrorDomain = 6 ; # [doc = " The serialization code"] pub const xmlErrorDomain_XML_FROM_OUTPUT : xmlErrorDomain = 7 ; # [doc = " The Input/Output stack"] pub const xmlErrorDomain_XML_FROM_IO : xmlErrorDomain = 8 ; # [doc = " The FTP module (unused)"] pub const xmlErrorDomain_XML_FROM_FTP : xmlErrorDomain = 9 ; # [doc = " The HTTP module (unused)"] pub const xmlErrorDomain_XML_FROM_HTTP : xmlErrorDomain = 10 ; # [doc = " The XInclude processing"] pub const xmlErrorDomain_XML_FROM_XINCLUDE : xmlErrorDomain = 11 ; # [doc = " The XPath module"] pub const xmlErrorDomain_XML_FROM_XPATH : xmlErrorDomain = 12 ; # [doc = " The XPointer module"] pub const xmlErrorDomain_XML_FROM_XPOINTER : xmlErrorDomain = 13 ; # [doc = " The regular expressions module"] pub const xmlErrorDomain_XML_FROM_REGEXP : xmlErrorDomain = 14 ; # [doc = " The W3C XML Schemas Datatype module"] pub const xmlErrorDomain_XML_FROM_DATATYPE : xmlErrorDomain = 15 ; # [doc = " The W3C XML Schemas parser module"] pub const xmlErrorDomain_XML_FROM_SCHEMASP : xmlErrorDomain = 16 ; # [doc = " The W3C XML Schemas validation module"] pub const xmlErrorDomain_XML_FROM_SCHEMASV : xmlErrorDomain = 17 ; # [doc = " The Relax-NG parser module"] pub const xmlErrorDomain_XML_FROM_RELAXNGP : xmlErrorDomain = 18 ; # [doc = " The Relax-NG validator module"] pub const xmlErrorDomain_XML_FROM_RELAXNGV : xmlErrorDomain = 19 ; # [doc = " The Catalog module"] pub const xmlErrorDomain_XML_FROM_CATALOG : xmlErrorDomain = 20 ; # [doc = " The Canonicalization module"] pub const xmlErrorDomain_XML_FROM_C14N : xmlErrorDomain = 21 ; # [doc = " The XSLT engine from libxslt (unused)"] pub const xmlErrorDomain_XML_FROM_XSLT : xmlErrorDomain = 22 ; # [doc = " The XML DTD validation with valid context"] pub const xmlErrorDomain_XML_FROM_VALID : xmlErrorDomain = 23 ; # [doc = " The error checking module (unused)"] pub const xmlErrorDomain_XML_FROM_CHECK : xmlErrorDomain = 24 ; # [doc = " The xmlwriter module"] pub const xmlErrorDomain_XML_FROM_WRITER : xmlErrorDomain = 25 ; # [doc = " The dynamically loaded module module (unused)"] pub const xmlErrorDomain_XML_FROM_MODULE : xmlErrorDomain = 26 ; # [doc = " The module handling character conversion (unused)"] pub const xmlErrorDomain_XML_FROM_I18N : xmlErrorDomain = 27 ; # [doc = " The Schematron validator module"] pub const xmlErrorDomain_XML_FROM_SCHEMATRONV : xmlErrorDomain = 28 ; # [doc = " The buffers module (unused)"] pub const xmlErrorDomain_XML_FROM_BUFFER : xmlErrorDomain = 29 ; # [doc = " The URI module (unused)"] pub const xmlErrorDomain_XML_FROM_URI : xmlErrorDomain = 30 ; # [doc = " Indicates where an error may have come from"] pub type xmlErrorDomain = :: std :: os :: raw :: c_uint ; # [doc = " Structured error"] pub type xmlError = _xmlError ; pub type xmlErrorPtr = * mut xmlError ; # [doc = " An object containing information about an error."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlError { # [doc = " An xmlErrorDomain value."] pub domain : :: std :: os :: raw :: c_int , # [doc = " The error code, e.g. an xmlParserErrors."] pub code : :: std :: os :: raw :: c_int , # [doc = " Human-readable error message."] pub message : * mut :: std :: os :: raw :: c_char , # [doc = " Error level."] pub level : xmlErrorLevel , # [doc = " Filename if available"] pub file : * mut :: std :: os :: raw :: c_char , # [doc = " Line number if available"] pub line : :: std :: os :: raw :: c_int , # [doc = " Extra string information."] pub str1 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra string information."] pub str2 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra string information."] pub str3 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra number information."] pub int1 : :: std :: os :: raw :: c_int , # [doc = " Column number if available."] pub int2 : :: std :: os :: raw :: c_int , # [doc = " Parser context if available"] pub ctxt : * mut :: std :: os :: raw :: c_void , # [doc = " Node if available"] pub node : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlError"] [:: std :: mem :: size_of :: < _xmlError > () - 88usize] ; ["Alignment of _xmlError"] [:: std :: mem :: align_of :: < _xmlError > () - 8usize] ; ["Offset of field: _xmlError::domain"] [:: std :: mem :: offset_of ! (_xmlError , domain) - 0usize] ; ["Offset of field: _xmlError::code"] [:: std :: mem :: offset_of ! (_xmlError , code) - 4usize] ; ["Offset of field: _xmlError::message"] [:: std :: mem :: offset_of ! (_xmlError , message) - 8usize] ; ["Offset of field: _xmlError::level"] [:: std :: mem :: offset_of ! (_xmlError , level) - 16usize] ; ["Offset of field: _xmlError::file"] [:: std :: mem :: offset_of ! (_xmlError , file) - 24usize] ; ["Offset of field: _xmlError::line"] [:: std :: mem :: offset_of ! (_xmlError , line) - 32usize] ; ["Offset of field: _xmlError::str1"] [:: std :: mem :: offset_of ! (_xmlError , str1) - 40usize] ; ["Offset of field: _xmlError::str2"] [:: std :: mem :: offset_of ! (_xmlError , str2) - 48usize] ; ["Offset of field: _xmlError::str3"] [:: std :: mem :: offset_of ! (_xmlError , str3) - 56usize] ; ["Offset of field: _xmlError::int1"] [:: std :: mem :: offset_of ! (_xmlError , int1) - 64usize] ; ["Offset of field: _xmlError::int2"] [:: std :: mem :: offset_of ! (_xmlError , int2) - 68usize] ; ["Offset of field: _xmlError::ctxt"] [:: std :: mem :: offset_of ! (_xmlError , ctxt) - 72usize] ; ["Offset of field: _xmlError::node"] [:: std :: mem :: offset_of ! (_xmlError , node) - 80usize] ; } ; # [doc = " Success."] pub const xmlParserErrors_XML_ERR_OK : xmlParserErrors = 0 ; # [doc = " Internal assertion failure."] pub const xmlParserErrors_XML_ERR_INTERNAL_ERROR : xmlParserErrors = 1 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_NO_MEMORY : xmlParserErrors = 2 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_START : xmlParserErrors = 3 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_EMPTY : xmlParserErrors = 4 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_END : xmlParserErrors = 5 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_HEX_CHARREF : xmlParserErrors = 6 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_DEC_CHARREF : xmlParserErrors = 7 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_CHARREF : xmlParserErrors = 8 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_CHAR : xmlParserErrors = 9 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_AT_EOF : xmlParserErrors = 10 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_PROLOG : xmlParserErrors = 11 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_EPILOG : xmlParserErrors = 12 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_DTD : xmlParserErrors = 13 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_AT_EOF : xmlParserErrors = 14 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_PROLOG : xmlParserErrors = 15 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_EPILOG : xmlParserErrors = 16 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_DTD : xmlParserErrors = 17 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_AT_EOF : xmlParserErrors = 18 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_PROLOG : xmlParserErrors = 19 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_EPILOG : xmlParserErrors = 20 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_INT_SUBSET : xmlParserErrors = 21 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_NO_NAME : xmlParserErrors = 22 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_SEMICOL_MISSING : xmlParserErrors = 23 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_NO_NAME : xmlParserErrors = 24 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_SEMICOL_MISSING : xmlParserErrors = 25 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNDECLARED_ENTITY : xmlParserErrors = 26 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_WAR_UNDECLARED_ENTITY : xmlParserErrors = 27 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNPARSED_ENTITY : xmlParserErrors = 28 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITY_IS_EXTERNAL : xmlParserErrors = 29 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITY_IS_PARAMETER : xmlParserErrors = 30 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNKNOWN_ENCODING : xmlParserErrors = 31 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_UNSUPPORTED_ENCODING : xmlParserErrors = 32 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STRING_NOT_STARTED : xmlParserErrors = 33 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STRING_NOT_CLOSED : xmlParserErrors = 34 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NS_DECL_ERROR : xmlParserErrors = 35 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_NOT_STARTED : xmlParserErrors = 36 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_NOT_FINISHED : xmlParserErrors = 37 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LT_IN_ATTRIBUTE : xmlParserErrors = 38 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_NOT_STARTED : xmlParserErrors = 39 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_NOT_FINISHED : xmlParserErrors = 40 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_WITHOUT_VALUE : xmlParserErrors = 41 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_REDEFINED : xmlParserErrors = 42 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LITERAL_NOT_STARTED : xmlParserErrors = 43 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LITERAL_NOT_FINISHED : xmlParserErrors = 44 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_COMMENT_NOT_FINISHED : xmlParserErrors = 45 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PI_NOT_STARTED : xmlParserErrors = 46 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PI_NOT_FINISHED : xmlParserErrors = 47 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_NOT_STARTED : xmlParserErrors = 48 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_NOT_FINISHED : xmlParserErrors = 49 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTLIST_NOT_STARTED : xmlParserErrors = 50 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTLIST_NOT_FINISHED : xmlParserErrors = 51 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MIXED_NOT_STARTED : xmlParserErrors = 52 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MIXED_NOT_FINISHED : xmlParserErrors = 53 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ELEMCONTENT_NOT_STARTED : xmlParserErrors = 54 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ELEMCONTENT_NOT_FINISHED : xmlParserErrors = 55 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_XMLDECL_NOT_STARTED : xmlParserErrors = 56 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_XMLDECL_NOT_FINISHED : xmlParserErrors = 57 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_NOT_STARTED : xmlParserErrors = 58 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_NOT_FINISHED : xmlParserErrors = 59 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXT_SUBSET_NOT_FINISHED : xmlParserErrors = 60 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_DOCTYPE_NOT_FINISHED : xmlParserErrors = 61 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MISPLACED_CDATA_END : xmlParserErrors = 62 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CDATA_NOT_FINISHED : xmlParserErrors = 63 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_RESERVED_XML_NAME : xmlParserErrors = 64 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_SPACE_REQUIRED : xmlParserErrors = 65 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_SEPARATOR_REQUIRED : xmlParserErrors = 66 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NMTOKEN_REQUIRED : xmlParserErrors = 67 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NAME_REQUIRED : xmlParserErrors = 68 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PCDATA_REQUIRED : xmlParserErrors = 69 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_URI_REQUIRED : xmlParserErrors = 70 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PUBID_REQUIRED : xmlParserErrors = 71 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LT_REQUIRED : xmlParserErrors = 72 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_GT_REQUIRED : xmlParserErrors = 73 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LTSLASH_REQUIRED : xmlParserErrors = 74 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EQUAL_REQUIRED : xmlParserErrors = 75 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_TAG_NAME_MISMATCH : xmlParserErrors = 76 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_TAG_NOT_FINISHED : xmlParserErrors = 77 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STANDALONE_VALUE : xmlParserErrors = 78 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENCODING_NAME : xmlParserErrors = 79 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_HYPHEN_IN_COMMENT : xmlParserErrors = 80 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_INVALID_ENCODING : xmlParserErrors = 81 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXT_ENTITY_STANDALONE : xmlParserErrors = 82 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_INVALID : xmlParserErrors = 83 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VALUE_REQUIRED : xmlParserErrors = 84 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOT_WELL_BALANCED : xmlParserErrors = 85 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXTRA_CONTENT : xmlParserErrors = 86 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_CHAR_ERROR : xmlParserErrors = 87 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_PE_INTERNAL : xmlParserErrors = 88 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_LOOP : xmlParserErrors = 89 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_BOUNDARY : xmlParserErrors = 90 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_INVALID_URI : xmlParserErrors = 91 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_URI_FRAGMENT : xmlParserErrors = 92 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_CATALOG_PI : xmlParserErrors = 93 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NO_DTD : xmlParserErrors = 94 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_INVALID_KEYWORD : xmlParserErrors = 95 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VERSION_MISSING : xmlParserErrors = 96 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_UNKNOWN_VERSION : xmlParserErrors = 97 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_LANG_VALUE : xmlParserErrors = 98 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_URI : xmlParserErrors = 99 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_URI_RELATIVE : xmlParserErrors = 100 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MISSING_ENCODING : xmlParserErrors = 101 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_SPACE_VALUE : xmlParserErrors = 102 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOT_STANDALONE : xmlParserErrors = 103 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_PROCESSING : xmlParserErrors = 104 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_PROCESSING : xmlParserErrors = 105 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_COLUMN : xmlParserErrors = 106 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_ENTITY_REDEFINED : xmlParserErrors = 107 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_UNKNOWN_VERSION : xmlParserErrors = 108 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VERSION_MISMATCH : xmlParserErrors = 109 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NAME_TOO_LONG : xmlParserErrors = 110 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_USER_STOP : xmlParserErrors = 111 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_COMMENT_ABRUPTLY_ENDED : xmlParserErrors = 112 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_ENCODING_MISMATCH : xmlParserErrors = 113 ; # [doc = " Internal resource limit like maximum amplification\n factor exceeded."] pub const xmlParserErrors_XML_ERR_RESOURCE_LIMIT : xmlParserErrors = 114 ; # [doc = " Invalid argument."] pub const xmlParserErrors_XML_ERR_ARGUMENT : xmlParserErrors = 115 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_SYSTEM : xmlParserErrors = 116 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_REDECL_PREDEF_ENTITY : xmlParserErrors = 117 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_INT_SUBSET_NOT_FINISHED : xmlParserErrors = 118 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_XML_NAMESPACE : xmlParserErrors = 200 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_UNDEFINED_NAMESPACE : xmlParserErrors = 201 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_QNAME : xmlParserErrors = 202 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_ATTRIBUTE_REDEFINED : xmlParserErrors = 203 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_EMPTY : xmlParserErrors = 204 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_COLON : xmlParserErrors = 205 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_DEFAULT : xmlParserErrors = 500 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_REDEFINED : xmlParserErrors = 501 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_VALUE : xmlParserErrors = 502 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_ERROR : xmlParserErrors = 503 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_MODEL : xmlParserErrors = 504 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_NOT_DETERMINIST : xmlParserErrors = 505 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_DIFFERENT_PREFIX : xmlParserErrors = 506 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_DEFAULT_NAMESPACE : xmlParserErrors = 507 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_NAMESPACE : xmlParserErrors = 508 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_REDEFINED : xmlParserErrors = 509 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_EMPTY_NOTATION : xmlParserErrors = 510 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ENTITY_TYPE : xmlParserErrors = 511 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_FIXED : xmlParserErrors = 512 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_REDEFINED : xmlParserErrors = 513 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_SUBSET : xmlParserErrors = 514 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_INVALID_CHILD : xmlParserErrors = 515 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_INVALID_DEFAULT : xmlParserErrors = 516 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_LOAD_ERROR : xmlParserErrors = 517 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MISSING_ATTRIBUTE : xmlParserErrors = 518 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MIXED_CORRUPT : xmlParserErrors = 519 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MULTIPLE_ID : xmlParserErrors = 520 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_DOC : xmlParserErrors = 521 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_DTD : xmlParserErrors = 522 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_ELEM_NAME : xmlParserErrors = 523 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_PREFIX : xmlParserErrors = 524 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_ROOT : xmlParserErrors = 525 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOTATION_REDEFINED : xmlParserErrors = 526 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOTATION_VALUE : xmlParserErrors = 527 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_EMPTY : xmlParserErrors = 528 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_PCDATA : xmlParserErrors = 529 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_STANDALONE : xmlParserErrors = 530 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ROOT_NAME : xmlParserErrors = 531 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_STANDALONE_WHITE_SPACE : xmlParserErrors = 532 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ATTRIBUTE : xmlParserErrors = 533 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ELEM : xmlParserErrors = 534 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ENTITY : xmlParserErrors = 535 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ID : xmlParserErrors = 536 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_NOTATION : xmlParserErrors = 537 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_STANDALONE_DEFAULTED : xmlParserErrors = 538 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_XMLID_VALUE : xmlParserErrors = 539 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_XMLID_TYPE : xmlParserErrors = 540 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_DUP_TOKEN : xmlParserErrors = 541 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_STRUCURE_ERROR : xmlParserErrors = 800 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_UNKNOWN_TAG : xmlParserErrors = 801 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_INCORRECTLY_OPENED_COMMENT : xmlParserErrors = 802 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ANYNAME_ATTR_ANCESTOR : xmlParserErrors = 1000 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTR_CONFLICT : xmlParserErrors = 1001 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_CHILDREN : xmlParserErrors = 1002 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_CONTENT : xmlParserErrors = 1003 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_EMPTY : xmlParserErrors = 1004 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_NOOP : xmlParserErrors = 1005 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CHOICE_CONTENT : xmlParserErrors = 1006 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CHOICE_EMPTY : xmlParserErrors = 1007 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CREATE_FAILURE : xmlParserErrors = 1008 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DATA_CONTENT : xmlParserErrors = 1009 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEF_CHOICE_AND_INTERLEAVE : xmlParserErrors = 1010 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_CREATE_FAILED : xmlParserErrors = 1011 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_EMPTY : xmlParserErrors = 1012 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_MISSING : xmlParserErrors = 1013 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_NAME_MISSING : xmlParserErrors = 1014 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_CONTENT_EMPTY : xmlParserErrors = 1015 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_CONTENT_ERROR : xmlParserErrors = 1016 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_EMPTY : xmlParserErrors = 1017 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_CONTENT : xmlParserErrors = 1018 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_NAME : xmlParserErrors = 1019 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_NO_CONTENT : xmlParserErrors = 1020 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_TEXT_CONFLICT : xmlParserErrors = 1021 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY : xmlParserErrors = 1022 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_CONSTRUCT : xmlParserErrors = 1023 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_CONTENT : xmlParserErrors = 1024 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_NOT_EMPTY : xmlParserErrors = 1025 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ERROR_TYPE_LIB : xmlParserErrors = 1026 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_EMPTY : xmlParserErrors = 1027 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_MISSING : xmlParserErrors = 1028 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_MULTIPLE : xmlParserErrors = 1029 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_NO_CONTENT : xmlParserErrors = 1030 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNALREF_EMTPY : xmlParserErrors = 1031 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNAL_REF_FAILURE : xmlParserErrors = 1032 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNALREF_RECURSE : xmlParserErrors = 1033 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_FORBIDDEN_ATTRIBUTE : xmlParserErrors = 1034 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_FOREIGN_ELEMENT : xmlParserErrors = 1035 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_CONTENT : xmlParserErrors = 1036 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_EMPTY : xmlParserErrors = 1037 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_MISSING : xmlParserErrors = 1038 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_NO_START : xmlParserErrors = 1039 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GROUP_ATTR_CONFLICT : xmlParserErrors = 1040 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_HREF_ERROR : xmlParserErrors = 1041 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_EMPTY : xmlParserErrors = 1042 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_FAILURE : xmlParserErrors = 1043 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_RECURSE : xmlParserErrors = 1044 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_ADD : xmlParserErrors = 1045 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_CREATE_FAILED : xmlParserErrors = 1046 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_EMPTY : xmlParserErrors = 1047 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_NO_CONTENT : xmlParserErrors = 1048 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_DEFINE_NAME : xmlParserErrors = 1049 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_URI : xmlParserErrors = 1050 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_VALUE : xmlParserErrors = 1051 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_MISSING_HREF : xmlParserErrors = 1052 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NAME_MISSING : xmlParserErrors = 1053 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NEED_COMBINE : xmlParserErrors = 1054 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NOTALLOWED_NOT_EMPTY : xmlParserErrors = 1055 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NSNAME_ATTR_ANCESTOR : xmlParserErrors = 1056 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NSNAME_NO_NS : xmlParserErrors = 1057 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARAM_FORBIDDEN : xmlParserErrors = 1058 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARAM_NAME_MISSING : xmlParserErrors = 1059 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_CREATE_FAILED : xmlParserErrors = 1060 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NAME_INVALID : xmlParserErrors = 1061 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NO_NAME : xmlParserErrors = 1062 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NO_PARENT : xmlParserErrors = 1063 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NOT_EMPTY : xmlParserErrors = 1064 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARSE_ERROR : xmlParserErrors = 1065 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ANYNAME_EXCEPT_ANYNAME : xmlParserErrors = 1066 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ATTR_ATTR : xmlParserErrors = 1067 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ATTR_ELEM : xmlParserErrors = 1068 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ATTR : xmlParserErrors = 1069 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ELEM : xmlParserErrors = 1070 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_EMPTY : xmlParserErrors = 1071 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_GROUP : xmlParserErrors = 1072 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_INTERLEAVE : xmlParserErrors = 1073 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_LIST : xmlParserErrors = 1074 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ONEMORE : xmlParserErrors = 1075 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_REF : xmlParserErrors = 1076 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_TEXT : xmlParserErrors = 1077 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_ATTR : xmlParserErrors = 1078 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_ELEM : xmlParserErrors = 1079 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_INTERLEAVE : xmlParserErrors = 1080 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_LIST : xmlParserErrors = 1081 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_REF : xmlParserErrors = 1082 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_TEXT : xmlParserErrors = 1083 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_NSNAME_EXCEPT_ANYNAME : xmlParserErrors = 1084 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_NSNAME_EXCEPT_NSNAME : xmlParserErrors = 1085 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ONEMORE_GROUP_ATTR : xmlParserErrors = 1086 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ONEMORE_INTERLEAVE_ATTR : xmlParserErrors = 1087 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_ATTR : xmlParserErrors = 1088 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_DATA : xmlParserErrors = 1089 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_EMPTY : xmlParserErrors = 1090 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_GROUP : xmlParserErrors = 1091 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_INTERLEAVE : xmlParserErrors = 1092 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_LIST : xmlParserErrors = 1093 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_ONEMORE : xmlParserErrors = 1094 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_TEXT : xmlParserErrors = 1095 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_VALUE : xmlParserErrors = 1096 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PREFIX_UNDEFINED : xmlParserErrors = 1097 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_CREATE_FAILED : xmlParserErrors = 1098 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_CYCLE : xmlParserErrors = 1099 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NAME_INVALID : xmlParserErrors = 1100 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NO_DEF : xmlParserErrors = 1101 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NO_NAME : xmlParserErrors = 1102 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NOT_EMPTY : xmlParserErrors = 1103 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_CHOICE_AND_INTERLEAVE : xmlParserErrors = 1104 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_CONTENT : xmlParserErrors = 1105 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_EMPTY : xmlParserErrors = 1106 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_MISSING : xmlParserErrors = 1107 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TEXT_EXPECTED : xmlParserErrors = 1108 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TEXT_HAS_CHILD : xmlParserErrors = 1109 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_MISSING : xmlParserErrors = 1110 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_NOT_FOUND : xmlParserErrors = 1111 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_VALUE : xmlParserErrors = 1112 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_ATTRIBUTE : xmlParserErrors = 1113 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_COMBINE : xmlParserErrors = 1114 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_CONSTRUCT : xmlParserErrors = 1115 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_TYPE_LIB : xmlParserErrors = 1116 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_URI_FRAGMENT : xmlParserErrors = 1117 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_URI_NOT_ABSOLUTE : xmlParserErrors = 1118 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_VALUE_EMPTY : xmlParserErrors = 1119 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_VALUE_NO_CONTENT : xmlParserErrors = 1120 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_XMLNS_NAME : xmlParserErrors = 1121 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_XML_NS : xmlParserErrors = 1122 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_EXPRESSION_OK : xmlParserErrors = 1200 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_NUMBER_ERROR : xmlParserErrors = 1201 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNFINISHED_LITERAL_ERROR : xmlParserErrors = 1202 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_START_LITERAL_ERROR : xmlParserErrors = 1203 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_VARIABLE_REF_ERROR : xmlParserErrors = 1204 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNDEF_VARIABLE_ERROR : xmlParserErrors = 1205 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_PREDICATE_ERROR : xmlParserErrors = 1206 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_EXPR_ERROR : xmlParserErrors = 1207 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNCLOSED_ERROR : xmlParserErrors = 1208 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNKNOWN_FUNC_ERROR : xmlParserErrors = 1209 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_OPERAND : xmlParserErrors = 1210 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_TYPE : xmlParserErrors = 1211 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_ARITY : xmlParserErrors = 1212 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CTXT_SIZE : xmlParserErrors = 1213 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CTXT_POSITION : xmlParserErrors = 1214 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_MEMORY_ERROR : xmlParserErrors = 1215 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_SYNTAX_ERROR : xmlParserErrors = 1216 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_RESOURCE_ERROR : xmlParserErrors = 1217 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_SUB_RESOURCE_ERROR : xmlParserErrors = 1218 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNDEF_PREFIX_ERROR : xmlParserErrors = 1219 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_ENCODING_ERROR : xmlParserErrors = 1220 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CHAR_ERROR : xmlParserErrors = 1221 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_INVALID_HEX : xmlParserErrors = 1300 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_INVALID_DEC : xmlParserErrors = 1301 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_UNTERMINATED_ENTITY : xmlParserErrors = 1302 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_NOT_UTF8 : xmlParserErrors = 1303 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_NOT_UTF8 : xmlParserErrors = 1400 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_CHAR_INVALID : xmlParserErrors = 1401 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_NO_DOCTYPE : xmlParserErrors = 1402 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_UNKNOWN_ENCODING : xmlParserErrors = 1403 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_REGEXP_COMPILE_ERROR : xmlParserErrors = 1450 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_UNKNOWN : xmlParserErrors = 1500 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EACCES : xmlParserErrors = 1501 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EAGAIN : xmlParserErrors = 1502 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBADF : xmlParserErrors = 1503 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBADMSG : xmlParserErrors = 1504 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBUSY : xmlParserErrors = 1505 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ECANCELED : xmlParserErrors = 1506 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ECHILD : xmlParserErrors = 1507 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EDEADLK : xmlParserErrors = 1508 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EDOM : xmlParserErrors = 1509 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EEXIST : xmlParserErrors = 1510 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EFAULT : xmlParserErrors = 1511 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EFBIG : xmlParserErrors = 1512 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINPROGRESS : xmlParserErrors = 1513 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINTR : xmlParserErrors = 1514 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINVAL : xmlParserErrors = 1515 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EIO : xmlParserErrors = 1516 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EISDIR : xmlParserErrors = 1517 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMFILE : xmlParserErrors = 1518 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMLINK : xmlParserErrors = 1519 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMSGSIZE : xmlParserErrors = 1520 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENAMETOOLONG : xmlParserErrors = 1521 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENFILE : xmlParserErrors = 1522 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENODEV : xmlParserErrors = 1523 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOENT : xmlParserErrors = 1524 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOEXEC : xmlParserErrors = 1525 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOLCK : xmlParserErrors = 1526 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOMEM : xmlParserErrors = 1527 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOSPC : xmlParserErrors = 1528 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOSYS : xmlParserErrors = 1529 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTDIR : xmlParserErrors = 1530 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTEMPTY : xmlParserErrors = 1531 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTSUP : xmlParserErrors = 1532 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTTY : xmlParserErrors = 1533 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENXIO : xmlParserErrors = 1534 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EPERM : xmlParserErrors = 1535 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EPIPE : xmlParserErrors = 1536 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ERANGE : xmlParserErrors = 1537 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EROFS : xmlParserErrors = 1538 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ESPIPE : xmlParserErrors = 1539 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ESRCH : xmlParserErrors = 1540 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ETIMEDOUT : xmlParserErrors = 1541 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EXDEV : xmlParserErrors = 1542 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_NETWORK_ATTEMPT : xmlParserErrors = 1543 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENCODER : xmlParserErrors = 1544 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_FLUSH : xmlParserErrors = 1545 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_WRITE : xmlParserErrors = 1546 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_NO_INPUT : xmlParserErrors = 1547 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_BUFFER_FULL : xmlParserErrors = 1548 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_LOAD_ERROR : xmlParserErrors = 1549 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTSOCK : xmlParserErrors = 1550 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EISCONN : xmlParserErrors = 1551 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ECONNREFUSED : xmlParserErrors = 1552 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENETUNREACH : xmlParserErrors = 1553 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EADDRINUSE : xmlParserErrors = 1554 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EALREADY : xmlParserErrors = 1555 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EAFNOSUPPORT : xmlParserErrors = 1556 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_UNSUPPORTED_PROTOCOL : xmlParserErrors = 1557 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_RECURSION : xmlParserErrors = 1600 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_PARSE_VALUE : xmlParserErrors = 1601 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_ENTITY_DEF_MISMATCH : xmlParserErrors = 1602 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_NO_HREF : xmlParserErrors = 1603 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_NO_FALLBACK : xmlParserErrors = 1604 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_HREF_URI : xmlParserErrors = 1605 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_TEXT_FRAGMENT : xmlParserErrors = 1606 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_TEXT_DOCUMENT : xmlParserErrors = 1607 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_INVALID_CHAR : xmlParserErrors = 1608 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_BUILD_FAILED : xmlParserErrors = 1609 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_UNKNOWN_ENCODING : xmlParserErrors = 1610 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_MULTIPLE_ROOT : xmlParserErrors = 1611 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_XPTR_FAILED : xmlParserErrors = 1612 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_XPTR_RESULT : xmlParserErrors = 1613 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_INCLUDE_IN_INCLUDE : xmlParserErrors = 1614 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FALLBACKS_IN_INCLUDE : xmlParserErrors = 1615 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FALLBACK_NOT_IN_INCLUDE : xmlParserErrors = 1616 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_DEPRECATED_NS : xmlParserErrors = 1617 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FRAGMENT_ID : xmlParserErrors = 1618 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_MISSING_ATTR : xmlParserErrors = 1650 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_ENTRY_BROKEN : xmlParserErrors = 1651 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_PREFER_VALUE : xmlParserErrors = 1652 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_NOT_CATALOG : xmlParserErrors = 1653 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_RECURSION : xmlParserErrors = 1654 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_PREFIX_UNDEFINED : xmlParserErrors = 1700 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTRFORMDEFAULT_VALUE : xmlParserErrors = 1701 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTRGRP_NONAME_NOREF : xmlParserErrors = 1702 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTR_NONAME_NOREF : xmlParserErrors = 1703 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COMPLEXTYPE_NONAME_NOREF : xmlParserErrors = 1704 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEMFORMDEFAULT_VALUE : xmlParserErrors = 1705 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEM_NONAME_NOREF : xmlParserErrors = 1706 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_EXTENSION_NO_BASE : xmlParserErrors = 1707 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FACET_NO_VALUE : xmlParserErrors = 1708 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_BUILD_IMPORT : xmlParserErrors = 1709 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_GROUP_NONAME_NOREF : xmlParserErrors = 1710 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_NAMESPACE_NOT_URI : xmlParserErrors = 1711 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_REDEFINE_NSNAME : xmlParserErrors = 1712 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_SCHEMA_NOT_URI : xmlParserErrors = 1713 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_BOOLEAN : xmlParserErrors = 1714 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ENUM : xmlParserErrors = 1715 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_FACET : xmlParserErrors = 1716 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_FACET_VALUE : xmlParserErrors = 1717 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_MAXOCCURS : xmlParserErrors = 1718 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_MINOCCURS : xmlParserErrors = 1719 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_REF_AND_SUBTYPE : xmlParserErrors = 1720 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_WHITE_SPACE : xmlParserErrors = 1721 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOATTR_NOREF : xmlParserErrors = 1722 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTATION_NO_NAME : xmlParserErrors = 1723 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTYPE_NOREF : xmlParserErrors = 1724 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REF_AND_SUBTYPE : xmlParserErrors = 1725 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_RESTRICTION_NONAME_NOREF : xmlParserErrors = 1726 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SIMPLETYPE_NONAME : xmlParserErrors = 1727 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_TYPE_AND_SUBTYPE : xmlParserErrors = 1728 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ALL_CHILD : xmlParserErrors = 1729 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ANYATTRIBUTE_CHILD : xmlParserErrors = 1730 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTR_CHILD : xmlParserErrors = 1731 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTRGRP_CHILD : xmlParserErrors = 1732 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTRIBUTE_GROUP : xmlParserErrors = 1733 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_BASE_TYPE : xmlParserErrors = 1734 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_CHOICE_CHILD : xmlParserErrors = 1735 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_COMPLEXCONTENT_CHILD : xmlParserErrors = 1736 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_COMPLEXTYPE_CHILD : xmlParserErrors = 1737 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ELEM_CHILD : xmlParserErrors = 1738 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_EXTENSION_CHILD : xmlParserErrors = 1739 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_FACET_CHILD : xmlParserErrors = 1740 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_FACET_TYPE : xmlParserErrors = 1741 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_GROUP_CHILD : xmlParserErrors = 1742 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_IMPORT_CHILD : xmlParserErrors = 1743 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_LIST_CHILD : xmlParserErrors = 1744 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_NOTATION_CHILD : xmlParserErrors = 1745 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_PROCESSCONTENT_CHILD : xmlParserErrors = 1746 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_REF : xmlParserErrors = 1747 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_RESTRICTION_CHILD : xmlParserErrors = 1748 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SCHEMAS_CHILD : xmlParserErrors = 1749 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SEQUENCE_CHILD : xmlParserErrors = 1750 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SIMPLECONTENT_CHILD : xmlParserErrors = 1751 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SIMPLETYPE_CHILD : xmlParserErrors = 1752 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_TYPE : xmlParserErrors = 1753 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_UNION_CHILD : xmlParserErrors = 1754 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEM_DEFAULT_FIXED : xmlParserErrors = 1755 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REGEXP_INVALID : xmlParserErrors = 1756 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_LOAD : xmlParserErrors = 1757 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTHING_TO_PARSE : xmlParserErrors = 1758 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOROOT : xmlParserErrors = 1759 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_GROUP : xmlParserErrors = 1760 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_TYPE : xmlParserErrors = 1761 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ELEMENT : xmlParserErrors = 1762 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ATTRGROUP : xmlParserErrors = 1763 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ATTR : xmlParserErrors = 1764 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_NOTATION : xmlParserErrors = 1765 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_PARSE : xmlParserErrors = 1766 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_PREFIX : xmlParserErrors = 1767 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DEF_AND_PREFIX : xmlParserErrors = 1768 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_INCLUDE_CHILD : xmlParserErrors = 1769 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INCLUDE_SCHEMA_NOT_URI : xmlParserErrors = 1770 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INCLUDE_SCHEMA_NO_URI : xmlParserErrors = 1771 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOT_SCHEMA : xmlParserErrors = 1772 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_MEMBER_TYPE : xmlParserErrors = 1773 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_USE : xmlParserErrors = 1774 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_RECURSIVE : xmlParserErrors = 1775 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPE : xmlParserErrors = 1776 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_COMBINATION : xmlParserErrors = 1777 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_INLINE_COMBINATION : xmlParserErrors = 1778 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MISSING_SIMPLETYPE_CHILD : xmlParserErrors = 1779 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_NAME : xmlParserErrors = 1780 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REF_AND_CONTENT : xmlParserErrors = 1781 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_1 : xmlParserErrors = 1782 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_2 : xmlParserErrors = 1783 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_3 : xmlParserErrors = 1784 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_4 : xmlParserErrors = 1785 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_5 : xmlParserErrors = 1786 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_1 : xmlParserErrors = 1787 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_1 : xmlParserErrors = 1788 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_2 : xmlParserErrors = 1789 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_2 : xmlParserErrors = 1790 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_3 : xmlParserErrors = 1791 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WILDCARD_INVALID_NS_MEMBER : xmlParserErrors = 1792 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INTERSECTION_NOT_EXPRESSIBLE : xmlParserErrors = 1793 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNION_NOT_EXPRESSIBLE : xmlParserErrors = 1794 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_3_1 : xmlParserErrors = 1795 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_3_2 : xmlParserErrors = 1796 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_1 : xmlParserErrors = 1797 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_2 : xmlParserErrors = 1798 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_3 : xmlParserErrors = 1799 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_3 : xmlParserErrors = 1800 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOROOT : xmlParserErrors = 1801 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_UNDECLAREDELEM : xmlParserErrors = 1802 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTTOPLEVEL : xmlParserErrors = 1803 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_MISSING : xmlParserErrors = 1804 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_WRONGELEM : xmlParserErrors = 1805 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTYPE : xmlParserErrors = 1806 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOROLLBACK : xmlParserErrors = 1807 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ISABSTRACT : xmlParserErrors = 1808 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTEMPTY : xmlParserErrors = 1809 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ELEMCONT : xmlParserErrors = 1810 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_HAVEDEFAULT : xmlParserErrors = 1811 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTNILLABLE : xmlParserErrors = 1812 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_EXTRACONTENT : xmlParserErrors = 1813 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INVALIDATTR : xmlParserErrors = 1814 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INVALIDELEM : xmlParserErrors = 1815 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTDETERMINIST : xmlParserErrors = 1816 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CONSTRUCT : xmlParserErrors = 1817 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INTERNAL : xmlParserErrors = 1818 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTSIMPLE : xmlParserErrors = 1819 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ATTRUNKNOWN : xmlParserErrors = 1820 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ATTRINVALID : xmlParserErrors = 1821 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_VALUE : xmlParserErrors = 1822 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_FACET : xmlParserErrors = 1823 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_1 : xmlParserErrors = 1824 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_2 : xmlParserErrors = 1825 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_3 : xmlParserErrors = 1826 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_3_1_1 : xmlParserErrors = 1827 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_3_1_2 : xmlParserErrors = 1828 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_FACET_VALID : xmlParserErrors = 1829 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_LENGTH_VALID : xmlParserErrors = 1830 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MINLENGTH_VALID : xmlParserErrors = 1831 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXLENGTH_VALID : xmlParserErrors = 1832 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MININCLUSIVE_VALID : xmlParserErrors = 1833 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXINCLUSIVE_VALID : xmlParserErrors = 1834 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MINEXCLUSIVE_VALID : xmlParserErrors = 1835 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXEXCLUSIVE_VALID : xmlParserErrors = 1836 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TOTALDIGITS_VALID : xmlParserErrors = 1837 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_FRACTIONDIGITS_VALID : xmlParserErrors = 1838 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_PATTERN_VALID : xmlParserErrors = 1839 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ENUMERATION_VALID : xmlParserErrors = 1840 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_1 : xmlParserErrors = 1841 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_2 : xmlParserErrors = 1842 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_3 : xmlParserErrors = 1843 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_4 : xmlParserErrors = 1844 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_1 : xmlParserErrors = 1845 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_2 : xmlParserErrors = 1846 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_1 : xmlParserErrors = 1847 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_2_1 : xmlParserErrors = 1848 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_2_2 : xmlParserErrors = 1849 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_1 : xmlParserErrors = 1850 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_2 : xmlParserErrors = 1851 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_3 : xmlParserErrors = 1852 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_1_1 : xmlParserErrors = 1853 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_1_2 : xmlParserErrors = 1854 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_1 : xmlParserErrors = 1855 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_1 : xmlParserErrors = 1856 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_2_1 : xmlParserErrors = 1857 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_2_2 : xmlParserErrors = 1858 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_6 : xmlParserErrors = 1859 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_7 : xmlParserErrors = 1860 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_1 : xmlParserErrors = 1861 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_2 : xmlParserErrors = 1862 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_3 : xmlParserErrors = 1863 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_4 : xmlParserErrors = 1864 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_1 : xmlParserErrors = 1865 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_1 : xmlParserErrors = 1866 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_2 : xmlParserErrors = 1867 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_4 : xmlParserErrors = 1868 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_5_1 : xmlParserErrors = 1869 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_5_2 : xmlParserErrors = 1870 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ELEMENT_CONTENT : xmlParserErrors = 1871 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_DOCUMENT_ELEMENT_MISSING : xmlParserErrors = 1872 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_1 : xmlParserErrors = 1873 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_AU : xmlParserErrors = 1874 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_1 : xmlParserErrors = 1875 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_2 : xmlParserErrors = 1876 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_IDC : xmlParserErrors = 1877 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_WILDCARD : xmlParserErrors = 1878 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_MISC : xmlParserErrors = 1879 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_UNKNOWN_SCHEME : xmlParserErrors = 1900 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_CHILDSEQ_START : xmlParserErrors = 1901 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_EVAL_FAILED : xmlParserErrors = 1902 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_EXTRA_OBJECTS : xmlParserErrors = 1903 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_CREATE_CTXT : xmlParserErrors = 1950 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_REQUIRES_UTF8 : xmlParserErrors = 1951 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_CREATE_STACK : xmlParserErrors = 1952 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_INVALID_NODE : xmlParserErrors = 1953 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_UNKNOW_NODE : xmlParserErrors = 1954 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_RELATIVE_NAMESPACE : xmlParserErrors = 1955 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_PASV_ANSWER : xmlParserErrors = 2000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_EPSV_ANSWER : xmlParserErrors = 2001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_ACCNT : xmlParserErrors = 2002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_URL_SYNTAX : xmlParserErrors = 2003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_URL_SYNTAX : xmlParserErrors = 2020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_USE_IP : xmlParserErrors = 2021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_UNKNOWN_HOST : xmlParserErrors = 2022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_1 : xmlParserErrors = 3000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_2 : xmlParserErrors = 3001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_3 : xmlParserErrors = 3002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_4 : xmlParserErrors = 3003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_RESOLVE : xmlParserErrors = 3004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE : xmlParserErrors = 3005 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE : xmlParserErrors = 3006 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPES : xmlParserErrors = 3007 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_1 : xmlParserErrors = 3008 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_2 : xmlParserErrors = 3009 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_3 : xmlParserErrors = 3010 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_1 : xmlParserErrors = 3011 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_2 : xmlParserErrors = 3012 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_3_1 : xmlParserErrors = 3013 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_3_2 : xmlParserErrors = 3014 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_1 : xmlParserErrors = 3015 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_1 : xmlParserErrors = 3016 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_2 : xmlParserErrors = 3017 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_1 : xmlParserErrors = 3018 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_2 : xmlParserErrors = 3019 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_3 : xmlParserErrors = 3020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_4 : xmlParserErrors = 3021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_5 : xmlParserErrors = 3022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_1 : xmlParserErrors = 3023 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1 : xmlParserErrors = 3024 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1_2 : xmlParserErrors = 3025 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_2 : xmlParserErrors = 3026 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_1 : xmlParserErrors = 3027 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_3 : xmlParserErrors = 3028 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_4 : xmlParserErrors = 3029 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_5 : xmlParserErrors = 3030 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_DERIVED_OK_2_1 : xmlParserErrors = 3031 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_DERIVED_OK_2_2 : xmlParserErrors = 3032 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ELEM_NOT_ALLOWED : xmlParserErrors = 3033 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ELEM_MISSING : xmlParserErrors = 3034 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_NOT_ALLOWED : xmlParserErrors = 3035 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_MISSING : xmlParserErrors = 3036 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_INVALID_VALUE : xmlParserErrors = 3037 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_1 : xmlParserErrors = 3038 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_2_1 : xmlParserErrors = 3039 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_2_2 : xmlParserErrors = 3040 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_3 : xmlParserErrors = 3041 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_1 : xmlParserErrors = 3042 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_2_1 : xmlParserErrors = 3043 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_2_2 : xmlParserErrors = 3044 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_2 : xmlParserErrors = 3045 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_3 : xmlParserErrors = 3046 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_4 : xmlParserErrors = 3047 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_5 : xmlParserErrors = 3048 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_6 : xmlParserErrors = 3049 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_INCLUDE : xmlParserErrors = 3050 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_1 : xmlParserErrors = 3051 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_2 : xmlParserErrors = 3052 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_3_1 : xmlParserErrors = 3053 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_3_2 : xmlParserErrors = 3054 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_4 : xmlParserErrors = 3055 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NO_XMLNS : xmlParserErrors = 3056 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NO_XSI : xmlParserErrors = 3057 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_1 : xmlParserErrors = 3058 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_1 : xmlParserErrors = 3059 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_2_1 : xmlParserErrors = 3060 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_2_2 : xmlParserErrors = 3061 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CVC_SIMPLE_TYPE : xmlParserErrors = 3062 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_1 : xmlParserErrors = 3063 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_1_1 : xmlParserErrors = 3064 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_1_2 : xmlParserErrors = 3065 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2 : xmlParserErrors = 3066 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2_1 : xmlParserErrors = 3067 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2_2 : xmlParserErrors = 3068 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INTERNAL : xmlParserErrors = 3069 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOT_DETERMINISTIC : xmlParserErrors = 3070 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_1 : xmlParserErrors = 3071 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_2 : xmlParserErrors = 3072 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_3 : xmlParserErrors = 3073 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MG_PROPS_CORRECT_1 : xmlParserErrors = 3074 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MG_PROPS_CORRECT_2 : xmlParserErrors = 3075 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_CT_1 : xmlParserErrors = 3076 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_3 : xmlParserErrors = 3077 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AU_PROPS_CORRECT_2 : xmlParserErrors = 3078 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_A_PROPS_CORRECT_2 : xmlParserErrors = 3079 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_C_PROPS_CORRECT : xmlParserErrors = 3080 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_REDEFINE : xmlParserErrors = 3081 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT : xmlParserErrors = 3082 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_SKIP_SCHEMA : xmlParserErrors = 3083 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_UNLOCATED_SCHEMA : xmlParserErrors = 3084 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_ATTR_REDECL_PROH : xmlParserErrors = 3085 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_ATTR_POINTLESS_PROH : xmlParserErrors = 3086 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AG_PROPS_CORRECT : xmlParserErrors = 3087 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_2 : xmlParserErrors = 3088 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AU_PROPS_CORRECT : xmlParserErrors = 3089 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_A_PROPS_CORRECT_3 : xmlParserErrors = 3090 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ALL_LIMITED : xmlParserErrors = 3091 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMATRONV_ASSERT : xmlParserErrors = 4000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMATRONV_REPORT : xmlParserErrors = 4001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_MODULE_OPEN : xmlParserErrors = 4900 ; # [doc = " File not found."] pub const xmlParserErrors_XML_MODULE_CLOSE : xmlParserErrors = 4901 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ELEMENT : xmlParserErrors = 5000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ATTRIBUTE : xmlParserErrors = 5001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_TEXT : xmlParserErrors = 5002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_CDATA : xmlParserErrors = 5003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ENTITYREF : xmlParserErrors = 5004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ENTITY : xmlParserErrors = 5005 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_PI : xmlParserErrors = 5006 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_COMMENT : xmlParserErrors = 5007 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_DOCTYPE : xmlParserErrors = 5008 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_FRAGMENT : xmlParserErrors = 5009 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_NOTATION : xmlParserErrors = 5010 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_UNKNOWN_NODE : xmlParserErrors = 5011 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_ENTITY_TYPE : xmlParserErrors = 5012 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_PARENT : xmlParserErrors = 5013 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_DOC : xmlParserErrors = 5014 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_NAME : xmlParserErrors = 5015 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_ELEM : xmlParserErrors = 5016 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_DOC : xmlParserErrors = 5017 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_PREV : xmlParserErrors = 5018 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_PREV : xmlParserErrors = 5019 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_NEXT : xmlParserErrors = 5020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_NEXT : xmlParserErrors = 5021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_DTD : xmlParserErrors = 5022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ATTR : xmlParserErrors = 5023 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ATTR_DECL : xmlParserErrors = 5024 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ELEM_DECL : xmlParserErrors = 5025 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ENTITY_DECL : xmlParserErrors = 5026 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_NS_DECL : xmlParserErrors = 5027 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_HREF : xmlParserErrors = 5028 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_PARENT : xmlParserErrors = 5029 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NS_SCOPE : xmlParserErrors = 5030 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NS_ANCESTOR : xmlParserErrors = 5031 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_UTF8 : xmlParserErrors = 5032 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_DICT : xmlParserErrors = 5033 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_NCNAME : xmlParserErrors = 5034 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_OUTSIDE_DICT : xmlParserErrors = 5035 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_NAME : xmlParserErrors = 5036 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NAME_NOT_NULL : xmlParserErrors = 5037 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_NAME : xmlParserErrors = 6000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_HANDLER : xmlParserErrors = 6001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_EXCESS_HANDLER : xmlParserErrors = 6002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_CONV_FAILED : xmlParserErrors = 6003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_OUTPUT : xmlParserErrors = 6004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_BUF_OVERFLOW : xmlParserErrors = 7000 ; # [doc = " Error codes. Note that only some codes are documented."] pub type xmlParserErrors = :: std :: os :: raw :: c_uint ; # [doc = " Generic error callback.\n\n @deprecated in favor of structured errors.\n @param ctx  user data\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlGenericErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Structured error callback receiving an xmlError.\n\n @param userData  user provided data for the error callback\n @param error  the error being raised"] pub type xmlStructuredErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (userData : * mut :: std :: os :: raw :: c_void , error : * const xmlError) > ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlLastError () -> * const xmlError ; } unsafe extern "C" { pub fn __xmlGenericError () -> * mut xmlGenericErrorFunc ; } unsafe extern "C" { pub fn __xmlGenericErrorContext () -> * mut * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn __xmlStructuredError () -> * mut xmlStructuredErrorFunc ; } unsafe extern "C" { pub fn __xmlStructuredErrorContext () -> * mut * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlSetGenericErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlGenericErrorFunc) ; } unsafe extern "C" { pub fn xmlSetStructuredErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlStructuredErrorFunc) ; } unsafe extern "C" { pub fn xmlThrDefSetGenericErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlGenericErrorFunc) ; } unsafe extern "C" { pub fn xmlThrDefSetStructuredErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlStructuredErrorFunc) ; } unsafe extern "C" { pub fn xmlParserError (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserWarning (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserValidityError (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserValidityWarning (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserPrintFileInfo (input : * mut _xmlParserInput) ; } unsafe extern "C" { pub fn xmlParserPrintFileContext (input : * mut _xmlParserInput) ; } unsafe extern "C" { pub fn xmlFormatError (err : * const xmlError , channel : xmlGenericErrorFunc , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlGetLastError () -> * const xmlError ; } unsafe extern "C" { pub fn xmlResetLastError () ; } unsafe extern "C" { pub fn xmlCtxtGetLastError (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlError ; } unsafe extern "C" { pub fn xmlCtxtResetLastError (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlResetError (err : * mut xmlError) ; } unsafe extern "C" { pub fn xmlCopyError (from : * const xmlError , to : * mut xmlError) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlLink { _unused : [u8 ; 0] , } # [doc = " Linked list item\n\n @deprecated Don't use in new code."] pub type xmlLink = _xmlLink ; pub type xmlLinkPtr = * mut xmlLink ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlList { _unused : [u8 ; 0] , } # [doc = " Linked list\n\n @deprecated Don't use in new code."] pub type xmlList = _xmlList ; pub type xmlListPtr = * mut xmlList ; # [doc = " Callback function used to free data from a list.\n\n @param lk  the data to deallocate"] pub type xmlListDeallocator = :: std :: option :: Option < unsafe extern "C" fn (lk : * mut xmlLink) > ; # [doc = " Callback function used to compare 2 data.\n\n @param data0  the first data\n @param data1  the second data\n @returns 0 is equality, -1 or 1 otherwise depending on the ordering."] pub type xmlListDataCompare = :: std :: option :: Option < unsafe extern "C" fn (data0 : * const :: std :: os :: raw :: c_void , data1 : * const :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback function used when walking a list with #xmlListWalk.\n\n @param data  the data found in the list\n @param user  extra user provided data to the walker\n @returns 0 to stop walking the list, 1 otherwise."] pub type xmlListWalker = :: std :: option :: Option < unsafe extern "C" fn (data : * const :: std :: os :: raw :: c_void , user : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; unsafe extern "C" { pub fn xmlListCreate (deallocator : xmlListDeallocator , compare : xmlListDataCompare) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlListDelete (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListSearch (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlListReverseSearch (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlListInsert (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListAppend (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveFirst (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveLast (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveAll (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListClear (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListEmpty (l : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListFront (l : * mut xmlList) -> * mut xmlLink ; } unsafe extern "C" { pub fn xmlListEnd (l : * mut xmlList) -> * mut xmlLink ; } unsafe extern "C" { pub fn xmlListSize (l : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListPopFront (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListPopBack (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListPushFront (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListPushBack (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListReverse (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListSort (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListWalk (l : * mut xmlList , walker : xmlListWalker , user : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlListReverseWalk (l : * mut xmlList , walker : xmlListWalker , user : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlListMerge (l1 : * mut xmlList , l2 : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListDup (old : * mut xmlList) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlListCopy (cur : * mut xmlList , old : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlLinkGetData (lk : * mut xmlLink) -> * mut :: std :: os :: raw :: c_void ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAutomata { _unused : [u8 ; 0] , } # [doc = " A libxml automata description\n\n It can be compiled into a regexp"] pub type xmlAutomata = _xmlAutomata ; pub type xmlAutomataPtr = * mut xmlAutomata ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAutomataState { _unused : [u8 ; 0] , } # [doc = " A state in the automata description"] pub type xmlAutomataState = _xmlAutomataState ; pub type xmlAutomataStatePtr = * mut xmlAutomataState ; unsafe extern "C" { pub fn xmlNewAutomata () -> * mut xmlAutomata ; } unsafe extern "C" { pub fn xmlFreeAutomata (am : * mut xmlAutomata) ; } unsafe extern "C" { pub fn xmlAutomataGetInitState (am : * mut xmlAutomata) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataSetFinalState (am : * mut xmlAutomata , state : * mut xmlAutomataState) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAutomataNewState (am : * mut xmlAutomata) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewTransition (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewTransition2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewNegTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountTrans2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewOnceTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewOnceTrans2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewAllTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , lax : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewEpsilon (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountedTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , counter : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCounterTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , counter : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCounter (am : * mut xmlAutomata , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAutomataCompile (am : * mut xmlAutomata) -> * mut _xmlRegexp ; } unsafe extern "C" { pub fn xmlAutomataIsDeterminist (am : * mut xmlAutomata) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlValidState { _unused : [u8 ; 0] , } pub type xmlValidState = _xmlValidState ; pub type xmlValidStatePtr = * mut xmlValidState ; # [doc = " Report a validity error.\n\n @param ctx  user data (usually an xmlValidCtxt)\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlValidityErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Report a validity warning.\n\n @param ctx  user data (usually an xmlValidCtxt)\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlValidityWarningFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " An xmlValidCtxt is used for error reporting when validating."] pub type xmlValidCtxt = _xmlValidCtxt ; pub type xmlValidCtxtPtr = * mut xmlValidCtxt ; # [doc = " An xmlValidCtxt is used for error reporting when validating."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlValidCtxt { pub userData : * mut :: std :: os :: raw :: c_void , pub error : xmlValidityErrorFunc , pub warning : xmlValidityWarningFunc , pub node : * mut xmlNode , pub nodeNr : :: std :: os :: raw :: c_int , pub nodeMax : :: std :: os :: raw :: c_int , pub nodeTab : * mut * mut xmlNode , pub flags : :: std :: os :: raw :: c_uint , pub doc : * mut xmlDoc , pub valid : :: std :: os :: raw :: c_int , pub vstate : * mut xmlValidState , pub vstateNr : :: std :: os :: raw :: c_int , pub vstateMax : :: std :: os :: raw :: c_int , pub vstateTab : * mut xmlValidState , pub am : * mut xmlAutomata , pub state : * mut xmlAutomataState , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlValidCtxt"] [:: std :: mem :: size_of :: < _xmlValidCtxt > () - 112usize] ; ["Alignment of _xmlValidCtxt"] [:: std :: mem :: align_of :: < _xmlValidCtxt > () - 8usize] ; ["Offset of field: _xmlValidCtxt::userData"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , userData) - 0usize] ; ["Offset of field: _xmlValidCtxt::error"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , error) - 8usize] ; ["Offset of field: _xmlValidCtxt::warning"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , warning) - 16usize] ; ["Offset of field: _xmlValidCtxt::node"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , node) - 24usize] ; ["Offset of field: _xmlValidCtxt::nodeNr"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeNr) - 32usize] ; ["Offset of field: _xmlValidCtxt::nodeMax"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeMax) - 36usize] ; ["Offset of field: _xmlValidCtxt::nodeTab"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeTab) - 40usize] ; ["Offset of field: _xmlValidCtxt::flags"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , flags) - 48usize] ; ["Offset of field: _xmlValidCtxt::doc"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , doc) - 56usize] ; ["Offset of field: _xmlValidCtxt::valid"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , valid) - 64usize] ; ["Offset of field: _xmlValidCtxt::vstate"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstate) - 72usize] ; ["Offset of field: _xmlValidCtxt::vstateNr"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateNr) - 80usize] ; ["Offset of field: _xmlValidCtxt::vstateMax"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateMax) - 84usize] ; ["Offset of field: _xmlValidCtxt::vstateTab"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateTab) - 88usize] ; ["Offset of field: _xmlValidCtxt::am"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , am) - 96usize] ; ["Offset of field: _xmlValidCtxt::state"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , state) - 104usize] ; } ; pub type xmlNotationTable = _xmlHashTable ; pub type xmlNotationTablePtr = * mut xmlNotationTable ; pub type xmlElementTable = _xmlHashTable ; pub type xmlElementTablePtr = * mut xmlElementTable ; pub type xmlAttributeTable = _xmlHashTable ; pub type xmlAttributeTablePtr = * mut xmlAttributeTable ; pub type xmlIDTable = _xmlHashTable ; pub type xmlIDTablePtr = * mut xmlIDTable ; pub type xmlRefTable = _xmlHashTable ; pub type xmlRefTablePtr = * mut xmlRefTable ; unsafe extern "C" { pub fn xmlAddNotationDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlNotation ; } unsafe extern "C" { pub fn xmlCopyNotationTable (table : * mut xmlNotationTable) -> * mut xmlNotationTable ; } unsafe extern "C" { pub fn xmlFreeNotationTable (table : * mut xmlNotationTable) ; } unsafe extern "C" { pub fn xmlDumpNotationDecl (buf : * mut xmlBuffer , nota : * mut xmlNotation) ; } unsafe extern "C" { pub fn xmlDumpNotationTable (buf : * mut xmlBuffer , table : * mut xmlNotationTable) ; } unsafe extern "C" { pub fn xmlNewElementContent (name : * const xmlChar , type_ : xmlElementContentType) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlCopyElementContent (content : * mut xmlElementContent) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlFreeElementContent (cur : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlNewDocElementContent (doc : * mut xmlDoc , name : * const xmlChar , type_ : xmlElementContentType) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlCopyDocElementContent (doc : * mut xmlDoc , content : * mut xmlElementContent) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlFreeDocElementContent (doc : * mut xmlDoc , cur : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlSnprintfElementContent (buf : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , content : * mut xmlElementContent , englob : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSprintfElementContent (buf : * mut :: std :: os :: raw :: c_char , content : * mut xmlElementContent , englob : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlAddElementDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , name : * const xmlChar , type_ : xmlElementTypeVal , content : * mut xmlElementContent) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlCopyElementTable (table : * mut xmlElementTable) -> * mut xmlElementTable ; } unsafe extern "C" { pub fn xmlFreeElementTable (table : * mut xmlElementTable) ; } unsafe extern "C" { pub fn xmlDumpElementTable (buf : * mut xmlBuffer , table : * mut xmlElementTable) ; } unsafe extern "C" { pub fn xmlDumpElementDecl (buf : * mut xmlBuffer , elem : * mut xmlElement) ; } unsafe extern "C" { pub fn xmlCreateEnumeration (name : * const xmlChar) -> * mut xmlEnumeration ; } unsafe extern "C" { pub fn xmlFreeEnumeration (cur : * mut xmlEnumeration) ; } unsafe extern "C" { pub fn xmlCopyEnumeration (cur : * mut xmlEnumeration) -> * mut xmlEnumeration ; } unsafe extern "C" { pub fn xmlAddAttributeDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar , ns : * const xmlChar , type_ : xmlAttributeType , def : xmlAttributeDefault , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlCopyAttributeTable (table : * mut xmlAttributeTable) -> * mut xmlAttributeTable ; } unsafe extern "C" { pub fn xmlFreeAttributeTable (table : * mut xmlAttributeTable) ; } unsafe extern "C" { pub fn xmlDumpAttributeTable (buf : * mut xmlBuffer , table : * mut xmlAttributeTable) ; } unsafe extern "C" { pub fn xmlDumpAttributeDecl (buf : * mut xmlBuffer , attr : * mut xmlAttribute) ; } unsafe extern "C" { pub fn xmlAddIDSafe (attr : * mut xmlAttr , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddID (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , value : * const xmlChar , attr : * mut xmlAttr) -> * mut xmlID ; } unsafe extern "C" { pub fn xmlFreeIDTable (table : * mut xmlIDTable) ; } unsafe extern "C" { pub fn xmlGetID (doc : * mut xmlDoc , ID : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlIsID (doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveID (doc : * mut xmlDoc , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddRef (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , value : * const xmlChar , attr : * mut xmlAttr) -> * mut xmlRef ; } unsafe extern "C" { pub fn xmlFreeRefTable (table : * mut xmlRefTable) ; } unsafe extern "C" { pub fn xmlIsRef (doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveRef (doc : * mut xmlDoc , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetRefs (doc : * mut xmlDoc , ID : * const xmlChar) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlNewValidCtxt () -> * mut xmlValidCtxt ; } unsafe extern "C" { pub fn xmlFreeValidCtxt (arg1 : * mut xmlValidCtxt) ; } unsafe extern "C" { pub fn xmlValidateRoot (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateElementDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlElement) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidNormalizeAttributeValue (doc : * mut xmlDoc , elem : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlValidCtxtNormalizeAttributeValue (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlValidateAttributeDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , attr : * mut xmlAttribute) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateAttributeValue (type_ : xmlAttributeType , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNotationDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , nota : * mut xmlNotation) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDtd (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , dtd : * mut xmlDtd) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDtdFinal (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDocument (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneAttribute (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneNamespace (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , prefix : * const xmlChar , ns : * mut xmlNs , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDocumentFinal (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNotationUse (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , notationName : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsMixedElement (doc : * mut xmlDoc , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetDtdAttrDesc (dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlGetDtdQAttrDesc (dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar , prefix : * const xmlChar) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlGetDtdNotationDesc (dtd : * mut xmlDtd , name : * const xmlChar) -> * mut xmlNotation ; } unsafe extern "C" { pub fn xmlGetDtdQElementDesc (dtd : * mut xmlDtd , name : * const xmlChar , prefix : * const xmlChar) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlGetDtdElementDesc (dtd : * mut xmlDtd , name : * const xmlChar) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlValidGetPotentialChildren (ctree : * mut xmlElementContent , names : * mut * const xmlChar , len : * mut :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidGetValidElements (prev : * mut xmlNode , next : * mut xmlNode , names : * mut * const xmlChar , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNameValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNamesValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNmtokenValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNmtokensValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidBuildContentModel (ctxt : * mut xmlValidCtxt , elem : * mut xmlElement) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePushElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , qname : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePushCData (ctxt : * mut xmlValidCtxt , data : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePopElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , qname : * const xmlChar) -> :: std :: os :: raw :: c_int ; } # [doc = " internal general entity"] pub const xmlEntityType_XML_INTERNAL_GENERAL_ENTITY : xmlEntityType = 1 ; # [doc = " external general parsed entity"] pub const xmlEntityType_XML_EXTERNAL_GENERAL_PARSED_ENTITY : xmlEntityType = 2 ; # [doc = " external general unparsed entity"] pub const xmlEntityType_XML_EXTERNAL_GENERAL_UNPARSED_ENTITY : xmlEntityType = 3 ; # [doc = " internal parameter entity"] pub const xmlEntityType_XML_INTERNAL_PARAMETER_ENTITY : xmlEntityType = 4 ; # [doc = " external parameter entity"] pub const xmlEntityType_XML_EXTERNAL_PARAMETER_ENTITY : xmlEntityType = 5 ; # [doc = " internal predefined entity"] pub const xmlEntityType_XML_INTERNAL_PREDEFINED_ENTITY : xmlEntityType = 6 ; # [doc = " The different entity types."] pub type xmlEntityType = :: std :: os :: raw :: c_uint ; # [doc = " An entity declaration"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlEntity { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ENTITY_DECL, must be second !"] pub type_ : xmlElementType , # [doc = " Entity name"] pub name : * const xmlChar , # [doc = " First child link"] pub children : * mut _xmlNode , # [doc = " Last child link"] pub last : * mut _xmlNode , # [doc = " -> DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling link"] pub next : * mut _xmlNode , # [doc = " previous sibling link"] pub prev : * mut _xmlNode , # [doc = " the containing document"] pub doc : * mut _xmlDoc , # [doc = " content without ref substitution"] pub orig : * mut xmlChar , # [doc = " content or ndata if unparsed"] pub content : * mut xmlChar , # [doc = " the content length"] pub length : :: std :: os :: raw :: c_int , # [doc = " The entity type"] pub etype : xmlEntityType , # [doc = " External identifier for PUBLIC"] pub ExternalID : * const xmlChar , # [doc = " URI for a SYSTEM or PUBLIC Entity"] pub SystemID : * const xmlChar , # [doc = " unused"] pub nexte : * mut _xmlEntity , # [doc = " the full URI as computed"] pub URI : * const xmlChar , # [doc = " unused"] pub owner : :: std :: os :: raw :: c_int , # [doc = " various flags"] pub flags : :: std :: os :: raw :: c_int , # [doc = " expanded size"] pub expandedSize : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlEntity"] [:: std :: mem :: size_of :: < _xmlEntity > () - 144usize] ; ["Alignment of _xmlEntity"] [:: std :: mem :: align_of :: < _xmlEntity > () - 8usize] ; ["Offset of field: _xmlEntity::_private"] [:: std :: mem :: offset_of ! (_xmlEntity , _private) - 0usize] ; ["Offset of field: _xmlEntity::type_"] [:: std :: mem :: offset_of ! (_xmlEntity , type_) - 8usize] ; ["Offset of field: _xmlEntity::name"] [:: std :: mem :: offset_of ! (_xmlEntity , name) - 16usize] ; ["Offset of field: _xmlEntity::children"] [:: std :: mem :: offset_of ! (_xmlEntity , children) - 24usize] ; ["Offset of field: _xmlEntity::last"] [:: std :: mem :: offset_of ! (_xmlEntity , last) - 32usize] ; ["Offset of field: _xmlEntity::parent"] [:: std :: mem :: offset_of ! (_xmlEntity , parent) - 40usize] ; ["Offset of field: _xmlEntity::next"] [:: std :: mem :: offset_of ! (_xmlEntity , next) - 48usize] ; ["Offset of field: _xmlEntity::prev"] [:: std :: mem :: offset_of ! (_xmlEntity , prev) - 56usize] ; ["Offset of field: _xmlEntity::doc"] [:: std :: mem :: offset_of ! (_xmlEntity , doc) - 64usize] ; ["Offset of field: _xmlEntity::orig"] [:: std :: mem :: offset_of ! (_xmlEntity , orig) - 72usize] ; ["Offset of field: _xmlEntity::content"] [:: std :: mem :: offset_of ! (_xmlEntity , content) - 80usize] ; ["Offset of field: _xmlEntity::length"] [:: std :: mem :: offset_of ! (_xmlEntity , length) - 88usize] ; ["Offset of field: _xmlEntity::etype"] [:: std :: mem :: offset_of ! (_xmlEntity , etype) - 92usize] ; ["Offset of field: _xmlEntity::ExternalID"] [:: std :: mem :: offset_of ! (_xmlEntity , ExternalID) - 96usize] ; ["Offset of field: _xmlEntity::SystemID"] [:: std :: mem :: offset_of ! (_xmlEntity , SystemID) - 104usize] ; ["Offset of field: _xmlEntity::nexte"] [:: std :: mem :: offset_of ! (_xmlEntity , nexte) - 112usize] ; ["Offset of field: _xmlEntity::URI"] [:: std :: mem :: offset_of ! (_xmlEntity , URI) - 120usize] ; ["Offset of field: _xmlEntity::owner"] [:: std :: mem :: offset_of ! (_xmlEntity , owner) - 128usize] ; ["Offset of field: _xmlEntity::flags"] [:: std :: mem :: offset_of ! (_xmlEntity , flags) - 132usize] ; ["Offset of field: _xmlEntity::expandedSize"] [:: std :: mem :: offset_of ! (_xmlEntity , expandedSize) - 136usize] ; } ; pub type xmlEntitiesTable = _xmlHashTable ; pub type xmlEntitiesTablePtr = * mut xmlEntitiesTable ; unsafe extern "C" { pub fn xmlNewEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlFreeEntity (entity : * mut xmlEntity) ; } unsafe extern "C" { pub fn xmlAddEntity (doc : * mut xmlDoc , extSubset : :: std :: os :: raw :: c_int , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar , out : * mut * mut xmlEntity) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddDocEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlAddDtdEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetPredefinedEntity (name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetDocEntity (doc : * const xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetDtdEntity (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetParameterEntity (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlEncodeEntitiesReentrant (doc : * mut xmlDoc , input : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlEncodeSpecialChars (doc : * const xmlDoc , input : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCreateEntitiesTable () -> * mut xmlEntitiesTable ; } unsafe extern "C" { pub fn xmlCopyEntitiesTable (table : * mut xmlEntitiesTable) -> * mut xmlEntitiesTable ; } unsafe extern "C" { pub fn xmlFreeEntitiesTable (table : * mut xmlEntitiesTable) ; } unsafe extern "C" { pub fn xmlDumpEntitiesTable (buf : * mut xmlBuffer , table : * mut xmlEntitiesTable) ; } unsafe extern "C" { pub fn xmlDumpEntityDecl (buf : * mut xmlBuffer , ent : * mut xmlEntity) ; } # [doc = " Success"] pub const xmlCharEncError_XML_ENC_ERR_SUCCESS : xmlCharEncError = 0 ; # [doc = " Internal or unclassified error"] pub const xmlCharEncError_XML_ENC_ERR_INTERNAL : xmlCharEncError = - 1 ; # [doc = " Invalid or untranslatable input sequence"] pub const xmlCharEncError_XML_ENC_ERR_INPUT : xmlCharEncError = - 2 ; # [doc = " Not enough space in output buffer"] pub const xmlCharEncError_XML_ENC_ERR_SPACE : xmlCharEncError = - 3 ; # [doc = " Out-of-memory error"] pub const xmlCharEncError_XML_ENC_ERR_MEMORY : xmlCharEncError = - 4 ; # [doc = " Encoding conversion errors"] pub type xmlCharEncError = :: std :: os :: raw :: c_int ; # [doc = " No char encoding detected"] pub const xmlCharEncoding_XML_CHAR_ENCODING_ERROR : xmlCharEncoding = - 1 ; # [doc = " No char encoding detected"] pub const xmlCharEncoding_XML_CHAR_ENCODING_NONE : xmlCharEncoding = 0 ; # [doc = " UTF-8"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF8 : xmlCharEncoding = 1 ; # [doc = " UTF-16 little endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16LE : xmlCharEncoding = 2 ; # [doc = " UTF-16 big endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16BE : xmlCharEncoding = 3 ; # [doc = " UCS-4 little endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4LE : xmlCharEncoding = 4 ; # [doc = " UCS-4 big endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4BE : xmlCharEncoding = 5 ; # [doc = " EBCDIC uh!"] pub const xmlCharEncoding_XML_CHAR_ENCODING_EBCDIC : xmlCharEncoding = 6 ; # [doc = " UCS-4 unusual ordering"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4_2143 : xmlCharEncoding = 7 ; # [doc = " UCS-4 unusual ordering"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4_3412 : xmlCharEncoding = 8 ; # [doc = " UCS-2"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS2 : xmlCharEncoding = 9 ; # [doc = " ISO-8859-1 ISO Latin 1"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_1 : xmlCharEncoding = 10 ; # [doc = " ISO-8859-2 ISO Latin 2"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_2 : xmlCharEncoding = 11 ; # [doc = " ISO-8859-3"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_3 : xmlCharEncoding = 12 ; # [doc = " ISO-8859-4"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_4 : xmlCharEncoding = 13 ; # [doc = " ISO-8859-5"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_5 : xmlCharEncoding = 14 ; # [doc = " ISO-8859-6"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_6 : xmlCharEncoding = 15 ; # [doc = " ISO-8859-7"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_7 : xmlCharEncoding = 16 ; # [doc = " ISO-8859-8"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_8 : xmlCharEncoding = 17 ; # [doc = " ISO-8859-9"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_9 : xmlCharEncoding = 18 ; # [doc = " ISO-2022-JP"] pub const xmlCharEncoding_XML_CHAR_ENCODING_2022_JP : xmlCharEncoding = 19 ; # [doc = " Shift_JIS"] pub const xmlCharEncoding_XML_CHAR_ENCODING_SHIFT_JIS : xmlCharEncoding = 20 ; # [doc = " EUC-JP"] pub const xmlCharEncoding_XML_CHAR_ENCODING_EUC_JP : xmlCharEncoding = 21 ; # [doc = " pure ASCII"] pub const xmlCharEncoding_XML_CHAR_ENCODING_ASCII : xmlCharEncoding = 22 ; # [doc = " UTF-16 native, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16 : xmlCharEncoding = 23 ; # [doc = " HTML (output only), available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_HTML : xmlCharEncoding = 24 ; # [doc = " ISO-8859-10, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_10 : xmlCharEncoding = 25 ; # [doc = " ISO-8859-11, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_11 : xmlCharEncoding = 26 ; # [doc = " ISO-8859-13, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_13 : xmlCharEncoding = 27 ; # [doc = " ISO-8859-14, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_14 : xmlCharEncoding = 28 ; # [doc = " ISO-8859-15, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_15 : xmlCharEncoding = 29 ; # [doc = " ISO-8859-16, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_16 : xmlCharEncoding = 30 ; # [doc = " windows-1252, available since 2.15"] pub const xmlCharEncoding_XML_CHAR_ENCODING_WINDOWS_1252 : xmlCharEncoding = 31 ; # [doc = " Predefined values for some standard encodings."] pub type xmlCharEncoding = :: std :: os :: raw :: c_int ; # [doc = " Create converter for input (conversion to UTF-8)"] pub const xmlCharEncFlags_XML_ENC_INPUT : xmlCharEncFlags = 1 ; # [doc = " Create converter for output (conversion from UTF-8)"] pub const xmlCharEncFlags_XML_ENC_OUTPUT : xmlCharEncFlags = 2 ; # [doc = " Use HTML5 mappings"] pub const xmlCharEncFlags_XML_ENC_HTML : xmlCharEncFlags = 4 ; # [doc = " Encoding conversion flags"] pub type xmlCharEncFlags = :: std :: os :: raw :: c_uint ; # [doc = " Convert characters to UTF-8.\n\n On success, the value of `inlen` after return is the number of\n bytes consumed and `outlen` is the number of bytes produced.\n\n @param out  a pointer to an array of bytes to store the UTF-8 result\n @param outlen  the length of `out`\n @param in  a pointer to an array of chars in the original encoding\n @param inlen  the length of `in`\n @returns the number of bytes written or an xmlCharEncError code."] pub type xmlCharEncodingInputFunc = :: std :: option :: Option < unsafe extern "C" fn (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Convert characters from UTF-8.\n\n On success, the value of `inlen` after return is the number of\n bytes consumed and `outlen` is the number of bytes produced.\n\n @param out  a pointer to an array of bytes to store the result\n @param outlen  the length of `out`\n @param in  a pointer to an array of UTF-8 chars\n @param inlen  the length of `in`\n @returns the number of bytes written or an xmlCharEncError code."] pub type xmlCharEncodingOutputFunc = :: std :: option :: Option < unsafe extern "C" fn (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Convert between character encodings.\n\n The value of `inlen` after return is the number of bytes consumed\n and `outlen` is the number of bytes produced.\n\n If the converter can consume partial multi-byte sequences, the\n `flush` flag can be used to detect truncated sequences at EOF.\n Otherwise, the flag can be ignored.\n\n @param vctxt  conversion context\n @param out  a pointer to an array of bytes to store the result\n @param outlen  the length of `out`\n @param in  a pointer to an array of input bytes\n @param inlen  the length of `in`\n @param flush  end of input\n @returns an xmlCharEncError code."] pub type xmlCharEncConvFunc = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void , out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int , flush : :: std :: os :: raw :: c_int) -> xmlCharEncError > ; # [doc = " Free a conversion context.\n\n @param vctxt  conversion context"] pub type xmlCharEncConvCtxtDtor = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void) > ; # [doc = " Character encoding converter"] pub type xmlCharEncodingHandler = _xmlCharEncodingHandler ; pub type xmlCharEncodingHandlerPtr = * mut xmlCharEncodingHandler ; # [doc = " A character encoding conversion handler for non UTF-8 encodings.\n\n This structure will be made private."] # [repr (C)] # [derive (Copy , Clone)] pub struct _xmlCharEncodingHandler { pub name : * mut :: std :: os :: raw :: c_char , pub input : _xmlCharEncodingHandler__bindgen_ty_1 , pub output : _xmlCharEncodingHandler__bindgen_ty_2 , pub inputCtxt : * mut :: std :: os :: raw :: c_void , pub outputCtxt : * mut :: std :: os :: raw :: c_void , pub ctxtDtor : xmlCharEncConvCtxtDtor , pub flags : :: std :: os :: raw :: c_int , } # [repr (C)] # [derive (Copy , Clone)] pub union _xmlCharEncodingHandler__bindgen_ty_1 { pub func : xmlCharEncConvFunc , pub legacyFunc : xmlCharEncodingInputFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler__bindgen_ty_1"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler__bindgen_ty_1 > () - 8usize] ; ["Alignment of _xmlCharEncodingHandler__bindgen_ty_1"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler__bindgen_ty_1 > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_1::func"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_1 , func) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_1::legacyFunc"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_1 , legacyFunc) - 0usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union _xmlCharEncodingHandler__bindgen_ty_2 { pub func : xmlCharEncConvFunc , pub legacyFunc : xmlCharEncodingOutputFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler__bindgen_ty_2"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler__bindgen_ty_2 > () - 8usize] ; ["Alignment of _xmlCharEncodingHandler__bindgen_ty_2"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler__bindgen_ty_2 > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_2::func"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_2 , func) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_2::legacyFunc"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_2 , legacyFunc) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler > () - 56usize] ; ["Alignment of _xmlCharEncodingHandler"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler::name"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , name) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler::input"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , input) - 8usize] ; ["Offset of field: _xmlCharEncodingHandler::output"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , output) - 16usize] ; ["Offset of field: _xmlCharEncodingHandler::inputCtxt"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , inputCtxt) - 24usize] ; ["Offset of field: _xmlCharEncodingHandler::outputCtxt"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , outputCtxt) - 32usize] ; ["Offset of field: _xmlCharEncodingHandler::ctxtDtor"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , ctxtDtor) - 40usize] ; ["Offset of field: _xmlCharEncodingHandler::flags"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , flags) - 48usize] ; } ; # [doc = " If this function returns XML_ERR_OK, it must fill the `out`\n pointer with an encoding handler. The handler can be obtained\n from #xmlCharEncNewCustomHandler.\n\n `flags` can contain XML_ENC_INPUT, XML_ENC_OUTPUT or both.\n\n @param vctxt  user data\n @param name  encoding name\n @param flags  bit mask of flags\n @param out  pointer to resulting handler\n @returns an xmlParserErrors code."] pub type xmlCharEncConvImpl = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void , name : * const :: std :: os :: raw :: c_char , flags : xmlCharEncFlags , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors > ; unsafe extern "C" { pub fn xmlInitCharEncodingHandlers () ; } unsafe extern "C" { pub fn xmlCleanupCharEncodingHandlers () ; } unsafe extern "C" { pub fn xmlRegisterCharEncodingHandler (handler : * mut xmlCharEncodingHandler) ; } unsafe extern "C" { pub fn xmlLookupCharEncodingHandler (enc : xmlCharEncoding , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlOpenCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , output : :: std :: os :: raw :: c_int , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlCreateCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , flags : xmlCharEncFlags , impl_ : xmlCharEncConvImpl , implCtxt : * mut :: std :: os :: raw :: c_void , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlGetCharEncodingHandler (enc : xmlCharEncoding) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlFindCharEncodingHandler (name : * const :: std :: os :: raw :: c_char) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlNewCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , input : xmlCharEncodingInputFunc , output : xmlCharEncodingOutputFunc) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlCharEncNewCustomHandler (name : * const :: std :: os :: raw :: c_char , input : xmlCharEncConvFunc , output : xmlCharEncConvFunc , ctxtDtor : xmlCharEncConvCtxtDtor , inputCtxt : * mut :: std :: os :: raw :: c_void , outputCtxt : * mut :: std :: os :: raw :: c_void , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlAddEncodingAlias (name : * const :: std :: os :: raw :: c_char , alias : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDelEncodingAlias (alias : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetEncodingAlias (alias : * const :: std :: os :: raw :: c_char) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlCleanupEncodingAliases () ; } unsafe extern "C" { pub fn xmlParseCharEncoding (name : * const :: std :: os :: raw :: c_char) -> xmlCharEncoding ; } unsafe extern "C" { pub fn xmlGetCharEncodingName (enc : xmlCharEncoding) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlDetectCharEncoding (in_ : * const :: std :: os :: raw :: c_uchar , len : :: std :: os :: raw :: c_int) -> xmlCharEncoding ; } unsafe extern "C" { pub fn xmlCharEncOutFunc (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncInFunc (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncFirstLine (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncCloseFunc (handler : * mut xmlCharEncodingHandler) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8ToIsolat1 (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsolat1ToUTF8 (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " Callback used in the I/O Input API to detect if the current handler\n can provide input functionality for this resource.\n\n @param filename  the filename or URI\n @returns 1 if yes and 0 if another Input module should be used"] pub type xmlInputMatchCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Input API to open the resource\n\n @param filename  the filename or URI\n @returns an Input context or NULL in case or error"] pub type xmlInputOpenCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback used in the I/O Input API to read the resource\n\n @param context  an Input context\n @param buffer  the buffer to store data read\n @param len  the length of the buffer in bytes\n @returns the number of bytes read or -1 in case of error"] pub type xmlInputReadCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Input API to close the resource\n\n @param context  an Input context\n @returns 0 or -1 in case of error"] pub type xmlInputCloseCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to detect if the current handler\n can provide output functionality for this resource.\n\n @param filename  the filename or URI\n @returns 1 if yes and 0 if another Output module should be used"] pub type xmlOutputMatchCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to open the resource\n\n @param filename  the filename or URI\n @returns an Output context or NULL in case or error"] pub type xmlOutputOpenCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback used in the I/O Output API to write to the resource\n\n @param context  an Output context\n @param buffer  the buffer of data to write\n @param len  the length of the buffer in bytes\n @returns the number of bytes written or -1 in case of error"] pub type xmlOutputWriteCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void , buffer : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to close the resource\n\n @param context  an Output context\n @returns 0 or -1 in case of error"] pub type xmlOutputCloseCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Signature for the function doing the lookup for a suitable input method\n corresponding to an URI.\n\n @param URI  the URI to read from\n @param enc  the requested source encoding\n @returns the new xmlParserInputBuffer in case of success or NULL if no\n         method was found."] pub type xmlParserInputBufferCreateFilenameFunc = :: std :: option :: Option < unsafe extern "C" fn (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer > ; # [doc = " Signature for the function doing the lookup for a suitable output method\n corresponding to an URI.\n\n @param URI  the URI to write to\n @param encoder  the requested target encoding\n @param compression  compression level\n @returns the new xmlOutputBuffer in case of success or NULL if no\n         method was found."] pub type xmlOutputBufferCreateFilenameFunc = :: std :: option :: Option < unsafe extern "C" fn (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer > ; # [doc = " Parser input buffer\n\n This struct and all related functions should ultimately\n be removed from the public interface."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserInputBuffer { pub context : * mut :: std :: os :: raw :: c_void , pub readcallback : xmlInputReadCallback , pub closecallback : xmlInputCloseCallback , pub encoder : * mut xmlCharEncodingHandler , pub buffer : * mut xmlBuf , pub raw : * mut xmlBuf , pub compressed : :: std :: os :: raw :: c_int , pub error : :: std :: os :: raw :: c_int , pub rawconsumed : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserInputBuffer"] [:: std :: mem :: size_of :: < _xmlParserInputBuffer > () - 64usize] ; ["Alignment of _xmlParserInputBuffer"] [:: std :: mem :: align_of :: < _xmlParserInputBuffer > () - 8usize] ; ["Offset of field: _xmlParserInputBuffer::context"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , context) - 0usize] ; ["Offset of field: _xmlParserInputBuffer::readcallback"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , readcallback) - 8usize] ; ["Offset of field: _xmlParserInputBuffer::closecallback"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , closecallback) - 16usize] ; ["Offset of field: _xmlParserInputBuffer::encoder"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , encoder) - 24usize] ; ["Offset of field: _xmlParserInputBuffer::buffer"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , buffer) - 32usize] ; ["Offset of field: _xmlParserInputBuffer::raw"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , raw) - 40usize] ; ["Offset of field: _xmlParserInputBuffer::compressed"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , compressed) - 48usize] ; ["Offset of field: _xmlParserInputBuffer::error"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , error) - 52usize] ; ["Offset of field: _xmlParserInputBuffer::rawconsumed"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , rawconsumed) - 56usize] ; } ; # [doc = " Output buffer"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlOutputBuffer { pub context : * mut :: std :: os :: raw :: c_void , pub writecallback : xmlOutputWriteCallback , pub closecallback : xmlOutputCloseCallback , pub encoder : * mut xmlCharEncodingHandler , pub buffer : * mut xmlBuf , pub conv : * mut xmlBuf , pub written : :: std :: os :: raw :: c_int , pub error : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlOutputBuffer"] [:: std :: mem :: size_of :: < _xmlOutputBuffer > () - 56usize] ; ["Alignment of _xmlOutputBuffer"] [:: std :: mem :: align_of :: < _xmlOutputBuffer > () - 8usize] ; ["Offset of field: _xmlOutputBuffer::context"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , context) - 0usize] ; ["Offset of field: _xmlOutputBuffer::writecallback"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , writecallback) - 8usize] ; ["Offset of field: _xmlOutputBuffer::closecallback"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , closecallback) - 16usize] ; ["Offset of field: _xmlOutputBuffer::encoder"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , encoder) - 24usize] ; ["Offset of field: _xmlOutputBuffer::buffer"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , buffer) - 32usize] ; ["Offset of field: _xmlOutputBuffer::conv"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , conv) - 40usize] ; ["Offset of field: _xmlOutputBuffer::written"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , written) - 48usize] ; ["Offset of field: _xmlOutputBuffer::error"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , error) - 52usize] ; } ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlParserInputBufferCreateFilenameValue () -> * mut xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn __xmlOutputBufferCreateFilenameValue () -> * mut xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { # [doc = " @endcond"] pub fn xmlCleanupInputCallbacks () ; } unsafe extern "C" { pub fn xmlPopInputCallbacks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterDefaultInputCallbacks () ; } unsafe extern "C" { pub fn xmlAllocParserInputBuffer (enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFile (file : * mut FILE , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFd (fd : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateMem (mem : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateStatic (mem : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateIO (ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferRead (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferGrow (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferPush (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int , buf : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFreeParserInputBuffer (in_ : * mut xmlParserInputBuffer) ; } unsafe extern "C" { pub fn xmlParserGetDirectory (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlRegisterInputCallbacks (matchFunc : xmlInputMatchCallback , openFunc : xmlInputOpenCallback , readFunc : xmlInputReadCallback , closeFunc : xmlInputCloseCallback) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlParserInputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlCleanupOutputCallbacks () ; } unsafe extern "C" { pub fn xmlPopOutputCallbacks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterDefaultOutputCallbacks () ; } unsafe extern "C" { pub fn xmlAllocOutputBuffer (encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFile (file : * mut FILE , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateBuffer (buffer : * mut xmlBuffer , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFd (fd : :: std :: os :: raw :: c_int , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateIO (iowrite : xmlOutputWriteCallback , ioclose : xmlOutputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferGetContent (out : * mut xmlOutputBuffer) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlOutputBufferGetSize (out : * mut xmlOutputBuffer) -> usize ; } unsafe extern "C" { pub fn xmlOutputBufferWrite (out : * mut xmlOutputBuffer , len : :: std :: os :: raw :: c_int , buf : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferWriteString (out : * mut xmlOutputBuffer , str_ : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferWriteEscape (out : * mut xmlOutputBuffer , str_ : * const xmlChar , escaping : xmlCharEncodingOutputFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferFlush (out : * mut xmlOutputBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferClose (out : * mut xmlOutputBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterOutputCallbacks (matchFunc : xmlOutputMatchCallback , openFunc : xmlOutputOpenCallback , writeFunc : xmlOutputWriteCallback , closeFunc : xmlOutputCloseCallback) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlOutputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlCheckHTTPInput (ctxt : * mut xmlParserCtxt , ret : * mut xmlParserInput) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNoNetExternalEntityLoader (URL : * const :: std :: os :: raw :: c_char , ID : * const :: std :: os :: raw :: c_char , ctxt : * mut xmlParserCtxt) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNormalizeWindowsPath (path : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCheckFilename (path : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileMatch (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileOpen (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlFileRead (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileClose (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [doc = " @cond IGNORE"] pub fn xmlIOHTTPMatch (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIOHTTPOpen (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlRegisterHTTPPostCallbacks () ; } unsafe extern "C" { pub fn xmlIOHTTPOpenW (post_uri : * const :: std :: os :: raw :: c_char , compression : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlIOHTTPRead (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIOHTTPClose (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFilenameDefault (func : xmlParserInputBufferCreateFilenameFunc) -> xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFilenameDefault (func : xmlOutputBufferCreateFilenameFunc) -> xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlThrDefOutputBufferCreateFilenameDefault (func : xmlOutputBufferCreateFilenameFunc) -> xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlThrDefParserInputBufferCreateFilenameDefault (func : xmlParserInputBufferCreateFilenameFunc) -> xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlSAX2GetPublicId (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSAX2GetSystemId (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSAX2SetDocumentLocator (ctx : * mut :: std :: os :: raw :: c_void , loc : * mut xmlSAXLocator) ; } unsafe extern "C" { pub fn xmlSAX2GetLineNumber (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2GetColumnNumber (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2IsStandalone (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2HasInternalSubset (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2HasExternalSubset (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2InternalSubset (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2ExternalSubset (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2GetEntity (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlSAX2GetParameterEntity (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlSAX2ResolveEntity (ctx : * mut :: std :: os :: raw :: c_void , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlSAX2EntityDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * mut xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2AttributeDecl (ctx : * mut :: std :: os :: raw :: c_void , elem : * const xmlChar , fullname : * const xmlChar , type_ : :: std :: os :: raw :: c_int , def : :: std :: os :: raw :: c_int , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) ; } unsafe extern "C" { pub fn xmlSAX2ElementDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , content : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlSAX2NotationDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2UnparsedEntityDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar , notationName : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2StartDocument (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSAX2EndDocument (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSAX2StartElement (ctx : * mut :: std :: os :: raw :: c_void , fullname : * const xmlChar , atts : * mut * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2EndElement (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2StartElementNs (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar , nb_namespaces : :: std :: os :: raw :: c_int , namespaces : * mut * const xmlChar , nb_attributes : :: std :: os :: raw :: c_int , nb_defaulted : :: std :: os :: raw :: c_int , attributes : * mut * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2EndElementNs (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Reference (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Characters (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2IgnorableWhitespace (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2ProcessingInstruction (ctx : * mut :: std :: os :: raw :: c_void , target : * const xmlChar , data : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Comment (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2CDataBlock (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAXDefaultVersion (version : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXVersion (hdlr : * mut xmlSAXHandler , version : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2InitDefaultSAXHandler (hdlr : * mut xmlSAXHandler , warning : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2InitHtmlDefaultSAXHandler (hdlr : * mut xmlSAXHandler) ; } unsafe extern "C" { pub fn htmlDefaultSAXHandlerInit () ; } unsafe extern "C" { pub fn xmlDefaultSAXHandlerInit () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlMutex { _unused : [u8 ; 0] , } # [doc = " Mutual exclusion object"] pub type xmlMutex = _xmlMutex ; pub type xmlMutexPtr = * mut xmlMutex ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRMutex { _unused : [u8 ; 0] , } # [doc = " Reentrant mutual exclusion object"] pub type xmlRMutex = _xmlRMutex ; pub type xmlRMutexPtr = * mut xmlRMutex ; unsafe extern "C" { pub fn xmlCheckThreadLocalStorage () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNewMutex () -> * mut xmlMutex ; } unsafe extern "C" { pub fn xmlMutexLock (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlMutexUnlock (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlFreeMutex (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlNewRMutex () -> * mut xmlRMutex ; } unsafe extern "C" { pub fn xmlRMutexLock (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlRMutexUnlock (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlFreeRMutex (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlInitThreads () ; } unsafe extern "C" { pub fn xmlLockLibrary () ; } unsafe extern "C" { pub fn xmlUnlockLibrary () ; } unsafe extern "C" { pub fn xmlCleanupThreads () ; } # [doc = " not well-formed"] pub const xmlParserStatus_XML_STATUS_NOT_WELL_FORMED : xmlParserStatus = 1 ; # [doc = " not namespace-well-formed"] pub const xmlParserStatus_XML_STATUS_NOT_NS_WELL_FORMED : xmlParserStatus = 2 ; # [doc = " DTD validation failed"] pub const xmlParserStatus_XML_STATUS_DTD_VALIDATION_FAILED : xmlParserStatus = 4 ; # [doc = " catastrophic failure like OOM or I/O error"] pub const xmlParserStatus_XML_STATUS_CATASTROPHIC_ERROR : xmlParserStatus = 8 ; # [doc = " Status after parsing a document"] pub type xmlParserStatus = :: std :: os :: raw :: c_uint ; # [doc = " unknown"] pub const xmlResourceType_XML_RESOURCE_UNKNOWN : xmlResourceType = 0 ; # [doc = " main document"] pub const xmlResourceType_XML_RESOURCE_MAIN_DOCUMENT : xmlResourceType = 1 ; # [doc = " external DTD"] pub const xmlResourceType_XML_RESOURCE_DTD : xmlResourceType = 2 ; # [doc = " external general entity"] pub const xmlResourceType_XML_RESOURCE_GENERAL_ENTITY : xmlResourceType = 3 ; # [doc = " external parameter entity"] pub const xmlResourceType_XML_RESOURCE_PARAMETER_ENTITY : xmlResourceType = 4 ; # [doc = " XIncluded document"] pub const xmlResourceType_XML_RESOURCE_XINCLUDE : xmlResourceType = 5 ; # [doc = " XIncluded text"] pub const xmlResourceType_XML_RESOURCE_XINCLUDE_TEXT : xmlResourceType = 6 ; # [doc = " Resource type for resource loaders"] pub type xmlResourceType = :: std :: os :: raw :: c_uint ; # [doc = " The input buffer won't be changed during parsing."] pub const xmlParserInputFlags_XML_INPUT_BUF_STATIC : xmlParserInputFlags = 2 ; # [doc = " The input buffer is zero-terminated. (Note that the zero\nbyte shouldn't be included in buffer size.)"] pub const xmlParserInputFlags_XML_INPUT_BUF_ZERO_TERMINATED : xmlParserInputFlags = 4 ; # [doc = " Uncompress gzipped file input"] pub const xmlParserInputFlags_XML_INPUT_UNZIP : xmlParserInputFlags = 8 ; # [doc = " Allow network access. Unused internally."] pub const xmlParserInputFlags_XML_INPUT_NETWORK : xmlParserInputFlags = 16 ; # [doc = " Allow system catalog to resolve URIs."] pub const xmlParserInputFlags_XML_INPUT_USE_SYS_CATALOG : xmlParserInputFlags = 32 ; # [doc = " Flags for parser input"] pub type xmlParserInputFlags = :: std :: os :: raw :: c_uint ; pub type xmlParserInputDeallocate = :: std :: option :: Option < unsafe extern "C" fn (str_ : * mut xmlChar) > ; # [doc = " Parser input"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserInput { pub buf : * mut xmlParserInputBuffer , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n The filename or URI, if any"] pub filename : * const :: std :: os :: raw :: c_char , pub directory : * const :: std :: os :: raw :: c_char , pub base : * const xmlChar , # [doc = " @deprecated Use #xmlCtxtGetInputWindow\n\n Current char being parsed"] pub cur : * const xmlChar , pub end : * const xmlChar , pub length : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n Current line"] pub line : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n Current column"] pub col : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n How many xmlChars already consumed"] pub consumed : :: std :: os :: raw :: c_ulong , pub free : xmlParserInputDeallocate , pub encoding : * const xmlChar , pub version : * const xmlChar , pub flags : :: std :: os :: raw :: c_int , pub id : :: std :: os :: raw :: c_int , pub parentConsumed : :: std :: os :: raw :: c_ulong , pub entity : * mut xmlEntity , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserInput"] [:: std :: mem :: size_of :: < _xmlParserInput > () - 120usize] ; ["Alignment of _xmlParserInput"] [:: std :: mem :: align_of :: < _xmlParserInput > () - 8usize] ; ["Offset of field: _xmlParserInput::buf"] [:: std :: mem :: offset_of ! (_xmlParserInput , buf) - 0usize] ; ["Offset of field: _xmlParserInput::filename"] [:: std :: mem :: offset_of ! (_xmlParserInput , filename) - 8usize] ; ["Offset of field: _xmlParserInput::directory"] [:: std :: mem :: offset_of ! (_xmlParserInput , directory) - 16usize] ; ["Offset of field: _xmlParserInput::base"] [:: std :: mem :: offset_of ! (_xmlParserInput , base) - 24usize] ; ["Offset of field: _xmlParserInput::cur"] [:: std :: mem :: offset_of ! (_xmlParserInput , cur) - 32usize] ; ["Offset of field: _xmlParserInput::end"] [:: std :: mem :: offset_of ! (_xmlParserInput , end) - 40usize] ; ["Offset of field: _xmlParserInput::length"] [:: std :: mem :: offset_of ! (_xmlParserInput , length) - 48usize] ; ["Offset of field: _xmlParserInput::line"] [:: std :: mem :: offset_of ! (_xmlParserInput , line) - 52usize] ; ["Offset of field: _xmlParserInput::col"] [:: std :: mem :: offset_of ! (_xmlParserInput , col) - 56usize] ; ["Offset of field: _xmlParserInput::consumed"] [:: std :: mem :: offset_of ! (_xmlParserInput , consumed) - 64usize] ; ["Offset of field: _xmlParserInput::free"] [:: std :: mem :: offset_of ! (_xmlParserInput , free) - 72usize] ; ["Offset of field: _xmlParserInput::encoding"] [:: std :: mem :: offset_of ! (_xmlParserInput , encoding) - 80usize] ; ["Offset of field: _xmlParserInput::version"] [:: std :: mem :: offset_of ! (_xmlParserInput , version) - 88usize] ; ["Offset of field: _xmlParserInput::flags"] [:: std :: mem :: offset_of ! (_xmlParserInput , flags) - 96usize] ; ["Offset of field: _xmlParserInput::id"] [:: std :: mem :: offset_of ! (_xmlParserInput , id) - 100usize] ; ["Offset of field: _xmlParserInput::parentConsumed"] [:: std :: mem :: offset_of ! (_xmlParserInput , parentConsumed) - 104usize] ; ["Offset of field: _xmlParserInput::entity"] [:: std :: mem :: offset_of ! (_xmlParserInput , entity) - 112usize] ; } ; # [doc = " @cond ignore"] pub type xmlParserNodeInfo = _xmlParserNodeInfo ; pub type xmlParserNodeInfoPtr = * mut xmlParserNodeInfo ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNodeInfo { pub node : * const _xmlNode , pub begin_pos : :: std :: os :: raw :: c_ulong , pub begin_line : :: std :: os :: raw :: c_ulong , pub end_pos : :: std :: os :: raw :: c_ulong , pub end_line : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserNodeInfo"] [:: std :: mem :: size_of :: < _xmlParserNodeInfo > () - 40usize] ; ["Alignment of _xmlParserNodeInfo"] [:: std :: mem :: align_of :: < _xmlParserNodeInfo > () - 8usize] ; ["Offset of field: _xmlParserNodeInfo::node"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , node) - 0usize] ; ["Offset of field: _xmlParserNodeInfo::begin_pos"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , begin_pos) - 8usize] ; ["Offset of field: _xmlParserNodeInfo::begin_line"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , begin_line) - 16usize] ; ["Offset of field: _xmlParserNodeInfo::end_pos"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , end_pos) - 24usize] ; ["Offset of field: _xmlParserNodeInfo::end_line"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , end_line) - 32usize] ; } ; pub type xmlParserNodeInfoSeq = _xmlParserNodeInfoSeq ; pub type xmlParserNodeInfoSeqPtr = * mut xmlParserNodeInfoSeq ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNodeInfoSeq { pub maximum : :: std :: os :: raw :: c_ulong , pub length : :: std :: os :: raw :: c_ulong , pub buffer : * mut xmlParserNodeInfo , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserNodeInfoSeq"] [:: std :: mem :: size_of :: < _xmlParserNodeInfoSeq > () - 24usize] ; ["Alignment of _xmlParserNodeInfoSeq"] [:: std :: mem :: align_of :: < _xmlParserNodeInfoSeq > () - 8usize] ; ["Offset of field: _xmlParserNodeInfoSeq::maximum"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , maximum) - 0usize] ; ["Offset of field: _xmlParserNodeInfoSeq::length"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , length) - 8usize] ; ["Offset of field: _xmlParserNodeInfoSeq::buffer"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , buffer) - 16usize] ; } ; pub const xmlParserInputState_XML_PARSER_EOF : xmlParserInputState = - 1 ; pub const xmlParserInputState_XML_PARSER_START : xmlParserInputState = 0 ; pub const xmlParserInputState_XML_PARSER_MISC : xmlParserInputState = 1 ; pub const xmlParserInputState_XML_PARSER_PI : xmlParserInputState = 2 ; pub const xmlParserInputState_XML_PARSER_DTD : xmlParserInputState = 3 ; pub const xmlParserInputState_XML_PARSER_PROLOG : xmlParserInputState = 4 ; pub const xmlParserInputState_XML_PARSER_COMMENT : xmlParserInputState = 5 ; pub const xmlParserInputState_XML_PARSER_START_TAG : xmlParserInputState = 6 ; pub const xmlParserInputState_XML_PARSER_CONTENT : xmlParserInputState = 7 ; pub const xmlParserInputState_XML_PARSER_CDATA_SECTION : xmlParserInputState = 8 ; pub const xmlParserInputState_XML_PARSER_END_TAG : xmlParserInputState = 9 ; pub const xmlParserInputState_XML_PARSER_ENTITY_DECL : xmlParserInputState = 10 ; pub const xmlParserInputState_XML_PARSER_ENTITY_VALUE : xmlParserInputState = 11 ; pub const xmlParserInputState_XML_PARSER_ATTRIBUTE_VALUE : xmlParserInputState = 12 ; pub const xmlParserInputState_XML_PARSER_SYSTEM_LITERAL : xmlParserInputState = 13 ; pub const xmlParserInputState_XML_PARSER_EPILOG : xmlParserInputState = 14 ; pub const xmlParserInputState_XML_PARSER_IGNORE : xmlParserInputState = 15 ; pub const xmlParserInputState_XML_PARSER_PUBLIC_LITERAL : xmlParserInputState = 16 ; pub const xmlParserInputState_XML_PARSER_XML_DECL : xmlParserInputState = 17 ; pub type xmlParserInputState = :: std :: os :: raw :: c_int ; pub const xmlParserMode_XML_PARSE_UNKNOWN : xmlParserMode = 0 ; pub const xmlParserMode_XML_PARSE_DOM : xmlParserMode = 1 ; pub const xmlParserMode_XML_PARSE_SAX : xmlParserMode = 2 ; pub const xmlParserMode_XML_PARSE_PUSH_DOM : xmlParserMode = 3 ; pub const xmlParserMode_XML_PARSE_PUSH_SAX : xmlParserMode = 4 ; pub const xmlParserMode_XML_PARSE_READER : xmlParserMode = 5 ; pub type xmlParserMode = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlStartTag { _unused : [u8 ; 0] , } pub type xmlStartTag = _xmlStartTag ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNsData { _unused : [u8 ; 0] , } pub type xmlParserNsData = _xmlParserNsData ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttrHashBucket { _unused : [u8 ; 0] , } pub type xmlAttrHashBucket = _xmlAttrHashBucket ; # [doc = " Callback for custom resource loaders.\n\n `flags` can contain XML_INPUT_UNZIP and XML_INPUT_NETWORK.\n\n The URL is resolved using XML catalogs before being passed to\n the callback.\n\n On success, `out` should be set to a new parser input object and\n XML_ERR_OK should be returned.\n\n @param ctxt  parser context\n @param url  URL or system ID to load\n @param publicId  publid ID from DTD (optional)\n @param type  resource type\n @param flags  flags\n @param out  result pointer\n @returns an xmlParserErrors code."] pub type xmlResourceLoader = :: std :: option :: Option < unsafe extern "C" fn (ctxt : * mut :: std :: os :: raw :: c_void , url : * const :: std :: os :: raw :: c_char , publicId : * const :: std :: os :: raw :: c_char , type_ : xmlResourceType , flags : xmlParserInputFlags , out : * mut * mut xmlParserInput) -> xmlParserErrors > ; # [doc = " Parser context"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserCtxt { # [doc = " @deprecated Use xmlCtxtGetSaxHandler() and\n xmlCtxtSetSaxHandler().\n\n the SAX handler"] pub sax : * mut _xmlSAXHandler , # [doc = " @deprecated Use #xmlCtxtGetUserData\n\n user data for SAX interface, defaults to the context itself"] pub userData : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlCtxtGetDocument()\n\n the document being built"] pub myDoc : * mut xmlDoc , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document well formed?"] pub wellFormed : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_NOENT\n\n shall we replace entities?"] pub replaceEntities : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetVersion()\n\n the XML version string"] pub version : * mut xmlChar , # [doc = " @deprecated Use xmlCtxtGetDeclaredEncoding()\n\n the declared encoding, if any"] pub encoding : * mut xmlChar , # [doc = " @deprecated Use xmlCtxtGetStandalone()\n\n standalone document"] pub standalone : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsHtml()\n\n non-zero for HTML documents, actually an htmlInsertMode"] pub html : :: std :: os :: raw :: c_int , pub input : * mut xmlParserInput , pub inputNr : :: std :: os :: raw :: c_int , pub inputMax : :: std :: os :: raw :: c_int , pub inputTab : * mut * mut xmlParserInput , # [doc = " @deprecated Use #xmlCtxtGetNode\n\n The current element."] pub node : * mut xmlNode , pub nodeNr : :: std :: os :: raw :: c_int , pub nodeMax : :: std :: os :: raw :: c_int , pub nodeTab : * mut * mut xmlNode , pub record_info : :: std :: os :: raw :: c_int , pub node_seq : xmlParserNodeInfoSeq , # [doc = " @deprecated Use xmlCtxtGetLastError()\n\n error code"] pub errNo : :: std :: os :: raw :: c_int , pub hasExternalSubset : :: std :: os :: raw :: c_int , pub hasPErefs : :: std :: os :: raw :: c_int , pub external : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document valid"] pub valid : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_DTDVALID\n\n shall we try to validate?"] pub validate : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetValidCtxt()\n\n The validity context"] pub vctxt : xmlValidCtxt , pub instate : xmlParserInputState , pub token : :: std :: os :: raw :: c_int , # [doc = " @deprecated Don't use\n\n The main document URI, if available, with its last\n component stripped."] pub directory : * mut :: std :: os :: raw :: c_char , pub name : * const xmlChar , pub nameNr : :: std :: os :: raw :: c_int , pub nameMax : :: std :: os :: raw :: c_int , pub nameTab : * mut * const xmlChar , pub nbChars : :: std :: os :: raw :: c_long , pub checkIndex : :: std :: os :: raw :: c_long , # [doc = " @deprecated Use inverted xmlParserOption XML_PARSE_NOBLANKS\n\n ugly but ..."] pub keepBlanks : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsStopped()\n\n SAX callbacks are disabled"] pub disableSAX : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsInSubset\n\n Set if DTD content is parsed.\n\n - 0: not in DTD\n - 1: in internal DTD subset\n - 2: in external DTD subset"] pub inSubset : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use the `name` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n Name of the internal subset (root element type)."] pub intSubName : * const xmlChar , # [doc = " @deprecated Use the `systemId` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n System identifier (URI) of external the subset."] pub extSubURI : * mut xmlChar , # [doc = " @deprecated Use the `publicId` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n This member is MISNAMED. It contains the *public* identifier\n of the external subset."] pub extSubSystem : * mut xmlChar , pub space : * mut :: std :: os :: raw :: c_int , pub spaceNr : :: std :: os :: raw :: c_int , pub spaceMax : :: std :: os :: raw :: c_int , pub spaceTab : * mut :: std :: os :: raw :: c_int , pub depth : :: std :: os :: raw :: c_int , pub entity : * mut xmlParserInput , pub charset : :: std :: os :: raw :: c_int , pub nodelen : :: std :: os :: raw :: c_int , pub nodemem : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_PEDANTIC\n\n signal pedantic warnings"] pub pedantic : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetPrivate() and xmlCtxtSetPrivate()\n\n For user data, libxml won't touch it"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlParserOption XML_PARSE_DTDLOAD,\n XML_PARSE_DTDATTR or XML_PARSE_SKIP_IDS.\n\n Control loading of the external subset and handling of IDs.\n Other options like `validate` can override this value.\n\n - 0: The default behavior is to process IDs and to ignore\n   the external subset.\n - XML_DETECT_IDS: Load external subset. This flag is\n   misnamed. ID handling is only controlled by XML_SKIP_IDS.\n - XML_COMPLETE_ATTRS: Load external subset and process\n   default attributes.\n - XML_SKIP_IDS: Ignore IDs."] pub loadsubset : :: std :: os :: raw :: c_int , pub linenumbers : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetCatalogs() and xmlCtxtSetCatalogs()\n\n document's own catalog"] pub catalogs : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlParserOption XML_PARSE_RECOVER\n run in recovery mode"] pub recovery : :: std :: os :: raw :: c_int , pub progressive : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetDict() and xmlCtxtSetDict()\n\n dictionary for the parser"] pub dict : * mut xmlDict , pub atts : * mut * const xmlChar , pub maxatts : :: std :: os :: raw :: c_int , pub docdict : :: std :: os :: raw :: c_int , pub str_xml : * const xmlChar , pub str_xmlns : * const xmlChar , pub str_xml_ns : * const xmlChar , pub sax2 : :: std :: os :: raw :: c_int , pub nsNr : :: std :: os :: raw :: c_int , pub nsMax : :: std :: os :: raw :: c_int , pub nsTab : * mut * const xmlChar , pub attallocs : * mut :: std :: os :: raw :: c_uint , pub pushTab : * mut xmlStartTag , pub attsDefault : * mut xmlHashTable , pub attsSpecial : * mut xmlHashTable , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document XML Namespace okay"] pub nsWellFormed : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetOptions()\n\n Extra options"] pub options : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use inverted xmlParserOption XML_PARSE_NODICT\n\n Use dictionary names for the tree"] pub dictNames : :: std :: os :: raw :: c_int , pub freeElemsNr : :: std :: os :: raw :: c_int , pub freeElems : * mut xmlNode , pub freeAttrsNr : :: std :: os :: raw :: c_int , pub freeAttrs : * mut xmlAttr , # [doc = " @deprecated Use xmlCtxtGetLastError()\n\n the complete error information for the last error."] pub lastError : xmlError , pub parseMode : xmlParserMode , pub nbentities : :: std :: os :: raw :: c_ulong , pub sizeentities : :: std :: os :: raw :: c_ulong , pub nodeInfo : * mut xmlParserNodeInfo , pub nodeInfoNr : :: std :: os :: raw :: c_int , pub nodeInfoMax : :: std :: os :: raw :: c_int , pub nodeInfoTab : * mut xmlParserNodeInfo , pub input_id : :: std :: os :: raw :: c_int , pub sizeentcopy : :: std :: os :: raw :: c_ulong , pub endCheckState : :: std :: os :: raw :: c_int , pub nbErrors : :: std :: os :: raw :: c_ushort , pub nbWarnings : :: std :: os :: raw :: c_ushort , pub maxAmpl : :: std :: os :: raw :: c_uint , pub nsdb : * mut xmlParserNsData , pub attrHashMax : :: std :: os :: raw :: c_uint , pub attrHash : * mut xmlAttrHashBucket , pub errorHandler : xmlStructuredErrorFunc , pub errorCtxt : * mut :: std :: os :: raw :: c_void , pub resourceLoader : xmlResourceLoader , pub resourceCtxt : * mut :: std :: os :: raw :: c_void , pub convImpl : xmlCharEncConvImpl , pub convCtxt : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserCtxt"] [:: std :: mem :: size_of :: < _xmlParserCtxt > () - 840usize] ; ["Alignment of _xmlParserCtxt"] [:: std :: mem :: align_of :: < _xmlParserCtxt > () - 8usize] ; ["Offset of field: _xmlParserCtxt::sax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sax) - 0usize] ; ["Offset of field: _xmlParserCtxt::userData"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , userData) - 8usize] ; ["Offset of field: _xmlParserCtxt::myDoc"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , myDoc) - 16usize] ; ["Offset of field: _xmlParserCtxt::wellFormed"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , wellFormed) - 24usize] ; ["Offset of field: _xmlParserCtxt::replaceEntities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , replaceEntities) - 28usize] ; ["Offset of field: _xmlParserCtxt::version"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , version) - 32usize] ; ["Offset of field: _xmlParserCtxt::encoding"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , encoding) - 40usize] ; ["Offset of field: _xmlParserCtxt::standalone"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , standalone) - 48usize] ; ["Offset of field: _xmlParserCtxt::html"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , html) - 52usize] ; ["Offset of field: _xmlParserCtxt::input"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , input) - 56usize] ; ["Offset of field: _xmlParserCtxt::inputNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputNr) - 64usize] ; ["Offset of field: _xmlParserCtxt::inputMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputMax) - 68usize] ; ["Offset of field: _xmlParserCtxt::inputTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputTab) - 72usize] ; ["Offset of field: _xmlParserCtxt::node"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , node) - 80usize] ; ["Offset of field: _xmlParserCtxt::nodeNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeNr) - 88usize] ; ["Offset of field: _xmlParserCtxt::nodeMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeMax) - 92usize] ; ["Offset of field: _xmlParserCtxt::nodeTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeTab) - 96usize] ; ["Offset of field: _xmlParserCtxt::record_info"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , record_info) - 104usize] ; ["Offset of field: _xmlParserCtxt::node_seq"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , node_seq) - 112usize] ; ["Offset of field: _xmlParserCtxt::errNo"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errNo) - 136usize] ; ["Offset of field: _xmlParserCtxt::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , hasExternalSubset) - 140usize] ; ["Offset of field: _xmlParserCtxt::hasPErefs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , hasPErefs) - 144usize] ; ["Offset of field: _xmlParserCtxt::external"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , external) - 148usize] ; ["Offset of field: _xmlParserCtxt::valid"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , valid) - 152usize] ; ["Offset of field: _xmlParserCtxt::validate"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , validate) - 156usize] ; ["Offset of field: _xmlParserCtxt::vctxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , vctxt) - 160usize] ; ["Offset of field: _xmlParserCtxt::instate"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , instate) - 272usize] ; ["Offset of field: _xmlParserCtxt::token"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , token) - 276usize] ; ["Offset of field: _xmlParserCtxt::directory"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , directory) - 280usize] ; ["Offset of field: _xmlParserCtxt::name"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , name) - 288usize] ; ["Offset of field: _xmlParserCtxt::nameNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameNr) - 296usize] ; ["Offset of field: _xmlParserCtxt::nameMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameMax) - 300usize] ; ["Offset of field: _xmlParserCtxt::nameTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameTab) - 304usize] ; ["Offset of field: _xmlParserCtxt::nbChars"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbChars) - 312usize] ; ["Offset of field: _xmlParserCtxt::checkIndex"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , checkIndex) - 320usize] ; ["Offset of field: _xmlParserCtxt::keepBlanks"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , keepBlanks) - 328usize] ; ["Offset of field: _xmlParserCtxt::disableSAX"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , disableSAX) - 332usize] ; ["Offset of field: _xmlParserCtxt::inSubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inSubset) - 336usize] ; ["Offset of field: _xmlParserCtxt::intSubName"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , intSubName) - 344usize] ; ["Offset of field: _xmlParserCtxt::extSubURI"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , extSubURI) - 352usize] ; ["Offset of field: _xmlParserCtxt::extSubSystem"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , extSubSystem) - 360usize] ; ["Offset of field: _xmlParserCtxt::space"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , space) - 368usize] ; ["Offset of field: _xmlParserCtxt::spaceNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceNr) - 376usize] ; ["Offset of field: _xmlParserCtxt::spaceMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceMax) - 380usize] ; ["Offset of field: _xmlParserCtxt::spaceTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceTab) - 384usize] ; ["Offset of field: _xmlParserCtxt::depth"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , depth) - 392usize] ; ["Offset of field: _xmlParserCtxt::entity"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , entity) - 400usize] ; ["Offset of field: _xmlParserCtxt::charset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , charset) - 408usize] ; ["Offset of field: _xmlParserCtxt::nodelen"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodelen) - 412usize] ; ["Offset of field: _xmlParserCtxt::nodemem"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodemem) - 416usize] ; ["Offset of field: _xmlParserCtxt::pedantic"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , pedantic) - 420usize] ; ["Offset of field: _xmlParserCtxt::_private"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , _private) - 424usize] ; ["Offset of field: _xmlParserCtxt::loadsubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , loadsubset) - 432usize] ; ["Offset of field: _xmlParserCtxt::linenumbers"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , linenumbers) - 436usize] ; ["Offset of field: _xmlParserCtxt::catalogs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , catalogs) - 440usize] ; ["Offset of field: _xmlParserCtxt::recovery"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , recovery) - 448usize] ; ["Offset of field: _xmlParserCtxt::progressive"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , progressive) - 452usize] ; ["Offset of field: _xmlParserCtxt::dict"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , dict) - 456usize] ; ["Offset of field: _xmlParserCtxt::atts"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , atts) - 464usize] ; ["Offset of field: _xmlParserCtxt::maxatts"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , maxatts) - 472usize] ; ["Offset of field: _xmlParserCtxt::docdict"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , docdict) - 476usize] ; ["Offset of field: _xmlParserCtxt::str_xml"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xml) - 480usize] ; ["Offset of field: _xmlParserCtxt::str_xmlns"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xmlns) - 488usize] ; ["Offset of field: _xmlParserCtxt::str_xml_ns"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xml_ns) - 496usize] ; ["Offset of field: _xmlParserCtxt::sax2"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sax2) - 504usize] ; ["Offset of field: _xmlParserCtxt::nsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsNr) - 508usize] ; ["Offset of field: _xmlParserCtxt::nsMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsMax) - 512usize] ; ["Offset of field: _xmlParserCtxt::nsTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsTab) - 520usize] ; ["Offset of field: _xmlParserCtxt::attallocs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attallocs) - 528usize] ; ["Offset of field: _xmlParserCtxt::pushTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , pushTab) - 536usize] ; ["Offset of field: _xmlParserCtxt::attsDefault"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attsDefault) - 544usize] ; ["Offset of field: _xmlParserCtxt::attsSpecial"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attsSpecial) - 552usize] ; ["Offset of field: _xmlParserCtxt::nsWellFormed"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsWellFormed) - 560usize] ; ["Offset of field: _xmlParserCtxt::options"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , options) - 564usize] ; ["Offset of field: _xmlParserCtxt::dictNames"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , dictNames) - 568usize] ; ["Offset of field: _xmlParserCtxt::freeElemsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeElemsNr) - 572usize] ; ["Offset of field: _xmlParserCtxt::freeElems"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeElems) - 576usize] ; ["Offset of field: _xmlParserCtxt::freeAttrsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeAttrsNr) - 584usize] ; ["Offset of field: _xmlParserCtxt::freeAttrs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeAttrs) - 592usize] ; ["Offset of field: _xmlParserCtxt::lastError"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , lastError) - 600usize] ; ["Offset of field: _xmlParserCtxt::parseMode"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , parseMode) - 688usize] ; ["Offset of field: _xmlParserCtxt::nbentities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbentities) - 696usize] ; ["Offset of field: _xmlParserCtxt::sizeentities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sizeentities) - 704usize] ; ["Offset of field: _xmlParserCtxt::nodeInfo"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfo) - 712usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoNr) - 720usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoMax) - 724usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoTab) - 728usize] ; ["Offset of field: _xmlParserCtxt::input_id"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , input_id) - 736usize] ; ["Offset of field: _xmlParserCtxt::sizeentcopy"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sizeentcopy) - 744usize] ; ["Offset of field: _xmlParserCtxt::endCheckState"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , endCheckState) - 752usize] ; ["Offset of field: _xmlParserCtxt::nbErrors"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbErrors) - 756usize] ; ["Offset of field: _xmlParserCtxt::nbWarnings"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbWarnings) - 758usize] ; ["Offset of field: _xmlParserCtxt::maxAmpl"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , maxAmpl) - 760usize] ; ["Offset of field: _xmlParserCtxt::nsdb"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsdb) - 768usize] ; ["Offset of field: _xmlParserCtxt::attrHashMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attrHashMax) - 776usize] ; ["Offset of field: _xmlParserCtxt::attrHash"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attrHash) - 784usize] ; ["Offset of field: _xmlParserCtxt::errorHandler"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errorHandler) - 792usize] ; ["Offset of field: _xmlParserCtxt::errorCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errorCtxt) - 800usize] ; ["Offset of field: _xmlParserCtxt::resourceLoader"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , resourceLoader) - 808usize] ; ["Offset of field: _xmlParserCtxt::resourceCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , resourceCtxt) - 816usize] ; ["Offset of field: _xmlParserCtxt::convImpl"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , convImpl) - 824usize] ; ["Offset of field: _xmlParserCtxt::convCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , convCtxt) - 832usize] ; } ; # [doc = " A SAX Locator."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXLocator { pub getPublicId : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar > , pub getSystemId : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar > , pub getLineNumber : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , pub getColumnNumber : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXLocator"] [:: std :: mem :: size_of :: < _xmlSAXLocator > () - 32usize] ; ["Alignment of _xmlSAXLocator"] [:: std :: mem :: align_of :: < _xmlSAXLocator > () - 8usize] ; ["Offset of field: _xmlSAXLocator::getPublicId"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getPublicId) - 0usize] ; ["Offset of field: _xmlSAXLocator::getSystemId"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getSystemId) - 8usize] ; ["Offset of field: _xmlSAXLocator::getLineNumber"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getLineNumber) - 16usize] ; ["Offset of field: _xmlSAXLocator::getColumnNumber"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getColumnNumber) - 24usize] ; } ; # [doc = " SAX callback to resolve external entities.\n\n This is only used to load DTDs. The preferred way to install\n custom resolvers is #xmlCtxtSetResourceLoader.\n\n @param ctx  the user data (XML parser context)\n @param publicId  The public identifier of the entity\n @param systemId  The system identifier of the entity (URL)\n @returns the xmlParserInput if inlined or NULL for DOM behaviour."] pub type resolveEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlParserInput > ; # [doc = " SAX callback for the internal subset.\n\n @param ctx  the user data (XML parser context)\n @param name  the root element name\n @param publicId  the public identifier\n @param systemId  the system identifier (e.g. filename or URL)"] pub type internalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback for the external subset.\n\n @param ctx  the user data (XML parser context)\n @param name  the root element name\n @param publicId  the public identifier\n @param systemId  the system identifier (e.g. filename or URL)"] pub type externalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback to look up a general entity by name.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name\n @returns the xmlEntity if found."] pub type getEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity > ; # [doc = " SAX callback to look up a parameter entity by name.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name\n @returns the xmlEntity if found."] pub type getParameterEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity > ; # [doc = " SAX callback for entity declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  the entity name\n @param type  the entity type\n @param publicId  The public ID of the entity\n @param systemId  The system ID of the entity\n @param content  the entity value (without processing)."] pub type entityDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * mut xmlChar) > ; # [doc = " SAX callback for notation declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  The name of the notation\n @param publicId  The public ID of the notation\n @param systemId  The system ID of the notation"] pub type notationDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback for attribute declarations.\n\n @param ctx  the user data (XML parser context)\n @param elem  the name of the element\n @param fullname  the attribute name\n @param type  the attribute type\n @param def  the type of default value\n @param defaultValue  the attribute default value\n @param tree  the tree of enumerated value set"] pub type attributeDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , elem : * const xmlChar , fullname : * const xmlChar , type_ : :: std :: os :: raw :: c_int , def : :: std :: os :: raw :: c_int , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) > ; # [doc = " SAX callback for element declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  the element name\n @param type  the element type\n @param content  the element value tree"] pub type elementDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , content : * mut xmlElementContent) > ; # [doc = " SAX callback for unparsed entity declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  The name of the entity\n @param publicId  The public ID of the entity\n @param systemId  The system ID of the entity\n @param notationName  the name of the notation"] pub type unparsedEntityDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar , notationName : * const xmlChar) > ; # [doc = " This callback receives the \"document locator\" at startup,\n which is always the global xmlDefaultSAXLocator.\n\n Everything is available on the context, so this is useless in\n our case.\n\n @param ctx  the user data (XML parser context)\n @param loc  A SAX Locator"] pub type setDocumentLocatorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , loc : * mut xmlSAXLocator) > ; # [doc = " SAX callback for start of document.\n\n @param ctx  the user data (XML parser context)"] pub type startDocumentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) > ; # [doc = " SAX callback for end of document.\n\n @param ctx  the user data (XML parser context)"] pub type endDocumentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) > ; # [doc = " SAX callback for start tags.\n\n @param ctx  the user data (XML parser context)\n @param name  The element name, including namespace prefix\n @param atts  An array of name/value attributes pairs, NULL terminated"] pub type startElementSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , atts : * mut * const xmlChar) > ; # [doc = " SAX callback for end tags.\n\n @param ctx  the user data (XML parser context)\n @param name  The element name"] pub type endElementSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback for attributes.\n\n @deprecated This typedef is unused.\n\n @param ctx  the user data (XML parser context)\n @param name  The attribute name, including namespace prefix\n @param value  The attribute value"] pub type attributeSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , value : * const xmlChar) > ; # [doc = " SAX callback for entity references.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name"] pub type referenceSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " SAX callback for character data.\n\n @param ctx  the user data (XML parser context)\n @param ch  a xmlChar string\n @param len  the number of xmlChar"] pub type charactersSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for \"ignorable\" whitespace.\n\n @param ctx  the user data (XML parser context)\n @param ch  a xmlChar string\n @param len  the number of xmlChar"] pub type ignorableWhitespaceSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for processing instructions.\n\n @param ctx  the user data (XML parser context)\n @param target  the target name\n @param data  the PI data's"] pub type processingInstructionSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , target : * const xmlChar , data : * const xmlChar) > ; # [doc = " SAX callback for comments.\n\n @param ctx  the user data (XML parser context)\n @param value  the comment content"] pub type commentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar) > ; # [doc = " SAX callback for CDATA sections.\n\n @param ctx  the user data (XML parser context)\n @param value  The pcdata content\n @param len  the block length"] pub type cdataBlockSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for warning messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type warningSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback for error messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type errorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback for fatal error messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type fatalErrorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback to get standalone status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type isStandaloneSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX callback to get internal subset status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type hasInternalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX callback to get external subset status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type hasExternalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX2 callback for start tags.\n\n It provides the namespace information for the element, as well as\n the new namespace declarations on the element.\n\n @param ctx  the user data (XML parser context)\n @param localname  the local name of the element\n @param prefix  the element namespace prefix if available\n @param URI  the element namespace name if available\n @param nb_namespaces  number of namespace definitions on that node\n @param namespaces  pointer to the array of prefix/URI pairs namespace definitions\n @param nb_attributes  the number of attributes on that node\n @param nb_defaulted  the number of defaulted attributes. The defaulted\n                  ones are at the end of the array\n @param attributes  pointer to the array of (localname/prefix/URI/value/end)\n               attribute values."] pub type startElementNsSAX2Func = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar , nb_namespaces : :: std :: os :: raw :: c_int , namespaces : * mut * const xmlChar , nb_attributes : :: std :: os :: raw :: c_int , nb_defaulted : :: std :: os :: raw :: c_int , attributes : * mut * const xmlChar) > ; # [doc = " SAX2 callback for end tags.\n\n It provides the namespace information for the element.\n\n @param ctx  the user data (XML parser context)\n @param localname  the local name of the element\n @param prefix  the element namespace prefix if available\n @param URI  the element namespace name if available"] pub type endElementNsSAX2Func = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar) > ; # [doc = " Callbacks for SAX parser\n\n For DTD-related handlers, it's recommended to either use the\n original libxml2 handler or set them to NULL if DTDs can be\n ignored."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXHandler { # [doc = " Called after the start of the document type declaration\n was parsed.\n\n Should typically not be modified."] pub internalSubset : internalSubsetSAXFunc , # [doc = " Standalone status. Not invoked by the parser. Not supposed\n to be changed by applications."] pub isStandalone : isStandaloneSAXFunc , # [doc = " Internal subset availability. Not invoked by the parser.\n Not supposed to be changed by applications."] pub hasInternalSubset : hasInternalSubsetSAXFunc , # [doc = " External subset availability. Not invoked by the parser.\n Not supposed to be changed by applications."] pub hasExternalSubset : hasExternalSubsetSAXFunc , # [doc = " Only called when loading external DTDs. Not called to load\n external entities.\n\n Should typically not be modified."] pub resolveEntity : resolveEntitySAXFunc , # [doc = " Called when looking up general entities.\n\n Should typically not be modified."] pub getEntity : getEntitySAXFunc , # [doc = " Called after an entity declaration was parsed.\n\n Should typically not be modified."] pub entityDecl : entityDeclSAXFunc , # [doc = " Called after a notation declaration was parsed.\n\n Should typically not be modified."] pub notationDecl : notationDeclSAXFunc , # [doc = " Called after an attribute declaration was parsed.\n\n Should typically not be modified."] pub attributeDecl : attributeDeclSAXFunc , # [doc = " Called after an element declaration was parsed.\n\n Should typically not be modified."] pub elementDecl : elementDeclSAXFunc , # [doc = " Called after an unparsed entity declaration was parsed.\n\n Should typically not be modified."] pub unparsedEntityDecl : unparsedEntityDeclSAXFunc , # [doc = " This callback receives the \"document locator\" at startup,\n which is always the global xmlDefaultSAXLocator.\n\n Everything is available on the context, so this is useless in\n our case."] pub setDocumentLocator : setDocumentLocatorSAXFunc , # [doc = " Called after the XML declaration was parsed.\n\n Use xmlCtxtGetVersion(), xmlCtxtGetDeclaredEncoding() and\n xmlCtxtGetStandalone() to get data from the XML declaration."] pub startDocument : startDocumentSAXFunc , # [doc = " Called at the end of the document."] pub endDocument : endDocumentSAXFunc , # [doc = " Legacy start tag handler\n\n `startElement` and `endElement` are only used by the legacy SAX1\n interface and should not be used in new software. If you really\n have to enable SAX1, the preferred way is set the `initialized`\n member to 1 instead of XML_SAX2_MAGIC.\n\n For backward compatibility, it's also possible to set the\n `startElementNs` and `endElementNs` handlers to NULL.\n\n You can also set the XML_PARSE_SAX1 parser option, but versions\n older than 2.12.0 will probably crash if this option is provided\n together with custom SAX callbacks."] pub startElement : startElementSAXFunc , # [doc = " See _xmlSAXHandler.startElement"] pub endElement : endElementSAXFunc , # [doc = " Called after an entity reference was parsed."] pub reference : referenceSAXFunc , # [doc = " Called after a character data was parsed."] pub characters : charactersSAXFunc , # [doc = " Called after \"ignorable\" whitespace was parsed.\n\n `ignorableWhitespace` should always be set to the same value\n as `characters`. Otherwise, the parser will try to detect\n whitespace which is unreliable."] pub ignorableWhitespace : ignorableWhitespaceSAXFunc , # [doc = " Called after a processing instruction was parsed."] pub processingInstruction : processingInstructionSAXFunc , # [doc = " Called after a comment was parsed."] pub comment : commentSAXFunc , # [doc = " Callback for warning messages."] pub warning : warningSAXFunc , # [doc = " Callback for error messages."] pub error : errorSAXFunc , # [doc = " Unused, all errors go to `error`."] pub fatalError : fatalErrorSAXFunc , # [doc = " Called when looking up parameter entities.\n\n Should typically not be modified."] pub getParameterEntity : getParameterEntitySAXFunc , # [doc = " Called after a CDATA section was parsed."] pub cdataBlock : cdataBlockSAXFunc , # [doc = " Called to parse the external subset.\n\n Should typically not be modified."] pub externalSubset : externalSubsetSAXFunc , # [doc = " Legacy magic value\n\n `initialized` should always be set to XML_SAX2_MAGIC to\n enable the modern SAX2 interface."] pub initialized : :: std :: os :: raw :: c_uint , # [doc = " Application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " Called after a start tag was parsed."] pub startElementNs : startElementNsSAX2Func , # [doc = " Called after an end tag was parsed."] pub endElementNs : endElementNsSAX2Func , # [doc = " Structured error handler.\n\n Takes precedence over `error` or `warning`, but modern code\n should use xmlCtxtSetErrorHandler()."] pub serror : xmlStructuredErrorFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXHandler"] [:: std :: mem :: size_of :: < _xmlSAXHandler > () - 256usize] ; ["Alignment of _xmlSAXHandler"] [:: std :: mem :: align_of :: < _xmlSAXHandler > () - 8usize] ; ["Offset of field: _xmlSAXHandler::internalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , internalSubset) - 0usize] ; ["Offset of field: _xmlSAXHandler::isStandalone"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , isStandalone) - 8usize] ; ["Offset of field: _xmlSAXHandler::hasInternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , hasInternalSubset) - 16usize] ; ["Offset of field: _xmlSAXHandler::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , hasExternalSubset) - 24usize] ; ["Offset of field: _xmlSAXHandler::resolveEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , resolveEntity) - 32usize] ; ["Offset of field: _xmlSAXHandler::getEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , getEntity) - 40usize] ; ["Offset of field: _xmlSAXHandler::entityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , entityDecl) - 48usize] ; ["Offset of field: _xmlSAXHandler::notationDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , notationDecl) - 56usize] ; ["Offset of field: _xmlSAXHandler::attributeDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , attributeDecl) - 64usize] ; ["Offset of field: _xmlSAXHandler::elementDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , elementDecl) - 72usize] ; ["Offset of field: _xmlSAXHandler::unparsedEntityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , unparsedEntityDecl) - 80usize] ; ["Offset of field: _xmlSAXHandler::setDocumentLocator"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , setDocumentLocator) - 88usize] ; ["Offset of field: _xmlSAXHandler::startDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startDocument) - 96usize] ; ["Offset of field: _xmlSAXHandler::endDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endDocument) - 104usize] ; ["Offset of field: _xmlSAXHandler::startElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startElement) - 112usize] ; ["Offset of field: _xmlSAXHandler::endElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endElement) - 120usize] ; ["Offset of field: _xmlSAXHandler::reference"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , reference) - 128usize] ; ["Offset of field: _xmlSAXHandler::characters"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , characters) - 136usize] ; ["Offset of field: _xmlSAXHandler::ignorableWhitespace"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , ignorableWhitespace) - 144usize] ; ["Offset of field: _xmlSAXHandler::processingInstruction"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , processingInstruction) - 152usize] ; ["Offset of field: _xmlSAXHandler::comment"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , comment) - 160usize] ; ["Offset of field: _xmlSAXHandler::warning"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , warning) - 168usize] ; ["Offset of field: _xmlSAXHandler::error"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , error) - 176usize] ; ["Offset of field: _xmlSAXHandler::fatalError"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , fatalError) - 184usize] ; ["Offset of field: _xmlSAXHandler::getParameterEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , getParameterEntity) - 192usize] ; ["Offset of field: _xmlSAXHandler::cdataBlock"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , cdataBlock) - 200usize] ; ["Offset of field: _xmlSAXHandler::externalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , externalSubset) - 208usize] ; ["Offset of field: _xmlSAXHandler::initialized"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , initialized) - 216usize] ; ["Offset of field: _xmlSAXHandler::_private"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , _private) - 224usize] ; ["Offset of field: _xmlSAXHandler::startElementNs"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startElementNs) - 232usize] ; ["Offset of field: _xmlSAXHandler::endElementNs"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endElementNs) - 240usize] ; ["Offset of field: _xmlSAXHandler::serror"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , serror) - 248usize] ; } ; # [doc = " SAX handler, version 1.\n\n @deprecated Use version 2 handlers."] pub type xmlSAXHandlerV1 = _xmlSAXHandlerV1 ; pub type xmlSAXHandlerV1Ptr = * mut xmlSAXHandlerV1 ; # [doc = " SAX handler, version 1.\n\n @deprecated Use version 2 handlers."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXHandlerV1 { pub internalSubset : internalSubsetSAXFunc , pub isStandalone : isStandaloneSAXFunc , pub hasInternalSubset : hasInternalSubsetSAXFunc , pub hasExternalSubset : hasExternalSubsetSAXFunc , pub resolveEntity : resolveEntitySAXFunc , pub getEntity : getEntitySAXFunc , pub entityDecl : entityDeclSAXFunc , pub notationDecl : notationDeclSAXFunc , pub attributeDecl : attributeDeclSAXFunc , pub elementDecl : elementDeclSAXFunc , pub unparsedEntityDecl : unparsedEntityDeclSAXFunc , pub setDocumentLocator : setDocumentLocatorSAXFunc , pub startDocument : startDocumentSAXFunc , pub endDocument : endDocumentSAXFunc , pub startElement : startElementSAXFunc , pub endElement : endElementSAXFunc , pub reference : referenceSAXFunc , pub characters : charactersSAXFunc , pub ignorableWhitespace : ignorableWhitespaceSAXFunc , pub processingInstruction : processingInstructionSAXFunc , pub comment : commentSAXFunc , pub warning : warningSAXFunc , pub error : errorSAXFunc , pub fatalError : fatalErrorSAXFunc , pub getParameterEntity : getParameterEntitySAXFunc , pub cdataBlock : cdataBlockSAXFunc , pub externalSubset : externalSubsetSAXFunc , pub initialized : :: std :: os :: raw :: c_uint , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXHandlerV1"] [:: std :: mem :: size_of :: < _xmlSAXHandlerV1 > () - 224usize] ; ["Alignment of _xmlSAXHandlerV1"] [:: std :: mem :: align_of :: < _xmlSAXHandlerV1 > () - 8usize] ; ["Offset of field: _xmlSAXHandlerV1::internalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , internalSubset) - 0usize] ; ["Offset of field: _xmlSAXHandlerV1::isStandalone"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , isStandalone) - 8usize] ; ["Offset of field: _xmlSAXHandlerV1::hasInternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , hasInternalSubset) - 16usize] ; ["Offset of field: _xmlSAXHandlerV1::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , hasExternalSubset) - 24usize] ; ["Offset of field: _xmlSAXHandlerV1::resolveEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , resolveEntity) - 32usize] ; ["Offset of field: _xmlSAXHandlerV1::getEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , getEntity) - 40usize] ; ["Offset of field: _xmlSAXHandlerV1::entityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , entityDecl) - 48usize] ; ["Offset of field: _xmlSAXHandlerV1::notationDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , notationDecl) - 56usize] ; ["Offset of field: _xmlSAXHandlerV1::attributeDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , attributeDecl) - 64usize] ; ["Offset of field: _xmlSAXHandlerV1::elementDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , elementDecl) - 72usize] ; ["Offset of field: _xmlSAXHandlerV1::unparsedEntityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , unparsedEntityDecl) - 80usize] ; ["Offset of field: _xmlSAXHandlerV1::setDocumentLocator"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , setDocumentLocator) - 88usize] ; ["Offset of field: _xmlSAXHandlerV1::startDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , startDocument) - 96usize] ; ["Offset of field: _xmlSAXHandlerV1::endDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , endDocument) - 104usize] ; ["Offset of field: _xmlSAXHandlerV1::startElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , startElement) - 112usize] ; ["Offset of field: _xmlSAXHandlerV1::endElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , endElement) - 120usize] ; ["Offset of field: _xmlSAXHandlerV1::reference"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , reference) - 128usize] ; ["Offset of field: _xmlSAXHandlerV1::characters"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , characters) - 136usize] ; ["Offset of field: _xmlSAXHandlerV1::ignorableWhitespace"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , ignorableWhitespace) - 144usize] ; ["Offset of field: _xmlSAXHandlerV1::processingInstruction"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , processingInstruction) - 152usize] ; ["Offset of field: _xmlSAXHandlerV1::comment"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , comment) - 160usize] ; ["Offset of field: _xmlSAXHandlerV1::warning"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , warning) - 168usize] ; ["Offset of field: _xmlSAXHandlerV1::error"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , error) - 176usize] ; ["Offset of field: _xmlSAXHandlerV1::fatalError"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , fatalError) - 184usize] ; ["Offset of field: _xmlSAXHandlerV1::getParameterEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , getParameterEntity) - 192usize] ; ["Offset of field: _xmlSAXHandlerV1::cdataBlock"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , cdataBlock) - 200usize] ; ["Offset of field: _xmlSAXHandlerV1::externalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , externalSubset) - 208usize] ; ["Offset of field: _xmlSAXHandlerV1::initialized"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , initialized) - 216usize] ; } ; # [doc = " Callback for external entity loader.\n\n The URL is not resolved using XML catalogs before being passed\n to the callback.\n\n @param URL  The URL or system ID of the resource requested\n @param publicId  The public ID of the resource requested (optional)\n @param context  the XML parser context\n @returns the entity input parser or NULL on error."] pub type xmlExternalEntityLoader = :: std :: option :: Option < unsafe extern "C" fn (URL : * const :: std :: os :: raw :: c_char , publicId : * const :: std :: os :: raw :: c_char , context : * mut xmlParserCtxt) -> * mut xmlParserInput > ; unsafe extern "C" { pub static xmlParserVersion : * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { # [doc = " @cond ignore"] pub static xmlDefaultSAXLocator : xmlSAXLocator ; } unsafe extern "C" { # [doc = " @deprecated Use #xmlSAXVersion or #xmlSAX2InitDefaultSAXHandler"] pub static xmlDefaultSAXHandler : xmlSAXHandlerV1 ; } unsafe extern "C" { pub fn __xmlDoValidityCheckingDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlGetWarningsDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlKeepBlanksDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlLineNumbersDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlLoadExtDtdDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlPedanticParserDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlSubstituteEntitiesDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlIndentTreeOutput () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlTreeIndentString () -> * mut * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn __xmlSaveNoEmptyTags () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlInitParser () ; } unsafe extern "C" { pub fn xmlCleanupParser () ; } unsafe extern "C" { pub fn xmlInitGlobals () ; } unsafe extern "C" { pub fn xmlCleanupGlobals () ; } unsafe extern "C" { pub fn xmlParserInputRead (in_ : * mut xmlParserInput , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputGrow (in_ : * mut xmlParserInput , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseDoc (cur : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseFile (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSubstituteEntitiesDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlKeepBlanksDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStopParser (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlPedanticParserDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlLineNumbersDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefSubstituteEntitiesDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefKeepBlanksDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefPedanticParserDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefLineNumbersDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefDoValidityCheckingDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefGetWarningsDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefLoadExtDtdDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRecoverDoc (cur : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlRecoverMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlRecoverFile (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseDocument (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseExtParsedEnt (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXUserParseFile (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXUserParseMemory (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXParseDoc (sax : * mut xmlSAXHandler , cur : * const xmlChar , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseMemory (sax : * mut xmlSAXHandler , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseMemoryWithData (sax : * mut xmlSAXHandler , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , recovery : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseFile (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseFileWithData (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char , recovery : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseEntity (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseEntity (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseDtd (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlCtxtValidateDocument (ctxt : * mut xmlParserCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtValidateDtd (ctxt : * mut xmlParserCtxt , doc : * mut xmlDoc , dtd : * mut xmlDtd) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXParseDTD (sax : * mut xmlSAXHandler , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlParseDTD (publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlIOParseDTD (sax : * mut xmlSAXHandler , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlParseBalancedChunkMemory (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , string : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseInNodeContext (node : * mut xmlNode , data : * const :: std :: os :: raw :: c_char , datalen : :: std :: os :: raw :: c_int , options : :: std :: os :: raw :: c_int , lst : * mut * mut xmlNode) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlParseBalancedChunkMemoryRecover (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , string : * const xmlChar , lst : * mut * mut xmlNode , recover : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseExternalEntity (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , URL : * const xmlChar , ID : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseCtxtExternalEntity (ctx : * mut xmlParserCtxt , URL : * const xmlChar , ID : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNewParserCtxt () -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlNewSAXParserCtxt (sax : * const xmlSAXHandler , userData : * mut :: std :: os :: raw :: c_void) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlInitParserCtxt (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlClearParserCtxt (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlFreeParserCtxt (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlSetupParserForBuffer (ctxt : * mut xmlParserCtxt , buffer : * const xmlChar , filename : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlCreateDocParserCtxt (cur : * const xmlChar) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlCreatePushParserCtxt (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , filename : * const :: std :: os :: raw :: c_char) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlParseChunk (ctxt : * mut xmlParserCtxt , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , terminate : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCreateIOParserCtxt (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , enc : xmlCharEncoding) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlNewIOInputStream (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlParserFindNodeInfo (ctxt : * mut xmlParserCtxt , node : * mut xmlNode) -> * const xmlParserNodeInfo ; } unsafe extern "C" { pub fn xmlInitNodeInfoSeq (seq : * mut xmlParserNodeInfoSeq) ; } unsafe extern "C" { pub fn xmlClearNodeInfoSeq (seq : * mut xmlParserNodeInfoSeq) ; } unsafe extern "C" { pub fn xmlParserFindNodeInfoIndex (seq : * mut xmlParserNodeInfoSeq , node : * mut xmlNode) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlParserAddNodeInfo (ctxt : * mut xmlParserCtxt , info : * mut xmlParserNodeInfo) ; } unsafe extern "C" { pub fn xmlSetExternalEntityLoader (f : xmlExternalEntityLoader) ; } unsafe extern "C" { pub fn xmlGetExternalEntityLoader () -> xmlExternalEntityLoader ; } unsafe extern "C" { pub fn xmlLoadExternalEntity (URL : * const :: std :: os :: raw :: c_char , ID : * const :: std :: os :: raw :: c_char , ctxt : * mut xmlParserCtxt) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlByteConsumed (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_long ; } # [doc = " Enable \"recovery\" mode which allows non-wellformed documents.\n How this mode behaves exactly is unspecified and may change\n without further notice. Use of this feature is DISCOURAGED.\n\n Not supported by the push parser."] pub const xmlParserOption_XML_PARSE_RECOVER : xmlParserOption = 1 ; # [doc = " Despite the confusing name, this option enables substitution\n of entities. The resulting tree won't contain any entity\n reference nodes.\n\n This option also enables loading of external entities (both\n general and parameter entities) which is dangerous. If you\n process untrusted data, it's recommended to set the\n XML_PARSE_NO_XXE option to disable loading of external\n entities."] pub const xmlParserOption_XML_PARSE_NOENT : xmlParserOption = 2 ; # [doc = " Enables loading of an external DTD and the loading and\n substitution of external parameter entities. Has no effect\n if XML_PARSE_NO_XXE is set."] pub const xmlParserOption_XML_PARSE_DTDLOAD : xmlParserOption = 4 ; # [doc = " Adds default attributes from the DTD to the result document.\n\n Implies XML_PARSE_DTDLOAD, but loading of external content\n can be disabled with XML_PARSE_NO_XXE."] pub const xmlParserOption_XML_PARSE_DTDATTR : xmlParserOption = 8 ; # [doc = " This option enables DTD validation which requires to load\n external DTDs and external entities (both general and\n parameter entities) unless XML_PARSE_NO_XXE was set.\n\n DTD validation is vulnerable to algorithmic complexity\n attacks and should never be enabled with untrusted input."] pub const xmlParserOption_XML_PARSE_DTDVALID : xmlParserOption = 16 ; # [doc = " Disable error and warning reports to the error handlers.\n Errors are still accessible with xmlCtxtGetLastError()."] pub const xmlParserOption_XML_PARSE_NOERROR : xmlParserOption = 32 ; # [doc = " Disable warning reports."] pub const xmlParserOption_XML_PARSE_NOWARNING : xmlParserOption = 64 ; # [doc = " Enable some pedantic warnings."] pub const xmlParserOption_XML_PARSE_PEDANTIC : xmlParserOption = 128 ; # [doc = " Remove some whitespace from the result document. Where to\n remove whitespace depends on DTD element declarations or a\n broken heuristic with unfixable bugs. Use of this option is\n DISCOURAGED.\n\n Not supported by the push parser."] pub const xmlParserOption_XML_PARSE_NOBLANKS : xmlParserOption = 256 ; # [doc = " Always invoke the deprecated SAX1 startElement and endElement\n handlers.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_SAX1 : xmlParserOption = 512 ; # [doc = " Enable XInclude processing. This option only affects the\n xmlTextReader and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_XINCLUDE : xmlParserOption = 1024 ; # [doc = " Disable network access with the built-in HTTP or FTP clients.\n\n After the last built-in network client was removed in 2.15,\n this option has no effect expect for being passed on to custom\n resource loaders."] pub const xmlParserOption_XML_PARSE_NONET : xmlParserOption = 2048 ; # [doc = " Create a document without interned strings, making all\n strings separate memory allocations."] pub const xmlParserOption_XML_PARSE_NODICT : xmlParserOption = 4096 ; # [doc = " Remove redundant namespace declarations from the result\n document."] pub const xmlParserOption_XML_PARSE_NSCLEAN : xmlParserOption = 8192 ; # [doc = " Output normal text nodes instead of CDATA nodes."] pub const xmlParserOption_XML_PARSE_NOCDATA : xmlParserOption = 16384 ; # [doc = " Don't generate XInclude start/end nodes when expanding\n inclusions. This option only affects the xmlTextReader\n and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_NOXINCNODE : xmlParserOption = 32768 ; # [doc = " Store small strings directly in the node struct to save\n memory."] pub const xmlParserOption_XML_PARSE_COMPACT : xmlParserOption = 65536 ; # [doc = " Use old Name productions from before XML 1.0 Fifth Edition.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_OLD10 : xmlParserOption = 131072 ; # [doc = " Don't fix up XInclude xml:base URIs. This option only affects\n the xmlTextReader and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_NOBASEFIX : xmlParserOption = 262144 ; # [doc = " Relax some internal limits.\n\n Maximum size of text nodes, tags, comments, processing instructions,\n CDATA sections, entity values\n\n normal: 10M\n huge:    1B\n\n Maximum size of names, system literals, pubid literals\n\n normal: 50K\n huge:   10M\n\n Maximum nesting depth of elements\n\n normal:  256\n huge:   2048\n\n Maximum nesting depth of entities\n\n normal: 20\n huge:   40"] pub const xmlParserOption_XML_PARSE_HUGE : xmlParserOption = 524288 ; # [doc = " Enable an unspecified legacy mode for SAX parsers.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_OLDSAX : xmlParserOption = 1048576 ; # [doc = " Ignore the encoding in the XML declaration. This option is\n mostly unneeded these days. The only effect is to enforce\n UTF-8 decoding of ASCII-like data."] pub const xmlParserOption_XML_PARSE_IGNORE_ENC : xmlParserOption = 2097152 ; # [doc = " Enable reporting of line numbers larger than 65535."] pub const xmlParserOption_XML_PARSE_BIG_LINES : xmlParserOption = 4194304 ; # [doc = " Disables loading of external DTDs or entities.\n\n @since 2.13.0"] pub const xmlParserOption_XML_PARSE_NO_XXE : xmlParserOption = 8388608 ; # [doc = " Enable input decompression. Setting this option is discouraged\n to avoid zip bombs.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_UNZIP : xmlParserOption = 16777216 ; # [doc = " Disables the global system XML catalog.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_NO_SYS_CATALOG : xmlParserOption = 33554432 ; # [doc = " Enable XML catalog processing instructions.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_CATALOG_PI : xmlParserOption = 67108864 ; # [doc = " Force the parser to ignore IDs.\n\n @since 2.15.0"] pub const xmlParserOption_XML_PARSE_SKIP_IDS : xmlParserOption = 134217728 ; # [doc = " This is the set of XML parser options that can be passed to\n #xmlReadDoc, #xmlCtxtSetOptions and other functions."] pub type xmlParserOption = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlCtxtReset (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlCtxtResetPush (ctxt : * mut xmlParserCtxt , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , filename : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetOptions (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtSetOptions (ctxt : * mut xmlParserCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtUseOptions (ctxt : * mut xmlParserCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetPrivate (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtSetPrivate (ctxt : * mut xmlParserCtxt , priv_ : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtGetCatalogs (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtSetCatalogs (ctxt : * mut xmlParserCtxt , catalogs : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtGetDict (ctxt : * mut xmlParserCtxt) -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlCtxtSetDict (ctxt : * mut xmlParserCtxt , arg1 : * mut xmlDict) ; } unsafe extern "C" { pub fn xmlCtxtGetSaxHandler (ctxt : * mut xmlParserCtxt) -> * mut xmlSAXHandler ; } unsafe extern "C" { pub fn xmlCtxtSetSaxHandler (ctxt : * mut xmlParserCtxt , sax : * const xmlSAXHandler) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetDocument (ctxt : * mut xmlParserCtxt) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtIsHtml (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtIsStopped (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtIsInSubset (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetValidCtxt (ctxt : * mut xmlParserCtxt) -> * mut xmlValidCtxt ; } unsafe extern "C" { pub fn xmlCtxtGetVersion (ctxt : * mut xmlParserCtxt) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCtxtGetDeclaredEncoding (ctxt : * mut xmlParserCtxt) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCtxtGetStandalone (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetStatus (ctxt : * mut xmlParserCtxt) -> xmlParserStatus ; } unsafe extern "C" { pub fn xmlCtxtGetUserData (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtGetNode (ctxt : * mut xmlParserCtxt) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCtxtGetDocTypeDecl (ctxt : * mut xmlParserCtxt , name : * mut * const xmlChar , systemId : * mut * const xmlChar , publicId : * mut * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetInputPosition (ctxt : * mut xmlParserCtxt , inputIndex : :: std :: os :: raw :: c_int , filname : * mut * const :: std :: os :: raw :: c_char , line : * mut :: std :: os :: raw :: c_int , col : * mut :: std :: os :: raw :: c_int , bytePos : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetInputWindow (ctxt : * mut xmlParserCtxt , inputIndex : :: std :: os :: raw :: c_int , startOut : * mut * const xmlChar , sizeInOut : * mut :: std :: os :: raw :: c_int , offsetOut : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtSetErrorHandler (ctxt : * mut xmlParserCtxt , handler : xmlStructuredErrorFunc , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetResourceLoader (ctxt : * mut xmlParserCtxt , loader : xmlResourceLoader , vctxt : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetCharEncConvImpl (ctxt : * mut xmlParserCtxt , impl_ : xmlCharEncConvImpl , vctxt : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetMaxAmplification (ctxt : * mut xmlParserCtxt , maxAmpl : :: std :: os :: raw :: c_uint) ; } unsafe extern "C" { pub fn xmlReadDoc (cur : * const xmlChar , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadFile (URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadFd (fd : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadIO (ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseDocument (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseContent (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput , node : * mut xmlNode , hasTextDecl : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCtxtReadDoc (ctxt : * mut xmlParserCtxt , cur : * const xmlChar , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadFile (ctxt : * mut xmlParserCtxt , filename : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadMemory (ctxt : * mut xmlParserCtxt , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadFd (ctxt : * mut xmlParserCtxt , fd : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadIO (ctxt : * mut xmlParserCtxt , ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlNewInputFromUrl (url : * const :: std :: os :: raw :: c_char , flags : xmlParserInputFlags , out : * mut * mut xmlParserInput) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlNewInputFromMemory (url : * const :: std :: os :: raw :: c_char , mem : * const :: std :: os :: raw :: c_void , size : usize , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromString (url : * const :: std :: os :: raw :: c_char , str_ : * const :: std :: os :: raw :: c_char , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromFd (url : * const :: std :: os :: raw :: c_char , fd : :: std :: os :: raw :: c_int , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromIO (url : * const :: std :: os :: raw :: c_char , ioRead : xmlInputReadCallback , ioClose : xmlInputCloseCallback , ioCtxt : * mut :: std :: os :: raw :: c_void , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlInputSetEncodingHandler (input : * mut xmlParserInput , handler : * mut xmlCharEncodingHandler) -> xmlParserErrors ; } # [doc = " Multithreading support"] pub const xmlFeature_XML_WITH_THREAD : xmlFeature = 1 ; # [doc = " @deprecated Always available"] pub const xmlFeature_XML_WITH_TREE : xmlFeature = 2 ; # [doc = " Serialization support"] pub const xmlFeature_XML_WITH_OUTPUT : xmlFeature = 3 ; # [doc = " Push parser"] pub const xmlFeature_XML_WITH_PUSH : xmlFeature = 4 ; # [doc = " XML Reader"] pub const xmlFeature_XML_WITH_READER : xmlFeature = 5 ; # [doc = " Streaming patterns"] pub const xmlFeature_XML_WITH_PATTERN : xmlFeature = 6 ; # [doc = " XML Writer"] pub const xmlFeature_XML_WITH_WRITER : xmlFeature = 7 ; # [doc = " Legacy SAX1 API"] pub const xmlFeature_XML_WITH_SAX1 : xmlFeature = 8 ; # [doc = " @deprecated FTP support was removed"] pub const xmlFeature_XML_WITH_FTP : xmlFeature = 9 ; # [doc = " @deprecated HTTP support was removed"] pub const xmlFeature_XML_WITH_HTTP : xmlFeature = 10 ; # [doc = " DTD validation"] pub const xmlFeature_XML_WITH_VALID : xmlFeature = 11 ; # [doc = " HTML parser"] pub const xmlFeature_XML_WITH_HTML : xmlFeature = 12 ; # [doc = " Legacy symbols"] pub const xmlFeature_XML_WITH_LEGACY : xmlFeature = 13 ; # [doc = " Canonical XML"] pub const xmlFeature_XML_WITH_C14N : xmlFeature = 14 ; # [doc = " XML Catalogs"] pub const xmlFeature_XML_WITH_CATALOG : xmlFeature = 15 ; # [doc = " XPath"] pub const xmlFeature_XML_WITH_XPATH : xmlFeature = 16 ; # [doc = " XPointer"] pub const xmlFeature_XML_WITH_XPTR : xmlFeature = 17 ; # [doc = " XInclude"] pub const xmlFeature_XML_WITH_XINCLUDE : xmlFeature = 18 ; # [doc = " iconv"] pub const xmlFeature_XML_WITH_ICONV : xmlFeature = 19 ; # [doc = " Built-in ISO-8859-X"] pub const xmlFeature_XML_WITH_ISO8859X : xmlFeature = 20 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_UNICODE : xmlFeature = 21 ; # [doc = " Regular expressions"] pub const xmlFeature_XML_WITH_REGEXP : xmlFeature = 22 ; # [doc = " @deprecated Same as XML_WITH_REGEXP"] pub const xmlFeature_XML_WITH_AUTOMATA : xmlFeature = 23 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_EXPR : xmlFeature = 24 ; # [doc = " XML Schemas"] pub const xmlFeature_XML_WITH_SCHEMAS : xmlFeature = 25 ; # [doc = " Schematron"] pub const xmlFeature_XML_WITH_SCHEMATRON : xmlFeature = 26 ; # [doc = " Loadable modules"] pub const xmlFeature_XML_WITH_MODULES : xmlFeature = 27 ; # [doc = " Debugging API"] pub const xmlFeature_XML_WITH_DEBUG : xmlFeature = 28 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_DEBUG_MEM : xmlFeature = 29 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_DEBUG_RUN : xmlFeature = 30 ; # [doc = " GZIP compression"] pub const xmlFeature_XML_WITH_ZLIB : xmlFeature = 31 ; # [doc = " ICU"] pub const xmlFeature_XML_WITH_ICU : xmlFeature = 32 ; # [doc = " @deprecated LZMA support was removed"] pub const xmlFeature_XML_WITH_LZMA : xmlFeature = 33 ; # [doc = " RELAXNG, since 2.14"] pub const xmlFeature_XML_WITH_RELAXNG : xmlFeature = 34 ; # [doc = " RELAXNG, since 2.14"] pub const xmlFeature_XML_WITH_NONE : xmlFeature = 99999 ; # [doc = " Used to examine the existence of features that can be enabled\n or disabled at compile-time.\n They used to be called XML_FEATURE_xxx but this clashed with Expat"] pub type xmlFeature = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlHasFeature (feature : xmlFeature) -> :: std :: os :: raw :: c_int ; } pub const xmlSchemaValidError_XML_SCHEMAS_ERR_OK : xmlSchemaValidError = 0 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOROOT : xmlSchemaValidError = 1 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_UNDECLAREDELEM : xmlSchemaValidError = 2 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTTOPLEVEL : xmlSchemaValidError = 3 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_MISSING : xmlSchemaValidError = 4 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_WRONGELEM : xmlSchemaValidError = 5 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTYPE : xmlSchemaValidError = 6 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOROLLBACK : xmlSchemaValidError = 7 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ISABSTRACT : xmlSchemaValidError = 8 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTEMPTY : xmlSchemaValidError = 9 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ELEMCONT : xmlSchemaValidError = 10 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_HAVEDEFAULT : xmlSchemaValidError = 11 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTNILLABLE : xmlSchemaValidError = 12 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_EXTRACONTENT : xmlSchemaValidError = 13 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INVALIDATTR : xmlSchemaValidError = 14 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INVALIDELEM : xmlSchemaValidError = 15 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTDETERMINIST : xmlSchemaValidError = 16 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_CONSTRUCT : xmlSchemaValidError = 17 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INTERNAL : xmlSchemaValidError = 18 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTSIMPLE : xmlSchemaValidError = 19 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ATTRUNKNOWN : xmlSchemaValidError = 20 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ATTRINVALID : xmlSchemaValidError = 21 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_VALUE : xmlSchemaValidError = 22 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_FACET : xmlSchemaValidError = 23 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ : xmlSchemaValidError = 24 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_XXX : xmlSchemaValidError = 25 ; # [doc = " This error codes are obsolete; not used any more."] pub type xmlSchemaValidError = :: std :: os :: raw :: c_uint ; pub const xmlSchemaValidOption_XML_SCHEMA_VAL_VC_I_CREATE : xmlSchemaValidOption = 1 ; # [doc = " This is the set of XML Schema validation options."] pub type xmlSchemaValidOption = :: std :: os :: raw :: c_uint ; # [doc = " XML schema"] pub type xmlSchema = _xmlSchema ; pub type xmlSchemaPtr = * mut xmlSchema ; # [doc = " Signature of an error callback from an XSD validation\n\n @param ctx  the validation context\n @param msg  the message\n @param ... extra arguments"] pub type xmlSchemaValidityErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Signature of a warning callback from an XSD validation\n\n @param ctx  the validation context\n @param msg  the message\n @param ... extra arguments"] pub type xmlSchemaValidityWarningFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaParserCtxt { _unused : [u8 ; 0] , } # [doc = " Schema parser context"] pub type xmlSchemaParserCtxt = _xmlSchemaParserCtxt ; pub type xmlSchemaParserCtxtPtr = * mut xmlSchemaParserCtxt ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaValidCtxt { _unused : [u8 ; 0] , } # [doc = " Schema validation context"] pub type xmlSchemaValidCtxt = _xmlSchemaValidCtxt ; pub type xmlSchemaValidCtxtPtr = * mut xmlSchemaValidCtxt ; # [doc = " A schemas validation locator, a callback called by the validator.\n This is used when file or node information are not available\n to find out what file and line number are affected\n\n @param ctx  user provided context\n @param file  returned file information\n @param line  returned line information\n @returns 0 in case of success and -1 in case of error"] pub type xmlSchemaValidityLocatorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , file : * mut * const :: std :: os :: raw :: c_char , line : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int > ; unsafe extern "C" { pub fn xmlSchemaNewParserCtxt (URL : * const :: std :: os :: raw :: c_char) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaNewMemParserCtxt (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaNewDocParserCtxt (doc : * mut xmlDoc) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaFreeParserCtxt (ctxt : * mut xmlSchemaParserCtxt) ; } unsafe extern "C" { pub fn xmlSchemaSetParserErrors (ctxt : * mut xmlSchemaParserCtxt , err : xmlSchemaValidityErrorFunc , warn : xmlSchemaValidityWarningFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaSetParserStructuredErrors (ctxt : * mut xmlSchemaParserCtxt , serror : xmlStructuredErrorFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaGetParserErrors (ctxt : * mut xmlSchemaParserCtxt , err : * mut xmlSchemaValidityErrorFunc , warn : * mut xmlSchemaValidityWarningFunc , ctx : * mut * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaSetResourceLoader (ctxt : * mut xmlSchemaParserCtxt , loader : xmlResourceLoader , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaIsValid (ctxt : * mut xmlSchemaValidCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaParse (ctxt : * mut xmlSchemaParserCtxt) -> * mut xmlSchema ; } unsafe extern "C" { pub fn xmlSchemaFree (schema : * mut xmlSchema) ; } unsafe extern "C" { pub fn xmlSchemaDump (output : * mut FILE , schema : * mut xmlSchema) ; } unsafe extern "C" { pub fn xmlSchemaSetValidErrors (ctxt : * mut xmlSchemaValidCtxt , err : xmlSchemaValidityErrorFunc , warn : xmlSchemaValidityWarningFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaSetValidStructuredErrors (ctxt : * mut xmlSchemaValidCtxt , serror : xmlStructuredErrorFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaGetValidErrors (ctxt : * mut xmlSchemaValidCtxt , err : * mut xmlSchemaValidityErrorFunc , warn : * mut xmlSchemaValidityWarningFunc , ctx : * mut * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaSetValidOptions (ctxt : * mut xmlSchemaValidCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateSetFilename (vctxt : * mut xmlSchemaValidCtxt , filename : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlSchemaValidCtxtGetOptions (ctxt : * mut xmlSchemaValidCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaNewValidCtxt (schema : * mut xmlSchema) -> * mut xmlSchemaValidCtxt ; } unsafe extern "C" { pub fn xmlSchemaFreeValidCtxt (ctxt : * mut xmlSchemaValidCtxt) ; } unsafe extern "C" { pub fn xmlSchemaValidateDoc (ctxt : * mut xmlSchemaValidCtxt , instance : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateOneElement (ctxt : * mut xmlSchemaValidCtxt , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateStream (ctxt : * mut xmlSchemaValidCtxt , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding , sax : * const xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFile (ctxt : * mut xmlSchemaValidCtxt , filename : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidCtxtGetParserCtxt (ctxt : * mut xmlSchemaValidCtxt) -> * mut xmlParserCtxt ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaSAXPlug { _unused : [u8 ; 0] , } # [doc = " Interface to insert Schemas SAX validation in a SAX stream"] pub type xmlSchemaSAXPlugStruct = _xmlSchemaSAXPlug ; pub type xmlSchemaSAXPlugPtr = * mut xmlSchemaSAXPlugStruct ; unsafe extern "C" { pub fn xmlSchemaSAXPlug (ctxt : * mut xmlSchemaValidCtxt , sax : * mut * mut xmlSAXHandler , user_data : * mut * mut :: std :: os :: raw :: c_void) -> * mut xmlSchemaSAXPlugStruct ; } unsafe extern "C" { pub fn xmlSchemaSAXUnplug (plug : * mut xmlSchemaSAXPlugStruct) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateSetLocator (vctxt : * mut xmlSchemaValidCtxt , f : xmlSchemaValidityLocatorFunc , ctxt : * mut :: std :: os :: raw :: c_void) ; } pub const xmlSchemaValType_XML_SCHEMAS_UNKNOWN : xmlSchemaValType = 0 ; pub const xmlSchemaValType_XML_SCHEMAS_STRING : xmlSchemaValType = 1 ; pub const xmlSchemaValType_XML_SCHEMAS_NORMSTRING : xmlSchemaValType = 2 ; pub const xmlSchemaValType_XML_SCHEMAS_DECIMAL : xmlSchemaValType = 3 ; pub const xmlSchemaValType_XML_SCHEMAS_TIME : xmlSchemaValType = 4 ; pub const xmlSchemaValType_XML_SCHEMAS_GDAY : xmlSchemaValType = 5 ; pub const xmlSchemaValType_XML_SCHEMAS_GMONTH : xmlSchemaValType = 6 ; pub const xmlSchemaValType_XML_SCHEMAS_GMONTHDAY : xmlSchemaValType = 7 ; pub const xmlSchemaValType_XML_SCHEMAS_GYEAR : xmlSchemaValType = 8 ; pub const xmlSchemaValType_XML_SCHEMAS_GYEARMONTH : xmlSchemaValType = 9 ; pub const xmlSchemaValType_XML_SCHEMAS_DATE : xmlSchemaValType = 10 ; pub const xmlSchemaValType_XML_SCHEMAS_DATETIME : xmlSchemaValType = 11 ; pub const xmlSchemaValType_XML_SCHEMAS_DURATION : xmlSchemaValType = 12 ; pub const xmlSchemaValType_XML_SCHEMAS_FLOAT : xmlSchemaValType = 13 ; pub const xmlSchemaValType_XML_SCHEMAS_DOUBLE : xmlSchemaValType = 14 ; pub const xmlSchemaValType_XML_SCHEMAS_BOOLEAN : xmlSchemaValType = 15 ; pub const xmlSchemaValType_XML_SCHEMAS_TOKEN : xmlSchemaValType = 16 ; pub const xmlSchemaValType_XML_SCHEMAS_LANGUAGE : xmlSchemaValType = 17 ; pub const xmlSchemaValType_XML_SCHEMAS_NMTOKEN : xmlSchemaValType = 18 ; pub const xmlSchemaValType_XML_SCHEMAS_NMTOKENS : xmlSchemaValType = 19 ; pub const xmlSchemaValType_XML_SCHEMAS_NAME : xmlSchemaValType = 20 ; pub const xmlSchemaValType_XML_SCHEMAS_QNAME : xmlSchemaValType = 21 ; pub const xmlSchemaValType_XML_SCHEMAS_NCNAME : xmlSchemaValType = 22 ; pub const xmlSchemaValType_XML_SCHEMAS_ID : xmlSchemaValType = 23 ; pub const xmlSchemaValType_XML_SCHEMAS_IDREF : xmlSchemaValType = 24 ; pub const xmlSchemaValType_XML_SCHEMAS_IDREFS : xmlSchemaValType = 25 ; pub const xmlSchemaValType_XML_SCHEMAS_ENTITY : xmlSchemaValType = 26 ; pub const xmlSchemaValType_XML_SCHEMAS_ENTITIES : xmlSchemaValType = 27 ; pub const xmlSchemaValType_XML_SCHEMAS_NOTATION : xmlSchemaValType = 28 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYURI : xmlSchemaValType = 29 ; pub const xmlSchemaValType_XML_SCHEMAS_INTEGER : xmlSchemaValType = 30 ; pub const xmlSchemaValType_XML_SCHEMAS_NPINTEGER : xmlSchemaValType = 31 ; pub const xmlSchemaValType_XML_SCHEMAS_NINTEGER : xmlSchemaValType = 32 ; pub const xmlSchemaValType_XML_SCHEMAS_NNINTEGER : xmlSchemaValType = 33 ; pub const xmlSchemaValType_XML_SCHEMAS_PINTEGER : xmlSchemaValType = 34 ; pub const xmlSchemaValType_XML_SCHEMAS_INT : xmlSchemaValType = 35 ; pub const xmlSchemaValType_XML_SCHEMAS_UINT : xmlSchemaValType = 36 ; pub const xmlSchemaValType_XML_SCHEMAS_LONG : xmlSchemaValType = 37 ; pub const xmlSchemaValType_XML_SCHEMAS_ULONG : xmlSchemaValType = 38 ; pub const xmlSchemaValType_XML_SCHEMAS_SHORT : xmlSchemaValType = 39 ; pub const xmlSchemaValType_XML_SCHEMAS_USHORT : xmlSchemaValType = 40 ; pub const xmlSchemaValType_XML_SCHEMAS_BYTE : xmlSchemaValType = 41 ; pub const xmlSchemaValType_XML_SCHEMAS_UBYTE : xmlSchemaValType = 42 ; pub const xmlSchemaValType_XML_SCHEMAS_HEXBINARY : xmlSchemaValType = 43 ; pub const xmlSchemaValType_XML_SCHEMAS_BASE64BINARY : xmlSchemaValType = 44 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYTYPE : xmlSchemaValType = 45 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYSIMPLETYPE : xmlSchemaValType = 46 ; # [doc = " Schema value type"] pub type xmlSchemaValType = :: std :: os :: raw :: c_uint ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_BASIC : xmlSchemaTypeType = 1 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ANY : xmlSchemaTypeType = 2 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_FACET : xmlSchemaTypeType = 3 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SIMPLE : xmlSchemaTypeType = 4 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_COMPLEX : xmlSchemaTypeType = 5 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SEQUENCE : xmlSchemaTypeType = 6 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_CHOICE : xmlSchemaTypeType = 7 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ALL : xmlSchemaTypeType = 8 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SIMPLE_CONTENT : xmlSchemaTypeType = 9 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_COMPLEX_CONTENT : xmlSchemaTypeType = 10 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_UR : xmlSchemaTypeType = 11 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_RESTRICTION : xmlSchemaTypeType = 12 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_EXTENSION : xmlSchemaTypeType = 13 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ELEMENT : xmlSchemaTypeType = 14 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTE : xmlSchemaTypeType = 15 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTEGROUP : xmlSchemaTypeType = 16 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_GROUP : xmlSchemaTypeType = 17 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_NOTATION : xmlSchemaTypeType = 18 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_LIST : xmlSchemaTypeType = 19 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_UNION : xmlSchemaTypeType = 20 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ANY_ATTRIBUTE : xmlSchemaTypeType = 21 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_UNIQUE : xmlSchemaTypeType = 22 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_KEY : xmlSchemaTypeType = 23 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_KEYREF : xmlSchemaTypeType = 24 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_PARTICLE : xmlSchemaTypeType = 25 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTE_USE : xmlSchemaTypeType = 26 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MININCLUSIVE : xmlSchemaTypeType = 1000 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MINEXCLUSIVE : xmlSchemaTypeType = 1001 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXINCLUSIVE : xmlSchemaTypeType = 1002 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXEXCLUSIVE : xmlSchemaTypeType = 1003 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_TOTALDIGITS : xmlSchemaTypeType = 1004 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_FRACTIONDIGITS : xmlSchemaTypeType = 1005 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_PATTERN : xmlSchemaTypeType = 1006 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_ENUMERATION : xmlSchemaTypeType = 1007 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_WHITESPACE : xmlSchemaTypeType = 1008 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_LENGTH : xmlSchemaTypeType = 1009 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXLENGTH : xmlSchemaTypeType = 1010 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MINLENGTH : xmlSchemaTypeType = 1011 ; pub const xmlSchemaTypeType_XML_SCHEMA_EXTRA_QNAMEREF : xmlSchemaTypeType = 2000 ; pub const xmlSchemaTypeType_XML_SCHEMA_EXTRA_ATTR_USE_PROHIB : xmlSchemaTypeType = 2001 ; # [doc = " XML Schemas defines multiple type of types."] pub type xmlSchemaTypeType = :: std :: os :: raw :: c_uint ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_UNKNOWN : xmlSchemaContentType = 0 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_EMPTY : xmlSchemaContentType = 1 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_ELEMENTS : xmlSchemaContentType = 2 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_MIXED : xmlSchemaContentType = 3 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_SIMPLE : xmlSchemaContentType = 4 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_MIXED_OR_ELEMENTS : xmlSchemaContentType = 5 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_BASIC : xmlSchemaContentType = 6 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_ANY : xmlSchemaContentType = 7 ; # [doc = " Schema content type"] pub type xmlSchemaContentType = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaVal { _unused : [u8 ; 0] , } # [doc = " Schema value"] pub type xmlSchemaVal = _xmlSchemaVal ; pub type xmlSchemaValPtr = * mut xmlSchemaVal ; # [doc = " Schema type"] pub type xmlSchemaType = _xmlSchemaType ; pub type xmlSchemaTypePtr = * mut xmlSchemaType ; # [doc = " Schema facet"] pub type xmlSchemaFacet = _xmlSchemaFacet ; pub type xmlSchemaFacetPtr = * mut xmlSchemaFacet ; # [doc = " Schema annotation"] pub type xmlSchemaAnnot = _xmlSchemaAnnot ; pub type xmlSchemaAnnotPtr = * mut xmlSchemaAnnot ; # [doc = " Annotation"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAnnot { pub next : * mut _xmlSchemaAnnot , pub content : * mut xmlNode , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAnnot"] [:: std :: mem :: size_of :: < _xmlSchemaAnnot > () - 16usize] ; ["Alignment of _xmlSchemaAnnot"] [:: std :: mem :: align_of :: < _xmlSchemaAnnot > () - 8usize] ; ["Offset of field: _xmlSchemaAnnot::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAnnot , next) - 0usize] ; ["Offset of field: _xmlSchemaAnnot::content"] [:: std :: mem :: offset_of ! (_xmlSchemaAnnot , content) - 8usize] ; } ; # [doc = " Schema attribute definition"] pub type xmlSchemaAttribute = _xmlSchemaAttribute ; pub type xmlSchemaAttributePtr = * mut xmlSchemaAttribute ; # [doc = " An attribute definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttribute { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaAttribute , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub typeName : * const xmlChar , pub typeNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub base : * mut xmlSchemaType , pub occurs : :: std :: os :: raw :: c_int , pub defValue : * const xmlChar , pub subtypes : * mut xmlSchemaType , pub node : * mut xmlNode , pub targetNamespace : * const xmlChar , pub flags : :: std :: os :: raw :: c_int , pub refPrefix : * const xmlChar , pub defVal : * mut xmlSchemaVal , pub refDecl : * mut xmlSchemaAttribute , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttribute"] [:: std :: mem :: size_of :: < _xmlSchemaAttribute > () - 152usize] ; ["Alignment of _xmlSchemaAttribute"] [:: std :: mem :: align_of :: < _xmlSchemaAttribute > () - 8usize] ; ["Offset of field: _xmlSchemaAttribute::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , type_) - 0usize] ; ["Offset of field: _xmlSchemaAttribute::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , next) - 8usize] ; ["Offset of field: _xmlSchemaAttribute::name"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , name) - 16usize] ; ["Offset of field: _xmlSchemaAttribute::id"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , id) - 24usize] ; ["Offset of field: _xmlSchemaAttribute::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , ref_) - 32usize] ; ["Offset of field: _xmlSchemaAttribute::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refNs) - 40usize] ; ["Offset of field: _xmlSchemaAttribute::typeName"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , typeName) - 48usize] ; ["Offset of field: _xmlSchemaAttribute::typeNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , typeNs) - 56usize] ; ["Offset of field: _xmlSchemaAttribute::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , annot) - 64usize] ; ["Offset of field: _xmlSchemaAttribute::base"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , base) - 72usize] ; ["Offset of field: _xmlSchemaAttribute::occurs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , occurs) - 80usize] ; ["Offset of field: _xmlSchemaAttribute::defValue"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , defValue) - 88usize] ; ["Offset of field: _xmlSchemaAttribute::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , subtypes) - 96usize] ; ["Offset of field: _xmlSchemaAttribute::node"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , node) - 104usize] ; ["Offset of field: _xmlSchemaAttribute::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , targetNamespace) - 112usize] ; ["Offset of field: _xmlSchemaAttribute::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , flags) - 120usize] ; ["Offset of field: _xmlSchemaAttribute::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refPrefix) - 128usize] ; ["Offset of field: _xmlSchemaAttribute::defVal"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , defVal) - 136usize] ; ["Offset of field: _xmlSchemaAttribute::refDecl"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refDecl) - 144usize] ; } ; # [doc = " Linked list of schema attributes"] pub type xmlSchemaAttributeLink = _xmlSchemaAttributeLink ; pub type xmlSchemaAttributeLinkPtr = * mut xmlSchemaAttributeLink ; # [doc = " Used to build a list of attribute uses on complexType definitions.\n WARNING: Deprecated; not used."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttributeLink { pub next : * mut _xmlSchemaAttributeLink , pub attr : * mut _xmlSchemaAttribute , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttributeLink"] [:: std :: mem :: size_of :: < _xmlSchemaAttributeLink > () - 16usize] ; ["Alignment of _xmlSchemaAttributeLink"] [:: std :: mem :: align_of :: < _xmlSchemaAttributeLink > () - 8usize] ; ["Offset of field: _xmlSchemaAttributeLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeLink , next) - 0usize] ; ["Offset of field: _xmlSchemaAttributeLink::attr"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeLink , attr) - 8usize] ; } ; # [doc = " Namespace wildcard"] pub type xmlSchemaWildcardNs = _xmlSchemaWildcardNs ; pub type xmlSchemaWildcardNsPtr = * mut xmlSchemaWildcardNs ; # [doc = " Used to build a list of namespaces on wildcards."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaWildcardNs { pub next : * mut _xmlSchemaWildcardNs , pub value : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaWildcardNs"] [:: std :: mem :: size_of :: < _xmlSchemaWildcardNs > () - 16usize] ; ["Alignment of _xmlSchemaWildcardNs"] [:: std :: mem :: align_of :: < _xmlSchemaWildcardNs > () - 8usize] ; ["Offset of field: _xmlSchemaWildcardNs::next"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcardNs , next) - 0usize] ; ["Offset of field: _xmlSchemaWildcardNs::value"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcardNs , value) - 8usize] ; } ; # [doc = " Name wildcard"] pub type xmlSchemaWildcard = _xmlSchemaWildcard ; pub type xmlSchemaWildcardPtr = * mut xmlSchemaWildcard ; # [doc = " A wildcard."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaWildcard { pub type_ : xmlSchemaTypeType , pub id : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub processContents : :: std :: os :: raw :: c_int , pub any : :: std :: os :: raw :: c_int , pub nsSet : * mut xmlSchemaWildcardNs , pub negNsSet : * mut xmlSchemaWildcardNs , pub flags : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaWildcard"] [:: std :: mem :: size_of :: < _xmlSchemaWildcard > () - 72usize] ; ["Alignment of _xmlSchemaWildcard"] [:: std :: mem :: align_of :: < _xmlSchemaWildcard > () - 8usize] ; ["Offset of field: _xmlSchemaWildcard::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , type_) - 0usize] ; ["Offset of field: _xmlSchemaWildcard::id"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , id) - 8usize] ; ["Offset of field: _xmlSchemaWildcard::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , annot) - 16usize] ; ["Offset of field: _xmlSchemaWildcard::node"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , node) - 24usize] ; ["Offset of field: _xmlSchemaWildcard::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , minOccurs) - 32usize] ; ["Offset of field: _xmlSchemaWildcard::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , maxOccurs) - 36usize] ; ["Offset of field: _xmlSchemaWildcard::processContents"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , processContents) - 40usize] ; ["Offset of field: _xmlSchemaWildcard::any"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , any) - 44usize] ; ["Offset of field: _xmlSchemaWildcard::nsSet"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , nsSet) - 48usize] ; ["Offset of field: _xmlSchemaWildcard::negNsSet"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , negNsSet) - 56usize] ; ["Offset of field: _xmlSchemaWildcard::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , flags) - 64usize] ; } ; # [doc = " Attribute group"] pub type xmlSchemaAttributeGroup = _xmlSchemaAttributeGroup ; pub type xmlSchemaAttributeGroupPtr = * mut xmlSchemaAttributeGroup ; # [doc = " An attribute group definition.\n\n xmlSchemaAttribute and xmlSchemaAttributeGroup start of structures\n must be kept similar"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttributeGroup { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaAttribute , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub flags : :: std :: os :: raw :: c_int , pub attributeWildcard : * mut xmlSchemaWildcard , pub refPrefix : * const xmlChar , pub refItem : * mut xmlSchemaAttributeGroup , pub targetNamespace : * const xmlChar , pub attrUses : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttributeGroup"] [:: std :: mem :: size_of :: < _xmlSchemaAttributeGroup > () - 120usize] ; ["Alignment of _xmlSchemaAttributeGroup"] [:: std :: mem :: align_of :: < _xmlSchemaAttributeGroup > () - 8usize] ; ["Offset of field: _xmlSchemaAttributeGroup::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , type_) - 0usize] ; ["Offset of field: _xmlSchemaAttributeGroup::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , next) - 8usize] ; ["Offset of field: _xmlSchemaAttributeGroup::name"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , name) - 16usize] ; ["Offset of field: _xmlSchemaAttributeGroup::id"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , id) - 24usize] ; ["Offset of field: _xmlSchemaAttributeGroup::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , ref_) - 32usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refNs) - 40usize] ; ["Offset of field: _xmlSchemaAttributeGroup::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , annot) - 48usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attributes) - 56usize] ; ["Offset of field: _xmlSchemaAttributeGroup::node"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , node) - 64usize] ; ["Offset of field: _xmlSchemaAttributeGroup::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , flags) - 72usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attributeWildcard"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attributeWildcard) - 80usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refPrefix) - 88usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refItem"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refItem) - 96usize] ; ["Offset of field: _xmlSchemaAttributeGroup::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , targetNamespace) - 104usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attrUses"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attrUses) - 112usize] ; } ; # [doc = " Linked list of schema types"] pub type xmlSchemaTypeLink = _xmlSchemaTypeLink ; pub type xmlSchemaTypeLinkPtr = * mut xmlSchemaTypeLink ; # [doc = " Used to build a list of types (e.g. member types of\n simpleType with variety \"union\")."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaTypeLink { pub next : * mut _xmlSchemaTypeLink , pub type_ : * mut xmlSchemaType , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaTypeLink"] [:: std :: mem :: size_of :: < _xmlSchemaTypeLink > () - 16usize] ; ["Alignment of _xmlSchemaTypeLink"] [:: std :: mem :: align_of :: < _xmlSchemaTypeLink > () - 8usize] ; ["Offset of field: _xmlSchemaTypeLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaTypeLink , next) - 0usize] ; ["Offset of field: _xmlSchemaTypeLink::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaTypeLink , type_) - 8usize] ; } ; # [doc = " Linked list of schema facets"] pub type xmlSchemaFacetLink = _xmlSchemaFacetLink ; pub type xmlSchemaFacetLinkPtr = * mut xmlSchemaFacetLink ; # [doc = " Used to build a list of facets."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaFacetLink { pub next : * mut _xmlSchemaFacetLink , pub facet : * mut xmlSchemaFacet , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaFacetLink"] [:: std :: mem :: size_of :: < _xmlSchemaFacetLink > () - 16usize] ; ["Alignment of _xmlSchemaFacetLink"] [:: std :: mem :: align_of :: < _xmlSchemaFacetLink > () - 8usize] ; ["Offset of field: _xmlSchemaFacetLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaFacetLink , next) - 0usize] ; ["Offset of field: _xmlSchemaFacetLink::facet"] [:: std :: mem :: offset_of ! (_xmlSchemaFacetLink , facet) - 8usize] ; } ; # [doc = " Schemas type definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaType { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaType , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub subtypes : * mut xmlSchemaType , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub flags : :: std :: os :: raw :: c_int , pub contentType : xmlSchemaContentType , pub base : * const xmlChar , pub baseNs : * const xmlChar , pub baseType : * mut xmlSchemaType , pub facets : * mut xmlSchemaFacet , pub redef : * mut _xmlSchemaType , pub recurse : :: std :: os :: raw :: c_int , pub attributeUses : * mut * mut xmlSchemaAttributeLink , pub attributeWildcard : * mut xmlSchemaWildcard , pub builtInType : :: std :: os :: raw :: c_int , pub memberTypes : * mut xmlSchemaTypeLink , pub facetSet : * mut xmlSchemaFacetLink , pub refPrefix : * const xmlChar , pub contentTypeDef : * mut xmlSchemaType , pub contModel : * mut xmlRegexp , pub targetNamespace : * const xmlChar , pub attrUses : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaType"] [:: std :: mem :: size_of :: < _xmlSchemaType > () - 224usize] ; ["Alignment of _xmlSchemaType"] [:: std :: mem :: align_of :: < _xmlSchemaType > () - 8usize] ; ["Offset of field: _xmlSchemaType::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaType , type_) - 0usize] ; ["Offset of field: _xmlSchemaType::next"] [:: std :: mem :: offset_of ! (_xmlSchemaType , next) - 8usize] ; ["Offset of field: _xmlSchemaType::name"] [:: std :: mem :: offset_of ! (_xmlSchemaType , name) - 16usize] ; ["Offset of field: _xmlSchemaType::id"] [:: std :: mem :: offset_of ! (_xmlSchemaType , id) - 24usize] ; ["Offset of field: _xmlSchemaType::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaType , ref_) - 32usize] ; ["Offset of field: _xmlSchemaType::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , refNs) - 40usize] ; ["Offset of field: _xmlSchemaType::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaType , annot) - 48usize] ; ["Offset of field: _xmlSchemaType::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , subtypes) - 56usize] ; ["Offset of field: _xmlSchemaType::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributes) - 64usize] ; ["Offset of field: _xmlSchemaType::node"] [:: std :: mem :: offset_of ! (_xmlSchemaType , node) - 72usize] ; ["Offset of field: _xmlSchemaType::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , minOccurs) - 80usize] ; ["Offset of field: _xmlSchemaType::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , maxOccurs) - 84usize] ; ["Offset of field: _xmlSchemaType::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaType , flags) - 88usize] ; ["Offset of field: _xmlSchemaType::contentType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contentType) - 92usize] ; ["Offset of field: _xmlSchemaType::base"] [:: std :: mem :: offset_of ! (_xmlSchemaType , base) - 96usize] ; ["Offset of field: _xmlSchemaType::baseNs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , baseNs) - 104usize] ; ["Offset of field: _xmlSchemaType::baseType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , baseType) - 112usize] ; ["Offset of field: _xmlSchemaType::facets"] [:: std :: mem :: offset_of ! (_xmlSchemaType , facets) - 120usize] ; ["Offset of field: _xmlSchemaType::redef"] [:: std :: mem :: offset_of ! (_xmlSchemaType , redef) - 128usize] ; ["Offset of field: _xmlSchemaType::recurse"] [:: std :: mem :: offset_of ! (_xmlSchemaType , recurse) - 136usize] ; ["Offset of field: _xmlSchemaType::attributeUses"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributeUses) - 144usize] ; ["Offset of field: _xmlSchemaType::attributeWildcard"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributeWildcard) - 152usize] ; ["Offset of field: _xmlSchemaType::builtInType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , builtInType) - 160usize] ; ["Offset of field: _xmlSchemaType::memberTypes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , memberTypes) - 168usize] ; ["Offset of field: _xmlSchemaType::facetSet"] [:: std :: mem :: offset_of ! (_xmlSchemaType , facetSet) - 176usize] ; ["Offset of field: _xmlSchemaType::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaType , refPrefix) - 184usize] ; ["Offset of field: _xmlSchemaType::contentTypeDef"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contentTypeDef) - 192usize] ; ["Offset of field: _xmlSchemaType::contModel"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contModel) - 200usize] ; ["Offset of field: _xmlSchemaType::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaType , targetNamespace) - 208usize] ; ["Offset of field: _xmlSchemaType::attrUses"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attrUses) - 216usize] ; } ; # [doc = " Schema element definition"] pub type xmlSchemaElement = _xmlSchemaElement ; pub type xmlSchemaElementPtr = * mut xmlSchemaElement ; # [doc = " An element definition.\n\n xmlSchemaType, xmlSchemaFacet and xmlSchemaElement start of\n structures must be kept similar"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaElement { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaType , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub subtypes : * mut xmlSchemaType , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub flags : :: std :: os :: raw :: c_int , pub targetNamespace : * const xmlChar , pub namedType : * const xmlChar , pub namedTypeNs : * const xmlChar , pub substGroup : * const xmlChar , pub substGroupNs : * const xmlChar , pub scope : * const xmlChar , pub value : * const xmlChar , pub refDecl : * mut _xmlSchemaElement , pub contModel : * mut xmlRegexp , pub contentType : xmlSchemaContentType , pub refPrefix : * const xmlChar , pub defVal : * mut xmlSchemaVal , pub idcs : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaElement"] [:: std :: mem :: size_of :: < _xmlSchemaElement > () - 200usize] ; ["Alignment of _xmlSchemaElement"] [:: std :: mem :: align_of :: < _xmlSchemaElement > () - 8usize] ; ["Offset of field: _xmlSchemaElement::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , type_) - 0usize] ; ["Offset of field: _xmlSchemaElement::next"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , next) - 8usize] ; ["Offset of field: _xmlSchemaElement::name"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , name) - 16usize] ; ["Offset of field: _xmlSchemaElement::id"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , id) - 24usize] ; ["Offset of field: _xmlSchemaElement::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , ref_) - 32usize] ; ["Offset of field: _xmlSchemaElement::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refNs) - 40usize] ; ["Offset of field: _xmlSchemaElement::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , annot) - 48usize] ; ["Offset of field: _xmlSchemaElement::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , subtypes) - 56usize] ; ["Offset of field: _xmlSchemaElement::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , attributes) - 64usize] ; ["Offset of field: _xmlSchemaElement::node"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , node) - 72usize] ; ["Offset of field: _xmlSchemaElement::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , minOccurs) - 80usize] ; ["Offset of field: _xmlSchemaElement::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , maxOccurs) - 84usize] ; ["Offset of field: _xmlSchemaElement::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , flags) - 88usize] ; ["Offset of field: _xmlSchemaElement::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , targetNamespace) - 96usize] ; ["Offset of field: _xmlSchemaElement::namedType"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , namedType) - 104usize] ; ["Offset of field: _xmlSchemaElement::namedTypeNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , namedTypeNs) - 112usize] ; ["Offset of field: _xmlSchemaElement::substGroup"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , substGroup) - 120usize] ; ["Offset of field: _xmlSchemaElement::substGroupNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , substGroupNs) - 128usize] ; ["Offset of field: _xmlSchemaElement::scope"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , scope) - 136usize] ; ["Offset of field: _xmlSchemaElement::value"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , value) - 144usize] ; ["Offset of field: _xmlSchemaElement::refDecl"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refDecl) - 152usize] ; ["Offset of field: _xmlSchemaElement::contModel"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , contModel) - 160usize] ; ["Offset of field: _xmlSchemaElement::contentType"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , contentType) - 168usize] ; ["Offset of field: _xmlSchemaElement::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refPrefix) - 176usize] ; ["Offset of field: _xmlSchemaElement::defVal"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , defVal) - 184usize] ; ["Offset of field: _xmlSchemaElement::idcs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , idcs) - 192usize] ; } ; # [doc = " A facet definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaFacet { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaFacet , pub value : * const xmlChar , pub id : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub node : * mut xmlNode , pub fixed : :: std :: os :: raw :: c_int , pub whitespace : :: std :: os :: raw :: c_int , pub val : * mut xmlSchemaVal , pub regexp : * mut xmlRegexp , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaFacet"] [:: std :: mem :: size_of :: < _xmlSchemaFacet > () - 72usize] ; ["Alignment of _xmlSchemaFacet"] [:: std :: mem :: align_of :: < _xmlSchemaFacet > () - 8usize] ; ["Offset of field: _xmlSchemaFacet::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , type_) - 0usize] ; ["Offset of field: _xmlSchemaFacet::next"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , next) - 8usize] ; ["Offset of field: _xmlSchemaFacet::value"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , value) - 16usize] ; ["Offset of field: _xmlSchemaFacet::id"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , id) - 24usize] ; ["Offset of field: _xmlSchemaFacet::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , annot) - 32usize] ; ["Offset of field: _xmlSchemaFacet::node"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , node) - 40usize] ; ["Offset of field: _xmlSchemaFacet::fixed"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , fixed) - 48usize] ; ["Offset of field: _xmlSchemaFacet::whitespace"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , whitespace) - 52usize] ; ["Offset of field: _xmlSchemaFacet::val"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , val) - 56usize] ; ["Offset of field: _xmlSchemaFacet::regexp"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , regexp) - 64usize] ; } ; # [doc = " Schema notation"] pub type xmlSchemaNotation = _xmlSchemaNotation ; pub type xmlSchemaNotationPtr = * mut xmlSchemaNotation ; # [doc = " A notation definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaNotation { pub type_ : xmlSchemaTypeType , pub name : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub identifier : * const xmlChar , pub targetNamespace : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaNotation"] [:: std :: mem :: size_of :: < _xmlSchemaNotation > () - 40usize] ; ["Alignment of _xmlSchemaNotation"] [:: std :: mem :: align_of :: < _xmlSchemaNotation > () - 8usize] ; ["Offset of field: _xmlSchemaNotation::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , type_) - 0usize] ; ["Offset of field: _xmlSchemaNotation::name"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , name) - 8usize] ; ["Offset of field: _xmlSchemaNotation::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , annot) - 16usize] ; ["Offset of field: _xmlSchemaNotation::identifier"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , identifier) - 24usize] ; ["Offset of field: _xmlSchemaNotation::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , targetNamespace) - 32usize] ; } ; # [doc = " A Schemas definition"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchema { pub name : * const xmlChar , pub targetNamespace : * const xmlChar , pub version : * const xmlChar , pub id : * const xmlChar , pub doc : * mut xmlDoc , pub annot : * mut xmlSchemaAnnot , pub flags : :: std :: os :: raw :: c_int , pub typeDecl : * mut xmlHashTable , pub attrDecl : * mut xmlHashTable , pub attrgrpDecl : * mut xmlHashTable , pub elemDecl : * mut xmlHashTable , pub notaDecl : * mut xmlHashTable , pub schemasImports : * mut xmlHashTable , pub _private : * mut :: std :: os :: raw :: c_void , pub groupDecl : * mut xmlHashTable , pub dict : * mut xmlDict , pub includes : * mut :: std :: os :: raw :: c_void , pub preserve : :: std :: os :: raw :: c_int , pub counter : :: std :: os :: raw :: c_int , pub idcDef : * mut xmlHashTable , pub volatiles : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchema"] [:: std :: mem :: size_of :: < _xmlSchema > () - 160usize] ; ["Alignment of _xmlSchema"] [:: std :: mem :: align_of :: < _xmlSchema > () - 8usize] ; ["Offset of field: _xmlSchema::name"] [:: std :: mem :: offset_of ! (_xmlSchema , name) - 0usize] ; ["Offset of field: _xmlSchema::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchema , targetNamespace) - 8usize] ; ["Offset of field: _xmlSchema::version"] [:: std :: mem :: offset_of ! (_xmlSchema , version) - 16usize] ; ["Offset of field: _xmlSchema::id"] [:: std :: mem :: offset_of ! (_xmlSchema , id) - 24usize] ; ["Offset of field: _xmlSchema::doc"] [:: std :: mem :: offset_of ! (_xmlSchema , doc) - 32usize] ; ["Offset of field: _xmlSchema::annot"] [:: std :: mem :: offset_of ! (_xmlSchema , annot) - 40usize] ; ["Offset of field: _xmlSchema::flags"] [:: std :: mem :: offset_of ! (_xmlSchema , flags) - 48usize] ; ["Offset of field: _xmlSchema::typeDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , typeDecl) - 56usize] ; ["Offset of field: _xmlSchema::attrDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , attrDecl) - 64usize] ; ["Offset of field: _xmlSchema::attrgrpDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , attrgrpDecl) - 72usize] ; ["Offset of field: _xmlSchema::elemDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , elemDecl) - 80usize] ; ["Offset of field: _xmlSchema::notaDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , notaDecl) - 88usize] ; ["Offset of field: _xmlSchema::schemasImports"] [:: std :: mem :: offset_of ! (_xmlSchema , schemasImports) - 96usize] ; ["Offset of field: _xmlSchema::_private"] [:: std :: mem :: offset_of ! (_xmlSchema , _private) - 104usize] ; ["Offset of field: _xmlSchema::groupDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , groupDecl) - 112usize] ; ["Offset of field: _xmlSchema::dict"] [:: std :: mem :: offset_of ! (_xmlSchema , dict) - 120usize] ; ["Offset of field: _xmlSchema::includes"] [:: std :: mem :: offset_of ! (_xmlSchema , includes) - 128usize] ; ["Offset of field: _xmlSchema::preserve"] [:: std :: mem :: offset_of ! (_xmlSchema , preserve) - 136usize] ; ["Offset of field: _xmlSchema::counter"] [:: std :: mem :: offset_of ! (_xmlSchema , counter) - 140usize] ; ["Offset of field: _xmlSchema::idcDef"] [:: std :: mem :: offset_of ! (_xmlSchema , idcDef) - 144usize] ; ["Offset of field: _xmlSchema::volatiles"] [:: std :: mem :: offset_of ! (_xmlSchema , volatiles) - 152usize] ; } ; unsafe extern "C" { pub fn xmlSchemaFreeType (type_ : * mut xmlSchemaType) ; } unsafe extern "C" { pub fn xmlSchemaFreeWildcard (wildcard : * mut xmlSchemaWildcard) ; } pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_UNKNOWN : xmlSchemaWhitespaceValueType = 0 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_PRESERVE : xmlSchemaWhitespaceValueType = 1 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_REPLACE : xmlSchemaWhitespaceValueType = 2 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_COLLAPSE : xmlSchemaWhitespaceValueType = 3 ; # [doc = " Schema whitespace value type"] pub type xmlSchemaWhitespaceValueType = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlSchemaInitTypes () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCleanupTypes () ; } unsafe extern "C" { pub fn xmlSchemaGetPredefinedType (name : * const xmlChar , ns : * const xmlChar) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaValidatePredefinedType (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValPredefTypeNode (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal , node : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFacet (base : * mut xmlSchemaType , facet : * mut xmlSchemaFacet , value : * const xmlChar , val : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFacetWhtsp (facet : * mut xmlSchemaFacet , fws : xmlSchemaWhitespaceValueType , valType : xmlSchemaValType , value : * const xmlChar , val : * mut xmlSchemaVal , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaFreeValue (val : * mut xmlSchemaVal) ; } unsafe extern "C" { pub fn xmlSchemaNewFacet () -> * mut xmlSchemaFacet ; } unsafe extern "C" { pub fn xmlSchemaCheckFacet (facet : * mut xmlSchemaFacet , typeDecl : * mut xmlSchemaType , ctxt : * mut xmlSchemaParserCtxt , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaFreeFacet (facet : * mut xmlSchemaFacet) ; } unsafe extern "C" { pub fn xmlSchemaCompareValues (x : * mut xmlSchemaVal , y : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetBuiltInListSimpleTypeItemType (type_ : * mut xmlSchemaType) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaValidateListSimpleTypeFacet (facet : * mut xmlSchemaFacet , value : * const xmlChar , actualLen : :: std :: os :: raw :: c_ulong , expectedLen : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetBuiltInType (type_ : xmlSchemaValType) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaIsBuiltInTypeFacet (type_ : * mut xmlSchemaType , facetType : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCollapseString (value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSchemaWhiteSpaceReplace (value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSchemaGetFacetValueAsULong (facet : * mut xmlSchemaFacet) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlSchemaValidateLengthFacet (type_ : * mut xmlSchemaType , facet : * mut xmlSchemaFacet , value : * const xmlChar , val : * mut xmlSchemaVal , length : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateLengthFacetWhtsp (facet : * mut xmlSchemaFacet , valType : xmlSchemaValType , value : * const xmlChar , val : * mut xmlSchemaVal , length : * mut :: std :: os :: raw :: c_ulong , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValPredefTypeNodeNoNorm (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal , node : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetCanonValue (val : * mut xmlSchemaVal , retValue : * mut * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetCanonValueWhtsp (val : * mut xmlSchemaVal , retValue : * mut * const xmlChar , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValueAppend (prev : * mut xmlSchemaVal , cur : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValueGetNext (cur : * mut xmlSchemaVal) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaValueGetAsString (val : * mut xmlSchemaVal) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSchemaValueGetAsBoolean (val : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaNewStringValue (type_ : xmlSchemaValType , value : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaNewNOTATIONValue (name : * const xmlChar , ns : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaNewQNameValue (namespaceName : * const xmlChar , localName : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaCompareValuesWhtsp (x : * mut xmlSchemaVal , xws : xmlSchemaWhitespaceValueType , y : * mut xmlSchemaVal , yws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCopyValue (val : * mut xmlSchemaVal) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaGetValType (val : * mut xmlSchemaVal) -> xmlSchemaValType ; } pub type __builtin_va_list = [__va_list_tag ; 1usize] ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __va_list_tag { pub gp_offset : :: std :: os :: raw :: c_uint , pub fp_offset : :: std :: os :: raw :: c_uint , pub overflow_arg_area : * mut :: std :: os :: raw :: c_void , pub reg_save_area : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __va_list_tag"] [:: std :: mem :: size_of :: < __va_list_tag > () - 24usize] ; ["Alignment of __va_list_tag"] [:: std :: mem :: align_of :: < __va_list_tag > () - 8usize] ; ["Offset of field: __va_list_tag::gp_offset"] [:: std :: mem :: offset_of ! (__va_list_tag , gp_offset) - 0usize] ; ["Offset of field: __va_list_tag::fp_offset"] [:: std :: mem :: offset_of ! (__va_list_tag , fp_offset) - 4usize] ; ["Offset of field: __va_list_tag::overflow_arg_area"] [:: std :: mem :: offset_of ! (__va_list_tag , overflow_arg_area) - 8usize] ; ["Offset of field: __va_list_tag::reg_save_area"] [:: std :: mem :: offset_of ! (__va_list_tag , reg_save_area) - 16usize] ; } ; # [doc = " dict used to allocate names if any"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDict { pub _address : u8 , }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]  --> /opt/rustwide/target/release/build/libxml2-rs-88f840c53f735f57/out/bindings.rs:3:29248
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...: os :: raw :: c_int) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val ...
[INFO] [stdout]   |                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: replace this with
[INFO] [stdout]   |
[INFO] [stdout] 3 - # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] fn extract_bit (byte : u8 , index : usize) -> bool { let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; Self :: extract_bit (byte , index) } # [inline] pub unsafe fn raw_get_bit (this : * const Self , index : usize) -> bool { debug_assert ! (index / 8 < core :: mem :: size_of ::< Storage > ()) ; let byte_index = index / 8 ; let byte = unsafe { * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) } ; Self :: extract_bit (byte , index) } # [inline] fn change_bit (byte : u8 , index : usize , val : bool) -> u8 { let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { byte | mask } else { byte & ! mask } } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; * byte = Self :: change_bit (* byte , index , val) ; } # [inline] pub unsafe fn raw_set_bit (this : * mut Self , index : usize , val : bool) { debug_assert ! (index / 8 < core :: mem :: size_of ::< Storage > ()) ; let byte_index = index / 8 ; let byte = unsafe { (core :: ptr :: addr_of_mut ! ((* this) . storage) as * mut u8) . offset (byte_index as isize) } ; unsafe { * byte = Self :: change_bit (* byte , index , val) } ; } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub unsafe fn raw_get (this : * const Self , bit_offset : usize , bit_width : u8 ,) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < core :: mem :: size_of ::< Storage > ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= core :: mem :: size_of ::< Storage > ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if unsafe { Self :: raw_get_bit (this , i + bit_offset) } { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } # [inline] pub unsafe fn raw_set (this : * mut Self , bit_offset : usize , bit_width : u8 , val : u64 ,) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < core :: mem :: size_of ::< Storage > ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= core :: mem :: size_of ::< Storage > ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; unsafe { Self :: raw_set_bit (this , index + bit_offset , val_bit_is_set) } ; } } } # [derive (PartialEq , Copy , Clone , Hash , Debug , Default)] # [repr (C)] pub struct __BindgenComplex < T > { pub re : T , pub im : T } pub const LIBXML_DOTTED_VERSION : & [u8 ; 7] = b"2.15.2\0" ; pub const LIBXML_VERSION : u32 = 21502 ; pub const LIBXML_VERSION_STRING : & [u8 ; 6] = b"21502\0" ; pub const LIBXML_VERSION_EXTRA : & [u8 ; 1] = b"\0" ; pub const LIBXML_MODULE_EXTENSION : & [u8 ; 4] = b".so\0" ; pub const _STDIO_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2Y : u32 = 0 ; pub const __GLIBC_USE_ISOC23 : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 202405 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __USE_XOPEN2K24 : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_TIME_BITS64 : u32 = 1 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const __GLIBC_USE_C23_STRTOL : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 43 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C23 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C23 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _____fpos_t_defined : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _____fpos64_t_defined : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const __struct_FILE_defined : u32 = 1 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const __cookie_io_functions_t_defined : u32 = 1 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; pub const EOF : i32 = - 1 ; pub const SEEK_SET : u32 = 0 ; pub const SEEK_CUR : u32 = 1 ; pub const SEEK_END : u32 = 2 ; pub const P_tmpdir : & [u8 ; 5] = b"/tmp\0" ; pub const L_tmpnam : u32 = 20 ; pub const TMP_MAX : u32 = 238328 ; pub const _BITS_STDIO_LIM_H : u32 = 1 ; pub const FILENAME_MAX : u32 = 4096 ; pub const L_ctermid : u32 = 9 ; pub const FOPEN_MAX : u32 = 16 ; pub const __HAVE_FLOAT128 : u32 = 1 ; pub const __HAVE_DISTINCT_FLOAT128 : u32 = 1 ; pub const __HAVE_FLOAT64X : u32 = 1 ; pub const __HAVE_FLOAT64X_LONG_DOUBLE : u32 = 1 ; pub const __HAVE_FLOAT16 : u32 = 0 ; pub const __HAVE_FLOAT32 : u32 = 1 ; pub const __HAVE_FLOAT64 : u32 = 1 ; pub const __HAVE_FLOAT32X : u32 = 1 ; pub const __HAVE_FLOAT128X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT16 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT128X : u32 = 0 ; pub const __HAVE_FLOATN_NOT_TYPEDEF : u32 = 0 ; pub const _LIBC_LIMITS_H_ : u32 = 1 ; pub const MB_LEN_MAX : u32 = 16 ; pub const _BITS_POSIX1_LIM_H : u32 = 1 ; pub const _POSIX_AIO_LISTIO_MAX : u32 = 2 ; pub const _POSIX_AIO_MAX : u32 = 1 ; pub const _POSIX_ARG_MAX : u32 = 4096 ; pub const _POSIX_CHILD_MAX : u32 = 25 ; pub const _POSIX_DELAYTIMER_MAX : u32 = 32 ; pub const _POSIX_HOST_NAME_MAX : u32 = 255 ; pub const _POSIX_LINK_MAX : u32 = 8 ; pub const _POSIX_LOGIN_NAME_MAX : u32 = 9 ; pub const _POSIX_MAX_CANON : u32 = 255 ; pub const _POSIX_MAX_INPUT : u32 = 255 ; pub const _POSIX_MQ_OPEN_MAX : u32 = 8 ; pub const _POSIX_MQ_PRIO_MAX : u32 = 32 ; pub const _POSIX_NAME_MAX : u32 = 14 ; pub const _POSIX_NGROUPS_MAX : u32 = 8 ; pub const _POSIX_OPEN_MAX : u32 = 20 ; pub const _POSIX_PATH_MAX : u32 = 256 ; pub const _POSIX_PIPE_BUF : u32 = 512 ; pub const _POSIX_RE_DUP_MAX : u32 = 255 ; pub const _POSIX_RTSIG_MAX : u32 = 8 ; pub const _POSIX_SEM_NSEMS_MAX : u32 = 256 ; pub const _POSIX_SEM_VALUE_MAX : u32 = 32767 ; pub const _POSIX_SIGQUEUE_MAX : u32 = 32 ; pub const _POSIX_SSIZE_MAX : u32 = 32767 ; pub const _POSIX_STREAM_MAX : u32 = 8 ; pub const _POSIX_SYMLINK_MAX : u32 = 255 ; pub const _POSIX_SYMLOOP_MAX : u32 = 8 ; pub const _POSIX_TIMER_MAX : u32 = 32 ; pub const _POSIX_TTY_NAME_MAX : u32 = 9 ; pub const _POSIX_TZNAME_MAX : u32 = 6 ; pub const _POSIX_CLOCKRES_MIN : u32 = 20000000 ; pub const NR_OPEN : u32 = 1024 ; pub const NGROUPS_MAX : u32 = 65536 ; pub const ARG_MAX : u32 = 131072 ; pub const LINK_MAX : u32 = 127 ; pub const MAX_CANON : u32 = 255 ; pub const MAX_INPUT : u32 = 255 ; pub const NAME_MAX : u32 = 255 ; pub const PATH_MAX : u32 = 4096 ; pub const PIPE_BUF : u32 = 4096 ; pub const XATTR_NAME_MAX : u32 = 255 ; pub const XATTR_SIZE_MAX : u32 = 65536 ; pub const XATTR_LIST_MAX : u32 = 65536 ; pub const RTSIG_MAX : u32 = 32 ; pub const _POSIX_THREAD_KEYS_MAX : u32 = 128 ; pub const PTHREAD_KEYS_MAX : u32 = 1024 ; pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const PTHREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const _POSIX_THREAD_THREADS_MAX : u32 = 64 ; pub const AIO_PRIO_DELTA_MAX : u32 = 20 ; pub const PTHREAD_STACK_MIN : u32 = 16384 ; pub const DELAYTIMER_MAX : u32 = 2147483647 ; pub const TTY_NAME_MAX : u32 = 32 ; pub const LOGIN_NAME_MAX : u32 = 256 ; pub const HOST_NAME_MAX : u32 = 64 ; pub const MQ_PRIO_MAX : u32 = 32768 ; pub const SEM_VALUE_MAX : u32 = 2147483647 ; pub const _BITS_POSIX2_LIM_H : u32 = 1 ; pub const _POSIX2_BC_BASE_MAX : u32 = 99 ; pub const _POSIX2_BC_DIM_MAX : u32 = 2048 ; pub const _POSIX2_BC_SCALE_MAX : u32 = 99 ; pub const _POSIX2_BC_STRING_MAX : u32 = 1000 ; pub const _POSIX2_COLL_WEIGHTS_MAX : u32 = 2 ; pub const _POSIX2_EXPR_NEST_MAX : u32 = 32 ; pub const _POSIX2_LINE_MAX : u32 = 2048 ; pub const _POSIX2_RE_DUP_MAX : u32 = 255 ; pub const _POSIX2_CHARCLASS_NAME_MAX : u32 = 14 ; pub const BC_BASE_MAX : u32 = 99 ; pub const BC_DIM_MAX : u32 = 2048 ; pub const BC_SCALE_MAX : u32 = 99 ; pub const BC_STRING_MAX : u32 = 1000 ; pub const COLL_WEIGHTS_MAX : u32 = 255 ; pub const EXPR_NEST_MAX : u32 = 32 ; pub const LINE_MAX : u32 = 2048 ; pub const CHARCLASS_NAME_MAX : u32 = 2048 ; pub const RE_DUP_MAX : u32 = 32767 ; pub const xmlDefaultBufferSize : u32 = 4096 ; pub const XML_DOCB_DOCUMENT_NODE : u32 = 21 ; pub const XML_DEFAULT_VERSION : & [u8 ; 4] = b"1.0\0" ; pub const XML_DETECT_IDS : u32 = 2 ; pub const XML_COMPLETE_ATTRS : u32 = 4 ; pub const XML_SKIP_IDS : u32 = 8 ; pub const XML_SAX2_MAGIC : u32 = 3740122799 ; pub const XML_SCHEMAS_ANYATTR_SKIP : u32 = 1 ; pub const XML_SCHEMAS_ANYATTR_LAX : u32 = 2 ; pub const XML_SCHEMAS_ANYATTR_STRICT : u32 = 3 ; pub const XML_SCHEMAS_ANY_SKIP : u32 = 1 ; pub const XML_SCHEMAS_ANY_LAX : u32 = 2 ; pub const XML_SCHEMAS_ANY_STRICT : u32 = 3 ; pub const XML_SCHEMAS_ATTR_USE_PROHIBITED : u32 = 0 ; pub const XML_SCHEMAS_ATTR_USE_REQUIRED : u32 = 1 ; pub const XML_SCHEMAS_ATTR_USE_OPTIONAL : u32 = 2 ; pub const XML_SCHEMAS_ATTR_GLOBAL : u32 = 1 ; pub const XML_SCHEMAS_ATTR_NSDEFAULT : u32 = 128 ; pub const XML_SCHEMAS_ATTR_INTERNAL_RESOLVED : u32 = 256 ; pub const XML_SCHEMAS_ATTR_FIXED : u32 = 512 ; pub const XML_SCHEMAS_WILDCARD_COMPLETE : u32 = 1 ; pub const XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED : u32 = 1 ; pub const XML_SCHEMAS_ATTRGROUP_GLOBAL : u32 = 2 ; pub const XML_SCHEMAS_ATTRGROUP_MARKED : u32 = 4 ; pub const XML_SCHEMAS_ATTRGROUP_REDEFINED : u32 = 8 ; pub const XML_SCHEMAS_ATTRGROUP_HAS_REFS : u32 = 16 ; pub const XML_SCHEMAS_TYPE_MIXED : u32 = 1 ; pub const XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION : u32 = 2 ; pub const XML_SCHEMAS_TYPE_DERIVATION_METHOD_RESTRICTION : u32 = 4 ; pub const XML_SCHEMAS_TYPE_GLOBAL : u32 = 8 ; pub const XML_SCHEMAS_TYPE_OWNED_ATTR_WILDCARD : u32 = 16 ; pub const XML_SCHEMAS_TYPE_VARIETY_ABSENT : u32 = 32 ; pub const XML_SCHEMAS_TYPE_VARIETY_LIST : u32 = 64 ; pub const XML_SCHEMAS_TYPE_VARIETY_UNION : u32 = 128 ; pub const XML_SCHEMAS_TYPE_VARIETY_ATOMIC : u32 = 256 ; pub const XML_SCHEMAS_TYPE_FINAL_EXTENSION : u32 = 512 ; pub const XML_SCHEMAS_TYPE_FINAL_RESTRICTION : u32 = 1024 ; pub const XML_SCHEMAS_TYPE_FINAL_LIST : u32 = 2048 ; pub const XML_SCHEMAS_TYPE_FINAL_UNION : u32 = 4096 ; pub const XML_SCHEMAS_TYPE_FINAL_DEFAULT : u32 = 8192 ; pub const XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE : u32 = 16384 ; pub const XML_SCHEMAS_TYPE_MARKED : u32 = 65536 ; pub const XML_SCHEMAS_TYPE_BLOCK_DEFAULT : u32 = 131072 ; pub const XML_SCHEMAS_TYPE_BLOCK_EXTENSION : u32 = 262144 ; pub const XML_SCHEMAS_TYPE_BLOCK_RESTRICTION : u32 = 524288 ; pub const XML_SCHEMAS_TYPE_ABSTRACT : u32 = 1048576 ; pub const XML_SCHEMAS_TYPE_FACETSNEEDVALUE : u32 = 2097152 ; pub const XML_SCHEMAS_TYPE_INTERNAL_RESOLVED : u32 = 4194304 ; pub const XML_SCHEMAS_TYPE_INTERNAL_INVALID : u32 = 8388608 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_PRESERVE : u32 = 16777216 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_REPLACE : u32 = 33554432 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_COLLAPSE : u32 = 67108864 ; pub const XML_SCHEMAS_TYPE_HAS_FACETS : u32 = 134217728 ; pub const XML_SCHEMAS_TYPE_NORMVALUENEEDED : u32 = 268435456 ; pub const XML_SCHEMAS_TYPE_FIXUP_1 : u32 = 536870912 ; pub const XML_SCHEMAS_TYPE_REDEFINED : u32 = 1073741824 ; pub const XML_SCHEMAS_ELEM_NILLABLE : u32 = 1 ; pub const XML_SCHEMAS_ELEM_GLOBAL : u32 = 2 ; pub const XML_SCHEMAS_ELEM_DEFAULT : u32 = 4 ; pub const XML_SCHEMAS_ELEM_FIXED : u32 = 8 ; pub const XML_SCHEMAS_ELEM_ABSTRACT : u32 = 16 ; pub const XML_SCHEMAS_ELEM_TOPLEVEL : u32 = 32 ; pub const XML_SCHEMAS_ELEM_REF : u32 = 64 ; pub const XML_SCHEMAS_ELEM_NSDEFAULT : u32 = 128 ; pub const XML_SCHEMAS_ELEM_INTERNAL_RESOLVED : u32 = 256 ; pub const XML_SCHEMAS_ELEM_CIRCULAR : u32 = 512 ; pub const XML_SCHEMAS_ELEM_BLOCK_ABSENT : u32 = 1024 ; pub const XML_SCHEMAS_ELEM_BLOCK_EXTENSION : u32 = 2048 ; pub const XML_SCHEMAS_ELEM_BLOCK_RESTRICTION : u32 = 4096 ; pub const XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION : u32 = 8192 ; pub const XML_SCHEMAS_ELEM_FINAL_ABSENT : u32 = 16384 ; pub const XML_SCHEMAS_ELEM_FINAL_EXTENSION : u32 = 32768 ; pub const XML_SCHEMAS_ELEM_FINAL_RESTRICTION : u32 = 65536 ; pub const XML_SCHEMAS_ELEM_SUBST_GROUP_HEAD : u32 = 131072 ; pub const XML_SCHEMAS_ELEM_INTERNAL_CHECKED : u32 = 262144 ; pub const XML_SCHEMAS_FACET_UNKNOWN : u32 = 0 ; pub const XML_SCHEMAS_FACET_PRESERVE : u32 = 1 ; pub const XML_SCHEMAS_FACET_REPLACE : u32 = 2 ; pub const XML_SCHEMAS_FACET_COLLAPSE : u32 = 3 ; pub const XML_SCHEMAS_QUALIF_ELEM : u32 = 1 ; pub const XML_SCHEMAS_QUALIF_ATTR : u32 = 2 ; pub const XML_SCHEMAS_FINAL_DEFAULT_EXTENSION : u32 = 4 ; pub const XML_SCHEMAS_FINAL_DEFAULT_RESTRICTION : u32 = 8 ; pub const XML_SCHEMAS_FINAL_DEFAULT_LIST : u32 = 16 ; pub const XML_SCHEMAS_FINAL_DEFAULT_UNION : u32 = 32 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_EXTENSION : u32 = 64 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_RESTRICTION : u32 = 128 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_SUBSTITUTION : u32 = 256 ; pub const XML_SCHEMAS_INCLUDING_CONVERT_NS : u32 = 512 ; unsafe extern "C" { pub fn xmlCheckVersion (version : :: std :: os :: raw :: c_int) ; } pub type __gnuc_va_list = __builtin_va_list ; pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [:: std :: os :: raw :: c_int ; 2usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __fsid_t"] [:: std :: mem :: size_of :: < __fsid_t > () - 8usize] ; ["Alignment of __fsid_t"] [:: std :: mem :: align_of :: < __fsid_t > () - 4usize] ; ["Offset of field: __fsid_t::__val"] [:: std :: mem :: offset_of ! (__fsid_t , __val) - 0usize] ; } ; pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __suseconds64_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Copy , Clone)] pub struct __mbstate_t { pub __count : :: std :: os :: raw :: c_int , pub __value : __mbstate_t__bindgen_ty_1 , } # [repr (C)] # [derive (Copy , Clone)] pub union __mbstate_t__bindgen_ty_1 { pub __wch : :: std :: os :: raw :: c_uint , pub __wchb : [:: std :: os :: raw :: c_char ; 4usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __mbstate_t__bindgen_ty_1"] [:: std :: mem :: size_of :: < __mbstate_t__bindgen_ty_1 > () - 4usize] ; ["Alignment of __mbstate_t__bindgen_ty_1"] [:: std :: mem :: align_of :: < __mbstate_t__bindgen_ty_1 > () - 4usize] ; ["Offset of field: __mbstate_t__bindgen_ty_1::__wch"] [:: std :: mem :: offset_of ! (__mbstate_t__bindgen_ty_1 , __wch) - 0usize] ; ["Offset of field: __mbstate_t__bindgen_ty_1::__wchb"] [:: std :: mem :: offset_of ! (__mbstate_t__bindgen_ty_1 , __wchb) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __mbstate_t"] [:: std :: mem :: size_of :: < __mbstate_t > () - 8usize] ; ["Alignment of __mbstate_t"] [:: std :: mem :: align_of :: < __mbstate_t > () - 4usize] ; ["Offset of field: __mbstate_t::__count"] [:: std :: mem :: offset_of ! (__mbstate_t , __count) - 0usize] ; ["Offset of field: __mbstate_t::__value"] [:: std :: mem :: offset_of ! (__mbstate_t , __value) - 4usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos_t { pub __pos : __off_t , pub __state : __mbstate_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _G_fpos_t"] [:: std :: mem :: size_of :: < _G_fpos_t > () - 16usize] ; ["Alignment of _G_fpos_t"] [:: std :: mem :: align_of :: < _G_fpos_t > () - 8usize] ; ["Offset of field: _G_fpos_t::__pos"] [:: std :: mem :: offset_of ! (_G_fpos_t , __pos) - 0usize] ; ["Offset of field: _G_fpos_t::__state"] [:: std :: mem :: offset_of ! (_G_fpos_t , __state) - 8usize] ; } ; pub type __fpos_t = _G_fpos_t ; # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos64_t { pub __pos : __off64_t , pub __state : __mbstate_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _G_fpos64_t"] [:: std :: mem :: size_of :: < _G_fpos64_t > () - 16usize] ; ["Alignment of _G_fpos64_t"] [:: std :: mem :: align_of :: < _G_fpos64_t > () - 8usize] ; ["Offset of field: _G_fpos64_t::__pos"] [:: std :: mem :: offset_of ! (_G_fpos64_t , __pos) - 0usize] ; ["Offset of field: _G_fpos64_t::__state"] [:: std :: mem :: offset_of ! (_G_fpos64_t , __state) - 8usize] ; } ; pub type __fpos64_t = _G_fpos64_t ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: std :: os :: raw :: c_int , pub _IO_read_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_read_end : * mut :: std :: os :: raw :: c_char , pub _IO_read_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_write_end : * mut :: std :: os :: raw :: c_char , pub _IO_buf_base : * mut :: std :: os :: raw :: c_char , pub _IO_buf_end : * mut :: std :: os :: raw :: c_char , pub _IO_save_base : * mut :: std :: os :: raw :: c_char , pub _IO_backup_base : * mut :: std :: os :: raw :: c_char , pub _IO_save_end : * mut :: std :: os :: raw :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: std :: os :: raw :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: std :: os :: raw :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: std :: os :: raw :: c_ushort , pub _vtable_offset : :: std :: os :: raw :: c_schar , pub _shortbuf : [:: std :: os :: raw :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: std :: os :: raw :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: std :: os :: raw :: c_int , pub _unused3 : :: std :: os :: raw :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: std :: os :: raw :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: std :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: std :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: std :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: std :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: std :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: std :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: std :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: std :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: std :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: std :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: std :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: std :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: std :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: std :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: std :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: std :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: std :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: std :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: std :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: std :: os :: raw :: c_int { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: std :: os :: raw :: c_int) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub unsafe fn _flags2_raw (this : * const Self) -> :: std :: os :: raw :: c_int { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 3usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 0usize , 24u8 ,) as u32) } } # [inline] pub unsafe fn set__flags2_raw (this : * mut Self , val : :: std :: os :: raw :: c_int) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 3usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 0usize , 24u8 , val as u64 ,) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: std :: os :: raw :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { :: std :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } pub type cookie_read_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_write_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_seek_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; pub type cookie_close_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_cookie_io_functions_t { pub read : cookie_read_function_t , pub write : cookie_write_function_t , pub seek : cookie_seek_function_t , pub close : cookie_close_function_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_cookie_io_functions_t"] [:: std :: mem :: size_of :: < _IO_cookie_io_functions_t > () - 32usize] ; ["Alignment of _IO_cookie_io_functions_t"] [:: std :: mem :: align_of :: < _IO_cookie_io_functions_t > () - 8usize] ; ["Offset of field: _IO_cookie_io_functions_t::read"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , read) - 0usize] ; ["Offset of field: _IO_cookie_io_functions_t::write"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , write) - 8usize] ; ["Offset of field: _IO_cookie_io_functions_t::seek"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , seek) - 16usize] ; ["Offset of field: _IO_cookie_io_functions_t::close"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , close) - 24usize] ; } ; pub type cookie_io_functions_t = _IO_cookie_io_functions_t ; pub type va_list = __gnuc_va_list ; pub type off_t = __off_t ; pub type fpos_t = __fpos_t ; unsafe extern "C" { pub static mut stdin : * mut FILE ; } unsafe extern "C" { pub static mut stdout : * mut FILE ; } unsafe extern "C" { pub static mut stderr : * mut FILE ; } unsafe extern "C" { pub fn remove (__filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn rename (__old : * const :: std :: os :: raw :: c_char , __new : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn renameat (__oldfd : :: std :: os :: raw :: c_int , __old : * const :: std :: os :: raw :: c_char , __newfd : :: std :: os :: raw :: c_int , __new : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fclose (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn tmpfile () -> * mut FILE ; } unsafe extern "C" { pub fn tmpnam (arg1 : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn tmpnam_r (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn tempnam (__dir : * const :: std :: os :: raw :: c_char , __pfx : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn fflush (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fflush_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn freopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> * mut FILE ; } unsafe extern "C" { pub fn fdopen (__fd : :: std :: os :: raw :: c_int , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn fopencookie (__magic_cookie : * mut :: std :: os :: raw :: c_void , __modes : * const :: std :: os :: raw :: c_char , __io_funcs : cookie_io_functions_t) -> * mut FILE ; } unsafe extern "C" { pub fn fmemopen (__s : * mut :: std :: os :: raw :: c_void , __len : usize , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn open_memstream (__bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize) -> * mut FILE ; } unsafe extern "C" { pub fn setbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn setvbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn setbuffer (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize) ; } unsafe extern "C" { pub fn setlinebuf (__stream : * mut FILE) ; } unsafe extern "C" { pub fn fprintf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn printf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn sprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vfprintf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vprintf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn snprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsnprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vasprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __f : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vdprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn dprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fscanf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn scanf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn sscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } pub type __cfloat128 = __BindgenComplex < u128 > ; pub type _Float128 = u128 ; pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = u128 ; unsafe extern "C" { # [link_name = "\u{1}__isoc99_fscanf"] pub fn fscanf1 (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_scanf"] pub fn scanf1 (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_sscanf"] pub fn sscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vfscanf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vscanf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vfscanf"] pub fn vfscanf1 (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vscanf"] pub fn vscanf1 (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vsscanf"] pub fn vsscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgetc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getchar () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getchar_unlocked () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgetc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fputc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putchar (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fputc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putchar_unlocked (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getw (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putw (__w : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgets (__s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn __getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn getline (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn fputs (__s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn puts (__s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ungetc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fread (__ptr : * mut :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __stream : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn fwrite (__ptr : * const :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __s : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn fread_unlocked (__ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } unsafe extern "C" { pub fn fwrite_unlocked (__ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } unsafe extern "C" { pub fn fseek (__stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ftell (__stream : * mut FILE) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn rewind (__stream : * mut FILE) ; } unsafe extern "C" { pub fn fseeko (__stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ftello (__stream : * mut FILE) -> __off_t ; } unsafe extern "C" { pub fn fgetpos (__stream : * mut FILE , __pos : * mut fpos_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fsetpos (__stream : * mut FILE , __pos : * const fpos_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn clearerr (__stream : * mut FILE) ; } unsafe extern "C" { pub fn feof (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ferror (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn clearerr_unlocked (__stream : * mut FILE) ; } unsafe extern "C" { pub fn feof_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ferror_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn perror (__s : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn fileno (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fileno_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn pclose (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn popen (__command : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn ctermid (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn flockfile (__stream : * mut FILE) ; } unsafe extern "C" { pub fn ftrylockfile (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn funlockfile (__stream : * mut FILE) ; } unsafe extern "C" { pub fn __uflow (arg1 : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __overflow (arg1 : * mut FILE , arg2 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " This is a basic byte in an UTF-8 encoded string.\n It's unsigned allowing to pinpoint case where char * are assigned\n to xmlChar * (possibly making serialization back impossible)."] pub type xmlChar = :: std :: os :: raw :: c_uchar ; unsafe extern "C" { pub fn xmlStrdup (cur : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrndup (cur : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCharStrndup (cur : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCharStrdup (cur : * const :: std :: os :: raw :: c_char) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrsub (str_ : * const xmlChar , start : :: std :: os :: raw :: c_int , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrchr (str_ : * const xmlChar , val : xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrstr (str_ : * const xmlChar , val : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrcasestr (str_ : * const xmlChar , val : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrcmp (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrncmp (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrcasecmp (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrncasecmp (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrEqual (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrQEqual (pref : * const xmlChar , name : * const xmlChar , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrlen (str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrcat (cur : * mut xmlChar , add : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrncat (cur : * mut xmlChar , add : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrncatNew (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrPrintf (buf : * mut xmlChar , len : :: std :: os :: raw :: c_int , msg : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrVPrintf (buf : * mut xmlChar , len : :: std :: os :: raw :: c_int , msg : * const :: std :: os :: raw :: c_char , ap : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetUTF8Char (utf : * const :: std :: os :: raw :: c_uchar , len : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCheckUTF8 (utf : * const :: std :: os :: raw :: c_uchar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strsize (utf : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strndup (utf : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strpos (utf : * const xmlChar , pos : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strloc (utf : * const xmlChar , utfchar : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strsub (utf : * const xmlChar , start : :: std :: os :: raw :: c_int , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strlen (utf : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Size (utf : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Charcmp (utf1 : * const xmlChar , utf2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } # [doc = " Signature for a free() implementation.\n\n @param mem  an already allocated block of memory"] pub type xmlFreeFunc = :: std :: option :: Option < unsafe extern "C" fn (mem : * mut :: std :: os :: raw :: c_void) > ; # [doc = " Signature for a malloc() implementation.\n\n @param size  the size requested in bytes\n @returns a pointer to the newly allocated block or NULL in case of error."] pub type xmlMallocFunc = :: std :: option :: Option < unsafe extern "C" fn (size : usize) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Signature for a realloc() implementation.\n\n @param mem  an already allocated block of memory\n @param size  the new size requested in bytes\n @returns a pointer to the newly reallocated block or NULL in case of error."] pub type xmlReallocFunc = :: std :: option :: Option < unsafe extern "C" fn (mem : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Signature for an strdup() implementation.\n\n @param str  a zero terminated string\n @returns the copy of the string or NULL in case of error."] pub type xmlStrdupFunc = :: std :: option :: Option < unsafe extern "C" fn (str_ : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char > ; unsafe extern "C" { # [doc = " The variable holding the libxml malloc() implementation"] pub static mut xmlMalloc : xmlMallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml malloc() implementation for atomic\n data (i.e. blocks not containing pointers), useful when using a\n garbage collecting allocator.\n\n @deprecated Use #xmlMalloc"] pub static mut xmlMallocAtomic : xmlMallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml realloc() implementation"] pub static mut xmlRealloc : xmlReallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml free() implementation"] pub static mut xmlFree : xmlFreeFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml strdup() implementation"] pub static mut xmlMemStrdup : xmlStrdupFunc ; } unsafe extern "C" { pub fn xmlMemSetup (freeFunc : xmlFreeFunc , mallocFunc : xmlMallocFunc , reallocFunc : xmlReallocFunc , strdupFunc : xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemGet (freeFunc : * mut xmlFreeFunc , mallocFunc : * mut xmlMallocFunc , reallocFunc : * mut xmlReallocFunc , strdupFunc : * mut xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGcMemSetup (freeFunc : xmlFreeFunc , mallocFunc : xmlMallocFunc , mallocAtomicFunc : xmlMallocFunc , reallocFunc : xmlReallocFunc , strdupFunc : xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGcMemGet (freeFunc : * mut xmlFreeFunc , mallocFunc : * mut xmlMallocFunc , mallocAtomicFunc : * mut xmlMallocFunc , reallocFunc : * mut xmlReallocFunc , strdupFunc : * mut xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlInitMemory () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCleanupMemory () ; } unsafe extern "C" { pub fn xmlMemSize (ptr : * mut :: std :: os :: raw :: c_void) -> usize ; } unsafe extern "C" { pub fn xmlMemUsed () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemBlocks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemDisplay (fp : * mut FILE) ; } unsafe extern "C" { pub fn xmlMemDisplayLast (fp : * mut FILE , nbBytes : :: std :: os :: raw :: c_long) ; } unsafe extern "C" { pub fn xmlMemShow (fp : * mut FILE , nr : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlMemoryDump () ; } unsafe extern "C" { pub fn xmlMemMalloc (size : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemRealloc (ptr : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemFree (ptr : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlMemoryStrdup (str_ : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlMallocLoc (size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlReallocLoc (ptr : * mut :: std :: os :: raw :: c_void , size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMallocAtomicLoc (size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemStrdupLoc (str_ : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRegexp { _unused : [u8 ; 0] , } # [doc = " A libxml regular expression"] pub type xmlRegexp = _xmlRegexp ; pub type xmlRegexpPtr = * mut xmlRegexp ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRegExecCtxt { _unused : [u8 ; 0] , } # [doc = " A libxml progressive regular expression evaluation context"] pub type xmlRegExecCtxt = _xmlRegExecCtxt ; pub type xmlRegExecCtxtPtr = * mut xmlRegExecCtxt ; unsafe extern "C" { pub fn xmlRegexpCompile (regexp : * const xmlChar) -> * mut xmlRegexp ; } unsafe extern "C" { pub fn xmlRegFreeRegexp (regexp : * mut xmlRegexp) ; } unsafe extern "C" { pub fn xmlRegexpExec (comp : * mut xmlRegexp , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegexpPrint (output : * mut FILE , regexp : * mut xmlRegexp) ; } unsafe extern "C" { pub fn xmlRegexpIsDeterminist (comp : * mut xmlRegexp) -> :: std :: os :: raw :: c_int ; } # [doc = " Callback function when doing a transition in the automata\n\n @param exec  the regular expression context\n @param token  the current token string\n @param transdata  transition data\n @param inputdata  input data"] pub type xmlRegExecCallbacks = :: std :: option :: Option < unsafe extern "C" fn (exec : * mut xmlRegExecCtxt , token : * const xmlChar , transdata : * mut :: std :: os :: raw :: c_void , inputdata : * mut :: std :: os :: raw :: c_void) > ; unsafe extern "C" { pub fn xmlRegNewExecCtxt (comp : * mut xmlRegexp , callback : xmlRegExecCallbacks , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlRegExecCtxt ; } unsafe extern "C" { pub fn xmlRegFreeExecCtxt (exec : * mut xmlRegExecCtxt) ; } unsafe extern "C" { pub fn xmlRegExecPushString (exec : * mut xmlRegExecCtxt , value : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecPushString2 (exec : * mut xmlRegExecCtxt , value : * const xmlChar , value2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecNextValues (exec : * mut xmlRegExecCtxt , nbval : * mut :: std :: os :: raw :: c_int , nbneg : * mut :: std :: os :: raw :: c_int , values : * mut * mut xmlChar , terminal : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecErrInfo (exec : * mut xmlRegExecCtxt , string : * mut * const xmlChar , nbval : * mut :: std :: os :: raw :: c_int , nbneg : * mut :: std :: os :: raw :: c_int , values : * mut * mut xmlChar , terminal : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " Parser input buffer\n\n This struct and all related functions should ultimately\n be removed from the public interface."] pub type xmlParserInputBuffer = _xmlParserInputBuffer ; pub type xmlParserInputBufferPtr = * mut xmlParserInputBuffer ; # [doc = " Output buffer"] pub type xmlOutputBuffer = _xmlOutputBuffer ; pub type xmlOutputBufferPtr = * mut xmlOutputBuffer ; # [doc = " Parser input"] pub type xmlParserInput = _xmlParserInput ; pub type xmlParserInputPtr = * mut xmlParserInput ; # [doc = " Parser context"] pub type xmlParserCtxt = _xmlParserCtxt ; pub type xmlParserCtxtPtr = * mut xmlParserCtxt ; # [doc = " SAX locator"] pub type xmlSAXLocator = _xmlSAXLocator ; pub type xmlSAXLocatorPtr = * mut xmlSAXLocator ; # [doc = " SAX handler"] pub type xmlSAXHandler = _xmlSAXHandler ; pub type xmlSAXHandlerPtr = * mut xmlSAXHandler ; # [doc = " Entity declaration"] pub type xmlEntity = _xmlEntity ; pub type xmlEntityPtr = * mut xmlEntity ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_DOUBLEIT : xmlBufferAllocationScheme = 0 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_EXACT : xmlBufferAllocationScheme = 1 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_IMMUTABLE : xmlBufferAllocationScheme = 2 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_IO : xmlBufferAllocationScheme = 3 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_HYBRID : xmlBufferAllocationScheme = 4 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_BOUNDED : xmlBufferAllocationScheme = 5 ; # [doc = " Removed, buffers always use XML_BUFFER_ALLOC_IO now."] pub type xmlBufferAllocationScheme = :: std :: os :: raw :: c_uint ; # [doc = " Buffer type"] pub type xmlBuffer = _xmlBuffer ; pub type xmlBufferPtr = * mut xmlBuffer ; # [doc = " A buffer structure, this old construct is limited to 2GB and\n is being deprecated, use API with xmlBuf instead."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlBuffer { # [doc = " @deprecated Use #xmlBufferContent\n\n The buffer content UTF8"] pub content : * mut xmlChar , # [doc = " @deprecated Use #xmlBufferLength\n\n The buffer size used"] pub use_ : :: std :: os :: raw :: c_uint , pub size : :: std :: os :: raw :: c_uint , pub alloc : xmlBufferAllocationScheme , pub contentIO : * mut xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlBuffer"] [:: std :: mem :: size_of :: < _xmlBuffer > () - 32usize] ; ["Alignment of _xmlBuffer"] [:: std :: mem :: align_of :: < _xmlBuffer > () - 8usize] ; ["Offset of field: _xmlBuffer::content"] [:: std :: mem :: offset_of ! (_xmlBuffer , content) - 0usize] ; ["Offset of field: _xmlBuffer::use_"] [:: std :: mem :: offset_of ! (_xmlBuffer , use_) - 8usize] ; ["Offset of field: _xmlBuffer::size"] [:: std :: mem :: offset_of ! (_xmlBuffer , size) - 12usize] ; ["Offset of field: _xmlBuffer::alloc"] [:: std :: mem :: offset_of ! (_xmlBuffer , alloc) - 16usize] ; ["Offset of field: _xmlBuffer::contentIO"] [:: std :: mem :: offset_of ! (_xmlBuffer , contentIO) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlBuf { _unused : [u8 ; 0] , } # [doc = " Buffer with 64-bit support"] pub type xmlBuf = _xmlBuf ; pub type xmlBufPtr = * mut xmlBuf ; # [doc = " An element.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_ELEMENT_NODE : xmlElementType = 1 ; # [doc = " An attribute.\n\n Objects of this type are an xmlAttr."] pub const xmlElementType_XML_ATTRIBUTE_NODE : xmlElementType = 2 ; # [doc = " A text node.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_TEXT_NODE : xmlElementType = 3 ; # [doc = " A CDATA section.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_CDATA_SECTION_NODE : xmlElementType = 4 ; # [doc = " An entity reference.\n\n Objects of this type are an xmlNode. The `children` member\n points to the entity declaration if available."] pub const xmlElementType_XML_ENTITY_REF_NODE : xmlElementType = 5 ; # [doc = " unused"] pub const xmlElementType_XML_ENTITY_NODE : xmlElementType = 6 ; # [doc = " A processing instruction.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_PI_NODE : xmlElementType = 7 ; # [doc = " A comment.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_COMMENT_NODE : xmlElementType = 8 ; # [doc = " A document.\n\n Objects of this type are an xmlDoc."] pub const xmlElementType_XML_DOCUMENT_NODE : xmlElementType = 9 ; # [doc = " unused"] pub const xmlElementType_XML_DOCUMENT_TYPE_NODE : xmlElementType = 10 ; # [doc = " A document fragment.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_DOCUMENT_FRAG_NODE : xmlElementType = 11 ; # [doc = " A notation, unused"] pub const xmlElementType_XML_NOTATION_NODE : xmlElementType = 12 ; # [doc = " An HTML document.\n\n Objects of this type are an xmlDoc."] pub const xmlElementType_XML_HTML_DOCUMENT_NODE : xmlElementType = 13 ; # [doc = " A document type definition.\n\n Objects of this type are an xmlDtd."] pub const xmlElementType_XML_DTD_NODE : xmlElementType = 14 ; # [doc = " An element declaration.\n\n Objects of this type are an xmlElement."] pub const xmlElementType_XML_ELEMENT_DECL : xmlElementType = 15 ; # [doc = " An attribute declaration.\n\n Objects of this type are an xmlAttribute."] pub const xmlElementType_XML_ATTRIBUTE_DECL : xmlElementType = 16 ; # [doc = " An entity declaration.\n\n Objects of this type are an xmlEntity."] pub const xmlElementType_XML_ENTITY_DECL : xmlElementType = 17 ; # [doc = " An XPath namespace node.\n\n Can only be returned by the XPath engine. Objects of this\n type are an xmlNs which has a completely different layout\n than xmlNode. The `next` member contains a pointer to the\n xmlNode element to which the namespace applies.\n\n Nodes of this type must be handled with extreme care to\n avoid type confusion bugs."] pub const xmlElementType_XML_NAMESPACE_DECL : xmlElementType = 18 ; # [doc = " An XInclude start marker.\n\n Objects of this type are an xmlNode. Inserted as preceding\n sibling of XIncluded content."] pub const xmlElementType_XML_XINCLUDE_START : xmlElementType = 19 ; # [doc = " An XInclude end marker.\n\n Objects of this type are an xmlNode. Inserted as following\n sibling of XIncluded content."] pub const xmlElementType_XML_XINCLUDE_END : xmlElementType = 20 ; # [doc = " The different element types carried by an XML tree.\n\n NOTE: This is synchronized with DOM Level 1 values.\n       See http://www.w3.org/TR/REC-DOM-Level-1/\n\n Actually this had diverged a bit, and XML_DTD_NODE is used instead\n of XML_DOCUMENT_TYPE_NODE."] pub type xmlElementType = :: std :: os :: raw :: c_uint ; # [doc = " Notation declaration"] pub type xmlNotation = _xmlNotation ; pub type xmlNotationPtr = * mut xmlNotation ; # [doc = " A DTD Notation definition.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNotation { # [doc = " Notation name"] pub name : * const xmlChar , # [doc = " Public identifier, if any"] pub PublicID : * const xmlChar , # [doc = " System identifier, if any"] pub SystemID : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNotation"] [:: std :: mem :: size_of :: < _xmlNotation > () - 24usize] ; ["Alignment of _xmlNotation"] [:: std :: mem :: align_of :: < _xmlNotation > () - 8usize] ; ["Offset of field: _xmlNotation::name"] [:: std :: mem :: offset_of ! (_xmlNotation , name) - 0usize] ; ["Offset of field: _xmlNotation::PublicID"] [:: std :: mem :: offset_of ! (_xmlNotation , PublicID) - 8usize] ; ["Offset of field: _xmlNotation::SystemID"] [:: std :: mem :: offset_of ! (_xmlNotation , SystemID) - 16usize] ; } ; pub const xmlAttributeType_XML_ATTRIBUTE_CDATA : xmlAttributeType = 1 ; pub const xmlAttributeType_XML_ATTRIBUTE_ID : xmlAttributeType = 2 ; pub const xmlAttributeType_XML_ATTRIBUTE_IDREF : xmlAttributeType = 3 ; pub const xmlAttributeType_XML_ATTRIBUTE_IDREFS : xmlAttributeType = 4 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENTITY : xmlAttributeType = 5 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENTITIES : xmlAttributeType = 6 ; pub const xmlAttributeType_XML_ATTRIBUTE_NMTOKEN : xmlAttributeType = 7 ; pub const xmlAttributeType_XML_ATTRIBUTE_NMTOKENS : xmlAttributeType = 8 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENUMERATION : xmlAttributeType = 9 ; pub const xmlAttributeType_XML_ATTRIBUTE_NOTATION : xmlAttributeType = 10 ; # [doc = " A DTD Attribute type definition."] pub type xmlAttributeType = :: std :: os :: raw :: c_uint ; pub const xmlAttributeDefault_XML_ATTRIBUTE_NONE : xmlAttributeDefault = 1 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_REQUIRED : xmlAttributeDefault = 2 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_IMPLIED : xmlAttributeDefault = 3 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_FIXED : xmlAttributeDefault = 4 ; # [doc = " A DTD Attribute default definition."] pub type xmlAttributeDefault = :: std :: os :: raw :: c_uint ; # [doc = " Enumeration in a DTD"] pub type xmlEnumeration = _xmlEnumeration ; pub type xmlEnumerationPtr = * mut xmlEnumeration ; # [doc = " List structure used when there is an enumeration in DTDs.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlEnumeration { # [doc = " next enumeration"] pub next : * mut _xmlEnumeration , # [doc = " value"] pub name : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlEnumeration"] [:: std :: mem :: size_of :: < _xmlEnumeration > () - 16usize] ; ["Alignment of _xmlEnumeration"] [:: std :: mem :: align_of :: < _xmlEnumeration > () - 8usize] ; ["Offset of field: _xmlEnumeration::next"] [:: std :: mem :: offset_of ! (_xmlEnumeration , next) - 0usize] ; ["Offset of field: _xmlEnumeration::name"] [:: std :: mem :: offset_of ! (_xmlEnumeration , name) - 8usize] ; } ; # [doc = " Attribute declaration"] pub type xmlAttribute = _xmlAttribute ; pub type xmlAttributePtr = * mut xmlAttribute ; # [doc = " An Attribute declaration in a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttribute { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ATTRIBUTE_DECL"] pub type_ : xmlElementType , # [doc = " attribute name"] pub name : * const xmlChar , # [doc = " NULL"] pub children : * mut _xmlNode , # [doc = " NULL"] pub last : * mut _xmlNode , # [doc = " DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " next in hash table"] pub nexth : * mut _xmlAttribute , # [doc = " attribute type"] pub atype : xmlAttributeType , # [doc = " attribute default"] pub def : xmlAttributeDefault , # [doc = " default value"] pub defaultValue : * mut xmlChar , # [doc = " enumeration tree if any"] pub tree : * mut xmlEnumeration , # [doc = " namespace prefix if any"] pub prefix : * const xmlChar , # [doc = " element name"] pub elem : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlAttribute"] [:: std :: mem :: size_of :: < _xmlAttribute > () - 120usize] ; ["Alignment of _xmlAttribute"] [:: std :: mem :: align_of :: < _xmlAttribute > () - 8usize] ; ["Offset of field: _xmlAttribute::_private"] [:: std :: mem :: offset_of ! (_xmlAttribute , _private) - 0usize] ; ["Offset of field: _xmlAttribute::type_"] [:: std :: mem :: offset_of ! (_xmlAttribute , type_) - 8usize] ; ["Offset of field: _xmlAttribute::name"] [:: std :: mem :: offset_of ! (_xmlAttribute , name) - 16usize] ; ["Offset of field: _xmlAttribute::children"] [:: std :: mem :: offset_of ! (_xmlAttribute , children) - 24usize] ; ["Offset of field: _xmlAttribute::last"] [:: std :: mem :: offset_of ! (_xmlAttribute , last) - 32usize] ; ["Offset of field: _xmlAttribute::parent"] [:: std :: mem :: offset_of ! (_xmlAttribute , parent) - 40usize] ; ["Offset of field: _xmlAttribute::next"] [:: std :: mem :: offset_of ! (_xmlAttribute , next) - 48usize] ; ["Offset of field: _xmlAttribute::prev"] [:: std :: mem :: offset_of ! (_xmlAttribute , prev) - 56usize] ; ["Offset of field: _xmlAttribute::doc"] [:: std :: mem :: offset_of ! (_xmlAttribute , doc) - 64usize] ; ["Offset of field: _xmlAttribute::nexth"] [:: std :: mem :: offset_of ! (_xmlAttribute , nexth) - 72usize] ; ["Offset of field: _xmlAttribute::atype"] [:: std :: mem :: offset_of ! (_xmlAttribute , atype) - 80usize] ; ["Offset of field: _xmlAttribute::def"] [:: std :: mem :: offset_of ! (_xmlAttribute , def) - 84usize] ; ["Offset of field: _xmlAttribute::defaultValue"] [:: std :: mem :: offset_of ! (_xmlAttribute , defaultValue) - 88usize] ; ["Offset of field: _xmlAttribute::tree"] [:: std :: mem :: offset_of ! (_xmlAttribute , tree) - 96usize] ; ["Offset of field: _xmlAttribute::prefix"] [:: std :: mem :: offset_of ! (_xmlAttribute , prefix) - 104usize] ; ["Offset of field: _xmlAttribute::elem"] [:: std :: mem :: offset_of ! (_xmlAttribute , elem) - 112usize] ; } ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_PCDATA : xmlElementContentType = 1 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_ELEMENT : xmlElementContentType = 2 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_SEQ : xmlElementContentType = 3 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_OR : xmlElementContentType = 4 ; # [doc = " Possible definitions of element content types."] pub type xmlElementContentType = :: std :: os :: raw :: c_uint ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_ONCE : xmlElementContentOccur = 1 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_OPT : xmlElementContentOccur = 2 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_MULT : xmlElementContentOccur = 3 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_PLUS : xmlElementContentOccur = 4 ; # [doc = " Possible definitions of element content occurrences."] pub type xmlElementContentOccur = :: std :: os :: raw :: c_uint ; # [doc = " Element content in element declarations"] pub type xmlElementContent = _xmlElementContent ; pub type xmlElementContentPtr = * mut xmlElementContent ; # [doc = " An XML Element content as stored after parsing an element definition\n in a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlElementContent { # [doc = " PCDATA, ELEMENT, SEQ or OR"] pub type_ : xmlElementContentType , # [doc = " ONCE, OPT, MULT or PLUS"] pub ocur : xmlElementContentOccur , # [doc = " element name"] pub name : * const xmlChar , # [doc = " first child"] pub c1 : * mut _xmlElementContent , # [doc = " second child"] pub c2 : * mut _xmlElementContent , # [doc = " parent"] pub parent : * mut _xmlElementContent , # [doc = " namespace prefix"] pub prefix : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlElementContent"] [:: std :: mem :: size_of :: < _xmlElementContent > () - 48usize] ; ["Alignment of _xmlElementContent"] [:: std :: mem :: align_of :: < _xmlElementContent > () - 8usize] ; ["Offset of field: _xmlElementContent::type_"] [:: std :: mem :: offset_of ! (_xmlElementContent , type_) - 0usize] ; ["Offset of field: _xmlElementContent::ocur"] [:: std :: mem :: offset_of ! (_xmlElementContent , ocur) - 4usize] ; ["Offset of field: _xmlElementContent::name"] [:: std :: mem :: offset_of ! (_xmlElementContent , name) - 8usize] ; ["Offset of field: _xmlElementContent::c1"] [:: std :: mem :: offset_of ! (_xmlElementContent , c1) - 16usize] ; ["Offset of field: _xmlElementContent::c2"] [:: std :: mem :: offset_of ! (_xmlElementContent , c2) - 24usize] ; ["Offset of field: _xmlElementContent::parent"] [:: std :: mem :: offset_of ! (_xmlElementContent , parent) - 32usize] ; ["Offset of field: _xmlElementContent::prefix"] [:: std :: mem :: offset_of ! (_xmlElementContent , prefix) - 40usize] ; } ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_UNDEFINED : xmlElementTypeVal = 0 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_EMPTY : xmlElementTypeVal = 1 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_ANY : xmlElementTypeVal = 2 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_MIXED : xmlElementTypeVal = 3 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_ELEMENT : xmlElementTypeVal = 4 ; # [doc = " The different possibilities for an element content type."] pub type xmlElementTypeVal = :: std :: os :: raw :: c_uint ; # [doc = " Element declaration"] pub type xmlElement = _xmlElement ; pub type xmlElementPtr = * mut xmlElement ; # [doc = " An XML Element declaration from a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlElement { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ELEMENT_DECL"] pub type_ : xmlElementType , # [doc = " element name"] pub name : * const xmlChar , # [doc = " NULL"] pub children : * mut _xmlNode , # [doc = " NULL"] pub last : * mut _xmlNode , # [doc = " -> DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " element type"] pub etype : xmlElementTypeVal , # [doc = " allowed element content"] pub content : * mut xmlElementContent , # [doc = " list of declared attributes"] pub attributes : * mut xmlAttribute , # [doc = " namespace prefix if any"] pub prefix : * const xmlChar , # [doc = " validating regexp"] pub contModel : * mut xmlRegexp , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlElement"] [:: std :: mem :: size_of :: < _xmlElement > () - 112usize] ; ["Alignment of _xmlElement"] [:: std :: mem :: align_of :: < _xmlElement > () - 8usize] ; ["Offset of field: _xmlElement::_private"] [:: std :: mem :: offset_of ! (_xmlElement , _private) - 0usize] ; ["Offset of field: _xmlElement::type_"] [:: std :: mem :: offset_of ! (_xmlElement , type_) - 8usize] ; ["Offset of field: _xmlElement::name"] [:: std :: mem :: offset_of ! (_xmlElement , name) - 16usize] ; ["Offset of field: _xmlElement::children"] [:: std :: mem :: offset_of ! (_xmlElement , children) - 24usize] ; ["Offset of field: _xmlElement::last"] [:: std :: mem :: offset_of ! (_xmlElement , last) - 32usize] ; ["Offset of field: _xmlElement::parent"] [:: std :: mem :: offset_of ! (_xmlElement , parent) - 40usize] ; ["Offset of field: _xmlElement::next"] [:: std :: mem :: offset_of ! (_xmlElement , next) - 48usize] ; ["Offset of field: _xmlElement::prev"] [:: std :: mem :: offset_of ! (_xmlElement , prev) - 56usize] ; ["Offset of field: _xmlElement::doc"] [:: std :: mem :: offset_of ! (_xmlElement , doc) - 64usize] ; ["Offset of field: _xmlElement::etype"] [:: std :: mem :: offset_of ! (_xmlElement , etype) - 72usize] ; ["Offset of field: _xmlElement::content"] [:: std :: mem :: offset_of ! (_xmlElement , content) - 80usize] ; ["Offset of field: _xmlElement::attributes"] [:: std :: mem :: offset_of ! (_xmlElement , attributes) - 88usize] ; ["Offset of field: _xmlElement::prefix"] [:: std :: mem :: offset_of ! (_xmlElement , prefix) - 96usize] ; ["Offset of field: _xmlElement::contModel"] [:: std :: mem :: offset_of ! (_xmlElement , contModel) - 104usize] ; } ; # [doc = " The different element types carried by an XML tree.\n\n NOTE: This is synchronized with DOM Level 1 values.\n       See http://www.w3.org/TR/REC-DOM-Level-1/\n\n Actually this had diverged a bit, and XML_DTD_NODE is used instead\n of XML_DOCUMENT_TYPE_NODE."] pub use self :: xmlElementType as xmlNsType ; # [doc = " Namespace declaration"] pub type xmlNs = _xmlNs ; pub type xmlNsPtr = * mut xmlNs ; # [doc = " An XML namespace.\n Note that prefix == NULL is valid, it defines the default namespace\n within the subtree (until overridden).\n\n xmlNsType is unified with xmlElementType.\n\n Note that the XPath engine returns XPath namespace nodes as\n xmlNs cast to xmlNode. This is a terrible design decision that\n can easily cause type confusion errors. In this case, the `next`\n member points to the xmlNode element to which the namespace\n node belongs."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNs { # [doc = " next namespace"] pub next : * mut _xmlNs , # [doc = " XML_NAMESPACE_DECL"] pub type_ : xmlNsType , # [doc = " namespace URI"] pub href : * const xmlChar , # [doc = " namespace prefix"] pub prefix : * const xmlChar , # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " normally an xmlDoc"] pub context : * mut _xmlDoc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNs"] [:: std :: mem :: size_of :: < _xmlNs > () - 48usize] ; ["Alignment of _xmlNs"] [:: std :: mem :: align_of :: < _xmlNs > () - 8usize] ; ["Offset of field: _xmlNs::next"] [:: std :: mem :: offset_of ! (_xmlNs , next) - 0usize] ; ["Offset of field: _xmlNs::type_"] [:: std :: mem :: offset_of ! (_xmlNs , type_) - 8usize] ; ["Offset of field: _xmlNs::href"] [:: std :: mem :: offset_of ! (_xmlNs , href) - 16usize] ; ["Offset of field: _xmlNs::prefix"] [:: std :: mem :: offset_of ! (_xmlNs , prefix) - 24usize] ; ["Offset of field: _xmlNs::_private"] [:: std :: mem :: offset_of ! (_xmlNs , _private) - 32usize] ; ["Offset of field: _xmlNs::context"] [:: std :: mem :: offset_of ! (_xmlNs , context) - 40usize] ; } ; # [doc = " Document type definition (DTD)"] pub type xmlDtd = _xmlDtd ; pub type xmlDtdPtr = * mut xmlDtd ; # [doc = " An XML DTD, as defined by <!DOCTYPE ... There is actually one for\n the internal subset and for the external subset.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDtd { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_DTD_NODE"] pub type_ : xmlElementType , # [doc = " name of the DTD"] pub name : * const xmlChar , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlDoc , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " hash table for notations if any"] pub notations : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for elements if any"] pub elements : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for attributes if any"] pub attributes : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for entities if any"] pub entities : * mut :: std :: os :: raw :: c_void , # [doc = " public identifier"] pub ExternalID : * mut xmlChar , # [doc = " system identifier"] pub SystemID : * mut xmlChar , # [doc = " hash table for parameter entities if any"] pub pentities : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDtd"] [:: std :: mem :: size_of :: < _xmlDtd > () - 128usize] ; ["Alignment of _xmlDtd"] [:: std :: mem :: align_of :: < _xmlDtd > () - 8usize] ; ["Offset of field: _xmlDtd::_private"] [:: std :: mem :: offset_of ! (_xmlDtd , _private) - 0usize] ; ["Offset of field: _xmlDtd::type_"] [:: std :: mem :: offset_of ! (_xmlDtd , type_) - 8usize] ; ["Offset of field: _xmlDtd::name"] [:: std :: mem :: offset_of ! (_xmlDtd , name) - 16usize] ; ["Offset of field: _xmlDtd::children"] [:: std :: mem :: offset_of ! (_xmlDtd , children) - 24usize] ; ["Offset of field: _xmlDtd::last"] [:: std :: mem :: offset_of ! (_xmlDtd , last) - 32usize] ; ["Offset of field: _xmlDtd::parent"] [:: std :: mem :: offset_of ! (_xmlDtd , parent) - 40usize] ; ["Offset of field: _xmlDtd::next"] [:: std :: mem :: offset_of ! (_xmlDtd , next) - 48usize] ; ["Offset of field: _xmlDtd::prev"] [:: std :: mem :: offset_of ! (_xmlDtd , prev) - 56usize] ; ["Offset of field: _xmlDtd::doc"] [:: std :: mem :: offset_of ! (_xmlDtd , doc) - 64usize] ; ["Offset of field: _xmlDtd::notations"] [:: std :: mem :: offset_of ! (_xmlDtd , notations) - 72usize] ; ["Offset of field: _xmlDtd::elements"] [:: std :: mem :: offset_of ! (_xmlDtd , elements) - 80usize] ; ["Offset of field: _xmlDtd::attributes"] [:: std :: mem :: offset_of ! (_xmlDtd , attributes) - 88usize] ; ["Offset of field: _xmlDtd::entities"] [:: std :: mem :: offset_of ! (_xmlDtd , entities) - 96usize] ; ["Offset of field: _xmlDtd::ExternalID"] [:: std :: mem :: offset_of ! (_xmlDtd , ExternalID) - 104usize] ; ["Offset of field: _xmlDtd::SystemID"] [:: std :: mem :: offset_of ! (_xmlDtd , SystemID) - 112usize] ; ["Offset of field: _xmlDtd::pentities"] [:: std :: mem :: offset_of ! (_xmlDtd , pentities) - 120usize] ; } ; # [doc = " Attribute of an element"] pub type xmlAttr = _xmlAttr ; pub type xmlAttrPtr = * mut xmlAttr ; # [doc = " An attribute of element."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttr { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ATTRIBUTE_NODE"] pub type_ : xmlElementType , # [doc = " local name"] pub name : * const xmlChar , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlNode , # [doc = " next sibling"] pub next : * mut _xmlAttr , # [doc = " previous sibling"] pub prev : * mut _xmlAttr , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " namespace if any"] pub ns : * mut xmlNs , # [doc = " attribute type if validating"] pub atype : xmlAttributeType , # [doc = " for type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " ID struct if any"] pub id : * mut _xmlID , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlAttr"] [:: std :: mem :: size_of :: < _xmlAttr > () - 104usize] ; ["Alignment of _xmlAttr"] [:: std :: mem :: align_of :: < _xmlAttr > () - 8usize] ; ["Offset of field: _xmlAttr::_private"] [:: std :: mem :: offset_of ! (_xmlAttr , _private) - 0usize] ; ["Offset of field: _xmlAttr::type_"] [:: std :: mem :: offset_of ! (_xmlAttr , type_) - 8usize] ; ["Offset of field: _xmlAttr::name"] [:: std :: mem :: offset_of ! (_xmlAttr , name) - 16usize] ; ["Offset of field: _xmlAttr::children"] [:: std :: mem :: offset_of ! (_xmlAttr , children) - 24usize] ; ["Offset of field: _xmlAttr::last"] [:: std :: mem :: offset_of ! (_xmlAttr , last) - 32usize] ; ["Offset of field: _xmlAttr::parent"] [:: std :: mem :: offset_of ! (_xmlAttr , parent) - 40usize] ; ["Offset of field: _xmlAttr::next"] [:: std :: mem :: offset_of ! (_xmlAttr , next) - 48usize] ; ["Offset of field: _xmlAttr::prev"] [:: std :: mem :: offset_of ! (_xmlAttr , prev) - 56usize] ; ["Offset of field: _xmlAttr::doc"] [:: std :: mem :: offset_of ! (_xmlAttr , doc) - 64usize] ; ["Offset of field: _xmlAttr::ns"] [:: std :: mem :: offset_of ! (_xmlAttr , ns) - 72usize] ; ["Offset of field: _xmlAttr::atype"] [:: std :: mem :: offset_of ! (_xmlAttr , atype) - 80usize] ; ["Offset of field: _xmlAttr::psvi"] [:: std :: mem :: offset_of ! (_xmlAttr , psvi) - 88usize] ; ["Offset of field: _xmlAttr::id"] [:: std :: mem :: offset_of ! (_xmlAttr , id) - 96usize] ; } ; # [doc = " Extra data for ID attributes"] pub type xmlID = _xmlID ; pub type xmlIDPtr = * mut xmlID ; # [doc = " An XML ID instance.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlID { pub next : * mut _xmlID , pub value : * mut xmlChar , pub attr : * mut xmlAttr , pub name : * const xmlChar , pub lineno : :: std :: os :: raw :: c_int , pub doc : * mut _xmlDoc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlID"] [:: std :: mem :: size_of :: < _xmlID > () - 48usize] ; ["Alignment of _xmlID"] [:: std :: mem :: align_of :: < _xmlID > () - 8usize] ; ["Offset of field: _xmlID::next"] [:: std :: mem :: offset_of ! (_xmlID , next) - 0usize] ; ["Offset of field: _xmlID::value"] [:: std :: mem :: offset_of ! (_xmlID , value) - 8usize] ; ["Offset of field: _xmlID::attr"] [:: std :: mem :: offset_of ! (_xmlID , attr) - 16usize] ; ["Offset of field: _xmlID::name"] [:: std :: mem :: offset_of ! (_xmlID , name) - 24usize] ; ["Offset of field: _xmlID::lineno"] [:: std :: mem :: offset_of ! (_xmlID , lineno) - 32usize] ; ["Offset of field: _xmlID::doc"] [:: std :: mem :: offset_of ! (_xmlID , doc) - 40usize] ; } ; # [doc = " @cond ignore"] pub type xmlRef = _xmlRef ; pub type xmlRefPtr = * mut xmlRef ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRef { pub next : * mut _xmlRef , pub value : * const xmlChar , pub attr : * mut xmlAttr , pub name : * const xmlChar , pub lineno : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlRef"] [:: std :: mem :: size_of :: < _xmlRef > () - 40usize] ; ["Alignment of _xmlRef"] [:: std :: mem :: align_of :: < _xmlRef > () - 8usize] ; ["Offset of field: _xmlRef::next"] [:: std :: mem :: offset_of ! (_xmlRef , next) - 0usize] ; ["Offset of field: _xmlRef::value"] [:: std :: mem :: offset_of ! (_xmlRef , value) - 8usize] ; ["Offset of field: _xmlRef::attr"] [:: std :: mem :: offset_of ! (_xmlRef , attr) - 16usize] ; ["Offset of field: _xmlRef::name"] [:: std :: mem :: offset_of ! (_xmlRef , name) - 24usize] ; ["Offset of field: _xmlRef::lineno"] [:: std :: mem :: offset_of ! (_xmlRef , lineno) - 32usize] ; } ; # [doc = " Generic node type in an XML or HTML tree"] pub type xmlNode = _xmlNode ; pub type xmlNodePtr = * mut xmlNode ; # [doc = " Generic node type in an XML or HTML tree.\n\n This is used for\n\n - XML_ELEMENT_NODE\n - XML_TEXT_NODE\n - XML_CDATA_SECTION_NODE\n - XML_ENTITY_REF_NODE\n - XML_PI_NODE\n - XML_COMMENT_NODE\n - XML_DOCUMENT_FRAG_NODE\n - XML_XINCLUDE_START_NODE\n - XML_XINCLUDE_END_NODE\n\n Other node types have a different struct layout than xmlNode,\n see xmlElementType. Except for XML_NAMESPACE_DECL all nodes\n share the following members at the same offset:\n\n - `_private`\n - `type` (also for XML_NAMESPACE_DECL)\n - `name`\n - `children`\n - `last`\n - `parent`\n - `next`\n - `prev`\n - `doc`\n\n xmlNode and xmlAttr also share the `ns` member."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNode { # [doc = " Application data. Often used by language bindings."] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " Type enum, an xmlElementType value"] pub type_ : xmlElementType , # [doc = " Name of the node.\n\n - Local name of elements or attributes. As a corner case,\n   this can also contain Names which are invalid QNames in\n   non-namespace-wellformed documents.\n - Name of entity references\n - Target of processing instructions\n - Fixed string for text and comments\n - Unused otherwise"] pub name : * const xmlChar , # [doc = " First child. Entity declaration of entity references."] pub children : * mut _xmlNode , # [doc = " Last child"] pub last : * mut _xmlNode , # [doc = " Parent node. NULL for documents or unlinked root nodes."] pub parent : * mut _xmlNode , # [doc = " Next sibling"] pub next : * mut _xmlNode , # [doc = " Previous sibling"] pub prev : * mut _xmlNode , # [doc = " Associated document.\n\n Used to access DTDs, entities, ID tables, dictionary or\n other document properties. All children of a node share the\n same document."] pub doc : * mut _xmlDoc , # [doc = " Namespace of element if any"] pub ns : * mut xmlNs , # [doc = " Content of text, comment, PI nodes.\n\n Sort index for elements after calling #xmlXPathOrderDocElems.\n Content of internal entities for entity references."] pub content : * mut xmlChar , # [doc = " First attribute of element.\n\n Also used to store small strings with XML_PARSE_COMPACT."] pub properties : * mut _xmlAttr , # [doc = " First namespace definition of element"] pub nsDef : * mut xmlNs , # [doc = " For type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " Line number"] pub line : :: std :: os :: raw :: c_ushort , # [doc = " Extra data for XPath/XSLT"] pub extra : :: std :: os :: raw :: c_ushort , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNode"] [:: std :: mem :: size_of :: < _xmlNode > () - 120usize] ; ["Alignment of _xmlNode"] [:: std :: mem :: align_of :: < _xmlNode > () - 8usize] ; ["Offset of field: _xmlNode::_private"] [:: std :: mem :: offset_of ! (_xmlNode , _private) - 0usize] ; ["Offset of field: _xmlNode::type_"] [:: std :: mem :: offset_of ! (_xmlNode , type_) - 8usize] ; ["Offset of field: _xmlNode::name"] [:: std :: mem :: offset_of ! (_xmlNode , name) - 16usize] ; ["Offset of field: _xmlNode::children"] [:: std :: mem :: offset_of ! (_xmlNode , children) - 24usize] ; ["Offset of field: _xmlNode::last"] [:: std :: mem :: offset_of ! (_xmlNode , last) - 32usize] ; ["Offset of field: _xmlNode::parent"] [:: std :: mem :: offset_of ! (_xmlNode , parent) - 40usize] ; ["Offset of field: _xmlNode::next"] [:: std :: mem :: offset_of ! (_xmlNode , next) - 48usize] ; ["Offset of field: _xmlNode::prev"] [:: std :: mem :: offset_of ! (_xmlNode , prev) - 56usize] ; ["Offset of field: _xmlNode::doc"] [:: std :: mem :: offset_of ! (_xmlNode , doc) - 64usize] ; ["Offset of field: _xmlNode::ns"] [:: std :: mem :: offset_of ! (_xmlNode , ns) - 72usize] ; ["Offset of field: _xmlNode::content"] [:: std :: mem :: offset_of ! (_xmlNode , content) - 80usize] ; ["Offset of field: _xmlNode::properties"] [:: std :: mem :: offset_of ! (_xmlNode , properties) - 88usize] ; ["Offset of field: _xmlNode::nsDef"] [:: std :: mem :: offset_of ! (_xmlNode , nsDef) - 96usize] ; ["Offset of field: _xmlNode::psvi"] [:: std :: mem :: offset_of ! (_xmlNode , psvi) - 104usize] ; ["Offset of field: _xmlNode::line"] [:: std :: mem :: offset_of ! (_xmlNode , line) - 112usize] ; ["Offset of field: _xmlNode::extra"] [:: std :: mem :: offset_of ! (_xmlNode , extra) - 114usize] ; } ; # [doc = " document is XML well formed"] pub const xmlDocProperties_XML_DOC_WELLFORMED : xmlDocProperties = 1 ; # [doc = " document is Namespace valid"] pub const xmlDocProperties_XML_DOC_NSVALID : xmlDocProperties = 2 ; # [doc = " parsed with old XML-1.0 parser"] pub const xmlDocProperties_XML_DOC_OLD10 : xmlDocProperties = 4 ; # [doc = " DTD validation was successful"] pub const xmlDocProperties_XML_DOC_DTDVALID : xmlDocProperties = 8 ; # [doc = " XInclude substitution was done"] pub const xmlDocProperties_XML_DOC_XINCLUDE : xmlDocProperties = 16 ; # [doc = " Document was built using the API and not by parsing an instance"] pub const xmlDocProperties_XML_DOC_USERBUILT : xmlDocProperties = 32 ; # [doc = " built for internal processing"] pub const xmlDocProperties_XML_DOC_INTERNAL : xmlDocProperties = 64 ; # [doc = " parsed or built HTML document"] pub const xmlDocProperties_XML_DOC_HTML : xmlDocProperties = 128 ; # [doc = " Set of properties of the document as found by the parser.\n Some of them are linked to similarly named xmlParserOption."] pub type xmlDocProperties = :: std :: os :: raw :: c_uint ; # [doc = " XML or HTML document"] pub type xmlDoc = _xmlDoc ; pub type xmlDocPtr = * mut xmlDoc ; # [doc = " An XML or HTML document."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDoc { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_DOCUMENT_NODE or XML_HTML_DOCUMENT_NODE"] pub type_ : xmlElementType , # [doc = " NULL"] pub name : * mut :: std :: os :: raw :: c_char , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlNode , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " reference to itself"] pub doc : * mut _xmlDoc , # [doc = " level of zlib compression"] pub compression : :: std :: os :: raw :: c_int , # [doc = " standalone document (no external refs)\n\n - 1 if standalone=\"yes\",\n - 0 if standalone=\"no\",\n - -1 if there is no XML declaration,\n - -2 if there is an XML declaration, but no\n   standalone attribute was specified"] pub standalone : :: std :: os :: raw :: c_int , # [doc = " internal subset"] pub intSubset : * mut _xmlDtd , # [doc = " external subset"] pub extSubset : * mut _xmlDtd , # [doc = " used to hold the XML namespace if needed"] pub oldNs : * mut _xmlNs , # [doc = " version string from XML declaration"] pub version : * mut xmlChar , # [doc = " actual encoding if any"] pub encoding : * mut xmlChar , # [doc = " hash table for ID attributes if any"] pub ids : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for IDREFs attributes if any"] pub refs : * mut :: std :: os :: raw :: c_void , # [doc = " URI of the document"] pub URL : * mut xmlChar , # [doc = " unused"] pub charset : :: std :: os :: raw :: c_int , # [doc = " dict used to allocate names if any"] pub dict : * mut _xmlDict , # [doc = " for type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " xmlParserOption enum used to parse the document"] pub parseFlags : :: std :: os :: raw :: c_int , # [doc = " xmlDocProperties of the document"] pub properties : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDoc"] [:: std :: mem :: size_of :: < _xmlDoc > () - 176usize] ; ["Alignment of _xmlDoc"] [:: std :: mem :: align_of :: < _xmlDoc > () - 8usize] ; ["Offset of field: _xmlDoc::_private"] [:: std :: mem :: offset_of ! (_xmlDoc , _private) - 0usize] ; ["Offset of field: _xmlDoc::type_"] [:: std :: mem :: offset_of ! (_xmlDoc , type_) - 8usize] ; ["Offset of field: _xmlDoc::name"] [:: std :: mem :: offset_of ! (_xmlDoc , name) - 16usize] ; ["Offset of field: _xmlDoc::children"] [:: std :: mem :: offset_of ! (_xmlDoc , children) - 24usize] ; ["Offset of field: _xmlDoc::last"] [:: std :: mem :: offset_of ! (_xmlDoc , last) - 32usize] ; ["Offset of field: _xmlDoc::parent"] [:: std :: mem :: offset_of ! (_xmlDoc , parent) - 40usize] ; ["Offset of field: _xmlDoc::next"] [:: std :: mem :: offset_of ! (_xmlDoc , next) - 48usize] ; ["Offset of field: _xmlDoc::prev"] [:: std :: mem :: offset_of ! (_xmlDoc , prev) - 56usize] ; ["Offset of field: _xmlDoc::doc"] [:: std :: mem :: offset_of ! (_xmlDoc , doc) - 64usize] ; ["Offset of field: _xmlDoc::compression"] [:: std :: mem :: offset_of ! (_xmlDoc , compression) - 72usize] ; ["Offset of field: _xmlDoc::standalone"] [:: std :: mem :: offset_of ! (_xmlDoc , standalone) - 76usize] ; ["Offset of field: _xmlDoc::intSubset"] [:: std :: mem :: offset_of ! (_xmlDoc , intSubset) - 80usize] ; ["Offset of field: _xmlDoc::extSubset"] [:: std :: mem :: offset_of ! (_xmlDoc , extSubset) - 88usize] ; ["Offset of field: _xmlDoc::oldNs"] [:: std :: mem :: offset_of ! (_xmlDoc , oldNs) - 96usize] ; ["Offset of field: _xmlDoc::version"] [:: std :: mem :: offset_of ! (_xmlDoc , version) - 104usize] ; ["Offset of field: _xmlDoc::encoding"] [:: std :: mem :: offset_of ! (_xmlDoc , encoding) - 112usize] ; ["Offset of field: _xmlDoc::ids"] [:: std :: mem :: offset_of ! (_xmlDoc , ids) - 120usize] ; ["Offset of field: _xmlDoc::refs"] [:: std :: mem :: offset_of ! (_xmlDoc , refs) - 128usize] ; ["Offset of field: _xmlDoc::URL"] [:: std :: mem :: offset_of ! (_xmlDoc , URL) - 136usize] ; ["Offset of field: _xmlDoc::charset"] [:: std :: mem :: offset_of ! (_xmlDoc , charset) - 144usize] ; ["Offset of field: _xmlDoc::dict"] [:: std :: mem :: offset_of ! (_xmlDoc , dict) - 152usize] ; ["Offset of field: _xmlDoc::psvi"] [:: std :: mem :: offset_of ! (_xmlDoc , psvi) - 160usize] ; ["Offset of field: _xmlDoc::parseFlags"] [:: std :: mem :: offset_of ! (_xmlDoc , parseFlags) - 168usize] ; ["Offset of field: _xmlDoc::properties"] [:: std :: mem :: offset_of ! (_xmlDoc , properties) - 172usize] ; } ; # [doc = " Context for DOM wrapper operations"] pub type xmlDOMWrapCtxt = _xmlDOMWrapCtxt ; pub type xmlDOMWrapCtxtPtr = * mut xmlDOMWrapCtxt ; # [doc = " A function called to acquire namespaces (xmlNs) from the wrapper.\n\n @param ctxt  a DOM wrapper context\n @param node  the context node (element or attribute)\n @param nsName  the requested namespace name\n @param nsPrefix  the requested namespace prefix\n @returns an xmlNs or NULL in case of an error."] pub type xmlDOMWrapAcquireNsFunction = :: std :: option :: Option < unsafe extern "C" fn (ctxt : * mut xmlDOMWrapCtxt , node : * mut xmlNode , nsName : * const xmlChar , nsPrefix : * const xmlChar) -> * mut xmlNs > ; # [doc = " Context for DOM wrapper-operations."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDOMWrapCtxt { pub _private : * mut :: std :: os :: raw :: c_void , pub type_ : :: std :: os :: raw :: c_int , pub namespaceMap : * mut :: std :: os :: raw :: c_void , pub getNsForNodeFunc : xmlDOMWrapAcquireNsFunction , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDOMWrapCtxt"] [:: std :: mem :: size_of :: < _xmlDOMWrapCtxt > () - 32usize] ; ["Alignment of _xmlDOMWrapCtxt"] [:: std :: mem :: align_of :: < _xmlDOMWrapCtxt > () - 8usize] ; ["Offset of field: _xmlDOMWrapCtxt::_private"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , _private) - 0usize] ; ["Offset of field: _xmlDOMWrapCtxt::type_"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , type_) - 8usize] ; ["Offset of field: _xmlDOMWrapCtxt::namespaceMap"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , namespaceMap) - 16usize] ; ["Offset of field: _xmlDOMWrapCtxt::getNsForNodeFunc"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , getNsForNodeFunc) - 24usize] ; } ; # [doc = " Signature for the registration callback of a created node\n\n @param node  the current node"] pub type xmlRegisterNodeFunc = :: std :: option :: Option < unsafe extern "C" fn (node : * mut xmlNode) > ; # [doc = " Signature for the deregistration callback of a discarded node\n\n @param node  the current node"] pub type xmlDeregisterNodeFunc = :: std :: option :: Option < unsafe extern "C" fn (node : * mut xmlNode) > ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlRegisterNodeDefaultValue () -> * mut xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn __xmlDeregisterNodeDefaultValue () -> * mut xmlDeregisterNodeFunc ; } unsafe extern "C" { # [doc = " @endcond"] pub fn xmlValidateNCName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateQName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNMToken (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBuildQName (ncname : * const xmlChar , prefix : * const xmlChar , memory : * mut xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSplitQName2 (name : * const xmlChar , prefix : * mut * mut xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSplitQName3 (name : * const xmlChar , len : * mut :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCreateIntSubset (doc : * mut xmlDoc , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlNewDtd (doc : * mut xmlDoc , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlGetIntSubset (doc : * const xmlDoc) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlFreeDtd (cur : * mut xmlDtd) ; } unsafe extern "C" { pub fn xmlNewNs (node : * mut xmlNode , href : * const xmlChar , prefix : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlFreeNs (cur : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlFreeNsList (cur : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlNewDoc (version : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlFreeDoc (cur : * mut xmlDoc) ; } unsafe extern "C" { pub fn xmlNewDocProp (doc : * mut xmlDoc , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewProp (node : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewNsPropEatName (node : * mut xmlNode , ns : * mut xmlNs , name : * mut xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlFreePropList (cur : * mut xmlAttr) ; } unsafe extern "C" { pub fn xmlFreeProp (cur : * mut xmlAttr) ; } unsafe extern "C" { pub fn xmlCopyProp (target : * mut xmlNode , cur : * mut xmlAttr) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlCopyPropList (target : * mut xmlNode , cur : * mut xmlAttr) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlCopyDtd (dtd : * mut xmlDtd) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlCopyDoc (doc : * mut xmlDoc , recursive : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlNewDocNode (doc : * mut xmlDoc , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocNodeEatName (doc : * mut xmlDoc , ns : * mut xmlNs , name : * mut xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewNode (ns : * mut xmlNs , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewNodeEatName (ns : * mut xmlNs , name : * mut xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewChild (parent : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocText (doc : * const xmlDoc , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewText (content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocPI (doc : * mut xmlDoc , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewPI (name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocTextLen (doc : * mut xmlDoc , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewTextLen (content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocComment (doc : * mut xmlDoc , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewComment (content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewCDataBlock (doc : * mut xmlDoc , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewCharRef (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewReference (doc : * const xmlDoc , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCopyNode (node : * mut xmlNode , recursive : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlDocCopyNode (node : * mut xmlNode , doc : * mut xmlDoc , recursive : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlDocCopyNodeList (doc : * mut xmlDoc , node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCopyNodeList (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewTextChild (parent : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocRawNode (doc : * mut xmlDoc , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocFragment (doc : * mut xmlDoc) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlGetLineNo (node : * const xmlNode) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn xmlGetNodePath (node : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlDocGetRootElement (doc : * const xmlDoc) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlGetLastChild (parent : * const xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeIsText (node : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsBlankNode (node : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocSetRootElement (doc : * mut xmlDoc , root : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeSetName (cur : * mut xmlNode , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlAddChild (parent : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddChildList (parent : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlReplaceNode (old : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddPrevSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddNextSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlUnlinkNode (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlTextMerge (first : * mut xmlNode , second : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlTextConcat (node : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFreeNodeList (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlFreeNode (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlSetTreeDoc (tree : * mut xmlNode , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetListDoc (list : * mut xmlNode , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSearchNs (doc : * mut xmlDoc , node : * mut xmlNode , nameSpace : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlSearchNsByHref (doc : * mut xmlDoc , node : * mut xmlNode , href : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlGetNsListSafe (doc : * const xmlDoc , node : * const xmlNode , out : * mut * mut * mut xmlNs) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetNsList (doc : * const xmlDoc , node : * const xmlNode) -> * mut * mut xmlNs ; } unsafe extern "C" { pub fn xmlSetNs (node : * mut xmlNode , ns : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlCopyNamespace (cur : * mut xmlNs) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlCopyNamespaceList (cur : * mut xmlNs) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlSetProp (node : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlSetNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNodeGetAttrValue (node : * const xmlNode , name : * const xmlChar , nsUri : * const xmlChar , out : * mut * mut xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetNoNsProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlGetProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlHasProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlHasNsProp (node : * const xmlNode , name : * const xmlChar , nameSpace : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlGetNsProp (node : * const xmlNode , name : * const xmlChar , nameSpace : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStringGetNodeList (doc : * const xmlDoc , value : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlStringLenGetNodeList (doc : * const xmlDoc , value : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeListGetString (doc : * mut xmlDoc , list : * const xmlNode , inLine : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeListGetRawString (doc : * const xmlDoc , list : * const xmlNode , inLine : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeSetContent (cur : * mut xmlNode , content : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetContentLen (cur : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeAddContent (cur : * mut xmlNode , content : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeAddContentLen (cur : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetContent (cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeBufGetContent (buffer : * mut xmlBuffer , cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufGetNodeContent (buf : * mut xmlBuf , cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetLang (cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeGetSpacePreserve (cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetLang (cur : * mut xmlNode , lang : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetSpacePreserve (cur : * mut xmlNode , val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetBaseSafe (doc : * const xmlDoc , cur : * const xmlNode , baseOut : * mut * mut xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetBase (doc : * const xmlDoc , cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeSetBase (cur : * mut xmlNode , uri : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveProp (cur : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUnsetNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUnsetProp (node : * mut xmlNode , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAttrSerializeTxtContent (buf : * mut xmlBuffer , doc : * mut xmlDoc , attr : * mut xmlAttr , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlReconciliateNs (doc : * mut xmlDoc , tree : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocDumpFormatMemory (cur : * mut xmlDoc , mem : * mut * mut xmlChar , size : * mut :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocDumpMemory (cur : * mut xmlDoc , mem : * mut * mut xmlChar , size : * mut :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocDumpMemoryEnc (out_doc : * mut xmlDoc , doc_txt_ptr : * mut * mut xmlChar , doc_txt_len : * mut :: std :: os :: raw :: c_int , txt_encoding : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlDocDumpFormatMemoryEnc (out_doc : * mut xmlDoc , doc_txt_ptr : * mut * mut xmlChar , doc_txt_len : * mut :: std :: os :: raw :: c_int , txt_encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocFormatDump (f : * mut FILE , cur : * mut xmlDoc , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocDump (f : * mut FILE , cur : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlElemDump (f : * mut FILE , doc : * mut xmlDoc , cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlSaveFile (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFormatFile (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufNodeDump (buf : * mut xmlBuf , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> usize ; } unsafe extern "C" { pub fn xmlNodeDump (buf : * mut xmlBuffer , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFileTo (buf : * mut xmlOutputBuffer , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFormatFileTo (buf : * mut xmlOutputBuffer , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeDumpOutput (buf : * mut xmlOutputBuffer , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , encoding : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlSaveFormatFileEnc (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFileEnc (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsXHTML (systemID : * const xmlChar , publicID : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetDocCompressMode (doc : * const xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetDocCompressMode (doc : * mut xmlDoc , mode : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlGetCompressMode () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetCompressMode (mode : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDOMWrapNewCtxt () -> * mut xmlDOMWrapCtxt ; } unsafe extern "C" { pub fn xmlDOMWrapFreeCtxt (ctxt : * mut xmlDOMWrapCtxt) ; } unsafe extern "C" { pub fn xmlDOMWrapReconcileNamespaces (ctxt : * mut xmlDOMWrapCtxt , elem : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapAdoptNode (ctxt : * mut xmlDOMWrapCtxt , sourceDoc : * mut xmlDoc , node : * mut xmlNode , destDoc : * mut xmlDoc , destParent : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapRemoveNode (ctxt : * mut xmlDOMWrapCtxt , doc : * mut xmlDoc , node : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapCloneNode (ctxt : * mut xmlDOMWrapCtxt , sourceDoc : * mut xmlDoc , node : * mut xmlNode , clonedNode : * mut * mut xmlNode , destDoc : * mut xmlDoc , destParent : * mut xmlNode , deep : :: std :: os :: raw :: c_int , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlChildElementCount (parent : * mut xmlNode) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlNextElementSibling (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlFirstElementChild (parent : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlLastElementChild (parent : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlPreviousElementSibling (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlRegisterNodeDefault (func : xmlRegisterNodeFunc) -> xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn xmlDeregisterNodeDefault (func : xmlDeregisterNodeFunc) -> xmlDeregisterNodeFunc ; } unsafe extern "C" { pub fn xmlThrDefRegisterNodeDefault (func : xmlRegisterNodeFunc) -> xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn xmlThrDefDeregisterNodeDefault (func : xmlDeregisterNodeFunc) -> xmlDeregisterNodeFunc ; } unsafe extern "C" { pub fn xmlSetBufferAllocationScheme (scheme : xmlBufferAllocationScheme) ; } unsafe extern "C" { pub fn xmlGetBufferAllocationScheme () -> xmlBufferAllocationScheme ; } unsafe extern "C" { pub fn xmlBufferCreate () -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferCreateSize (size : usize) -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferCreateStatic (mem : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferResize (buf : * mut xmlBuffer , size : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferFree (buf : * mut xmlBuffer) ; } unsafe extern "C" { pub fn xmlBufferDump (file : * mut FILE , buf : * mut xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferAdd (buf : * mut xmlBuffer , str_ : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferAddHead (buf : * mut xmlBuffer , str_ : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferCat (buf : * mut xmlBuffer , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferCCat (buf : * mut xmlBuffer , str_ : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferShrink (buf : * mut xmlBuffer , len : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferGrow (buf : * mut xmlBuffer , len : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferEmpty (buf : * mut xmlBuffer) ; } unsafe extern "C" { pub fn xmlBufferContent (buf : * const xmlBuffer) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlBufferDetach (buf : * mut xmlBuffer) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufferSetAllocationScheme (buf : * mut xmlBuffer , scheme : xmlBufferAllocationScheme) ; } unsafe extern "C" { pub fn xmlBufferLength (buf : * const xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferWriteCHAR (buf : * mut xmlBuffer , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlBufferWriteChar (buf : * mut xmlBuffer , string : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlBufferWriteQuotedString (buf : * mut xmlBuffer , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlBufContent (buf : * const xmlBuf) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufEnd (buf : * mut xmlBuf) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufUse (buf : * mut xmlBuf) -> usize ; } unsafe extern "C" { pub fn xmlBufShrink (buf : * mut xmlBuf , len : usize) -> usize ; } pub type wchar_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [repr (align (16))] # [derive (Debug , Copy , Clone)] pub struct max_align_t { pub __clang_max_align_nonce1 : :: std :: os :: raw :: c_longlong , pub __bindgen_padding_0 : u64 , pub __clang_max_align_nonce2 : u128 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of max_align_t"] [:: std :: mem :: size_of :: < max_align_t > () - 32usize] ; ["Alignment of max_align_t"] [:: std :: mem :: align_of :: < max_align_t > () - 16usize] ; ["Offset of field: max_align_t::__clang_max_align_nonce1"] [:: std :: mem :: offset_of ! (max_align_t , __clang_max_align_nonce1) - 0usize] ; ["Offset of field: max_align_t::__clang_max_align_nonce2"] [:: std :: mem :: offset_of ! (max_align_t , __clang_max_align_nonce2) - 16usize] ; } ; # [doc = " Dictionary (pool for interned strings)"] pub type xmlDict = _xmlDict ; pub type xmlDictPtr = * mut xmlDict ; unsafe extern "C" { pub fn xmlInitializeDict () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictCreate () -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlDictSetLimit (dict : * mut xmlDict , limit : usize) -> usize ; } unsafe extern "C" { pub fn xmlDictGetUsage (dict : * mut xmlDict) -> usize ; } unsafe extern "C" { pub fn xmlDictCreateSub (sub : * mut xmlDict) -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlDictReference (dict : * mut xmlDict) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictFree (dict : * mut xmlDict) ; } unsafe extern "C" { pub fn xmlDictLookup (dict : * mut xmlDict , name : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictExists (dict : * mut xmlDict , name : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictQLookup (dict : * mut xmlDict , prefix : * const xmlChar , name : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictOwns (dict : * mut xmlDict , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictSize (dict : * mut xmlDict) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictCleanup () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlHashTable { _unused : [u8 ; 0] , } # [doc = " Hash table mapping strings to pointers\n\n Also supports lookup using two or three strings as key."] pub type xmlHashTable = _xmlHashTable ; pub type xmlHashTablePtr = * mut xmlHashTable ; # [doc = " Callback to free data from a hash.\n\n @param payload  the data in the hash\n @param name  the name associated"] pub type xmlHashDeallocator = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback to copy data from a hash.\n\n @param payload  the data in the hash\n @param name  the name associated\n @returns a copy of the data or NULL in case of error."] pub type xmlHashCopier = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback when scanning data in a hash with the simple scanner.\n\n @param payload  the data in the hash\n @param data  extra scanner data\n @param name  the name associated"] pub type xmlHashScanner = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , data : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback when scanning data in a hash with the full scanner.\n\n @param payload  the data in the hash\n @param data  extra scanner data\n @param name  the name associated\n @param name2  the second name associated\n @param name3  the third name associated"] pub type xmlHashScannerFull = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , data : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar) > ; unsafe extern "C" { pub fn xmlHashCreate (size : :: std :: os :: raw :: c_int) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashCreateDict (size : :: std :: os :: raw :: c_int , dict : * mut xmlDict) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashFree (hash : * mut xmlHashTable , dealloc : xmlHashDeallocator) ; } unsafe extern "C" { pub fn xmlHashDefaultDeallocator (entry : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlHashAdd (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAdd2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAdd3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry (hash : * mut xmlHashTable , name : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashLookup (hash : * mut xmlHashTable , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashLookup2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashLookup3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup2 (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar , prefix2 : * const xmlChar , name2 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup3 (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar , prefix2 : * const xmlChar , name2 : * const xmlChar , prefix3 : * const xmlChar , name3 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashCopySafe (hash : * mut xmlHashTable , copy : xmlHashCopier , dealloc : xmlHashDeallocator) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashCopy (hash : * mut xmlHashTable , copy : xmlHashCopier) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashSize (hash : * mut xmlHashTable) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashScan (hash : * mut xmlHashTable , scan : xmlHashScanner , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScan3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , scan : xmlHashScanner , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScanFull (hash : * mut xmlHashTable , scan : xmlHashScannerFull , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScanFull3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , scan : xmlHashScannerFull , data : * mut :: std :: os :: raw :: c_void) ; } # [doc = " Success"] pub const xmlErrorLevel_XML_ERR_NONE : xmlErrorLevel = 0 ; # [doc = " A warning\n\n When parsing XML, warnings are only reported to error\n handlers."] pub const xmlErrorLevel_XML_ERR_WARNING : xmlErrorLevel = 1 ; # [doc = " An error\n\n When parsing XML, this is used for recoverable errors like\n\n - namespace errors\n - validity errors when validating\n - certain undeclared entities\n - ID uniqueness and xml:id errors\n\n Note that some recoverable errors in the sense of the XML\n spec are reported as warnings.\n\n In other contexts, this may be used for unrecoverable\n errors."] pub const xmlErrorLevel_XML_ERR_ERROR : xmlErrorLevel = 2 ; # [doc = " A fatal error\n\n When parsing XML, a \"fatal error\" according to the XML spec.\n This typically means that the document isn't well-formed.\n\n This also includes OOM and I/O errors, resource limit\n exhaustion, unexpected errors from other libraries and\n invalid argument errors."] pub const xmlErrorLevel_XML_ERR_FATAL : xmlErrorLevel = 3 ; # [doc = " Indicates the level of an error"] pub type xmlErrorLevel = :: std :: os :: raw :: c_uint ; # [doc = " Unknown"] pub const xmlErrorDomain_XML_FROM_NONE : xmlErrorDomain = 0 ; # [doc = " The XML parser"] pub const xmlErrorDomain_XML_FROM_PARSER : xmlErrorDomain = 1 ; # [doc = " The tree module (unused)"] pub const xmlErrorDomain_XML_FROM_TREE : xmlErrorDomain = 2 ; # [doc = " The XML Namespace module"] pub const xmlErrorDomain_XML_FROM_NAMESPACE : xmlErrorDomain = 3 ; # [doc = " The XML DTD validation with parser context"] pub const xmlErrorDomain_XML_FROM_DTD : xmlErrorDomain = 4 ; # [doc = " The HTML parser"] pub const xmlErrorDomain_XML_FROM_HTML : xmlErrorDomain = 5 ; # [doc = " The memory allocator (unused)"] pub const xmlErrorDomain_XML_FROM_MEMORY : xmlErrorDomain = 6 ; # [doc = " The serialization code"] pub const xmlErrorDomain_XML_FROM_OUTPUT : xmlErrorDomain = 7 ; # [doc = " The Input/Output stack"] pub const xmlErrorDomain_XML_FROM_IO : xmlErrorDomain = 8 ; # [doc = " The FTP module (unused)"] pub const xmlErrorDomain_XML_FROM_FTP : xmlErrorDomain = 9 ; # [doc = " The HTTP module (unused)"] pub const xmlErrorDomain_XML_FROM_HTTP : xmlErrorDomain = 10 ; # [doc = " The XInclude processing"] pub const xmlErrorDomain_XML_FROM_XINCLUDE : xmlErrorDomain = 11 ; # [doc = " The XPath module"] pub const xmlErrorDomain_XML_FROM_XPATH : xmlErrorDomain = 12 ; # [doc = " The XPointer module"] pub const xmlErrorDomain_XML_FROM_XPOINTER : xmlErrorDomain = 13 ; # [doc = " The regular expressions module"] pub const xmlErrorDomain_XML_FROM_REGEXP : xmlErrorDomain = 14 ; # [doc = " The W3C XML Schemas Datatype module"] pub const xmlErrorDomain_XML_FROM_DATATYPE : xmlErrorDomain = 15 ; # [doc = " The W3C XML Schemas parser module"] pub const xmlErrorDomain_XML_FROM_SCHEMASP : xmlErrorDomain = 16 ; # [doc = " The W3C XML Schemas validation module"] pub const xmlErrorDomain_XML_FROM_SCHEMASV : xmlErrorDomain = 17 ; # [doc = " The Relax-NG parser module"] pub const xmlErrorDomain_XML_FROM_RELAXNGP : xmlErrorDomain = 18 ; # [doc = " The Relax-NG validator module"] pub const xmlErrorDomain_XML_FROM_RELAXNGV : xmlErrorDomain = 19 ; # [doc = " The Catalog module"] pub const xmlErrorDomain_XML_FROM_CATALOG : xmlErrorDomain = 20 ; # [doc = " The Canonicalization module"] pub const xmlErrorDomain_XML_FROM_C14N : xmlErrorDomain = 21 ; # [doc = " The XSLT engine from libxslt (unused)"] pub const xmlErrorDomain_XML_FROM_XSLT : xmlErrorDomain = 22 ; # [doc = " The XML DTD validation with valid context"] pub const xmlErrorDomain_XML_FROM_VALID : xmlErrorDomain = 23 ; # [doc = " The error checking module (unused)"] pub const xmlErrorDomain_XML_FROM_CHECK : xmlErrorDomain = 24 ; # [doc = " The xmlwriter module"] pub const xmlErrorDomain_XML_FROM_WRITER : xmlErrorDomain = 25 ; # [doc = " The dynamically loaded module module (unused)"] pub const xmlErrorDomain_XML_FROM_MODULE : xmlErrorDomain = 26 ; # [doc = " The module handling character conversion (unused)"] pub const xmlErrorDomain_XML_FROM_I18N : xmlErrorDomain = 27 ; # [doc = " The Schematron validator module"] pub const xmlErrorDomain_XML_FROM_SCHEMATRONV : xmlErrorDomain = 28 ; # [doc = " The buffers module (unused)"] pub const xmlErrorDomain_XML_FROM_BUFFER : xmlErrorDomain = 29 ; # [doc = " The URI module (unused)"] pub const xmlErrorDomain_XML_FROM_URI : xmlErrorDomain = 30 ; # [doc = " Indicates where an error may have come from"] pub type xmlErrorDomain = :: std :: os :: raw :: c_uint ; # [doc = " Structured error"] pub type xmlError = _xmlError ; pub type xmlErrorPtr = * mut xmlError ; # [doc = " An object containing information about an error."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlError { # [doc = " An xmlErrorDomain value."] pub domain : :: std :: os :: raw :: c_int , # [doc = " The error code, e.g. an xmlParserErrors."] pub code : :: std :: os :: raw :: c_int , # [doc = " Human-readable error message."] pub message : * mut :: std :: os :: raw :: c_char , # [doc = " Error level."] pub level : xmlErrorLevel , # [doc = " Filename if available"] pub file : * mut :: std :: os :: raw :: c_char , # [doc = " Line number if available"] pub line : :: std :: os :: raw :: c_int , # [doc = " Extra string information."] pub str1 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra string information."] pub str2 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra string information."] pub str3 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra number information."] pub int1 : :: std :: os :: raw :: c_int , # [doc = " Column number if available."] pub int2 : :: std :: os :: raw :: c_int , # [doc = " Parser context if available"] pub ctxt : * mut :: std :: os :: raw :: c_void , # [doc = " Node if available"] pub node : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlError"] [:: std :: mem :: size_of :: < _xmlError > () - 88usize] ; ["Alignment of _xmlError"] [:: std :: mem :: align_of :: < _xmlError > () - 8usize] ; ["Offset of field: _xmlError::domain"] [:: std :: mem :: offset_of ! (_xmlError , domain) - 0usize] ; ["Offset of field: _xmlError::code"] [:: std :: mem :: offset_of ! (_xmlError , code) - 4usize] ; ["Offset of field: _xmlError::message"] [:: std :: mem :: offset_of ! (_xmlError , message) - 8usize] ; ["Offset of field: _xmlError::level"] [:: std :: mem :: offset_of ! (_xmlError , level) - 16usize] ; ["Offset of field: _xmlError::file"] [:: std :: mem :: offset_of ! (_xmlError , file) - 24usize] ; ["Offset of field: _xmlError::line"] [:: std :: mem :: offset_of ! (_xmlError , line) - 32usize] ; ["Offset of field: _xmlError::str1"] [:: std :: mem :: offset_of ! (_xmlError , str1) - 40usize] ; ["Offset of field: _xmlError::str2"] [:: std :: mem :: offset_of ! (_xmlError , str2) - 48usize] ; ["Offset of field: _xmlError::str3"] [:: std :: mem :: offset_of ! (_xmlError , str3) - 56usize] ; ["Offset of field: _xmlError::int1"] [:: std :: mem :: offset_of ! (_xmlError , int1) - 64usize] ; ["Offset of field: _xmlError::int2"] [:: std :: mem :: offset_of ! (_xmlError , int2) - 68usize] ; ["Offset of field: _xmlError::ctxt"] [:: std :: mem :: offset_of ! (_xmlError , ctxt) - 72usize] ; ["Offset of field: _xmlError::node"] [:: std :: mem :: offset_of ! (_xmlError , node) - 80usize] ; } ; # [doc = " Success."] pub const xmlParserErrors_XML_ERR_OK : xmlParserErrors = 0 ; # [doc = " Internal assertion failure."] pub const xmlParserErrors_XML_ERR_INTERNAL_ERROR : xmlParserErrors = 1 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_NO_MEMORY : xmlParserErrors = 2 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_START : xmlParserErrors = 3 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_EMPTY : xmlParserErrors = 4 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_END : xmlParserErrors = 5 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_HEX_CHARREF : xmlParserErrors = 6 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_DEC_CHARREF : xmlParserErrors = 7 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_CHARREF : xmlParserErrors = 8 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_CHAR : xmlParserErrors = 9 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_AT_EOF : xmlParserErrors = 10 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_PROLOG : xmlParserErrors = 11 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_EPILOG : xmlParserErrors = 12 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_DTD : xmlParserErrors = 13 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_AT_EOF : xmlParserErrors = 14 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_PROLOG : xmlParserErrors = 15 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_EPILOG : xmlParserErrors = 16 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_DTD : xmlParserErrors = 17 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_AT_EOF : xmlParserErrors = 18 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_PROLOG : xmlParserErrors = 19 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_EPILOG : xmlParserErrors = 20 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_INT_SUBSET : xmlParserErrors = 21 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_NO_NAME : xmlParserErrors = 22 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_SEMICOL_MISSING : xmlParserErrors = 23 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_NO_NAME : xmlParserErrors = 24 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_SEMICOL_MISSING : xmlParserErrors = 25 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNDECLARED_ENTITY : xmlParserErrors = 26 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_WAR_UNDECLARED_ENTITY : xmlParserErrors = 27 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNPARSED_ENTITY : xmlParserErrors = 28 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITY_IS_EXTERNAL : xmlParserErrors = 29 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITY_IS_PARAMETER : xmlParserErrors = 30 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNKNOWN_ENCODING : xmlParserErrors = 31 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_UNSUPPORTED_ENCODING : xmlParserErrors = 32 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STRING_NOT_STARTED : xmlParserErrors = 33 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STRING_NOT_CLOSED : xmlParserErrors = 34 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NS_DECL_ERROR : xmlParserErrors = 35 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_NOT_STARTED : xmlParserErrors = 36 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_NOT_FINISHED : xmlParserErrors = 37 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LT_IN_ATTRIBUTE : xmlParserErrors = 38 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_NOT_STARTED : xmlParserErrors = 39 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_NOT_FINISHED : xmlParserErrors = 40 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_WITHOUT_VALUE : xmlParserErrors = 41 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_REDEFINED : xmlParserErrors = 42 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LITERAL_NOT_STARTED : xmlParserErrors = 43 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LITERAL_NOT_FINISHED : xmlParserErrors = 44 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_COMMENT_NOT_FINISHED : xmlParserErrors = 45 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PI_NOT_STARTED : xmlParserErrors = 46 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PI_NOT_FINISHED : xmlParserErrors = 47 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_NOT_STARTED : xmlParserErrors = 48 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_NOT_FINISHED : xmlParserErrors = 49 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTLIST_NOT_STARTED : xmlParserErrors = 50 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTLIST_NOT_FINISHED : xmlParserErrors = 51 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MIXED_NOT_STARTED : xmlParserErrors = 52 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MIXED_NOT_FINISHED : xmlParserErrors = 53 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ELEMCONTENT_NOT_STARTED : xmlParserErrors = 54 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ELEMCONTENT_NOT_FINISHED : xmlParserErrors = 55 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_XMLDECL_NOT_STARTED : xmlParserErrors = 56 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_XMLDECL_NOT_FINISHED : xmlParserErrors = 57 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_NOT_STARTED : xmlParserErrors = 58 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_NOT_FINISHED : xmlParserErrors = 59 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXT_SUBSET_NOT_FINISHED : xmlParserErrors = 60 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_DOCTYPE_NOT_FINISHED : xmlParserErrors = 61 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MISPLACED_CDATA_END : xmlParserErrors = 62 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CDATA_NOT_FINISHED : xmlParserErrors = 63 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_RESERVED_XML_NAME : xmlParserErrors = 64 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_SPACE_REQUIRED : xmlParserErrors = 65 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_SEPARATOR_REQUIRED : xmlParserErrors = 66 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NMTOKEN_REQUIRED : xmlParserErrors = 67 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NAME_REQUIRED : xmlParserErrors = 68 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PCDATA_REQUIRED : xmlParserErrors = 69 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_URI_REQUIRED : xmlParserErrors = 70 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PUBID_REQUIRED : xmlParserErrors = 71 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LT_REQUIRED : xmlParserErrors = 72 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_GT_REQUIRED : xmlParserErrors = 73 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LTSLASH_REQUIRED : xmlParserErrors = 74 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EQUAL_REQUIRED : xmlParserErrors = 75 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_TAG_NAME_MISMATCH : xmlParserErrors = 76 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_TAG_NOT_FINISHED : xmlParserErrors = 77 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STANDALONE_VALUE : xmlParserErrors = 78 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENCODING_NAME : xmlParserErrors = 79 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_HYPHEN_IN_COMMENT : xmlParserErrors = 80 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_INVALID_ENCODING : xmlParserErrors = 81 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXT_ENTITY_STANDALONE : xmlParserErrors = 82 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_INVALID : xmlParserErrors = 83 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VALUE_REQUIRED : xmlParserErrors = 84 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOT_WELL_BALANCED : xmlParserErrors = 85 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXTRA_CONTENT : xmlParserErrors = 86 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_CHAR_ERROR : xmlParserErrors = 87 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_PE_INTERNAL : xmlParserErrors = 88 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_LOOP : xmlParserErrors = 89 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_BOUNDARY : xmlParserErrors = 90 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_INVALID_URI : xmlParserErrors = 91 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_URI_FRAGMENT : xmlParserErrors = 92 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_CATALOG_PI : xmlParserErrors = 93 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NO_DTD : xmlParserErrors = 94 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_INVALID_KEYWORD : xmlParserErrors = 95 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VERSION_MISSING : xmlParserErrors = 96 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_UNKNOWN_VERSION : xmlParserErrors = 97 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_LANG_VALUE : xmlParserErrors = 98 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_URI : xmlParserErrors = 99 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_URI_RELATIVE : xmlParserErrors = 100 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MISSING_ENCODING : xmlParserErrors = 101 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_SPACE_VALUE : xmlParserErrors = 102 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOT_STANDALONE : xmlParserErrors = 103 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_PROCESSING : xmlParserErrors = 104 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_PROCESSING : xmlParserErrors = 105 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_COLUMN : xmlParserErrors = 106 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_ENTITY_REDEFINED : xmlParserErrors = 107 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_UNKNOWN_VERSION : xmlParserErrors = 108 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VERSION_MISMATCH : xmlParserErrors = 109 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NAME_TOO_LONG : xmlParserErrors = 110 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_USER_STOP : xmlParserErrors = 111 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_COMMENT_ABRUPTLY_ENDED : xmlParserErrors = 112 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_ENCODING_MISMATCH : xmlParserErrors = 113 ; # [doc = " Internal resource limit like maximum amplification\n factor exceeded."] pub const xmlParserErrors_XML_ERR_RESOURCE_LIMIT : xmlParserErrors = 114 ; # [doc = " Invalid argument."] pub const xmlParserErrors_XML_ERR_ARGUMENT : xmlParserErrors = 115 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_SYSTEM : xmlParserErrors = 116 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_REDECL_PREDEF_ENTITY : xmlParserErrors = 117 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_INT_SUBSET_NOT_FINISHED : xmlParserErrors = 118 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_XML_NAMESPACE : xmlParserErrors = 200 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_UNDEFINED_NAMESPACE : xmlParserErrors = 201 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_QNAME : xmlParserErrors = 202 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_ATTRIBUTE_REDEFINED : xmlParserErrors = 203 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_EMPTY : xmlParserErrors = 204 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_COLON : xmlParserErrors = 205 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_DEFAULT : xmlParserErrors = 500 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_REDEFINED : xmlParserErrors = 501 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_VALUE : xmlParserErrors = 502 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_ERROR : xmlParserErrors = 503 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_MODEL : xmlParserErrors = 504 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_NOT_DETERMINIST : xmlParserErrors = 505 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_DIFFERENT_PREFIX : xmlParserErrors = 506 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_DEFAULT_NAMESPACE : xmlParserErrors = 507 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_NAMESPACE : xmlParserErrors = 508 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_REDEFINED : xmlParserErrors = 509 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_EMPTY_NOTATION : xmlParserErrors = 510 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ENTITY_TYPE : xmlParserErrors = 511 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_FIXED : xmlParserErrors = 512 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_REDEFINED : xmlParserErrors = 513 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_SUBSET : xmlParserErrors = 514 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_INVALID_CHILD : xmlParserErrors = 515 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_INVALID_DEFAULT : xmlParserErrors = 516 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_LOAD_ERROR : xmlParserErrors = 517 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MISSING_ATTRIBUTE : xmlParserErrors = 518 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MIXED_CORRUPT : xmlParserErrors = 519 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MULTIPLE_ID : xmlParserErrors = 520 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_DOC : xmlParserErrors = 521 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_DTD : xmlParserErrors = 522 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_ELEM_NAME : xmlParserErrors = 523 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_PREFIX : xmlParserErrors = 524 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_ROOT : xmlParserErrors = 525 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOTATION_REDEFINED : xmlParserErrors = 526 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOTATION_VALUE : xmlParserErrors = 527 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_EMPTY : xmlParserErrors = 528 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_PCDATA : xmlParserErrors = 529 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_STANDALONE : xmlParserErrors = 530 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ROOT_NAME : xmlParserErrors = 531 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_STANDALONE_WHITE_SPACE : xmlParserErrors = 532 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ATTRIBUTE : xmlParserErrors = 533 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ELEM : xmlParserErrors = 534 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ENTITY : xmlParserErrors = 535 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ID : xmlParserErrors = 536 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_NOTATION : xmlParserErrors = 537 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_STANDALONE_DEFAULTED : xmlParserErrors = 538 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_XMLID_VALUE : xmlParserErrors = 539 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_XMLID_TYPE : xmlParserErrors = 540 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_DUP_TOKEN : xmlParserErrors = 541 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_STRUCURE_ERROR : xmlParserErrors = 800 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_UNKNOWN_TAG : xmlParserErrors = 801 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_INCORRECTLY_OPENED_COMMENT : xmlParserErrors = 802 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ANYNAME_ATTR_ANCESTOR : xmlParserErrors = 1000 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTR_CONFLICT : xmlParserErrors = 1001 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_CHILDREN : xmlParserErrors = 1002 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_CONTENT : xmlParserErrors = 1003 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_EMPTY : xmlParserErrors = 1004 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_NOOP : xmlParserErrors = 1005 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CHOICE_CONTENT : xmlParserErrors = 1006 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CHOICE_EMPTY : xmlParserErrors = 1007 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CREATE_FAILURE : xmlParserErrors = 1008 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DATA_CONTENT : xmlParserErrors = 1009 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEF_CHOICE_AND_INTERLEAVE : xmlParserErrors = 1010 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_CREATE_FAILED : xmlParserErrors = 1011 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_EMPTY : xmlParserErrors = 1012 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_MISSING : xmlParserErrors = 1013 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_NAME_MISSING : xmlParserErrors = 1014 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_CONTENT_EMPTY : xmlParserErrors = 1015 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_CONTENT_ERROR : xmlParserErrors = 1016 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_EMPTY : xmlParserErrors = 1017 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_CONTENT : xmlParserErrors = 1018 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_NAME : xmlParserErrors = 1019 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_NO_CONTENT : xmlParserErrors = 1020 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_TEXT_CONFLICT : xmlParserErrors = 1021 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY : xmlParserErrors = 1022 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_CONSTRUCT : xmlParserErrors = 1023 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_CONTENT : xmlParserErrors = 1024 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_NOT_EMPTY : xmlParserErrors = 1025 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ERROR_TYPE_LIB : xmlParserErrors = 1026 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_EMPTY : xmlParserErrors = 1027 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_MISSING : xmlParserErrors = 1028 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_MULTIPLE : xmlParserErrors = 1029 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_NO_CONTENT : xmlParserErrors = 1030 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNALREF_EMTPY : xmlParserErrors = 1031 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNAL_REF_FAILURE : xmlParserErrors = 1032 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNALREF_RECURSE : xmlParserErrors = 1033 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_FORBIDDEN_ATTRIBUTE : xmlParserErrors = 1034 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_FOREIGN_ELEMENT : xmlParserErrors = 1035 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_CONTENT : xmlParserErrors = 1036 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_EMPTY : xmlParserErrors = 1037 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_MISSING : xmlParserErrors = 1038 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_NO_START : xmlParserErrors = 1039 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GROUP_ATTR_CONFLICT : xmlParserErrors = 1040 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_HREF_ERROR : xmlParserErrors = 1041 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_EMPTY : xmlParserErrors = 1042 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_FAILURE : xmlParserErrors = 1043 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_RECURSE : xmlParserErrors = 1044 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_ADD : xmlParserErrors = 1045 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_CREATE_FAILED : xmlParserErrors = 1046 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_EMPTY : xmlParserErrors = 1047 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_NO_CONTENT : xmlParserErrors = 1048 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_DEFINE_NAME : xmlParserErrors = 1049 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_URI : xmlParserErrors = 1050 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_VALUE : xmlParserErrors = 1051 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_MISSING_HREF : xmlParserErrors = 1052 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NAME_MISSING : xmlParserErrors = 1053 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NEED_COMBINE : xmlParserErrors = 1054 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NOTALLOWED_NOT_EMPTY : xmlParserErrors = 1055 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NSNAME_ATTR_ANCESTOR : xmlParserErrors = 1056 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NSNAME_NO_NS : xmlParserErrors = 1057 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARAM_FORBIDDEN : xmlParserErrors = 1058 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARAM_NAME_MISSING : xmlParserErrors = 1059 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_CREATE_FAILED : xmlParserErrors = 1060 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NAME_INVALID : xmlParserErrors = 1061 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NO_NAME : xmlParserErrors = 1062 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NO_PARENT : xmlParserErrors = 1063 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NOT_EMPTY : xmlParserErrors = 1064 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARSE_ERROR : xmlParserErrors = 1065 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ANYNAME_EXCEPT_ANYNAME : xmlParserErrors = 1066 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ATTR_ATTR : xmlParserErrors = 1067 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ATTR_ELEM : xmlParserErrors = 1068 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ATTR : xmlParserErrors = 1069 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ELEM : xmlParserErrors = 1070 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_EMPTY : xmlParserErrors = 1071 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_GROUP : xmlParserErrors = 1072 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_INTERLEAVE : xmlParserErrors = 1073 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_LIST : xmlParserErrors = 1074 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ONEMORE : xmlParserErrors = 1075 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_REF : xmlParserErrors = 1076 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_TEXT : xmlParserErrors = 1077 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_ATTR : xmlParserErrors = 1078 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_ELEM : xmlParserErrors = 1079 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_INTERLEAVE : xmlParserErrors = 1080 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_LIST : xmlParserErrors = 1081 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_REF : xmlParserErrors = 1082 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_TEXT : xmlParserErrors = 1083 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_NSNAME_EXCEPT_ANYNAME : xmlParserErrors = 1084 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_NSNAME_EXCEPT_NSNAME : xmlParserErrors = 1085 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ONEMORE_GROUP_ATTR : xmlParserErrors = 1086 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ONEMORE_INTERLEAVE_ATTR : xmlParserErrors = 1087 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_ATTR : xmlParserErrors = 1088 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_DATA : xmlParserErrors = 1089 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_EMPTY : xmlParserErrors = 1090 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_GROUP : xmlParserErrors = 1091 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_INTERLEAVE : xmlParserErrors = 1092 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_LIST : xmlParserErrors = 1093 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_ONEMORE : xmlParserErrors = 1094 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_TEXT : xmlParserErrors = 1095 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_VALUE : xmlParserErrors = 1096 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PREFIX_UNDEFINED : xmlParserErrors = 1097 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_CREATE_FAILED : xmlParserErrors = 1098 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_CYCLE : xmlParserErrors = 1099 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NAME_INVALID : xmlParserErrors = 1100 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NO_DEF : xmlParserErrors = 1101 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NO_NAME : xmlParserErrors = 1102 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NOT_EMPTY : xmlParserErrors = 1103 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_CHOICE_AND_INTERLEAVE : xmlParserErrors = 1104 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_CONTENT : xmlParserErrors = 1105 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_EMPTY : xmlParserErrors = 1106 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_MISSING : xmlParserErrors = 1107 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TEXT_EXPECTED : xmlParserErrors = 1108 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TEXT_HAS_CHILD : xmlParserErrors = 1109 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_MISSING : xmlParserErrors = 1110 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_NOT_FOUND : xmlParserErrors = 1111 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_VALUE : xmlParserErrors = 1112 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_ATTRIBUTE : xmlParserErrors = 1113 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_COMBINE : xmlParserErrors = 1114 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_CONSTRUCT : xmlParserErrors = 1115 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_TYPE_LIB : xmlParserErrors = 1116 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_URI_FRAGMENT : xmlParserErrors = 1117 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_URI_NOT_ABSOLUTE : xmlParserErrors = 1118 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_VALUE_EMPTY : xmlParserErrors = 1119 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_VALUE_NO_CONTENT : xmlParserErrors = 1120 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_XMLNS_NAME : xmlParserErrors = 1121 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_XML_NS : xmlParserErrors = 1122 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_EXPRESSION_OK : xmlParserErrors = 1200 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_NUMBER_ERROR : xmlParserErrors = 1201 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNFINISHED_LITERAL_ERROR : xmlParserErrors = 1202 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_START_LITERAL_ERROR : xmlParserErrors = 1203 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_VARIABLE_REF_ERROR : xmlParserErrors = 1204 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNDEF_VARIABLE_ERROR : xmlParserErrors = 1205 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_PREDICATE_ERROR : xmlParserErrors = 1206 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_EXPR_ERROR : xmlParserErrors = 1207 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNCLOSED_ERROR : xmlParserErrors = 1208 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNKNOWN_FUNC_ERROR : xmlParserErrors = 1209 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_OPERAND : xmlParserErrors = 1210 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_TYPE : xmlParserErrors = 1211 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_ARITY : xmlParserErrors = 1212 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CTXT_SIZE : xmlParserErrors = 1213 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CTXT_POSITION : xmlParserErrors = 1214 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_MEMORY_ERROR : xmlParserErrors = 1215 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_SYNTAX_ERROR : xmlParserErrors = 1216 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_RESOURCE_ERROR : xmlParserErrors = 1217 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_SUB_RESOURCE_ERROR : xmlParserErrors = 1218 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNDEF_PREFIX_ERROR : xmlParserErrors = 1219 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_ENCODING_ERROR : xmlParserErrors = 1220 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CHAR_ERROR : xmlParserErrors = 1221 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_INVALID_HEX : xmlParserErrors = 1300 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_INVALID_DEC : xmlParserErrors = 1301 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_UNTERMINATED_ENTITY : xmlParserErrors = 1302 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_NOT_UTF8 : xmlParserErrors = 1303 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_NOT_UTF8 : xmlParserErrors = 1400 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_CHAR_INVALID : xmlParserErrors = 1401 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_NO_DOCTYPE : xmlParserErrors = 1402 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_UNKNOWN_ENCODING : xmlParserErrors = 1403 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_REGEXP_COMPILE_ERROR : xmlParserErrors = 1450 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_UNKNOWN : xmlParserErrors = 1500 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EACCES : xmlParserErrors = 1501 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EAGAIN : xmlParserErrors = 1502 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBADF : xmlParserErrors = 1503 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBADMSG : xmlParserErrors = 1504 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBUSY : xmlParserErrors = 1505 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ECANCELED : xmlParserErrors = 1506 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ECHILD : xmlParserErrors = 1507 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EDEADLK : xmlParserErrors = 1508 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EDOM : xmlParserErrors = 1509 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EEXIST : xmlParserErrors = 1510 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EFAULT : xmlParserErrors = 1511 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EFBIG : xmlParserErrors = 1512 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINPROGRESS : xmlParserErrors = 1513 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINTR : xmlParserErrors = 1514 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINVAL : xmlParserErrors = 1515 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EIO : xmlParserErrors = 1516 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EISDIR : xmlParserErrors = 1517 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMFILE : xmlParserErrors = 1518 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMLINK : xmlParserErrors = 1519 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMSGSIZE : xmlParserErrors = 1520 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENAMETOOLONG : xmlParserErrors = 1521 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENFILE : xmlParserErrors = 1522 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENODEV : xmlParserErrors = 1523 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOENT : xmlParserErrors = 1524 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOEXEC : xmlParserErrors = 1525 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOLCK : xmlParserErrors = 1526 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOMEM : xmlParserErrors = 1527 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOSPC : xmlParserErrors = 1528 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOSYS : xmlParserErrors = 1529 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTDIR : xmlParserErrors = 1530 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTEMPTY : xmlParserErrors = 1531 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTSUP : xmlParserErrors = 1532 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTTY : xmlParserErrors = 1533 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENXIO : xmlParserErrors = 1534 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EPERM : xmlParserErrors = 1535 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EPIPE : xmlParserErrors = 1536 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ERANGE : xmlParserErrors = 1537 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EROFS : xmlParserErrors = 1538 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ESPIPE : xmlParserErrors = 1539 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ESRCH : xmlParserErrors = 1540 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ETIMEDOUT : xmlParserErrors = 1541 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EXDEV : xmlParserErrors = 1542 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_NETWORK_ATTEMPT : xmlParserErrors = 1543 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENCODER : xmlParserErrors = 1544 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_FLUSH : xmlParserErrors = 1545 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_WRITE : xmlParserErrors = 1546 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_NO_INPUT : xmlParserErrors = 1547 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_BUFFER_FULL : xmlParserErrors = 1548 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_LOAD_ERROR : xmlParserErrors = 1549 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTSOCK : xmlParserErrors = 1550 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EISCONN : xmlParserErrors = 1551 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ECONNREFUSED : xmlParserErrors = 1552 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENETUNREACH : xmlParserErrors = 1553 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EADDRINUSE : xmlParserErrors = 1554 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EALREADY : xmlParserErrors = 1555 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EAFNOSUPPORT : xmlParserErrors = 1556 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_UNSUPPORTED_PROTOCOL : xmlParserErrors = 1557 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_RECURSION : xmlParserErrors = 1600 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_PARSE_VALUE : xmlParserErrors = 1601 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_ENTITY_DEF_MISMATCH : xmlParserErrors = 1602 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_NO_HREF : xmlParserErrors = 1603 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_NO_FALLBACK : xmlParserErrors = 1604 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_HREF_URI : xmlParserErrors = 1605 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_TEXT_FRAGMENT : xmlParserErrors = 1606 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_TEXT_DOCUMENT : xmlParserErrors = 1607 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_INVALID_CHAR : xmlParserErrors = 1608 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_BUILD_FAILED : xmlParserErrors = 1609 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_UNKNOWN_ENCODING : xmlParserErrors = 1610 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_MULTIPLE_ROOT : xmlParserErrors = 1611 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_XPTR_FAILED : xmlParserErrors = 1612 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_XPTR_RESULT : xmlParserErrors = 1613 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_INCLUDE_IN_INCLUDE : xmlParserErrors = 1614 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FALLBACKS_IN_INCLUDE : xmlParserErrors = 1615 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FALLBACK_NOT_IN_INCLUDE : xmlParserErrors = 1616 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_DEPRECATED_NS : xmlParserErrors = 1617 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FRAGMENT_ID : xmlParserErrors = 1618 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_MISSING_ATTR : xmlParserErrors = 1650 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_ENTRY_BROKEN : xmlParserErrors = 1651 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_PREFER_VALUE : xmlParserErrors = 1652 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_NOT_CATALOG : xmlParserErrors = 1653 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_RECURSION : xmlParserErrors = 1654 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_PREFIX_UNDEFINED : xmlParserErrors = 1700 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTRFORMDEFAULT_VALUE : xmlParserErrors = 1701 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTRGRP_NONAME_NOREF : xmlParserErrors = 1702 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTR_NONAME_NOREF : xmlParserErrors = 1703 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COMPLEXTYPE_NONAME_NOREF : xmlParserErrors = 1704 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEMFORMDEFAULT_VALUE : xmlParserErrors = 1705 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEM_NONAME_NOREF : xmlParserErrors = 1706 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_EXTENSION_NO_BASE : xmlParserErrors = 1707 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FACET_NO_VALUE : xmlParserErrors = 1708 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_BUILD_IMPORT : xmlParserErrors = 1709 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_GROUP_NONAME_NOREF : xmlParserErrors = 1710 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_NAMESPACE_NOT_URI : xmlParserErrors = 1711 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_REDEFINE_NSNAME : xmlParserErrors = 1712 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_SCHEMA_NOT_URI : xmlParserErrors = 1713 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_BOOLEAN : xmlParserErrors = 1714 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ENUM : xmlParserErrors = 1715 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_FACET : xmlParserErrors = 1716 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_FACET_VALUE : xmlParserErrors = 1717 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_MAXOCCURS : xmlParserErrors = 1718 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_MINOCCURS : xmlParserErrors = 1719 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_REF_AND_SUBTYPE : xmlParserErrors = 1720 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_WHITE_SPACE : xmlParserErrors = 1721 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOATTR_NOREF : xmlParserErrors = 1722 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTATION_NO_NAME : xmlParserErrors = 1723 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTYPE_NOREF : xmlParserErrors = 1724 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REF_AND_SUBTYPE : xmlParserErrors = 1725 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_RESTRICTION_NONAME_NOREF : xmlParserErrors = 1726 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SIMPLETYPE_NONAME : xmlParserErrors = 1727 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_TYPE_AND_SUBTYPE : xmlParserErrors = 1728 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ALL_CHILD : xmlParserErrors = 1729 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ANYATTRIBUTE_CHILD : xmlParserErrors = 1730 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTR_CHILD : xmlParserErrors = 1731 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTRGRP_CHILD : xmlParserErrors = 1732 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTRIBUTE_GROUP : xmlParserErrors = 1733 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_BASE_TYPE : xmlParserErrors = 1734 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_CHOICE_CHILD : xmlParserErrors = 1735 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_COMPLEXCONTENT_CHILD : xmlParserErrors = 1736 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_COMPLEXTYPE_CHILD : xmlParserErrors = 1737 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ELEM_CHILD : xmlParserErrors = 1738 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_EXTENSION_CHILD : xmlParserErrors = 1739 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_FACET_CHILD : xmlParserErrors = 1740 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_FACET_TYPE : xmlParserErrors = 1741 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_GROUP_CHILD : xmlParserErrors = 1742 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_IMPORT_CHILD : xmlParserErrors = 1743 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_LIST_CHILD : xmlParserErrors = 1744 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_NOTATION_CHILD : xmlParserErrors = 1745 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_PROCESSCONTENT_CHILD : xmlParserErrors = 1746 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_REF : xmlParserErrors = 1747 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_RESTRICTION_CHILD : xmlParserErrors = 1748 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SCHEMAS_CHILD : xmlParserErrors = 1749 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SEQUENCE_CHILD : xmlParserErrors = 1750 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SIMPLECONTENT_CHILD : xmlParserErrors = 1751 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SIMPLETYPE_CHILD : xmlParserErrors = 1752 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_TYPE : xmlParserErrors = 1753 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_UNION_CHILD : xmlParserErrors = 1754 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEM_DEFAULT_FIXED : xmlParserErrors = 1755 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REGEXP_INVALID : xmlParserErrors = 1756 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_LOAD : xmlParserErrors = 1757 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTHING_TO_PARSE : xmlParserErrors = 1758 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOROOT : xmlParserErrors = 1759 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_GROUP : xmlParserErrors = 1760 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_TYPE : xmlParserErrors = 1761 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ELEMENT : xmlParserErrors = 1762 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ATTRGROUP : xmlParserErrors = 1763 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ATTR : xmlParserErrors = 1764 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_NOTATION : xmlParserErrors = 1765 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_PARSE : xmlParserErrors = 1766 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_PREFIX : xmlParserErrors = 1767 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DEF_AND_PREFIX : xmlParserErrors = 1768 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_INCLUDE_CHILD : xmlParserErrors = 1769 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INCLUDE_SCHEMA_NOT_URI : xmlParserErrors = 1770 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INCLUDE_SCHEMA_NO_URI : xmlParserErrors = 1771 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOT_SCHEMA : xmlParserErrors = 1772 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_MEMBER_TYPE : xmlParserErrors = 1773 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_USE : xmlParserErrors = 1774 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_RECURSIVE : xmlParserErrors = 1775 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPE : xmlParserErrors = 1776 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_COMBINATION : xmlParserErrors = 1777 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_INLINE_COMBINATION : xmlParserErrors = 1778 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MISSING_SIMPLETYPE_CHILD : xmlParserErrors = 1779 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_NAME : xmlParserErrors = 1780 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REF_AND_CONTENT : xmlParserErrors = 1781 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_1 : xmlParserErrors = 1782 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_2 : xmlParserErrors = 1783 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_3 : xmlParserErrors = 1784 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_4 : xmlParserErrors = 1785 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_5 : xmlParserErrors = 1786 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_1 : xmlParserErrors = 1787 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_1 : xmlParserErrors = 1788 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_2 : xmlParserErrors = 1789 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_2 : xmlParserErrors = 1790 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_3 : xmlParserErrors = 1791 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WILDCARD_INVALID_NS_MEMBER : xmlParserErrors = 1792 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INTERSECTION_NOT_EXPRESSIBLE : xmlParserErrors = 1793 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNION_NOT_EXPRESSIBLE : xmlParserErrors = 1794 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_3_1 : xmlParserErrors = 1795 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_3_2 : xmlParserErrors = 1796 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_1 : xmlParserErrors = 1797 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_2 : xmlParserErrors = 1798 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_3 : xmlParserErrors = 1799 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_3 : xmlParserErrors = 1800 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOROOT : xmlParserErrors = 1801 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_UNDECLAREDELEM : xmlParserErrors = 1802 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTTOPLEVEL : xmlParserErrors = 1803 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_MISSING : xmlParserErrors = 1804 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_WRONGELEM : xmlParserErrors = 1805 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTYPE : xmlParserErrors = 1806 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOROLLBACK : xmlParserErrors = 1807 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ISABSTRACT : xmlParserErrors = 1808 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTEMPTY : xmlParserErrors = 1809 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ELEMCONT : xmlParserErrors = 1810 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_HAVEDEFAULT : xmlParserErrors = 1811 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTNILLABLE : xmlParserErrors = 1812 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_EXTRACONTENT : xmlParserErrors = 1813 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INVALIDATTR : xmlParserErrors = 1814 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INVALIDELEM : xmlParserErrors = 1815 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTDETERMINIST : xmlParserErrors = 1816 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CONSTRUCT : xmlParserErrors = 1817 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INTERNAL : xmlParserErrors = 1818 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTSIMPLE : xmlParserErrors = 1819 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ATTRUNKNOWN : xmlParserErrors = 1820 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ATTRINVALID : xmlParserErrors = 1821 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_VALUE : xmlParserErrors = 1822 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_FACET : xmlParserErrors = 1823 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_1 : xmlParserErrors = 1824 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_2 : xmlParserErrors = 1825 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_3 : xmlParserErrors = 1826 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_3_1_1 : xmlParserErrors = 1827 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_3_1_2 : xmlParserErrors = 1828 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_FACET_VALID : xmlParserErrors = 1829 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_LENGTH_VALID : xmlParserErrors = 1830 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MINLENGTH_VALID : xmlParserErrors = 1831 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXLENGTH_VALID : xmlParserErrors = 1832 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MININCLUSIVE_VALID : xmlParserErrors = 1833 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXINCLUSIVE_VALID : xmlParserErrors = 1834 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MINEXCLUSIVE_VALID : xmlParserErrors = 1835 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXEXCLUSIVE_VALID : xmlParserErrors = 1836 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TOTALDIGITS_VALID : xmlParserErrors = 1837 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_FRACTIONDIGITS_VALID : xmlParserErrors = 1838 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_PATTERN_VALID : xmlParserErrors = 1839 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ENUMERATION_VALID : xmlParserErrors = 1840 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_1 : xmlParserErrors = 1841 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_2 : xmlParserErrors = 1842 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_3 : xmlParserErrors = 1843 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_4 : xmlParserErrors = 1844 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_1 : xmlParserErrors = 1845 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_2 : xmlParserErrors = 1846 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_1 : xmlParserErrors = 1847 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_2_1 : xmlParserErrors = 1848 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_2_2 : xmlParserErrors = 1849 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_1 : xmlParserErrors = 1850 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_2 : xmlParserErrors = 1851 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_3 : xmlParserErrors = 1852 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_1_1 : xmlParserErrors = 1853 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_1_2 : xmlParserErrors = 1854 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_1 : xmlParserErrors = 1855 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_1 : xmlParserErrors = 1856 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_2_1 : xmlParserErrors = 1857 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_2_2 : xmlParserErrors = 1858 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_6 : xmlParserErrors = 1859 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_7 : xmlParserErrors = 1860 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_1 : xmlParserErrors = 1861 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_2 : xmlParserErrors = 1862 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_3 : xmlParserErrors = 1863 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_4 : xmlParserErrors = 1864 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_1 : xmlParserErrors = 1865 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_1 : xmlParserErrors = 1866 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_2 : xmlParserErrors = 1867 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_4 : xmlParserErrors = 1868 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_5_1 : xmlParserErrors = 1869 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_5_2 : xmlParserErrors = 1870 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ELEMENT_CONTENT : xmlParserErrors = 1871 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_DOCUMENT_ELEMENT_MISSING : xmlParserErrors = 1872 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_1 : xmlParserErrors = 1873 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_AU : xmlParserErrors = 1874 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_1 : xmlParserErrors = 1875 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_2 : xmlParserErrors = 1876 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_IDC : xmlParserErrors = 1877 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_WILDCARD : xmlParserErrors = 1878 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_MISC : xmlParserErrors = 1879 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_UNKNOWN_SCHEME : xmlParserErrors = 1900 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_CHILDSEQ_START : xmlParserErrors = 1901 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_EVAL_FAILED : xmlParserErrors = 1902 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_EXTRA_OBJECTS : xmlParserErrors = 1903 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_CREATE_CTXT : xmlParserErrors = 1950 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_REQUIRES_UTF8 : xmlParserErrors = 1951 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_CREATE_STACK : xmlParserErrors = 1952 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_INVALID_NODE : xmlParserErrors = 1953 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_UNKNOW_NODE : xmlParserErrors = 1954 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_RELATIVE_NAMESPACE : xmlParserErrors = 1955 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_PASV_ANSWER : xmlParserErrors = 2000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_EPSV_ANSWER : xmlParserErrors = 2001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_ACCNT : xmlParserErrors = 2002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_URL_SYNTAX : xmlParserErrors = 2003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_URL_SYNTAX : xmlParserErrors = 2020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_USE_IP : xmlParserErrors = 2021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_UNKNOWN_HOST : xmlParserErrors = 2022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_1 : xmlParserErrors = 3000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_2 : xmlParserErrors = 3001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_3 : xmlParserErrors = 3002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_4 : xmlParserErrors = 3003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_RESOLVE : xmlParserErrors = 3004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE : xmlParserErrors = 3005 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE : xmlParserErrors = 3006 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPES : xmlParserErrors = 3007 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_1 : xmlParserErrors = 3008 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_2 : xmlParserErrors = 3009 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_3 : xmlParserErrors = 3010 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_1 : xmlParserErrors = 3011 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_2 : xmlParserErrors = 3012 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_3_1 : xmlParserErrors = 3013 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_3_2 : xmlParserErrors = 3014 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_1 : xmlParserErrors = 3015 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_1 : xmlParserErrors = 3016 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_2 : xmlParserErrors = 3017 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_1 : xmlParserErrors = 3018 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_2 : xmlParserErrors = 3019 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_3 : xmlParserErrors = 3020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_4 : xmlParserErrors = 3021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_5 : xmlParserErrors = 3022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_1 : xmlParserErrors = 3023 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1 : xmlParserErrors = 3024 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1_2 : xmlParserErrors = 3025 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_2 : xmlParserErrors = 3026 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_1 : xmlParserErrors = 3027 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_3 : xmlParserErrors = 3028 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_4 : xmlParserErrors = 3029 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_5 : xmlParserErrors = 3030 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_DERIVED_OK_2_1 : xmlParserErrors = 3031 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_DERIVED_OK_2_2 : xmlParserErrors = 3032 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ELEM_NOT_ALLOWED : xmlParserErrors = 3033 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ELEM_MISSING : xmlParserErrors = 3034 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_NOT_ALLOWED : xmlParserErrors = 3035 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_MISSING : xmlParserErrors = 3036 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_INVALID_VALUE : xmlParserErrors = 3037 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_1 : xmlParserErrors = 3038 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_2_1 : xmlParserErrors = 3039 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_2_2 : xmlParserErrors = 3040 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_3 : xmlParserErrors = 3041 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_1 : xmlParserErrors = 3042 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_2_1 : xmlParserErrors = 3043 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_2_2 : xmlParserErrors = 3044 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_2 : xmlParserErrors = 3045 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_3 : xmlParserErrors = 3046 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_4 : xmlParserErrors = 3047 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_5 : xmlParserErrors = 3048 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_6 : xmlParserErrors = 3049 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_INCLUDE : xmlParserErrors = 3050 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_1 : xmlParserErrors = 3051 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_2 : xmlParserErrors = 3052 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_3_1 : xmlParserErrors = 3053 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_3_2 : xmlParserErrors = 3054 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_4 : xmlParserErrors = 3055 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NO_XMLNS : xmlParserErrors = 3056 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NO_XSI : xmlParserErrors = 3057 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_1 : xmlParserErrors = 3058 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_1 : xmlParserErrors = 3059 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_2_1 : xmlParserErrors = 3060 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_2_2 : xmlParserErrors = 3061 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CVC_SIMPLE_TYPE : xmlParserErrors = 3062 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_1 : xmlParserErrors = 3063 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_1_1 : xmlParserErrors = 3064 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_1_2 : xmlParserErrors = 3065 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2 : xmlParserErrors = 3066 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2_1 : xmlParserErrors = 3067 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2_2 : xmlParserErrors = 3068 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INTERNAL : xmlParserErrors = 3069 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOT_DETERMINISTIC : xmlParserErrors = 3070 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_1 : xmlParserErrors = 3071 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_2 : xmlParserErrors = 3072 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_3 : xmlParserErrors = 3073 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MG_PROPS_CORRECT_1 : xmlParserErrors = 3074 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MG_PROPS_CORRECT_2 : xmlParserErrors = 3075 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_CT_1 : xmlParserErrors = 3076 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_3 : xmlParserErrors = 3077 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AU_PROPS_CORRECT_2 : xmlParserErrors = 3078 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_A_PROPS_CORRECT_2 : xmlParserErrors = 3079 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_C_PROPS_CORRECT : xmlParserErrors = 3080 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_REDEFINE : xmlParserErrors = 3081 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT : xmlParserErrors = 3082 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_SKIP_SCHEMA : xmlParserErrors = 3083 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_UNLOCATED_SCHEMA : xmlParserErrors = 3084 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_ATTR_REDECL_PROH : xmlParserErrors = 3085 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_ATTR_POINTLESS_PROH : xmlParserErrors = 3086 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AG_PROPS_CORRECT : xmlParserErrors = 3087 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_2 : xmlParserErrors = 3088 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AU_PROPS_CORRECT : xmlParserErrors = 3089 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_A_PROPS_CORRECT_3 : xmlParserErrors = 3090 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ALL_LIMITED : xmlParserErrors = 3091 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMATRONV_ASSERT : xmlParserErrors = 4000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMATRONV_REPORT : xmlParserErrors = 4001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_MODULE_OPEN : xmlParserErrors = 4900 ; # [doc = " File not found."] pub const xmlParserErrors_XML_MODULE_CLOSE : xmlParserErrors = 4901 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ELEMENT : xmlParserErrors = 5000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ATTRIBUTE : xmlParserErrors = 5001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_TEXT : xmlParserErrors = 5002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_CDATA : xmlParserErrors = 5003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ENTITYREF : xmlParserErrors = 5004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ENTITY : xmlParserErrors = 5005 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_PI : xmlParserErrors = 5006 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_COMMENT : xmlParserErrors = 5007 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_DOCTYPE : xmlParserErrors = 5008 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_FRAGMENT : xmlParserErrors = 5009 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_NOTATION : xmlParserErrors = 5010 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_UNKNOWN_NODE : xmlParserErrors = 5011 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_ENTITY_TYPE : xmlParserErrors = 5012 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_PARENT : xmlParserErrors = 5013 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_DOC : xmlParserErrors = 5014 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_NAME : xmlParserErrors = 5015 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_ELEM : xmlParserErrors = 5016 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_DOC : xmlParserErrors = 5017 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_PREV : xmlParserErrors = 5018 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_PREV : xmlParserErrors = 5019 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_NEXT : xmlParserErrors = 5020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_NEXT : xmlParserErrors = 5021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_DTD : xmlParserErrors = 5022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ATTR : xmlParserErrors = 5023 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ATTR_DECL : xmlParserErrors = 5024 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ELEM_DECL : xmlParserErrors = 5025 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ENTITY_DECL : xmlParserErrors = 5026 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_NS_DECL : xmlParserErrors = 5027 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_HREF : xmlParserErrors = 5028 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_PARENT : xmlParserErrors = 5029 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NS_SCOPE : xmlParserErrors = 5030 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NS_ANCESTOR : xmlParserErrors = 5031 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_UTF8 : xmlParserErrors = 5032 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_DICT : xmlParserErrors = 5033 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_NCNAME : xmlParserErrors = 5034 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_OUTSIDE_DICT : xmlParserErrors = 5035 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_NAME : xmlParserErrors = 5036 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NAME_NOT_NULL : xmlParserErrors = 5037 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_NAME : xmlParserErrors = 6000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_HANDLER : xmlParserErrors = 6001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_EXCESS_HANDLER : xmlParserErrors = 6002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_CONV_FAILED : xmlParserErrors = 6003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_OUTPUT : xmlParserErrors = 6004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_BUF_OVERFLOW : xmlParserErrors = 7000 ; # [doc = " Error codes. Note that only some codes are documented."] pub type xmlParserErrors = :: std :: os :: raw :: c_uint ; # [doc = " Generic error callback.\n\n @deprecated in favor of structured errors.\n @param ctx  user data\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlGenericErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Structured error callback receiving an xmlError.\n\n @param userData  user provided data for the error callback\n @param error  the error being raised"] pub type xmlStructuredErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (userData : * mut :: std :: os :: raw :: c_void , error : * const xmlError) > ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlLastError () -> * const xmlError ; } unsafe extern "C" { pub fn __xmlGenericError () -> * mut xmlGenericErrorFunc ; } unsafe extern "C" { pub fn __xmlGenericErrorContext () -> * mut * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn __xmlStructuredError () -> * mut xmlStructuredErrorFunc ; } unsafe extern "C" { pub fn __xmlStructuredErrorContext () -> * mut * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlSetGenericErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlGenericErrorFunc) ; } unsafe extern "C" { pub fn xmlSetStructuredErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlStructuredErrorFunc) ; } unsafe extern "C" { pub fn xmlThrDefSetGenericErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlGenericErrorFunc) ; } unsafe extern "C" { pub fn xmlThrDefSetStructuredErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlStructuredErrorFunc) ; } unsafe extern "C" { pub fn xmlParserError (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserWarning (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserValidityError (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserValidityWarning (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserPrintFileInfo (input : * mut _xmlParserInput) ; } unsafe extern "C" { pub fn xmlParserPrintFileContext (input : * mut _xmlParserInput) ; } unsafe extern "C" { pub fn xmlFormatError (err : * const xmlError , channel : xmlGenericErrorFunc , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlGetLastError () -> * const xmlError ; } unsafe extern "C" { pub fn xmlResetLastError () ; } unsafe extern "C" { pub fn xmlCtxtGetLastError (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlError ; } unsafe extern "C" { pub fn xmlCtxtResetLastError (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlResetError (err : * mut xmlError) ; } unsafe extern "C" { pub fn xmlCopyError (from : * const xmlError , to : * mut xmlError) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlLink { _unused : [u8 ; 0] , } # [doc = " Linked list item\n\n @deprecated Don't use in new code."] pub type xmlLink = _xmlLink ; pub type xmlLinkPtr = * mut xmlLink ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlList { _unused : [u8 ; 0] , } # [doc = " Linked list\n\n @deprecated Don't use in new code."] pub type xmlList = _xmlList ; pub type xmlListPtr = * mut xmlList ; # [doc = " Callback function used to free data from a list.\n\n @param lk  the data to deallocate"] pub type xmlListDeallocator = :: std :: option :: Option < unsafe extern "C" fn (lk : * mut xmlLink) > ; # [doc = " Callback function used to compare 2 data.\n\n @param data0  the first data\n @param data1  the second data\n @returns 0 is equality, -1 or 1 otherwise depending on the ordering."] pub type xmlListDataCompare = :: std :: option :: Option < unsafe extern "C" fn (data0 : * const :: std :: os :: raw :: c_void , data1 : * const :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback function used when walking a list with #xmlListWalk.\n\n @param data  the data found in the list\n @param user  extra user provided data to the walker\n @returns 0 to stop walking the list, 1 otherwise."] pub type xmlListWalker = :: std :: option :: Option < unsafe extern "C" fn (data : * const :: std :: os :: raw :: c_void , user : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; unsafe extern "C" { pub fn xmlListCreate (deallocator : xmlListDeallocator , compare : xmlListDataCompare) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlListDelete (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListSearch (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlListReverseSearch (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlListInsert (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListAppend (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveFirst (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveLast (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveAll (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListClear (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListEmpty (l : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListFront (l : * mut xmlList) -> * mut xmlLink ; } unsafe extern "C" { pub fn xmlListEnd (l : * mut xmlList) -> * mut xmlLink ; } unsafe extern "C" { pub fn xmlListSize (l : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListPopFront (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListPopBack (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListPushFront (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListPushBack (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListReverse (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListSort (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListWalk (l : * mut xmlList , walker : xmlListWalker , user : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlListReverseWalk (l : * mut xmlList , walker : xmlListWalker , user : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlListMerge (l1 : * mut xmlList , l2 : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListDup (old : * mut xmlList) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlListCopy (cur : * mut xmlList , old : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlLinkGetData (lk : * mut xmlLink) -> * mut :: std :: os :: raw :: c_void ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAutomata { _unused : [u8 ; 0] , } # [doc = " A libxml automata description\n\n It can be compiled into a regexp"] pub type xmlAutomata = _xmlAutomata ; pub type xmlAutomataPtr = * mut xmlAutomata ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAutomataState { _unused : [u8 ; 0] , } # [doc = " A state in the automata description"] pub type xmlAutomataState = _xmlAutomataState ; pub type xmlAutomataStatePtr = * mut xmlAutomataState ; unsafe extern "C" { pub fn xmlNewAutomata () -> * mut xmlAutomata ; } unsafe extern "C" { pub fn xmlFreeAutomata (am : * mut xmlAutomata) ; } unsafe extern "C" { pub fn xmlAutomataGetInitState (am : * mut xmlAutomata) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataSetFinalState (am : * mut xmlAutomata , state : * mut xmlAutomataState) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAutomataNewState (am : * mut xmlAutomata) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewTransition (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewTransition2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewNegTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountTrans2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewOnceTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewOnceTrans2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewAllTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , lax : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewEpsilon (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountedTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , counter : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCounterTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , counter : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCounter (am : * mut xmlAutomata , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAutomataCompile (am : * mut xmlAutomata) -> * mut _xmlRegexp ; } unsafe extern "C" { pub fn xmlAutomataIsDeterminist (am : * mut xmlAutomata) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlValidState { _unused : [u8 ; 0] , } pub type xmlValidState = _xmlValidState ; pub type xmlValidStatePtr = * mut xmlValidState ; # [doc = " Report a validity error.\n\n @param ctx  user data (usually an xmlValidCtxt)\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlValidityErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Report a validity warning.\n\n @param ctx  user data (usually an xmlValidCtxt)\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlValidityWarningFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " An xmlValidCtxt is used for error reporting when validating."] pub type xmlValidCtxt = _xmlValidCtxt ; pub type xmlValidCtxtPtr = * mut xmlValidCtxt ; # [doc = " An xmlValidCtxt is used for error reporting when validating."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlValidCtxt { pub userData : * mut :: std :: os :: raw :: c_void , pub error : xmlValidityErrorFunc , pub warning : xmlValidityWarningFunc , pub node : * mut xmlNode , pub nodeNr : :: std :: os :: raw :: c_int , pub nodeMax : :: std :: os :: raw :: c_int , pub nodeTab : * mut * mut xmlNode , pub flags : :: std :: os :: raw :: c_uint , pub doc : * mut xmlDoc , pub valid : :: std :: os :: raw :: c_int , pub vstate : * mut xmlValidState , pub vstateNr : :: std :: os :: raw :: c_int , pub vstateMax : :: std :: os :: raw :: c_int , pub vstateTab : * mut xmlValidState , pub am : * mut xmlAutomata , pub state : * mut xmlAutomataState , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlValidCtxt"] [:: std :: mem :: size_of :: < _xmlValidCtxt > () - 112usize] ; ["Alignment of _xmlValidCtxt"] [:: std :: mem :: align_of :: < _xmlValidCtxt > () - 8usize] ; ["Offset of field: _xmlValidCtxt::userData"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , userData) - 0usize] ; ["Offset of field: _xmlValidCtxt::error"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , error) - 8usize] ; ["Offset of field: _xmlValidCtxt::warning"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , warning) - 16usize] ; ["Offset of field: _xmlValidCtxt::node"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , node) - 24usize] ; ["Offset of field: _xmlValidCtxt::nodeNr"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeNr) - 32usize] ; ["Offset of field: _xmlValidCtxt::nodeMax"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeMax) - 36usize] ; ["Offset of field: _xmlValidCtxt::nodeTab"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeTab) - 40usize] ; ["Offset of field: _xmlValidCtxt::flags"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , flags) - 48usize] ; ["Offset of field: _xmlValidCtxt::doc"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , doc) - 56usize] ; ["Offset of field: _xmlValidCtxt::valid"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , valid) - 64usize] ; ["Offset of field: _xmlValidCtxt::vstate"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstate) - 72usize] ; ["Offset of field: _xmlValidCtxt::vstateNr"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateNr) - 80usize] ; ["Offset of field: _xmlValidCtxt::vstateMax"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateMax) - 84usize] ; ["Offset of field: _xmlValidCtxt::vstateTab"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateTab) - 88usize] ; ["Offset of field: _xmlValidCtxt::am"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , am) - 96usize] ; ["Offset of field: _xmlValidCtxt::state"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , state) - 104usize] ; } ; pub type xmlNotationTable = _xmlHashTable ; pub type xmlNotationTablePtr = * mut xmlNotationTable ; pub type xmlElementTable = _xmlHashTable ; pub type xmlElementTablePtr = * mut xmlElementTable ; pub type xmlAttributeTable = _xmlHashTable ; pub type xmlAttributeTablePtr = * mut xmlAttributeTable ; pub type xmlIDTable = _xmlHashTable ; pub type xmlIDTablePtr = * mut xmlIDTable ; pub type xmlRefTable = _xmlHashTable ; pub type xmlRefTablePtr = * mut xmlRefTable ; unsafe extern "C" { pub fn xmlAddNotationDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlNotation ; } unsafe extern "C" { pub fn xmlCopyNotationTable (table : * mut xmlNotationTable) -> * mut xmlNotationTable ; } unsafe extern "C" { pub fn xmlFreeNotationTable (table : * mut xmlNotationTable) ; } unsafe extern "C" { pub fn xmlDumpNotationDecl (buf : * mut xmlBuffer , nota : * mut xmlNotation) ; } unsafe extern "C" { pub fn xmlDumpNotationTable (buf : * mut xmlBuffer , table : * mut xmlNotationTable) ; } unsafe extern "C" { pub fn xmlNewElementContent (name : * const xmlChar , type_ : xmlElementContentType) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlCopyElementContent (content : * mut xmlElementContent) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlFreeElementContent (cur : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlNewDocElementContent (doc : * mut xmlDoc , name : * const xmlChar , type_ : xmlElementContentType) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlCopyDocElementContent (doc : * mut xmlDoc , content : * mut xmlElementContent) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlFreeDocElementContent (doc : * mut xmlDoc , cur : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlSnprintfElementContent (buf : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , content : * mut xmlElementContent , englob : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSprintfElementContent (buf : * mut :: std :: os :: raw :: c_char , content : * mut xmlElementContent , englob : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlAddElementDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , name : * const xmlChar , type_ : xmlElementTypeVal , content : * mut xmlElementContent) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlCopyElementTable (table : * mut xmlElementTable) -> * mut xmlElementTable ; } unsafe extern "C" { pub fn xmlFreeElementTable (table : * mut xmlElementTable) ; } unsafe extern "C" { pub fn xmlDumpElementTable (buf : * mut xmlBuffer , table : * mut xmlElementTable) ; } unsafe extern "C" { pub fn xmlDumpElementDecl (buf : * mut xmlBuffer , elem : * mut xmlElement) ; } unsafe extern "C" { pub fn xmlCreateEnumeration (name : * const xmlChar) -> * mut xmlEnumeration ; } unsafe extern "C" { pub fn xmlFreeEnumeration (cur : * mut xmlEnumeration) ; } unsafe extern "C" { pub fn xmlCopyEnumeration (cur : * mut xmlEnumeration) -> * mut xmlEnumeration ; } unsafe extern "C" { pub fn xmlAddAttributeDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar , ns : * const xmlChar , type_ : xmlAttributeType , def : xmlAttributeDefault , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlCopyAttributeTable (table : * mut xmlAttributeTable) -> * mut xmlAttributeTable ; } unsafe extern "C" { pub fn xmlFreeAttributeTable (table : * mut xmlAttributeTable) ; } unsafe extern "C" { pub fn xmlDumpAttributeTable (buf : * mut xmlBuffer , table : * mut xmlAttributeTable) ; } unsafe extern "C" { pub fn xmlDumpAttributeDecl (buf : * mut xmlBuffer , attr : * mut xmlAttribute) ; } unsafe extern "C" { pub fn xmlAddIDSafe (attr : * mut xmlAttr , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddID (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , value : * const xmlChar , attr : * mut xmlAttr) -> * mut xmlID ; } unsafe extern "C" { pub fn xmlFreeIDTable (table : * mut xmlIDTable) ; } unsafe extern "C" { pub fn xmlGetID (doc : * mut xmlDoc , ID : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlIsID (doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveID (doc : * mut xmlDoc , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddRef (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , value : * const xmlChar , attr : * mut xmlAttr) -> * mut xmlRef ; } unsafe extern "C" { pub fn xmlFreeRefTable (table : * mut xmlRefTable) ; } unsafe extern "C" { pub fn xmlIsRef (doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveRef (doc : * mut xmlDoc , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetRefs (doc : * mut xmlDoc , ID : * const xmlChar) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlNewValidCtxt () -> * mut xmlValidCtxt ; } unsafe extern "C" { pub fn xmlFreeValidCtxt (arg1 : * mut xmlValidCtxt) ; } unsafe extern "C" { pub fn xmlValidateRoot (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateElementDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlElement) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidNormalizeAttributeValue (doc : * mut xmlDoc , elem : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlValidCtxtNormalizeAttributeValue (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlValidateAttributeDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , attr : * mut xmlAttribute) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateAttributeValue (type_ : xmlAttributeType , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNotationDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , nota : * mut xmlNotation) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDtd (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , dtd : * mut xmlDtd) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDtdFinal (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDocument (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneAttribute (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneNamespace (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , prefix : * const xmlChar , ns : * mut xmlNs , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDocumentFinal (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNotationUse (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , notationName : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsMixedElement (doc : * mut xmlDoc , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetDtdAttrDesc (dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlGetDtdQAttrDesc (dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar , prefix : * const xmlChar) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlGetDtdNotationDesc (dtd : * mut xmlDtd , name : * const xmlChar) -> * mut xmlNotation ; } unsafe extern "C" { pub fn xmlGetDtdQElementDesc (dtd : * mut xmlDtd , name : * const xmlChar , prefix : * const xmlChar) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlGetDtdElementDesc (dtd : * mut xmlDtd , name : * const xmlChar) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlValidGetPotentialChildren (ctree : * mut xmlElementContent , names : * mut * const xmlChar , len : * mut :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidGetValidElements (prev : * mut xmlNode , next : * mut xmlNode , names : * mut * const xmlChar , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNameValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNamesValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNmtokenValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNmtokensValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidBuildContentModel (ctxt : * mut xmlValidCtxt , elem : * mut xmlElement) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePushElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , qname : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePushCData (ctxt : * mut xmlValidCtxt , data : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePopElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , qname : * const xmlChar) -> :: std :: os :: raw :: c_int ; } # [doc = " internal general entity"] pub const xmlEntityType_XML_INTERNAL_GENERAL_ENTITY : xmlEntityType = 1 ; # [doc = " external general parsed entity"] pub const xmlEntityType_XML_EXTERNAL_GENERAL_PARSED_ENTITY : xmlEntityType = 2 ; # [doc = " external general unparsed entity"] pub const xmlEntityType_XML_EXTERNAL_GENERAL_UNPARSED_ENTITY : xmlEntityType = 3 ; # [doc = " internal parameter entity"] pub const xmlEntityType_XML_INTERNAL_PARAMETER_ENTITY : xmlEntityType = 4 ; # [doc = " external parameter entity"] pub const xmlEntityType_XML_EXTERNAL_PARAMETER_ENTITY : xmlEntityType = 5 ; # [doc = " internal predefined entity"] pub const xmlEntityType_XML_INTERNAL_PREDEFINED_ENTITY : xmlEntityType = 6 ; # [doc = " The different entity types."] pub type xmlEntityType = :: std :: os :: raw :: c_uint ; # [doc = " An entity declaration"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlEntity { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ENTITY_DECL, must be second !"] pub type_ : xmlElementType , # [doc = " Entity name"] pub name : * const xmlChar , # [doc = " First child link"] pub children : * mut _xmlNode , # [doc = " Last child link"] pub last : * mut _xmlNode , # [doc = " -> DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling link"] pub next : * mut _xmlNode , # [doc = " previous sibling link"] pub prev : * mut _xmlNode , # [doc = " the containing document"] pub doc : * mut _xmlDoc , # [doc = " content without ref substitution"] pub orig : * mut xmlChar , # [doc = " content or ndata if unparsed"] pub content : * mut xmlChar , # [doc = " the content length"] pub length : :: std :: os :: raw :: c_int , # [doc = " The entity type"] pub etype : xmlEntityType , # [doc = " External identifier for PUBLIC"] pub ExternalID : * const xmlChar , # [doc = " URI for a SYSTEM or PUBLIC Entity"] pub SystemID : * const xmlChar , # [doc = " unused"] pub nexte : * mut _xmlEntity , # [doc = " the full URI as computed"] pub URI : * const xmlChar , # [doc = " unused"] pub owner : :: std :: os :: raw :: c_int , # [doc = " various flags"] pub flags : :: std :: os :: raw :: c_int , # [doc = " expanded size"] pub expandedSize : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlEntity"] [:: std :: mem :: size_of :: < _xmlEntity > () - 144usize] ; ["Alignment of _xmlEntity"] [:: std :: mem :: align_of :: < _xmlEntity > () - 8usize] ; ["Offset of field: _xmlEntity::_private"] [:: std :: mem :: offset_of ! (_xmlEntity , _private) - 0usize] ; ["Offset of field: _xmlEntity::type_"] [:: std :: mem :: offset_of ! (_xmlEntity , type_) - 8usize] ; ["Offset of field: _xmlEntity::name"] [:: std :: mem :: offset_of ! (_xmlEntity , name) - 16usize] ; ["Offset of field: _xmlEntity::children"] [:: std :: mem :: offset_of ! (_xmlEntity , children) - 24usize] ; ["Offset of field: _xmlEntity::last"] [:: std :: mem :: offset_of ! (_xmlEntity , last) - 32usize] ; ["Offset of field: _xmlEntity::parent"] [:: std :: mem :: offset_of ! (_xmlEntity , parent) - 40usize] ; ["Offset of field: _xmlEntity::next"] [:: std :: mem :: offset_of ! (_xmlEntity , next) - 48usize] ; ["Offset of field: _xmlEntity::prev"] [:: std :: mem :: offset_of ! (_xmlEntity , prev) - 56usize] ; ["Offset of field: _xmlEntity::doc"] [:: std :: mem :: offset_of ! (_xmlEntity , doc) - 64usize] ; ["Offset of field: _xmlEntity::orig"] [:: std :: mem :: offset_of ! (_xmlEntity , orig) - 72usize] ; ["Offset of field: _xmlEntity::content"] [:: std :: mem :: offset_of ! (_xmlEntity , content) - 80usize] ; ["Offset of field: _xmlEntity::length"] [:: std :: mem :: offset_of ! (_xmlEntity , length) - 88usize] ; ["Offset of field: _xmlEntity::etype"] [:: std :: mem :: offset_of ! (_xmlEntity , etype) - 92usize] ; ["Offset of field: _xmlEntity::ExternalID"] [:: std :: mem :: offset_of ! (_xmlEntity , ExternalID) - 96usize] ; ["Offset of field: _xmlEntity::SystemID"] [:: std :: mem :: offset_of ! (_xmlEntity , SystemID) - 104usize] ; ["Offset of field: _xmlEntity::nexte"] [:: std :: mem :: offset_of ! (_xmlEntity , nexte) - 112usize] ; ["Offset of field: _xmlEntity::URI"] [:: std :: mem :: offset_of ! (_xmlEntity , URI) - 120usize] ; ["Offset of field: _xmlEntity::owner"] [:: std :: mem :: offset_of ! (_xmlEntity , owner) - 128usize] ; ["Offset of field: _xmlEntity::flags"] [:: std :: mem :: offset_of ! (_xmlEntity , flags) - 132usize] ; ["Offset of field: _xmlEntity::expandedSize"] [:: std :: mem :: offset_of ! (_xmlEntity , expandedSize) - 136usize] ; } ; pub type xmlEntitiesTable = _xmlHashTable ; pub type xmlEntitiesTablePtr = * mut xmlEntitiesTable ; unsafe extern "C" { pub fn xmlNewEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlFreeEntity (entity : * mut xmlEntity) ; } unsafe extern "C" { pub fn xmlAddEntity (doc : * mut xmlDoc , extSubset : :: std :: os :: raw :: c_int , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar , out : * mut * mut xmlEntity) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddDocEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlAddDtdEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetPredefinedEntity (name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetDocEntity (doc : * const xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetDtdEntity (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetParameterEntity (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlEncodeEntitiesReentrant (doc : * mut xmlDoc , input : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlEncodeSpecialChars (doc : * const xmlDoc , input : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCreateEntitiesTable () -> * mut xmlEntitiesTable ; } unsafe extern "C" { pub fn xmlCopyEntitiesTable (table : * mut xmlEntitiesTable) -> * mut xmlEntitiesTable ; } unsafe extern "C" { pub fn xmlFreeEntitiesTable (table : * mut xmlEntitiesTable) ; } unsafe extern "C" { pub fn xmlDumpEntitiesTable (buf : * mut xmlBuffer , table : * mut xmlEntitiesTable) ; } unsafe extern "C" { pub fn xmlDumpEntityDecl (buf : * mut xmlBuffer , ent : * mut xmlEntity) ; } # [doc = " Success"] pub const xmlCharEncError_XML_ENC_ERR_SUCCESS : xmlCharEncError = 0 ; # [doc = " Internal or unclassified error"] pub const xmlCharEncError_XML_ENC_ERR_INTERNAL : xmlCharEncError = - 1 ; # [doc = " Invalid or untranslatable input sequence"] pub const xmlCharEncError_XML_ENC_ERR_INPUT : xmlCharEncError = - 2 ; # [doc = " Not enough space in output buffer"] pub const xmlCharEncError_XML_ENC_ERR_SPACE : xmlCharEncError = - 3 ; # [doc = " Out-of-memory error"] pub const xmlCharEncError_XML_ENC_ERR_MEMORY : xmlCharEncError = - 4 ; # [doc = " Encoding conversion errors"] pub type xmlCharEncError = :: std :: os :: raw :: c_int ; # [doc = " No char encoding detected"] pub const xmlCharEncoding_XML_CHAR_ENCODING_ERROR : xmlCharEncoding = - 1 ; # [doc = " No char encoding detected"] pub const xmlCharEncoding_XML_CHAR_ENCODING_NONE : xmlCharEncoding = 0 ; # [doc = " UTF-8"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF8 : xmlCharEncoding = 1 ; # [doc = " UTF-16 little endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16LE : xmlCharEncoding = 2 ; # [doc = " UTF-16 big endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16BE : xmlCharEncoding = 3 ; # [doc = " UCS-4 little endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4LE : xmlCharEncoding = 4 ; # [doc = " UCS-4 big endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4BE : xmlCharEncoding = 5 ; # [doc = " EBCDIC uh!"] pub const xmlCharEncoding_XML_CHAR_ENCODING_EBCDIC : xmlCharEncoding = 6 ; # [doc = " UCS-4 unusual ordering"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4_2143 : xmlCharEncoding = 7 ; # [doc = " UCS-4 unusual ordering"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4_3412 : xmlCharEncoding = 8 ; # [doc = " UCS-2"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS2 : xmlCharEncoding = 9 ; # [doc = " ISO-8859-1 ISO Latin 1"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_1 : xmlCharEncoding = 10 ; # [doc = " ISO-8859-2 ISO Latin 2"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_2 : xmlCharEncoding = 11 ; # [doc = " ISO-8859-3"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_3 : xmlCharEncoding = 12 ; # [doc = " ISO-8859-4"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_4 : xmlCharEncoding = 13 ; # [doc = " ISO-8859-5"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_5 : xmlCharEncoding = 14 ; # [doc = " ISO-8859-6"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_6 : xmlCharEncoding = 15 ; # [doc = " ISO-8859-7"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_7 : xmlCharEncoding = 16 ; # [doc = " ISO-8859-8"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_8 : xmlCharEncoding = 17 ; # [doc = " ISO-8859-9"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_9 : xmlCharEncoding = 18 ; # [doc = " ISO-2022-JP"] pub const xmlCharEncoding_XML_CHAR_ENCODING_2022_JP : xmlCharEncoding = 19 ; # [doc = " Shift_JIS"] pub const xmlCharEncoding_XML_CHAR_ENCODING_SHIFT_JIS : xmlCharEncoding = 20 ; # [doc = " EUC-JP"] pub const xmlCharEncoding_XML_CHAR_ENCODING_EUC_JP : xmlCharEncoding = 21 ; # [doc = " pure ASCII"] pub const xmlCharEncoding_XML_CHAR_ENCODING_ASCII : xmlCharEncoding = 22 ; # [doc = " UTF-16 native, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16 : xmlCharEncoding = 23 ; # [doc = " HTML (output only), available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_HTML : xmlCharEncoding = 24 ; # [doc = " ISO-8859-10, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_10 : xmlCharEncoding = 25 ; # [doc = " ISO-8859-11, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_11 : xmlCharEncoding = 26 ; # [doc = " ISO-8859-13, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_13 : xmlCharEncoding = 27 ; # [doc = " ISO-8859-14, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_14 : xmlCharEncoding = 28 ; # [doc = " ISO-8859-15, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_15 : xmlCharEncoding = 29 ; # [doc = " ISO-8859-16, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_16 : xmlCharEncoding = 30 ; # [doc = " windows-1252, available since 2.15"] pub const xmlCharEncoding_XML_CHAR_ENCODING_WINDOWS_1252 : xmlCharEncoding = 31 ; # [doc = " Predefined values for some standard encodings."] pub type xmlCharEncoding = :: std :: os :: raw :: c_int ; # [doc = " Create converter for input (conversion to UTF-8)"] pub const xmlCharEncFlags_XML_ENC_INPUT : xmlCharEncFlags = 1 ; # [doc = " Create converter for output (conversion from UTF-8)"] pub const xmlCharEncFlags_XML_ENC_OUTPUT : xmlCharEncFlags = 2 ; # [doc = " Use HTML5 mappings"] pub const xmlCharEncFlags_XML_ENC_HTML : xmlCharEncFlags = 4 ; # [doc = " Encoding conversion flags"] pub type xmlCharEncFlags = :: std :: os :: raw :: c_uint ; # [doc = " Convert characters to UTF-8.\n\n On success, the value of `inlen` after return is the number of\n bytes consumed and `outlen` is the number of bytes produced.\n\n @param out  a pointer to an array of bytes to store the UTF-8 result\n @param outlen  the length of `out`\n @param in  a pointer to an array of chars in the original encoding\n @param inlen  the length of `in`\n @returns the number of bytes written or an xmlCharEncError code."] pub type xmlCharEncodingInputFunc = :: std :: option :: Option < unsafe extern "C" fn (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Convert characters from UTF-8.\n\n On success, the value of `inlen` after return is the number of\n bytes consumed and `outlen` is the number of bytes produced.\n\n @param out  a pointer to an array of bytes to store the result\n @param outlen  the length of `out`\n @param in  a pointer to an array of UTF-8 chars\n @param inlen  the length of `in`\n @returns the number of bytes written or an xmlCharEncError code."] pub type xmlCharEncodingOutputFunc = :: std :: option :: Option < unsafe extern "C" fn (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Convert between character encodings.\n\n The value of `inlen` after return is the number of bytes consumed\n and `outlen` is the number of bytes produced.\n\n If the converter can consume partial multi-byte sequences, the\n `flush` flag can be used to detect truncated sequences at EOF.\n Otherwise, the flag can be ignored.\n\n @param vctxt  conversion context\n @param out  a pointer to an array of bytes to store the result\n @param outlen  the length of `out`\n @param in  a pointer to an array of input bytes\n @param inlen  the length of `in`\n @param flush  end of input\n @returns an xmlCharEncError code."] pub type xmlCharEncConvFunc = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void , out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int , flush : :: std :: os :: raw :: c_int) -> xmlCharEncError > ; # [doc = " Free a conversion context.\n\n @param vctxt  conversion context"] pub type xmlCharEncConvCtxtDtor = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void) > ; # [doc = " Character encoding converter"] pub type xmlCharEncodingHandler = _xmlCharEncodingHandler ; pub type xmlCharEncodingHandlerPtr = * mut xmlCharEncodingHandler ; # [doc = " A character encoding conversion handler for non UTF-8 encodings.\n\n This structure will be made private."] # [repr (C)] # [derive (Copy , Clone)] pub struct _xmlCharEncodingHandler { pub name : * mut :: std :: os :: raw :: c_char , pub input : _xmlCharEncodingHandler__bindgen_ty_1 , pub output : _xmlCharEncodingHandler__bindgen_ty_2 , pub inputCtxt : * mut :: std :: os :: raw :: c_void , pub outputCtxt : * mut :: std :: os :: raw :: c_void , pub ctxtDtor : xmlCharEncConvCtxtDtor , pub flags : :: std :: os :: raw :: c_int , } # [repr (C)] # [derive (Copy , Clone)] pub union _xmlCharEncodingHandler__bindgen_ty_1 { pub func : xmlCharEncConvFunc , pub legacyFunc : xmlCharEncodingInputFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler__bindgen_ty_1"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler__bindgen_ty_1 > () - 8usize] ; ["Alignment of _xmlCharEncodingHandler__bindgen_ty_1"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler__bindgen_ty_1 > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_1::func"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_1 , func) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_1::legacyFunc"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_1 , legacyFunc) - 0usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union _xmlCharEncodingHandler__bindgen_ty_2 { pub func : xmlCharEncConvFunc , pub legacyFunc : xmlCharEncodingOutputFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler__bindgen_ty_2"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler__bindgen_ty_2 > () - 8usize] ; ["Alignment of _xmlCharEncodingHandler__bindgen_ty_2"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler__bindgen_ty_2 > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_2::func"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_2 , func) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_2::legacyFunc"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_2 , legacyFunc) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler > () - 56usize] ; ["Alignment of _xmlCharEncodingHandler"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler::name"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , name) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler::input"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , input) - 8usize] ; ["Offset of field: _xmlCharEncodingHandler::output"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , output) - 16usize] ; ["Offset of field: _xmlCharEncodingHandler::inputCtxt"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , inputCtxt) - 24usize] ; ["Offset of field: _xmlCharEncodingHandler::outputCtxt"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , outputCtxt) - 32usize] ; ["Offset of field: _xmlCharEncodingHandler::ctxtDtor"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , ctxtDtor) - 40usize] ; ["Offset of field: _xmlCharEncodingHandler::flags"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , flags) - 48usize] ; } ; # [doc = " If this function returns XML_ERR_OK, it must fill the `out`\n pointer with an encoding handler. The handler can be obtained\n from #xmlCharEncNewCustomHandler.\n\n `flags` can contain XML_ENC_INPUT, XML_ENC_OUTPUT or both.\n\n @param vctxt  user data\n @param name  encoding name\n @param flags  bit mask of flags\n @param out  pointer to resulting handler\n @returns an xmlParserErrors code."] pub type xmlCharEncConvImpl = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void , name : * const :: std :: os :: raw :: c_char , flags : xmlCharEncFlags , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors > ; unsafe extern "C" { pub fn xmlInitCharEncodingHandlers () ; } unsafe extern "C" { pub fn xmlCleanupCharEncodingHandlers () ; } unsafe extern "C" { pub fn xmlRegisterCharEncodingHandler (handler : * mut xmlCharEncodingHandler) ; } unsafe extern "C" { pub fn xmlLookupCharEncodingHandler (enc : xmlCharEncoding , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlOpenCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , output : :: std :: os :: raw :: c_int , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlCreateCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , flags : xmlCharEncFlags , impl_ : xmlCharEncConvImpl , implCtxt : * mut :: std :: os :: raw :: c_void , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlGetCharEncodingHandler (enc : xmlCharEncoding) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlFindCharEncodingHandler (name : * const :: std :: os :: raw :: c_char) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlNewCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , input : xmlCharEncodingInputFunc , output : xmlCharEncodingOutputFunc) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlCharEncNewCustomHandler (name : * const :: std :: os :: raw :: c_char , input : xmlCharEncConvFunc , output : xmlCharEncConvFunc , ctxtDtor : xmlCharEncConvCtxtDtor , inputCtxt : * mut :: std :: os :: raw :: c_void , outputCtxt : * mut :: std :: os :: raw :: c_void , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlAddEncodingAlias (name : * const :: std :: os :: raw :: c_char , alias : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDelEncodingAlias (alias : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetEncodingAlias (alias : * const :: std :: os :: raw :: c_char) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlCleanupEncodingAliases () ; } unsafe extern "C" { pub fn xmlParseCharEncoding (name : * const :: std :: os :: raw :: c_char) -> xmlCharEncoding ; } unsafe extern "C" { pub fn xmlGetCharEncodingName (enc : xmlCharEncoding) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlDetectCharEncoding (in_ : * const :: std :: os :: raw :: c_uchar , len : :: std :: os :: raw :: c_int) -> xmlCharEncoding ; } unsafe extern "C" { pub fn xmlCharEncOutFunc (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncInFunc (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncFirstLine (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncCloseFunc (handler : * mut xmlCharEncodingHandler) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8ToIsolat1 (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsolat1ToUTF8 (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " Callback used in the I/O Input API to detect if the current handler\n can provide input functionality for this resource.\n\n @param filename  the filename or URI\n @returns 1 if yes and 0 if another Input module should be used"] pub type xmlInputMatchCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Input API to open the resource\n\n @param filename  the filename or URI\n @returns an Input context or NULL in case or error"] pub type xmlInputOpenCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback used in the I/O Input API to read the resource\n\n @param context  an Input context\n @param buffer  the buffer to store data read\n @param len  the length of the buffer in bytes\n @returns the number of bytes read or -1 in case of error"] pub type xmlInputReadCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Input API to close the resource\n\n @param context  an Input context\n @returns 0 or -1 in case of error"] pub type xmlInputCloseCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to detect if the current handler\n can provide output functionality for this resource.\n\n @param filename  the filename or URI\n @returns 1 if yes and 0 if another Output module should be used"] pub type xmlOutputMatchCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to open the resource\n\n @param filename  the filename or URI\n @returns an Output context or NULL in case or error"] pub type xmlOutputOpenCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback used in the I/O Output API to write to the resource\n\n @param context  an Output context\n @param buffer  the buffer of data to write\n @param len  the length of the buffer in bytes\n @returns the number of bytes written or -1 in case of error"] pub type xmlOutputWriteCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void , buffer : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to close the resource\n\n @param context  an Output context\n @returns 0 or -1 in case of error"] pub type xmlOutputCloseCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Signature for the function doing the lookup for a suitable input method\n corresponding to an URI.\n\n @param URI  the URI to read from\n @param enc  the requested source encoding\n @returns the new xmlParserInputBuffer in case of success or NULL if no\n         method was found."] pub type xmlParserInputBufferCreateFilenameFunc = :: std :: option :: Option < unsafe extern "C" fn (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer > ; # [doc = " Signature for the function doing the lookup for a suitable output method\n corresponding to an URI.\n\n @param URI  the URI to write to\n @param encoder  the requested target encoding\n @param compression  compression level\n @returns the new xmlOutputBuffer in case of success or NULL if no\n         method was found."] pub type xmlOutputBufferCreateFilenameFunc = :: std :: option :: Option < unsafe extern "C" fn (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer > ; # [doc = " Parser input buffer\n\n This struct and all related functions should ultimately\n be removed from the public interface."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserInputBuffer { pub context : * mut :: std :: os :: raw :: c_void , pub readcallback : xmlInputReadCallback , pub closecallback : xmlInputCloseCallback , pub encoder : * mut xmlCharEncodingHandler , pub buffer : * mut xmlBuf , pub raw : * mut xmlBuf , pub compressed : :: std :: os :: raw :: c_int , pub error : :: std :: os :: raw :: c_int , pub rawconsumed : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserInputBuffer"] [:: std :: mem :: size_of :: < _xmlParserInputBuffer > () - 64usize] ; ["Alignment of _xmlParserInputBuffer"] [:: std :: mem :: align_of :: < _xmlParserInputBuffer > () - 8usize] ; ["Offset of field: _xmlParserInputBuffer::context"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , context) - 0usize] ; ["Offset of field: _xmlParserInputBuffer::readcallback"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , readcallback) - 8usize] ; ["Offset of field: _xmlParserInputBuffer::closecallback"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , closecallback) - 16usize] ; ["Offset of field: _xmlParserInputBuffer::encoder"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , encoder) - 24usize] ; ["Offset of field: _xmlParserInputBuffer::buffer"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , buffer) - 32usize] ; ["Offset of field: _xmlParserInputBuffer::raw"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , raw) - 40usize] ; ["Offset of field: _xmlParserInputBuffer::compressed"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , compressed) - 48usize] ; ["Offset of field: _xmlParserInputBuffer::error"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , error) - 52usize] ; ["Offset of field: _xmlParserInputBuffer::rawconsumed"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , rawconsumed) - 56usize] ; } ; # [doc = " Output buffer"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlOutputBuffer { pub context : * mut :: std :: os :: raw :: c_void , pub writecallback : xmlOutputWriteCallback , pub closecallback : xmlOutputCloseCallback , pub encoder : * mut xmlCharEncodingHandler , pub buffer : * mut xmlBuf , pub conv : * mut xmlBuf , pub written : :: std :: os :: raw :: c_int , pub error : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlOutputBuffer"] [:: std :: mem :: size_of :: < _xmlOutputBuffer > () - 56usize] ; ["Alignment of _xmlOutputBuffer"] [:: std :: mem :: align_of :: < _xmlOutputBuffer > () - 8usize] ; ["Offset of field: _xmlOutputBuffer::context"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , context) - 0usize] ; ["Offset of field: _xmlOutputBuffer::writecallback"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , writecallback) - 8usize] ; ["Offset of field: _xmlOutputBuffer::closecallback"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , closecallback) - 16usize] ; ["Offset of field: _xmlOutputBuffer::encoder"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , encoder) - 24usize] ; ["Offset of field: _xmlOutputBuffer::buffer"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , buffer) - 32usize] ; ["Offset of field: _xmlOutputBuffer::conv"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , conv) - 40usize] ; ["Offset of field: _xmlOutputBuffer::written"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , written) - 48usize] ; ["Offset of field: _xmlOutputBuffer::error"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , error) - 52usize] ; } ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlParserInputBufferCreateFilenameValue () -> * mut xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn __xmlOutputBufferCreateFilenameValue () -> * mut xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { # [doc = " @endcond"] pub fn xmlCleanupInputCallbacks () ; } unsafe extern "C" { pub fn xmlPopInputCallbacks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterDefaultInputCallbacks () ; } unsafe extern "C" { pub fn xmlAllocParserInputBuffer (enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFile (file : * mut FILE , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFd (fd : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateMem (mem : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateStatic (mem : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateIO (ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferRead (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferGrow (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferPush (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int , buf : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFreeParserInputBuffer (in_ : * mut xmlParserInputBuffer) ; } unsafe extern "C" { pub fn xmlParserGetDirectory (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlRegisterInputCallbacks (matchFunc : xmlInputMatchCallback , openFunc : xmlInputOpenCallback , readFunc : xmlInputReadCallback , closeFunc : xmlInputCloseCallback) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlParserInputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlCleanupOutputCallbacks () ; } unsafe extern "C" { pub fn xmlPopOutputCallbacks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterDefaultOutputCallbacks () ; } unsafe extern "C" { pub fn xmlAllocOutputBuffer (encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFile (file : * mut FILE , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateBuffer (buffer : * mut xmlBuffer , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFd (fd : :: std :: os :: raw :: c_int , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateIO (iowrite : xmlOutputWriteCallback , ioclose : xmlOutputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferGetContent (out : * mut xmlOutputBuffer) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlOutputBufferGetSize (out : * mut xmlOutputBuffer) -> usize ; } unsafe extern "C" { pub fn xmlOutputBufferWrite (out : * mut xmlOutputBuffer , len : :: std :: os :: raw :: c_int , buf : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferWriteString (out : * mut xmlOutputBuffer , str_ : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferWriteEscape (out : * mut xmlOutputBuffer , str_ : * const xmlChar , escaping : xmlCharEncodingOutputFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferFlush (out : * mut xmlOutputBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferClose (out : * mut xmlOutputBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterOutputCallbacks (matchFunc : xmlOutputMatchCallback , openFunc : xmlOutputOpenCallback , writeFunc : xmlOutputWriteCallback , closeFunc : xmlOutputCloseCallback) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlOutputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlCheckHTTPInput (ctxt : * mut xmlParserCtxt , ret : * mut xmlParserInput) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNoNetExternalEntityLoader (URL : * const :: std :: os :: raw :: c_char , ID : * const :: std :: os :: raw :: c_char , ctxt : * mut xmlParserCtxt) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNormalizeWindowsPath (path : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCheckFilename (path : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileMatch (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileOpen (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlFileRead (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileClose (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [doc = " @cond IGNORE"] pub fn xmlIOHTTPMatch (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIOHTTPOpen (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlRegisterHTTPPostCallbacks () ; } unsafe extern "C" { pub fn xmlIOHTTPOpenW (post_uri : * const :: std :: os :: raw :: c_char , compression : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlIOHTTPRead (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIOHTTPClose (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFilenameDefault (func : xmlParserInputBufferCreateFilenameFunc) -> xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFilenameDefault (func : xmlOutputBufferCreateFilenameFunc) -> xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlThrDefOutputBufferCreateFilenameDefault (func : xmlOutputBufferCreateFilenameFunc) -> xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlThrDefParserInputBufferCreateFilenameDefault (func : xmlParserInputBufferCreateFilenameFunc) -> xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlSAX2GetPublicId (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSAX2GetSystemId (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSAX2SetDocumentLocator (ctx : * mut :: std :: os :: raw :: c_void , loc : * mut xmlSAXLocator) ; } unsafe extern "C" { pub fn xmlSAX2GetLineNumber (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2GetColumnNumber (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2IsStandalone (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2HasInternalSubset (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2HasExternalSubset (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2InternalSubset (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2ExternalSubset (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2GetEntity (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlSAX2GetParameterEntity (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlSAX2ResolveEntity (ctx : * mut :: std :: os :: raw :: c_void , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlSAX2EntityDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * mut xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2AttributeDecl (ctx : * mut :: std :: os :: raw :: c_void , elem : * const xmlChar , fullname : * const xmlChar , type_ : :: std :: os :: raw :: c_int , def : :: std :: os :: raw :: c_int , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) ; } unsafe extern "C" { pub fn xmlSAX2ElementDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , content : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlSAX2NotationDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2UnparsedEntityDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar , notationName : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2StartDocument (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSAX2EndDocument (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSAX2StartElement (ctx : * mut :: std :: os :: raw :: c_void , fullname : * const xmlChar , atts : * mut * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2EndElement (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2StartElementNs (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar , nb_namespaces : :: std :: os :: raw :: c_int , namespaces : * mut * const xmlChar , nb_attributes : :: std :: os :: raw :: c_int , nb_defaulted : :: std :: os :: raw :: c_int , attributes : * mut * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2EndElementNs (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Reference (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Characters (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2IgnorableWhitespace (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2ProcessingInstruction (ctx : * mut :: std :: os :: raw :: c_void , target : * const xmlChar , data : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Comment (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2CDataBlock (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAXDefaultVersion (version : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXVersion (hdlr : * mut xmlSAXHandler , version : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2InitDefaultSAXHandler (hdlr : * mut xmlSAXHandler , warning : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2InitHtmlDefaultSAXHandler (hdlr : * mut xmlSAXHandler) ; } unsafe extern "C" { pub fn htmlDefaultSAXHandlerInit () ; } unsafe extern "C" { pub fn xmlDefaultSAXHandlerInit () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlMutex { _unused : [u8 ; 0] , } # [doc = " Mutual exclusion object"] pub type xmlMutex = _xmlMutex ; pub type xmlMutexPtr = * mut xmlMutex ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRMutex { _unused : [u8 ; 0] , } # [doc = " Reentrant mutual exclusion object"] pub type xmlRMutex = _xmlRMutex ; pub type xmlRMutexPtr = * mut xmlRMutex ; unsafe extern "C" { pub fn xmlCheckThreadLocalStorage () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNewMutex () -> * mut xmlMutex ; } unsafe extern "C" { pub fn xmlMutexLock (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlMutexUnlock (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlFreeMutex (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlNewRMutex () -> * mut xmlRMutex ; } unsafe extern "C" { pub fn xmlRMutexLock (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlRMutexUnlock (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlFreeRMutex (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlInitThreads () ; } unsafe extern "C" { pub fn xmlLockLibrary () ; } unsafe extern "C" { pub fn xmlUnlockLibrary () ; } unsafe extern "C" { pub fn xmlCleanupThreads () ; } # [doc = " not well-formed"] pub const xmlParserStatus_XML_STATUS_NOT_WELL_FORMED : xmlParserStatus = 1 ; # [doc = " not namespace-well-formed"] pub const xmlParserStatus_XML_STATUS_NOT_NS_WELL_FORMED : xmlParserStatus = 2 ; # [doc = " DTD validation failed"] pub const xmlParserStatus_XML_STATUS_DTD_VALIDATION_FAILED : xmlParserStatus = 4 ; # [doc = " catastrophic failure like OOM or I/O error"] pub const xmlParserStatus_XML_STATUS_CATASTROPHIC_ERROR : xmlParserStatus = 8 ; # [doc = " Status after parsing a document"] pub type xmlParserStatus = :: std :: os :: raw :: c_uint ; # [doc = " unknown"] pub const xmlResourceType_XML_RESOURCE_UNKNOWN : xmlResourceType = 0 ; # [doc = " main document"] pub const xmlResourceType_XML_RESOURCE_MAIN_DOCUMENT : xmlResourceType = 1 ; # [doc = " external DTD"] pub const xmlResourceType_XML_RESOURCE_DTD : xmlResourceType = 2 ; # [doc = " external general entity"] pub const xmlResourceType_XML_RESOURCE_GENERAL_ENTITY : xmlResourceType = 3 ; # [doc = " external parameter entity"] pub const xmlResourceType_XML_RESOURCE_PARAMETER_ENTITY : xmlResourceType = 4 ; # [doc = " XIncluded document"] pub const xmlResourceType_XML_RESOURCE_XINCLUDE : xmlResourceType = 5 ; # [doc = " XIncluded text"] pub const xmlResourceType_XML_RESOURCE_XINCLUDE_TEXT : xmlResourceType = 6 ; # [doc = " Resource type for resource loaders"] pub type xmlResourceType = :: std :: os :: raw :: c_uint ; # [doc = " The input buffer won't be changed during parsing."] pub const xmlParserInputFlags_XML_INPUT_BUF_STATIC : xmlParserInputFlags = 2 ; # [doc = " The input buffer is zero-terminated. (Note that the zero\nbyte shouldn't be included in buffer size.)"] pub const xmlParserInputFlags_XML_INPUT_BUF_ZERO_TERMINATED : xmlParserInputFlags = 4 ; # [doc = " Uncompress gzipped file input"] pub const xmlParserInputFlags_XML_INPUT_UNZIP : xmlParserInputFlags = 8 ; # [doc = " Allow network access. Unused internally."] pub const xmlParserInputFlags_XML_INPUT_NETWORK : xmlParserInputFlags = 16 ; # [doc = " Allow system catalog to resolve URIs."] pub const xmlParserInputFlags_XML_INPUT_USE_SYS_CATALOG : xmlParserInputFlags = 32 ; # [doc = " Flags for parser input"] pub type xmlParserInputFlags = :: std :: os :: raw :: c_uint ; pub type xmlParserInputDeallocate = :: std :: option :: Option < unsafe extern "C" fn (str_ : * mut xmlChar) > ; # [doc = " Parser input"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserInput { pub buf : * mut xmlParserInputBuffer , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n The filename or URI, if any"] pub filename : * const :: std :: os :: raw :: c_char , pub directory : * const :: std :: os :: raw :: c_char , pub base : * const xmlChar , # [doc = " @deprecated Use #xmlCtxtGetInputWindow\n\n Current char being parsed"] pub cur : * const xmlChar , pub end : * const xmlChar , pub length : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n Current line"] pub line : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n Current column"] pub col : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n How many xmlChars already consumed"] pub consumed : :: std :: os :: raw :: c_ulong , pub free : xmlParserInputDeallocate , pub encoding : * const xmlChar , pub version : * const xmlChar , pub flags : :: std :: os :: raw :: c_int , pub id : :: std :: os :: raw :: c_int , pub parentConsumed : :: std :: os :: raw :: c_ulong , pub entity : * mut xmlEntity , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserInput"] [:: std :: mem :: size_of :: < _xmlParserInput > () - 120usize] ; ["Alignment of _xmlParserInput"] [:: std :: mem :: align_of :: < _xmlParserInput > () - 8usize] ; ["Offset of field: _xmlParserInput::buf"] [:: std :: mem :: offset_of ! (_xmlParserInput , buf) - 0usize] ; ["Offset of field: _xmlParserInput::filename"] [:: std :: mem :: offset_of ! (_xmlParserInput , filename) - 8usize] ; ["Offset of field: _xmlParserInput::directory"] [:: std :: mem :: offset_of ! (_xmlParserInput , directory) - 16usize] ; ["Offset of field: _xmlParserInput::base"] [:: std :: mem :: offset_of ! (_xmlParserInput , base) - 24usize] ; ["Offset of field: _xmlParserInput::cur"] [:: std :: mem :: offset_of ! (_xmlParserInput , cur) - 32usize] ; ["Offset of field: _xmlParserInput::end"] [:: std :: mem :: offset_of ! (_xmlParserInput , end) - 40usize] ; ["Offset of field: _xmlParserInput::length"] [:: std :: mem :: offset_of ! (_xmlParserInput , length) - 48usize] ; ["Offset of field: _xmlParserInput::line"] [:: std :: mem :: offset_of ! (_xmlParserInput , line) - 52usize] ; ["Offset of field: _xmlParserInput::col"] [:: std :: mem :: offset_of ! (_xmlParserInput , col) - 56usize] ; ["Offset of field: _xmlParserInput::consumed"] [:: std :: mem :: offset_of ! (_xmlParserInput , consumed) - 64usize] ; ["Offset of field: _xmlParserInput::free"] [:: std :: mem :: offset_of ! (_xmlParserInput , free) - 72usize] ; ["Offset of field: _xmlParserInput::encoding"] [:: std :: mem :: offset_of ! (_xmlParserInput , encoding) - 80usize] ; ["Offset of field: _xmlParserInput::version"] [:: std :: mem :: offset_of ! (_xmlParserInput , version) - 88usize] ; ["Offset of field: _xmlParserInput::flags"] [:: std :: mem :: offset_of ! (_xmlParserInput , flags) - 96usize] ; ["Offset of field: _xmlParserInput::id"] [:: std :: mem :: offset_of ! (_xmlParserInput , id) - 100usize] ; ["Offset of field: _xmlParserInput::parentConsumed"] [:: std :: mem :: offset_of ! (_xmlParserInput , parentConsumed) - 104usize] ; ["Offset of field: _xmlParserInput::entity"] [:: std :: mem :: offset_of ! (_xmlParserInput , entity) - 112usize] ; } ; # [doc = " @cond ignore"] pub type xmlParserNodeInfo = _xmlParserNodeInfo ; pub type xmlParserNodeInfoPtr = * mut xmlParserNodeInfo ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNodeInfo { pub node : * const _xmlNode , pub begin_pos : :: std :: os :: raw :: c_ulong , pub begin_line : :: std :: os :: raw :: c_ulong , pub end_pos : :: std :: os :: raw :: c_ulong , pub end_line : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserNodeInfo"] [:: std :: mem :: size_of :: < _xmlParserNodeInfo > () - 40usize] ; ["Alignment of _xmlParserNodeInfo"] [:: std :: mem :: align_of :: < _xmlParserNodeInfo > () - 8usize] ; ["Offset of field: _xmlParserNodeInfo::node"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , node) - 0usize] ; ["Offset of field: _xmlParserNodeInfo::begin_pos"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , begin_pos) - 8usize] ; ["Offset of field: _xmlParserNodeInfo::begin_line"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , begin_line) - 16usize] ; ["Offset of field: _xmlParserNodeInfo::end_pos"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , end_pos) - 24usize] ; ["Offset of field: _xmlParserNodeInfo::end_line"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , end_line) - 32usize] ; } ; pub type xmlParserNodeInfoSeq = _xmlParserNodeInfoSeq ; pub type xmlParserNodeInfoSeqPtr = * mut xmlParserNodeInfoSeq ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNodeInfoSeq { pub maximum : :: std :: os :: raw :: c_ulong , pub length : :: std :: os :: raw :: c_ulong , pub buffer : * mut xmlParserNodeInfo , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserNodeInfoSeq"] [:: std :: mem :: size_of :: < _xmlParserNodeInfoSeq > () - 24usize] ; ["Alignment of _xmlParserNodeInfoSeq"] [:: std :: mem :: align_of :: < _xmlParserNodeInfoSeq > () - 8usize] ; ["Offset of field: _xmlParserNodeInfoSeq::maximum"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , maximum) - 0usize] ; ["Offset of field: _xmlParserNodeInfoSeq::length"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , length) - 8usize] ; ["Offset of field: _xmlParserNodeInfoSeq::buffer"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , buffer) - 16usize] ; } ; pub const xmlParserInputState_XML_PARSER_EOF : xmlParserInputState = - 1 ; pub const xmlParserInputState_XML_PARSER_START : xmlParserInputState = 0 ; pub const xmlParserInputState_XML_PARSER_MISC : xmlParserInputState = 1 ; pub const xmlParserInputState_XML_PARSER_PI : xmlParserInputState = 2 ; pub const xmlParserInputState_XML_PARSER_DTD : xmlParserInputState = 3 ; pub const xmlParserInputState_XML_PARSER_PROLOG : xmlParserInputState = 4 ; pub const xmlParserInputState_XML_PARSER_COMMENT : xmlParserInputState = 5 ; pub const xmlParserInputState_XML_PARSER_START_TAG : xmlParserInputState = 6 ; pub const xmlParserInputState_XML_PARSER_CONTENT : xmlParserInputState = 7 ; pub const xmlParserInputState_XML_PARSER_CDATA_SECTION : xmlParserInputState = 8 ; pub const xmlParserInputState_XML_PARSER_END_TAG : xmlParserInputState = 9 ; pub const xmlParserInputState_XML_PARSER_ENTITY_DECL : xmlParserInputState = 10 ; pub const xmlParserInputState_XML_PARSER_ENTITY_VALUE : xmlParserInputState = 11 ; pub const xmlParserInputState_XML_PARSER_ATTRIBUTE_VALUE : xmlParserInputState = 12 ; pub const xmlParserInputState_XML_PARSER_SYSTEM_LITERAL : xmlParserInputState = 13 ; pub const xmlParserInputState_XML_PARSER_EPILOG : xmlParserInputState = 14 ; pub const xmlParserInputState_XML_PARSER_IGNORE : xmlParserInputState = 15 ; pub const xmlParserInputState_XML_PARSER_PUBLIC_LITERAL : xmlParserInputState = 16 ; pub const xmlParserInputState_XML_PARSER_XML_DECL : xmlParserInputState = 17 ; pub type xmlParserInputState = :: std :: os :: raw :: c_int ; pub const xmlParserMode_XML_PARSE_UNKNOWN : xmlParserMode = 0 ; pub const xmlParserMode_XML_PARSE_DOM : xmlParserMode = 1 ; pub const xmlParserMode_XML_PARSE_SAX : xmlParserMode = 2 ; pub const xmlParserMode_XML_PARSE_PUSH_DOM : xmlParserMode = 3 ; pub const xmlParserMode_XML_PARSE_PUSH_SAX : xmlParserMode = 4 ; pub const xmlParserMode_XML_PARSE_READER : xmlParserMode = 5 ; pub type xmlParserMode = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlStartTag { _unused : [u8 ; 0] , } pub type xmlStartTag = _xmlStartTag ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNsData { _unused : [u8 ; 0] , } pub type xmlParserNsData = _xmlParserNsData ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttrHashBucket { _unused : [u8 ; 0] , } pub type xmlAttrHashBucket = _xmlAttrHashBucket ; # [doc = " Callback for custom resource loaders.\n\n `flags` can contain XML_INPUT_UNZIP and XML_INPUT_NETWORK.\n\n The URL is resolved using XML catalogs before being passed to\n the callback.\n\n On success, `out` should be set to a new parser input object and\n XML_ERR_OK should be returned.\n\n @param ctxt  parser context\n @param url  URL or system ID to load\n @param publicId  publid ID from DTD (optional)\n @param type  resource type\n @param flags  flags\n @param out  result pointer\n @returns an xmlParserErrors code."] pub type xmlResourceLoader = :: std :: option :: Option < unsafe extern "C" fn (ctxt : * mut :: std :: os :: raw :: c_void , url : * const :: std :: os :: raw :: c_char , publicId : * const :: std :: os :: raw :: c_char , type_ : xmlResourceType , flags : xmlParserInputFlags , out : * mut * mut xmlParserInput) -> xmlParserErrors > ; # [doc = " Parser context"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserCtxt { # [doc = " @deprecated Use xmlCtxtGetSaxHandler() and\n xmlCtxtSetSaxHandler().\n\n the SAX handler"] pub sax : * mut _xmlSAXHandler , # [doc = " @deprecated Use #xmlCtxtGetUserData\n\n user data for SAX interface, defaults to the context itself"] pub userData : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlCtxtGetDocument()\n\n the document being built"] pub myDoc : * mut xmlDoc , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document well formed?"] pub wellFormed : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_NOENT\n\n shall we replace entities?"] pub replaceEntities : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetVersion()\n\n the XML version string"] pub version : * mut xmlChar , # [doc = " @deprecated Use xmlCtxtGetDeclaredEncoding()\n\n the declared encoding, if any"] pub encoding : * mut xmlChar , # [doc = " @deprecated Use xmlCtxtGetStandalone()\n\n standalone document"] pub standalone : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsHtml()\n\n non-zero for HTML documents, actually an htmlInsertMode"] pub html : :: std :: os :: raw :: c_int , pub input : * mut xmlParserInput , pub inputNr : :: std :: os :: raw :: c_int , pub inputMax : :: std :: os :: raw :: c_int , pub inputTab : * mut * mut xmlParserInput , # [doc = " @deprecated Use #xmlCtxtGetNode\n\n The current element."] pub node : * mut xmlNode , pub nodeNr : :: std :: os :: raw :: c_int , pub nodeMax : :: std :: os :: raw :: c_int , pub nodeTab : * mut * mut xmlNode , pub record_info : :: std :: os :: raw :: c_int , pub node_seq : xmlParserNodeInfoSeq , # [doc = " @deprecated Use xmlCtxtGetLastError()\n\n error code"] pub errNo : :: std :: os :: raw :: c_int , pub hasExternalSubset : :: std :: os :: raw :: c_int , pub hasPErefs : :: std :: os :: raw :: c_int , pub external : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document valid"] pub valid : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_DTDVALID\n\n shall we try to validate?"] pub validate : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetValidCtxt()\n\n The validity context"] pub vctxt : xmlValidCtxt , pub instate : xmlParserInputState , pub token : :: std :: os :: raw :: c_int , # [doc = " @deprecated Don't use\n\n The main document URI, if available, with its last\n component stripped."] pub directory : * mut :: std :: os :: raw :: c_char , pub name : * const xmlChar , pub nameNr : :: std :: os :: raw :: c_int , pub nameMax : :: std :: os :: raw :: c_int , pub nameTab : * mut * const xmlChar , pub nbChars : :: std :: os :: raw :: c_long , pub checkIndex : :: std :: os :: raw :: c_long , # [doc = " @deprecated Use inverted xmlParserOption XML_PARSE_NOBLANKS\n\n ugly but ..."] pub keepBlanks : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsStopped()\n\n SAX callbacks are disabled"] pub disableSAX : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsInSubset\n\n Set if DTD content is parsed.\n\n - 0: not in DTD\n - 1: in internal DTD subset\n - 2: in external DTD subset"] pub inSubset : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use the `name` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n Name of the internal subset (root element type)."] pub intSubName : * const xmlChar , # [doc = " @deprecated Use the `systemId` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n System identifier (URI) of external the subset."] pub extSubURI : * mut xmlChar , # [doc = " @deprecated Use the `publicId` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n This member is MISNAMED. It contains the *public* identifier\n of the external subset."] pub extSubSystem : * mut xmlChar , pub space : * mut :: std :: os :: raw :: c_int , pub spaceNr : :: std :: os :: raw :: c_int , pub spaceMax : :: std :: os :: raw :: c_int , pub spaceTab : * mut :: std :: os :: raw :: c_int , pub depth : :: std :: os :: raw :: c_int , pub entity : * mut xmlParserInput , pub charset : :: std :: os :: raw :: c_int , pub nodelen : :: std :: os :: raw :: c_int , pub nodemem : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_PEDANTIC\n\n signal pedantic warnings"] pub pedantic : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetPrivate() and xmlCtxtSetPrivate()\n\n For user data, libxml won't touch it"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlParserOption XML_PARSE_DTDLOAD,\n XML_PARSE_DTDATTR or XML_PARSE_SKIP_IDS.\n\n Control loading of the external subset and handling of IDs.\n Other options like `validate` can override this value.\n\n - 0: The default behavior is to process IDs and to ignore\n   the external subset.\n - XML_DETECT_IDS: Load external subset. This flag is\n   misnamed. ID handling is only controlled by XML_SKIP_IDS.\n - XML_COMPLETE_ATTRS: Load external subset and process\n   default attributes.\n - XML_SKIP_IDS: Ignore IDs."] pub loadsubset : :: std :: os :: raw :: c_int , pub linenumbers : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetCatalogs() and xmlCtxtSetCatalogs()\n\n document's own catalog"] pub catalogs : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlParserOption XML_PARSE_RECOVER\n run in recovery mode"] pub recovery : :: std :: os :: raw :: c_int , pub progressive : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetDict() and xmlCtxtSetDict()\n\n dictionary for the parser"] pub dict : * mut xmlDict , pub atts : * mut * const xmlChar , pub maxatts : :: std :: os :: raw :: c_int , pub docdict : :: std :: os :: raw :: c_int , pub str_xml : * const xmlChar , pub str_xmlns : * const xmlChar , pub str_xml_ns : * const xmlChar , pub sax2 : :: std :: os :: raw :: c_int , pub nsNr : :: std :: os :: raw :: c_int , pub nsMax : :: std :: os :: raw :: c_int , pub nsTab : * mut * const xmlChar , pub attallocs : * mut :: std :: os :: raw :: c_uint , pub pushTab : * mut xmlStartTag , pub attsDefault : * mut xmlHashTable , pub attsSpecial : * mut xmlHashTable , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document XML Namespace okay"] pub nsWellFormed : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetOptions()\n\n Extra options"] pub options : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use inverted xmlParserOption XML_PARSE_NODICT\n\n Use dictionary names for the tree"] pub dictNames : :: std :: os :: raw :: c_int , pub freeElemsNr : :: std :: os :: raw :: c_int , pub freeElems : * mut xmlNode , pub freeAttrsNr : :: std :: os :: raw :: c_int , pub freeAttrs : * mut xmlAttr , # [doc = " @deprecated Use xmlCtxtGetLastError()\n\n the complete error information for the last error."] pub lastError : xmlError , pub parseMode : xmlParserMode , pub nbentities : :: std :: os :: raw :: c_ulong , pub sizeentities : :: std :: os :: raw :: c_ulong , pub nodeInfo : * mut xmlParserNodeInfo , pub nodeInfoNr : :: std :: os :: raw :: c_int , pub nodeInfoMax : :: std :: os :: raw :: c_int , pub nodeInfoTab : * mut xmlParserNodeInfo , pub input_id : :: std :: os :: raw :: c_int , pub sizeentcopy : :: std :: os :: raw :: c_ulong , pub endCheckState : :: std :: os :: raw :: c_int , pub nbErrors : :: std :: os :: raw :: c_ushort , pub nbWarnings : :: std :: os :: raw :: c_ushort , pub maxAmpl : :: std :: os :: raw :: c_uint , pub nsdb : * mut xmlParserNsData , pub attrHashMax : :: std :: os :: raw :: c_uint , pub attrHash : * mut xmlAttrHashBucket , pub errorHandler : xmlStructuredErrorFunc , pub errorCtxt : * mut :: std :: os :: raw :: c_void , pub resourceLoader : xmlResourceLoader , pub resourceCtxt : * mut :: std :: os :: raw :: c_void , pub convImpl : xmlCharEncConvImpl , pub convCtxt : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserCtxt"] [:: std :: mem :: size_of :: < _xmlParserCtxt > () - 840usize] ; ["Alignment of _xmlParserCtxt"] [:: std :: mem :: align_of :: < _xmlParserCtxt > () - 8usize] ; ["Offset of field: _xmlParserCtxt::sax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sax) - 0usize] ; ["Offset of field: _xmlParserCtxt::userData"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , userData) - 8usize] ; ["Offset of field: _xmlParserCtxt::myDoc"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , myDoc) - 16usize] ; ["Offset of field: _xmlParserCtxt::wellFormed"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , wellFormed) - 24usize] ; ["Offset of field: _xmlParserCtxt::replaceEntities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , replaceEntities) - 28usize] ; ["Offset of field: _xmlParserCtxt::version"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , version) - 32usize] ; ["Offset of field: _xmlParserCtxt::encoding"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , encoding) - 40usize] ; ["Offset of field: _xmlParserCtxt::standalone"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , standalone) - 48usize] ; ["Offset of field: _xmlParserCtxt::html"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , html) - 52usize] ; ["Offset of field: _xmlParserCtxt::input"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , input) - 56usize] ; ["Offset of field: _xmlParserCtxt::inputNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputNr) - 64usize] ; ["Offset of field: _xmlParserCtxt::inputMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputMax) - 68usize] ; ["Offset of field: _xmlParserCtxt::inputTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputTab) - 72usize] ; ["Offset of field: _xmlParserCtxt::node"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , node) - 80usize] ; ["Offset of field: _xmlParserCtxt::nodeNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeNr) - 88usize] ; ["Offset of field: _xmlParserCtxt::nodeMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeMax) - 92usize] ; ["Offset of field: _xmlParserCtxt::nodeTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeTab) - 96usize] ; ["Offset of field: _xmlParserCtxt::record_info"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , record_info) - 104usize] ; ["Offset of field: _xmlParserCtxt::node_seq"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , node_seq) - 112usize] ; ["Offset of field: _xmlParserCtxt::errNo"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errNo) - 136usize] ; ["Offset of field: _xmlParserCtxt::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , hasExternalSubset) - 140usize] ; ["Offset of field: _xmlParserCtxt::hasPErefs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , hasPErefs) - 144usize] ; ["Offset of field: _xmlParserCtxt::external"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , external) - 148usize] ; ["Offset of field: _xmlParserCtxt::valid"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , valid) - 152usize] ; ["Offset of field: _xmlParserCtxt::validate"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , validate) - 156usize] ; ["Offset of field: _xmlParserCtxt::vctxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , vctxt) - 160usize] ; ["Offset of field: _xmlParserCtxt::instate"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , instate) - 272usize] ; ["Offset of field: _xmlParserCtxt::token"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , token) - 276usize] ; ["Offset of field: _xmlParserCtxt::directory"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , directory) - 280usize] ; ["Offset of field: _xmlParserCtxt::name"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , name) - 288usize] ; ["Offset of field: _xmlParserCtxt::nameNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameNr) - 296usize] ; ["Offset of field: _xmlParserCtxt::nameMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameMax) - 300usize] ; ["Offset of field: _xmlParserCtxt::nameTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameTab) - 304usize] ; ["Offset of field: _xmlParserCtxt::nbChars"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbChars) - 312usize] ; ["Offset of field: _xmlParserCtxt::checkIndex"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , checkIndex) - 320usize] ; ["Offset of field: _xmlParserCtxt::keepBlanks"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , keepBlanks) - 328usize] ; ["Offset of field: _xmlParserCtxt::disableSAX"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , disableSAX) - 332usize] ; ["Offset of field: _xmlParserCtxt::inSubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inSubset) - 336usize] ; ["Offset of field: _xmlParserCtxt::intSubName"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , intSubName) - 344usize] ; ["Offset of field: _xmlParserCtxt::extSubURI"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , extSubURI) - 352usize] ; ["Offset of field: _xmlParserCtxt::extSubSystem"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , extSubSystem) - 360usize] ; ["Offset of field: _xmlParserCtxt::space"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , space) - 368usize] ; ["Offset of field: _xmlParserCtxt::spaceNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceNr) - 376usize] ; ["Offset of field: _xmlParserCtxt::spaceMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceMax) - 380usize] ; ["Offset of field: _xmlParserCtxt::spaceTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceTab) - 384usize] ; ["Offset of field: _xmlParserCtxt::depth"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , depth) - 392usize] ; ["Offset of field: _xmlParserCtxt::entity"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , entity) - 400usize] ; ["Offset of field: _xmlParserCtxt::charset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , charset) - 408usize] ; ["Offset of field: _xmlParserCtxt::nodelen"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodelen) - 412usize] ; ["Offset of field: _xmlParserCtxt::nodemem"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodemem) - 416usize] ; ["Offset of field: _xmlParserCtxt::pedantic"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , pedantic) - 420usize] ; ["Offset of field: _xmlParserCtxt::_private"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , _private) - 424usize] ; ["Offset of field: _xmlParserCtxt::loadsubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , loadsubset) - 432usize] ; ["Offset of field: _xmlParserCtxt::linenumbers"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , linenumbers) - 436usize] ; ["Offset of field: _xmlParserCtxt::catalogs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , catalogs) - 440usize] ; ["Offset of field: _xmlParserCtxt::recovery"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , recovery) - 448usize] ; ["Offset of field: _xmlParserCtxt::progressive"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , progressive) - 452usize] ; ["Offset of field: _xmlParserCtxt::dict"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , dict) - 456usize] ; ["Offset of field: _xmlParserCtxt::atts"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , atts) - 464usize] ; ["Offset of field: _xmlParserCtxt::maxatts"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , maxatts) - 472usize] ; ["Offset of field: _xmlParserCtxt::docdict"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , docdict) - 476usize] ; ["Offset of field: _xmlParserCtxt::str_xml"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xml) - 480usize] ; ["Offset of field: _xmlParserCtxt::str_xmlns"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xmlns) - 488usize] ; ["Offset of field: _xmlParserCtxt::str_xml_ns"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xml_ns) - 496usize] ; ["Offset of field: _xmlParserCtxt::sax2"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sax2) - 504usize] ; ["Offset of field: _xmlParserCtxt::nsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsNr) - 508usize] ; ["Offset of field: _xmlParserCtxt::nsMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsMax) - 512usize] ; ["Offset of field: _xmlParserCtxt::nsTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsTab) - 520usize] ; ["Offset of field: _xmlParserCtxt::attallocs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attallocs) - 528usize] ; ["Offset of field: _xmlParserCtxt::pushTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , pushTab) - 536usize] ; ["Offset of field: _xmlParserCtxt::attsDefault"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attsDefault) - 544usize] ; ["Offset of field: _xmlParserCtxt::attsSpecial"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attsSpecial) - 552usize] ; ["Offset of field: _xmlParserCtxt::nsWellFormed"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsWellFormed) - 560usize] ; ["Offset of field: _xmlParserCtxt::options"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , options) - 564usize] ; ["Offset of field: _xmlParserCtxt::dictNames"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , dictNames) - 568usize] ; ["Offset of field: _xmlParserCtxt::freeElemsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeElemsNr) - 572usize] ; ["Offset of field: _xmlParserCtxt::freeElems"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeElems) - 576usize] ; ["Offset of field: _xmlParserCtxt::freeAttrsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeAttrsNr) - 584usize] ; ["Offset of field: _xmlParserCtxt::freeAttrs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeAttrs) - 592usize] ; ["Offset of field: _xmlParserCtxt::lastError"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , lastError) - 600usize] ; ["Offset of field: _xmlParserCtxt::parseMode"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , parseMode) - 688usize] ; ["Offset of field: _xmlParserCtxt::nbentities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbentities) - 696usize] ; ["Offset of field: _xmlParserCtxt::sizeentities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sizeentities) - 704usize] ; ["Offset of field: _xmlParserCtxt::nodeInfo"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfo) - 712usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoNr) - 720usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoMax) - 724usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoTab) - 728usize] ; ["Offset of field: _xmlParserCtxt::input_id"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , input_id) - 736usize] ; ["Offset of field: _xmlParserCtxt::sizeentcopy"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sizeentcopy) - 744usize] ; ["Offset of field: _xmlParserCtxt::endCheckState"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , endCheckState) - 752usize] ; ["Offset of field: _xmlParserCtxt::nbErrors"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbErrors) - 756usize] ; ["Offset of field: _xmlParserCtxt::nbWarnings"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbWarnings) - 758usize] ; ["Offset of field: _xmlParserCtxt::maxAmpl"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , maxAmpl) - 760usize] ; ["Offset of field: _xmlParserCtxt::nsdb"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsdb) - 768usize] ; ["Offset of field: _xmlParserCtxt::attrHashMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attrHashMax) - 776usize] ; ["Offset of field: _xmlParserCtxt::attrHash"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attrHash) - 784usize] ; ["Offset of field: _xmlParserCtxt::errorHandler"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errorHandler) - 792usize] ; ["Offset of field: _xmlParserCtxt::errorCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errorCtxt) - 800usize] ; ["Offset of field: _xmlParserCtxt::resourceLoader"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , resourceLoader) - 808usize] ; ["Offset of field: _xmlParserCtxt::resourceCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , resourceCtxt) - 816usize] ; ["Offset of field: _xmlParserCtxt::convImpl"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , convImpl) - 824usize] ; ["Offset of field: _xmlParserCtxt::convCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , convCtxt) - 832usize] ; } ; # [doc = " A SAX Locator."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXLocator { pub getPublicId : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar > , pub getSystemId : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar > , pub getLineNumber : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , pub getColumnNumber : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXLocator"] [:: std :: mem :: size_of :: < _xmlSAXLocator > () - 32usize] ; ["Alignment of _xmlSAXLocator"] [:: std :: mem :: align_of :: < _xmlSAXLocator > () - 8usize] ; ["Offset of field: _xmlSAXLocator::getPublicId"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getPublicId) - 0usize] ; ["Offset of field: _xmlSAXLocator::getSystemId"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getSystemId) - 8usize] ; ["Offset of field: _xmlSAXLocator::getLineNumber"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getLineNumber) - 16usize] ; ["Offset of field: _xmlSAXLocator::getColumnNumber"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getColumnNumber) - 24usize] ; } ; # [doc = " SAX callback to resolve external entities.\n\n This is only used to load DTDs. The preferred way to install\n custom resolvers is #xmlCtxtSetResourceLoader.\n\n @param ctx  the user data (XML parser context)\n @param publicId  The public identifier of the entity\n @param systemId  The system identifier of the entity (URL)\n @returns the xmlParserInput if inlined or NULL for DOM behaviour."] pub type resolveEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlParserInput > ; # [doc = " SAX callback for the internal subset.\n\n @param ctx  the user data (XML parser context)\n @param name  the root element name\n @param publicId  the public identifier\n @param systemId  the system identifier (e.g. filename or URL)"] pub type internalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback for the external subset.\n\n @param ctx  the user data (XML parser context)\n @param name  the root element name\n @param publicId  the public identifier\n @param systemId  the system identifier (e.g. filename or URL)"] pub type externalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback to look up a general entity by name.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name\n @returns the xmlEntity if found."] pub type getEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity > ; # [doc = " SAX callback to look up a parameter entity by name.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name\n @returns the xmlEntity if found."] pub type getParameterEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity > ; # [doc = " SAX callback for entity declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  the entity name\n @param type  the entity type\n @param publicId  The public ID of the entity\n @param systemId  The system ID of the entity\n @param content  the entity value (without processing)."] pub type entityDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * mut xmlChar) > ; # [doc = " SAX callback for notation declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  The name of the notation\n @param publicId  The public ID of the notation\n @param systemId  The system ID of the notation"] pub type notationDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback for attribute declarations.\n\n @param ctx  the user data (XML parser context)\n @param elem  the name of the element\n @param fullname  the attribute name\n @param type  the attribute type\n @param def  the type of default value\n @param defaultValue  the attribute default value\n @param tree  the tree of enumerated value set"] pub type attributeDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , elem : * const xmlChar , fullname : * const xmlChar , type_ : :: std :: os :: raw :: c_int , def : :: std :: os :: raw :: c_int , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) > ; # [doc = " SAX callback for element declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  the element name\n @param type  the element type\n @param content  the element value tree"] pub type elementDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , content : * mut xmlElementContent) > ; # [doc = " SAX callback for unparsed entity declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  The name of the entity\n @param publicId  The public ID of the entity\n @param systemId  The system ID of the entity\n @param notationName  the name of the notation"] pub type unparsedEntityDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar , notationName : * const xmlChar) > ; # [doc = " This callback receives the \"document locator\" at startup,\n which is always the global xmlDefaultSAXLocator.\n\n Everything is available on the context, so this is useless in\n our case.\n\n @param ctx  the user data (XML parser context)\n @param loc  A SAX Locator"] pub type setDocumentLocatorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , loc : * mut xmlSAXLocator) > ; # [doc = " SAX callback for start of document.\n\n @param ctx  the user data (XML parser context)"] pub type startDocumentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) > ; # [doc = " SAX callback for end of document.\n\n @param ctx  the user data (XML parser context)"] pub type endDocumentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) > ; # [doc = " SAX callback for start tags.\n\n @param ctx  the user data (XML parser context)\n @param name  The element name, including namespace prefix\n @param atts  An array of name/value attributes pairs, NULL terminated"] pub type startElementSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , atts : * mut * const xmlChar) > ; # [doc = " SAX callback for end tags.\n\n @param ctx  the user data (XML parser context)\n @param name  The element name"] pub type endElementSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback for attributes.\n\n @deprecated This typedef is unused.\n\n @param ctx  the user data (XML parser context)\n @param name  The attribute name, including namespace prefix\n @param value  The attribute value"] pub type attributeSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , value : * const xmlChar) > ; # [doc = " SAX callback for entity references.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name"] pub type referenceSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " SAX callback for character data.\n\n @param ctx  the user data (XML parser context)\n @param ch  a xmlChar string\n @param len  the number of xmlChar"] pub type charactersSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for \"ignorable\" whitespace.\n\n @param ctx  the user data (XML parser context)\n @param ch  a xmlChar string\n @param len  the number of xmlChar"] pub type ignorableWhitespaceSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for processing instructions.\n\n @param ctx  the user data (XML parser context)\n @param target  the target name\n @param data  the PI data's"] pub type processingInstructionSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , target : * const xmlChar , data : * const xmlChar) > ; # [doc = " SAX callback for comments.\n\n @param ctx  the user data (XML parser context)\n @param value  the comment content"] pub type commentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar) > ; # [doc = " SAX callback for CDATA sections.\n\n @param ctx  the user data (XML parser context)\n @param value  The pcdata content\n @param len  the block length"] pub type cdataBlockSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for warning messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type warningSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback for error messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type errorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback for fatal error messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type fatalErrorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback to get standalone status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type isStandaloneSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX callback to get internal subset status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type hasInternalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX callback to get external subset status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type hasExternalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX2 callback for start tags.\n\n It provides the namespace information for the element, as well as\n the new namespace declarations on the element.\n\n @param ctx  the user data (XML parser context)\n @param localname  the local name of the element\n @param prefix  the element namespace prefix if available\n @param URI  the element namespace name if available\n @param nb_namespaces  number of namespace definitions on that node\n @param namespaces  pointer to the array of prefix/URI pairs namespace definitions\n @param nb_attributes  the number of attributes on that node\n @param nb_defaulted  the number of defaulted attributes. The defaulted\n                  ones are at the end of the array\n @param attributes  pointer to the array of (localname/prefix/URI/value/end)\n               attribute values."] pub type startElementNsSAX2Func = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar , nb_namespaces : :: std :: os :: raw :: c_int , namespaces : * mut * const xmlChar , nb_attributes : :: std :: os :: raw :: c_int , nb_defaulted : :: std :: os :: raw :: c_int , attributes : * mut * const xmlChar) > ; # [doc = " SAX2 callback for end tags.\n\n It provides the namespace information for the element.\n\n @param ctx  the user data (XML parser context)\n @param localname  the local name of the element\n @param prefix  the element namespace prefix if available\n @param URI  the element namespace name if available"] pub type endElementNsSAX2Func = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar) > ; # [doc = " Callbacks for SAX parser\n\n For DTD-related handlers, it's recommended to either use the\n original libxml2 handler or set them to NULL if DTDs can be\n ignored."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXHandler { # [doc = " Called after the start of the document type declaration\n was parsed.\n\n Should typically not be modified."] pub internalSubset : internalSubsetSAXFunc , # [doc = " Standalone status. Not invoked by the parser. Not supposed\n to be changed by applications."] pub isStandalone : isStandaloneSAXFunc , # [doc = " Internal subset availability. Not invoked by the parser.\n Not supposed to be changed by applications."] pub hasInternalSubset : hasInternalSubsetSAXFunc , # [doc = " External subset availability. Not invoked by the parser.\n Not supposed to be changed by applications."] pub hasExternalSubset : hasExternalSubsetSAXFunc , # [doc = " Only called when loading external DTDs. Not called to load\n external entities.\n\n Should typically not be modified."] pub resolveEntity : resolveEntitySAXFunc , # [doc = " Called when looking up general entities.\n\n Should typically not be modified."] pub getEntity : getEntitySAXFunc , # [doc = " Called after an entity declaration was parsed.\n\n Should typically not be modified."] pub entityDecl : entityDeclSAXFunc , # [doc = " Called after a notation declaration was parsed.\n\n Should typically not be modified."] pub notationDecl : notationDeclSAXFunc , # [doc = " Called after an attribute declaration was parsed.\n\n Should typically not be modified."] pub attributeDecl : attributeDeclSAXFunc , # [doc = " Called after an element declaration was parsed.\n\n Should typically not be modified."] pub elementDecl : elementDeclSAXFunc , # [doc = " Called after an unparsed entity declaration was parsed.\n\n Should typically not be modified."] pub unparsedEntityDecl : unparsedEntityDeclSAXFunc , # [doc = " This callback receives the \"document locator\" at startup,\n which is always the global xmlDefaultSAXLocator.\n\n Everything is available on the context, so this is useless in\n our case."] pub setDocumentLocator : setDocumentLocatorSAXFunc , # [doc = " Called after the XML declaration was parsed.\n\n Use xmlCtxtGetVersion(), xmlCtxtGetDeclaredEncoding() and\n xmlCtxtGetStandalone() to get data from the XML declaration."] pub startDocument : startDocumentSAXFunc , # [doc = " Called at the end of the document."] pub endDocument : endDocumentSAXFunc , # [doc = " Legacy start tag handler\n\n `startElement` and `endElement` are only used by the legacy SAX1\n interface and should not be used in new software. If you really\n have to enable SAX1, the preferred way is set the `initialized`\n member to 1 instead of XML_SAX2_MAGIC.\n\n For backward compatibility, it's also possible to set the\n `startElementNs` and `endElementNs` handlers to NULL.\n\n You can also set the XML_PARSE_SAX1 parser option, but versions\n older than 2.12.0 will probably crash if this option is provided\n together with custom SAX callbacks."] pub startElement : startElementSAXFunc , # [doc = " See _xmlSAXHandler.startElement"] pub endElement : endElementSAXFunc , # [doc = " Called after an entity reference was parsed."] pub reference : referenceSAXFunc , # [doc = " Called after a character data was parsed."] pub characters : charactersSAXFunc , # [doc = " Called after \"ignorable\" whitespace was parsed.\n\n `ignorableWhitespace` should always be set to the same value\n as `characters`. Otherwise, the parser will try to detect\n whitespace which is unreliable."] pub ignorableWhitespace : ignorableWhitespaceSAXFunc , # [doc = " Called after a processing instruction was parsed."] pub processingInstruction : processingInstructionSAXFunc , # [doc = " Called after a comment was parsed."] pub comment : commentSAXFunc , # [doc = " Callback for warning messages."] pub warning : warningSAXFunc , # [doc = " Callback for error messages."] pub error : errorSAXFunc , # [doc = " Unused, all errors go to `error`."] pub fatalError : fatalErrorSAXFunc , # [doc = " Called when looking up parameter entities.\n\n Should typically not be modified."] pub getParameterEntity : getParameterEntitySAXFunc , # [doc = " Called after a CDATA section was parsed."] pub cdataBlock : cdataBlockSAXFunc , # [doc = " Called to parse the external subset.\n\n Should typically not be modified."] pub externalSubset : externalSubsetSAXFunc , # [doc = " Legacy magic value\n\n `initialized` should always be set to XML_SAX2_MAGIC to\n enable the modern SAX2 interface."] pub initialized : :: std :: os :: raw :: c_uint , # [doc = " Application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " Called after a start tag was parsed."] pub startElementNs : startElementNsSAX2Func , # [doc = " Called after an end tag was parsed."] pub endElementNs : endElementNsSAX2Func , # [doc = " Structured error handler.\n\n Takes precedence over `error` or `warning`, but modern code\n should use xmlCtxtSetErrorHandler()."] pub serror : xmlStructuredErrorFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXHandler"] [:: std :: mem :: size_of :: < _xmlSAXHandler > () - 256usize] ; ["Alignment of _xmlSAXHandler"] [:: std :: mem :: align_of :: < _xmlSAXHandler > () - 8usize] ; ["Offset of field: _xmlSAXHandler::internalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , internalSubset) - 0usize] ; ["Offset of field: _xmlSAXHandler::isStandalone"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , isStandalone) - 8usize] ; ["Offset of field: _xmlSAXHandler::hasInternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , hasInternalSubset) - 16usize] ; ["Offset of field: _xmlSAXHandler::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , hasExternalSubset) - 24usize] ; ["Offset of field: _xmlSAXHandler::resolveEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , resolveEntity) - 32usize] ; ["Offset of field: _xmlSAXHandler::getEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , getEntity) - 40usize] ; ["Offset of field: _xmlSAXHandler::entityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , entityDecl) - 48usize] ; ["Offset of field: _xmlSAXHandler::notationDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , notationDecl) - 56usize] ; ["Offset of field: _xmlSAXHandler::attributeDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , attributeDecl) - 64usize] ; ["Offset of field: _xmlSAXHandler::elementDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , elementDecl) - 72usize] ; ["Offset of field: _xmlSAXHandler::unparsedEntityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , unparsedEntityDecl) - 80usize] ; ["Offset of field: _xmlSAXHandler::setDocumentLocator"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , setDocumentLocator) - 88usize] ; ["Offset of field: _xmlSAXHandler::startDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startDocument) - 96usize] ; ["Offset of field: _xmlSAXHandler::endDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endDocument) - 104usize] ; ["Offset of field: _xmlSAXHandler::startElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startElement) - 112usize] ; ["Offset of field: _xmlSAXHandler::endElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endElement) - 120usize] ; ["Offset of field: _xmlSAXHandler::reference"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , reference) - 128usize] ; ["Offset of field: _xmlSAXHandler::characters"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , characters) - 136usize] ; ["Offset of field: _xmlSAXHandler::ignorableWhitespace"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , ignorableWhitespace) - 144usize] ; ["Offset of field: _xmlSAXHandler::processingInstruction"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , processingInstruction) - 152usize] ; ["Offset of field: _xmlSAXHandler::comment"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , comment) - 160usize] ; ["Offset of field: _xmlSAXHandler::warning"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , warning) - 168usize] ; ["Offset of field: _xmlSAXHandler::error"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , error) - 176usize] ; ["Offset of field: _xmlSAXHandler::fatalError"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , fatalError) - 184usize] ; ["Offset of field: _xmlSAXHandler::getParameterEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , getParameterEntity) - 192usize] ; ["Offset of field: _xmlSAXHandler::cdataBlock"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , cdataBlock) - 200usize] ; ["Offset of field: _xmlSAXHandler::externalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , externalSubset) - 208usize] ; ["Offset of field: _xmlSAXHandler::initialized"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , initialized) - 216usize] ; ["Offset of field: _xmlSAXHandler::_private"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , _private) - 224usize] ; ["Offset of field: _xmlSAXHandler::startElementNs"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startElementNs) - 232usize] ; ["Offset of field: _xmlSAXHandler::endElementNs"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endElementNs) - 240usize] ; ["Offset of field: _xmlSAXHandler::serror"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , serror) - 248usize] ; } ; # [doc = " SAX handler, version 1.\n\n @deprecated Use version 2 handlers."] pub type xmlSAXHandlerV1 = _xmlSAXHandlerV1 ; pub type xmlSAXHandlerV1Ptr = * mut xmlSAXHandlerV1 ; # [doc = " SAX handler, version 1.\n\n @deprecated Use version 2 handlers."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXHandlerV1 { pub internalSubset : internalSubsetSAXFunc , pub isStandalone : isStandaloneSAXFunc , pub hasInternalSubset : hasInternalSubsetSAXFunc , pub hasExternalSubset : hasExternalSubsetSAXFunc , pub resolveEntity : resolveEntitySAXFunc , pub getEntity : getEntitySAXFunc , pub entityDecl : entityDeclSAXFunc , pub notationDecl : notationDeclSAXFunc , pub attributeDecl : attributeDeclSAXFunc , pub elementDecl : elementDeclSAXFunc , pub unparsedEntityDecl : unparsedEntityDeclSAXFunc , pub setDocumentLocator : setDocumentLocatorSAXFunc , pub startDocument : startDocumentSAXFunc , pub endDocument : endDocumentSAXFunc , pub startElement : startElementSAXFunc , pub endElement : endElementSAXFunc , pub reference : referenceSAXFunc , pub characters : charactersSAXFunc , pub ignorableWhitespace : ignorableWhitespaceSAXFunc , pub processingInstruction : processingInstructionSAXFunc , pub comment : commentSAXFunc , pub warning : warningSAXFunc , pub error : errorSAXFunc , pub fatalError : fatalErrorSAXFunc , pub getParameterEntity : getParameterEntitySAXFunc , pub cdataBlock : cdataBlockSAXFunc , pub externalSubset : externalSubsetSAXFunc , pub initialized : :: std :: os :: raw :: c_uint , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXHandlerV1"] [:: std :: mem :: size_of :: < _xmlSAXHandlerV1 > () - 224usize] ; ["Alignment of _xmlSAXHandlerV1"] [:: std :: mem :: align_of :: < _xmlSAXHandlerV1 > () - 8usize] ; ["Offset of field: _xmlSAXHandlerV1::internalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , internalSubset) - 0usize] ; ["Offset of field: _xmlSAXHandlerV1::isStandalone"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , isStandalone) - 8usize] ; ["Offset of field: _xmlSAXHandlerV1::hasInternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , hasInternalSubset) - 16usize] ; ["Offset of field: _xmlSAXHandlerV1::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , hasExternalSubset) - 24usize] ; ["Offset of field: _xmlSAXHandlerV1::resolveEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , resolveEntity) - 32usize] ; ["Offset of field: _xmlSAXHandlerV1::getEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , getEntity) - 40usize] ; ["Offset of field: _xmlSAXHandlerV1::entityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , entityDecl) - 48usize] ; ["Offset of field: _xmlSAXHandlerV1::notationDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , notationDecl) - 56usize] ; ["Offset of field: _xmlSAXHandlerV1::attributeDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , attributeDecl) - 64usize] ; ["Offset of field: _xmlSAXHandlerV1::elementDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , elementDecl) - 72usize] ; ["Offset of field: _xmlSAXHandlerV1::unparsedEntityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , unparsedEntityDecl) - 80usize] ; ["Offset of field: _xmlSAXHandlerV1::setDocumentLocator"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , setDocumentLocator) - 88usize] ; ["Offset of field: _xmlSAXHandlerV1::startDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , startDocument) - 96usize] ; ["Offset of field: _xmlSAXHandlerV1::endDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , endDocument) - 104usize] ; ["Offset of field: _xmlSAXHandlerV1::startElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , startElement) - 112usize] ; ["Offset of field: _xmlSAXHandlerV1::endElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , endElement) - 120usize] ; ["Offset of field: _xmlSAXHandlerV1::reference"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , reference) - 128usize] ; ["Offset of field: _xmlSAXHandlerV1::characters"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , characters) - 136usize] ; ["Offset of field: _xmlSAXHandlerV1::ignorableWhitespace"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , ignorableWhitespace) - 144usize] ; ["Offset of field: _xmlSAXHandlerV1::processingInstruction"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , processingInstruction) - 152usize] ; ["Offset of field: _xmlSAXHandlerV1::comment"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , comment) - 160usize] ; ["Offset of field: _xmlSAXHandlerV1::warning"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , warning) - 168usize] ; ["Offset of field: _xmlSAXHandlerV1::error"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , error) - 176usize] ; ["Offset of field: _xmlSAXHandlerV1::fatalError"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , fatalError) - 184usize] ; ["Offset of field: _xmlSAXHandlerV1::getParameterEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , getParameterEntity) - 192usize] ; ["Offset of field: _xmlSAXHandlerV1::cdataBlock"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , cdataBlock) - 200usize] ; ["Offset of field: _xmlSAXHandlerV1::externalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , externalSubset) - 208usize] ; ["Offset of field: _xmlSAXHandlerV1::initialized"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , initialized) - 216usize] ; } ; # [doc = " Callback for external entity loader.\n\n The URL is not resolved using XML catalogs before being passed\n to the callback.\n\n @param URL  The URL or system ID of the resource requested\n @param publicId  The public ID of the resource requested (optional)\n @param context  the XML parser context\n @returns the entity input parser or NULL on error."] pub type xmlExternalEntityLoader = :: std :: option :: Option < unsafe extern "C" fn (URL : * const :: std :: os :: raw :: c_char , publicId : * const :: std :: os :: raw :: c_char , context : * mut xmlParserCtxt) -> * mut xmlParserInput > ; unsafe extern "C" { pub static xmlParserVersion : * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { # [doc = " @cond ignore"] pub static xmlDefaultSAXLocator : xmlSAXLocator ; } unsafe extern "C" { # [doc = " @deprecated Use #xmlSAXVersion or #xmlSAX2InitDefaultSAXHandler"] pub static xmlDefaultSAXHandler : xmlSAXHandlerV1 ; } unsafe extern "C" { pub fn __xmlDoValidityCheckingDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlGetWarningsDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlKeepBlanksDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlLineNumbersDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlLoadExtDtdDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlPedanticParserDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlSubstituteEntitiesDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlIndentTreeOutput () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlTreeIndentString () -> * mut * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn __xmlSaveNoEmptyTags () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlInitParser () ; } unsafe extern "C" { pub fn xmlCleanupParser () ; } unsafe extern "C" { pub fn xmlInitGlobals () ; } unsafe extern "C" { pub fn xmlCleanupGlobals () ; } unsafe extern "C" { pub fn xmlParserInputRead (in_ : * mut xmlParserInput , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputGrow (in_ : * mut xmlParserInput , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseDoc (cur : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseFile (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSubstituteEntitiesDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlKeepBlanksDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStopParser (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlPedanticParserDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlLineNumbersDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefSubstituteEntitiesDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefKeepBlanksDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefPedanticParserDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefLineNumbersDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefDoValidityCheckingDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefGetWarningsDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefLoadExtDtdDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRecoverDoc (cur : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlRecoverMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlRecoverFile (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseDocument (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseExtParsedEnt (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXUserParseFile (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXUserParseMemory (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXParseDoc (sax : * mut xmlSAXHandler , cur : * const xmlChar , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseMemory (sax : * mut xmlSAXHandler , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseMemoryWithData (sax : * mut xmlSAXHandler , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , recovery : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseFile (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseFileWithData (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char , recovery : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseEntity (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseEntity (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseDtd (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlCtxtValidateDocument (ctxt : * mut xmlParserCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtValidateDtd (ctxt : * mut xmlParserCtxt , doc : * mut xmlDoc , dtd : * mut xmlDtd) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXParseDTD (sax : * mut xmlSAXHandler , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlParseDTD (publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlIOParseDTD (sax : * mut xmlSAXHandler , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlParseBalancedChunkMemory (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , string : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseInNodeContext (node : * mut xmlNode , data : * const :: std :: os :: raw :: c_char , datalen : :: std :: os :: raw :: c_int , options : :: std :: os :: raw :: c_int , lst : * mut * mut xmlNode) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlParseBalancedChunkMemoryRecover (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , string : * const xmlChar , lst : * mut * mut xmlNode , recover : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseExternalEntity (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , URL : * const xmlChar , ID : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseCtxtExternalEntity (ctx : * mut xmlParserCtxt , URL : * const xmlChar , ID : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNewParserCtxt () -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlNewSAXParserCtxt (sax : * const xmlSAXHandler , userData : * mut :: std :: os :: raw :: c_void) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlInitParserCtxt (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlClearParserCtxt (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlFreeParserCtxt (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlSetupParserForBuffer (ctxt : * mut xmlParserCtxt , buffer : * const xmlChar , filename : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlCreateDocParserCtxt (cur : * const xmlChar) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlCreatePushParserCtxt (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , filename : * const :: std :: os :: raw :: c_char) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlParseChunk (ctxt : * mut xmlParserCtxt , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , terminate : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCreateIOParserCtxt (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , enc : xmlCharEncoding) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlNewIOInputStream (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlParserFindNodeInfo (ctxt : * mut xmlParserCtxt , node : * mut xmlNode) -> * const xmlParserNodeInfo ; } unsafe extern "C" { pub fn xmlInitNodeInfoSeq (seq : * mut xmlParserNodeInfoSeq) ; } unsafe extern "C" { pub fn xmlClearNodeInfoSeq (seq : * mut xmlParserNodeInfoSeq) ; } unsafe extern "C" { pub fn xmlParserFindNodeInfoIndex (seq : * mut xmlParserNodeInfoSeq , node : * mut xmlNode) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlParserAddNodeInfo (ctxt : * mut xmlParserCtxt , info : * mut xmlParserNodeInfo) ; } unsafe extern "C" { pub fn xmlSetExternalEntityLoader (f : xmlExternalEntityLoader) ; } unsafe extern "C" { pub fn xmlGetExternalEntityLoader () -> xmlExternalEntityLoader ; } unsafe extern "C" { pub fn xmlLoadExternalEntity (URL : * const :: std :: os :: raw :: c_char , ID : * const :: std :: os :: raw :: c_char , ctxt : * mut xmlParserCtxt) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlByteConsumed (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_long ; } # [doc = " Enable \"recovery\" mode which allows non-wellformed documents.\n How this mode behaves exactly is unspecified and may change\n without further notice. Use of this feature is DISCOURAGED.\n\n Not supported by the push parser."] pub const xmlParserOption_XML_PARSE_RECOVER : xmlParserOption = 1 ; # [doc = " Despite the confusing name, this option enables substitution\n of entities. The resulting tree won't contain any entity\n reference nodes.\n\n This option also enables loading of external entities (both\n general and parameter entities) which is dangerous. If you\n process untrusted data, it's recommended to set the\n XML_PARSE_NO_XXE option to disable loading of external\n entities."] pub const xmlParserOption_XML_PARSE_NOENT : xmlParserOption = 2 ; # [doc = " Enables loading of an external DTD and the loading and\n substitution of external parameter entities. Has no effect\n if XML_PARSE_NO_XXE is set."] pub const xmlParserOption_XML_PARSE_DTDLOAD : xmlParserOption = 4 ; # [doc = " Adds default attributes from the DTD to the result document.\n\n Implies XML_PARSE_DTDLOAD, but loading of external content\n can be disabled with XML_PARSE_NO_XXE."] pub const xmlParserOption_XML_PARSE_DTDATTR : xmlParserOption = 8 ; # [doc = " This option enables DTD validation which requires to load\n external DTDs and external entities (both general and\n parameter entities) unless XML_PARSE_NO_XXE was set.\n\n DTD validation is vulnerable to algorithmic complexity\n attacks and should never be enabled with untrusted input."] pub const xmlParserOption_XML_PARSE_DTDVALID : xmlParserOption = 16 ; # [doc = " Disable error and warning reports to the error handlers.\n Errors are still accessible with xmlCtxtGetLastError()."] pub const xmlParserOption_XML_PARSE_NOERROR : xmlParserOption = 32 ; # [doc = " Disable warning reports."] pub const xmlParserOption_XML_PARSE_NOWARNING : xmlParserOption = 64 ; # [doc = " Enable some pedantic warnings."] pub const xmlParserOption_XML_PARSE_PEDANTIC : xmlParserOption = 128 ; # [doc = " Remove some whitespace from the result document. Where to\n remove whitespace depends on DTD element declarations or a\n broken heuristic with unfixable bugs. Use of this option is\n DISCOURAGED.\n\n Not supported by the push parser."] pub const xmlParserOption_XML_PARSE_NOBLANKS : xmlParserOption = 256 ; # [doc = " Always invoke the deprecated SAX1 startElement and endElement\n handlers.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_SAX1 : xmlParserOption = 512 ; # [doc = " Enable XInclude processing. This option only affects the\n xmlTextReader and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_XINCLUDE : xmlParserOption = 1024 ; # [doc = " Disable network access with the built-in HTTP or FTP clients.\n\n After the last built-in network client was removed in 2.15,\n this option has no effect expect for being passed on to custom\n resource loaders."] pub const xmlParserOption_XML_PARSE_NONET : xmlParserOption = 2048 ; # [doc = " Create a document without interned strings, making all\n strings separate memory allocations."] pub const xmlParserOption_XML_PARSE_NODICT : xmlParserOption = 4096 ; # [doc = " Remove redundant namespace declarations from the result\n document."] pub const xmlParserOption_XML_PARSE_NSCLEAN : xmlParserOption = 8192 ; # [doc = " Output normal text nodes instead of CDATA nodes."] pub const xmlParserOption_XML_PARSE_NOCDATA : xmlParserOption = 16384 ; # [doc = " Don't generate XInclude start/end nodes when expanding\n inclusions. This option only affects the xmlTextReader\n and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_NOXINCNODE : xmlParserOption = 32768 ; # [doc = " Store small strings directly in the node struct to save\n memory."] pub const xmlParserOption_XML_PARSE_COMPACT : xmlParserOption = 65536 ; # [doc = " Use old Name productions from before XML 1.0 Fifth Edition.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_OLD10 : xmlParserOption = 131072 ; # [doc = " Don't fix up XInclude xml:base URIs. This option only affects\n the xmlTextReader and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_NOBASEFIX : xmlParserOption = 262144 ; # [doc = " Relax some internal limits.\n\n Maximum size of text nodes, tags, comments, processing instructions,\n CDATA sections, entity values\n\n normal: 10M\n huge:    1B\n\n Maximum size of names, system literals, pubid literals\n\n normal: 50K\n huge:   10M\n\n Maximum nesting depth of elements\n\n normal:  256\n huge:   2048\n\n Maximum nesting depth of entities\n\n normal: 20\n huge:   40"] pub const xmlParserOption_XML_PARSE_HUGE : xmlParserOption = 524288 ; # [doc = " Enable an unspecified legacy mode for SAX parsers.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_OLDSAX : xmlParserOption = 1048576 ; # [doc = " Ignore the encoding in the XML declaration. This option is\n mostly unneeded these days. The only effect is to enforce\n UTF-8 decoding of ASCII-like data."] pub const xmlParserOption_XML_PARSE_IGNORE_ENC : xmlParserOption = 2097152 ; # [doc = " Enable reporting of line numbers larger than 65535."] pub const xmlParserOption_XML_PARSE_BIG_LINES : xmlParserOption = 4194304 ; # [doc = " Disables loading of external DTDs or entities.\n\n @since 2.13.0"] pub const xmlParserOption_XML_PARSE_NO_XXE : xmlParserOption = 8388608 ; # [doc = " Enable input decompression. Setting this option is discouraged\n to avoid zip bombs.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_UNZIP : xmlParserOption = 16777216 ; # [doc = " Disables the global system XML catalog.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_NO_SYS_CATALOG : xmlParserOption = 33554432 ; # [doc = " Enable XML catalog processing instructions.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_CATALOG_PI : xmlParserOption = 67108864 ; # [doc = " Force the parser to ignore IDs.\n\n @since 2.15.0"] pub const xmlParserOption_XML_PARSE_SKIP_IDS : xmlParserOption = 134217728 ; # [doc = " This is the set of XML parser options that can be passed to\n #xmlReadDoc, #xmlCtxtSetOptions and other functions."] pub type xmlParserOption = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlCtxtReset (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlCtxtResetPush (ctxt : * mut xmlParserCtxt , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , filename : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetOptions (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtSetOptions (ctxt : * mut xmlParserCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtUseOptions (ctxt : * mut xmlParserCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetPrivate (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtSetPrivate (ctxt : * mut xmlParserCtxt , priv_ : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtGetCatalogs (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtSetCatalogs (ctxt : * mut xmlParserCtxt , catalogs : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtGetDict (ctxt : * mut xmlParserCtxt) -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlCtxtSetDict (ctxt : * mut xmlParserCtxt , arg1 : * mut xmlDict) ; } unsafe extern "C" { pub fn xmlCtxtGetSaxHandler (ctxt : * mut xmlParserCtxt) -> * mut xmlSAXHandler ; } unsafe extern "C" { pub fn xmlCtxtSetSaxHandler (ctxt : * mut xmlParserCtxt , sax : * const xmlSAXHandler) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetDocument (ctxt : * mut xmlParserCtxt) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtIsHtml (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtIsStopped (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtIsInSubset (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetValidCtxt (ctxt : * mut xmlParserCtxt) -> * mut xmlValidCtxt ; } unsafe extern "C" { pub fn xmlCtxtGetVersion (ctxt : * mut xmlParserCtxt) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCtxtGetDeclaredEncoding (ctxt : * mut xmlParserCtxt) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCtxtGetStandalone (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetStatus (ctxt : * mut xmlParserCtxt) -> xmlParserStatus ; } unsafe extern "C" { pub fn xmlCtxtGetUserData (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtGetNode (ctxt : * mut xmlParserCtxt) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCtxtGetDocTypeDecl (ctxt : * mut xmlParserCtxt , name : * mut * const xmlChar , systemId : * mut * const xmlChar , publicId : * mut * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetInputPosition (ctxt : * mut xmlParserCtxt , inputIndex : :: std :: os :: raw :: c_int , filname : * mut * const :: std :: os :: raw :: c_char , line : * mut :: std :: os :: raw :: c_int , col : * mut :: std :: os :: raw :: c_int , bytePos : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetInputWindow (ctxt : * mut xmlParserCtxt , inputIndex : :: std :: os :: raw :: c_int , startOut : * mut * const xmlChar , sizeInOut : * mut :: std :: os :: raw :: c_int , offsetOut : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtSetErrorHandler (ctxt : * mut xmlParserCtxt , handler : xmlStructuredErrorFunc , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetResourceLoader (ctxt : * mut xmlParserCtxt , loader : xmlResourceLoader , vctxt : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetCharEncConvImpl (ctxt : * mut xmlParserCtxt , impl_ : xmlCharEncConvImpl , vctxt : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetMaxAmplification (ctxt : * mut xmlParserCtxt , maxAmpl : :: std :: os :: raw :: c_uint) ; } unsafe extern "C" { pub fn xmlReadDoc (cur : * const xmlChar , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadFile (URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadFd (fd : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadIO (ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseDocument (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseContent (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput , node : * mut xmlNode , hasTextDecl : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCtxtReadDoc (ctxt : * mut xmlParserCtxt , cur : * const xmlChar , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadFile (ctxt : * mut xmlParserCtxt , filename : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadMemory (ctxt : * mut xmlParserCtxt , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadFd (ctxt : * mut xmlParserCtxt , fd : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadIO (ctxt : * mut xmlParserCtxt , ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlNewInputFromUrl (url : * const :: std :: os :: raw :: c_char , flags : xmlParserInputFlags , out : * mut * mut xmlParserInput) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlNewInputFromMemory (url : * const :: std :: os :: raw :: c_char , mem : * const :: std :: os :: raw :: c_void , size : usize , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromString (url : * const :: std :: os :: raw :: c_char , str_ : * const :: std :: os :: raw :: c_char , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromFd (url : * const :: std :: os :: raw :: c_char , fd : :: std :: os :: raw :: c_int , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromIO (url : * const :: std :: os :: raw :: c_char , ioRead : xmlInputReadCallback , ioClose : xmlInputCloseCallback , ioCtxt : * mut :: std :: os :: raw :: c_void , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlInputSetEncodingHandler (input : * mut xmlParserInput , handler : * mut xmlCharEncodingHandler) -> xmlParserErrors ; } # [doc = " Multithreading support"] pub const xmlFeature_XML_WITH_THREAD : xmlFeature = 1 ; # [doc = " @deprecated Always available"] pub const xmlFeature_XML_WITH_TREE : xmlFeature = 2 ; # [doc = " Serialization support"] pub const xmlFeature_XML_WITH_OUTPUT : xmlFeature = 3 ; # [doc = " Push parser"] pub const xmlFeature_XML_WITH_PUSH : xmlFeature = 4 ; # [doc = " XML Reader"] pub const xmlFeature_XML_WITH_READER : xmlFeature = 5 ; # [doc = " Streaming patterns"] pub const xmlFeature_XML_WITH_PATTERN : xmlFeature = 6 ; # [doc = " XML Writer"] pub const xmlFeature_XML_WITH_WRITER : xmlFeature = 7 ; # [doc = " Legacy SAX1 API"] pub const xmlFeature_XML_WITH_SAX1 : xmlFeature = 8 ; # [doc = " @deprecated FTP support was removed"] pub const xmlFeature_XML_WITH_FTP : xmlFeature = 9 ; # [doc = " @deprecated HTTP support was removed"] pub const xmlFeature_XML_WITH_HTTP : xmlFeature = 10 ; # [doc = " DTD validation"] pub const xmlFeature_XML_WITH_VALID : xmlFeature = 11 ; # [doc = " HTML parser"] pub const xmlFeature_XML_WITH_HTML : xmlFeature = 12 ; # [doc = " Legacy symbols"] pub const xmlFeature_XML_WITH_LEGACY : xmlFeature = 13 ; # [doc = " Canonical XML"] pub const xmlFeature_XML_WITH_C14N : xmlFeature = 14 ; # [doc = " XML Catalogs"] pub const xmlFeature_XML_WITH_CATALOG : xmlFeature = 15 ; # [doc = " XPath"] pub const xmlFeature_XML_WITH_XPATH : xmlFeature = 16 ; # [doc = " XPointer"] pub const xmlFeature_XML_WITH_XPTR : xmlFeature = 17 ; # [doc = " XInclude"] pub const xmlFeature_XML_WITH_XINCLUDE : xmlFeature = 18 ; # [doc = " iconv"] pub const xmlFeature_XML_WITH_ICONV : xmlFeature = 19 ; # [doc = " Built-in ISO-8859-X"] pub const xmlFeature_XML_WITH_ISO8859X : xmlFeature = 20 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_UNICODE : xmlFeature = 21 ; # [doc = " Regular expressions"] pub const xmlFeature_XML_WITH_REGEXP : xmlFeature = 22 ; # [doc = " @deprecated Same as XML_WITH_REGEXP"] pub const xmlFeature_XML_WITH_AUTOMATA : xmlFeature = 23 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_EXPR : xmlFeature = 24 ; # [doc = " XML Schemas"] pub const xmlFeature_XML_WITH_SCHEMAS : xmlFeature = 25 ; # [doc = " Schematron"] pub const xmlFeature_XML_WITH_SCHEMATRON : xmlFeature = 26 ; # [doc = " Loadable modules"] pub const xmlFeature_XML_WITH_MODULES : xmlFeature = 27 ; # [doc = " Debugging API"] pub const xmlFeature_XML_WITH_DEBUG : xmlFeature = 28 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_DEBUG_MEM : xmlFeature = 29 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_DEBUG_RUN : xmlFeature = 30 ; # [doc = " GZIP compression"] pub const xmlFeature_XML_WITH_ZLIB : xmlFeature = 31 ; # [doc = " ICU"] pub const xmlFeature_XML_WITH_ICU : xmlFeature = 32 ; # [doc = " @deprecated LZMA support was removed"] pub const xmlFeature_XML_WITH_LZMA : xmlFeature = 33 ; # [doc = " RELAXNG, since 2.14"] pub const xmlFeature_XML_WITH_RELAXNG : xmlFeature = 34 ; # [doc = " RELAXNG, since 2.14"] pub const xmlFeature_XML_WITH_NONE : xmlFeature = 99999 ; # [doc = " Used to examine the existence of features that can be enabled\n or disabled at compile-time.\n They used to be called XML_FEATURE_xxx but this clashed with Expat"] pub type xmlFeature = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlHasFeature (feature : xmlFeature) -> :: std :: os :: raw :: c_int ; } pub const xmlSchemaValidError_XML_SCHEMAS_ERR_OK : xmlSchemaValidError = 0 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOROOT : xmlSchemaValidError = 1 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_UNDECLAREDELEM : xmlSchemaValidError = 2 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTTOPLEVEL : xmlSchemaValidError = 3 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_MISSING : xmlSchemaValidError = 4 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_WRONGELEM : xmlSchemaValidError = 5 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTYPE : xmlSchemaValidError = 6 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOROLLBACK : xmlSchemaValidError = 7 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ISABSTRACT : xmlSchemaValidError = 8 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTEMPTY : xmlSchemaValidError = 9 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ELEMCONT : xmlSchemaValidError = 10 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_HAVEDEFAULT : xmlSchemaValidError = 11 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTNILLABLE : xmlSchemaValidError = 12 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_EXTRACONTENT : xmlSchemaValidError = 13 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INVALIDATTR : xmlSchemaValidError = 14 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INVALIDELEM : xmlSchemaValidError = 15 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTDETERMINIST : xmlSchemaValidError = 16 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_CONSTRUCT : xmlSchemaValidError = 17 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INTERNAL : xmlSchemaValidError = 18 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTSIMPLE : xmlSchemaValidError = 19 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ATTRUNKNOWN : xmlSchemaValidError = 20 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ATTRINVALID : xmlSchemaValidError = 21 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_VALUE : xmlSchemaValidError = 22 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_FACET : xmlSchemaValidError = 23 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ : xmlSchemaValidError = 24 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_XXX : xmlSchemaValidError = 25 ; # [doc = " This error codes are obsolete; not used any more."] pub type xmlSchemaValidError = :: std :: os :: raw :: c_uint ; pub const xmlSchemaValidOption_XML_SCHEMA_VAL_VC_I_CREATE : xmlSchemaValidOption = 1 ; # [doc = " This is the set of XML Schema validation options."] pub type xmlSchemaValidOption = :: std :: os :: raw :: c_uint ; # [doc = " XML schema"] pub type xmlSchema = _xmlSchema ; pub type xmlSchemaPtr = * mut xmlSchema ; # [doc = " Signature of an error callback from an XSD validation\n\n @param ctx  the validation context\n @param msg  the message\n @param ... extra arguments"] pub type xmlSchemaValidityErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Signature of a warning callback from an XSD validation\n\n @param ctx  the validation context\n @param msg  the message\n @param ... extra arguments"] pub type xmlSchemaValidityWarningFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaParserCtxt { _unused : [u8 ; 0] , } # [doc = " Schema parser context"] pub type xmlSchemaParserCtxt = _xmlSchemaParserCtxt ; pub type xmlSchemaParserCtxtPtr = * mut xmlSchemaParserCtxt ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaValidCtxt { _unused : [u8 ; 0] , } # [doc = " Schema validation context"] pub type xmlSchemaValidCtxt = _xmlSchemaValidCtxt ; pub type xmlSchemaValidCtxtPtr = * mut xmlSchemaValidCtxt ; # [doc = " A schemas validation locator, a callback called by the validator.\n This is used when file or node information are not available\n to find out what file and line number are affected\n\n @param ctx  user provided context\n @param file  returned file information\n @param line  returned line information\n @returns 0 in case of success and -1 in case of error"] pub type xmlSchemaValidityLocatorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , file : * mut * const :: std :: os :: raw :: c_char , line : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int > ; unsafe extern "C" { pub fn xmlSchemaNewParserCtxt (URL : * const :: std :: os :: raw :: c_char) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaNewMemParserCtxt (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaNewDocParserCtxt (doc : * mut xmlDoc) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaFreeParserCtxt (ctxt : * mut xmlSchemaParserCtxt) ; } unsafe extern "C" { pub fn xmlSchemaSetParserErrors (ctxt : * mut xmlSchemaParserCtxt , err : xmlSchemaValidityErrorFunc , warn : xmlSchemaValidityWarningFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaSetParserStructuredErrors (ctxt : * mut xmlSchemaParserCtxt , serror : xmlStructuredErrorFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaGetParserErrors (ctxt : * mut xmlSchemaParserCtxt , err : * mut xmlSchemaValidityErrorFunc , warn : * mut xmlSchemaValidityWarningFunc , ctx : * mut * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaSetResourceLoader (ctxt : * mut xmlSchemaParserCtxt , loader : xmlResourceLoader , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaIsValid (ctxt : * mut xmlSchemaValidCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaParse (ctxt : * mut xmlSchemaParserCtxt) -> * mut xmlSchema ; } unsafe extern "C" { pub fn xmlSchemaFree (schema : * mut xmlSchema) ; } unsafe extern "C" { pub fn xmlSchemaDump (output : * mut FILE , schema : * mut xmlSchema) ; } unsafe extern "C" { pub fn xmlSchemaSetValidErrors (ctxt : * mut xmlSchemaValidCtxt , err : xmlSchemaValidityErrorFunc , warn : xmlSchemaValidityWarningFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaSetValidStructuredErrors (ctxt : * mut xmlSchemaValidCtxt , serror : xmlStructuredErrorFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaGetValidErrors (ctxt : * mut xmlSchemaValidCtxt , err : * mut xmlSchemaValidityErrorFunc , warn : * mut xmlSchemaValidityWarningFunc , ctx : * mut * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaSetValidOptions (ctxt : * mut xmlSchemaValidCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateSetFilename (vctxt : * mut xmlSchemaValidCtxt , filename : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlSchemaValidCtxtGetOptions (ctxt : * mut xmlSchemaValidCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaNewValidCtxt (schema : * mut xmlSchema) -> * mut xmlSchemaValidCtxt ; } unsafe extern "C" { pub fn xmlSchemaFreeValidCtxt (ctxt : * mut xmlSchemaValidCtxt) ; } unsafe extern "C" { pub fn xmlSchemaValidateDoc (ctxt : * mut xmlSchemaValidCtxt , instance : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateOneElement (ctxt : * mut xmlSchemaValidCtxt , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateStream (ctxt : * mut xmlSchemaValidCtxt , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding , sax : * const xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFile (ctxt : * mut xmlSchemaValidCtxt , filename : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidCtxtGetParserCtxt (ctxt : * mut xmlSchemaValidCtxt) -> * mut xmlParserCtxt ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaSAXPlug { _unused : [u8 ; 0] , } # [doc = " Interface to insert Schemas SAX validation in a SAX stream"] pub type xmlSchemaSAXPlugStruct = _xmlSchemaSAXPlug ; pub type xmlSchemaSAXPlugPtr = * mut xmlSchemaSAXPlugStruct ; unsafe extern "C" { pub fn xmlSchemaSAXPlug (ctxt : * mut xmlSchemaValidCtxt , sax : * mut * mut xmlSAXHandler , user_data : * mut * mut :: std :: os :: raw :: c_void) -> * mut xmlSchemaSAXPlugStruct ; } unsafe extern "C" { pub fn xmlSchemaSAXUnplug (plug : * mut xmlSchemaSAXPlugStruct) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateSetLocator (vctxt : * mut xmlSchemaValidCtxt , f : xmlSchemaValidityLocatorFunc , ctxt : * mut :: std :: os :: raw :: c_void) ; } pub const xmlSchemaValType_XML_SCHEMAS_UNKNOWN : xmlSchemaValType = 0 ; pub const xmlSchemaValType_XML_SCHEMAS_STRING : xmlSchemaValType = 1 ; pub const xmlSchemaValType_XML_SCHEMAS_NORMSTRING : xmlSchemaValType = 2 ; pub const xmlSchemaValType_XML_SCHEMAS_DECIMAL : xmlSchemaValType = 3 ; pub const xmlSchemaValType_XML_SCHEMAS_TIME : xmlSchemaValType = 4 ; pub const xmlSchemaValType_XML_SCHEMAS_GDAY : xmlSchemaValType = 5 ; pub const xmlSchemaValType_XML_SCHEMAS_GMONTH : xmlSchemaValType = 6 ; pub const xmlSchemaValType_XML_SCHEMAS_GMONTHDAY : xmlSchemaValType = 7 ; pub const xmlSchemaValType_XML_SCHEMAS_GYEAR : xmlSchemaValType = 8 ; pub const xmlSchemaValType_XML_SCHEMAS_GYEARMONTH : xmlSchemaValType = 9 ; pub const xmlSchemaValType_XML_SCHEMAS_DATE : xmlSchemaValType = 10 ; pub const xmlSchemaValType_XML_SCHEMAS_DATETIME : xmlSchemaValType = 11 ; pub const xmlSchemaValType_XML_SCHEMAS_DURATION : xmlSchemaValType = 12 ; pub const xmlSchemaValType_XML_SCHEMAS_FLOAT : xmlSchemaValType = 13 ; pub const xmlSchemaValType_XML_SCHEMAS_DOUBLE : xmlSchemaValType = 14 ; pub const xmlSchemaValType_XML_SCHEMAS_BOOLEAN : xmlSchemaValType = 15 ; pub const xmlSchemaValType_XML_SCHEMAS_TOKEN : xmlSchemaValType = 16 ; pub const xmlSchemaValType_XML_SCHEMAS_LANGUAGE : xmlSchemaValType = 17 ; pub const xmlSchemaValType_XML_SCHEMAS_NMTOKEN : xmlSchemaValType = 18 ; pub const xmlSchemaValType_XML_SCHEMAS_NMTOKENS : xmlSchemaValType = 19 ; pub const xmlSchemaValType_XML_SCHEMAS_NAME : xmlSchemaValType = 20 ; pub const xmlSchemaValType_XML_SCHEMAS_QNAME : xmlSchemaValType = 21 ; pub const xmlSchemaValType_XML_SCHEMAS_NCNAME : xmlSchemaValType = 22 ; pub const xmlSchemaValType_XML_SCHEMAS_ID : xmlSchemaValType = 23 ; pub const xmlSchemaValType_XML_SCHEMAS_IDREF : xmlSchemaValType = 24 ; pub const xmlSchemaValType_XML_SCHEMAS_IDREFS : xmlSchemaValType = 25 ; pub const xmlSchemaValType_XML_SCHEMAS_ENTITY : xmlSchemaValType = 26 ; pub const xmlSchemaValType_XML_SCHEMAS_ENTITIES : xmlSchemaValType = 27 ; pub const xmlSchemaValType_XML_SCHEMAS_NOTATION : xmlSchemaValType = 28 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYURI : xmlSchemaValType = 29 ; pub const xmlSchemaValType_XML_SCHEMAS_INTEGER : xmlSchemaValType = 30 ; pub const xmlSchemaValType_XML_SCHEMAS_NPINTEGER : xmlSchemaValType = 31 ; pub const xmlSchemaValType_XML_SCHEMAS_NINTEGER : xmlSchemaValType = 32 ; pub const xmlSchemaValType_XML_SCHEMAS_NNINTEGER : xmlSchemaValType = 33 ; pub const xmlSchemaValType_XML_SCHEMAS_PINTEGER : xmlSchemaValType = 34 ; pub const xmlSchemaValType_XML_SCHEMAS_INT : xmlSchemaValType = 35 ; pub const xmlSchemaValType_XML_SCHEMAS_UINT : xmlSchemaValType = 36 ; pub const xmlSchemaValType_XML_SCHEMAS_LONG : xmlSchemaValType = 37 ; pub const xmlSchemaValType_XML_SCHEMAS_ULONG : xmlSchemaValType = 38 ; pub const xmlSchemaValType_XML_SCHEMAS_SHORT : xmlSchemaValType = 39 ; pub const xmlSchemaValType_XML_SCHEMAS_USHORT : xmlSchemaValType = 40 ; pub const xmlSchemaValType_XML_SCHEMAS_BYTE : xmlSchemaValType = 41 ; pub const xmlSchemaValType_XML_SCHEMAS_UBYTE : xmlSchemaValType = 42 ; pub const xmlSchemaValType_XML_SCHEMAS_HEXBINARY : xmlSchemaValType = 43 ; pub const xmlSchemaValType_XML_SCHEMAS_BASE64BINARY : xmlSchemaValType = 44 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYTYPE : xmlSchemaValType = 45 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYSIMPLETYPE : xmlSchemaValType = 46 ; # [doc = " Schema value type"] pub type xmlSchemaValType = :: std :: os :: raw :: c_uint ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_BASIC : xmlSchemaTypeType = 1 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ANY : xmlSchemaTypeType = 2 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_FACET : xmlSchemaTypeType = 3 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SIMPLE : xmlSchemaTypeType = 4 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_COMPLEX : xmlSchemaTypeType = 5 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SEQUENCE : xmlSchemaTypeType = 6 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_CHOICE : xmlSchemaTypeType = 7 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ALL : xmlSchemaTypeType = 8 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SIMPLE_CONTENT : xmlSchemaTypeType = 9 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_COMPLEX_CONTENT : xmlSchemaTypeType = 10 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_UR : xmlSchemaTypeType = 11 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_RESTRICTION : xmlSchemaTypeType = 12 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_EXTENSION : xmlSchemaTypeType = 13 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ELEMENT : xmlSchemaTypeType = 14 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTE : xmlSchemaTypeType = 15 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTEGROUP : xmlSchemaTypeType = 16 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_GROUP : xmlSchemaTypeType = 17 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_NOTATION : xmlSchemaTypeType = 18 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_LIST : xmlSchemaTypeType = 19 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_UNION : xmlSchemaTypeType = 20 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ANY_ATTRIBUTE : xmlSchemaTypeType = 21 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_UNIQUE : xmlSchemaTypeType = 22 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_KEY : xmlSchemaTypeType = 23 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_KEYREF : xmlSchemaTypeType = 24 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_PARTICLE : xmlSchemaTypeType = 25 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTE_USE : xmlSchemaTypeType = 26 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MININCLUSIVE : xmlSchemaTypeType = 1000 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MINEXCLUSIVE : xmlSchemaTypeType = 1001 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXINCLUSIVE : xmlSchemaTypeType = 1002 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXEXCLUSIVE : xmlSchemaTypeType = 1003 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_TOTALDIGITS : xmlSchemaTypeType = 1004 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_FRACTIONDIGITS : xmlSchemaTypeType = 1005 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_PATTERN : xmlSchemaTypeType = 1006 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_ENUMERATION : xmlSchemaTypeType = 1007 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_WHITESPACE : xmlSchemaTypeType = 1008 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_LENGTH : xmlSchemaTypeType = 1009 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXLENGTH : xmlSchemaTypeType = 1010 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MINLENGTH : xmlSchemaTypeType = 1011 ; pub const xmlSchemaTypeType_XML_SCHEMA_EXTRA_QNAMEREF : xmlSchemaTypeType = 2000 ; pub const xmlSchemaTypeType_XML_SCHEMA_EXTRA_ATTR_USE_PROHIB : xmlSchemaTypeType = 2001 ; # [doc = " XML Schemas defines multiple type of types."] pub type xmlSchemaTypeType = :: std :: os :: raw :: c_uint ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_UNKNOWN : xmlSchemaContentType = 0 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_EMPTY : xmlSchemaContentType = 1 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_ELEMENTS : xmlSchemaContentType = 2 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_MIXED : xmlSchemaContentType = 3 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_SIMPLE : xmlSchemaContentType = 4 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_MIXED_OR_ELEMENTS : xmlSchemaContentType = 5 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_BASIC : xmlSchemaContentType = 6 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_ANY : xmlSchemaContentType = 7 ; # [doc = " Schema content type"] pub type xmlSchemaContentType = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaVal { _unused : [u8 ; 0] , } # [doc = " Schema value"] pub type xmlSchemaVal = _xmlSchemaVal ; pub type xmlSchemaValPtr = * mut xmlSchemaVal ; # [doc = " Schema type"] pub type xmlSchemaType = _xmlSchemaType ; pub type xmlSchemaTypePtr = * mut xmlSchemaType ; # [doc = " Schema facet"] pub type xmlSchemaFacet = _xmlSchemaFacet ; pub type xmlSchemaFacetPtr = * mut xmlSchemaFacet ; # [doc = " Schema annotation"] pub type xmlSchemaAnnot = _xmlSchemaAnnot ; pub type xmlSchemaAnnotPtr = * mut xmlSchemaAnnot ; # [doc = " Annotation"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAnnot { pub next : * mut _xmlSchemaAnnot , pub content : * mut xmlNode , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAnnot"] [:: std :: mem :: size_of :: < _xmlSchemaAnnot > () - 16usize] ; ["Alignment of _xmlSchemaAnnot"] [:: std :: mem :: align_of :: < _xmlSchemaAnnot > () - 8usize] ; ["Offset of field: _xmlSchemaAnnot::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAnnot , next) - 0usize] ; ["Offset of field: _xmlSchemaAnnot::content"] [:: std :: mem :: offset_of ! (_xmlSchemaAnnot , content) - 8usize] ; } ; # [doc = " Schema attribute definition"] pub type xmlSchemaAttribute = _xmlSchemaAttribute ; pub type xmlSchemaAttributePtr = * mut xmlSchemaAttribute ; # [doc = " An attribute definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttribute { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaAttribute , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub typeName : * const xmlChar , pub typeNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub base : * mut xmlSchemaType , pub occurs : :: std :: os :: raw :: c_int , pub defValue : * const xmlChar , pub subtypes : * mut xmlSchemaType , pub node : * mut xmlNode , pub targetNamespace : * const xmlChar , pub flags : :: std :: os :: raw :: c_int , pub refPrefix : * const xmlChar , pub defVal : * mut xmlSchemaVal , pub refDecl : * mut xmlSchemaAttribute , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttribute"] [:: std :: mem :: size_of :: < _xmlSchemaAttribute > () - 152usize] ; ["Alignment of _xmlSchemaAttribute"] [:: std :: mem :: align_of :: < _xmlSchemaAttribute > () - 8usize] ; ["Offset of field: _xmlSchemaAttribute::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , type_) - 0usize] ; ["Offset of field: _xmlSchemaAttribute::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , next) - 8usize] ; ["Offset of field: _xmlSchemaAttribute::name"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , name) - 16usize] ; ["Offset of field: _xmlSchemaAttribute::id"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , id) - 24usize] ; ["Offset of field: _xmlSchemaAttribute::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , ref_) - 32usize] ; ["Offset of field: _xmlSchemaAttribute::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refNs) - 40usize] ; ["Offset of field: _xmlSchemaAttribute::typeName"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , typeName) - 48usize] ; ["Offset of field: _xmlSchemaAttribute::typeNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , typeNs) - 56usize] ; ["Offset of field: _xmlSchemaAttribute::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , annot) - 64usize] ; ["Offset of field: _xmlSchemaAttribute::base"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , base) - 72usize] ; ["Offset of field: _xmlSchemaAttribute::occurs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , occurs) - 80usize] ; ["Offset of field: _xmlSchemaAttribute::defValue"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , defValue) - 88usize] ; ["Offset of field: _xmlSchemaAttribute::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , subtypes) - 96usize] ; ["Offset of field: _xmlSchemaAttribute::node"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , node) - 104usize] ; ["Offset of field: _xmlSchemaAttribute::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , targetNamespace) - 112usize] ; ["Offset of field: _xmlSchemaAttribute::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , flags) - 120usize] ; ["Offset of field: _xmlSchemaAttribute::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refPrefix) - 128usize] ; ["Offset of field: _xmlSchemaAttribute::defVal"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , defVal) - 136usize] ; ["Offset of field: _xmlSchemaAttribute::refDecl"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refDecl) - 144usize] ; } ; # [doc = " Linked list of schema attributes"] pub type xmlSchemaAttributeLink = _xmlSchemaAttributeLink ; pub type xmlSchemaAttributeLinkPtr = * mut xmlSchemaAttributeLink ; # [doc = " Used to build a list of attribute uses on complexType definitions.\n WARNING: Deprecated; not used."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttributeLink { pub next : * mut _xmlSchemaAttributeLink , pub attr : * mut _xmlSchemaAttribute , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttributeLink"] [:: std :: mem :: size_of :: < _xmlSchemaAttributeLink > () - 16usize] ; ["Alignment of _xmlSchemaAttributeLink"] [:: std :: mem :: align_of :: < _xmlSchemaAttributeLink > () - 8usize] ; ["Offset of field: _xmlSchemaAttributeLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeLink , next) - 0usize] ; ["Offset of field: _xmlSchemaAttributeLink::attr"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeLink , attr) - 8usize] ; } ; # [doc = " Namespace wildcard"] pub type xmlSchemaWildcardNs = _xmlSchemaWildcardNs ; pub type xmlSchemaWildcardNsPtr = * mut xmlSchemaWildcardNs ; # [doc = " Used to build a list of namespaces on wildcards."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaWildcardNs { pub next : * mut _xmlSchemaWildcardNs , pub value : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaWildcardNs"] [:: std :: mem :: size_of :: < _xmlSchemaWildcardNs > () - 16usize] ; ["Alignment of _xmlSchemaWildcardNs"] [:: std :: mem :: align_of :: < _xmlSchemaWildcardNs > () - 8usize] ; ["Offset of field: _xmlSchemaWildcardNs::next"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcardNs , next) - 0usize] ; ["Offset of field: _xmlSchemaWildcardNs::value"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcardNs , value) - 8usize] ; } ; # [doc = " Name wildcard"] pub type xmlSchemaWildcard = _xmlSchemaWildcard ; pub type xmlSchemaWildcardPtr = * mut xmlSchemaWildcard ; # [doc = " A wildcard."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaWildcard { pub type_ : xmlSchemaTypeType , pub id : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub processContents : :: std :: os :: raw :: c_int , pub any : :: std :: os :: raw :: c_int , pub nsSet : * mut xmlSchemaWildcardNs , pub negNsSet : * mut xmlSchemaWildcardNs , pub flags : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaWildcard"] [:: std :: mem :: size_of :: < _xmlSchemaWildcard > () - 72usize] ; ["Alignment of _xmlSchemaWildcard"] [:: std :: mem :: align_of :: < _xmlSchemaWildcard > () - 8usize] ; ["Offset of field: _xmlSchemaWildcard::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , type_) - 0usize] ; ["Offset of field: _xmlSchemaWildcard::id"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , id) - 8usize] ; ["Offset of field: _xmlSchemaWildcard::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , annot) - 16usize] ; ["Offset of field: _xmlSchemaWildcard::node"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , node) - 24usize] ; ["Offset of field: _xmlSchemaWildcard::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , minOccurs) - 32usize] ; ["Offset of field: _xmlSchemaWildcard::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , maxOccurs) - 36usize] ; ["Offset of field: _xmlSchemaWildcard::processContents"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , processContents) - 40usize] ; ["Offset of field: _xmlSchemaWildcard::any"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , any) - 44usize] ; ["Offset of field: _xmlSchemaWildcard::nsSet"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , nsSet) - 48usize] ; ["Offset of field: _xmlSchemaWildcard::negNsSet"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , negNsSet) - 56usize] ; ["Offset of field: _xmlSchemaWildcard::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , flags) - 64usize] ; } ; # [doc = " Attribute group"] pub type xmlSchemaAttributeGroup = _xmlSchemaAttributeGroup ; pub type xmlSchemaAttributeGroupPtr = * mut xmlSchemaAttributeGroup ; # [doc = " An attribute group definition.\n\n xmlSchemaAttribute and xmlSchemaAttributeGroup start of structures\n must be kept similar"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttributeGroup { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaAttribute , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub flags : :: std :: os :: raw :: c_int , pub attributeWildcard : * mut xmlSchemaWildcard , pub refPrefix : * const xmlChar , pub refItem : * mut xmlSchemaAttributeGroup , pub targetNamespace : * const xmlChar , pub attrUses : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttributeGroup"] [:: std :: mem :: size_of :: < _xmlSchemaAttributeGroup > () - 120usize] ; ["Alignment of _xmlSchemaAttributeGroup"] [:: std :: mem :: align_of :: < _xmlSchemaAttributeGroup > () - 8usize] ; ["Offset of field: _xmlSchemaAttributeGroup::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , type_) - 0usize] ; ["Offset of field: _xmlSchemaAttributeGroup::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , next) - 8usize] ; ["Offset of field: _xmlSchemaAttributeGroup::name"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , name) - 16usize] ; ["Offset of field: _xmlSchemaAttributeGroup::id"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , id) - 24usize] ; ["Offset of field: _xmlSchemaAttributeGroup::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , ref_) - 32usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refNs) - 40usize] ; ["Offset of field: _xmlSchemaAttributeGroup::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , annot) - 48usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attributes) - 56usize] ; ["Offset of field: _xmlSchemaAttributeGroup::node"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , node) - 64usize] ; ["Offset of field: _xmlSchemaAttributeGroup::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , flags) - 72usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attributeWildcard"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attributeWildcard) - 80usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refPrefix) - 88usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refItem"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refItem) - 96usize] ; ["Offset of field: _xmlSchemaAttributeGroup::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , targetNamespace) - 104usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attrUses"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attrUses) - 112usize] ; } ; # [doc = " Linked list of schema types"] pub type xmlSchemaTypeLink = _xmlSchemaTypeLink ; pub type xmlSchemaTypeLinkPtr = * mut xmlSchemaTypeLink ; # [doc = " Used to build a list of types (e.g. member types of\n simpleType with variety \"union\")."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaTypeLink { pub next : * mut _xmlSchemaTypeLink , pub type_ : * mut xmlSchemaType , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaTypeLink"] [:: std :: mem :: size_of :: < _xmlSchemaTypeLink > () - 16usize] ; ["Alignment of _xmlSchemaTypeLink"] [:: std :: mem :: align_of :: < _xmlSchemaTypeLink > () - 8usize] ; ["Offset of field: _xmlSchemaTypeLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaTypeLink , next) - 0usize] ; ["Offset of field: _xmlSchemaTypeLink::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaTypeLink , type_) - 8usize] ; } ; # [doc = " Linked list of schema facets"] pub type xmlSchemaFacetLink = _xmlSchemaFacetLink ; pub type xmlSchemaFacetLinkPtr = * mut xmlSchemaFacetLink ; # [doc = " Used to build a list of facets."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaFacetLink { pub next : * mut _xmlSchemaFacetLink , pub facet : * mut xmlSchemaFacet , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaFacetLink"] [:: std :: mem :: size_of :: < _xmlSchemaFacetLink > () - 16usize] ; ["Alignment of _xmlSchemaFacetLink"] [:: std :: mem :: align_of :: < _xmlSchemaFacetLink > () - 8usize] ; ["Offset of field: _xmlSchemaFacetLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaFacetLink , next) - 0usize] ; ["Offset of field: _xmlSchemaFacetLink::facet"] [:: std :: mem :: offset_of ! (_xmlSchemaFacetLink , facet) - 8usize] ; } ; # [doc = " Schemas type definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaType { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaType , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub subtypes : * mut xmlSchemaType , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub flags : :: std :: os :: raw :: c_int , pub contentType : xmlSchemaContentType , pub base : * const xmlChar , pub baseNs : * const xmlChar , pub baseType : * mut xmlSchemaType , pub facets : * mut xmlSchemaFacet , pub redef : * mut _xmlSchemaType , pub recurse : :: std :: os :: raw :: c_int , pub attributeUses : * mut * mut xmlSchemaAttributeLink , pub attributeWildcard : * mut xmlSchemaWildcard , pub builtInType : :: std :: os :: raw :: c_int , pub memberTypes : * mut xmlSchemaTypeLink , pub facetSet : * mut xmlSchemaFacetLink , pub refPrefix : * const xmlChar , pub contentTypeDef : * mut xmlSchemaType , pub contModel : * mut xmlRegexp , pub targetNamespace : * const xmlChar , pub attrUses : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaType"] [:: std :: mem :: size_of :: < _xmlSchemaType > () - 224usize] ; ["Alignment of _xmlSchemaType"] [:: std :: mem :: align_of :: < _xmlSchemaType > () - 8usize] ; ["Offset of field: _xmlSchemaType::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaType , type_) - 0usize] ; ["Offset of field: _xmlSchemaType::next"] [:: std :: mem :: offset_of ! (_xmlSchemaType , next) - 8usize] ; ["Offset of field: _xmlSchemaType::name"] [:: std :: mem :: offset_of ! (_xmlSchemaType , name) - 16usize] ; ["Offset of field: _xmlSchemaType::id"] [:: std :: mem :: offset_of ! (_xmlSchemaType , id) - 24usize] ; ["Offset of field: _xmlSchemaType::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaType , ref_) - 32usize] ; ["Offset of field: _xmlSchemaType::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , refNs) - 40usize] ; ["Offset of field: _xmlSchemaType::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaType , annot) - 48usize] ; ["Offset of field: _xmlSchemaType::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , subtypes) - 56usize] ; ["Offset of field: _xmlSchemaType::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributes) - 64usize] ; ["Offset of field: _xmlSchemaType::node"] [:: std :: mem :: offset_of ! (_xmlSchemaType , node) - 72usize] ; ["Offset of field: _xmlSchemaType::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , minOccurs) - 80usize] ; ["Offset of field: _xmlSchemaType::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , maxOccurs) - 84usize] ; ["Offset of field: _xmlSchemaType::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaType , flags) - 88usize] ; ["Offset of field: _xmlSchemaType::contentType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contentType) - 92usize] ; ["Offset of field: _xmlSchemaType::base"] [:: std :: mem :: offset_of ! (_xmlSchemaType , base) - 96usize] ; ["Offset of field: _xmlSchemaType::baseNs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , baseNs) - 104usize] ; ["Offset of field: _xmlSchemaType::baseType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , baseType) - 112usize] ; ["Offset of field: _xmlSchemaType::facets"] [:: std :: mem :: offset_of ! (_xmlSchemaType , facets) - 120usize] ; ["Offset of field: _xmlSchemaType::redef"] [:: std :: mem :: offset_of ! (_xmlSchemaType , redef) - 128usize] ; ["Offset of field: _xmlSchemaType::recurse"] [:: std :: mem :: offset_of ! (_xmlSchemaType , recurse) - 136usize] ; ["Offset of field: _xmlSchemaType::attributeUses"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributeUses) - 144usize] ; ["Offset of field: _xmlSchemaType::attributeWildcard"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributeWildcard) - 152usize] ; ["Offset of field: _xmlSchemaType::builtInType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , builtInType) - 160usize] ; ["Offset of field: _xmlSchemaType::memberTypes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , memberTypes) - 168usize] ; ["Offset of field: _xmlSchemaType::facetSet"] [:: std :: mem :: offset_of ! (_xmlSchemaType , facetSet) - 176usize] ; ["Offset of field: _xmlSchemaType::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaType , refPrefix) - 184usize] ; ["Offset of field: _xmlSchemaType::contentTypeDef"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contentTypeDef) - 192usize] ; ["Offset of field: _xmlSchemaType::contModel"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contModel) - 200usize] ; ["Offset of field: _xmlSchemaType::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaType , targetNamespace) - 208usize] ; ["Offset of field: _xmlSchemaType::attrUses"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attrUses) - 216usize] ; } ; # [doc = " Schema element definition"] pub type xmlSchemaElement = _xmlSchemaElement ; pub type xmlSchemaElementPtr = * mut xmlSchemaElement ; # [doc = " An element definition.\n\n xmlSchemaType, xmlSchemaFacet and xmlSchemaElement start of\n structures must be kept similar"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaElement { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaType , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub subtypes : * mut xmlSchemaType , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub flags : :: std :: os :: raw :: c_int , pub targetNamespace : * const xmlChar , pub namedType : * const xmlChar , pub namedTypeNs : * const xmlChar , pub substGroup : * const xmlChar , pub substGroupNs : * const xmlChar , pub scope : * const xmlChar , pub value : * const xmlChar , pub refDecl : * mut _xmlSchemaElement , pub contModel : * mut xmlRegexp , pub contentType : xmlSchemaContentType , pub refPrefix : * const xmlChar , pub defVal : * mut xmlSchemaVal , pub idcs : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaElement"] [:: std :: mem :: size_of :: < _xmlSchemaElement > () - 200usize] ; ["Alignment of _xmlSchemaElement"] [:: std :: mem :: align_of :: < _xmlSchemaElement > () - 8usize] ; ["Offset of field: _xmlSchemaElement::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , type_) - 0usize] ; ["Offset of field: _xmlSchemaElement::next"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , next) - 8usize] ; ["Offset of field: _xmlSchemaElement::name"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , name) - 16usize] ; ["Offset of field: _xmlSchemaElement::id"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , id) - 24usize] ; ["Offset of field: _xmlSchemaElement::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , ref_) - 32usize] ; ["Offset of field: _xmlSchemaElement::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refNs) - 40usize] ; ["Offset of field: _xmlSchemaElement::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , annot) - 48usize] ; ["Offset of field: _xmlSchemaElement::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , subtypes) - 56usize] ; ["Offset of field: _xmlSchemaElement::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , attributes) - 64usize] ; ["Offset of field: _xmlSchemaElement::node"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , node) - 72usize] ; ["Offset of field: _xmlSchemaElement::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , minOccurs) - 80usize] ; ["Offset of field: _xmlSchemaElement::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , maxOccurs) - 84usize] ; ["Offset of field: _xmlSchemaElement::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , flags) - 88usize] ; ["Offset of field: _xmlSchemaElement::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , targetNamespace) - 96usize] ; ["Offset of field: _xmlSchemaElement::namedType"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , namedType) - 104usize] ; ["Offset of field: _xmlSchemaElement::namedTypeNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , namedTypeNs) - 112usize] ; ["Offset of field: _xmlSchemaElement::substGroup"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , substGroup) - 120usize] ; ["Offset of field: _xmlSchemaElement::substGroupNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , substGroupNs) - 128usize] ; ["Offset of field: _xmlSchemaElement::scope"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , scope) - 136usize] ; ["Offset of field: _xmlSchemaElement::value"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , value) - 144usize] ; ["Offset of field: _xmlSchemaElement::refDecl"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refDecl) - 152usize] ; ["Offset of field: _xmlSchemaElement::contModel"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , contModel) - 160usize] ; ["Offset of field: _xmlSchemaElement::contentType"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , contentType) - 168usize] ; ["Offset of field: _xmlSchemaElement::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refPrefix) - 176usize] ; ["Offset of field: _xmlSchemaElement::defVal"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , defVal) - 184usize] ; ["Offset of field: _xmlSchemaElement::idcs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , idcs) - 192usize] ; } ; # [doc = " A facet definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaFacet { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaFacet , pub value : * const xmlChar , pub id : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub node : * mut xmlNode , pub fixed : :: std :: os :: raw :: c_int , pub whitespace : :: std :: os :: raw :: c_int , pub val : * mut xmlSchemaVal , pub regexp : * mut xmlRegexp , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaFacet"] [:: std :: mem :: size_of :: < _xmlSchemaFacet > () - 72usize] ; ["Alignment of _xmlSchemaFacet"] [:: std :: mem :: align_of :: < _xmlSchemaFacet > () - 8usize] ; ["Offset of field: _xmlSchemaFacet::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , type_) - 0usize] ; ["Offset of field: _xmlSchemaFacet::next"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , next) - 8usize] ; ["Offset of field: _xmlSchemaFacet::value"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , value) - 16usize] ; ["Offset of field: _xmlSchemaFacet::id"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , id) - 24usize] ; ["Offset of field: _xmlSchemaFacet::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , annot) - 32usize] ; ["Offset of field: _xmlSchemaFacet::node"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , node) - 40usize] ; ["Offset of field: _xmlSchemaFacet::fixed"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , fixed) - 48usize] ; ["Offset of field: _xmlSchemaFacet::whitespace"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , whitespace) - 52usize] ; ["Offset of field: _xmlSchemaFacet::val"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , val) - 56usize] ; ["Offset of field: _xmlSchemaFacet::regexp"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , regexp) - 64usize] ; } ; # [doc = " Schema notation"] pub type xmlSchemaNotation = _xmlSchemaNotation ; pub type xmlSchemaNotationPtr = * mut xmlSchemaNotation ; # [doc = " A notation definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaNotation { pub type_ : xmlSchemaTypeType , pub name : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub identifier : * const xmlChar , pub targetNamespace : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaNotation"] [:: std :: mem :: size_of :: < _xmlSchemaNotation > () - 40usize] ; ["Alignment of _xmlSchemaNotation"] [:: std :: mem :: align_of :: < _xmlSchemaNotation > () - 8usize] ; ["Offset of field: _xmlSchemaNotation::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , type_) - 0usize] ; ["Offset of field: _xmlSchemaNotation::name"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , name) - 8usize] ; ["Offset of field: _xmlSchemaNotation::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , annot) - 16usize] ; ["Offset of field: _xmlSchemaNotation::identifier"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , identifier) - 24usize] ; ["Offset of field: _xmlSchemaNotation::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , targetNamespace) - 32usize] ; } ; # [doc = " A Schemas definition"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchema { pub name : * const xmlChar , pub targetNamespace : * const xmlChar , pub version : * const xmlChar , pub id : * const xmlChar , pub doc : * mut xmlDoc , pub annot : * mut xmlSchemaAnnot , pub flags : :: std :: os :: raw :: c_int , pub typeDecl : * mut xmlHashTable , pub attrDecl : * mut xmlHashTable , pub attrgrpDecl : * mut xmlHashTable , pub elemDecl : * mut xmlHashTable , pub notaDecl : * mut xmlHashTable , pub schemasImports : * mut xmlHashTable , pub _private : * mut :: std :: os :: raw :: c_void , pub groupDecl : * mut xmlHashTable , pub dict : * mut xmlDict , pub includes : * mut :: std :: os :: raw :: c_void , pub preserve : :: std :: os :: raw :: c_int , pub counter : :: std :: os :: raw :: c_int , pub idcDef : * mut xmlHashTable , pub volatiles : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchema"] [:: std :: mem :: size_of :: < _xmlSchema > () - 160usize] ; ["Alignment of _xmlSchema"] [:: std :: mem :: align_of :: < _xmlSchema > () - 8usize] ; ["Offset of field: _xmlSchema::name"] [:: std :: mem :: offset_of ! (_xmlSchema , name) - 0usize] ; ["Offset of field: _xmlSchema::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchema , targetNamespace) - 8usize] ; ["Offset of field: _xmlSchema::version"] [:: std :: mem :: offset_of ! (_xmlSchema , version) - 16usize] ; ["Offset of field: _xmlSchema::id"] [:: std :: mem :: offset_of ! (_xmlSchema , id) - 24usize] ; ["Offset of field: _xmlSchema::doc"] [:: std :: mem :: offset_of ! (_xmlSchema , doc) - 32usize] ; ["Offset of field: _xmlSchema::annot"] [:: std :: mem :: offset_of ! (_xmlSchema , annot) - 40usize] ; ["Offset of field: _xmlSchema::flags"] [:: std :: mem :: offset_of ! (_xmlSchema , flags) - 48usize] ; ["Offset of field: _xmlSchema::typeDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , typeDecl) - 56usize] ; ["Offset of field: _xmlSchema::attrDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , attrDecl) - 64usize] ; ["Offset of field: _xmlSchema::attrgrpDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , attrgrpDecl) - 72usize] ; ["Offset of field: _xmlSchema::elemDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , elemDecl) - 80usize] ; ["Offset of field: _xmlSchema::notaDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , notaDecl) - 88usize] ; ["Offset of field: _xmlSchema::schemasImports"] [:: std :: mem :: offset_of ! (_xmlSchema , schemasImports) - 96usize] ; ["Offset of field: _xmlSchema::_private"] [:: std :: mem :: offset_of ! (_xmlSchema , _private) - 104usize] ; ["Offset of field: _xmlSchema::groupDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , groupDecl) - 112usize] ; ["Offset of field: _xmlSchema::dict"] [:: std :: mem :: offset_of ! (_xmlSchema , dict) - 120usize] ; ["Offset of field: _xmlSchema::includes"] [:: std :: mem :: offset_of ! (_xmlSchema , includes) - 128usize] ; ["Offset of field: _xmlSchema::preserve"] [:: std :: mem :: offset_of ! (_xmlSchema , preserve) - 136usize] ; ["Offset of field: _xmlSchema::counter"] [:: std :: mem :: offset_of ! (_xmlSchema , counter) - 140usize] ; ["Offset of field: _xmlSchema::idcDef"] [:: std :: mem :: offset_of ! (_xmlSchema , idcDef) - 144usize] ; ["Offset of field: _xmlSchema::volatiles"] [:: std :: mem :: offset_of ! (_xmlSchema , volatiles) - 152usize] ; } ; unsafe extern "C" { pub fn xmlSchemaFreeType (type_ : * mut xmlSchemaType) ; } unsafe extern "C" { pub fn xmlSchemaFreeWildcard (wildcard : * mut xmlSchemaWildcard) ; } pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_UNKNOWN : xmlSchemaWhitespaceValueType = 0 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_PRESERVE : xmlSchemaWhitespaceValueType = 1 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_REPLACE : xmlSchemaWhitespaceValueType = 2 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_COLLAPSE : xmlSchemaWhitespaceValueType = 3 ; # [doc = " Schema whitespace value type"] pub type xmlSchemaWhitespaceValueType = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlSchemaInitTypes () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCleanupTypes () ; } unsafe extern "C" { pub fn xmlSchemaGetPredefinedType (name : * const xmlChar , ns : * const xmlChar) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaValidatePredefinedType (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValPredefTypeNode (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal , node : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFacet (base : * mut xmlSchemaType , facet : * mut xmlSchemaFacet , value : * const xmlChar , val : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFacetWhtsp (facet : * mut xmlSchemaFacet , fws : xmlSchemaWhitespaceValueType , valType : xmlSchemaValType , value : * const xmlChar , val : * mut xmlSchemaVal , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaFreeValue (val : * mut xmlSchemaVal) ; } unsafe extern "C" { pub fn xmlSchemaNewFacet () -> * mut xmlSchemaFacet ; } unsafe extern "C" { pub fn xmlSchemaCheckFacet (facet : * mut xmlSchemaFacet , typeDecl : * mut xmlSchemaType , ctxt : * mut xmlSchemaParserCtxt , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaFreeFacet (facet : * mut xmlSchemaFacet) ; } unsafe extern "C" { pub fn xmlSchemaCompareValues (x : * mut xmlSchemaVal , y : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetBuiltInListSimpleTypeItemType (type_ : * mut xmlSchemaType) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaValidateListSimpleTypeFacet (facet : * mut xmlSchemaFacet , value : * const xmlChar , actualLen : :: std :: os :: raw :: c_ulong , expectedLen : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetBuiltInType (type_ : xmlSchemaValType) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaIsBuiltInTypeFacet (type_ : * mut xmlSchemaType , facetType : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCollapseString (value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSchemaWhiteSpaceReplace (value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSchemaGetFacetValueAsULong (facet : * mut xmlSchemaFacet) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlSchemaValidateLengthFacet (type_ : * mut xmlSchemaType , facet : * mut xmlSchemaFacet , value : * const xmlChar , val : * mut xmlSchemaVal , length : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateLengthFacetWhtsp (facet : * mut xmlSchemaFacet , valType : xmlSchemaValType , value : * const xmlChar , val : * mut xmlSchemaVal , length : * mut :: std :: os :: raw :: c_ulong , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValPredefTypeNodeNoNorm (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal , node : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetCanonValue (val : * mut xmlSchemaVal , retValue : * mut * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetCanonValueWhtsp (val : * mut xmlSchemaVal , retValue : * mut * const xmlChar , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValueAppend (prev : * mut xmlSchemaVal , cur : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValueGetNext (cur : * mut xmlSchemaVal) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaValueGetAsString (val : * mut xmlSchemaVal) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSchemaValueGetAsBoolean (val : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaNewStringValue (type_ : xmlSchemaValType , value : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaNewNOTATIONValue (name : * const xmlChar , ns : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaNewQNameValue (namespaceName : * const xmlChar , localName : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaCompareValuesWhtsp (x : * mut xmlSchemaVal , xws : xmlSchemaWhitespaceValueType , y : * mut xmlSchemaVal , yws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCopyValue (val : * mut xmlSchemaVal) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaGetValType (val : * mut xmlSchemaVal) -> xmlSchemaValType ; } pub type __builtin_va_list = [__va_list_tag ; 1usize] ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __va_list_tag { pub gp_offset : :: std :: os :: raw :: c_uint , pub fp_offset : :: std :: os :: raw :: c_uint , pub overflow_arg_area : * mut :: std :: os :: raw :: c_void , pub reg_save_area : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __va_list_tag"] [:: std :: mem :: size_of :: < __va_list_tag > () - 24usize] ; ["Alignment of __va_list_tag"] [:: std :: mem :: align_of :: < __va_list_tag > () - 8usize] ; ["Offset of field: __va_list_tag::gp_offset"] [:: std :: mem :: offset_of ! (__va_list_tag , gp_offset) - 0usize] ; ["Offset of field: __va_list_tag::fp_offset"] [:: std :: mem :: offset_of ! (__va_list_tag , fp_offset) - 4usize] ; ["Offset of field: __va_list_tag::overflow_arg_area"] [:: std :: mem :: offset_of ! (__va_list_tag , overflow_arg_area) - 8usize] ; ["Offset of field: __va_list_tag::reg_save_area"] [:: std :: mem :: offset_of ! (__va_list_tag , reg_save_area) - 16usize] ; } ; # [doc = " dict used to allocate names if any"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDict { pub _address : u8 , }
[INFO] [stdout] 3 + # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] fn extract_bit (byte : u8 , index : usize) -> bool { let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; Self :: extract_bit (byte , index) } # [inline] pub unsafe fn raw_get_bit (this : * const Self , index : usize) -> bool { debug_assert ! (index / 8 < core :: mem :: size_of ::< Storage > ()) ; let byte_index = index / 8 ; let byte = unsafe { * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) } ; Self :: extract_bit (byte , index) } # [inline] fn change_bit (byte : u8 , index : usize , val : bool) -> u8 { let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { byte | mask } else { byte & ! mask } } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; * byte = Self :: change_bit (* byte , index , val) ; } # [inline] pub unsafe fn raw_set_bit (this : * mut Self , index : usize , val : bool) { debug_assert ! (index / 8 < core :: mem :: size_of ::< Storage > ()) ; let byte_index = index / 8 ; let byte = unsafe { (core :: ptr :: addr_of_mut ! ((* this) . storage) as * mut u8) . offset (byte_index as isize) } ; unsafe { * byte = Self :: change_bit (* byte , index , val) } ; } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub unsafe fn raw_get (this : * const Self , bit_offset : usize , bit_width : u8 ,) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < core :: mem :: size_of ::< Storage > ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= core :: mem :: size_of ::< Storage > ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if unsafe { Self :: raw_get_bit (this , i + bit_offset) } { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } # [inline] pub unsafe fn raw_set (this : * mut Self , bit_offset : usize , bit_width : u8 , val : u64 ,) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < core :: mem :: size_of ::< Storage > ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= core :: mem :: size_of ::< Storage > ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; unsafe { Self :: raw_set_bit (this , index + bit_offset , val_bit_is_set) } ; } } } # [derive (PartialEq , Copy , Clone , Hash , Debug , Default)] # [repr (C)] pub struct __BindgenComplex < T > { pub re : T , pub im : T } pub const LIBXML_DOTTED_VERSION : & [u8 ; 7] = b"2.15.2\0" ; pub const LIBXML_VERSION : u32 = 21502 ; pub const LIBXML_VERSION_STRING : & [u8 ; 6] = b"21502\0" ; pub const LIBXML_VERSION_EXTRA : & [u8 ; 1] = b"\0" ; pub const LIBXML_MODULE_EXTENSION : & [u8 ; 4] = b".so\0" ; pub const _STDIO_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2Y : u32 = 0 ; pub const __GLIBC_USE_ISOC23 : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 202405 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __USE_XOPEN2K24 : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_TIME_BITS64 : u32 = 1 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const __GLIBC_USE_C23_STRTOL : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 43 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C23 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C23 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _____fpos_t_defined : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _____fpos64_t_defined : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const __struct_FILE_defined : u32 = 1 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const __cookie_io_functions_t_defined : u32 = 1 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; pub const EOF : i32 = - 1 ; pub const SEEK_SET : u32 = 0 ; pub const SEEK_CUR : u32 = 1 ; pub const SEEK_END : u32 = 2 ; pub const P_tmpdir : & [u8 ; 5] = b"/tmp\0" ; pub const L_tmpnam : u32 = 20 ; pub const TMP_MAX : u32 = 238328 ; pub const _BITS_STDIO_LIM_H : u32 = 1 ; pub const FILENAME_MAX : u32 = 4096 ; pub const L_ctermid : u32 = 9 ; pub const FOPEN_MAX : u32 = 16 ; pub const __HAVE_FLOAT128 : u32 = 1 ; pub const __HAVE_DISTINCT_FLOAT128 : u32 = 1 ; pub const __HAVE_FLOAT64X : u32 = 1 ; pub const __HAVE_FLOAT64X_LONG_DOUBLE : u32 = 1 ; pub const __HAVE_FLOAT16 : u32 = 0 ; pub const __HAVE_FLOAT32 : u32 = 1 ; pub const __HAVE_FLOAT64 : u32 = 1 ; pub const __HAVE_FLOAT32X : u32 = 1 ; pub const __HAVE_FLOAT128X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT16 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT128X : u32 = 0 ; pub const __HAVE_FLOATN_NOT_TYPEDEF : u32 = 0 ; pub const _LIBC_LIMITS_H_ : u32 = 1 ; pub const MB_LEN_MAX : u32 = 16 ; pub const _BITS_POSIX1_LIM_H : u32 = 1 ; pub const _POSIX_AIO_LISTIO_MAX : u32 = 2 ; pub const _POSIX_AIO_MAX : u32 = 1 ; pub const _POSIX_ARG_MAX : u32 = 4096 ; pub const _POSIX_CHILD_MAX : u32 = 25 ; pub const _POSIX_DELAYTIMER_MAX : u32 = 32 ; pub const _POSIX_HOST_NAME_MAX : u32 = 255 ; pub const _POSIX_LINK_MAX : u32 = 8 ; pub const _POSIX_LOGIN_NAME_MAX : u32 = 9 ; pub const _POSIX_MAX_CANON : u32 = 255 ; pub const _POSIX_MAX_INPUT : u32 = 255 ; pub const _POSIX_MQ_OPEN_MAX : u32 = 8 ; pub const _POSIX_MQ_PRIO_MAX : u32 = 32 ; pub const _POSIX_NAME_MAX : u32 = 14 ; pub const _POSIX_NGROUPS_MAX : u32 = 8 ; pub const _POSIX_OPEN_MAX : u32 = 20 ; pub const _POSIX_PATH_MAX : u32 = 256 ; pub const _POSIX_PIPE_BUF : u32 = 512 ; pub const _POSIX_RE_DUP_MAX : u32 = 255 ; pub const _POSIX_RTSIG_MAX : u32 = 8 ; pub const _POSIX_SEM_NSEMS_MAX : u32 = 256 ; pub const _POSIX_SEM_VALUE_MAX : u32 = 32767 ; pub const _POSIX_SIGQUEUE_MAX : u32 = 32 ; pub const _POSIX_SSIZE_MAX : u32 = 32767 ; pub const _POSIX_STREAM_MAX : u32 = 8 ; pub const _POSIX_SYMLINK_MAX : u32 = 255 ; pub const _POSIX_SYMLOOP_MAX : u32 = 8 ; pub const _POSIX_TIMER_MAX : u32 = 32 ; pub const _POSIX_TTY_NAME_MAX : u32 = 9 ; pub const _POSIX_TZNAME_MAX : u32 = 6 ; pub const _POSIX_CLOCKRES_MIN : u32 = 20000000 ; pub const NR_OPEN : u32 = 1024 ; pub const NGROUPS_MAX : u32 = 65536 ; pub const ARG_MAX : u32 = 131072 ; pub const LINK_MAX : u32 = 127 ; pub const MAX_CANON : u32 = 255 ; pub const MAX_INPUT : u32 = 255 ; pub const NAME_MAX : u32 = 255 ; pub const PATH_MAX : u32 = 4096 ; pub const PIPE_BUF : u32 = 4096 ; pub const XATTR_NAME_MAX : u32 = 255 ; pub const XATTR_SIZE_MAX : u32 = 65536 ; pub const XATTR_LIST_MAX : u32 = 65536 ; pub const RTSIG_MAX : u32 = 32 ; pub const _POSIX_THREAD_KEYS_MAX : u32 = 128 ; pub const PTHREAD_KEYS_MAX : u32 = 1024 ; pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const PTHREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const _POSIX_THREAD_THREADS_MAX : u32 = 64 ; pub const AIO_PRIO_DELTA_MAX : u32 = 20 ; pub const PTHREAD_STACK_MIN : u32 = 16384 ; pub const DELAYTIMER_MAX : u32 = 2147483647 ; pub const TTY_NAME_MAX : u32 = 32 ; pub const LOGIN_NAME_MAX : u32 = 256 ; pub const HOST_NAME_MAX : u32 = 64 ; pub const MQ_PRIO_MAX : u32 = 32768 ; pub const SEM_VALUE_MAX : u32 = 2147483647 ; pub const _BITS_POSIX2_LIM_H : u32 = 1 ; pub const _POSIX2_BC_BASE_MAX : u32 = 99 ; pub const _POSIX2_BC_DIM_MAX : u32 = 2048 ; pub const _POSIX2_BC_SCALE_MAX : u32 = 99 ; pub const _POSIX2_BC_STRING_MAX : u32 = 1000 ; pub const _POSIX2_COLL_WEIGHTS_MAX : u32 = 2 ; pub const _POSIX2_EXPR_NEST_MAX : u32 = 32 ; pub const _POSIX2_LINE_MAX : u32 = 2048 ; pub const _POSIX2_RE_DUP_MAX : u32 = 255 ; pub const _POSIX2_CHARCLASS_NAME_MAX : u32 = 14 ; pub const BC_BASE_MAX : u32 = 99 ; pub const BC_DIM_MAX : u32 = 2048 ; pub const BC_SCALE_MAX : u32 = 99 ; pub const BC_STRING_MAX : u32 = 1000 ; pub const COLL_WEIGHTS_MAX : u32 = 255 ; pub const EXPR_NEST_MAX : u32 = 32 ; pub const LINE_MAX : u32 = 2048 ; pub const CHARCLASS_NAME_MAX : u32 = 2048 ; pub const RE_DUP_MAX : u32 = 32767 ; pub const xmlDefaultBufferSize : u32 = 4096 ; pub const XML_DOCB_DOCUMENT_NODE : u32 = 21 ; pub const XML_DEFAULT_VERSION : & [u8 ; 4] = b"1.0\0" ; pub const XML_DETECT_IDS : u32 = 2 ; pub const XML_COMPLETE_ATTRS : u32 = 4 ; pub const XML_SKIP_IDS : u32 = 8 ; pub const XML_SAX2_MAGIC : u32 = 3740122799 ; pub const XML_SCHEMAS_ANYATTR_SKIP : u32 = 1 ; pub const XML_SCHEMAS_ANYATTR_LAX : u32 = 2 ; pub const XML_SCHEMAS_ANYATTR_STRICT : u32 = 3 ; pub const XML_SCHEMAS_ANY_SKIP : u32 = 1 ; pub const XML_SCHEMAS_ANY_LAX : u32 = 2 ; pub const XML_SCHEMAS_ANY_STRICT : u32 = 3 ; pub const XML_SCHEMAS_ATTR_USE_PROHIBITED : u32 = 0 ; pub const XML_SCHEMAS_ATTR_USE_REQUIRED : u32 = 1 ; pub const XML_SCHEMAS_ATTR_USE_OPTIONAL : u32 = 2 ; pub const XML_SCHEMAS_ATTR_GLOBAL : u32 = 1 ; pub const XML_SCHEMAS_ATTR_NSDEFAULT : u32 = 128 ; pub const XML_SCHEMAS_ATTR_INTERNAL_RESOLVED : u32 = 256 ; pub const XML_SCHEMAS_ATTR_FIXED : u32 = 512 ; pub const XML_SCHEMAS_WILDCARD_COMPLETE : u32 = 1 ; pub const XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED : u32 = 1 ; pub const XML_SCHEMAS_ATTRGROUP_GLOBAL : u32 = 2 ; pub const XML_SCHEMAS_ATTRGROUP_MARKED : u32 = 4 ; pub const XML_SCHEMAS_ATTRGROUP_REDEFINED : u32 = 8 ; pub const XML_SCHEMAS_ATTRGROUP_HAS_REFS : u32 = 16 ; pub const XML_SCHEMAS_TYPE_MIXED : u32 = 1 ; pub const XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION : u32 = 2 ; pub const XML_SCHEMAS_TYPE_DERIVATION_METHOD_RESTRICTION : u32 = 4 ; pub const XML_SCHEMAS_TYPE_GLOBAL : u32 = 8 ; pub const XML_SCHEMAS_TYPE_OWNED_ATTR_WILDCARD : u32 = 16 ; pub const XML_SCHEMAS_TYPE_VARIETY_ABSENT : u32 = 32 ; pub const XML_SCHEMAS_TYPE_VARIETY_LIST : u32 = 64 ; pub const XML_SCHEMAS_TYPE_VARIETY_UNION : u32 = 128 ; pub const XML_SCHEMAS_TYPE_VARIETY_ATOMIC : u32 = 256 ; pub const XML_SCHEMAS_TYPE_FINAL_EXTENSION : u32 = 512 ; pub const XML_SCHEMAS_TYPE_FINAL_RESTRICTION : u32 = 1024 ; pub const XML_SCHEMAS_TYPE_FINAL_LIST : u32 = 2048 ; pub const XML_SCHEMAS_TYPE_FINAL_UNION : u32 = 4096 ; pub const XML_SCHEMAS_TYPE_FINAL_DEFAULT : u32 = 8192 ; pub const XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE : u32 = 16384 ; pub const XML_SCHEMAS_TYPE_MARKED : u32 = 65536 ; pub const XML_SCHEMAS_TYPE_BLOCK_DEFAULT : u32 = 131072 ; pub const XML_SCHEMAS_TYPE_BLOCK_EXTENSION : u32 = 262144 ; pub const XML_SCHEMAS_TYPE_BLOCK_RESTRICTION : u32 = 524288 ; pub const XML_SCHEMAS_TYPE_ABSTRACT : u32 = 1048576 ; pub const XML_SCHEMAS_TYPE_FACETSNEEDVALUE : u32 = 2097152 ; pub const XML_SCHEMAS_TYPE_INTERNAL_RESOLVED : u32 = 4194304 ; pub const XML_SCHEMAS_TYPE_INTERNAL_INVALID : u32 = 8388608 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_PRESERVE : u32 = 16777216 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_REPLACE : u32 = 33554432 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_COLLAPSE : u32 = 67108864 ; pub const XML_SCHEMAS_TYPE_HAS_FACETS : u32 = 134217728 ; pub const XML_SCHEMAS_TYPE_NORMVALUENEEDED : u32 = 268435456 ; pub const XML_SCHEMAS_TYPE_FIXUP_1 : u32 = 536870912 ; pub const XML_SCHEMAS_TYPE_REDEFINED : u32 = 1073741824 ; pub const XML_SCHEMAS_ELEM_NILLABLE : u32 = 1 ; pub const XML_SCHEMAS_ELEM_GLOBAL : u32 = 2 ; pub const XML_SCHEMAS_ELEM_DEFAULT : u32 = 4 ; pub const XML_SCHEMAS_ELEM_FIXED : u32 = 8 ; pub const XML_SCHEMAS_ELEM_ABSTRACT : u32 = 16 ; pub const XML_SCHEMAS_ELEM_TOPLEVEL : u32 = 32 ; pub const XML_SCHEMAS_ELEM_REF : u32 = 64 ; pub const XML_SCHEMAS_ELEM_NSDEFAULT : u32 = 128 ; pub const XML_SCHEMAS_ELEM_INTERNAL_RESOLVED : u32 = 256 ; pub const XML_SCHEMAS_ELEM_CIRCULAR : u32 = 512 ; pub const XML_SCHEMAS_ELEM_BLOCK_ABSENT : u32 = 1024 ; pub const XML_SCHEMAS_ELEM_BLOCK_EXTENSION : u32 = 2048 ; pub const XML_SCHEMAS_ELEM_BLOCK_RESTRICTION : u32 = 4096 ; pub const XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION : u32 = 8192 ; pub const XML_SCHEMAS_ELEM_FINAL_ABSENT : u32 = 16384 ; pub const XML_SCHEMAS_ELEM_FINAL_EXTENSION : u32 = 32768 ; pub const XML_SCHEMAS_ELEM_FINAL_RESTRICTION : u32 = 65536 ; pub const XML_SCHEMAS_ELEM_SUBST_GROUP_HEAD : u32 = 131072 ; pub const XML_SCHEMAS_ELEM_INTERNAL_CHECKED : u32 = 262144 ; pub const XML_SCHEMAS_FACET_UNKNOWN : u32 = 0 ; pub const XML_SCHEMAS_FACET_PRESERVE : u32 = 1 ; pub const XML_SCHEMAS_FACET_REPLACE : u32 = 2 ; pub const XML_SCHEMAS_FACET_COLLAPSE : u32 = 3 ; pub const XML_SCHEMAS_QUALIF_ELEM : u32 = 1 ; pub const XML_SCHEMAS_QUALIF_ATTR : u32 = 2 ; pub const XML_SCHEMAS_FINAL_DEFAULT_EXTENSION : u32 = 4 ; pub const XML_SCHEMAS_FINAL_DEFAULT_RESTRICTION : u32 = 8 ; pub const XML_SCHEMAS_FINAL_DEFAULT_LIST : u32 = 16 ; pub const XML_SCHEMAS_FINAL_DEFAULT_UNION : u32 = 32 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_EXTENSION : u32 = 64 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_RESTRICTION : u32 = 128 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_SUBSTITUTION : u32 = 256 ; pub const XML_SCHEMAS_INCLUDING_CONVERT_NS : u32 = 512 ; unsafe extern "C" { pub fn xmlCheckVersion (version : :: std :: os :: raw :: c_int) ; } pub type __gnuc_va_list = __builtin_va_list ; pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [:: std :: os :: raw :: c_int ; 2usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __fsid_t"] [:: std :: mem :: size_of :: < __fsid_t > () - 8usize] ; ["Alignment of __fsid_t"] [:: std :: mem :: align_of :: < __fsid_t > () - 4usize] ; ["Offset of field: __fsid_t::__val"] [:: std :: mem :: offset_of ! (__fsid_t , __val) - 0usize] ; } ; pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __suseconds64_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Copy , Clone)] pub struct __mbstate_t { pub __count : :: std :: os :: raw :: c_int , pub __value : __mbstate_t__bindgen_ty_1 , } # [repr (C)] # [derive (Copy , Clone)] pub union __mbstate_t__bindgen_ty_1 { pub __wch : :: std :: os :: raw :: c_uint , pub __wchb : [:: std :: os :: raw :: c_char ; 4usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __mbstate_t__bindgen_ty_1"] [:: std :: mem :: size_of :: < __mbstate_t__bindgen_ty_1 > () - 4usize] ; ["Alignment of __mbstate_t__bindgen_ty_1"] [:: std :: mem :: align_of :: < __mbstate_t__bindgen_ty_1 > () - 4usize] ; ["Offset of field: __mbstate_t__bindgen_ty_1::__wch"] [:: std :: mem :: offset_of ! (__mbstate_t__bindgen_ty_1 , __wch) - 0usize] ; ["Offset of field: __mbstate_t__bindgen_ty_1::__wchb"] [:: std :: mem :: offset_of ! (__mbstate_t__bindgen_ty_1 , __wchb) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __mbstate_t"] [:: std :: mem :: size_of :: < __mbstate_t > () - 8usize] ; ["Alignment of __mbstate_t"] [:: std :: mem :: align_of :: < __mbstate_t > () - 4usize] ; ["Offset of field: __mbstate_t::__count"] [:: std :: mem :: offset_of ! (__mbstate_t , __count) - 0usize] ; ["Offset of field: __mbstate_t::__value"] [:: std :: mem :: offset_of ! (__mbstate_t , __value) - 4usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos_t { pub __pos : __off_t , pub __state : __mbstate_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _G_fpos_t"] [:: std :: mem :: size_of :: < _G_fpos_t > () - 16usize] ; ["Alignment of _G_fpos_t"] [:: std :: mem :: align_of :: < _G_fpos_t > () - 8usize] ; ["Offset of field: _G_fpos_t::__pos"] [:: std :: mem :: offset_of ! (_G_fpos_t , __pos) - 0usize] ; ["Offset of field: _G_fpos_t::__state"] [:: std :: mem :: offset_of ! (_G_fpos_t , __state) - 8usize] ; } ; pub type __fpos_t = _G_fpos_t ; # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos64_t { pub __pos : __off64_t , pub __state : __mbstate_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _G_fpos64_t"] [:: std :: mem :: size_of :: < _G_fpos64_t > () - 16usize] ; ["Alignment of _G_fpos64_t"] [:: std :: mem :: align_of :: < _G_fpos64_t > () - 8usize] ; ["Offset of field: _G_fpos64_t::__pos"] [:: std :: mem :: offset_of ! (_G_fpos64_t , __pos) - 0usize] ; ["Offset of field: _G_fpos64_t::__state"] [:: std :: mem :: offset_of ! (_G_fpos64_t , __state) - 8usize] ; } ; pub type __fpos64_t = _G_fpos64_t ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: std :: os :: raw :: c_int , pub _IO_read_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_read_end : * mut :: std :: os :: raw :: c_char , pub _IO_read_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_write_end : * mut :: std :: os :: raw :: c_char , pub _IO_buf_base : * mut :: std :: os :: raw :: c_char , pub _IO_buf_end : * mut :: std :: os :: raw :: c_char , pub _IO_save_base : * mut :: std :: os :: raw :: c_char , pub _IO_backup_base : * mut :: std :: os :: raw :: c_char , pub _IO_save_end : * mut :: std :: os :: raw :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: std :: os :: raw :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: std :: os :: raw :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: std :: os :: raw :: c_ushort , pub _vtable_offset : :: std :: os :: raw :: c_schar , pub _shortbuf : [:: std :: os :: raw :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: std :: os :: raw :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: std :: os :: raw :: c_int , pub _unused3 : :: std :: os :: raw :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: std :: os :: raw :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: std :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: std :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: std :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: std :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: std :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: std :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: std :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: std :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: std :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: std :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: std :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: std :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: std :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: std :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: std :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: std :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: std :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: std :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: std :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: std :: os :: raw :: c_int { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: std :: os :: raw :: c_int) { unsafe { let val : u32 = i32::cast_unsigned (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub unsafe fn _flags2_raw (this : * const Self) -> :: std :: os :: raw :: c_int { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 3usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 0usize , 24u8 ,) as u32) } } # [inline] pub unsafe fn set__flags2_raw (this : * mut Self , val : :: std :: os :: raw :: c_int) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 3usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 0usize , 24u8 , val as u64 ,) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: std :: os :: raw :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { :: std :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } pub type cookie_read_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_write_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_seek_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; pub type cookie_close_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_cookie_io_functions_t { pub read : cookie_read_function_t , pub write : cookie_write_function_t , pub seek : cookie_seek_function_t , pub close : cookie_close_function_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_cookie_io_functions_t"] [:: std :: mem :: size_of :: < _IO_cookie_io_functions_t > () - 32usize] ; ["Alignment of _IO_cookie_io_functions_t"] [:: std :: mem :: align_of :: < _IO_cookie_io_functions_t > () - 8usize] ; ["Offset of field: _IO_cookie_io_functions_t::read"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , read) - 0usize] ; ["Offset of field: _IO_cookie_io_functions_t::write"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , write) - 8usize] ; ["Offset of field: _IO_cookie_io_functions_t::seek"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , seek) - 16usize] ; ["Offset of field: _IO_cookie_io_functions_t::close"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , close) - 24usize] ; } ; pub type cookie_io_functions_t = _IO_cookie_io_functions_t ; pub type va_list = __gnuc_va_list ; pub type off_t = __off_t ; pub type fpos_t = __fpos_t ; unsafe extern "C" { pub static mut stdin : * mut FILE ; } unsafe extern "C" { pub static mut stdout : * mut FILE ; } unsafe extern "C" { pub static mut stderr : * mut FILE ; } unsafe extern "C" { pub fn remove (__filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn rename (__old : * const :: std :: os :: raw :: c_char , __new : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn renameat (__oldfd : :: std :: os :: raw :: c_int , __old : * const :: std :: os :: raw :: c_char , __newfd : :: std :: os :: raw :: c_int , __new : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fclose (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn tmpfile () -> * mut FILE ; } unsafe extern "C" { pub fn tmpnam (arg1 : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn tmpnam_r (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn tempnam (__dir : * const :: std :: os :: raw :: c_char , __pfx : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn fflush (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fflush_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn freopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> * mut FILE ; } unsafe extern "C" { pub fn fdopen (__fd : :: std :: os :: raw :: c_int , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn fopencookie (__magic_cookie : * mut :: std :: os :: raw :: c_void , __modes : * const :: std :: os :: raw :: c_char , __io_funcs : cookie_io_functions_t) -> * mut FILE ; } unsafe extern "C" { pub fn fmemopen (__s : * mut :: std :: os :: raw :: c_void , __len : usize , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn open_memstream (__bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize) -> * mut FILE ; } unsafe extern "C" { pub fn setbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn setvbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn setbuffer (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize) ; } unsafe extern "C" { pub fn setlinebuf (__stream : * mut FILE) ; } unsafe extern "C" { pub fn fprintf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn printf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn sprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vfprintf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vprintf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn snprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsnprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vasprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __f : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vdprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn dprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fscanf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn scanf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn sscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } pub type __cfloat128 = __BindgenComplex < u128 > ; pub type _Float128 = u128 ; pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = u128 ; unsafe extern "C" { # [link_name = "\u{1}__isoc99_fscanf"] pub fn fscanf1 (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_scanf"] pub fn scanf1 (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_sscanf"] pub fn sscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vfscanf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vscanf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vfscanf"] pub fn vfscanf1 (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vscanf"] pub fn vscanf1 (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vsscanf"] pub fn vsscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgetc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getchar () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getchar_unlocked () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgetc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fputc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putchar (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fputc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putchar_unlocked (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getw (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putw (__w : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgets (__s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn __getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn getline (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn fputs (__s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn puts (__s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ungetc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fread (__ptr : * mut :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __stream : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn fwrite (__ptr : * const :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __s : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn fread_unlocked (__ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } unsafe extern "C" { pub fn fwrite_unlocked (__ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } unsafe extern "C" { pub fn fseek (__stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ftell (__stream : * mut FILE) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn rewind (__stream : * mut FILE) ; } unsafe extern "C" { pub fn fseeko (__stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ftello (__stream : * mut FILE) -> __off_t ; } unsafe extern "C" { pub fn fgetpos (__stream : * mut FILE , __pos : * mut fpos_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fsetpos (__stream : * mut FILE , __pos : * const fpos_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn clearerr (__stream : * mut FILE) ; } unsafe extern "C" { pub fn feof (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ferror (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn clearerr_unlocked (__stream : * mut FILE) ; } unsafe extern "C" { pub fn feof_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ferror_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn perror (__s : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn fileno (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fileno_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn pclose (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn popen (__command : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn ctermid (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn flockfile (__stream : * mut FILE) ; } unsafe extern "C" { pub fn ftrylockfile (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn funlockfile (__stream : * mut FILE) ; } unsafe extern "C" { pub fn __uflow (arg1 : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __overflow (arg1 : * mut FILE , arg2 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " This is a basic byte in an UTF-8 encoded string.\n It's unsigned allowing to pinpoint case where char * are assigned\n to xmlChar * (possibly making serialization back impossible)."] pub type xmlChar = :: std :: os :: raw :: c_uchar ; unsafe extern "C" { pub fn xmlStrdup (cur : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrndup (cur : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCharStrndup (cur : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCharStrdup (cur : * const :: std :: os :: raw :: c_char) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrsub (str_ : * const xmlChar , start : :: std :: os :: raw :: c_int , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrchr (str_ : * const xmlChar , val : xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrstr (str_ : * const xmlChar , val : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrcasestr (str_ : * const xmlChar , val : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrcmp (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrncmp (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrcasecmp (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrncasecmp (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrEqual (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrQEqual (pref : * const xmlChar , name : * const xmlChar , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrlen (str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrcat (cur : * mut xmlChar , add : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrncat (cur : * mut xmlChar , add : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrncatNew (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrPrintf (buf : * mut xmlChar , len : :: std :: os :: raw :: c_int , msg : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrVPrintf (buf : * mut xmlChar , len : :: std :: os :: raw :: c_int , msg : * const :: std :: os :: raw :: c_char , ap : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetUTF8Char (utf : * const :: std :: os :: raw :: c_uchar , len : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCheckUTF8 (utf : * const :: std :: os :: raw :: c_uchar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strsize (utf : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strndup (utf : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strpos (utf : * const xmlChar , pos : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strloc (utf : * const xmlChar , utfchar : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strsub (utf : * const xmlChar , start : :: std :: os :: raw :: c_int , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strlen (utf : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Size (utf : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Charcmp (utf1 : * const xmlChar , utf2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } # [doc = " Signature for a free() implementation.\n\n @param mem  an already allocated block of memory"] pub type xmlFreeFunc = :: std :: option :: Option < unsafe extern "C" fn (mem : * mut :: std :: os :: raw :: c_void) > ; # [doc = " Signature for a malloc() implementation.\n\n @param size  the size requested in bytes\n @returns a pointer to the newly allocated block or NULL in case of error."] pub type xmlMallocFunc = :: std :: option :: Option < unsafe extern "C" fn (size : usize) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Signature for a realloc() implementation.\n\n @param mem  an already allocated block of memory\n @param size  the new size requested in bytes\n @returns a pointer to the newly reallocated block or NULL in case of error."] pub type xmlReallocFunc = :: std :: option :: Option < unsafe extern "C" fn (mem : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Signature for an strdup() implementation.\n\n @param str  a zero terminated string\n @returns the copy of the string or NULL in case of error."] pub type xmlStrdupFunc = :: std :: option :: Option < unsafe extern "C" fn (str_ : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char > ; unsafe extern "C" { # [doc = " The variable holding the libxml malloc() implementation"] pub static mut xmlMalloc : xmlMallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml malloc() implementation for atomic\n data (i.e. blocks not containing pointers), useful when using a\n garbage collecting allocator.\n\n @deprecated Use #xmlMalloc"] pub static mut xmlMallocAtomic : xmlMallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml realloc() implementation"] pub static mut xmlRealloc : xmlReallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml free() implementation"] pub static mut xmlFree : xmlFreeFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml strdup() implementation"] pub static mut xmlMemStrdup : xmlStrdupFunc ; } unsafe extern "C" { pub fn xmlMemSetup (freeFunc : xmlFreeFunc , mallocFunc : xmlMallocFunc , reallocFunc : xmlReallocFunc , strdupFunc : xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemGet (freeFunc : * mut xmlFreeFunc , mallocFunc : * mut xmlMallocFunc , reallocFunc : * mut xmlReallocFunc , strdupFunc : * mut xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGcMemSetup (freeFunc : xmlFreeFunc , mallocFunc : xmlMallocFunc , mallocAtomicFunc : xmlMallocFunc , reallocFunc : xmlReallocFunc , strdupFunc : xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGcMemGet (freeFunc : * mut xmlFreeFunc , mallocFunc : * mut xmlMallocFunc , mallocAtomicFunc : * mut xmlMallocFunc , reallocFunc : * mut xmlReallocFunc , strdupFunc : * mut xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlInitMemory () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCleanupMemory () ; } unsafe extern "C" { pub fn xmlMemSize (ptr : * mut :: std :: os :: raw :: c_void) -> usize ; } unsafe extern "C" { pub fn xmlMemUsed () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemBlocks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemDisplay (fp : * mut FILE) ; } unsafe extern "C" { pub fn xmlMemDisplayLast (fp : * mut FILE , nbBytes : :: std :: os :: raw :: c_long) ; } unsafe extern "C" { pub fn xmlMemShow (fp : * mut FILE , nr : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlMemoryDump () ; } unsafe extern "C" { pub fn xmlMemMalloc (size : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemRealloc (ptr : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemFree (ptr : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlMemoryStrdup (str_ : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlMallocLoc (size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlReallocLoc (ptr : * mut :: std :: os :: raw :: c_void , size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMallocAtomicLoc (size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemStrdupLoc (str_ : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRegexp { _unused : [u8 ; 0] , } # [doc = " A libxml regular expression"] pub type xmlRegexp = _xmlRegexp ; pub type xmlRegexpPtr = * mut xmlRegexp ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRegExecCtxt { _unused : [u8 ; 0] , } # [doc = " A libxml progressive regular expression evaluation context"] pub type xmlRegExecCtxt = _xmlRegExecCtxt ; pub type xmlRegExecCtxtPtr = * mut xmlRegExecCtxt ; unsafe extern "C" { pub fn xmlRegexpCompile (regexp : * const xmlChar) -> * mut xmlRegexp ; } unsafe extern "C" { pub fn xmlRegFreeRegexp (regexp : * mut xmlRegexp) ; } unsafe extern "C" { pub fn xmlRegexpExec (comp : * mut xmlRegexp , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegexpPrint (output : * mut FILE , regexp : * mut xmlRegexp) ; } unsafe extern "C" { pub fn xmlRegexpIsDeterminist (comp : * mut xmlRegexp) -> :: std :: os :: raw :: c_int ; } # [doc = " Callback function when doing a transition in the automata\n\n @param exec  the regular expression context\n @param token  the current token string\n @param transdata  transition data\n @param inputdata  input data"] pub type xmlRegExecCallbacks = :: std :: option :: Option < unsafe extern "C" fn (exec : * mut xmlRegExecCtxt , token : * const xmlChar , transdata : * mut :: std :: os :: raw :: c_void , inputdata : * mut :: std :: os :: raw :: c_void) > ; unsafe extern "C" { pub fn xmlRegNewExecCtxt (comp : * mut xmlRegexp , callback : xmlRegExecCallbacks , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlRegExecCtxt ; } unsafe extern "C" { pub fn xmlRegFreeExecCtxt (exec : * mut xmlRegExecCtxt) ; } unsafe extern "C" { pub fn xmlRegExecPushString (exec : * mut xmlRegExecCtxt , value : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecPushString2 (exec : * mut xmlRegExecCtxt , value : * const xmlChar , value2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecNextValues (exec : * mut xmlRegExecCtxt , nbval : * mut :: std :: os :: raw :: c_int , nbneg : * mut :: std :: os :: raw :: c_int , values : * mut * mut xmlChar , terminal : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecErrInfo (exec : * mut xmlRegExecCtxt , string : * mut * const xmlChar , nbval : * mut :: std :: os :: raw :: c_int , nbneg : * mut :: std :: os :: raw :: c_int , values : * mut * mut xmlChar , terminal : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " Parser input buffer\n\n This struct and all related functions should ultimately\n be removed from the public interface."] pub type xmlParserInputBuffer = _xmlParserInputBuffer ; pub type xmlParserInputBufferPtr = * mut xmlParserInputBuffer ; # [doc = " Output buffer"] pub type xmlOutputBuffer = _xmlOutputBuffer ; pub type xmlOutputBufferPtr = * mut xmlOutputBuffer ; # [doc = " Parser input"] pub type xmlParserInput = _xmlParserInput ; pub type xmlParserInputPtr = * mut xmlParserInput ; # [doc = " Parser context"] pub type xmlParserCtxt = _xmlParserCtxt ; pub type xmlParserCtxtPtr = * mut xmlParserCtxt ; # [doc = " SAX locator"] pub type xmlSAXLocator = _xmlSAXLocator ; pub type xmlSAXLocatorPtr = * mut xmlSAXLocator ; # [doc = " SAX handler"] pub type xmlSAXHandler = _xmlSAXHandler ; pub type xmlSAXHandlerPtr = * mut xmlSAXHandler ; # [doc = " Entity declaration"] pub type xmlEntity = _xmlEntity ; pub type xmlEntityPtr = * mut xmlEntity ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_DOUBLEIT : xmlBufferAllocationScheme = 0 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_EXACT : xmlBufferAllocationScheme = 1 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_IMMUTABLE : xmlBufferAllocationScheme = 2 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_IO : xmlBufferAllocationScheme = 3 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_HYBRID : xmlBufferAllocationScheme = 4 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_BOUNDED : xmlBufferAllocationScheme = 5 ; # [doc = " Removed, buffers always use XML_BUFFER_ALLOC_IO now."] pub type xmlBufferAllocationScheme = :: std :: os :: raw :: c_uint ; # [doc = " Buffer type"] pub type xmlBuffer = _xmlBuffer ; pub type xmlBufferPtr = * mut xmlBuffer ; # [doc = " A buffer structure, this old construct is limited to 2GB and\n is being deprecated, use API with xmlBuf instead."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlBuffer { # [doc = " @deprecated Use #xmlBufferContent\n\n The buffer content UTF8"] pub content : * mut xmlChar , # [doc = " @deprecated Use #xmlBufferLength\n\n The buffer size used"] pub use_ : :: std :: os :: raw :: c_uint , pub size : :: std :: os :: raw :: c_uint , pub alloc : xmlBufferAllocationScheme , pub contentIO : * mut xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlBuffer"] [:: std :: mem :: size_of :: < _xmlBuffer > () - 32usize] ; ["Alignment of _xmlBuffer"] [:: std :: mem :: align_of :: < _xmlBuffer > () - 8usize] ; ["Offset of field: _xmlBuffer::content"] [:: std :: mem :: offset_of ! (_xmlBuffer , content) - 0usize] ; ["Offset of field: _xmlBuffer::use_"] [:: std :: mem :: offset_of ! (_xmlBuffer , use_) - 8usize] ; ["Offset of field: _xmlBuffer::size"] [:: std :: mem :: offset_of ! (_xmlBuffer , size) - 12usize] ; ["Offset of field: _xmlBuffer::alloc"] [:: std :: mem :: offset_of ! (_xmlBuffer , alloc) - 16usize] ; ["Offset of field: _xmlBuffer::contentIO"] [:: std :: mem :: offset_of ! (_xmlBuffer , contentIO) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlBuf { _unused : [u8 ; 0] , } # [doc = " Buffer with 64-bit support"] pub type xmlBuf = _xmlBuf ; pub type xmlBufPtr = * mut xmlBuf ; # [doc = " An element.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_ELEMENT_NODE : xmlElementType = 1 ; # [doc = " An attribute.\n\n Objects of this type are an xmlAttr."] pub const xmlElementType_XML_ATTRIBUTE_NODE : xmlElementType = 2 ; # [doc = " A text node.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_TEXT_NODE : xmlElementType = 3 ; # [doc = " A CDATA section.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_CDATA_SECTION_NODE : xmlElementType = 4 ; # [doc = " An entity reference.\n\n Objects of this type are an xmlNode. The `children` member\n points to the entity declaration if available."] pub const xmlElementType_XML_ENTITY_REF_NODE : xmlElementType = 5 ; # [doc = " unused"] pub const xmlElementType_XML_ENTITY_NODE : xmlElementType = 6 ; # [doc = " A processing instruction.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_PI_NODE : xmlElementType = 7 ; # [doc = " A comment.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_COMMENT_NODE : xmlElementType = 8 ; # [doc = " A document.\n\n Objects of this type are an xmlDoc."] pub const xmlElementType_XML_DOCUMENT_NODE : xmlElementType = 9 ; # [doc = " unused"] pub const xmlElementType_XML_DOCUMENT_TYPE_NODE : xmlElementType = 10 ; # [doc = " A document fragment.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_DOCUMENT_FRAG_NODE : xmlElementType = 11 ; # [doc = " A notation, unused"] pub const xmlElementType_XML_NOTATION_NODE : xmlElementType = 12 ; # [doc = " An HTML document.\n\n Objects of this type are an xmlDoc."] pub const xmlElementType_XML_HTML_DOCUMENT_NODE : xmlElementType = 13 ; # [doc = " A document type definition.\n\n Objects of this type are an xmlDtd."] pub const xmlElementType_XML_DTD_NODE : xmlElementType = 14 ; # [doc = " An element declaration.\n\n Objects of this type are an xmlElement."] pub const xmlElementType_XML_ELEMENT_DECL : xmlElementType = 15 ; # [doc = " An attribute declaration.\n\n Objects of this type are an xmlAttribute."] pub const xmlElementType_XML_ATTRIBUTE_DECL : xmlElementType = 16 ; # [doc = " An entity declaration.\n\n Objects of this type are an xmlEntity."] pub const xmlElementType_XML_ENTITY_DECL : xmlElementType = 17 ; # [doc = " An XPath namespace node.\n\n Can only be returned by the XPath engine. Objects of this\n type are an xmlNs which has a completely different layout\n than xmlNode. The `next` member contains a pointer to the\n xmlNode element to which the namespace applies.\n\n Nodes of this type must be handled with extreme care to\n avoid type confusion bugs."] pub const xmlElementType_XML_NAMESPACE_DECL : xmlElementType = 18 ; # [doc = " An XInclude start marker.\n\n Objects of this type are an xmlNode. Inserted as preceding\n sibling of XIncluded content."] pub const xmlElementType_XML_XINCLUDE_START : xmlElementType = 19 ; # [doc = " An XInclude end marker.\n\n Objects of this type are an xmlNode. Inserted as following\n sibling of XIncluded content."] pub const xmlElementType_XML_XINCLUDE_END : xmlElementType = 20 ; # [doc = " The different element types carried by an XML tree.\n\n NOTE: This is synchronized with DOM Level 1 values.\n       See http://www.w3.org/TR/REC-DOM-Level-1/\n\n Actually this had diverged a bit, and XML_DTD_NODE is used instead\n of XML_DOCUMENT_TYPE_NODE."] pub type xmlElementType = :: std :: os :: raw :: c_uint ; # [doc = " Notation declaration"] pub type xmlNotation = _xmlNotation ; pub type xmlNotationPtr = * mut xmlNotation ; # [doc = " A DTD Notation definition.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNotation { # [doc = " Notation name"] pub name : * const xmlChar , # [doc = " Public identifier, if any"] pub PublicID : * const xmlChar , # [doc = " System identifier, if any"] pub SystemID : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNotation"] [:: std :: mem :: size_of :: < _xmlNotation > () - 24usize] ; ["Alignment of _xmlNotation"] [:: std :: mem :: align_of :: < _xmlNotation > () - 8usize] ; ["Offset of field: _xmlNotation::name"] [:: std :: mem :: offset_of ! (_xmlNotation , name) - 0usize] ; ["Offset of field: _xmlNotation::PublicID"] [:: std :: mem :: offset_of ! (_xmlNotation , PublicID) - 8usize] ; ["Offset of field: _xmlNotation::SystemID"] [:: std :: mem :: offset_of ! (_xmlNotation , SystemID) - 16usize] ; } ; pub const xmlAttributeType_XML_ATTRIBUTE_CDATA : xmlAttributeType = 1 ; pub const xmlAttributeType_XML_ATTRIBUTE_ID : xmlAttributeType = 2 ; pub const xmlAttributeType_XML_ATTRIBUTE_IDREF : xmlAttributeType = 3 ; pub const xmlAttributeType_XML_ATTRIBUTE_IDREFS : xmlAttributeType = 4 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENTITY : xmlAttributeType = 5 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENTITIES : xmlAttributeType = 6 ; pub const xmlAttributeType_XML_ATTRIBUTE_NMTOKEN : xmlAttributeType = 7 ; pub const xmlAttributeType_XML_ATTRIBUTE_NMTOKENS : xmlAttributeType = 8 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENUMERATION : xmlAttributeType = 9 ; pub const xmlAttributeType_XML_ATTRIBUTE_NOTATION : xmlAttributeType = 10 ; # [doc = " A DTD Attribute type definition."] pub type xmlAttributeType = :: std :: os :: raw :: c_uint ; pub const xmlAttributeDefault_XML_ATTRIBUTE_NONE : xmlAttributeDefault = 1 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_REQUIRED : xmlAttributeDefault = 2 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_IMPLIED : xmlAttributeDefault = 3 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_FIXED : xmlAttributeDefault = 4 ; # [doc = " A DTD Attribute default definition."] pub type xmlAttributeDefault = :: std :: os :: raw :: c_uint ; # [doc = " Enumeration in a DTD"] pub type xmlEnumeration = _xmlEnumeration ; pub type xmlEnumerationPtr = * mut xmlEnumeration ; # [doc = " List structure used when there is an enumeration in DTDs.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlEnumeration { # [doc = " next enumeration"] pub next : * mut _xmlEnumeration , # [doc = " value"] pub name : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlEnumeration"] [:: std :: mem :: size_of :: < _xmlEnumeration > () - 16usize] ; ["Alignment of _xmlEnumeration"] [:: std :: mem :: align_of :: < _xmlEnumeration > () - 8usize] ; ["Offset of field: _xmlEnumeration::next"] [:: std :: mem :: offset_of ! (_xmlEnumeration , next) - 0usize] ; ["Offset of field: _xmlEnumeration::name"] [:: std :: mem :: offset_of ! (_xmlEnumeration , name) - 8usize] ; } ; # [doc = " Attribute declaration"] pub type xmlAttribute = _xmlAttribute ; pub type xmlAttributePtr = * mut xmlAttribute ; # [doc = " An Attribute declaration in a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttribute { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ATTRIBUTE_DECL"] pub type_ : xmlElementType , # [doc = " attribute name"] pub name : * const xmlChar , # [doc = " NULL"] pub children : * mut _xmlNode , # [doc = " NULL"] pub last : * mut _xmlNode , # [doc = " DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " next in hash table"] pub nexth : * mut _xmlAttribute , # [doc = " attribute type"] pub atype : xmlAttributeType , # [doc = " attribute default"] pub def : xmlAttributeDefault , # [doc = " default value"] pub defaultValue : * mut xmlChar , # [doc = " enumeration tree if any"] pub tree : * mut xmlEnumeration , # [doc = " namespace prefix if any"] pub prefix : * const xmlChar , # [doc = " element name"] pub elem : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlAttribute"] [:: std :: mem :: size_of :: < _xmlAttribute > () - 120usize] ; ["Alignment of _xmlAttribute"] [:: std :: mem :: align_of :: < _xmlAttribute > () - 8usize] ; ["Offset of field: _xmlAttribute::_private"] [:: std :: mem :: offset_of ! (_xmlAttribute , _private) - 0usize] ; ["Offset of field: _xmlAttribute::type_"] [:: std :: mem :: offset_of ! (_xmlAttribute , type_) - 8usize] ; ["Offset of field: _xmlAttribute::name"] [:: std :: mem :: offset_of ! (_xmlAttribute , name) - 16usize] ; ["Offset of field: _xmlAttribute::children"] [:: std :: mem :: offset_of ! (_xmlAttribute , children) - 24usize] ; ["Offset of field: _xmlAttribute::last"] [:: std :: mem :: offset_of ! (_xmlAttribute , last) - 32usize] ; ["Offset of field: _xmlAttribute::parent"] [:: std :: mem :: offset_of ! (_xmlAttribute , parent) - 40usize] ; ["Offset of field: _xmlAttribute::next"] [:: std :: mem :: offset_of ! (_xmlAttribute , next) - 48usize] ; ["Offset of field: _xmlAttribute::prev"] [:: std :: mem :: offset_of ! (_xmlAttribute , prev) - 56usize] ; ["Offset of field: _xmlAttribute::doc"] [:: std :: mem :: offset_of ! (_xmlAttribute , doc) - 64usize] ; ["Offset of field: _xmlAttribute::nexth"] [:: std :: mem :: offset_of ! (_xmlAttribute , nexth) - 72usize] ; ["Offset of field: _xmlAttribute::atype"] [:: std :: mem :: offset_of ! (_xmlAttribute , atype) - 80usize] ; ["Offset of field: _xmlAttribute::def"] [:: std :: mem :: offset_of ! (_xmlAttribute , def) - 84usize] ; ["Offset of field: _xmlAttribute::defaultValue"] [:: std :: mem :: offset_of ! (_xmlAttribute , defaultValue) - 88usize] ; ["Offset of field: _xmlAttribute::tree"] [:: std :: mem :: offset_of ! (_xmlAttribute , tree) - 96usize] ; ["Offset of field: _xmlAttribute::prefix"] [:: std :: mem :: offset_of ! (_xmlAttribute , prefix) - 104usize] ; ["Offset of field: _xmlAttribute::elem"] [:: std :: mem :: offset_of ! (_xmlAttribute , elem) - 112usize] ; } ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_PCDATA : xmlElementContentType = 1 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_ELEMENT : xmlElementContentType = 2 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_SEQ : xmlElementContentType = 3 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_OR : xmlElementContentType = 4 ; # [doc = " Possible definitions of element content types."] pub type xmlElementContentType = :: std :: os :: raw :: c_uint ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_ONCE : xmlElementContentOccur = 1 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_OPT : xmlElementContentOccur = 2 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_MULT : xmlElementContentOccur = 3 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_PLUS : xmlElementContentOccur = 4 ; # [doc = " Possible definitions of element content occurrences."] pub type xmlElementContentOccur = :: std :: os :: raw :: c_uint ; # [doc = " Element content in element declarations"] pub type xmlElementContent = _xmlElementContent ; pub type xmlElementContentPtr = * mut xmlElementContent ; # [doc = " An XML Element content as stored after parsing an element definition\n in a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlElementContent { # [doc = " PCDATA, ELEMENT, SEQ or OR"] pub type_ : xmlElementContentType , # [doc = " ONCE, OPT, MULT or PLUS"] pub ocur : xmlElementContentOccur , # [doc = " element name"] pub name : * const xmlChar , # [doc = " first child"] pub c1 : * mut _xmlElementContent , # [doc = " second child"] pub c2 : * mut _xmlElementContent , # [doc = " parent"] pub parent : * mut _xmlElementContent , # [doc = " namespace prefix"] pub prefix : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlElementContent"] [:: std :: mem :: size_of :: < _xmlElementContent > () - 48usize] ; ["Alignment of _xmlElementContent"] [:: std :: mem :: align_of :: < _xmlElementContent > () - 8usize] ; ["Offset of field: _xmlElementContent::type_"] [:: std :: mem :: offset_of ! (_xmlElementContent , type_) - 0usize] ; ["Offset of field: _xmlElementContent::ocur"] [:: std :: mem :: offset_of ! (_xmlElementContent , ocur) - 4usize] ; ["Offset of field: _xmlElementContent::name"] [:: std :: mem :: offset_of ! (_xmlElementContent , name) - 8usize] ; ["Offset of field: _xmlElementContent::c1"] [:: std :: mem :: offset_of ! (_xmlElementContent , c1) - 16usize] ; ["Offset of field: _xmlElementContent::c2"] [:: std :: mem :: offset_of ! (_xmlElementContent , c2) - 24usize] ; ["Offset of field: _xmlElementContent::parent"] [:: std :: mem :: offset_of ! (_xmlElementContent , parent) - 32usize] ; ["Offset of field: _xmlElementContent::prefix"] [:: std :: mem :: offset_of ! (_xmlElementContent , prefix) - 40usize] ; } ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_UNDEFINED : xmlElementTypeVal = 0 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_EMPTY : xmlElementTypeVal = 1 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_ANY : xmlElementTypeVal = 2 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_MIXED : xmlElementTypeVal = 3 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_ELEMENT : xmlElementTypeVal = 4 ; # [doc = " The different possibilities for an element content type."] pub type xmlElementTypeVal = :: std :: os :: raw :: c_uint ; # [doc = " Element declaration"] pub type xmlElement = _xmlElement ; pub type xmlElementPtr = * mut xmlElement ; # [doc = " An XML Element declaration from a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlElement { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ELEMENT_DECL"] pub type_ : xmlElementType , # [doc = " element name"] pub name : * const xmlChar , # [doc = " NULL"] pub children : * mut _xmlNode , # [doc = " NULL"] pub last : * mut _xmlNode , # [doc = " -> DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " element type"] pub etype : xmlElementTypeVal , # [doc = " allowed element content"] pub content : * mut xmlElementContent , # [doc = " list of declared attributes"] pub attributes : * mut xmlAttribute , # [doc = " namespace prefix if any"] pub prefix : * const xmlChar , # [doc = " validating regexp"] pub contModel : * mut xmlRegexp , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlElement"] [:: std :: mem :: size_of :: < _xmlElement > () - 112usize] ; ["Alignment of _xmlElement"] [:: std :: mem :: align_of :: < _xmlElement > () - 8usize] ; ["Offset of field: _xmlElement::_private"] [:: std :: mem :: offset_of ! (_xmlElement , _private) - 0usize] ; ["Offset of field: _xmlElement::type_"] [:: std :: mem :: offset_of ! (_xmlElement , type_) - 8usize] ; ["Offset of field: _xmlElement::name"] [:: std :: mem :: offset_of ! (_xmlElement , name) - 16usize] ; ["Offset of field: _xmlElement::children"] [:: std :: mem :: offset_of ! (_xmlElement , children) - 24usize] ; ["Offset of field: _xmlElement::last"] [:: std :: mem :: offset_of ! (_xmlElement , last) - 32usize] ; ["Offset of field: _xmlElement::parent"] [:: std :: mem :: offset_of ! (_xmlElement , parent) - 40usize] ; ["Offset of field: _xmlElement::next"] [:: std :: mem :: offset_of ! (_xmlElement , next) - 48usize] ; ["Offset of field: _xmlElement::prev"] [:: std :: mem :: offset_of ! (_xmlElement , prev) - 56usize] ; ["Offset of field: _xmlElement::doc"] [:: std :: mem :: offset_of ! (_xmlElement , doc) - 64usize] ; ["Offset of field: _xmlElement::etype"] [:: std :: mem :: offset_of ! (_xmlElement , etype) - 72usize] ; ["Offset of field: _xmlElement::content"] [:: std :: mem :: offset_of ! (_xmlElement , content) - 80usize] ; ["Offset of field: _xmlElement::attributes"] [:: std :: mem :: offset_of ! (_xmlElement , attributes) - 88usize] ; ["Offset of field: _xmlElement::prefix"] [:: std :: mem :: offset_of ! (_xmlElement , prefix) - 96usize] ; ["Offset of field: _xmlElement::contModel"] [:: std :: mem :: offset_of ! (_xmlElement , contModel) - 104usize] ; } ; # [doc = " The different element types carried by an XML tree.\n\n NOTE: This is synchronized with DOM Level 1 values.\n       See http://www.w3.org/TR/REC-DOM-Level-1/\n\n Actually this had diverged a bit, and XML_DTD_NODE is used instead\n of XML_DOCUMENT_TYPE_NODE."] pub use self :: xmlElementType as xmlNsType ; # [doc = " Namespace declaration"] pub type xmlNs = _xmlNs ; pub type xmlNsPtr = * mut xmlNs ; # [doc = " An XML namespace.\n Note that prefix == NULL is valid, it defines the default namespace\n within the subtree (until overridden).\n\n xmlNsType is unified with xmlElementType.\n\n Note that the XPath engine returns XPath namespace nodes as\n xmlNs cast to xmlNode. This is a terrible design decision that\n can easily cause type confusion errors. In this case, the `next`\n member points to the xmlNode element to which the namespace\n node belongs."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNs { # [doc = " next namespace"] pub next : * mut _xmlNs , # [doc = " XML_NAMESPACE_DECL"] pub type_ : xmlNsType , # [doc = " namespace URI"] pub href : * const xmlChar , # [doc = " namespace prefix"] pub prefix : * const xmlChar , # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " normally an xmlDoc"] pub context : * mut _xmlDoc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNs"] [:: std :: mem :: size_of :: < _xmlNs > () - 48usize] ; ["Alignment of _xmlNs"] [:: std :: mem :: align_of :: < _xmlNs > () - 8usize] ; ["Offset of field: _xmlNs::next"] [:: std :: mem :: offset_of ! (_xmlNs , next) - 0usize] ; ["Offset of field: _xmlNs::type_"] [:: std :: mem :: offset_of ! (_xmlNs , type_) - 8usize] ; ["Offset of field: _xmlNs::href"] [:: std :: mem :: offset_of ! (_xmlNs , href) - 16usize] ; ["Offset of field: _xmlNs::prefix"] [:: std :: mem :: offset_of ! (_xmlNs , prefix) - 24usize] ; ["Offset of field: _xmlNs::_private"] [:: std :: mem :: offset_of ! (_xmlNs , _private) - 32usize] ; ["Offset of field: _xmlNs::context"] [:: std :: mem :: offset_of ! (_xmlNs , context) - 40usize] ; } ; # [doc = " Document type definition (DTD)"] pub type xmlDtd = _xmlDtd ; pub type xmlDtdPtr = * mut xmlDtd ; # [doc = " An XML DTD, as defined by <!DOCTYPE ... There is actually one for\n the internal subset and for the external subset.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDtd { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_DTD_NODE"] pub type_ : xmlElementType , # [doc = " name of the DTD"] pub name : * const xmlChar , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlDoc , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " hash table for notations if any"] pub notations : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for elements if any"] pub elements : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for attributes if any"] pub attributes : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for entities if any"] pub entities : * mut :: std :: os :: raw :: c_void , # [doc = " public identifier"] pub ExternalID : * mut xmlChar , # [doc = " system identifier"] pub SystemID : * mut xmlChar , # [doc = " hash table for parameter entities if any"] pub pentities : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDtd"] [:: std :: mem :: size_of :: < _xmlDtd > () - 128usize] ; ["Alignment of _xmlDtd"] [:: std :: mem :: align_of :: < _xmlDtd > () - 8usize] ; ["Offset of field: _xmlDtd::_private"] [:: std :: mem :: offset_of ! (_xmlDtd , _private) - 0usize] ; ["Offset of field: _xmlDtd::type_"] [:: std :: mem :: offset_of ! (_xmlDtd , type_) - 8usize] ; ["Offset of field: _xmlDtd::name"] [:: std :: mem :: offset_of ! (_xmlDtd , name) - 16usize] ; ["Offset of field: _xmlDtd::children"] [:: std :: mem :: offset_of ! (_xmlDtd , children) - 24usize] ; ["Offset of field: _xmlDtd::last"] [:: std :: mem :: offset_of ! (_xmlDtd , last) - 32usize] ; ["Offset of field: _xmlDtd::parent"] [:: std :: mem :: offset_of ! (_xmlDtd , parent) - 40usize] ; ["Offset of field: _xmlDtd::next"] [:: std :: mem :: offset_of ! (_xmlDtd , next) - 48usize] ; ["Offset of field: _xmlDtd::prev"] [:: std :: mem :: offset_of ! (_xmlDtd , prev) - 56usize] ; ["Offset of field: _xmlDtd::doc"] [:: std :: mem :: offset_of ! (_xmlDtd , doc) - 64usize] ; ["Offset of field: _xmlDtd::notations"] [:: std :: mem :: offset_of ! (_xmlDtd , notations) - 72usize] ; ["Offset of field: _xmlDtd::elements"] [:: std :: mem :: offset_of ! (_xmlDtd , elements) - 80usize] ; ["Offset of field: _xmlDtd::attributes"] [:: std :: mem :: offset_of ! (_xmlDtd , attributes) - 88usize] ; ["Offset of field: _xmlDtd::entities"] [:: std :: mem :: offset_of ! (_xmlDtd , entities) - 96usize] ; ["Offset of field: _xmlDtd::ExternalID"] [:: std :: mem :: offset_of ! (_xmlDtd , ExternalID) - 104usize] ; ["Offset of field: _xmlDtd::SystemID"] [:: std :: mem :: offset_of ! (_xmlDtd , SystemID) - 112usize] ; ["Offset of field: _xmlDtd::pentities"] [:: std :: mem :: offset_of ! (_xmlDtd , pentities) - 120usize] ; } ; # [doc = " Attribute of an element"] pub type xmlAttr = _xmlAttr ; pub type xmlAttrPtr = * mut xmlAttr ; # [doc = " An attribute of element."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttr { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ATTRIBUTE_NODE"] pub type_ : xmlElementType , # [doc = " local name"] pub name : * const xmlChar , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlNode , # [doc = " next sibling"] pub next : * mut _xmlAttr , # [doc = " previous sibling"] pub prev : * mut _xmlAttr , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " namespace if any"] pub ns : * mut xmlNs , # [doc = " attribute type if validating"] pub atype : xmlAttributeType , # [doc = " for type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " ID struct if any"] pub id : * mut _xmlID , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlAttr"] [:: std :: mem :: size_of :: < _xmlAttr > () - 104usize] ; ["Alignment of _xmlAttr"] [:: std :: mem :: align_of :: < _xmlAttr > () - 8usize] ; ["Offset of field: _xmlAttr::_private"] [:: std :: mem :: offset_of ! (_xmlAttr , _private) - 0usize] ; ["Offset of field: _xmlAttr::type_"] [:: std :: mem :: offset_of ! (_xmlAttr , type_) - 8usize] ; ["Offset of field: _xmlAttr::name"] [:: std :: mem :: offset_of ! (_xmlAttr , name) - 16usize] ; ["Offset of field: _xmlAttr::children"] [:: std :: mem :: offset_of ! (_xmlAttr , children) - 24usize] ; ["Offset of field: _xmlAttr::last"] [:: std :: mem :: offset_of ! (_xmlAttr , last) - 32usize] ; ["Offset of field: _xmlAttr::parent"] [:: std :: mem :: offset_of ! (_xmlAttr , parent) - 40usize] ; ["Offset of field: _xmlAttr::next"] [:: std :: mem :: offset_of ! (_xmlAttr , next) - 48usize] ; ["Offset of field: _xmlAttr::prev"] [:: std :: mem :: offset_of ! (_xmlAttr , prev) - 56usize] ; ["Offset of field: _xmlAttr::doc"] [:: std :: mem :: offset_of ! (_xmlAttr , doc) - 64usize] ; ["Offset of field: _xmlAttr::ns"] [:: std :: mem :: offset_of ! (_xmlAttr , ns) - 72usize] ; ["Offset of field: _xmlAttr::atype"] [:: std :: mem :: offset_of ! (_xmlAttr , atype) - 80usize] ; ["Offset of field: _xmlAttr::psvi"] [:: std :: mem :: offset_of ! (_xmlAttr , psvi) - 88usize] ; ["Offset of field: _xmlAttr::id"] [:: std :: mem :: offset_of ! (_xmlAttr , id) - 96usize] ; } ; # [doc = " Extra data for ID attributes"] pub type xmlID = _xmlID ; pub type xmlIDPtr = * mut xmlID ; # [doc = " An XML ID instance.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlID { pub next : * mut _xmlID , pub value : * mut xmlChar , pub attr : * mut xmlAttr , pub name : * const xmlChar , pub lineno : :: std :: os :: raw :: c_int , pub doc : * mut _xmlDoc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlID"] [:: std :: mem :: size_of :: < _xmlID > () - 48usize] ; ["Alignment of _xmlID"] [:: std :: mem :: align_of :: < _xmlID > () - 8usize] ; ["Offset of field: _xmlID::next"] [:: std :: mem :: offset_of ! (_xmlID , next) - 0usize] ; ["Offset of field: _xmlID::value"] [:: std :: mem :: offset_of ! (_xmlID , value) - 8usize] ; ["Offset of field: _xmlID::attr"] [:: std :: mem :: offset_of ! (_xmlID , attr) - 16usize] ; ["Offset of field: _xmlID::name"] [:: std :: mem :: offset_of ! (_xmlID , name) - 24usize] ; ["Offset of field: _xmlID::lineno"] [:: std :: mem :: offset_of ! (_xmlID , lineno) - 32usize] ; ["Offset of field: _xmlID::doc"] [:: std :: mem :: offset_of ! (_xmlID , doc) - 40usize] ; } ; # [doc = " @cond ignore"] pub type xmlRef = _xmlRef ; pub type xmlRefPtr = * mut xmlRef ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRef { pub next : * mut _xmlRef , pub value : * const xmlChar , pub attr : * mut xmlAttr , pub name : * const xmlChar , pub lineno : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlRef"] [:: std :: mem :: size_of :: < _xmlRef > () - 40usize] ; ["Alignment of _xmlRef"] [:: std :: mem :: align_of :: < _xmlRef > () - 8usize] ; ["Offset of field: _xmlRef::next"] [:: std :: mem :: offset_of ! (_xmlRef , next) - 0usize] ; ["Offset of field: _xmlRef::value"] [:: std :: mem :: offset_of ! (_xmlRef , value) - 8usize] ; ["Offset of field: _xmlRef::attr"] [:: std :: mem :: offset_of ! (_xmlRef , attr) - 16usize] ; ["Offset of field: _xmlRef::name"] [:: std :: mem :: offset_of ! (_xmlRef , name) - 24usize] ; ["Offset of field: _xmlRef::lineno"] [:: std :: mem :: offset_of ! (_xmlRef , lineno) - 32usize] ; } ; # [doc = " Generic node type in an XML or HTML tree"] pub type xmlNode = _xmlNode ; pub type xmlNodePtr = * mut xmlNode ; # [doc = " Generic node type in an XML or HTML tree.\n\n This is used for\n\n - XML_ELEMENT_NODE\n - XML_TEXT_NODE\n - XML_CDATA_SECTION_NODE\n - XML_ENTITY_REF_NODE\n - XML_PI_NODE\n - XML_COMMENT_NODE\n - XML_DOCUMENT_FRAG_NODE\n - XML_XINCLUDE_START_NODE\n - XML_XINCLUDE_END_NODE\n\n Other node types have a different struct layout than xmlNode,\n see xmlElementType. Except for XML_NAMESPACE_DECL all nodes\n share the following members at the same offset:\n\n - `_private`\n - `type` (also for XML_NAMESPACE_DECL)\n - `name`\n - `children`\n - `last`\n - `parent`\n - `next`\n - `prev`\n - `doc`\n\n xmlNode and xmlAttr also share the `ns` member."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNode { # [doc = " Application data. Often used by language bindings."] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " Type enum, an xmlElementType value"] pub type_ : xmlElementType , # [doc = " Name of the node.\n\n - Local name of elements or attributes. As a corner case,\n   this can also contain Names which are invalid QNames in\n   non-namespace-wellformed documents.\n - Name of entity references\n - Target of processing instructions\n - Fixed string for text and comments\n - Unused otherwise"] pub name : * const xmlChar , # [doc = " First child. Entity declaration of entity references."] pub children : * mut _xmlNode , # [doc = " Last child"] pub last : * mut _xmlNode , # [doc = " Parent node. NULL for documents or unlinked root nodes."] pub parent : * mut _xmlNode , # [doc = " Next sibling"] pub next : * mut _xmlNode , # [doc = " Previous sibling"] pub prev : * mut _xmlNode , # [doc = " Associated document.\n\n Used to access DTDs, entities, ID tables, dictionary or\n other document properties. All children of a node share the\n same document."] pub doc : * mut _xmlDoc , # [doc = " Namespace of element if any"] pub ns : * mut xmlNs , # [doc = " Content of text, comment, PI nodes.\n\n Sort index for elements after calling #xmlXPathOrderDocElems.\n Content of internal entities for entity references."] pub content : * mut xmlChar , # [doc = " First attribute of element.\n\n Also used to store small strings with XML_PARSE_COMPACT."] pub properties : * mut _xmlAttr , # [doc = " First namespace definition of element"] pub nsDef : * mut xmlNs , # [doc = " For type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " Line number"] pub line : :: std :: os :: raw :: c_ushort , # [doc = " Extra data for XPath/XSLT"] pub extra : :: std :: os :: raw :: c_ushort , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNode"] [:: std :: mem :: size_of :: < _xmlNode > () - 120usize] ; ["Alignment of _xmlNode"] [:: std :: mem :: align_of :: < _xmlNode > () - 8usize] ; ["Offset of field: _xmlNode::_private"] [:: std :: mem :: offset_of ! (_xmlNode , _private) - 0usize] ; ["Offset of field: _xmlNode::type_"] [:: std :: mem :: offset_of ! (_xmlNode , type_) - 8usize] ; ["Offset of field: _xmlNode::name"] [:: std :: mem :: offset_of ! (_xmlNode , name) - 16usize] ; ["Offset of field: _xmlNode::children"] [:: std :: mem :: offset_of ! (_xmlNode , children) - 24usize] ; ["Offset of field: _xmlNode::last"] [:: std :: mem :: offset_of ! (_xmlNode , last) - 32usize] ; ["Offset of field: _xmlNode::parent"] [:: std :: mem :: offset_of ! (_xmlNode , parent) - 40usize] ; ["Offset of field: _xmlNode::next"] [:: std :: mem :: offset_of ! (_xmlNode , next) - 48usize] ; ["Offset of field: _xmlNode::prev"] [:: std :: mem :: offset_of ! (_xmlNode , prev) - 56usize] ; ["Offset of field: _xmlNode::doc"] [:: std :: mem :: offset_of ! (_xmlNode , doc) - 64usize] ; ["Offset of field: _xmlNode::ns"] [:: std :: mem :: offset_of ! (_xmlNode , ns) - 72usize] ; ["Offset of field: _xmlNode::content"] [:: std :: mem :: offset_of ! (_xmlNode , content) - 80usize] ; ["Offset of field: _xmlNode::properties"] [:: std :: mem :: offset_of ! (_xmlNode , properties) - 88usize] ; ["Offset of field: _xmlNode::nsDef"] [:: std :: mem :: offset_of ! (_xmlNode , nsDef) - 96usize] ; ["Offset of field: _xmlNode::psvi"] [:: std :: mem :: offset_of ! (_xmlNode , psvi) - 104usize] ; ["Offset of field: _xmlNode::line"] [:: std :: mem :: offset_of ! (_xmlNode , line) - 112usize] ; ["Offset of field: _xmlNode::extra"] [:: std :: mem :: offset_of ! (_xmlNode , extra) - 114usize] ; } ; # [doc = " document is XML well formed"] pub const xmlDocProperties_XML_DOC_WELLFORMED : xmlDocProperties = 1 ; # [doc = " document is Namespace valid"] pub const xmlDocProperties_XML_DOC_NSVALID : xmlDocProperties = 2 ; # [doc = " parsed with old XML-1.0 parser"] pub const xmlDocProperties_XML_DOC_OLD10 : xmlDocProperties = 4 ; # [doc = " DTD validation was successful"] pub const xmlDocProperties_XML_DOC_DTDVALID : xmlDocProperties = 8 ; # [doc = " XInclude substitution was done"] pub const xmlDocProperties_XML_DOC_XINCLUDE : xmlDocProperties = 16 ; # [doc = " Document was built using the API and not by parsing an instance"] pub const xmlDocProperties_XML_DOC_USERBUILT : xmlDocProperties = 32 ; # [doc = " built for internal processing"] pub const xmlDocProperties_XML_DOC_INTERNAL : xmlDocProperties = 64 ; # [doc = " parsed or built HTML document"] pub const xmlDocProperties_XML_DOC_HTML : xmlDocProperties = 128 ; # [doc = " Set of properties of the document as found by the parser.\n Some of them are linked to similarly named xmlParserOption."] pub type xmlDocProperties = :: std :: os :: raw :: c_uint ; # [doc = " XML or HTML document"] pub type xmlDoc = _xmlDoc ; pub type xmlDocPtr = * mut xmlDoc ; # [doc = " An XML or HTML document."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDoc { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_DOCUMENT_NODE or XML_HTML_DOCUMENT_NODE"] pub type_ : xmlElementType , # [doc = " NULL"] pub name : * mut :: std :: os :: raw :: c_char , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlNode , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " reference to itself"] pub doc : * mut _xmlDoc , # [doc = " level of zlib compression"] pub compression : :: std :: os :: raw :: c_int , # [doc = " standalone document (no external refs)\n\n - 1 if standalone=\"yes\",\n - 0 if standalone=\"no\",\n - -1 if there is no XML declaration,\n - -2 if there is an XML declaration, but no\n   standalone attribute was specified"] pub standalone : :: std :: os :: raw :: c_int , # [doc = " internal subset"] pub intSubset : * mut _xmlDtd , # [doc = " external subset"] pub extSubset : * mut _xmlDtd , # [doc = " used to hold the XML namespace if needed"] pub oldNs : * mut _xmlNs , # [doc = " version string from XML declaration"] pub version : * mut xmlChar , # [doc = " actual encoding if any"] pub encoding : * mut xmlChar , # [doc = " hash table for ID attributes if any"] pub ids : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for IDREFs attributes if any"] pub refs : * mut :: std :: os :: raw :: c_void , # [doc = " URI of the document"] pub URL : * mut xmlChar , # [doc = " unused"] pub charset : :: std :: os :: raw :: c_int , # [doc = " dict used to allocate names if any"] pub dict : * mut _xmlDict , # [doc = " for type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " xmlParserOption enum used to parse the document"] pub parseFlags : :: std :: os :: raw :: c_int , # [doc = " xmlDocProperties of the document"] pub properties : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDoc"] [:: std :: mem :: size_of :: < _xmlDoc > () - 176usize] ; ["Alignment of _xmlDoc"] [:: std :: mem :: align_of :: < _xmlDoc > () - 8usize] ; ["Offset of field: _xmlDoc::_private"] [:: std :: mem :: offset_of ! (_xmlDoc , _private) - 0usize] ; ["Offset of field: _xmlDoc::type_"] [:: std :: mem :: offset_of ! (_xmlDoc , type_) - 8usize] ; ["Offset of field: _xmlDoc::name"] [:: std :: mem :: offset_of ! (_xmlDoc , name) - 16usize] ; ["Offset of field: _xmlDoc::children"] [:: std :: mem :: offset_of ! (_xmlDoc , children) - 24usize] ; ["Offset of field: _xmlDoc::last"] [:: std :: mem :: offset_of ! (_xmlDoc , last) - 32usize] ; ["Offset of field: _xmlDoc::parent"] [:: std :: mem :: offset_of ! (_xmlDoc , parent) - 40usize] ; ["Offset of field: _xmlDoc::next"] [:: std :: mem :: offset_of ! (_xmlDoc , next) - 48usize] ; ["Offset of field: _xmlDoc::prev"] [:: std :: mem :: offset_of ! (_xmlDoc , prev) - 56usize] ; ["Offset of field: _xmlDoc::doc"] [:: std :: mem :: offset_of ! (_xmlDoc , doc) - 64usize] ; ["Offset of field: _xmlDoc::compression"] [:: std :: mem :: offset_of ! (_xmlDoc , compression) - 72usize] ; ["Offset of field: _xmlDoc::standalone"] [:: std :: mem :: offset_of ! (_xmlDoc , standalone) - 76usize] ; ["Offset of field: _xmlDoc::intSubset"] [:: std :: mem :: offset_of ! (_xmlDoc , intSubset) - 80usize] ; ["Offset of field: _xmlDoc::extSubset"] [:: std :: mem :: offset_of ! (_xmlDoc , extSubset) - 88usize] ; ["Offset of field: _xmlDoc::oldNs"] [:: std :: mem :: offset_of ! (_xmlDoc , oldNs) - 96usize] ; ["Offset of field: _xmlDoc::version"] [:: std :: mem :: offset_of ! (_xmlDoc , version) - 104usize] ; ["Offset of field: _xmlDoc::encoding"] [:: std :: mem :: offset_of ! (_xmlDoc , encoding) - 112usize] ; ["Offset of field: _xmlDoc::ids"] [:: std :: mem :: offset_of ! (_xmlDoc , ids) - 120usize] ; ["Offset of field: _xmlDoc::refs"] [:: std :: mem :: offset_of ! (_xmlDoc , refs) - 128usize] ; ["Offset of field: _xmlDoc::URL"] [:: std :: mem :: offset_of ! (_xmlDoc , URL) - 136usize] ; ["Offset of field: _xmlDoc::charset"] [:: std :: mem :: offset_of ! (_xmlDoc , charset) - 144usize] ; ["Offset of field: _xmlDoc::dict"] [:: std :: mem :: offset_of ! (_xmlDoc , dict) - 152usize] ; ["Offset of field: _xmlDoc::psvi"] [:: std :: mem :: offset_of ! (_xmlDoc , psvi) - 160usize] ; ["Offset of field: _xmlDoc::parseFlags"] [:: std :: mem :: offset_of ! (_xmlDoc , parseFlags) - 168usize] ; ["Offset of field: _xmlDoc::properties"] [:: std :: mem :: offset_of ! (_xmlDoc , properties) - 172usize] ; } ; # [doc = " Context for DOM wrapper operations"] pub type xmlDOMWrapCtxt = _xmlDOMWrapCtxt ; pub type xmlDOMWrapCtxtPtr = * mut xmlDOMWrapCtxt ; # [doc = " A function called to acquire namespaces (xmlNs) from the wrapper.\n\n @param ctxt  a DOM wrapper context\n @param node  the context node (element or attribute)\n @param nsName  the requested namespace name\n @param nsPrefix  the requested namespace prefix\n @returns an xmlNs or NULL in case of an error."] pub type xmlDOMWrapAcquireNsFunction = :: std :: option :: Option < unsafe extern "C" fn (ctxt : * mut xmlDOMWrapCtxt , node : * mut xmlNode , nsName : * const xmlChar , nsPrefix : * const xmlChar) -> * mut xmlNs > ; # [doc = " Context for DOM wrapper-operations."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDOMWrapCtxt { pub _private : * mut :: std :: os :: raw :: c_void , pub type_ : :: std :: os :: raw :: c_int , pub namespaceMap : * mut :: std :: os :: raw :: c_void , pub getNsForNodeFunc : xmlDOMWrapAcquireNsFunction , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDOMWrapCtxt"] [:: std :: mem :: size_of :: < _xmlDOMWrapCtxt > () - 32usize] ; ["Alignment of _xmlDOMWrapCtxt"] [:: std :: mem :: align_of :: < _xmlDOMWrapCtxt > () - 8usize] ; ["Offset of field: _xmlDOMWrapCtxt::_private"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , _private) - 0usize] ; ["Offset of field: _xmlDOMWrapCtxt::type_"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , type_) - 8usize] ; ["Offset of field: _xmlDOMWrapCtxt::namespaceMap"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , namespaceMap) - 16usize] ; ["Offset of field: _xmlDOMWrapCtxt::getNsForNodeFunc"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , getNsForNodeFunc) - 24usize] ; } ; # [doc = " Signature for the registration callback of a created node\n\n @param node  the current node"] pub type xmlRegisterNodeFunc = :: std :: option :: Option < unsafe extern "C" fn (node : * mut xmlNode) > ; # [doc = " Signature for the deregistration callback of a discarded node\n\n @param node  the current node"] pub type xmlDeregisterNodeFunc = :: std :: option :: Option < unsafe extern "C" fn (node : * mut xmlNode) > ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlRegisterNodeDefaultValue () -> * mut xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn __xmlDeregisterNodeDefaultValue () -> * mut xmlDeregisterNodeFunc ; } unsafe extern "C" { # [doc = " @endcond"] pub fn xmlValidateNCName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateQName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNMToken (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBuildQName (ncname : * const xmlChar , prefix : * const xmlChar , memory : * mut xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSplitQName2 (name : * const xmlChar , prefix : * mut * mut xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSplitQName3 (name : * const xmlChar , len : * mut :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCreateIntSubset (doc : * mut xmlDoc , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlNewDtd (doc : * mut xmlDoc , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlGetIntSubset (doc : * const xmlDoc) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlFreeDtd (cur : * mut xmlDtd) ; } unsafe extern "C" { pub fn xmlNewNs (node : * mut xmlNode , href : * const xmlChar , prefix : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlFreeNs (cur : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlFreeNsList (cur : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlNewDoc (version : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlFreeDoc (cur : * mut xmlDoc) ; } unsafe extern "C" { pub fn xmlNewDocProp (doc : * mut xmlDoc , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewProp (node : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewNsPropEatName (node : * mut xmlNode , ns : * mut xmlNs , name : * mut xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlFreePropList (cur : * mut xmlAttr) ; } unsafe extern "C" { pub fn xmlFreeProp (cur : * mut xmlAttr) ; } unsafe extern "C" { pub fn xmlCopyProp (target : * mut xmlNode , cur : * mut xmlAttr) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlCopyPropList (target : * mut xmlNode , cur : * mut xmlAttr) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlCopyDtd (dtd : * mut xmlDtd) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlCopyDoc (doc : * mut xmlDoc , recursive : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlNewDocNode (doc : * mut xmlDoc , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocNodeEatName (doc : * mut xmlDoc , ns : * mut xmlNs , name : * mut xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewNode (ns : * mut xmlNs , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewNodeEatName (ns : * mut xmlNs , name : * mut xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewChild (parent : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocText (doc : * const xmlDoc , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewText (content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocPI (doc : * mut xmlDoc , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewPI (name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocTextLen (doc : * mut xmlDoc , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewTextLen (content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocComment (doc : * mut xmlDoc , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewComment (content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewCDataBlock (doc : * mut xmlDoc , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewCharRef (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewReference (doc : * const xmlDoc , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCopyNode (node : * mut xmlNode , recursive : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlDocCopyNode (node : * mut xmlNode , doc : * mut xmlDoc , recursive : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlDocCopyNodeList (doc : * mut xmlDoc , node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCopyNodeList (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewTextChild (parent : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocRawNode (doc : * mut xmlDoc , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocFragment (doc : * mut xmlDoc) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlGetLineNo (node : * const xmlNode) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn xmlGetNodePath (node : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlDocGetRootElement (doc : * const xmlDoc) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlGetLastChild (parent : * const xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeIsText (node : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsBlankNode (node : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocSetRootElement (doc : * mut xmlDoc , root : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeSetName (cur : * mut xmlNode , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlAddChild (parent : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddChildList (parent : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlReplaceNode (old : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddPrevSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddNextSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlUnlinkNode (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlTextMerge (first : * mut xmlNode , second : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlTextConcat (node : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFreeNodeList (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlFreeNode (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlSetTreeDoc (tree : * mut xmlNode , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetListDoc (list : * mut xmlNode , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSearchNs (doc : * mut xmlDoc , node : * mut xmlNode , nameSpace : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlSearchNsByHref (doc : * mut xmlDoc , node : * mut xmlNode , href : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlGetNsListSafe (doc : * const xmlDoc , node : * const xmlNode , out : * mut * mut * mut xmlNs) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetNsList (doc : * const xmlDoc , node : * const xmlNode) -> * mut * mut xmlNs ; } unsafe extern "C" { pub fn xmlSetNs (node : * mut xmlNode , ns : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlCopyNamespace (cur : * mut xmlNs) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlCopyNamespaceList (cur : * mut xmlNs) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlSetProp (node : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlSetNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNodeGetAttrValue (node : * const xmlNode , name : * const xmlChar , nsUri : * const xmlChar , out : * mut * mut xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetNoNsProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlGetProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlHasProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlHasNsProp (node : * const xmlNode , name : * const xmlChar , nameSpace : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlGetNsProp (node : * const xmlNode , name : * const xmlChar , nameSpace : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStringGetNodeList (doc : * const xmlDoc , value : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlStringLenGetNodeList (doc : * const xmlDoc , value : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeListGetString (doc : * mut xmlDoc , list : * const xmlNode , inLine : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeListGetRawString (doc : * const xmlDoc , list : * const xmlNode , inLine : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeSetContent (cur : * mut xmlNode , content : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetContentLen (cur : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeAddContent (cur : * mut xmlNode , content : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeAddContentLen (cur : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetContent (cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeBufGetContent (buffer : * mut xmlBuffer , cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufGetNodeContent (buf : * mut xmlBuf , cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetLang (cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeGetSpacePreserve (cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetLang (cur : * mut xmlNode , lang : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetSpacePreserve (cur : * mut xmlNode , val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetBaseSafe (doc : * const xmlDoc , cur : * const xmlNode , baseOut : * mut * mut xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetBase (doc : * const xmlDoc , cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeSetBase (cur : * mut xmlNode , uri : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveProp (cur : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUnsetNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUnsetProp (node : * mut xmlNode , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAttrSerializeTxtContent (buf : * mut xmlBuffer , doc : * mut xmlDoc , attr : * mut xmlAttr , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlReconciliateNs (doc : * mut xmlDoc , tree : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocDumpFormatMemory (cur : * mut xmlDoc , mem : * mut * mut xmlChar , size : * mut :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocDumpMemory (cur : * mut xmlDoc , mem : * mut * mut xmlChar , size : * mut :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocDumpMemoryEnc (out_doc : * mut xmlDoc , doc_txt_ptr : * mut * mut xmlChar , doc_txt_len : * mut :: std :: os :: raw :: c_int , txt_encoding : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlDocDumpFormatMemoryEnc (out_doc : * mut xmlDoc , doc_txt_ptr : * mut * mut xmlChar , doc_txt_len : * mut :: std :: os :: raw :: c_int , txt_encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocFormatDump (f : * mut FILE , cur : * mut xmlDoc , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocDump (f : * mut FILE , cur : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlElemDump (f : * mut FILE , doc : * mut xmlDoc , cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlSaveFile (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFormatFile (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufNodeDump (buf : * mut xmlBuf , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> usize ; } unsafe extern "C" { pub fn xmlNodeDump (buf : * mut xmlBuffer , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFileTo (buf : * mut xmlOutputBuffer , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFormatFileTo (buf : * mut xmlOutputBuffer , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeDumpOutput (buf : * mut xmlOutputBuffer , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , encoding : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlSaveFormatFileEnc (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFileEnc (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsXHTML (systemID : * const xmlChar , publicID : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetDocCompressMode (doc : * const xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetDocCompressMode (doc : * mut xmlDoc , mode : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlGetCompressMode () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetCompressMode (mode : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDOMWrapNewCtxt () -> * mut xmlDOMWrapCtxt ; } unsafe extern "C" { pub fn xmlDOMWrapFreeCtxt (ctxt : * mut xmlDOMWrapCtxt) ; } unsafe extern "C" { pub fn xmlDOMWrapReconcileNamespaces (ctxt : * mut xmlDOMWrapCtxt , elem : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapAdoptNode (ctxt : * mut xmlDOMWrapCtxt , sourceDoc : * mut xmlDoc , node : * mut xmlNode , destDoc : * mut xmlDoc , destParent : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapRemoveNode (ctxt : * mut xmlDOMWrapCtxt , doc : * mut xmlDoc , node : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapCloneNode (ctxt : * mut xmlDOMWrapCtxt , sourceDoc : * mut xmlDoc , node : * mut xmlNode , clonedNode : * mut * mut xmlNode , destDoc : * mut xmlDoc , destParent : * mut xmlNode , deep : :: std :: os :: raw :: c_int , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlChildElementCount (parent : * mut xmlNode) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlNextElementSibling (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlFirstElementChild (parent : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlLastElementChild (parent : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlPreviousElementSibling (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlRegisterNodeDefault (func : xmlRegisterNodeFunc) -> xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn xmlDeregisterNodeDefault (func : xmlDeregisterNodeFunc) -> xmlDeregisterNodeFunc ; } unsafe extern "C" { pub fn xmlThrDefRegisterNodeDefault (func : xmlRegisterNodeFunc) -> xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn xmlThrDefDeregisterNodeDefault (func : xmlDeregisterNodeFunc) -> xmlDeregisterNodeFunc ; } unsafe extern "C" { pub fn xmlSetBufferAllocationScheme (scheme : xmlBufferAllocationScheme) ; } unsafe extern "C" { pub fn xmlGetBufferAllocationScheme () -> xmlBufferAllocationScheme ; } unsafe extern "C" { pub fn xmlBufferCreate () -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferCreateSize (size : usize) -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferCreateStatic (mem : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferResize (buf : * mut xmlBuffer , size : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferFree (buf : * mut xmlBuffer) ; } unsafe extern "C" { pub fn xmlBufferDump (file : * mut FILE , buf : * mut xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferAdd (buf : * mut xmlBuffer , str_ : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferAddHead (buf : * mut xmlBuffer , str_ : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferCat (buf : * mut xmlBuffer , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferCCat (buf : * mut xmlBuffer , str_ : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferShrink (buf : * mut xmlBuffer , len : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferGrow (buf : * mut xmlBuffer , len : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferEmpty (buf : * mut xmlBuffer) ; } unsafe extern "C" { pub fn xmlBufferContent (buf : * const xmlBuffer) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlBufferDetach (buf : * mut xmlBuffer) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufferSetAllocationScheme (buf : * mut xmlBuffer , scheme : xmlBufferAllocationScheme) ; } unsafe extern "C" { pub fn xmlBufferLength (buf : * const xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferWriteCHAR (buf : * mut xmlBuffer , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlBufferWriteChar (buf : * mut xmlBuffer , string : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlBufferWriteQuotedString (buf : * mut xmlBuffer , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlBufContent (buf : * const xmlBuf) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufEnd (buf : * mut xmlBuf) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufUse (buf : * mut xmlBuf) -> usize ; } unsafe extern "C" { pub fn xmlBufShrink (buf : * mut xmlBuf , len : usize) -> usize ; } pub type wchar_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [repr (align (16))] # [derive (Debug , Copy , Clone)] pub struct max_align_t { pub __clang_max_align_nonce1 : :: std :: os :: raw :: c_longlong , pub __bindgen_padding_0 : u64 , pub __clang_max_align_nonce2 : u128 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of max_align_t"] [:: std :: mem :: size_of :: < max_align_t > () - 32usize] ; ["Alignment of max_align_t"] [:: std :: mem :: align_of :: < max_align_t > () - 16usize] ; ["Offset of field: max_align_t::__clang_max_align_nonce1"] [:: std :: mem :: offset_of ! (max_align_t , __clang_max_align_nonce1) - 0usize] ; ["Offset of field: max_align_t::__clang_max_align_nonce2"] [:: std :: mem :: offset_of ! (max_align_t , __clang_max_align_nonce2) - 16usize] ; } ; # [doc = " Dictionary (pool for interned strings)"] pub type xmlDict = _xmlDict ; pub type xmlDictPtr = * mut xmlDict ; unsafe extern "C" { pub fn xmlInitializeDict () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictCreate () -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlDictSetLimit (dict : * mut xmlDict , limit : usize) -> usize ; } unsafe extern "C" { pub fn xmlDictGetUsage (dict : * mut xmlDict) -> usize ; } unsafe extern "C" { pub fn xmlDictCreateSub (sub : * mut xmlDict) -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlDictReference (dict : * mut xmlDict) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictFree (dict : * mut xmlDict) ; } unsafe extern "C" { pub fn xmlDictLookup (dict : * mut xmlDict , name : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictExists (dict : * mut xmlDict , name : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictQLookup (dict : * mut xmlDict , prefix : * const xmlChar , name : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictOwns (dict : * mut xmlDict , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictSize (dict : * mut xmlDict) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictCleanup () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlHashTable { _unused : [u8 ; 0] , } # [doc = " Hash table mapping strings to pointers\n\n Also supports lookup using two or three strings as key."] pub type xmlHashTable = _xmlHashTable ; pub type xmlHashTablePtr = * mut xmlHashTable ; # [doc = " Callback to free data from a hash.\n\n @param payload  the data in the hash\n @param name  the name associated"] pub type xmlHashDeallocator = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback to copy data from a hash.\n\n @param payload  the data in the hash\n @param name  the name associated\n @returns a copy of the data or NULL in case of error."] pub type xmlHashCopier = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback when scanning data in a hash with the simple scanner.\n\n @param payload  the data in the hash\n @param data  extra scanner data\n @param name  the name associated"] pub type xmlHashScanner = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , data : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback when scanning data in a hash with the full scanner.\n\n @param payload  the data in the hash\n @param data  extra scanner data\n @param name  the name associated\n @param name2  the second name associated\n @param name3  the third name associated"] pub type xmlHashScannerFull = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , data : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar) > ; unsafe extern "C" { pub fn xmlHashCreate (size : :: std :: os :: raw :: c_int) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashCreateDict (size : :: std :: os :: raw :: c_int , dict : * mut xmlDict) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashFree (hash : * mut xmlHashTable , dealloc : xmlHashDeallocator) ; } unsafe extern "C" { pub fn xmlHashDefaultDeallocator (entry : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlHashAdd (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAdd2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAdd3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry (hash : * mut xmlHashTable , name : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashLookup (hash : * mut xmlHashTable , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashLookup2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashLookup3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup2 (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar , prefix2 : * const xmlChar , name2 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup3 (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar , prefix2 : * const xmlChar , name2 : * const xmlChar , prefix3 : * const xmlChar , name3 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashCopySafe (hash : * mut xmlHashTable , copy : xmlHashCopier , dealloc : xmlHashDeallocator) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashCopy (hash : * mut xmlHashTable , copy : xmlHashCopier) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashSize (hash : * mut xmlHashTable) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashScan (hash : * mut xmlHashTable , scan : xmlHashScanner , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScan3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , scan : xmlHashScanner , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScanFull (hash : * mut xmlHashTable , scan : xmlHashScannerFull , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScanFull3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , scan : xmlHashScannerFull , data : * mut :: std :: os :: raw :: c_void) ; } # [doc = " Success"] pub const xmlErrorLevel_XML_ERR_NONE : xmlErrorLevel = 0 ; # [doc = " A warning\n\n When parsing XML, warnings are only reported to error\n handlers."] pub const xmlErrorLevel_XML_ERR_WARNING : xmlErrorLevel = 1 ; # [doc = " An error\n\n When parsing XML, this is used for recoverable errors like\n\n - namespace errors\n - validity errors when validating\n - certain undeclared entities\n - ID uniqueness and xml:id errors\n\n Note that some recoverable errors in the sense of the XML\n spec are reported as warnings.\n\n In other contexts, this may be used for unrecoverable\n errors."] pub const xmlErrorLevel_XML_ERR_ERROR : xmlErrorLevel = 2 ; # [doc = " A fatal error\n\n When parsing XML, a \"fatal error\" according to the XML spec.\n This typically means that the document isn't well-formed.\n\n This also includes OOM and I/O errors, resource limit\n exhaustion, unexpected errors from other libraries and\n invalid argument errors."] pub const xmlErrorLevel_XML_ERR_FATAL : xmlErrorLevel = 3 ; # [doc = " Indicates the level of an error"] pub type xmlErrorLevel = :: std :: os :: raw :: c_uint ; # [doc = " Unknown"] pub const xmlErrorDomain_XML_FROM_NONE : xmlErrorDomain = 0 ; # [doc = " The XML parser"] pub const xmlErrorDomain_XML_FROM_PARSER : xmlErrorDomain = 1 ; # [doc = " The tree module (unused)"] pub const xmlErrorDomain_XML_FROM_TREE : xmlErrorDomain = 2 ; # [doc = " The XML Namespace module"] pub const xmlErrorDomain_XML_FROM_NAMESPACE : xmlErrorDomain = 3 ; # [doc = " The XML DTD validation with parser context"] pub const xmlErrorDomain_XML_FROM_DTD : xmlErrorDomain = 4 ; # [doc = " The HTML parser"] pub const xmlErrorDomain_XML_FROM_HTML : xmlErrorDomain = 5 ; # [doc = " The memory allocator (unused)"] pub const xmlErrorDomain_XML_FROM_MEMORY : xmlErrorDomain = 6 ; # [doc = " The serialization code"] pub const xmlErrorDomain_XML_FROM_OUTPUT : xmlErrorDomain = 7 ; # [doc = " The Input/Output stack"] pub const xmlErrorDomain_XML_FROM_IO : xmlErrorDomain = 8 ; # [doc = " The FTP module (unused)"] pub const xmlErrorDomain_XML_FROM_FTP : xmlErrorDomain = 9 ; # [doc = " The HTTP module (unused)"] pub const xmlErrorDomain_XML_FROM_HTTP : xmlErrorDomain = 10 ; # [doc = " The XInclude processing"] pub const xmlErrorDomain_XML_FROM_XINCLUDE : xmlErrorDomain = 11 ; # [doc = " The XPath module"] pub const xmlErrorDomain_XML_FROM_XPATH : xmlErrorDomain = 12 ; # [doc = " The XPointer module"] pub const xmlErrorDomain_XML_FROM_XPOINTER : xmlErrorDomain = 13 ; # [doc = " The regular expressions module"] pub const xmlErrorDomain_XML_FROM_REGEXP : xmlErrorDomain = 14 ; # [doc = " The W3C XML Schemas Datatype module"] pub const xmlErrorDomain_XML_FROM_DATATYPE : xmlErrorDomain = 15 ; # [doc = " The W3C XML Schemas parser module"] pub const xmlErrorDomain_XML_FROM_SCHEMASP : xmlErrorDomain = 16 ; # [doc = " The W3C XML Schemas validation module"] pub const xmlErrorDomain_XML_FROM_SCHEMASV : xmlErrorDomain = 17 ; # [doc = " The Relax-NG parser module"] pub const xmlErrorDomain_XML_FROM_RELAXNGP : xmlErrorDomain = 18 ; # [doc = " The Relax-NG validator module"] pub const xmlErrorDomain_XML_FROM_RELAXNGV : xmlErrorDomain = 19 ; # [doc = " The Catalog module"] pub const xmlErrorDomain_XML_FROM_CATALOG : xmlErrorDomain = 20 ; # [doc = " The Canonicalization module"] pub const xmlErrorDomain_XML_FROM_C14N : xmlErrorDomain = 21 ; # [doc = " The XSLT engine from libxslt (unused)"] pub const xmlErrorDomain_XML_FROM_XSLT : xmlErrorDomain = 22 ; # [doc = " The XML DTD validation with valid context"] pub const xmlErrorDomain_XML_FROM_VALID : xmlErrorDomain = 23 ; # [doc = " The error checking module (unused)"] pub const xmlErrorDomain_XML_FROM_CHECK : xmlErrorDomain = 24 ; # [doc = " The xmlwriter module"] pub const xmlErrorDomain_XML_FROM_WRITER : xmlErrorDomain = 25 ; # [doc = " The dynamically loaded module module (unused)"] pub const xmlErrorDomain_XML_FROM_MODULE : xmlErrorDomain = 26 ; # [doc = " The module handling character conversion (unused)"] pub const xmlErrorDomain_XML_FROM_I18N : xmlErrorDomain = 27 ; # [doc = " The Schematron validator module"] pub const xmlErrorDomain_XML_FROM_SCHEMATRONV : xmlErrorDomain = 28 ; # [doc = " The buffers module (unused)"] pub const xmlErrorDomain_XML_FROM_BUFFER : xmlErrorDomain = 29 ; # [doc = " The URI module (unused)"] pub const xmlErrorDomain_XML_FROM_URI : xmlErrorDomain = 30 ; # [doc = " Indicates where an error may have come from"] pub type xmlErrorDomain = :: std :: os :: raw :: c_uint ; # [doc = " Structured error"] pub type xmlError = _xmlError ; pub type xmlErrorPtr = * mut xmlError ; # [doc = " An object containing information about an error."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlError { # [doc = " An xmlErrorDomain value."] pub domain : :: std :: os :: raw :: c_int , # [doc = " The error code, e.g. an xmlParserErrors."] pub code : :: std :: os :: raw :: c_int , # [doc = " Human-readable error message."] pub message : * mut :: std :: os :: raw :: c_char , # [doc = " Error level."] pub level : xmlErrorLevel , # [doc = " Filename if available"] pub file : * mut :: std :: os :: raw :: c_char , # [doc = " Line number if available"] pub line : :: std :: os :: raw :: c_int , # [doc = " Extra string information."] pub str1 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra string information."] pub str2 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra string information."] pub str3 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra number information."] pub int1 : :: std :: os :: raw :: c_int , # [doc = " Column number if available."] pub int2 : :: std :: os :: raw :: c_int , # [doc = " Parser context if available"] pub ctxt : * mut :: std :: os :: raw :: c_void , # [doc = " Node if available"] pub node : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlError"] [:: std :: mem :: size_of :: < _xmlError > () - 88usize] ; ["Alignment of _xmlError"] [:: std :: mem :: align_of :: < _xmlError > () - 8usize] ; ["Offset of field: _xmlError::domain"] [:: std :: mem :: offset_of ! (_xmlError , domain) - 0usize] ; ["Offset of field: _xmlError::code"] [:: std :: mem :: offset_of ! (_xmlError , code) - 4usize] ; ["Offset of field: _xmlError::message"] [:: std :: mem :: offset_of ! (_xmlError , message) - 8usize] ; ["Offset of field: _xmlError::level"] [:: std :: mem :: offset_of ! (_xmlError , level) - 16usize] ; ["Offset of field: _xmlError::file"] [:: std :: mem :: offset_of ! (_xmlError , file) - 24usize] ; ["Offset of field: _xmlError::line"] [:: std :: mem :: offset_of ! (_xmlError , line) - 32usize] ; ["Offset of field: _xmlError::str1"] [:: std :: mem :: offset_of ! (_xmlError , str1) - 40usize] ; ["Offset of field: _xmlError::str2"] [:: std :: mem :: offset_of ! (_xmlError , str2) - 48usize] ; ["Offset of field: _xmlError::str3"] [:: std :: mem :: offset_of ! (_xmlError , str3) - 56usize] ; ["Offset of field: _xmlError::int1"] [:: std :: mem :: offset_of ! (_xmlError , int1) - 64usize] ; ["Offset of field: _xmlError::int2"] [:: std :: mem :: offset_of ! (_xmlError , int2) - 68usize] ; ["Offset of field: _xmlError::ctxt"] [:: std :: mem :: offset_of ! (_xmlError , ctxt) - 72usize] ; ["Offset of field: _xmlError::node"] [:: std :: mem :: offset_of ! (_xmlError , node) - 80usize] ; } ; # [doc = " Success."] pub const xmlParserErrors_XML_ERR_OK : xmlParserErrors = 0 ; # [doc = " Internal assertion failure."] pub const xmlParserErrors_XML_ERR_INTERNAL_ERROR : xmlParserErrors = 1 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_NO_MEMORY : xmlParserErrors = 2 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_START : xmlParserErrors = 3 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_EMPTY : xmlParserErrors = 4 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_END : xmlParserErrors = 5 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_HEX_CHARREF : xmlParserErrors = 6 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_DEC_CHARREF : xmlParserErrors = 7 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_CHARREF : xmlParserErrors = 8 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_CHAR : xmlParserErrors = 9 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_AT_EOF : xmlParserErrors = 10 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_PROLOG : xmlParserErrors = 11 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_EPILOG : xmlParserErrors = 12 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_DTD : xmlParserErrors = 13 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_AT_EOF : xmlParserErrors = 14 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_PROLOG : xmlParserErrors = 15 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_EPILOG : xmlParserErrors = 16 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_DTD : xmlParserErrors = 17 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_AT_EOF : xmlParserErrors = 18 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_PROLOG : xmlParserErrors = 19 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_EPILOG : xmlParserErrors = 20 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_INT_SUBSET : xmlParserErrors = 21 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_NO_NAME : xmlParserErrors = 22 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_SEMICOL_MISSING : xmlParserErrors = 23 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_NO_NAME : xmlParserErrors = 24 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_SEMICOL_MISSING : xmlParserErrors = 25 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNDECLARED_ENTITY : xmlParserErrors = 26 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_WAR_UNDECLARED_ENTITY : xmlParserErrors = 27 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNPARSED_ENTITY : xmlParserErrors = 28 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITY_IS_EXTERNAL : xmlParserErrors = 29 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITY_IS_PARAMETER : xmlParserErrors = 30 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNKNOWN_ENCODING : xmlParserErrors = 31 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_UNSUPPORTED_ENCODING : xmlParserErrors = 32 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STRING_NOT_STARTED : xmlParserErrors = 33 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STRING_NOT_CLOSED : xmlParserErrors = 34 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NS_DECL_ERROR : xmlParserErrors = 35 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_NOT_STARTED : xmlParserErrors = 36 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_NOT_FINISHED : xmlParserErrors = 37 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LT_IN_ATTRIBUTE : xmlParserErrors = 38 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_NOT_STARTED : xmlParserErrors = 39 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_NOT_FINISHED : xmlParserErrors = 40 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_WITHOUT_VALUE : xmlParserErrors = 41 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_REDEFINED : xmlParserErrors = 42 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LITERAL_NOT_STARTED : xmlParserErrors = 43 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LITERAL_NOT_FINISHED : xmlParserErrors = 44 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_COMMENT_NOT_FINISHED : xmlParserErrors = 45 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PI_NOT_STARTED : xmlParserErrors = 46 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PI_NOT_FINISHED : xmlParserErrors = 47 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_NOT_STARTED : xmlParserErrors = 48 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_NOT_FINISHED : xmlParserErrors = 49 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTLIST_NOT_STARTED : xmlParserErrors = 50 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTLIST_NOT_FINISHED : xmlParserErrors = 51 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MIXED_NOT_STARTED : xmlParserErrors = 52 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MIXED_NOT_FINISHED : xmlParserErrors = 53 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ELEMCONTENT_NOT_STARTED : xmlParserErrors = 54 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ELEMCONTENT_NOT_FINISHED : xmlParserErrors = 55 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_XMLDECL_NOT_STARTED : xmlParserErrors = 56 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_XMLDECL_NOT_FINISHED : xmlParserErrors = 57 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_NOT_STARTED : xmlParserErrors = 58 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_NOT_FINISHED : xmlParserErrors = 59 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXT_SUBSET_NOT_FINISHED : xmlParserErrors = 60 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_DOCTYPE_NOT_FINISHED : xmlParserErrors = 61 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MISPLACED_CDATA_END : xmlParserErrors = 62 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CDATA_NOT_FINISHED : xmlParserErrors = 63 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_RESERVED_XML_NAME : xmlParserErrors = 64 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_SPACE_REQUIRED : xmlParserErrors = 65 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_SEPARATOR_REQUIRED : xmlParserErrors = 66 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NMTOKEN_REQUIRED : xmlParserErrors = 67 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NAME_REQUIRED : xmlParserErrors = 68 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PCDATA_REQUIRED : xmlParserErrors = 69 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_URI_REQUIRED : xmlParserErrors = 70 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PUBID_REQUIRED : xmlParserErrors = 71 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LT_REQUIRED : xmlParserErrors = 72 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_GT_REQUIRED : xmlParserErrors = 73 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LTSLASH_REQUIRED : xmlParserErrors = 74 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EQUAL_REQUIRED : xmlParserErrors = 75 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_TAG_NAME_MISMATCH : xmlParserErrors = 76 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_TAG_NOT_FINISHED : xmlParserErrors = 77 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STANDALONE_VALUE : xmlParserErrors = 78 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENCODING_NAME : xmlParserErrors = 79 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_HYPHEN_IN_COMMENT : xmlParserErrors = 80 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_INVALID_ENCODING : xmlParserErrors = 81 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXT_ENTITY_STANDALONE : xmlParserErrors = 82 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_INVALID : xmlParserErrors = 83 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VALUE_REQUIRED : xmlParserErrors = 84 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOT_WELL_BALANCED : xmlParserErrors = 85 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXTRA_CONTENT : xmlParserErrors = 86 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_CHAR_ERROR : xmlParserErrors = 87 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_PE_INTERNAL : xmlParserErrors = 88 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_LOOP : xmlParserErrors = 89 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_BOUNDARY : xmlParserErrors = 90 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_INVALID_URI : xmlParserErrors = 91 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_URI_FRAGMENT : xmlParserErrors = 92 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_CATALOG_PI : xmlParserErrors = 93 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NO_DTD : xmlParserErrors = 94 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_INVALID_KEYWORD : xmlParserErrors = 95 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VERSION_MISSING : xmlParserErrors = 96 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_UNKNOWN_VERSION : xmlParserErrors = 97 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_LANG_VALUE : xmlParserErrors = 98 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_URI : xmlParserErrors = 99 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_URI_RELATIVE : xmlParserErrors = 100 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MISSING_ENCODING : xmlParserErrors = 101 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_SPACE_VALUE : xmlParserErrors = 102 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOT_STANDALONE : xmlParserErrors = 103 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_PROCESSING : xmlParserErrors = 104 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_PROCESSING : xmlParserErrors = 105 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_COLUMN : xmlParserErrors = 106 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_ENTITY_REDEFINED : xmlParserErrors = 107 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_UNKNOWN_VERSION : xmlParserErrors = 108 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VERSION_MISMATCH : xmlParserErrors = 109 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NAME_TOO_LONG : xmlParserErrors = 110 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_USER_STOP : xmlParserErrors = 111 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_COMMENT_ABRUPTLY_ENDED : xmlParserErrors = 112 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_ENCODING_MISMATCH : xmlParserErrors = 113 ; # [doc = " Internal resource limit like maximum amplification\n factor exceeded."] pub const xmlParserErrors_XML_ERR_RESOURCE_LIMIT : xmlParserErrors = 114 ; # [doc = " Invalid argument."] pub const xmlParserErrors_XML_ERR_ARGUMENT : xmlParserErrors = 115 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_SYSTEM : xmlParserErrors = 116 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_REDECL_PREDEF_ENTITY : xmlParserErrors = 117 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_INT_SUBSET_NOT_FINISHED : xmlParserErrors = 118 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_XML_NAMESPACE : xmlParserErrors = 200 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_UNDEFINED_NAMESPACE : xmlParserErrors = 201 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_QNAME : xmlParserErrors = 202 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_ATTRIBUTE_REDEFINED : xmlParserErrors = 203 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_EMPTY : xmlParserErrors = 204 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_COLON : xmlParserErrors = 205 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_DEFAULT : xmlParserErrors = 500 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_REDEFINED : xmlParserErrors = 501 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_VALUE : xmlParserErrors = 502 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_ERROR : xmlParserErrors = 503 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_MODEL : xmlParserErrors = 504 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_NOT_DETERMINIST : xmlParserErrors = 505 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_DIFFERENT_PREFIX : xmlParserErrors = 506 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_DEFAULT_NAMESPACE : xmlParserErrors = 507 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_NAMESPACE : xmlParserErrors = 508 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_REDEFINED : xmlParserErrors = 509 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_EMPTY_NOTATION : xmlParserErrors = 510 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ENTITY_TYPE : xmlParserErrors = 511 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_FIXED : xmlParserErrors = 512 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_REDEFINED : xmlParserErrors = 513 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_SUBSET : xmlParserErrors = 514 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_INVALID_CHILD : xmlParserErrors = 515 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_INVALID_DEFAULT : xmlParserErrors = 516 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_LOAD_ERROR : xmlParserErrors = 517 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MISSING_ATTRIBUTE : xmlParserErrors = 518 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MIXED_CORRUPT : xmlParserErrors = 519 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MULTIPLE_ID : xmlParserErrors = 520 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_DOC : xmlParserErrors = 521 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_DTD : xmlParserErrors = 522 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_ELEM_NAME : xmlParserErrors = 523 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_PREFIX : xmlParserErrors = 524 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_ROOT : xmlParserErrors = 525 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOTATION_REDEFINED : xmlParserErrors = 526 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOTATION_VALUE : xmlParserErrors = 527 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_EMPTY : xmlParserErrors = 528 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_PCDATA : xmlParserErrors = 529 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_STANDALONE : xmlParserErrors = 530 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ROOT_NAME : xmlParserErrors = 531 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_STANDALONE_WHITE_SPACE : xmlParserErrors = 532 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ATTRIBUTE : xmlParserErrors = 533 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ELEM : xmlParserErrors = 534 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ENTITY : xmlParserErrors = 535 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ID : xmlParserErrors = 536 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_NOTATION : xmlParserErrors = 537 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_STANDALONE_DEFAULTED : xmlParserErrors = 538 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_XMLID_VALUE : xmlParserErrors = 539 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_XMLID_TYPE : xmlParserErrors = 540 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_DUP_TOKEN : xmlParserErrors = 541 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_STRUCURE_ERROR : xmlParserErrors = 800 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_UNKNOWN_TAG : xmlParserErrors = 801 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_INCORRECTLY_OPENED_COMMENT : xmlParserErrors = 802 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ANYNAME_ATTR_ANCESTOR : xmlParserErrors = 1000 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTR_CONFLICT : xmlParserErrors = 1001 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_CHILDREN : xmlParserErrors = 1002 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_CONTENT : xmlParserErrors = 1003 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_EMPTY : xmlParserErrors = 1004 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_NOOP : xmlParserErrors = 1005 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CHOICE_CONTENT : xmlParserErrors = 1006 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CHOICE_EMPTY : xmlParserErrors = 1007 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CREATE_FAILURE : xmlParserErrors = 1008 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DATA_CONTENT : xmlParserErrors = 1009 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEF_CHOICE_AND_INTERLEAVE : xmlParserErrors = 1010 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_CREATE_FAILED : xmlParserErrors = 1011 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_EMPTY : xmlParserErrors = 1012 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_MISSING : xmlParserErrors = 1013 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_NAME_MISSING : xmlParserErrors = 1014 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_CONTENT_EMPTY : xmlParserErrors = 1015 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_CONTENT_ERROR : xmlParserErrors = 1016 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_EMPTY : xmlParserErrors = 1017 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_CONTENT : xmlParserErrors = 1018 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_NAME : xmlParserErrors = 1019 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_NO_CONTENT : xmlParserErrors = 1020 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_TEXT_CONFLICT : xmlParserErrors = 1021 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY : xmlParserErrors = 1022 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_CONSTRUCT : xmlParserErrors = 1023 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_CONTENT : xmlParserErrors = 1024 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_NOT_EMPTY : xmlParserErrors = 1025 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ERROR_TYPE_LIB : xmlParserErrors = 1026 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_EMPTY : xmlParserErrors = 1027 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_MISSING : xmlParserErrors = 1028 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_MULTIPLE : xmlParserErrors = 1029 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_NO_CONTENT : xmlParserErrors = 1030 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNALREF_EMTPY : xmlParserErrors = 1031 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNAL_REF_FAILURE : xmlParserErrors = 1032 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNALREF_RECURSE : xmlParserErrors = 1033 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_FORBIDDEN_ATTRIBUTE : xmlParserErrors = 1034 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_FOREIGN_ELEMENT : xmlParserErrors = 1035 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_CONTENT : xmlParserErrors = 1036 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_EMPTY : xmlParserErrors = 1037 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_MISSING : xmlParserErrors = 1038 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_NO_START : xmlParserErrors = 1039 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GROUP_ATTR_CONFLICT : xmlParserErrors = 1040 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_HREF_ERROR : xmlParserErrors = 1041 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_EMPTY : xmlParserErrors = 1042 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_FAILURE : xmlParserErrors = 1043 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_RECURSE : xmlParserErrors = 1044 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_ADD : xmlParserErrors = 1045 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_CREATE_FAILED : xmlParserErrors = 1046 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_EMPTY : xmlParserErrors = 1047 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_NO_CONTENT : xmlParserErrors = 1048 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_DEFINE_NAME : xmlParserErrors = 1049 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_URI : xmlParserErrors = 1050 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_VALUE : xmlParserErrors = 1051 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_MISSING_HREF : xmlParserErrors = 1052 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NAME_MISSING : xmlParserErrors = 1053 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NEED_COMBINE : xmlParserErrors = 1054 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NOTALLOWED_NOT_EMPTY : xmlParserErrors = 1055 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NSNAME_ATTR_ANCESTOR : xmlParserErrors = 1056 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NSNAME_NO_NS : xmlParserErrors = 1057 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARAM_FORBIDDEN : xmlParserErrors = 1058 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARAM_NAME_MISSING : xmlParserErrors = 1059 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_CREATE_FAILED : xmlParserErrors = 1060 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NAME_INVALID : xmlParserErrors = 1061 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NO_NAME : xmlParserErrors = 1062 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NO_PARENT : xmlParserErrors = 1063 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NOT_EMPTY : xmlParserErrors = 1064 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARSE_ERROR : xmlParserErrors = 1065 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ANYNAME_EXCEPT_ANYNAME : xmlParserErrors = 1066 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ATTR_ATTR : xmlParserErrors = 1067 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ATTR_ELEM : xmlParserErrors = 1068 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ATTR : xmlParserErrors = 1069 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ELEM : xmlParserErrors = 1070 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_EMPTY : xmlParserErrors = 1071 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_GROUP : xmlParserErrors = 1072 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_INTERLEAVE : xmlParserErrors = 1073 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_LIST : xmlParserErrors = 1074 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ONEMORE : xmlParserErrors = 1075 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_REF : xmlParserErrors = 1076 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_TEXT : xmlParserErrors = 1077 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_ATTR : xmlParserErrors = 1078 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_ELEM : xmlParserErrors = 1079 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_INTERLEAVE : xmlParserErrors = 1080 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_LIST : xmlParserErrors = 1081 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_REF : xmlParserErrors = 1082 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_TEXT : xmlParserErrors = 1083 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_NSNAME_EXCEPT_ANYNAME : xmlParserErrors = 1084 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_NSNAME_EXCEPT_NSNAME : xmlParserErrors = 1085 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ONEMORE_GROUP_ATTR : xmlParserErrors = 1086 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ONEMORE_INTERLEAVE_ATTR : xmlParserErrors = 1087 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_ATTR : xmlParserErrors = 1088 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_DATA : xmlParserErrors = 1089 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_EMPTY : xmlParserErrors = 1090 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_GROUP : xmlParserErrors = 1091 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_INTERLEAVE : xmlParserErrors = 1092 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_LIST : xmlParserErrors = 1093 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_ONEMORE : xmlParserErrors = 1094 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_TEXT : xmlParserErrors = 1095 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_VALUE : xmlParserErrors = 1096 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PREFIX_UNDEFINED : xmlParserErrors = 1097 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_CREATE_FAILED : xmlParserErrors = 1098 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_CYCLE : xmlParserErrors = 1099 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NAME_INVALID : xmlParserErrors = 1100 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NO_DEF : xmlParserErrors = 1101 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NO_NAME : xmlParserErrors = 1102 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NOT_EMPTY : xmlParserErrors = 1103 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_CHOICE_AND_INTERLEAVE : xmlParserErrors = 1104 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_CONTENT : xmlParserErrors = 1105 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_EMPTY : xmlParserErrors = 1106 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_MISSING : xmlParserErrors = 1107 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TEXT_EXPECTED : xmlParserErrors = 1108 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TEXT_HAS_CHILD : xmlParserErrors = 1109 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_MISSING : xmlParserErrors = 1110 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_NOT_FOUND : xmlParserErrors = 1111 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_VALUE : xmlParserErrors = 1112 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_ATTRIBUTE : xmlParserErrors = 1113 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_COMBINE : xmlParserErrors = 1114 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_CONSTRUCT : xmlParserErrors = 1115 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_TYPE_LIB : xmlParserErrors = 1116 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_URI_FRAGMENT : xmlParserErrors = 1117 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_URI_NOT_ABSOLUTE : xmlParserErrors = 1118 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_VALUE_EMPTY : xmlParserErrors = 1119 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_VALUE_NO_CONTENT : xmlParserErrors = 1120 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_XMLNS_NAME : xmlParserErrors = 1121 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_XML_NS : xmlParserErrors = 1122 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_EXPRESSION_OK : xmlParserErrors = 1200 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_NUMBER_ERROR : xmlParserErrors = 1201 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNFINISHED_LITERAL_ERROR : xmlParserErrors = 1202 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_START_LITERAL_ERROR : xmlParserErrors = 1203 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_VARIABLE_REF_ERROR : xmlParserErrors = 1204 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNDEF_VARIABLE_ERROR : xmlParserErrors = 1205 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_PREDICATE_ERROR : xmlParserErrors = 1206 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_EXPR_ERROR : xmlParserErrors = 1207 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNCLOSED_ERROR : xmlParserErrors = 1208 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNKNOWN_FUNC_ERROR : xmlParserErrors = 1209 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_OPERAND : xmlParserErrors = 1210 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_TYPE : xmlParserErrors = 1211 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_ARITY : xmlParserErrors = 1212 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CTXT_SIZE : xmlParserErrors = 1213 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CTXT_POSITION : xmlParserErrors = 1214 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_MEMORY_ERROR : xmlParserErrors = 1215 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_SYNTAX_ERROR : xmlParserErrors = 1216 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_RESOURCE_ERROR : xmlParserErrors = 1217 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_SUB_RESOURCE_ERROR : xmlParserErrors = 1218 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNDEF_PREFIX_ERROR : xmlParserErrors = 1219 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_ENCODING_ERROR : xmlParserErrors = 1220 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CHAR_ERROR : xmlParserErrors = 1221 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_INVALID_HEX : xmlParserErrors = 1300 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_INVALID_DEC : xmlParserErrors = 1301 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_UNTERMINATED_ENTITY : xmlParserErrors = 1302 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_NOT_UTF8 : xmlParserErrors = 1303 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_NOT_UTF8 : xmlParserErrors = 1400 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_CHAR_INVALID : xmlParserErrors = 1401 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_NO_DOCTYPE : xmlParserErrors = 1402 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_UNKNOWN_ENCODING : xmlParserErrors = 1403 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_REGEXP_COMPILE_ERROR : xmlParserErrors = 1450 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_UNKNOWN : xmlParserErrors = 1500 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EACCES : xmlParserErrors = 1501 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EAGAIN : xmlParserErrors = 1502 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBADF : xmlParserErrors = 1503 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBADMSG : xmlParserErrors = 1504 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBUSY : xmlParserErrors = 1505 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ECANCELED : xmlParserErrors = 1506 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ECHILD : xmlParserErrors = 1507 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EDEADLK : xmlParserErrors = 1508 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EDOM : xmlParserErrors = 1509 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EEXIST : xmlParserErrors = 1510 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EFAULT : xmlParserErrors = 1511 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EFBIG : xmlParserErrors = 1512 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINPROGRESS : xmlParserErrors = 1513 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINTR : xmlParserErrors = 1514 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINVAL : xmlParserErrors = 1515 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EIO : xmlParserErrors = 1516 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EISDIR : xmlParserErrors = 1517 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMFILE : xmlParserErrors = 1518 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMLINK : xmlParserErrors = 1519 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMSGSIZE : xmlParserErrors = 1520 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENAMETOOLONG : xmlParserErrors = 1521 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENFILE : xmlParserErrors = 1522 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENODEV : xmlParserErrors = 1523 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOENT : xmlParserErrors = 1524 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOEXEC : xmlParserErrors = 1525 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOLCK : xmlParserErrors = 1526 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOMEM : xmlParserErrors = 1527 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOSPC : xmlParserErrors = 1528 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOSYS : xmlParserErrors = 1529 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTDIR : xmlParserErrors = 1530 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTEMPTY : xmlParserErrors = 1531 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTSUP : xmlParserErrors = 1532 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTTY : xmlParserErrors = 1533 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENXIO : xmlParserErrors = 1534 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EPERM : xmlParserErrors = 1535 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EPIPE : xmlParserErrors = 1536 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ERANGE : xmlParserErrors = 1537 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EROFS : xmlParserErrors = 1538 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ESPIPE : xmlParserErrors = 1539 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ESRCH : xmlParserErrors = 1540 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ETIMEDOUT : xmlParserErrors = 1541 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EXDEV : xmlParserErrors = 1542 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_NETWORK_ATTEMPT : xmlParserErrors = 1543 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENCODER : xmlParserErrors = 1544 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_FLUSH : xmlParserErrors = 1545 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_WRITE : xmlParserErrors = 1546 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_NO_INPUT : xmlParserErrors = 1547 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_BUFFER_FULL : xmlParserErrors = 1548 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_LOAD_ERROR : xmlParserErrors = 1549 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTSOCK : xmlParserErrors = 1550 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EISCONN : xmlParserErrors = 1551 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ECONNREFUSED : xmlParserErrors = 1552 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENETUNREACH : xmlParserErrors = 1553 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EADDRINUSE : xmlParserErrors = 1554 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EALREADY : xmlParserErrors = 1555 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EAFNOSUPPORT : xmlParserErrors = 1556 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_UNSUPPORTED_PROTOCOL : xmlParserErrors = 1557 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_RECURSION : xmlParserErrors = 1600 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_PARSE_VALUE : xmlParserErrors = 1601 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_ENTITY_DEF_MISMATCH : xmlParserErrors = 1602 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_NO_HREF : xmlParserErrors = 1603 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_NO_FALLBACK : xmlParserErrors = 1604 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_HREF_URI : xmlParserErrors = 1605 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_TEXT_FRAGMENT : xmlParserErrors = 1606 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_TEXT_DOCUMENT : xmlParserErrors = 1607 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_INVALID_CHAR : xmlParserErrors = 1608 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_BUILD_FAILED : xmlParserErrors = 1609 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_UNKNOWN_ENCODING : xmlParserErrors = 1610 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_MULTIPLE_ROOT : xmlParserErrors = 1611 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_XPTR_FAILED : xmlParserErrors = 1612 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_XPTR_RESULT : xmlParserErrors = 1613 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_INCLUDE_IN_INCLUDE : xmlParserErrors = 1614 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FALLBACKS_IN_INCLUDE : xmlParserErrors = 1615 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FALLBACK_NOT_IN_INCLUDE : xmlParserErrors = 1616 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_DEPRECATED_NS : xmlParserErrors = 1617 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FRAGMENT_ID : xmlParserErrors = 1618 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_MISSING_ATTR : xmlParserErrors = 1650 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_ENTRY_BROKEN : xmlParserErrors = 1651 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_PREFER_VALUE : xmlParserErrors = 1652 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_NOT_CATALOG : xmlParserErrors = 1653 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_RECURSION : xmlParserErrors = 1654 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_PREFIX_UNDEFINED : xmlParserErrors = 1700 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTRFORMDEFAULT_VALUE : xmlParserErrors = 1701 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTRGRP_NONAME_NOREF : xmlParserErrors = 1702 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTR_NONAME_NOREF : xmlParserErrors = 1703 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COMPLEXTYPE_NONAME_NOREF : xmlParserErrors = 1704 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEMFORMDEFAULT_VALUE : xmlParserErrors = 1705 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEM_NONAME_NOREF : xmlParserErrors = 1706 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_EXTENSION_NO_BASE : xmlParserErrors = 1707 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FACET_NO_VALUE : xmlParserErrors = 1708 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_BUILD_IMPORT : xmlParserErrors = 1709 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_GROUP_NONAME_NOREF : xmlParserErrors = 1710 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_NAMESPACE_NOT_URI : xmlParserErrors = 1711 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_REDEFINE_NSNAME : xmlParserErrors = 1712 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_SCHEMA_NOT_URI : xmlParserErrors = 1713 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_BOOLEAN : xmlParserErrors = 1714 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ENUM : xmlParserErrors = 1715 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_FACET : xmlParserErrors = 1716 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_FACET_VALUE : xmlParserErrors = 1717 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_MAXOCCURS : xmlParserErrors = 1718 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_MINOCCURS : xmlParserErrors = 1719 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_REF_AND_SUBTYPE : xmlParserErrors = 1720 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_WHITE_SPACE : xmlParserErrors = 1721 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOATTR_NOREF : xmlParserErrors = 1722 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTATION_NO_NAME : xmlParserErrors = 1723 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTYPE_NOREF : xmlParserErrors = 1724 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REF_AND_SUBTYPE : xmlParserErrors = 1725 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_RESTRICTION_NONAME_NOREF : xmlParserErrors = 1726 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SIMPLETYPE_NONAME : xmlParserErrors = 1727 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_TYPE_AND_SUBTYPE : xmlParserErrors = 1728 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ALL_CHILD : xmlParserErrors = 1729 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ANYATTRIBUTE_CHILD : xmlParserErrors = 1730 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTR_CHILD : xmlParserErrors = 1731 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTRGRP_CHILD : xmlParserErrors = 1732 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTRIBUTE_GROUP : xmlParserErrors = 1733 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_BASE_TYPE : xmlParserErrors = 1734 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_CHOICE_CHILD : xmlParserErrors = 1735 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_COMPLEXCONTENT_CHILD : xmlParserErrors = 1736 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_COMPLEXTYPE_CHILD : xmlParserErrors = 1737 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ELEM_CHILD : xmlParserErrors = 1738 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_EXTENSION_CHILD : xmlParserErrors = 1739 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_FACET_CHILD : xmlParserErrors = 1740 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_FACET_TYPE : xmlParserErrors = 1741 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_GROUP_CHILD : xmlParserErrors = 1742 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_IMPORT_CHILD : xmlParserErrors = 1743 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_LIST_CHILD : xmlParserErrors = 1744 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_NOTATION_CHILD : xmlParserErrors = 1745 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_PROCESSCONTENT_CHILD : xmlParserErrors = 1746 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_REF : xmlParserErrors = 1747 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_RESTRICTION_CHILD : xmlParserErrors = 1748 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SCHEMAS_CHILD : xmlParserErrors = 1749 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SEQUENCE_CHILD : xmlParserErrors = 1750 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SIMPLECONTENT_CHILD : xmlParserErrors = 1751 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SIMPLETYPE_CHILD : xmlParserErrors = 1752 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_TYPE : xmlParserErrors = 1753 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_UNION_CHILD : xmlParserErrors = 1754 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEM_DEFAULT_FIXED : xmlParserErrors = 1755 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REGEXP_INVALID : xmlParserErrors = 1756 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_LOAD : xmlParserErrors = 1757 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTHING_TO_PARSE : xmlParserErrors = 1758 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOROOT : xmlParserErrors = 1759 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_GROUP : xmlParserErrors = 1760 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_TYPE : xmlParserErrors = 1761 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ELEMENT : xmlParserErrors = 1762 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ATTRGROUP : xmlParserErrors = 1763 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ATTR : xmlParserErrors = 1764 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_NOTATION : xmlParserErrors = 1765 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_PARSE : xmlParserErrors = 1766 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_PREFIX : xmlParserErrors = 1767 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DEF_AND_PREFIX : xmlParserErrors = 1768 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_INCLUDE_CHILD : xmlParserErrors = 1769 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INCLUDE_SCHEMA_NOT_URI : xmlParserErrors = 1770 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INCLUDE_SCHEMA_NO_URI : xmlParserErrors = 1771 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOT_SCHEMA : xmlParserErrors = 1772 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_MEMBER_TYPE : xmlParserErrors = 1773 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_USE : xmlParserErrors = 1774 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_RECURSIVE : xmlParserErrors = 1775 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPE : xmlParserErrors = 1776 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_COMBINATION : xmlParserErrors = 1777 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_INLINE_COMBINATION : xmlParserErrors = 1778 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MISSING_SIMPLETYPE_CHILD : xmlParserErrors = 1779 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_NAME : xmlParserErrors = 1780 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REF_AND_CONTENT : xmlParserErrors = 1781 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_1 : xmlParserErrors = 1782 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_2 : xmlParserErrors = 1783 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_3 : xmlParserErrors = 1784 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_4 : xmlParserErrors = 1785 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_5 : xmlParserErrors = 1786 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_1 : xmlParserErrors = 1787 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_1 : xmlParserErrors = 1788 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_2 : xmlParserErrors = 1789 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_2 : xmlParserErrors = 1790 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_3 : xmlParserErrors = 1791 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WILDCARD_INVALID_NS_MEMBER : xmlParserErrors = 1792 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INTERSECTION_NOT_EXPRESSIBLE : xmlParserErrors = 1793 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNION_NOT_EXPRESSIBLE : xmlParserErrors = 1794 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_3_1 : xmlParserErrors = 1795 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_3_2 : xmlParserErrors = 1796 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_1 : xmlParserErrors = 1797 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_2 : xmlParserErrors = 1798 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_3 : xmlParserErrors = 1799 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_3 : xmlParserErrors = 1800 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOROOT : xmlParserErrors = 1801 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_UNDECLAREDELEM : xmlParserErrors = 1802 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTTOPLEVEL : xmlParserErrors = 1803 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_MISSING : xmlParserErrors = 1804 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_WRONGELEM : xmlParserErrors = 1805 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTYPE : xmlParserErrors = 1806 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOROLLBACK : xmlParserErrors = 1807 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ISABSTRACT : xmlParserErrors = 1808 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTEMPTY : xmlParserErrors = 1809 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ELEMCONT : xmlParserErrors = 1810 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_HAVEDEFAULT : xmlParserErrors = 1811 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTNILLABLE : xmlParserErrors = 1812 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_EXTRACONTENT : xmlParserErrors = 1813 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INVALIDATTR : xmlParserErrors = 1814 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INVALIDELEM : xmlParserErrors = 1815 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTDETERMINIST : xmlParserErrors = 1816 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CONSTRUCT : xmlParserErrors = 1817 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INTERNAL : xmlParserErrors = 1818 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTSIMPLE : xmlParserErrors = 1819 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ATTRUNKNOWN : xmlParserErrors = 1820 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ATTRINVALID : xmlParserErrors = 1821 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_VALUE : xmlParserErrors = 1822 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_FACET : xmlParserErrors = 1823 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_1 : xmlParserErrors = 1824 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_2 : xmlParserErrors = 1825 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_3 : xmlParserErrors = 1826 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_3_1_1 : xmlParserErrors = 1827 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_3_1_2 : xmlParserErrors = 1828 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_FACET_VALID : xmlParserErrors = 1829 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_LENGTH_VALID : xmlParserErrors = 1830 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MINLENGTH_VALID : xmlParserErrors = 1831 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXLENGTH_VALID : xmlParserErrors = 1832 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MININCLUSIVE_VALID : xmlParserErrors = 1833 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXINCLUSIVE_VALID : xmlParserErrors = 1834 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MINEXCLUSIVE_VALID : xmlParserErrors = 1835 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXEXCLUSIVE_VALID : xmlParserErrors = 1836 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TOTALDIGITS_VALID : xmlParserErrors = 1837 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_FRACTIONDIGITS_VALID : xmlParserErrors = 1838 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_PATTERN_VALID : xmlParserErrors = 1839 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ENUMERATION_VALID : xmlParserErrors = 1840 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_1 : xmlParserErrors = 1841 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_2 : xmlParserErrors = 1842 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_3 : xmlParserErrors = 1843 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_4 : xmlParserErrors = 1844 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_1 : xmlParserErrors = 1845 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_2 : xmlParserErrors = 1846 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_1 : xmlParserErrors = 1847 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_2_1 : xmlParserErrors = 1848 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_2_2 : xmlParserErrors = 1849 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_1 : xmlParserErrors = 1850 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_2 : xmlParserErrors = 1851 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_3 : xmlParserErrors = 1852 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_1_1 : xmlParserErrors = 1853 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_1_2 : xmlParserErrors = 1854 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_1 : xmlParserErrors = 1855 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_1 : xmlParserErrors = 1856 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_2_1 : xmlParserErrors = 1857 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_2_2 : xmlParserErrors = 1858 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_6 : xmlParserErrors = 1859 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_7 : xmlParserErrors = 1860 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_1 : xmlParserErrors = 1861 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_2 : xmlParserErrors = 1862 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_3 : xmlParserErrors = 1863 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_4 : xmlParserErrors = 1864 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_1 : xmlParserErrors = 1865 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_1 : xmlParserErrors = 1866 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_2 : xmlParserErrors = 1867 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_4 : xmlParserErrors = 1868 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_5_1 : xmlParserErrors = 1869 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_5_2 : xmlParserErrors = 1870 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ELEMENT_CONTENT : xmlParserErrors = 1871 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_DOCUMENT_ELEMENT_MISSING : xmlParserErrors = 1872 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_1 : xmlParserErrors = 1873 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_AU : xmlParserErrors = 1874 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_1 : xmlParserErrors = 1875 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_2 : xmlParserErrors = 1876 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_IDC : xmlParserErrors = 1877 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_WILDCARD : xmlParserErrors = 1878 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_MISC : xmlParserErrors = 1879 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_UNKNOWN_SCHEME : xmlParserErrors = 1900 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_CHILDSEQ_START : xmlParserErrors = 1901 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_EVAL_FAILED : xmlParserErrors = 1902 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_EXTRA_OBJECTS : xmlParserErrors = 1903 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_CREATE_CTXT : xmlParserErrors = 1950 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_REQUIRES_UTF8 : xmlParserErrors = 1951 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_CREATE_STACK : xmlParserErrors = 1952 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_INVALID_NODE : xmlParserErrors = 1953 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_UNKNOW_NODE : xmlParserErrors = 1954 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_RELATIVE_NAMESPACE : xmlParserErrors = 1955 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_PASV_ANSWER : xmlParserErrors = 2000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_EPSV_ANSWER : xmlParserErrors = 2001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_ACCNT : xmlParserErrors = 2002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_URL_SYNTAX : xmlParserErrors = 2003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_URL_SYNTAX : xmlParserErrors = 2020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_USE_IP : xmlParserErrors = 2021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_UNKNOWN_HOST : xmlParserErrors = 2022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_1 : xmlParserErrors = 3000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_2 : xmlParserErrors = 3001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_3 : xmlParserErrors = 3002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_4 : xmlParserErrors = 3003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_RESOLVE : xmlParserErrors = 3004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE : xmlParserErrors = 3005 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE : xmlParserErrors = 3006 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPES : xmlParserErrors = 3007 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_1 : xmlParserErrors = 3008 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_2 : xmlParserErrors = 3009 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_3 : xmlParserErrors = 3010 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_1 : xmlParserErrors = 3011 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_2 : xmlParserErrors = 3012 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_3_1 : xmlParserErrors = 3013 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_3_2 : xmlParserErrors = 3014 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_1 : xmlParserErrors = 3015 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_1 : xmlParserErrors = 3016 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_2 : xmlParserErrors = 3017 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_1 : xmlParserErrors = 3018 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_2 : xmlParserErrors = 3019 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_3 : xmlParserErrors = 3020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_4 : xmlParserErrors = 3021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_5 : xmlParserErrors = 3022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_1 : xmlParserErrors = 3023 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1 : xmlParserErrors = 3024 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1_2 : xmlParserErrors = 3025 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_2 : xmlParserErrors = 3026 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_1 : xmlParserErrors = 3027 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_3 : xmlParserErrors = 3028 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_4 : xmlParserErrors = 3029 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_5 : xmlParserErrors = 3030 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_DERIVED_OK_2_1 : xmlParserErrors = 3031 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_DERIVED_OK_2_2 : xmlParserErrors = 3032 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ELEM_NOT_ALLOWED : xmlParserErrors = 3033 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ELEM_MISSING : xmlParserErrors = 3034 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_NOT_ALLOWED : xmlParserErrors = 3035 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_MISSING : xmlParserErrors = 3036 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_INVALID_VALUE : xmlParserErrors = 3037 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_1 : xmlParserErrors = 3038 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_2_1 : xmlParserErrors = 3039 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_2_2 : xmlParserErrors = 3040 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_3 : xmlParserErrors = 3041 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_1 : xmlParserErrors = 3042 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_2_1 : xmlParserErrors = 3043 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_2_2 : xmlParserErrors = 3044 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_2 : xmlParserErrors = 3045 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_3 : xmlParserErrors = 3046 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_4 : xmlParserErrors = 3047 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_5 : xmlParserErrors = 3048 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_6 : xmlParserErrors = 3049 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_INCLUDE : xmlParserErrors = 3050 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_1 : xmlParserErrors = 3051 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_2 : xmlParserErrors = 3052 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_3_1 : xmlParserErrors = 3053 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_3_2 : xmlParserErrors = 3054 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_4 : xmlParserErrors = 3055 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NO_XMLNS : xmlParserErrors = 3056 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NO_XSI : xmlParserErrors = 3057 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_1 : xmlParserErrors = 3058 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_1 : xmlParserErrors = 3059 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_2_1 : xmlParserErrors = 3060 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_2_2 : xmlParserErrors = 3061 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CVC_SIMPLE_TYPE : xmlParserErrors = 3062 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_1 : xmlParserErrors = 3063 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_1_1 : xmlParserErrors = 3064 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_1_2 : xmlParserErrors = 3065 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2 : xmlParserErrors = 3066 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2_1 : xmlParserErrors = 3067 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2_2 : xmlParserErrors = 3068 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INTERNAL : xmlParserErrors = 3069 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOT_DETERMINISTIC : xmlParserErrors = 3070 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_1 : xmlParserErrors = 3071 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_2 : xmlParserErrors = 3072 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_3 : xmlParserErrors = 3073 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MG_PROPS_CORRECT_1 : xmlParserErrors = 3074 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MG_PROPS_CORRECT_2 : xmlParserErrors = 3075 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_CT_1 : xmlParserErrors = 3076 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_3 : xmlParserErrors = 3077 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AU_PROPS_CORRECT_2 : xmlParserErrors = 3078 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_A_PROPS_CORRECT_2 : xmlParserErrors = 3079 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_C_PROPS_CORRECT : xmlParserErrors = 3080 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_REDEFINE : xmlParserErrors = 3081 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT : xmlParserErrors = 3082 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_SKIP_SCHEMA : xmlParserErrors = 3083 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_UNLOCATED_SCHEMA : xmlParserErrors = 3084 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_ATTR_REDECL_PROH : xmlParserErrors = 3085 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_ATTR_POINTLESS_PROH : xmlParserErrors = 3086 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AG_PROPS_CORRECT : xmlParserErrors = 3087 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_2 : xmlParserErrors = 3088 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AU_PROPS_CORRECT : xmlParserErrors = 3089 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_A_PROPS_CORRECT_3 : xmlParserErrors = 3090 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ALL_LIMITED : xmlParserErrors = 3091 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMATRONV_ASSERT : xmlParserErrors = 4000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMATRONV_REPORT : xmlParserErrors = 4001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_MODULE_OPEN : xmlParserErrors = 4900 ; # [doc = " File not found."] pub const xmlParserErrors_XML_MODULE_CLOSE : xmlParserErrors = 4901 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ELEMENT : xmlParserErrors = 5000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ATTRIBUTE : xmlParserErrors = 5001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_TEXT : xmlParserErrors = 5002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_CDATA : xmlParserErrors = 5003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ENTITYREF : xmlParserErrors = 5004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ENTITY : xmlParserErrors = 5005 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_PI : xmlParserErrors = 5006 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_COMMENT : xmlParserErrors = 5007 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_DOCTYPE : xmlParserErrors = 5008 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_FRAGMENT : xmlParserErrors = 5009 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_NOTATION : xmlParserErrors = 5010 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_UNKNOWN_NODE : xmlParserErrors = 5011 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_ENTITY_TYPE : xmlParserErrors = 5012 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_PARENT : xmlParserErrors = 5013 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_DOC : xmlParserErrors = 5014 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_NAME : xmlParserErrors = 5015 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_ELEM : xmlParserErrors = 5016 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_DOC : xmlParserErrors = 5017 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_PREV : xmlParserErrors = 5018 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_PREV : xmlParserErrors = 5019 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_NEXT : xmlParserErrors = 5020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_NEXT : xmlParserErrors = 5021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_DTD : xmlParserErrors = 5022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ATTR : xmlParserErrors = 5023 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ATTR_DECL : xmlParserErrors = 5024 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ELEM_DECL : xmlParserErrors = 5025 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ENTITY_DECL : xmlParserErrors = 5026 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_NS_DECL : xmlParserErrors = 5027 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_HREF : xmlParserErrors = 5028 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_PARENT : xmlParserErrors = 5029 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NS_SCOPE : xmlParserErrors = 5030 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NS_ANCESTOR : xmlParserErrors = 5031 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_UTF8 : xmlParserErrors = 5032 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_DICT : xmlParserErrors = 5033 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_NCNAME : xmlParserErrors = 5034 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_OUTSIDE_DICT : xmlParserErrors = 5035 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_NAME : xmlParserErrors = 5036 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NAME_NOT_NULL : xmlParserErrors = 5037 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_NAME : xmlParserErrors = 6000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_HANDLER : xmlParserErrors = 6001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_EXCESS_HANDLER : xmlParserErrors = 6002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_CONV_FAILED : xmlParserErrors = 6003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_OUTPUT : xmlParserErrors = 6004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_BUF_OVERFLOW : xmlParserErrors = 7000 ; # [doc = " Error codes. Note that only some codes are documented."] pub type xmlParserErrors = :: std :: os :: raw :: c_uint ; # [doc = " Generic error callback.\n\n @deprecated in favor of structured errors.\n @param ctx  user data\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlGenericErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Structured error callback receiving an xmlError.\n\n @param userData  user provided data for the error callback\n @param error  the error being raised"] pub type xmlStructuredErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (userData : * mut :: std :: os :: raw :: c_void , error : * const xmlError) > ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlLastError () -> * const xmlError ; } unsafe extern "C" { pub fn __xmlGenericError () -> * mut xmlGenericErrorFunc ; } unsafe extern "C" { pub fn __xmlGenericErrorContext () -> * mut * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn __xmlStructuredError () -> * mut xmlStructuredErrorFunc ; } unsafe extern "C" { pub fn __xmlStructuredErrorContext () -> * mut * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlSetGenericErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlGenericErrorFunc) ; } unsafe extern "C" { pub fn xmlSetStructuredErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlStructuredErrorFunc) ; } unsafe extern "C" { pub fn xmlThrDefSetGenericErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlGenericErrorFunc) ; } unsafe extern "C" { pub fn xmlThrDefSetStructuredErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlStructuredErrorFunc) ; } unsafe extern "C" { pub fn xmlParserError (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserWarning (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserValidityError (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserValidityWarning (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserPrintFileInfo (input : * mut _xmlParserInput) ; } unsafe extern "C" { pub fn xmlParserPrintFileContext (input : * mut _xmlParserInput) ; } unsafe extern "C" { pub fn xmlFormatError (err : * const xmlError , channel : xmlGenericErrorFunc , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlGetLastError () -> * const xmlError ; } unsafe extern "C" { pub fn xmlResetLastError () ; } unsafe extern "C" { pub fn xmlCtxtGetLastError (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlError ; } unsafe extern "C" { pub fn xmlCtxtResetLastError (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlResetError (err : * mut xmlError) ; } unsafe extern "C" { pub fn xmlCopyError (from : * const xmlError , to : * mut xmlError) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlLink { _unused : [u8 ; 0] , } # [doc = " Linked list item\n\n @deprecated Don't use in new code."] pub type xmlLink = _xmlLink ; pub type xmlLinkPtr = * mut xmlLink ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlList { _unused : [u8 ; 0] , } # [doc = " Linked list\n\n @deprecated Don't use in new code."] pub type xmlList = _xmlList ; pub type xmlListPtr = * mut xmlList ; # [doc = " Callback function used to free data from a list.\n\n @param lk  the data to deallocate"] pub type xmlListDeallocator = :: std :: option :: Option < unsafe extern "C" fn (lk : * mut xmlLink) > ; # [doc = " Callback function used to compare 2 data.\n\n @param data0  the first data\n @param data1  the second data\n @returns 0 is equality, -1 or 1 otherwise depending on the ordering."] pub type xmlListDataCompare = :: std :: option :: Option < unsafe extern "C" fn (data0 : * const :: std :: os :: raw :: c_void , data1 : * const :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback function used when walking a list with #xmlListWalk.\n\n @param data  the data found in the list\n @param user  extra user provided data to the walker\n @returns 0 to stop walking the list, 1 otherwise."] pub type xmlListWalker = :: std :: option :: Option < unsafe extern "C" fn (data : * const :: std :: os :: raw :: c_void , user : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; unsafe extern "C" { pub fn xmlListCreate (deallocator : xmlListDeallocator , compare : xmlListDataCompare) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlListDelete (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListSearch (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlListReverseSearch (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlListInsert (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListAppend (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveFirst (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveLast (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveAll (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListClear (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListEmpty (l : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListFront (l : * mut xmlList) -> * mut xmlLink ; } unsafe extern "C" { pub fn xmlListEnd (l : * mut xmlList) -> * mut xmlLink ; } unsafe extern "C" { pub fn xmlListSize (l : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListPopFront (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListPopBack (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListPushFront (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListPushBack (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListReverse (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListSort (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListWalk (l : * mut xmlList , walker : xmlListWalker , user : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlListReverseWalk (l : * mut xmlList , walker : xmlListWalker , user : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlListMerge (l1 : * mut xmlList , l2 : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListDup (old : * mut xmlList) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlListCopy (cur : * mut xmlList , old : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlLinkGetData (lk : * mut xmlLink) -> * mut :: std :: os :: raw :: c_void ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAutomata { _unused : [u8 ; 0] , } # [doc = " A libxml automata description\n\n It can be compiled into a regexp"] pub type xmlAutomata = _xmlAutomata ; pub type xmlAutomataPtr = * mut xmlAutomata ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAutomataState { _unused : [u8 ; 0] , } # [doc = " A state in the automata description"] pub type xmlAutomataState = _xmlAutomataState ; pub type xmlAutomataStatePtr = * mut xmlAutomataState ; unsafe extern "C" { pub fn xmlNewAutomata () -> * mut xmlAutomata ; } unsafe extern "C" { pub fn xmlFreeAutomata (am : * mut xmlAutomata) ; } unsafe extern "C" { pub fn xmlAutomataGetInitState (am : * mut xmlAutomata) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataSetFinalState (am : * mut xmlAutomata , state : * mut xmlAutomataState) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAutomataNewState (am : * mut xmlAutomata) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewTransition (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewTransition2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewNegTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountTrans2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewOnceTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewOnceTrans2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewAllTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , lax : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewEpsilon (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountedTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , counter : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCounterTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , counter : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCounter (am : * mut xmlAutomata , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAutomataCompile (am : * mut xmlAutomata) -> * mut _xmlRegexp ; } unsafe extern "C" { pub fn xmlAutomataIsDeterminist (am : * mut xmlAutomata) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlValidState { _unused : [u8 ; 0] , } pub type xmlValidState = _xmlValidState ; pub type xmlValidStatePtr = * mut xmlValidState ; # [doc = " Report a validity error.\n\n @param ctx  user data (usually an xmlValidCtxt)\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlValidityErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Report a validity warning.\n\n @param ctx  user data (usually an xmlValidCtxt)\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlValidityWarningFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " An xmlValidCtxt is used for error reporting when validating."] pub type xmlValidCtxt = _xmlValidCtxt ; pub type xmlValidCtxtPtr = * mut xmlValidCtxt ; # [doc = " An xmlValidCtxt is used for error reporting when validating."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlValidCtxt { pub userData : * mut :: std :: os :: raw :: c_void , pub error : xmlValidityErrorFunc , pub warning : xmlValidityWarningFunc , pub node : * mut xmlNode , pub nodeNr : :: std :: os :: raw :: c_int , pub nodeMax : :: std :: os :: raw :: c_int , pub nodeTab : * mut * mut xmlNode , pub flags : :: std :: os :: raw :: c_uint , pub doc : * mut xmlDoc , pub valid : :: std :: os :: raw :: c_int , pub vstate : * mut xmlValidState , pub vstateNr : :: std :: os :: raw :: c_int , pub vstateMax : :: std :: os :: raw :: c_int , pub vstateTab : * mut xmlValidState , pub am : * mut xmlAutomata , pub state : * mut xmlAutomataState , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlValidCtxt"] [:: std :: mem :: size_of :: < _xmlValidCtxt > () - 112usize] ; ["Alignment of _xmlValidCtxt"] [:: std :: mem :: align_of :: < _xmlValidCtxt > () - 8usize] ; ["Offset of field: _xmlValidCtxt::userData"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , userData) - 0usize] ; ["Offset of field: _xmlValidCtxt::error"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , error) - 8usize] ; ["Offset of field: _xmlValidCtxt::warning"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , warning) - 16usize] ; ["Offset of field: _xmlValidCtxt::node"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , node) - 24usize] ; ["Offset of field: _xmlValidCtxt::nodeNr"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeNr) - 32usize] ; ["Offset of field: _xmlValidCtxt::nodeMax"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeMax) - 36usize] ; ["Offset of field: _xmlValidCtxt::nodeTab"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeTab) - 40usize] ; ["Offset of field: _xmlValidCtxt::flags"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , flags) - 48usize] ; ["Offset of field: _xmlValidCtxt::doc"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , doc) - 56usize] ; ["Offset of field: _xmlValidCtxt::valid"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , valid) - 64usize] ; ["Offset of field: _xmlValidCtxt::vstate"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstate) - 72usize] ; ["Offset of field: _xmlValidCtxt::vstateNr"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateNr) - 80usize] ; ["Offset of field: _xmlValidCtxt::vstateMax"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateMax) - 84usize] ; ["Offset of field: _xmlValidCtxt::vstateTab"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateTab) - 88usize] ; ["Offset of field: _xmlValidCtxt::am"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , am) - 96usize] ; ["Offset of field: _xmlValidCtxt::state"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , state) - 104usize] ; } ; pub type xmlNotationTable = _xmlHashTable ; pub type xmlNotationTablePtr = * mut xmlNotationTable ; pub type xmlElementTable = _xmlHashTable ; pub type xmlElementTablePtr = * mut xmlElementTable ; pub type xmlAttributeTable = _xmlHashTable ; pub type xmlAttributeTablePtr = * mut xmlAttributeTable ; pub type xmlIDTable = _xmlHashTable ; pub type xmlIDTablePtr = * mut xmlIDTable ; pub type xmlRefTable = _xmlHashTable ; pub type xmlRefTablePtr = * mut xmlRefTable ; unsafe extern "C" { pub fn xmlAddNotationDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlNotation ; } unsafe extern "C" { pub fn xmlCopyNotationTable (table : * mut xmlNotationTable) -> * mut xmlNotationTable ; } unsafe extern "C" { pub fn xmlFreeNotationTable (table : * mut xmlNotationTable) ; } unsafe extern "C" { pub fn xmlDumpNotationDecl (buf : * mut xmlBuffer , nota : * mut xmlNotation) ; } unsafe extern "C" { pub fn xmlDumpNotationTable (buf : * mut xmlBuffer , table : * mut xmlNotationTable) ; } unsafe extern "C" { pub fn xmlNewElementContent (name : * const xmlChar , type_ : xmlElementContentType) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlCopyElementContent (content : * mut xmlElementContent) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlFreeElementContent (cur : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlNewDocElementContent (doc : * mut xmlDoc , name : * const xmlChar , type_ : xmlElementContentType) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlCopyDocElementContent (doc : * mut xmlDoc , content : * mut xmlElementContent) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlFreeDocElementContent (doc : * mut xmlDoc , cur : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlSnprintfElementContent (buf : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , content : * mut xmlElementContent , englob : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSprintfElementContent (buf : * mut :: std :: os :: raw :: c_char , content : * mut xmlElementContent , englob : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlAddElementDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , name : * const xmlChar , type_ : xmlElementTypeVal , content : * mut xmlElementContent) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlCopyElementTable (table : * mut xmlElementTable) -> * mut xmlElementTable ; } unsafe extern "C" { pub fn xmlFreeElementTable (table : * mut xmlElementTable) ; } unsafe extern "C" { pub fn xmlDumpElementTable (buf : * mut xmlBuffer , table : * mut xmlElementTable) ; } unsafe extern "C" { pub fn xmlDumpElementDecl (buf : * mut xmlBuffer , elem : * mut xmlElement) ; } unsafe extern "C" { pub fn xmlCreateEnumeration (name : * const xmlChar) -> * mut xmlEnumeration ; } unsafe extern "C" { pub fn xmlFreeEnumeration (cur : * mut xmlEnumeration) ; } unsafe extern "C" { pub fn xmlCopyEnumeration (cur : * mut xmlEnumeration) -> * mut xmlEnumeration ; } unsafe extern "C" { pub fn xmlAddAttributeDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar , ns : * const xmlChar , type_ : xmlAttributeType , def : xmlAttributeDefault , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlCopyAttributeTable (table : * mut xmlAttributeTable) -> * mut xmlAttributeTable ; } unsafe extern "C" { pub fn xmlFreeAttributeTable (table : * mut xmlAttributeTable) ; } unsafe extern "C" { pub fn xmlDumpAttributeTable (buf : * mut xmlBuffer , table : * mut xmlAttributeTable) ; } unsafe extern "C" { pub fn xmlDumpAttributeDecl (buf : * mut xmlBuffer , attr : * mut xmlAttribute) ; } unsafe extern "C" { pub fn xmlAddIDSafe (attr : * mut xmlAttr , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddID (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , value : * const xmlChar , attr : * mut xmlAttr) -> * mut xmlID ; } unsafe extern "C" { pub fn xmlFreeIDTable (table : * mut xmlIDTable) ; } unsafe extern "C" { pub fn xmlGetID (doc : * mut xmlDoc , ID : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlIsID (doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveID (doc : * mut xmlDoc , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddRef (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , value : * const xmlChar , attr : * mut xmlAttr) -> * mut xmlRef ; } unsafe extern "C" { pub fn xmlFreeRefTable (table : * mut xmlRefTable) ; } unsafe extern "C" { pub fn xmlIsRef (doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveRef (doc : * mut xmlDoc , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetRefs (doc : * mut xmlDoc , ID : * const xmlChar) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlNewValidCtxt () -> * mut xmlValidCtxt ; } unsafe extern "C" { pub fn xmlFreeValidCtxt (arg1 : * mut xmlValidCtxt) ; } unsafe extern "C" { pub fn xmlValidateRoot (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateElementDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlElement) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidNormalizeAttributeValue (doc : * mut xmlDoc , elem : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlValidCtxtNormalizeAttributeValue (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlValidateAttributeDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , attr : * mut xmlAttribute) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateAttributeValue (type_ : xmlAttributeType , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNotationDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , nota : * mut xmlNotation) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDtd (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , dtd : * mut xmlDtd) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDtdFinal (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDocument (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneAttribute (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneNamespace (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , prefix : * const xmlChar , ns : * mut xmlNs , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDocumentFinal (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNotationUse (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , notationName : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsMixedElement (doc : * mut xmlDoc , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetDtdAttrDesc (dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlGetDtdQAttrDesc (dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar , prefix : * const xmlChar) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlGetDtdNotationDesc (dtd : * mut xmlDtd , name : * const xmlChar) -> * mut xmlNotation ; } unsafe extern "C" { pub fn xmlGetDtdQElementDesc (dtd : * mut xmlDtd , name : * const xmlChar , prefix : * const xmlChar) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlGetDtdElementDesc (dtd : * mut xmlDtd , name : * const xmlChar) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlValidGetPotentialChildren (ctree : * mut xmlElementContent , names : * mut * const xmlChar , len : * mut :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidGetValidElements (prev : * mut xmlNode , next : * mut xmlNode , names : * mut * const xmlChar , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNameValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNamesValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNmtokenValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNmtokensValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidBuildContentModel (ctxt : * mut xmlValidCtxt , elem : * mut xmlElement) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePushElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , qname : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePushCData (ctxt : * mut xmlValidCtxt , data : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePopElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , qname : * const xmlChar) -> :: std :: os :: raw :: c_int ; } # [doc = " internal general entity"] pub const xmlEntityType_XML_INTERNAL_GENERAL_ENTITY : xmlEntityType = 1 ; # [doc = " external general parsed entity"] pub const xmlEntityType_XML_EXTERNAL_GENERAL_PARSED_ENTITY : xmlEntityType = 2 ; # [doc = " external general unparsed entity"] pub const xmlEntityType_XML_EXTERNAL_GENERAL_UNPARSED_ENTITY : xmlEntityType = 3 ; # [doc = " internal parameter entity"] pub const xmlEntityType_XML_INTERNAL_PARAMETER_ENTITY : xmlEntityType = 4 ; # [doc = " external parameter entity"] pub const xmlEntityType_XML_EXTERNAL_PARAMETER_ENTITY : xmlEntityType = 5 ; # [doc = " internal predefined entity"] pub const xmlEntityType_XML_INTERNAL_PREDEFINED_ENTITY : xmlEntityType = 6 ; # [doc = " The different entity types."] pub type xmlEntityType = :: std :: os :: raw :: c_uint ; # [doc = " An entity declaration"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlEntity { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ENTITY_DECL, must be second !"] pub type_ : xmlElementType , # [doc = " Entity name"] pub name : * const xmlChar , # [doc = " First child link"] pub children : * mut _xmlNode , # [doc = " Last child link"] pub last : * mut _xmlNode , # [doc = " -> DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling link"] pub next : * mut _xmlNode , # [doc = " previous sibling link"] pub prev : * mut _xmlNode , # [doc = " the containing document"] pub doc : * mut _xmlDoc , # [doc = " content without ref substitution"] pub orig : * mut xmlChar , # [doc = " content or ndata if unparsed"] pub content : * mut xmlChar , # [doc = " the content length"] pub length : :: std :: os :: raw :: c_int , # [doc = " The entity type"] pub etype : xmlEntityType , # [doc = " External identifier for PUBLIC"] pub ExternalID : * const xmlChar , # [doc = " URI for a SYSTEM or PUBLIC Entity"] pub SystemID : * const xmlChar , # [doc = " unused"] pub nexte : * mut _xmlEntity , # [doc = " the full URI as computed"] pub URI : * const xmlChar , # [doc = " unused"] pub owner : :: std :: os :: raw :: c_int , # [doc = " various flags"] pub flags : :: std :: os :: raw :: c_int , # [doc = " expanded size"] pub expandedSize : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlEntity"] [:: std :: mem :: size_of :: < _xmlEntity > () - 144usize] ; ["Alignment of _xmlEntity"] [:: std :: mem :: align_of :: < _xmlEntity > () - 8usize] ; ["Offset of field: _xmlEntity::_private"] [:: std :: mem :: offset_of ! (_xmlEntity , _private) - 0usize] ; ["Offset of field: _xmlEntity::type_"] [:: std :: mem :: offset_of ! (_xmlEntity , type_) - 8usize] ; ["Offset of field: _xmlEntity::name"] [:: std :: mem :: offset_of ! (_xmlEntity , name) - 16usize] ; ["Offset of field: _xmlEntity::children"] [:: std :: mem :: offset_of ! (_xmlEntity , children) - 24usize] ; ["Offset of field: _xmlEntity::last"] [:: std :: mem :: offset_of ! (_xmlEntity , last) - 32usize] ; ["Offset of field: _xmlEntity::parent"] [:: std :: mem :: offset_of ! (_xmlEntity , parent) - 40usize] ; ["Offset of field: _xmlEntity::next"] [:: std :: mem :: offset_of ! (_xmlEntity , next) - 48usize] ; ["Offset of field: _xmlEntity::prev"] [:: std :: mem :: offset_of ! (_xmlEntity , prev) - 56usize] ; ["Offset of field: _xmlEntity::doc"] [:: std :: mem :: offset_of ! (_xmlEntity , doc) - 64usize] ; ["Offset of field: _xmlEntity::orig"] [:: std :: mem :: offset_of ! (_xmlEntity , orig) - 72usize] ; ["Offset of field: _xmlEntity::content"] [:: std :: mem :: offset_of ! (_xmlEntity , content) - 80usize] ; ["Offset of field: _xmlEntity::length"] [:: std :: mem :: offset_of ! (_xmlEntity , length) - 88usize] ; ["Offset of field: _xmlEntity::etype"] [:: std :: mem :: offset_of ! (_xmlEntity , etype) - 92usize] ; ["Offset of field: _xmlEntity::ExternalID"] [:: std :: mem :: offset_of ! (_xmlEntity , ExternalID) - 96usize] ; ["Offset of field: _xmlEntity::SystemID"] [:: std :: mem :: offset_of ! (_xmlEntity , SystemID) - 104usize] ; ["Offset of field: _xmlEntity::nexte"] [:: std :: mem :: offset_of ! (_xmlEntity , nexte) - 112usize] ; ["Offset of field: _xmlEntity::URI"] [:: std :: mem :: offset_of ! (_xmlEntity , URI) - 120usize] ; ["Offset of field: _xmlEntity::owner"] [:: std :: mem :: offset_of ! (_xmlEntity , owner) - 128usize] ; ["Offset of field: _xmlEntity::flags"] [:: std :: mem :: offset_of ! (_xmlEntity , flags) - 132usize] ; ["Offset of field: _xmlEntity::expandedSize"] [:: std :: mem :: offset_of ! (_xmlEntity , expandedSize) - 136usize] ; } ; pub type xmlEntitiesTable = _xmlHashTable ; pub type xmlEntitiesTablePtr = * mut xmlEntitiesTable ; unsafe extern "C" { pub fn xmlNewEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlFreeEntity (entity : * mut xmlEntity) ; } unsafe extern "C" { pub fn xmlAddEntity (doc : * mut xmlDoc , extSubset : :: std :: os :: raw :: c_int , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar , out : * mut * mut xmlEntity) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddDocEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlAddDtdEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetPredefinedEntity (name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetDocEntity (doc : * const xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetDtdEntity (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetParameterEntity (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlEncodeEntitiesReentrant (doc : * mut xmlDoc , input : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlEncodeSpecialChars (doc : * const xmlDoc , input : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCreateEntitiesTable () -> * mut xmlEntitiesTable ; } unsafe extern "C" { pub fn xmlCopyEntitiesTable (table : * mut xmlEntitiesTable) -> * mut xmlEntitiesTable ; } unsafe extern "C" { pub fn xmlFreeEntitiesTable (table : * mut xmlEntitiesTable) ; } unsafe extern "C" { pub fn xmlDumpEntitiesTable (buf : * mut xmlBuffer , table : * mut xmlEntitiesTable) ; } unsafe extern "C" { pub fn xmlDumpEntityDecl (buf : * mut xmlBuffer , ent : * mut xmlEntity) ; } # [doc = " Success"] pub const xmlCharEncError_XML_ENC_ERR_SUCCESS : xmlCharEncError = 0 ; # [doc = " Internal or unclassified error"] pub const xmlCharEncError_XML_ENC_ERR_INTERNAL : xmlCharEncError = - 1 ; # [doc = " Invalid or untranslatable input sequence"] pub const xmlCharEncError_XML_ENC_ERR_INPUT : xmlCharEncError = - 2 ; # [doc = " Not enough space in output buffer"] pub const xmlCharEncError_XML_ENC_ERR_SPACE : xmlCharEncError = - 3 ; # [doc = " Out-of-memory error"] pub const xmlCharEncError_XML_ENC_ERR_MEMORY : xmlCharEncError = - 4 ; # [doc = " Encoding conversion errors"] pub type xmlCharEncError = :: std :: os :: raw :: c_int ; # [doc = " No char encoding detected"] pub const xmlCharEncoding_XML_CHAR_ENCODING_ERROR : xmlCharEncoding = - 1 ; # [doc = " No char encoding detected"] pub const xmlCharEncoding_XML_CHAR_ENCODING_NONE : xmlCharEncoding = 0 ; # [doc = " UTF-8"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF8 : xmlCharEncoding = 1 ; # [doc = " UTF-16 little endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16LE : xmlCharEncoding = 2 ; # [doc = " UTF-16 big endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16BE : xmlCharEncoding = 3 ; # [doc = " UCS-4 little endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4LE : xmlCharEncoding = 4 ; # [doc = " UCS-4 big endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4BE : xmlCharEncoding = 5 ; # [doc = " EBCDIC uh!"] pub const xmlCharEncoding_XML_CHAR_ENCODING_EBCDIC : xmlCharEncoding = 6 ; # [doc = " UCS-4 unusual ordering"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4_2143 : xmlCharEncoding = 7 ; # [doc = " UCS-4 unusual ordering"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4_3412 : xmlCharEncoding = 8 ; # [doc = " UCS-2"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS2 : xmlCharEncoding = 9 ; # [doc = " ISO-8859-1 ISO Latin 1"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_1 : xmlCharEncoding = 10 ; # [doc = " ISO-8859-2 ISO Latin 2"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_2 : xmlCharEncoding = 11 ; # [doc = " ISO-8859-3"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_3 : xmlCharEncoding = 12 ; # [doc = " ISO-8859-4"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_4 : xmlCharEncoding = 13 ; # [doc = " ISO-8859-5"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_5 : xmlCharEncoding = 14 ; # [doc = " ISO-8859-6"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_6 : xmlCharEncoding = 15 ; # [doc = " ISO-8859-7"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_7 : xmlCharEncoding = 16 ; # [doc = " ISO-8859-8"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_8 : xmlCharEncoding = 17 ; # [doc = " ISO-8859-9"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_9 : xmlCharEncoding = 18 ; # [doc = " ISO-2022-JP"] pub const xmlCharEncoding_XML_CHAR_ENCODING_2022_JP : xmlCharEncoding = 19 ; # [doc = " Shift_JIS"] pub const xmlCharEncoding_XML_CHAR_ENCODING_SHIFT_JIS : xmlCharEncoding = 20 ; # [doc = " EUC-JP"] pub const xmlCharEncoding_XML_CHAR_ENCODING_EUC_JP : xmlCharEncoding = 21 ; # [doc = " pure ASCII"] pub const xmlCharEncoding_XML_CHAR_ENCODING_ASCII : xmlCharEncoding = 22 ; # [doc = " UTF-16 native, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16 : xmlCharEncoding = 23 ; # [doc = " HTML (output only), available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_HTML : xmlCharEncoding = 24 ; # [doc = " ISO-8859-10, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_10 : xmlCharEncoding = 25 ; # [doc = " ISO-8859-11, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_11 : xmlCharEncoding = 26 ; # [doc = " ISO-8859-13, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_13 : xmlCharEncoding = 27 ; # [doc = " ISO-8859-14, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_14 : xmlCharEncoding = 28 ; # [doc = " ISO-8859-15, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_15 : xmlCharEncoding = 29 ; # [doc = " ISO-8859-16, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_16 : xmlCharEncoding = 30 ; # [doc = " windows-1252, available since 2.15"] pub const xmlCharEncoding_XML_CHAR_ENCODING_WINDOWS_1252 : xmlCharEncoding = 31 ; # [doc = " Predefined values for some standard encodings."] pub type xmlCharEncoding = :: std :: os :: raw :: c_int ; # [doc = " Create converter for input (conversion to UTF-8)"] pub const xmlCharEncFlags_XML_ENC_INPUT : xmlCharEncFlags = 1 ; # [doc = " Create converter for output (conversion from UTF-8)"] pub const xmlCharEncFlags_XML_ENC_OUTPUT : xmlCharEncFlags = 2 ; # [doc = " Use HTML5 mappings"] pub const xmlCharEncFlags_XML_ENC_HTML : xmlCharEncFlags = 4 ; # [doc = " Encoding conversion flags"] pub type xmlCharEncFlags = :: std :: os :: raw :: c_uint ; # [doc = " Convert characters to UTF-8.\n\n On success, the value of `inlen` after return is the number of\n bytes consumed and `outlen` is the number of bytes produced.\n\n @param out  a pointer to an array of bytes to store the UTF-8 result\n @param outlen  the length of `out`\n @param in  a pointer to an array of chars in the original encoding\n @param inlen  the length of `in`\n @returns the number of bytes written or an xmlCharEncError code."] pub type xmlCharEncodingInputFunc = :: std :: option :: Option < unsafe extern "C" fn (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Convert characters from UTF-8.\n\n On success, the value of `inlen` after return is the number of\n bytes consumed and `outlen` is the number of bytes produced.\n\n @param out  a pointer to an array of bytes to store the result\n @param outlen  the length of `out`\n @param in  a pointer to an array of UTF-8 chars\n @param inlen  the length of `in`\n @returns the number of bytes written or an xmlCharEncError code."] pub type xmlCharEncodingOutputFunc = :: std :: option :: Option < unsafe extern "C" fn (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Convert between character encodings.\n\n The value of `inlen` after return is the number of bytes consumed\n and `outlen` is the number of bytes produced.\n\n If the converter can consume partial multi-byte sequences, the\n `flush` flag can be used to detect truncated sequences at EOF.\n Otherwise, the flag can be ignored.\n\n @param vctxt  conversion context\n @param out  a pointer to an array of bytes to store the result\n @param outlen  the length of `out`\n @param in  a pointer to an array of input bytes\n @param inlen  the length of `in`\n @param flush  end of input\n @returns an xmlCharEncError code."] pub type xmlCharEncConvFunc = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void , out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int , flush : :: std :: os :: raw :: c_int) -> xmlCharEncError > ; # [doc = " Free a conversion context.\n\n @param vctxt  conversion context"] pub type xmlCharEncConvCtxtDtor = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void) > ; # [doc = " Character encoding converter"] pub type xmlCharEncodingHandler = _xmlCharEncodingHandler ; pub type xmlCharEncodingHandlerPtr = * mut xmlCharEncodingHandler ; # [doc = " A character encoding conversion handler for non UTF-8 encodings.\n\n This structure will be made private."] # [repr (C)] # [derive (Copy , Clone)] pub struct _xmlCharEncodingHandler { pub name : * mut :: std :: os :: raw :: c_char , pub input : _xmlCharEncodingHandler__bindgen_ty_1 , pub output : _xmlCharEncodingHandler__bindgen_ty_2 , pub inputCtxt : * mut :: std :: os :: raw :: c_void , pub outputCtxt : * mut :: std :: os :: raw :: c_void , pub ctxtDtor : xmlCharEncConvCtxtDtor , pub flags : :: std :: os :: raw :: c_int , } # [repr (C)] # [derive (Copy , Clone)] pub union _xmlCharEncodingHandler__bindgen_ty_1 { pub func : xmlCharEncConvFunc , pub legacyFunc : xmlCharEncodingInputFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler__bindgen_ty_1"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler__bindgen_ty_1 > () - 8usize] ; ["Alignment of _xmlCharEncodingHandler__bindgen_ty_1"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler__bindgen_ty_1 > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_1::func"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_1 , func) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_1::legacyFunc"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_1 , legacyFunc) - 0usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union _xmlCharEncodingHandler__bindgen_ty_2 { pub func : xmlCharEncConvFunc , pub legacyFunc : xmlCharEncodingOutputFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler__bindgen_ty_2"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler__bindgen_ty_2 > () - 8usize] ; ["Alignment of _xmlCharEncodingHandler__bindgen_ty_2"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler__bindgen_ty_2 > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_2::func"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_2 , func) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_2::legacyFunc"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_2 , legacyFunc) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler > () - 56usize] ; ["Alignment of _xmlCharEncodingHandler"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler::name"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , name) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler::input"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , input) - 8usize] ; ["Offset of field: _xmlCharEncodingHandler::output"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , output) - 16usize] ; ["Offset of field: _xmlCharEncodingHandler::inputCtxt"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , inputCtxt) - 24usize] ; ["Offset of field: _xmlCharEncodingHandler::outputCtxt"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , outputCtxt) - 32usize] ; ["Offset of field: _xmlCharEncodingHandler::ctxtDtor"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , ctxtDtor) - 40usize] ; ["Offset of field: _xmlCharEncodingHandler::flags"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , flags) - 48usize] ; } ; # [doc = " If this function returns XML_ERR_OK, it must fill the `out`\n pointer with an encoding handler. The handler can be obtained\n from #xmlCharEncNewCustomHandler.\n\n `flags` can contain XML_ENC_INPUT, XML_ENC_OUTPUT or both.\n\n @param vctxt  user data\n @param name  encoding name\n @param flags  bit mask of flags\n @param out  pointer to resulting handler\n @returns an xmlParserErrors code."] pub type xmlCharEncConvImpl = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void , name : * const :: std :: os :: raw :: c_char , flags : xmlCharEncFlags , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors > ; unsafe extern "C" { pub fn xmlInitCharEncodingHandlers () ; } unsafe extern "C" { pub fn xmlCleanupCharEncodingHandlers () ; } unsafe extern "C" { pub fn xmlRegisterCharEncodingHandler (handler : * mut xmlCharEncodingHandler) ; } unsafe extern "C" { pub fn xmlLookupCharEncodingHandler (enc : xmlCharEncoding , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlOpenCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , output : :: std :: os :: raw :: c_int , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlCreateCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , flags : xmlCharEncFlags , impl_ : xmlCharEncConvImpl , implCtxt : * mut :: std :: os :: raw :: c_void , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlGetCharEncodingHandler (enc : xmlCharEncoding) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlFindCharEncodingHandler (name : * const :: std :: os :: raw :: c_char) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlNewCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , input : xmlCharEncodingInputFunc , output : xmlCharEncodingOutputFunc) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlCharEncNewCustomHandler (name : * const :: std :: os :: raw :: c_char , input : xmlCharEncConvFunc , output : xmlCharEncConvFunc , ctxtDtor : xmlCharEncConvCtxtDtor , inputCtxt : * mut :: std :: os :: raw :: c_void , outputCtxt : * mut :: std :: os :: raw :: c_void , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlAddEncodingAlias (name : * const :: std :: os :: raw :: c_char , alias : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDelEncodingAlias (alias : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetEncodingAlias (alias : * const :: std :: os :: raw :: c_char) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlCleanupEncodingAliases () ; } unsafe extern "C" { pub fn xmlParseCharEncoding (name : * const :: std :: os :: raw :: c_char) -> xmlCharEncoding ; } unsafe extern "C" { pub fn xmlGetCharEncodingName (enc : xmlCharEncoding) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlDetectCharEncoding (in_ : * const :: std :: os :: raw :: c_uchar , len : :: std :: os :: raw :: c_int) -> xmlCharEncoding ; } unsafe extern "C" { pub fn xmlCharEncOutFunc (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncInFunc (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncFirstLine (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncCloseFunc (handler : * mut xmlCharEncodingHandler) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8ToIsolat1 (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsolat1ToUTF8 (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " Callback used in the I/O Input API to detect if the current handler\n can provide input functionality for this resource.\n\n @param filename  the filename or URI\n @returns 1 if yes and 0 if another Input module should be used"] pub type xmlInputMatchCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Input API to open the resource\n\n @param filename  the filename or URI\n @returns an Input context or NULL in case or error"] pub type xmlInputOpenCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback used in the I/O Input API to read the resource\n\n @param context  an Input context\n @param buffer  the buffer to store data read\n @param len  the length of the buffer in bytes\n @returns the number of bytes read or -1 in case of error"] pub type xmlInputReadCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Input API to close the resource\n\n @param context  an Input context\n @returns 0 or -1 in case of error"] pub type xmlInputCloseCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to detect if the current handler\n can provide output functionality for this resource.\n\n @param filename  the filename or URI\n @returns 1 if yes and 0 if another Output module should be used"] pub type xmlOutputMatchCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to open the resource\n\n @param filename  the filename or URI\n @returns an Output context or NULL in case or error"] pub type xmlOutputOpenCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback used in the I/O Output API to write to the resource\n\n @param context  an Output context\n @param buffer  the buffer of data to write\n @param len  the length of the buffer in bytes\n @returns the number of bytes written or -1 in case of error"] pub type xmlOutputWriteCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void , buffer : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to close the resource\n\n @param context  an Output context\n @returns 0 or -1 in case of error"] pub type xmlOutputCloseCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Signature for the function doing the lookup for a suitable input method\n corresponding to an URI.\n\n @param URI  the URI to read from\n @param enc  the requested source encoding\n @returns the new xmlParserInputBuffer in case of success or NULL if no\n         method was found."] pub type xmlParserInputBufferCreateFilenameFunc = :: std :: option :: Option < unsafe extern "C" fn (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer > ; # [doc = " Signature for the function doing the lookup for a suitable output method\n corresponding to an URI.\n\n @param URI  the URI to write to\n @param encoder  the requested target encoding\n @param compression  compression level\n @returns the new xmlOutputBuffer in case of success or NULL if no\n         method was found."] pub type xmlOutputBufferCreateFilenameFunc = :: std :: option :: Option < unsafe extern "C" fn (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer > ; # [doc = " Parser input buffer\n\n This struct and all related functions should ultimately\n be removed from the public interface."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserInputBuffer { pub context : * mut :: std :: os :: raw :: c_void , pub readcallback : xmlInputReadCallback , pub closecallback : xmlInputCloseCallback , pub encoder : * mut xmlCharEncodingHandler , pub buffer : * mut xmlBuf , pub raw : * mut xmlBuf , pub compressed : :: std :: os :: raw :: c_int , pub error : :: std :: os :: raw :: c_int , pub rawconsumed : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserInputBuffer"] [:: std :: mem :: size_of :: < _xmlParserInputBuffer > () - 64usize] ; ["Alignment of _xmlParserInputBuffer"] [:: std :: mem :: align_of :: < _xmlParserInputBuffer > () - 8usize] ; ["Offset of field: _xmlParserInputBuffer::context"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , context) - 0usize] ; ["Offset of field: _xmlParserInputBuffer::readcallback"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , readcallback) - 8usize] ; ["Offset of field: _xmlParserInputBuffer::closecallback"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , closecallback) - 16usize] ; ["Offset of field: _xmlParserInputBuffer::encoder"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , encoder) - 24usize] ; ["Offset of field: _xmlParserInputBuffer::buffer"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , buffer) - 32usize] ; ["Offset of field: _xmlParserInputBuffer::raw"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , raw) - 40usize] ; ["Offset of field: _xmlParserInputBuffer::compressed"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , compressed) - 48usize] ; ["Offset of field: _xmlParserInputBuffer::error"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , error) - 52usize] ; ["Offset of field: _xmlParserInputBuffer::rawconsumed"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , rawconsumed) - 56usize] ; } ; # [doc = " Output buffer"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlOutputBuffer { pub context : * mut :: std :: os :: raw :: c_void , pub writecallback : xmlOutputWriteCallback , pub closecallback : xmlOutputCloseCallback , pub encoder : * mut xmlCharEncodingHandler , pub buffer : * mut xmlBuf , pub conv : * mut xmlBuf , pub written : :: std :: os :: raw :: c_int , pub error : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlOutputBuffer"] [:: std :: mem :: size_of :: < _xmlOutputBuffer > () - 56usize] ; ["Alignment of _xmlOutputBuffer"] [:: std :: mem :: align_of :: < _xmlOutputBuffer > () - 8usize] ; ["Offset of field: _xmlOutputBuffer::context"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , context) - 0usize] ; ["Offset of field: _xmlOutputBuffer::writecallback"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , writecallback) - 8usize] ; ["Offset of field: _xmlOutputBuffer::closecallback"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , closecallback) - 16usize] ; ["Offset of field: _xmlOutputBuffer::encoder"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , encoder) - 24usize] ; ["Offset of field: _xmlOutputBuffer::buffer"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , buffer) - 32usize] ; ["Offset of field: _xmlOutputBuffer::conv"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , conv) - 40usize] ; ["Offset of field: _xmlOutputBuffer::written"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , written) - 48usize] ; ["Offset of field: _xmlOutputBuffer::error"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , error) - 52usize] ; } ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlParserInputBufferCreateFilenameValue () -> * mut xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn __xmlOutputBufferCreateFilenameValue () -> * mut xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { # [doc = " @endcond"] pub fn xmlCleanupInputCallbacks () ; } unsafe extern "C" { pub fn xmlPopInputCallbacks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterDefaultInputCallbacks () ; } unsafe extern "C" { pub fn xmlAllocParserInputBuffer (enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFile (file : * mut FILE , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFd (fd : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateMem (mem : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateStatic (mem : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateIO (ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferRead (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferGrow (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferPush (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int , buf : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFreeParserInputBuffer (in_ : * mut xmlParserInputBuffer) ; } unsafe extern "C" { pub fn xmlParserGetDirectory (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlRegisterInputCallbacks (matchFunc : xmlInputMatchCallback , openFunc : xmlInputOpenCallback , readFunc : xmlInputReadCallback , closeFunc : xmlInputCloseCallback) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlParserInputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlCleanupOutputCallbacks () ; } unsafe extern "C" { pub fn xmlPopOutputCallbacks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterDefaultOutputCallbacks () ; } unsafe extern "C" { pub fn xmlAllocOutputBuffer (encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFile (file : * mut FILE , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateBuffer (buffer : * mut xmlBuffer , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFd (fd : :: std :: os :: raw :: c_int , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateIO (iowrite : xmlOutputWriteCallback , ioclose : xmlOutputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferGetContent (out : * mut xmlOutputBuffer) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlOutputBufferGetSize (out : * mut xmlOutputBuffer) -> usize ; } unsafe extern "C" { pub fn xmlOutputBufferWrite (out : * mut xmlOutputBuffer , len : :: std :: os :: raw :: c_int , buf : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferWriteString (out : * mut xmlOutputBuffer , str_ : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferWriteEscape (out : * mut xmlOutputBuffer , str_ : * const xmlChar , escaping : xmlCharEncodingOutputFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferFlush (out : * mut xmlOutputBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferClose (out : * mut xmlOutputBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterOutputCallbacks (matchFunc : xmlOutputMatchCallback , openFunc : xmlOutputOpenCallback , writeFunc : xmlOutputWriteCallback , closeFunc : xmlOutputCloseCallback) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlOutputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlCheckHTTPInput (ctxt : * mut xmlParserCtxt , ret : * mut xmlParserInput) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNoNetExternalEntityLoader (URL : * const :: std :: os :: raw :: c_char , ID : * const :: std :: os :: raw :: c_char , ctxt : * mut xmlParserCtxt) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNormalizeWindowsPath (path : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCheckFilename (path : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileMatch (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileOpen (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlFileRead (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileClose (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [doc = " @cond IGNORE"] pub fn xmlIOHTTPMatch (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIOHTTPOpen (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlRegisterHTTPPostCallbacks () ; } unsafe extern "C" { pub fn xmlIOHTTPOpenW (post_uri : * const :: std :: os :: raw :: c_char , compression : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlIOHTTPRead (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIOHTTPClose (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFilenameDefault (func : xmlParserInputBufferCreateFilenameFunc) -> xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFilenameDefault (func : xmlOutputBufferCreateFilenameFunc) -> xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlThrDefOutputBufferCreateFilenameDefault (func : xmlOutputBufferCreateFilenameFunc) -> xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlThrDefParserInputBufferCreateFilenameDefault (func : xmlParserInputBufferCreateFilenameFunc) -> xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlSAX2GetPublicId (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSAX2GetSystemId (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSAX2SetDocumentLocator (ctx : * mut :: std :: os :: raw :: c_void , loc : * mut xmlSAXLocator) ; } unsafe extern "C" { pub fn xmlSAX2GetLineNumber (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2GetColumnNumber (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2IsStandalone (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2HasInternalSubset (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2HasExternalSubset (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2InternalSubset (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2ExternalSubset (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2GetEntity (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlSAX2GetParameterEntity (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlSAX2ResolveEntity (ctx : * mut :: std :: os :: raw :: c_void , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlSAX2EntityDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * mut xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2AttributeDecl (ctx : * mut :: std :: os :: raw :: c_void , elem : * const xmlChar , fullname : * const xmlChar , type_ : :: std :: os :: raw :: c_int , def : :: std :: os :: raw :: c_int , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) ; } unsafe extern "C" { pub fn xmlSAX2ElementDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , content : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlSAX2NotationDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2UnparsedEntityDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar , notationName : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2StartDocument (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSAX2EndDocument (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSAX2StartElement (ctx : * mut :: std :: os :: raw :: c_void , fullname : * const xmlChar , atts : * mut * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2EndElement (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2StartElementNs (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar , nb_namespaces : :: std :: os :: raw :: c_int , namespaces : * mut * const xmlChar , nb_attributes : :: std :: os :: raw :: c_int , nb_defaulted : :: std :: os :: raw :: c_int , attributes : * mut * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2EndElementNs (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Reference (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Characters (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2IgnorableWhitespace (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2ProcessingInstruction (ctx : * mut :: std :: os :: raw :: c_void , target : * const xmlChar , data : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Comment (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2CDataBlock (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAXDefaultVersion (version : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXVersion (hdlr : * mut xmlSAXHandler , version : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2InitDefaultSAXHandler (hdlr : * mut xmlSAXHandler , warning : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2InitHtmlDefaultSAXHandler (hdlr : * mut xmlSAXHandler) ; } unsafe extern "C" { pub fn htmlDefaultSAXHandlerInit () ; } unsafe extern "C" { pub fn xmlDefaultSAXHandlerInit () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlMutex { _unused : [u8 ; 0] , } # [doc = " Mutual exclusion object"] pub type xmlMutex = _xmlMutex ; pub type xmlMutexPtr = * mut xmlMutex ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRMutex { _unused : [u8 ; 0] , } # [doc = " Reentrant mutual exclusion object"] pub type xmlRMutex = _xmlRMutex ; pub type xmlRMutexPtr = * mut xmlRMutex ; unsafe extern "C" { pub fn xmlCheckThreadLocalStorage () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNewMutex () -> * mut xmlMutex ; } unsafe extern "C" { pub fn xmlMutexLock (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlMutexUnlock (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlFreeMutex (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlNewRMutex () -> * mut xmlRMutex ; } unsafe extern "C" { pub fn xmlRMutexLock (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlRMutexUnlock (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlFreeRMutex (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlInitThreads () ; } unsafe extern "C" { pub fn xmlLockLibrary () ; } unsafe extern "C" { pub fn xmlUnlockLibrary () ; } unsafe extern "C" { pub fn xmlCleanupThreads () ; } # [doc = " not well-formed"] pub const xmlParserStatus_XML_STATUS_NOT_WELL_FORMED : xmlParserStatus = 1 ; # [doc = " not namespace-well-formed"] pub const xmlParserStatus_XML_STATUS_NOT_NS_WELL_FORMED : xmlParserStatus = 2 ; # [doc = " DTD validation failed"] pub const xmlParserStatus_XML_STATUS_DTD_VALIDATION_FAILED : xmlParserStatus = 4 ; # [doc = " catastrophic failure like OOM or I/O error"] pub const xmlParserStatus_XML_STATUS_CATASTROPHIC_ERROR : xmlParserStatus = 8 ; # [doc = " Status after parsing a document"] pub type xmlParserStatus = :: std :: os :: raw :: c_uint ; # [doc = " unknown"] pub const xmlResourceType_XML_RESOURCE_UNKNOWN : xmlResourceType = 0 ; # [doc = " main document"] pub const xmlResourceType_XML_RESOURCE_MAIN_DOCUMENT : xmlResourceType = 1 ; # [doc = " external DTD"] pub const xmlResourceType_XML_RESOURCE_DTD : xmlResourceType = 2 ; # [doc = " external general entity"] pub const xmlResourceType_XML_RESOURCE_GENERAL_ENTITY : xmlResourceType = 3 ; # [doc = " external parameter entity"] pub const xmlResourceType_XML_RESOURCE_PARAMETER_ENTITY : xmlResourceType = 4 ; # [doc = " XIncluded document"] pub const xmlResourceType_XML_RESOURCE_XINCLUDE : xmlResourceType = 5 ; # [doc = " XIncluded text"] pub const xmlResourceType_XML_RESOURCE_XINCLUDE_TEXT : xmlResourceType = 6 ; # [doc = " Resource type for resource loaders"] pub type xmlResourceType = :: std :: os :: raw :: c_uint ; # [doc = " The input buffer won't be changed during parsing."] pub const xmlParserInputFlags_XML_INPUT_BUF_STATIC : xmlParserInputFlags = 2 ; # [doc = " The input buffer is zero-terminated. (Note that the zero\nbyte shouldn't be included in buffer size.)"] pub const xmlParserInputFlags_XML_INPUT_BUF_ZERO_TERMINATED : xmlParserInputFlags = 4 ; # [doc = " Uncompress gzipped file input"] pub const xmlParserInputFlags_XML_INPUT_UNZIP : xmlParserInputFlags = 8 ; # [doc = " Allow network access. Unused internally."] pub const xmlParserInputFlags_XML_INPUT_NETWORK : xmlParserInputFlags = 16 ; # [doc = " Allow system catalog to resolve URIs."] pub const xmlParserInputFlags_XML_INPUT_USE_SYS_CATALOG : xmlParserInputFlags = 32 ; # [doc = " Flags for parser input"] pub type xmlParserInputFlags = :: std :: os :: raw :: c_uint ; pub type xmlParserInputDeallocate = :: std :: option :: Option < unsafe extern "C" fn (str_ : * mut xmlChar) > ; # [doc = " Parser input"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserInput { pub buf : * mut xmlParserInputBuffer , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n The filename or URI, if any"] pub filename : * const :: std :: os :: raw :: c_char , pub directory : * const :: std :: os :: raw :: c_char , pub base : * const xmlChar , # [doc = " @deprecated Use #xmlCtxtGetInputWindow\n\n Current char being parsed"] pub cur : * const xmlChar , pub end : * const xmlChar , pub length : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n Current line"] pub line : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n Current column"] pub col : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n How many xmlChars already consumed"] pub consumed : :: std :: os :: raw :: c_ulong , pub free : xmlParserInputDeallocate , pub encoding : * const xmlChar , pub version : * const xmlChar , pub flags : :: std :: os :: raw :: c_int , pub id : :: std :: os :: raw :: c_int , pub parentConsumed : :: std :: os :: raw :: c_ulong , pub entity : * mut xmlEntity , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserInput"] [:: std :: mem :: size_of :: < _xmlParserInput > () - 120usize] ; ["Alignment of _xmlParserInput"] [:: std :: mem :: align_of :: < _xmlParserInput > () - 8usize] ; ["Offset of field: _xmlParserInput::buf"] [:: std :: mem :: offset_of ! (_xmlParserInput , buf) - 0usize] ; ["Offset of field: _xmlParserInput::filename"] [:: std :: mem :: offset_of ! (_xmlParserInput , filename) - 8usize] ; ["Offset of field: _xmlParserInput::directory"] [:: std :: mem :: offset_of ! (_xmlParserInput , directory) - 16usize] ; ["Offset of field: _xmlParserInput::base"] [:: std :: mem :: offset_of ! (_xmlParserInput , base) - 24usize] ; ["Offset of field: _xmlParserInput::cur"] [:: std :: mem :: offset_of ! (_xmlParserInput , cur) - 32usize] ; ["Offset of field: _xmlParserInput::end"] [:: std :: mem :: offset_of ! (_xmlParserInput , end) - 40usize] ; ["Offset of field: _xmlParserInput::length"] [:: std :: mem :: offset_of ! (_xmlParserInput , length) - 48usize] ; ["Offset of field: _xmlParserInput::line"] [:: std :: mem :: offset_of ! (_xmlParserInput , line) - 52usize] ; ["Offset of field: _xmlParserInput::col"] [:: std :: mem :: offset_of ! (_xmlParserInput , col) - 56usize] ; ["Offset of field: _xmlParserInput::consumed"] [:: std :: mem :: offset_of ! (_xmlParserInput , consumed) - 64usize] ; ["Offset of field: _xmlParserInput::free"] [:: std :: mem :: offset_of ! (_xmlParserInput , free) - 72usize] ; ["Offset of field: _xmlParserInput::encoding"] [:: std :: mem :: offset_of ! (_xmlParserInput , encoding) - 80usize] ; ["Offset of field: _xmlParserInput::version"] [:: std :: mem :: offset_of ! (_xmlParserInput , version) - 88usize] ; ["Offset of field: _xmlParserInput::flags"] [:: std :: mem :: offset_of ! (_xmlParserInput , flags) - 96usize] ; ["Offset of field: _xmlParserInput::id"] [:: std :: mem :: offset_of ! (_xmlParserInput , id) - 100usize] ; ["Offset of field: _xmlParserInput::parentConsumed"] [:: std :: mem :: offset_of ! (_xmlParserInput , parentConsumed) - 104usize] ; ["Offset of field: _xmlParserInput::entity"] [:: std :: mem :: offset_of ! (_xmlParserInput , entity) - 112usize] ; } ; # [doc = " @cond ignore"] pub type xmlParserNodeInfo = _xmlParserNodeInfo ; pub type xmlParserNodeInfoPtr = * mut xmlParserNodeInfo ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNodeInfo { pub node : * const _xmlNode , pub begin_pos : :: std :: os :: raw :: c_ulong , pub begin_line : :: std :: os :: raw :: c_ulong , pub end_pos : :: std :: os :: raw :: c_ulong , pub end_line : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserNodeInfo"] [:: std :: mem :: size_of :: < _xmlParserNodeInfo > () - 40usize] ; ["Alignment of _xmlParserNodeInfo"] [:: std :: mem :: align_of :: < _xmlParserNodeInfo > () - 8usize] ; ["Offset of field: _xmlParserNodeInfo::node"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , node) - 0usize] ; ["Offset of field: _xmlParserNodeInfo::begin_pos"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , begin_pos) - 8usize] ; ["Offset of field: _xmlParserNodeInfo::begin_line"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , begin_line) - 16usize] ; ["Offset of field: _xmlParserNodeInfo::end_pos"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , end_pos) - 24usize] ; ["Offset of field: _xmlParserNodeInfo::end_line"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , end_line) - 32usize] ; } ; pub type xmlParserNodeInfoSeq = _xmlParserNodeInfoSeq ; pub type xmlParserNodeInfoSeqPtr = * mut xmlParserNodeInfoSeq ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNodeInfoSeq { pub maximum : :: std :: os :: raw :: c_ulong , pub length : :: std :: os :: raw :: c_ulong , pub buffer : * mut xmlParserNodeInfo , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserNodeInfoSeq"] [:: std :: mem :: size_of :: < _xmlParserNodeInfoSeq > () - 24usize] ; ["Alignment of _xmlParserNodeInfoSeq"] [:: std :: mem :: align_of :: < _xmlParserNodeInfoSeq > () - 8usize] ; ["Offset of field: _xmlParserNodeInfoSeq::maximum"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , maximum) - 0usize] ; ["Offset of field: _xmlParserNodeInfoSeq::length"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , length) - 8usize] ; ["Offset of field: _xmlParserNodeInfoSeq::buffer"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , buffer) - 16usize] ; } ; pub const xmlParserInputState_XML_PARSER_EOF : xmlParserInputState = - 1 ; pub const xmlParserInputState_XML_PARSER_START : xmlParserInputState = 0 ; pub const xmlParserInputState_XML_PARSER_MISC : xmlParserInputState = 1 ; pub const xmlParserInputState_XML_PARSER_PI : xmlParserInputState = 2 ; pub const xmlParserInputState_XML_PARSER_DTD : xmlParserInputState = 3 ; pub const xmlParserInputState_XML_PARSER_PROLOG : xmlParserInputState = 4 ; pub const xmlParserInputState_XML_PARSER_COMMENT : xmlParserInputState = 5 ; pub const xmlParserInputState_XML_PARSER_START_TAG : xmlParserInputState = 6 ; pub const xmlParserInputState_XML_PARSER_CONTENT : xmlParserInputState = 7 ; pub const xmlParserInputState_XML_PARSER_CDATA_SECTION : xmlParserInputState = 8 ; pub const xmlParserInputState_XML_PARSER_END_TAG : xmlParserInputState = 9 ; pub const xmlParserInputState_XML_PARSER_ENTITY_DECL : xmlParserInputState = 10 ; pub const xmlParserInputState_XML_PARSER_ENTITY_VALUE : xmlParserInputState = 11 ; pub const xmlParserInputState_XML_PARSER_ATTRIBUTE_VALUE : xmlParserInputState = 12 ; pub const xmlParserInputState_XML_PARSER_SYSTEM_LITERAL : xmlParserInputState = 13 ; pub const xmlParserInputState_XML_PARSER_EPILOG : xmlParserInputState = 14 ; pub const xmlParserInputState_XML_PARSER_IGNORE : xmlParserInputState = 15 ; pub const xmlParserInputState_XML_PARSER_PUBLIC_LITERAL : xmlParserInputState = 16 ; pub const xmlParserInputState_XML_PARSER_XML_DECL : xmlParserInputState = 17 ; pub type xmlParserInputState = :: std :: os :: raw :: c_int ; pub const xmlParserMode_XML_PARSE_UNKNOWN : xmlParserMode = 0 ; pub const xmlParserMode_XML_PARSE_DOM : xmlParserMode = 1 ; pub const xmlParserMode_XML_PARSE_SAX : xmlParserMode = 2 ; pub const xmlParserMode_XML_PARSE_PUSH_DOM : xmlParserMode = 3 ; pub const xmlParserMode_XML_PARSE_PUSH_SAX : xmlParserMode = 4 ; pub const xmlParserMode_XML_PARSE_READER : xmlParserMode = 5 ; pub type xmlParserMode = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlStartTag { _unused : [u8 ; 0] , } pub type xmlStartTag = _xmlStartTag ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNsData { _unused : [u8 ; 0] , } pub type xmlParserNsData = _xmlParserNsData ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttrHashBucket { _unused : [u8 ; 0] , } pub type xmlAttrHashBucket = _xmlAttrHashBucket ; # [doc = " Callback for custom resource loaders.\n\n `flags` can contain XML_INPUT_UNZIP and XML_INPUT_NETWORK.\n\n The URL is resolved using XML catalogs before being passed to\n the callback.\n\n On success, `out` should be set to a new parser input object and\n XML_ERR_OK should be returned.\n\n @param ctxt  parser context\n @param url  URL or system ID to load\n @param publicId  publid ID from DTD (optional)\n @param type  resource type\n @param flags  flags\n @param out  result pointer\n @returns an xmlParserErrors code."] pub type xmlResourceLoader = :: std :: option :: Option < unsafe extern "C" fn (ctxt : * mut :: std :: os :: raw :: c_void , url : * const :: std :: os :: raw :: c_char , publicId : * const :: std :: os :: raw :: c_char , type_ : xmlResourceType , flags : xmlParserInputFlags , out : * mut * mut xmlParserInput) -> xmlParserErrors > ; # [doc = " Parser context"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserCtxt { # [doc = " @deprecated Use xmlCtxtGetSaxHandler() and\n xmlCtxtSetSaxHandler().\n\n the SAX handler"] pub sax : * mut _xmlSAXHandler , # [doc = " @deprecated Use #xmlCtxtGetUserData\n\n user data for SAX interface, defaults to the context itself"] pub userData : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlCtxtGetDocument()\n\n the document being built"] pub myDoc : * mut xmlDoc , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document well formed?"] pub wellFormed : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_NOENT\n\n shall we replace entities?"] pub replaceEntities : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetVersion()\n\n the XML version string"] pub version : * mut xmlChar , # [doc = " @deprecated Use xmlCtxtGetDeclaredEncoding()\n\n the declared encoding, if any"] pub encoding : * mut xmlChar , # [doc = " @deprecated Use xmlCtxtGetStandalone()\n\n standalone document"] pub standalone : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsHtml()\n\n non-zero for HTML documents, actually an htmlInsertMode"] pub html : :: std :: os :: raw :: c_int , pub input : * mut xmlParserInput , pub inputNr : :: std :: os :: raw :: c_int , pub inputMax : :: std :: os :: raw :: c_int , pub inputTab : * mut * mut xmlParserInput , # [doc = " @deprecated Use #xmlCtxtGetNode\n\n The current element."] pub node : * mut xmlNode , pub nodeNr : :: std :: os :: raw :: c_int , pub nodeMax : :: std :: os :: raw :: c_int , pub nodeTab : * mut * mut xmlNode , pub record_info : :: std :: os :: raw :: c_int , pub node_seq : xmlParserNodeInfoSeq , # [doc = " @deprecated Use xmlCtxtGetLastError()\n\n error code"] pub errNo : :: std :: os :: raw :: c_int , pub hasExternalSubset : :: std :: os :: raw :: c_int , pub hasPErefs : :: std :: os :: raw :: c_int , pub external : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document valid"] pub valid : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_DTDVALID\n\n shall we try to validate?"] pub validate : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetValidCtxt()\n\n The validity context"] pub vctxt : xmlValidCtxt , pub instate : xmlParserInputState , pub token : :: std :: os :: raw :: c_int , # [doc = " @deprecated Don't use\n\n The main document URI, if available, with its last\n component stripped."] pub directory : * mut :: std :: os :: raw :: c_char , pub name : * const xmlChar , pub nameNr : :: std :: os :: raw :: c_int , pub nameMax : :: std :: os :: raw :: c_int , pub nameTab : * mut * const xmlChar , pub nbChars : :: std :: os :: raw :: c_long , pub checkIndex : :: std :: os :: raw :: c_long , # [doc = " @deprecated Use inverted xmlParserOption XML_PARSE_NOBLANKS\n\n ugly but ..."] pub keepBlanks : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsStopped()\n\n SAX callbacks are disabled"] pub disableSAX : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsInSubset\n\n Set if DTD content is parsed.\n\n - 0: not in DTD\n - 1: in internal DTD subset\n - 2: in external DTD subset"] pub inSubset : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use the `name` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n Name of the internal subset (root element type)."] pub intSubName : * const xmlChar , # [doc = " @deprecated Use the `systemId` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n System identifier (URI) of external the subset."] pub extSubURI : * mut xmlChar , # [doc = " @deprecated Use the `publicId` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n This member is MISNAMED. It contains the *public* identifier\n of the external subset."] pub extSubSystem : * mut xmlChar , pub space : * mut :: std :: os :: raw :: c_int , pub spaceNr : :: std :: os :: raw :: c_int , pub spaceMax : :: std :: os :: raw :: c_int , pub spaceTab : * mut :: std :: os :: raw :: c_int , pub depth : :: std :: os :: raw :: c_int , pub entity : * mut xmlParserInput , pub charset : :: std :: os :: raw :: c_int , pub nodelen : :: std :: os :: raw :: c_int , pub nodemem : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_PEDANTIC\n\n signal pedantic warnings"] pub pedantic : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetPrivate() and xmlCtxtSetPrivate()\n\n For user data, libxml won't touch it"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlParserOption XML_PARSE_DTDLOAD,\n XML_PARSE_DTDATTR or XML_PARSE_SKIP_IDS.\n\n Control loading of the external subset and handling of IDs.\n Other options like `validate` can override this value.\n\n - 0: The default behavior is to process IDs and to ignore\n   the external subset.\n - XML_DETECT_IDS: Load external subset. This flag is\n   misnamed. ID handling is only controlled by XML_SKIP_IDS.\n - XML_COMPLETE_ATTRS: Load external subset and process\n   default attributes.\n - XML_SKIP_IDS: Ignore IDs."] pub loadsubset : :: std :: os :: raw :: c_int , pub linenumbers : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetCatalogs() and xmlCtxtSetCatalogs()\n\n document's own catalog"] pub catalogs : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlParserOption XML_PARSE_RECOVER\n run in recovery mode"] pub recovery : :: std :: os :: raw :: c_int , pub progressive : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetDict() and xmlCtxtSetDict()\n\n dictionary for the parser"] pub dict : * mut xmlDict , pub atts : * mut * const xmlChar , pub maxatts : :: std :: os :: raw :: c_int , pub docdict : :: std :: os :: raw :: c_int , pub str_xml : * const xmlChar , pub str_xmlns : * const xmlChar , pub str_xml_ns : * const xmlChar , pub sax2 : :: std :: os :: raw :: c_int , pub nsNr : :: std :: os :: raw :: c_int , pub nsMax : :: std :: os :: raw :: c_int , pub nsTab : * mut * const xmlChar , pub attallocs : * mut :: std :: os :: raw :: c_uint , pub pushTab : * mut xmlStartTag , pub attsDefault : * mut xmlHashTable , pub attsSpecial : * mut xmlHashTable , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document XML Namespace okay"] pub nsWellFormed : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetOptions()\n\n Extra options"] pub options : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use inverted xmlParserOption XML_PARSE_NODICT\n\n Use dictionary names for the tree"] pub dictNames : :: std :: os :: raw :: c_int , pub freeElemsNr : :: std :: os :: raw :: c_int , pub freeElems : * mut xmlNode , pub freeAttrsNr : :: std :: os :: raw :: c_int , pub freeAttrs : * mut xmlAttr , # [doc = " @deprecated Use xmlCtxtGetLastError()\n\n the complete error information for the last error."] pub lastError : xmlError , pub parseMode : xmlParserMode , pub nbentities : :: std :: os :: raw :: c_ulong , pub sizeentities : :: std :: os :: raw :: c_ulong , pub nodeInfo : * mut xmlParserNodeInfo , pub nodeInfoNr : :: std :: os :: raw :: c_int , pub nodeInfoMax : :: std :: os :: raw :: c_int , pub nodeInfoTab : * mut xmlParserNodeInfo , pub input_id : :: std :: os :: raw :: c_int , pub sizeentcopy : :: std :: os :: raw :: c_ulong , pub endCheckState : :: std :: os :: raw :: c_int , pub nbErrors : :: std :: os :: raw :: c_ushort , pub nbWarnings : :: std :: os :: raw :: c_ushort , pub maxAmpl : :: std :: os :: raw :: c_uint , pub nsdb : * mut xmlParserNsData , pub attrHashMax : :: std :: os :: raw :: c_uint , pub attrHash : * mut xmlAttrHashBucket , pub errorHandler : xmlStructuredErrorFunc , pub errorCtxt : * mut :: std :: os :: raw :: c_void , pub resourceLoader : xmlResourceLoader , pub resourceCtxt : * mut :: std :: os :: raw :: c_void , pub convImpl : xmlCharEncConvImpl , pub convCtxt : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserCtxt"] [:: std :: mem :: size_of :: < _xmlParserCtxt > () - 840usize] ; ["Alignment of _xmlParserCtxt"] [:: std :: mem :: align_of :: < _xmlParserCtxt > () - 8usize] ; ["Offset of field: _xmlParserCtxt::sax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sax) - 0usize] ; ["Offset of field: _xmlParserCtxt::userData"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , userData) - 8usize] ; ["Offset of field: _xmlParserCtxt::myDoc"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , myDoc) - 16usize] ; ["Offset of field: _xmlParserCtxt::wellFormed"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , wellFormed) - 24usize] ; ["Offset of field: _xmlParserCtxt::replaceEntities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , replaceEntities) - 28usize] ; ["Offset of field: _xmlParserCtxt::version"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , version) - 32usize] ; ["Offset of field: _xmlParserCtxt::encoding"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , encoding) - 40usize] ; ["Offset of field: _xmlParserCtxt::standalone"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , standalone) - 48usize] ; ["Offset of field: _xmlParserCtxt::html"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , html) - 52usize] ; ["Offset of field: _xmlParserCtxt::input"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , input) - 56usize] ; ["Offset of field: _xmlParserCtxt::inputNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputNr) - 64usize] ; ["Offset of field: _xmlParserCtxt::inputMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputMax) - 68usize] ; ["Offset of field: _xmlParserCtxt::inputTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputTab) - 72usize] ; ["Offset of field: _xmlParserCtxt::node"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , node) - 80usize] ; ["Offset of field: _xmlParserCtxt::nodeNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeNr) - 88usize] ; ["Offset of field: _xmlParserCtxt::nodeMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeMax) - 92usize] ; ["Offset of field: _xmlParserCtxt::nodeTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeTab) - 96usize] ; ["Offset of field: _xmlParserCtxt::record_info"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , record_info) - 104usize] ; ["Offset of field: _xmlParserCtxt::node_seq"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , node_seq) - 112usize] ; ["Offset of field: _xmlParserCtxt::errNo"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errNo) - 136usize] ; ["Offset of field: _xmlParserCtxt::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , hasExternalSubset) - 140usize] ; ["Offset of field: _xmlParserCtxt::hasPErefs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , hasPErefs) - 144usize] ; ["Offset of field: _xmlParserCtxt::external"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , external) - 148usize] ; ["Offset of field: _xmlParserCtxt::valid"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , valid) - 152usize] ; ["Offset of field: _xmlParserCtxt::validate"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , validate) - 156usize] ; ["Offset of field: _xmlParserCtxt::vctxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , vctxt) - 160usize] ; ["Offset of field: _xmlParserCtxt::instate"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , instate) - 272usize] ; ["Offset of field: _xmlParserCtxt::token"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , token) - 276usize] ; ["Offset of field: _xmlParserCtxt::directory"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , directory) - 280usize] ; ["Offset of field: _xmlParserCtxt::name"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , name) - 288usize] ; ["Offset of field: _xmlParserCtxt::nameNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameNr) - 296usize] ; ["Offset of field: _xmlParserCtxt::nameMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameMax) - 300usize] ; ["Offset of field: _xmlParserCtxt::nameTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameTab) - 304usize] ; ["Offset of field: _xmlParserCtxt::nbChars"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbChars) - 312usize] ; ["Offset of field: _xmlParserCtxt::checkIndex"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , checkIndex) - 320usize] ; ["Offset of field: _xmlParserCtxt::keepBlanks"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , keepBlanks) - 328usize] ; ["Offset of field: _xmlParserCtxt::disableSAX"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , disableSAX) - 332usize] ; ["Offset of field: _xmlParserCtxt::inSubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inSubset) - 336usize] ; ["Offset of field: _xmlParserCtxt::intSubName"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , intSubName) - 344usize] ; ["Offset of field: _xmlParserCtxt::extSubURI"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , extSubURI) - 352usize] ; ["Offset of field: _xmlParserCtxt::extSubSystem"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , extSubSystem) - 360usize] ; ["Offset of field: _xmlParserCtxt::space"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , space) - 368usize] ; ["Offset of field: _xmlParserCtxt::spaceNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceNr) - 376usize] ; ["Offset of field: _xmlParserCtxt::spaceMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceMax) - 380usize] ; ["Offset of field: _xmlParserCtxt::spaceTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceTab) - 384usize] ; ["Offset of field: _xmlParserCtxt::depth"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , depth) - 392usize] ; ["Offset of field: _xmlParserCtxt::entity"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , entity) - 400usize] ; ["Offset of field: _xmlParserCtxt::charset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , charset) - 408usize] ; ["Offset of field: _xmlParserCtxt::nodelen"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodelen) - 412usize] ; ["Offset of field: _xmlParserCtxt::nodemem"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodemem) - 416usize] ; ["Offset of field: _xmlParserCtxt::pedantic"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , pedantic) - 420usize] ; ["Offset of field: _xmlParserCtxt::_private"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , _private) - 424usize] ; ["Offset of field: _xmlParserCtxt::loadsubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , loadsubset) - 432usize] ; ["Offset of field: _xmlParserCtxt::linenumbers"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , linenumbers) - 436usize] ; ["Offset of field: _xmlParserCtxt::catalogs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , catalogs) - 440usize] ; ["Offset of field: _xmlParserCtxt::recovery"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , recovery) - 448usize] ; ["Offset of field: _xmlParserCtxt::progressive"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , progressive) - 452usize] ; ["Offset of field: _xmlParserCtxt::dict"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , dict) - 456usize] ; ["Offset of field: _xmlParserCtxt::atts"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , atts) - 464usize] ; ["Offset of field: _xmlParserCtxt::maxatts"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , maxatts) - 472usize] ; ["Offset of field: _xmlParserCtxt::docdict"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , docdict) - 476usize] ; ["Offset of field: _xmlParserCtxt::str_xml"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xml) - 480usize] ; ["Offset of field: _xmlParserCtxt::str_xmlns"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xmlns) - 488usize] ; ["Offset of field: _xmlParserCtxt::str_xml_ns"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xml_ns) - 496usize] ; ["Offset of field: _xmlParserCtxt::sax2"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sax2) - 504usize] ; ["Offset of field: _xmlParserCtxt::nsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsNr) - 508usize] ; ["Offset of field: _xmlParserCtxt::nsMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsMax) - 512usize] ; ["Offset of field: _xmlParserCtxt::nsTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsTab) - 520usize] ; ["Offset of field: _xmlParserCtxt::attallocs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attallocs) - 528usize] ; ["Offset of field: _xmlParserCtxt::pushTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , pushTab) - 536usize] ; ["Offset of field: _xmlParserCtxt::attsDefault"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attsDefault) - 544usize] ; ["Offset of field: _xmlParserCtxt::attsSpecial"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attsSpecial) - 552usize] ; ["Offset of field: _xmlParserCtxt::nsWellFormed"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsWellFormed) - 560usize] ; ["Offset of field: _xmlParserCtxt::options"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , options) - 564usize] ; ["Offset of field: _xmlParserCtxt::dictNames"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , dictNames) - 568usize] ; ["Offset of field: _xmlParserCtxt::freeElemsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeElemsNr) - 572usize] ; ["Offset of field: _xmlParserCtxt::freeElems"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeElems) - 576usize] ; ["Offset of field: _xmlParserCtxt::freeAttrsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeAttrsNr) - 584usize] ; ["Offset of field: _xmlParserCtxt::freeAttrs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeAttrs) - 592usize] ; ["Offset of field: _xmlParserCtxt::lastError"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , lastError) - 600usize] ; ["Offset of field: _xmlParserCtxt::parseMode"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , parseMode) - 688usize] ; ["Offset of field: _xmlParserCtxt::nbentities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbentities) - 696usize] ; ["Offset of field: _xmlParserCtxt::sizeentities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sizeentities) - 704usize] ; ["Offset of field: _xmlParserCtxt::nodeInfo"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfo) - 712usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoNr) - 720usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoMax) - 724usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoTab) - 728usize] ; ["Offset of field: _xmlParserCtxt::input_id"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , input_id) - 736usize] ; ["Offset of field: _xmlParserCtxt::sizeentcopy"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sizeentcopy) - 744usize] ; ["Offset of field: _xmlParserCtxt::endCheckState"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , endCheckState) - 752usize] ; ["Offset of field: _xmlParserCtxt::nbErrors"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbErrors) - 756usize] ; ["Offset of field: _xmlParserCtxt::nbWarnings"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbWarnings) - 758usize] ; ["Offset of field: _xmlParserCtxt::maxAmpl"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , maxAmpl) - 760usize] ; ["Offset of field: _xmlParserCtxt::nsdb"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsdb) - 768usize] ; ["Offset of field: _xmlParserCtxt::attrHashMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attrHashMax) - 776usize] ; ["Offset of field: _xmlParserCtxt::attrHash"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attrHash) - 784usize] ; ["Offset of field: _xmlParserCtxt::errorHandler"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errorHandler) - 792usize] ; ["Offset of field: _xmlParserCtxt::errorCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errorCtxt) - 800usize] ; ["Offset of field: _xmlParserCtxt::resourceLoader"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , resourceLoader) - 808usize] ; ["Offset of field: _xmlParserCtxt::resourceCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , resourceCtxt) - 816usize] ; ["Offset of field: _xmlParserCtxt::convImpl"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , convImpl) - 824usize] ; ["Offset of field: _xmlParserCtxt::convCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , convCtxt) - 832usize] ; } ; # [doc = " A SAX Locator."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXLocator { pub getPublicId : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar > , pub getSystemId : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar > , pub getLineNumber : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , pub getColumnNumber : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXLocator"] [:: std :: mem :: size_of :: < _xmlSAXLocator > () - 32usize] ; ["Alignment of _xmlSAXLocator"] [:: std :: mem :: align_of :: < _xmlSAXLocator > () - 8usize] ; ["Offset of field: _xmlSAXLocator::getPublicId"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getPublicId) - 0usize] ; ["Offset of field: _xmlSAXLocator::getSystemId"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getSystemId) - 8usize] ; ["Offset of field: _xmlSAXLocator::getLineNumber"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getLineNumber) - 16usize] ; ["Offset of field: _xmlSAXLocator::getColumnNumber"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getColumnNumber) - 24usize] ; } ; # [doc = " SAX callback to resolve external entities.\n\n This is only used to load DTDs. The preferred way to install\n custom resolvers is #xmlCtxtSetResourceLoader.\n\n @param ctx  the user data (XML parser context)\n @param publicId  The public identifier of the entity\n @param systemId  The system identifier of the entity (URL)\n @returns the xmlParserInput if inlined or NULL for DOM behaviour."] pub type resolveEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlParserInput > ; # [doc = " SAX callback for the internal subset.\n\n @param ctx  the user data (XML parser context)\n @param name  the root element name\n @param publicId  the public identifier\n @param systemId  the system identifier (e.g. filename or URL)"] pub type internalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback for the external subset.\n\n @param ctx  the user data (XML parser context)\n @param name  the root element name\n @param publicId  the public identifier\n @param systemId  the system identifier (e.g. filename or URL)"] pub type externalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback to look up a general entity by name.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name\n @returns the xmlEntity if found."] pub type getEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity > ; # [doc = " SAX callback to look up a parameter entity by name.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name\n @returns the xmlEntity if found."] pub type getParameterEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity > ; # [doc = " SAX callback for entity declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  the entity name\n @param type  the entity type\n @param publicId  The public ID of the entity\n @param systemId  The system ID of the entity\n @param content  the entity value (without processing)."] pub type entityDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * mut xmlChar) > ; # [doc = " SAX callback for notation declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  The name of the notation\n @param publicId  The public ID of the notation\n @param systemId  The system ID of the notation"] pub type notationDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback for attribute declarations.\n\n @param ctx  the user data (XML parser context)\n @param elem  the name of the element\n @param fullname  the attribute name\n @param type  the attribute type\n @param def  the type of default value\n @param defaultValue  the attribute default value\n @param tree  the tree of enumerated value set"] pub type attributeDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , elem : * const xmlChar , fullname : * const xmlChar , type_ : :: std :: os :: raw :: c_int , def : :: std :: os :: raw :: c_int , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) > ; # [doc = " SAX callback for element declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  the element name\n @param type  the element type\n @param content  the element value tree"] pub type elementDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , content : * mut xmlElementContent) > ; # [doc = " SAX callback for unparsed entity declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  The name of the entity\n @param publicId  The public ID of the entity\n @param systemId  The system ID of the entity\n @param notationName  the name of the notation"] pub type unparsedEntityDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar , notationName : * const xmlChar) > ; # [doc = " This callback receives the \"document locator\" at startup,\n which is always the global xmlDefaultSAXLocator.\n\n Everything is available on the context, so this is useless in\n our case.\n\n @param ctx  the user data (XML parser context)\n @param loc  A SAX Locator"] pub type setDocumentLocatorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , loc : * mut xmlSAXLocator) > ; # [doc = " SAX callback for start of document.\n\n @param ctx  the user data (XML parser context)"] pub type startDocumentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) > ; # [doc = " SAX callback for end of document.\n\n @param ctx  the user data (XML parser context)"] pub type endDocumentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) > ; # [doc = " SAX callback for start tags.\n\n @param ctx  the user data (XML parser context)\n @param name  The element name, including namespace prefix\n @param atts  An array of name/value attributes pairs, NULL terminated"] pub type startElementSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , atts : * mut * const xmlChar) > ; # [doc = " SAX callback for end tags.\n\n @param ctx  the user data (XML parser context)\n @param name  The element name"] pub type endElementSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback for attributes.\n\n @deprecated This typedef is unused.\n\n @param ctx  the user data (XML parser context)\n @param name  The attribute name, including namespace prefix\n @param value  The attribute value"] pub type attributeSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , value : * const xmlChar) > ; # [doc = " SAX callback for entity references.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name"] pub type referenceSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " SAX callback for character data.\n\n @param ctx  the user data (XML parser context)\n @param ch  a xmlChar string\n @param len  the number of xmlChar"] pub type charactersSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for \"ignorable\" whitespace.\n\n @param ctx  the user data (XML parser context)\n @param ch  a xmlChar string\n @param len  the number of xmlChar"] pub type ignorableWhitespaceSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for processing instructions.\n\n @param ctx  the user data (XML parser context)\n @param target  the target name\n @param data  the PI data's"] pub type processingInstructionSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , target : * const xmlChar , data : * const xmlChar) > ; # [doc = " SAX callback for comments.\n\n @param ctx  the user data (XML parser context)\n @param value  the comment content"] pub type commentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar) > ; # [doc = " SAX callback for CDATA sections.\n\n @param ctx  the user data (XML parser context)\n @param value  The pcdata content\n @param len  the block length"] pub type cdataBlockSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for warning messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type warningSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback for error messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type errorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback for fatal error messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type fatalErrorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback to get standalone status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type isStandaloneSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX callback to get internal subset status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type hasInternalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX callback to get external subset status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type hasExternalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX2 callback for start tags.\n\n It provides the namespace information for the element, as well as\n the new namespace declarations on the element.\n\n @param ctx  the user data (XML parser context)\n @param localname  the local name of the element\n @param prefix  the element namespace prefix if available\n @param URI  the element namespace name if available\n @param nb_namespaces  number of namespace definitions on that node\n @param namespaces  pointer to the array of prefix/URI pairs namespace definitions\n @param nb_attributes  the number of attributes on that node\n @param nb_defaulted  the number of defaulted attributes. The defaulted\n                  ones are at the end of the array\n @param attributes  pointer to the array of (localname/prefix/URI/value/end)\n               attribute values."] pub type startElementNsSAX2Func = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar , nb_namespaces : :: std :: os :: raw :: c_int , namespaces : * mut * const xmlChar , nb_attributes : :: std :: os :: raw :: c_int , nb_defaulted : :: std :: os :: raw :: c_int , attributes : * mut * const xmlChar) > ; # [doc = " SAX2 callback for end tags.\n\n It provides the namespace information for the element.\n\n @param ctx  the user data (XML parser context)\n @param localname  the local name of the element\n @param prefix  the element namespace prefix if available\n @param URI  the element namespace name if available"] pub type endElementNsSAX2Func = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar) > ; # [doc = " Callbacks for SAX parser\n\n For DTD-related handlers, it's recommended to either use the\n original libxml2 handler or set them to NULL if DTDs can be\n ignored."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXHandler { # [doc = " Called after the start of the document type declaration\n was parsed.\n\n Should typically not be modified."] pub internalSubset : internalSubsetSAXFunc , # [doc = " Standalone status. Not invoked by the parser. Not supposed\n to be changed by applications."] pub isStandalone : isStandaloneSAXFunc , # [doc = " Internal subset availability. Not invoked by the parser.\n Not supposed to be changed by applications."] pub hasInternalSubset : hasInternalSubsetSAXFunc , # [doc = " External subset availability. Not invoked by the parser.\n Not supposed to be changed by applications."] pub hasExternalSubset : hasExternalSubsetSAXFunc , # [doc = " Only called when loading external DTDs. Not called to load\n external entities.\n\n Should typically not be modified."] pub resolveEntity : resolveEntitySAXFunc , # [doc = " Called when looking up general entities.\n\n Should typically not be modified."] pub getEntity : getEntitySAXFunc , # [doc = " Called after an entity declaration was parsed.\n\n Should typically not be modified."] pub entityDecl : entityDeclSAXFunc , # [doc = " Called after a notation declaration was parsed.\n\n Should typically not be modified."] pub notationDecl : notationDeclSAXFunc , # [doc = " Called after an attribute declaration was parsed.\n\n Should typically not be modified."] pub attributeDecl : attributeDeclSAXFunc , # [doc = " Called after an element declaration was parsed.\n\n Should typically not be modified."] pub elementDecl : elementDeclSAXFunc , # [doc = " Called after an unparsed entity declaration was parsed.\n\n Should typically not be modified."] pub unparsedEntityDecl : unparsedEntityDeclSAXFunc , # [doc = " This callback receives the \"document locator\" at startup,\n which is always the global xmlDefaultSAXLocator.\n\n Everything is available on the context, so this is useless in\n our case."] pub setDocumentLocator : setDocumentLocatorSAXFunc , # [doc = " Called after the XML declaration was parsed.\n\n Use xmlCtxtGetVersion(), xmlCtxtGetDeclaredEncoding() and\n xmlCtxtGetStandalone() to get data from the XML declaration."] pub startDocument : startDocumentSAXFunc , # [doc = " Called at the end of the document."] pub endDocument : endDocumentSAXFunc , # [doc = " Legacy start tag handler\n\n `startElement` and `endElement` are only used by the legacy SAX1\n interface and should not be used in new software. If you really\n have to enable SAX1, the preferred way is set the `initialized`\n member to 1 instead of XML_SAX2_MAGIC.\n\n For backward compatibility, it's also possible to set the\n `startElementNs` and `endElementNs` handlers to NULL.\n\n You can also set the XML_PARSE_SAX1 parser option, but versions\n older than 2.12.0 will probably crash if this option is provided\n together with custom SAX callbacks."] pub startElement : startElementSAXFunc , # [doc = " See _xmlSAXHandler.startElement"] pub endElement : endElementSAXFunc , # [doc = " Called after an entity reference was parsed."] pub reference : referenceSAXFunc , # [doc = " Called after a character data was parsed."] pub characters : charactersSAXFunc , # [doc = " Called after \"ignorable\" whitespace was parsed.\n\n `ignorableWhitespace` should always be set to the same value\n as `characters`. Otherwise, the parser will try to detect\n whitespace which is unreliable."] pub ignorableWhitespace : ignorableWhitespaceSAXFunc , # [doc = " Called after a processing instruction was parsed."] pub processingInstruction : processingInstructionSAXFunc , # [doc = " Called after a comment was parsed."] pub comment : commentSAXFunc , # [doc = " Callback for warning messages."] pub warning : warningSAXFunc , # [doc = " Callback for error messages."] pub error : errorSAXFunc , # [doc = " Unused, all errors go to `error`."] pub fatalError : fatalErrorSAXFunc , # [doc = " Called when looking up parameter entities.\n\n Should typically not be modified."] pub getParameterEntity : getParameterEntitySAXFunc , # [doc = " Called after a CDATA section was parsed."] pub cdataBlock : cdataBlockSAXFunc , # [doc = " Called to parse the external subset.\n\n Should typically not be modified."] pub externalSubset : externalSubsetSAXFunc , # [doc = " Legacy magic value\n\n `initialized` should always be set to XML_SAX2_MAGIC to\n enable the modern SAX2 interface."] pub initialized : :: std :: os :: raw :: c_uint , # [doc = " Application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " Called after a start tag was parsed."] pub startElementNs : startElementNsSAX2Func , # [doc = " Called after an end tag was parsed."] pub endElementNs : endElementNsSAX2Func , # [doc = " Structured error handler.\n\n Takes precedence over `error` or `warning`, but modern code\n should use xmlCtxtSetErrorHandler()."] pub serror : xmlStructuredErrorFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXHandler"] [:: std :: mem :: size_of :: < _xmlSAXHandler > () - 256usize] ; ["Alignment of _xmlSAXHandler"] [:: std :: mem :: align_of :: < _xmlSAXHandler > () - 8usize] ; ["Offset of field: _xmlSAXHandler::internalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , internalSubset) - 0usize] ; ["Offset of field: _xmlSAXHandler::isStandalone"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , isStandalone) - 8usize] ; ["Offset of field: _xmlSAXHandler::hasInternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , hasInternalSubset) - 16usize] ; ["Offset of field: _xmlSAXHandler::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , hasExternalSubset) - 24usize] ; ["Offset of field: _xmlSAXHandler::resolveEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , resolveEntity) - 32usize] ; ["Offset of field: _xmlSAXHandler::getEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , getEntity) - 40usize] ; ["Offset of field: _xmlSAXHandler::entityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , entityDecl) - 48usize] ; ["Offset of field: _xmlSAXHandler::notationDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , notationDecl) - 56usize] ; ["Offset of field: _xmlSAXHandler::attributeDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , attributeDecl) - 64usize] ; ["Offset of field: _xmlSAXHandler::elementDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , elementDecl) - 72usize] ; ["Offset of field: _xmlSAXHandler::unparsedEntityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , unparsedEntityDecl) - 80usize] ; ["Offset of field: _xmlSAXHandler::setDocumentLocator"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , setDocumentLocator) - 88usize] ; ["Offset of field: _xmlSAXHandler::startDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startDocument) - 96usize] ; ["Offset of field: _xmlSAXHandler::endDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endDocument) - 104usize] ; ["Offset of field: _xmlSAXHandler::startElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startElement) - 112usize] ; ["Offset of field: _xmlSAXHandler::endElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endElement) - 120usize] ; ["Offset of field: _xmlSAXHandler::reference"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , reference) - 128usize] ; ["Offset of field: _xmlSAXHandler::characters"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , characters) - 136usize] ; ["Offset of field: _xmlSAXHandler::ignorableWhitespace"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , ignorableWhitespace) - 144usize] ; ["Offset of field: _xmlSAXHandler::processingInstruction"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , processingInstruction) - 152usize] ; ["Offset of field: _xmlSAXHandler::comment"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , comment) - 160usize] ; ["Offset of field: _xmlSAXHandler::warning"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , warning) - 168usize] ; ["Offset of field: _xmlSAXHandler::error"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , error) - 176usize] ; ["Offset of field: _xmlSAXHandler::fatalError"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , fatalError) - 184usize] ; ["Offset of field: _xmlSAXHandler::getParameterEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , getParameterEntity) - 192usize] ; ["Offset of field: _xmlSAXHandler::cdataBlock"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , cdataBlock) - 200usize] ; ["Offset of field: _xmlSAXHandler::externalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , externalSubset) - 208usize] ; ["Offset of field: _xmlSAXHandler::initialized"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , initialized) - 216usize] ; ["Offset of field: _xmlSAXHandler::_private"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , _private) - 224usize] ; ["Offset of field: _xmlSAXHandler::startElementNs"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startElementNs) - 232usize] ; ["Offset of field: _xmlSAXHandler::endElementNs"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endElementNs) - 240usize] ; ["Offset of field: _xmlSAXHandler::serror"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , serror) - 248usize] ; } ; # [doc = " SAX handler, version 1.\n\n @deprecated Use version 2 handlers."] pub type xmlSAXHandlerV1 = _xmlSAXHandlerV1 ; pub type xmlSAXHandlerV1Ptr = * mut xmlSAXHandlerV1 ; # [doc = " SAX handler, version 1.\n\n @deprecated Use version 2 handlers."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXHandlerV1 { pub internalSubset : internalSubsetSAXFunc , pub isStandalone : isStandaloneSAXFunc , pub hasInternalSubset : hasInternalSubsetSAXFunc , pub hasExternalSubset : hasExternalSubsetSAXFunc , pub resolveEntity : resolveEntitySAXFunc , pub getEntity : getEntitySAXFunc , pub entityDecl : entityDeclSAXFunc , pub notationDecl : notationDeclSAXFunc , pub attributeDecl : attributeDeclSAXFunc , pub elementDecl : elementDeclSAXFunc , pub unparsedEntityDecl : unparsedEntityDeclSAXFunc , pub setDocumentLocator : setDocumentLocatorSAXFunc , pub startDocument : startDocumentSAXFunc , pub endDocument : endDocumentSAXFunc , pub startElement : startElementSAXFunc , pub endElement : endElementSAXFunc , pub reference : referenceSAXFunc , pub characters : charactersSAXFunc , pub ignorableWhitespace : ignorableWhitespaceSAXFunc , pub processingInstruction : processingInstructionSAXFunc , pub comment : commentSAXFunc , pub warning : warningSAXFunc , pub error : errorSAXFunc , pub fatalError : fatalErrorSAXFunc , pub getParameterEntity : getParameterEntitySAXFunc , pub cdataBlock : cdataBlockSAXFunc , pub externalSubset : externalSubsetSAXFunc , pub initialized : :: std :: os :: raw :: c_uint , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXHandlerV1"] [:: std :: mem :: size_of :: < _xmlSAXHandlerV1 > () - 224usize] ; ["Alignment of _xmlSAXHandlerV1"] [:: std :: mem :: align_of :: < _xmlSAXHandlerV1 > () - 8usize] ; ["Offset of field: _xmlSAXHandlerV1::internalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , internalSubset) - 0usize] ; ["Offset of field: _xmlSAXHandlerV1::isStandalone"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , isStandalone) - 8usize] ; ["Offset of field: _xmlSAXHandlerV1::hasInternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , hasInternalSubset) - 16usize] ; ["Offset of field: _xmlSAXHandlerV1::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , hasExternalSubset) - 24usize] ; ["Offset of field: _xmlSAXHandlerV1::resolveEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , resolveEntity) - 32usize] ; ["Offset of field: _xmlSAXHandlerV1::getEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , getEntity) - 40usize] ; ["Offset of field: _xmlSAXHandlerV1::entityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , entityDecl) - 48usize] ; ["Offset of field: _xmlSAXHandlerV1::notationDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , notationDecl) - 56usize] ; ["Offset of field: _xmlSAXHandlerV1::attributeDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , attributeDecl) - 64usize] ; ["Offset of field: _xmlSAXHandlerV1::elementDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , elementDecl) - 72usize] ; ["Offset of field: _xmlSAXHandlerV1::unparsedEntityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , unparsedEntityDecl) - 80usize] ; ["Offset of field: _xmlSAXHandlerV1::setDocumentLocator"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , setDocumentLocator) - 88usize] ; ["Offset of field: _xmlSAXHandlerV1::startDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , startDocument) - 96usize] ; ["Offset of field: _xmlSAXHandlerV1::endDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , endDocument) - 104usize] ; ["Offset of field: _xmlSAXHandlerV1::startElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , startElement) - 112usize] ; ["Offset of field: _xmlSAXHandlerV1::endElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , endElement) - 120usize] ; ["Offset of field: _xmlSAXHandlerV1::reference"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , reference) - 128usize] ; ["Offset of field: _xmlSAXHandlerV1::characters"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , characters) - 136usize] ; ["Offset of field: _xmlSAXHandlerV1::ignorableWhitespace"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , ignorableWhitespace) - 144usize] ; ["Offset of field: _xmlSAXHandlerV1::processingInstruction"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , processingInstruction) - 152usize] ; ["Offset of field: _xmlSAXHandlerV1::comment"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , comment) - 160usize] ; ["Offset of field: _xmlSAXHandlerV1::warning"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , warning) - 168usize] ; ["Offset of field: _xmlSAXHandlerV1::error"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , error) - 176usize] ; ["Offset of field: _xmlSAXHandlerV1::fatalError"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , fatalError) - 184usize] ; ["Offset of field: _xmlSAXHandlerV1::getParameterEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , getParameterEntity) - 192usize] ; ["Offset of field: _xmlSAXHandlerV1::cdataBlock"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , cdataBlock) - 200usize] ; ["Offset of field: _xmlSAXHandlerV1::externalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , externalSubset) - 208usize] ; ["Offset of field: _xmlSAXHandlerV1::initialized"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , initialized) - 216usize] ; } ; # [doc = " Callback for external entity loader.\n\n The URL is not resolved using XML catalogs before being passed\n to the callback.\n\n @param URL  The URL or system ID of the resource requested\n @param publicId  The public ID of the resource requested (optional)\n @param context  the XML parser context\n @returns the entity input parser or NULL on error."] pub type xmlExternalEntityLoader = :: std :: option :: Option < unsafe extern "C" fn (URL : * const :: std :: os :: raw :: c_char , publicId : * const :: std :: os :: raw :: c_char , context : * mut xmlParserCtxt) -> * mut xmlParserInput > ; unsafe extern "C" { pub static xmlParserVersion : * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { # [doc = " @cond ignore"] pub static xmlDefaultSAXLocator : xmlSAXLocator ; } unsafe extern "C" { # [doc = " @deprecated Use #xmlSAXVersion or #xmlSAX2InitDefaultSAXHandler"] pub static xmlDefaultSAXHandler : xmlSAXHandlerV1 ; } unsafe extern "C" { pub fn __xmlDoValidityCheckingDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlGetWarningsDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlKeepBlanksDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlLineNumbersDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlLoadExtDtdDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlPedanticParserDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlSubstituteEntitiesDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlIndentTreeOutput () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlTreeIndentString () -> * mut * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn __xmlSaveNoEmptyTags () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlInitParser () ; } unsafe extern "C" { pub fn xmlCleanupParser () ; } unsafe extern "C" { pub fn xmlInitGlobals () ; } unsafe extern "C" { pub fn xmlCleanupGlobals () ; } unsafe extern "C" { pub fn xmlParserInputRead (in_ : * mut xmlParserInput , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputGrow (in_ : * mut xmlParserInput , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseDoc (cur : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseFile (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSubstituteEntitiesDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlKeepBlanksDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStopParser (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlPedanticParserDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlLineNumbersDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefSubstituteEntitiesDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefKeepBlanksDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefPedanticParserDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefLineNumbersDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefDoValidityCheckingDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefGetWarningsDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefLoadExtDtdDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRecoverDoc (cur : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlRecoverMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlRecoverFile (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseDocument (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseExtParsedEnt (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXUserParseFile (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXUserParseMemory (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXParseDoc (sax : * mut xmlSAXHandler , cur : * const xmlChar , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseMemory (sax : * mut xmlSAXHandler , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseMemoryWithData (sax : * mut xmlSAXHandler , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , recovery : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseFile (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseFileWithData (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char , recovery : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseEntity (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseEntity (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseDtd (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlCtxtValidateDocument (ctxt : * mut xmlParserCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtValidateDtd (ctxt : * mut xmlParserCtxt , doc : * mut xmlDoc , dtd : * mut xmlDtd) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXParseDTD (sax : * mut xmlSAXHandler , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlParseDTD (publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlIOParseDTD (sax : * mut xmlSAXHandler , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlParseBalancedChunkMemory (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , string : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseInNodeContext (node : * mut xmlNode , data : * const :: std :: os :: raw :: c_char , datalen : :: std :: os :: raw :: c_int , options : :: std :: os :: raw :: c_int , lst : * mut * mut xmlNode) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlParseBalancedChunkMemoryRecover (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , string : * const xmlChar , lst : * mut * mut xmlNode , recover : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseExternalEntity (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , URL : * const xmlChar , ID : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseCtxtExternalEntity (ctx : * mut xmlParserCtxt , URL : * const xmlChar , ID : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNewParserCtxt () -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlNewSAXParserCtxt (sax : * const xmlSAXHandler , userData : * mut :: std :: os :: raw :: c_void) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlInitParserCtxt (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlClearParserCtxt (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlFreeParserCtxt (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlSetupParserForBuffer (ctxt : * mut xmlParserCtxt , buffer : * const xmlChar , filename : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlCreateDocParserCtxt (cur : * const xmlChar) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlCreatePushParserCtxt (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , filename : * const :: std :: os :: raw :: c_char) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlParseChunk (ctxt : * mut xmlParserCtxt , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , terminate : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCreateIOParserCtxt (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , enc : xmlCharEncoding) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlNewIOInputStream (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlParserFindNodeInfo (ctxt : * mut xmlParserCtxt , node : * mut xmlNode) -> * const xmlParserNodeInfo ; } unsafe extern "C" { pub fn xmlInitNodeInfoSeq (seq : * mut xmlParserNodeInfoSeq) ; } unsafe extern "C" { pub fn xmlClearNodeInfoSeq (seq : * mut xmlParserNodeInfoSeq) ; } unsafe extern "C" { pub fn xmlParserFindNodeInfoIndex (seq : * mut xmlParserNodeInfoSeq , node : * mut xmlNode) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlParserAddNodeInfo (ctxt : * mut xmlParserCtxt , info : * mut xmlParserNodeInfo) ; } unsafe extern "C" { pub fn xmlSetExternalEntityLoader (f : xmlExternalEntityLoader) ; } unsafe extern "C" { pub fn xmlGetExternalEntityLoader () -> xmlExternalEntityLoader ; } unsafe extern "C" { pub fn xmlLoadExternalEntity (URL : * const :: std :: os :: raw :: c_char , ID : * const :: std :: os :: raw :: c_char , ctxt : * mut xmlParserCtxt) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlByteConsumed (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_long ; } # [doc = " Enable \"recovery\" mode which allows non-wellformed documents.\n How this mode behaves exactly is unspecified and may change\n without further notice. Use of this feature is DISCOURAGED.\n\n Not supported by the push parser."] pub const xmlParserOption_XML_PARSE_RECOVER : xmlParserOption = 1 ; # [doc = " Despite the confusing name, this option enables substitution\n of entities. The resulting tree won't contain any entity\n reference nodes.\n\n This option also enables loading of external entities (both\n general and parameter entities) which is dangerous. If you\n process untrusted data, it's recommended to set the\n XML_PARSE_NO_XXE option to disable loading of external\n entities."] pub const xmlParserOption_XML_PARSE_NOENT : xmlParserOption = 2 ; # [doc = " Enables loading of an external DTD and the loading and\n substitution of external parameter entities. Has no effect\n if XML_PARSE_NO_XXE is set."] pub const xmlParserOption_XML_PARSE_DTDLOAD : xmlParserOption = 4 ; # [doc = " Adds default attributes from the DTD to the result document.\n\n Implies XML_PARSE_DTDLOAD, but loading of external content\n can be disabled with XML_PARSE_NO_XXE."] pub const xmlParserOption_XML_PARSE_DTDATTR : xmlParserOption = 8 ; # [doc = " This option enables DTD validation which requires to load\n external DTDs and external entities (both general and\n parameter entities) unless XML_PARSE_NO_XXE was set.\n\n DTD validation is vulnerable to algorithmic complexity\n attacks and should never be enabled with untrusted input."] pub const xmlParserOption_XML_PARSE_DTDVALID : xmlParserOption = 16 ; # [doc = " Disable error and warning reports to the error handlers.\n Errors are still accessible with xmlCtxtGetLastError()."] pub const xmlParserOption_XML_PARSE_NOERROR : xmlParserOption = 32 ; # [doc = " Disable warning reports."] pub const xmlParserOption_XML_PARSE_NOWARNING : xmlParserOption = 64 ; # [doc = " Enable some pedantic warnings."] pub const xmlParserOption_XML_PARSE_PEDANTIC : xmlParserOption = 128 ; # [doc = " Remove some whitespace from the result document. Where to\n remove whitespace depends on DTD element declarations or a\n broken heuristic with unfixable bugs. Use of this option is\n DISCOURAGED.\n\n Not supported by the push parser."] pub const xmlParserOption_XML_PARSE_NOBLANKS : xmlParserOption = 256 ; # [doc = " Always invoke the deprecated SAX1 startElement and endElement\n handlers.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_SAX1 : xmlParserOption = 512 ; # [doc = " Enable XInclude processing. This option only affects the\n xmlTextReader and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_XINCLUDE : xmlParserOption = 1024 ; # [doc = " Disable network access with the built-in HTTP or FTP clients.\n\n After the last built-in network client was removed in 2.15,\n this option has no effect expect for being passed on to custom\n resource loaders."] pub const xmlParserOption_XML_PARSE_NONET : xmlParserOption = 2048 ; # [doc = " Create a document without interned strings, making all\n strings separate memory allocations."] pub const xmlParserOption_XML_PARSE_NODICT : xmlParserOption = 4096 ; # [doc = " Remove redundant namespace declarations from the result\n document."] pub const xmlParserOption_XML_PARSE_NSCLEAN : xmlParserOption = 8192 ; # [doc = " Output normal text nodes instead of CDATA nodes."] pub const xmlParserOption_XML_PARSE_NOCDATA : xmlParserOption = 16384 ; # [doc = " Don't generate XInclude start/end nodes when expanding\n inclusions. This option only affects the xmlTextReader\n and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_NOXINCNODE : xmlParserOption = 32768 ; # [doc = " Store small strings directly in the node struct to save\n memory."] pub const xmlParserOption_XML_PARSE_COMPACT : xmlParserOption = 65536 ; # [doc = " Use old Name productions from before XML 1.0 Fifth Edition.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_OLD10 : xmlParserOption = 131072 ; # [doc = " Don't fix up XInclude xml:base URIs. This option only affects\n the xmlTextReader and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_NOBASEFIX : xmlParserOption = 262144 ; # [doc = " Relax some internal limits.\n\n Maximum size of text nodes, tags, comments, processing instructions,\n CDATA sections, entity values\n\n normal: 10M\n huge:    1B\n\n Maximum size of names, system literals, pubid literals\n\n normal: 50K\n huge:   10M\n\n Maximum nesting depth of elements\n\n normal:  256\n huge:   2048\n\n Maximum nesting depth of entities\n\n normal: 20\n huge:   40"] pub const xmlParserOption_XML_PARSE_HUGE : xmlParserOption = 524288 ; # [doc = " Enable an unspecified legacy mode for SAX parsers.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_OLDSAX : xmlParserOption = 1048576 ; # [doc = " Ignore the encoding in the XML declaration. This option is\n mostly unneeded these days. The only effect is to enforce\n UTF-8 decoding of ASCII-like data."] pub const xmlParserOption_XML_PARSE_IGNORE_ENC : xmlParserOption = 2097152 ; # [doc = " Enable reporting of line numbers larger than 65535."] pub const xmlParserOption_XML_PARSE_BIG_LINES : xmlParserOption = 4194304 ; # [doc = " Disables loading of external DTDs or entities.\n\n @since 2.13.0"] pub const xmlParserOption_XML_PARSE_NO_XXE : xmlParserOption = 8388608 ; # [doc = " Enable input decompression. Setting this option is discouraged\n to avoid zip bombs.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_UNZIP : xmlParserOption = 16777216 ; # [doc = " Disables the global system XML catalog.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_NO_SYS_CATALOG : xmlParserOption = 33554432 ; # [doc = " Enable XML catalog processing instructions.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_CATALOG_PI : xmlParserOption = 67108864 ; # [doc = " Force the parser to ignore IDs.\n\n @since 2.15.0"] pub const xmlParserOption_XML_PARSE_SKIP_IDS : xmlParserOption = 134217728 ; # [doc = " This is the set of XML parser options that can be passed to\n #xmlReadDoc, #xmlCtxtSetOptions and other functions."] pub type xmlParserOption = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlCtxtReset (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlCtxtResetPush (ctxt : * mut xmlParserCtxt , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , filename : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetOptions (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtSetOptions (ctxt : * mut xmlParserCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtUseOptions (ctxt : * mut xmlParserCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetPrivate (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtSetPrivate (ctxt : * mut xmlParserCtxt , priv_ : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtGetCatalogs (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtSetCatalogs (ctxt : * mut xmlParserCtxt , catalogs : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtGetDict (ctxt : * mut xmlParserCtxt) -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlCtxtSetDict (ctxt : * mut xmlParserCtxt , arg1 : * mut xmlDict) ; } unsafe extern "C" { pub fn xmlCtxtGetSaxHandler (ctxt : * mut xmlParserCtxt) -> * mut xmlSAXHandler ; } unsafe extern "C" { pub fn xmlCtxtSetSaxHandler (ctxt : * mut xmlParserCtxt , sax : * const xmlSAXHandler) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetDocument (ctxt : * mut xmlParserCtxt) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtIsHtml (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtIsStopped (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtIsInSubset (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetValidCtxt (ctxt : * mut xmlParserCtxt) -> * mut xmlValidCtxt ; } unsafe extern "C" { pub fn xmlCtxtGetVersion (ctxt : * mut xmlParserCtxt) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCtxtGetDeclaredEncoding (ctxt : * mut xmlParserCtxt) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCtxtGetStandalone (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetStatus (ctxt : * mut xmlParserCtxt) -> xmlParserStatus ; } unsafe extern "C" { pub fn xmlCtxtGetUserData (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtGetNode (ctxt : * mut xmlParserCtxt) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCtxtGetDocTypeDecl (ctxt : * mut xmlParserCtxt , name : * mut * const xmlChar , systemId : * mut * const xmlChar , publicId : * mut * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetInputPosition (ctxt : * mut xmlParserCtxt , inputIndex : :: std :: os :: raw :: c_int , filname : * mut * const :: std :: os :: raw :: c_char , line : * mut :: std :: os :: raw :: c_int , col : * mut :: std :: os :: raw :: c_int , bytePos : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetInputWindow (ctxt : * mut xmlParserCtxt , inputIndex : :: std :: os :: raw :: c_int , startOut : * mut * const xmlChar , sizeInOut : * mut :: std :: os :: raw :: c_int , offsetOut : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtSetErrorHandler (ctxt : * mut xmlParserCtxt , handler : xmlStructuredErrorFunc , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetResourceLoader (ctxt : * mut xmlParserCtxt , loader : xmlResourceLoader , vctxt : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetCharEncConvImpl (ctxt : * mut xmlParserCtxt , impl_ : xmlCharEncConvImpl , vctxt : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetMaxAmplification (ctxt : * mut xmlParserCtxt , maxAmpl : :: std :: os :: raw :: c_uint) ; } unsafe extern "C" { pub fn xmlReadDoc (cur : * const xmlChar , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadFile (URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadFd (fd : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadIO (ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseDocument (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseContent (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput , node : * mut xmlNode , hasTextDecl : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCtxtReadDoc (ctxt : * mut xmlParserCtxt , cur : * const xmlChar , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadFile (ctxt : * mut xmlParserCtxt , filename : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadMemory (ctxt : * mut xmlParserCtxt , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadFd (ctxt : * mut xmlParserCtxt , fd : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadIO (ctxt : * mut xmlParserCtxt , ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlNewInputFromUrl (url : * const :: std :: os :: raw :: c_char , flags : xmlParserInputFlags , out : * mut * mut xmlParserInput) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlNewInputFromMemory (url : * const :: std :: os :: raw :: c_char , mem : * const :: std :: os :: raw :: c_void , size : usize , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromString (url : * const :: std :: os :: raw :: c_char , str_ : * const :: std :: os :: raw :: c_char , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromFd (url : * const :: std :: os :: raw :: c_char , fd : :: std :: os :: raw :: c_int , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromIO (url : * const :: std :: os :: raw :: c_char , ioRead : xmlInputReadCallback , ioClose : xmlInputCloseCallback , ioCtxt : * mut :: std :: os :: raw :: c_void , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlInputSetEncodingHandler (input : * mut xmlParserInput , handler : * mut xmlCharEncodingHandler) -> xmlParserErrors ; } # [doc = " Multithreading support"] pub const xmlFeature_XML_WITH_THREAD : xmlFeature = 1 ; # [doc = " @deprecated Always available"] pub const xmlFeature_XML_WITH_TREE : xmlFeature = 2 ; # [doc = " Serialization support"] pub const xmlFeature_XML_WITH_OUTPUT : xmlFeature = 3 ; # [doc = " Push parser"] pub const xmlFeature_XML_WITH_PUSH : xmlFeature = 4 ; # [doc = " XML Reader"] pub const xmlFeature_XML_WITH_READER : xmlFeature = 5 ; # [doc = " Streaming patterns"] pub const xmlFeature_XML_WITH_PATTERN : xmlFeature = 6 ; # [doc = " XML Writer"] pub const xmlFeature_XML_WITH_WRITER : xmlFeature = 7 ; # [doc = " Legacy SAX1 API"] pub const xmlFeature_XML_WITH_SAX1 : xmlFeature = 8 ; # [doc = " @deprecated FTP support was removed"] pub const xmlFeature_XML_WITH_FTP : xmlFeature = 9 ; # [doc = " @deprecated HTTP support was removed"] pub const xmlFeature_XML_WITH_HTTP : xmlFeature = 10 ; # [doc = " DTD validation"] pub const xmlFeature_XML_WITH_VALID : xmlFeature = 11 ; # [doc = " HTML parser"] pub const xmlFeature_XML_WITH_HTML : xmlFeature = 12 ; # [doc = " Legacy symbols"] pub const xmlFeature_XML_WITH_LEGACY : xmlFeature = 13 ; # [doc = " Canonical XML"] pub const xmlFeature_XML_WITH_C14N : xmlFeature = 14 ; # [doc = " XML Catalogs"] pub const xmlFeature_XML_WITH_CATALOG : xmlFeature = 15 ; # [doc = " XPath"] pub const xmlFeature_XML_WITH_XPATH : xmlFeature = 16 ; # [doc = " XPointer"] pub const xmlFeature_XML_WITH_XPTR : xmlFeature = 17 ; # [doc = " XInclude"] pub const xmlFeature_XML_WITH_XINCLUDE : xmlFeature = 18 ; # [doc = " iconv"] pub const xmlFeature_XML_WITH_ICONV : xmlFeature = 19 ; # [doc = " Built-in ISO-8859-X"] pub const xmlFeature_XML_WITH_ISO8859X : xmlFeature = 20 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_UNICODE : xmlFeature = 21 ; # [doc = " Regular expressions"] pub const xmlFeature_XML_WITH_REGEXP : xmlFeature = 22 ; # [doc = " @deprecated Same as XML_WITH_REGEXP"] pub const xmlFeature_XML_WITH_AUTOMATA : xmlFeature = 23 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_EXPR : xmlFeature = 24 ; # [doc = " XML Schemas"] pub const xmlFeature_XML_WITH_SCHEMAS : xmlFeature = 25 ; # [doc = " Schematron"] pub const xmlFeature_XML_WITH_SCHEMATRON : xmlFeature = 26 ; # [doc = " Loadable modules"] pub const xmlFeature_XML_WITH_MODULES : xmlFeature = 27 ; # [doc = " Debugging API"] pub const xmlFeature_XML_WITH_DEBUG : xmlFeature = 28 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_DEBUG_MEM : xmlFeature = 29 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_DEBUG_RUN : xmlFeature = 30 ; # [doc = " GZIP compression"] pub const xmlFeature_XML_WITH_ZLIB : xmlFeature = 31 ; # [doc = " ICU"] pub const xmlFeature_XML_WITH_ICU : xmlFeature = 32 ; # [doc = " @deprecated LZMA support was removed"] pub const xmlFeature_XML_WITH_LZMA : xmlFeature = 33 ; # [doc = " RELAXNG, since 2.14"] pub const xmlFeature_XML_WITH_RELAXNG : xmlFeature = 34 ; # [doc = " RELAXNG, since 2.14"] pub const xmlFeature_XML_WITH_NONE : xmlFeature = 99999 ; # [doc = " Used to examine the existence of features that can be enabled\n or disabled at compile-time.\n They used to be called XML_FEATURE_xxx but this clashed with Expat"] pub type xmlFeature = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlHasFeature (feature : xmlFeature) -> :: std :: os :: raw :: c_int ; } pub const xmlSchemaValidError_XML_SCHEMAS_ERR_OK : xmlSchemaValidError = 0 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOROOT : xmlSchemaValidError = 1 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_UNDECLAREDELEM : xmlSchemaValidError = 2 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTTOPLEVEL : xmlSchemaValidError = 3 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_MISSING : xmlSchemaValidError = 4 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_WRONGELEM : xmlSchemaValidError = 5 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTYPE : xmlSchemaValidError = 6 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOROLLBACK : xmlSchemaValidError = 7 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ISABSTRACT : xmlSchemaValidError = 8 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTEMPTY : xmlSchemaValidError = 9 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ELEMCONT : xmlSchemaValidError = 10 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_HAVEDEFAULT : xmlSchemaValidError = 11 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTNILLABLE : xmlSchemaValidError = 12 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_EXTRACONTENT : xmlSchemaValidError = 13 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INVALIDATTR : xmlSchemaValidError = 14 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INVALIDELEM : xmlSchemaValidError = 15 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTDETERMINIST : xmlSchemaValidError = 16 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_CONSTRUCT : xmlSchemaValidError = 17 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INTERNAL : xmlSchemaValidError = 18 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTSIMPLE : xmlSchemaValidError = 19 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ATTRUNKNOWN : xmlSchemaValidError = 20 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ATTRINVALID : xmlSchemaValidError = 21 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_VALUE : xmlSchemaValidError = 22 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_FACET : xmlSchemaValidError = 23 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ : xmlSchemaValidError = 24 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_XXX : xmlSchemaValidError = 25 ; # [doc = " This error codes are obsolete; not used any more."] pub type xmlSchemaValidError = :: std :: os :: raw :: c_uint ; pub const xmlSchemaValidOption_XML_SCHEMA_VAL_VC_I_CREATE : xmlSchemaValidOption = 1 ; # [doc = " This is the set of XML Schema validation options."] pub type xmlSchemaValidOption = :: std :: os :: raw :: c_uint ; # [doc = " XML schema"] pub type xmlSchema = _xmlSchema ; pub type xmlSchemaPtr = * mut xmlSchema ; # [doc = " Signature of an error callback from an XSD validation\n\n @param ctx  the validation context\n @param msg  the message\n @param ... extra arguments"] pub type xmlSchemaValidityErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Signature of a warning callback from an XSD validation\n\n @param ctx  the validation context\n @param msg  the message\n @param ... extra arguments"] pub type xmlSchemaValidityWarningFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaParserCtxt { _unused : [u8 ; 0] , } # [doc = " Schema parser context"] pub type xmlSchemaParserCtxt = _xmlSchemaParserCtxt ; pub type xmlSchemaParserCtxtPtr = * mut xmlSchemaParserCtxt ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaValidCtxt { _unused : [u8 ; 0] , } # [doc = " Schema validation context"] pub type xmlSchemaValidCtxt = _xmlSchemaValidCtxt ; pub type xmlSchemaValidCtxtPtr = * mut xmlSchemaValidCtxt ; # [doc = " A schemas validation locator, a callback called by the validator.\n This is used when file or node information are not available\n to find out what file and line number are affected\n\n @param ctx  user provided context\n @param file  returned file information\n @param line  returned line information\n @returns 0 in case of success and -1 in case of error"] pub type xmlSchemaValidityLocatorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , file : * mut * const :: std :: os :: raw :: c_char , line : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int > ; unsafe extern "C" { pub fn xmlSchemaNewParserCtxt (URL : * const :: std :: os :: raw :: c_char) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaNewMemParserCtxt (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaNewDocParserCtxt (doc : * mut xmlDoc) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaFreeParserCtxt (ctxt : * mut xmlSchemaParserCtxt) ; } unsafe extern "C" { pub fn xmlSchemaSetParserErrors (ctxt : * mut xmlSchemaParserCtxt , err : xmlSchemaValidityErrorFunc , warn : xmlSchemaValidityWarningFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaSetParserStructuredErrors (ctxt : * mut xmlSchemaParserCtxt , serror : xmlStructuredErrorFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaGetParserErrors (ctxt : * mut xmlSchemaParserCtxt , err : * mut xmlSchemaValidityErrorFunc , warn : * mut xmlSchemaValidityWarningFunc , ctx : * mut * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaSetResourceLoader (ctxt : * mut xmlSchemaParserCtxt , loader : xmlResourceLoader , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaIsValid (ctxt : * mut xmlSchemaValidCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaParse (ctxt : * mut xmlSchemaParserCtxt) -> * mut xmlSchema ; } unsafe extern "C" { pub fn xmlSchemaFree (schema : * mut xmlSchema) ; } unsafe extern "C" { pub fn xmlSchemaDump (output : * mut FILE , schema : * mut xmlSchema) ; } unsafe extern "C" { pub fn xmlSchemaSetValidErrors (ctxt : * mut xmlSchemaValidCtxt , err : xmlSchemaValidityErrorFunc , warn : xmlSchemaValidityWarningFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaSetValidStructuredErrors (ctxt : * mut xmlSchemaValidCtxt , serror : xmlStructuredErrorFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaGetValidErrors (ctxt : * mut xmlSchemaValidCtxt , err : * mut xmlSchemaValidityErrorFunc , warn : * mut xmlSchemaValidityWarningFunc , ctx : * mut * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaSetValidOptions (ctxt : * mut xmlSchemaValidCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateSetFilename (vctxt : * mut xmlSchemaValidCtxt , filename : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlSchemaValidCtxtGetOptions (ctxt : * mut xmlSchemaValidCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaNewValidCtxt (schema : * mut xmlSchema) -> * mut xmlSchemaValidCtxt ; } unsafe extern "C" { pub fn xmlSchemaFreeValidCtxt (ctxt : * mut xmlSchemaValidCtxt) ; } unsafe extern "C" { pub fn xmlSchemaValidateDoc (ctxt : * mut xmlSchemaValidCtxt , instance : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateOneElement (ctxt : * mut xmlSchemaValidCtxt , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateStream (ctxt : * mut xmlSchemaValidCtxt , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding , sax : * const xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFile (ctxt : * mut xmlSchemaValidCtxt , filename : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidCtxtGetParserCtxt (ctxt : * mut xmlSchemaValidCtxt) -> * mut xmlParserCtxt ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaSAXPlug { _unused : [u8 ; 0] , } # [doc = " Interface to insert Schemas SAX validation in a SAX stream"] pub type xmlSchemaSAXPlugStruct = _xmlSchemaSAXPlug ; pub type xmlSchemaSAXPlugPtr = * mut xmlSchemaSAXPlugStruct ; unsafe extern "C" { pub fn xmlSchemaSAXPlug (ctxt : * mut xmlSchemaValidCtxt , sax : * mut * mut xmlSAXHandler , user_data : * mut * mut :: std :: os :: raw :: c_void) -> * mut xmlSchemaSAXPlugStruct ; } unsafe extern "C" { pub fn xmlSchemaSAXUnplug (plug : * mut xmlSchemaSAXPlugStruct) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateSetLocator (vctxt : * mut xmlSchemaValidCtxt , f : xmlSchemaValidityLocatorFunc , ctxt : * mut :: std :: os :: raw :: c_void) ; } pub const xmlSchemaValType_XML_SCHEMAS_UNKNOWN : xmlSchemaValType = 0 ; pub const xmlSchemaValType_XML_SCHEMAS_STRING : xmlSchemaValType = 1 ; pub const xmlSchemaValType_XML_SCHEMAS_NORMSTRING : xmlSchemaValType = 2 ; pub const xmlSchemaValType_XML_SCHEMAS_DECIMAL : xmlSchemaValType = 3 ; pub const xmlSchemaValType_XML_SCHEMAS_TIME : xmlSchemaValType = 4 ; pub const xmlSchemaValType_XML_SCHEMAS_GDAY : xmlSchemaValType = 5 ; pub const xmlSchemaValType_XML_SCHEMAS_GMONTH : xmlSchemaValType = 6 ; pub const xmlSchemaValType_XML_SCHEMAS_GMONTHDAY : xmlSchemaValType = 7 ; pub const xmlSchemaValType_XML_SCHEMAS_GYEAR : xmlSchemaValType = 8 ; pub const xmlSchemaValType_XML_SCHEMAS_GYEARMONTH : xmlSchemaValType = 9 ; pub const xmlSchemaValType_XML_SCHEMAS_DATE : xmlSchemaValType = 10 ; pub const xmlSchemaValType_XML_SCHEMAS_DATETIME : xmlSchemaValType = 11 ; pub const xmlSchemaValType_XML_SCHEMAS_DURATION : xmlSchemaValType = 12 ; pub const xmlSchemaValType_XML_SCHEMAS_FLOAT : xmlSchemaValType = 13 ; pub const xmlSchemaValType_XML_SCHEMAS_DOUBLE : xmlSchemaValType = 14 ; pub const xmlSchemaValType_XML_SCHEMAS_BOOLEAN : xmlSchemaValType = 15 ; pub const xmlSchemaValType_XML_SCHEMAS_TOKEN : xmlSchemaValType = 16 ; pub const xmlSchemaValType_XML_SCHEMAS_LANGUAGE : xmlSchemaValType = 17 ; pub const xmlSchemaValType_XML_SCHEMAS_NMTOKEN : xmlSchemaValType = 18 ; pub const xmlSchemaValType_XML_SCHEMAS_NMTOKENS : xmlSchemaValType = 19 ; pub const xmlSchemaValType_XML_SCHEMAS_NAME : xmlSchemaValType = 20 ; pub const xmlSchemaValType_XML_SCHEMAS_QNAME : xmlSchemaValType = 21 ; pub const xmlSchemaValType_XML_SCHEMAS_NCNAME : xmlSchemaValType = 22 ; pub const xmlSchemaValType_XML_SCHEMAS_ID : xmlSchemaValType = 23 ; pub const xmlSchemaValType_XML_SCHEMAS_IDREF : xmlSchemaValType = 24 ; pub const xmlSchemaValType_XML_SCHEMAS_IDREFS : xmlSchemaValType = 25 ; pub const xmlSchemaValType_XML_SCHEMAS_ENTITY : xmlSchemaValType = 26 ; pub const xmlSchemaValType_XML_SCHEMAS_ENTITIES : xmlSchemaValType = 27 ; pub const xmlSchemaValType_XML_SCHEMAS_NOTATION : xmlSchemaValType = 28 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYURI : xmlSchemaValType = 29 ; pub const xmlSchemaValType_XML_SCHEMAS_INTEGER : xmlSchemaValType = 30 ; pub const xmlSchemaValType_XML_SCHEMAS_NPINTEGER : xmlSchemaValType = 31 ; pub const xmlSchemaValType_XML_SCHEMAS_NINTEGER : xmlSchemaValType = 32 ; pub const xmlSchemaValType_XML_SCHEMAS_NNINTEGER : xmlSchemaValType = 33 ; pub const xmlSchemaValType_XML_SCHEMAS_PINTEGER : xmlSchemaValType = 34 ; pub const xmlSchemaValType_XML_SCHEMAS_INT : xmlSchemaValType = 35 ; pub const xmlSchemaValType_XML_SCHEMAS_UINT : xmlSchemaValType = 36 ; pub const xmlSchemaValType_XML_SCHEMAS_LONG : xmlSchemaValType = 37 ; pub const xmlSchemaValType_XML_SCHEMAS_ULONG : xmlSchemaValType = 38 ; pub const xmlSchemaValType_XML_SCHEMAS_SHORT : xmlSchemaValType = 39 ; pub const xmlSchemaValType_XML_SCHEMAS_USHORT : xmlSchemaValType = 40 ; pub const xmlSchemaValType_XML_SCHEMAS_BYTE : xmlSchemaValType = 41 ; pub const xmlSchemaValType_XML_SCHEMAS_UBYTE : xmlSchemaValType = 42 ; pub const xmlSchemaValType_XML_SCHEMAS_HEXBINARY : xmlSchemaValType = 43 ; pub const xmlSchemaValType_XML_SCHEMAS_BASE64BINARY : xmlSchemaValType = 44 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYTYPE : xmlSchemaValType = 45 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYSIMPLETYPE : xmlSchemaValType = 46 ; # [doc = " Schema value type"] pub type xmlSchemaValType = :: std :: os :: raw :: c_uint ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_BASIC : xmlSchemaTypeType = 1 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ANY : xmlSchemaTypeType = 2 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_FACET : xmlSchemaTypeType = 3 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SIMPLE : xmlSchemaTypeType = 4 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_COMPLEX : xmlSchemaTypeType = 5 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SEQUENCE : xmlSchemaTypeType = 6 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_CHOICE : xmlSchemaTypeType = 7 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ALL : xmlSchemaTypeType = 8 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SIMPLE_CONTENT : xmlSchemaTypeType = 9 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_COMPLEX_CONTENT : xmlSchemaTypeType = 10 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_UR : xmlSchemaTypeType = 11 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_RESTRICTION : xmlSchemaTypeType = 12 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_EXTENSION : xmlSchemaTypeType = 13 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ELEMENT : xmlSchemaTypeType = 14 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTE : xmlSchemaTypeType = 15 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTEGROUP : xmlSchemaTypeType = 16 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_GROUP : xmlSchemaTypeType = 17 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_NOTATION : xmlSchemaTypeType = 18 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_LIST : xmlSchemaTypeType = 19 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_UNION : xmlSchemaTypeType = 20 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ANY_ATTRIBUTE : xmlSchemaTypeType = 21 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_UNIQUE : xmlSchemaTypeType = 22 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_KEY : xmlSchemaTypeType = 23 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_KEYREF : xmlSchemaTypeType = 24 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_PARTICLE : xmlSchemaTypeType = 25 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTE_USE : xmlSchemaTypeType = 26 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MININCLUSIVE : xmlSchemaTypeType = 1000 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MINEXCLUSIVE : xmlSchemaTypeType = 1001 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXINCLUSIVE : xmlSchemaTypeType = 1002 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXEXCLUSIVE : xmlSchemaTypeType = 1003 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_TOTALDIGITS : xmlSchemaTypeType = 1004 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_FRACTIONDIGITS : xmlSchemaTypeType = 1005 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_PATTERN : xmlSchemaTypeType = 1006 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_ENUMERATION : xmlSchemaTypeType = 1007 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_WHITESPACE : xmlSchemaTypeType = 1008 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_LENGTH : xmlSchemaTypeType = 1009 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXLENGTH : xmlSchemaTypeType = 1010 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MINLENGTH : xmlSchemaTypeType = 1011 ; pub const xmlSchemaTypeType_XML_SCHEMA_EXTRA_QNAMEREF : xmlSchemaTypeType = 2000 ; pub const xmlSchemaTypeType_XML_SCHEMA_EXTRA_ATTR_USE_PROHIB : xmlSchemaTypeType = 2001 ; # [doc = " XML Schemas defines multiple type of types."] pub type xmlSchemaTypeType = :: std :: os :: raw :: c_uint ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_UNKNOWN : xmlSchemaContentType = 0 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_EMPTY : xmlSchemaContentType = 1 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_ELEMENTS : xmlSchemaContentType = 2 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_MIXED : xmlSchemaContentType = 3 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_SIMPLE : xmlSchemaContentType = 4 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_MIXED_OR_ELEMENTS : xmlSchemaContentType = 5 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_BASIC : xmlSchemaContentType = 6 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_ANY : xmlSchemaContentType = 7 ; # [doc = " Schema content type"] pub type xmlSchemaContentType = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaVal { _unused : [u8 ; 0] , } # [doc = " Schema value"] pub type xmlSchemaVal = _xmlSchemaVal ; pub type xmlSchemaValPtr = * mut xmlSchemaVal ; # [doc = " Schema type"] pub type xmlSchemaType = _xmlSchemaType ; pub type xmlSchemaTypePtr = * mut xmlSchemaType ; # [doc = " Schema facet"] pub type xmlSchemaFacet = _xmlSchemaFacet ; pub type xmlSchemaFacetPtr = * mut xmlSchemaFacet ; # [doc = " Schema annotation"] pub type xmlSchemaAnnot = _xmlSchemaAnnot ; pub type xmlSchemaAnnotPtr = * mut xmlSchemaAnnot ; # [doc = " Annotation"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAnnot { pub next : * mut _xmlSchemaAnnot , pub content : * mut xmlNode , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAnnot"] [:: std :: mem :: size_of :: < _xmlSchemaAnnot > () - 16usize] ; ["Alignment of _xmlSchemaAnnot"] [:: std :: mem :: align_of :: < _xmlSchemaAnnot > () - 8usize] ; ["Offset of field: _xmlSchemaAnnot::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAnnot , next) - 0usize] ; ["Offset of field: _xmlSchemaAnnot::content"] [:: std :: mem :: offset_of ! (_xmlSchemaAnnot , content) - 8usize] ; } ; # [doc = " Schema attribute definition"] pub type xmlSchemaAttribute = _xmlSchemaAttribute ; pub type xmlSchemaAttributePtr = * mut xmlSchemaAttribute ; # [doc = " An attribute definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttribute { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaAttribute , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub typeName : * const xmlChar , pub typeNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub base : * mut xmlSchemaType , pub occurs : :: std :: os :: raw :: c_int , pub defValue : * const xmlChar , pub subtypes : * mut xmlSchemaType , pub node : * mut xmlNode , pub targetNamespace : * const xmlChar , pub flags : :: std :: os :: raw :: c_int , pub refPrefix : * const xmlChar , pub defVal : * mut xmlSchemaVal , pub refDecl : * mut xmlSchemaAttribute , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttribute"] [:: std :: mem :: size_of :: < _xmlSchemaAttribute > () - 152usize] ; ["Alignment of _xmlSchemaAttribute"] [:: std :: mem :: align_of :: < _xmlSchemaAttribute > () - 8usize] ; ["Offset of field: _xmlSchemaAttribute::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , type_) - 0usize] ; ["Offset of field: _xmlSchemaAttribute::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , next) - 8usize] ; ["Offset of field: _xmlSchemaAttribute::name"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , name) - 16usize] ; ["Offset of field: _xmlSchemaAttribute::id"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , id) - 24usize] ; ["Offset of field: _xmlSchemaAttribute::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , ref_) - 32usize] ; ["Offset of field: _xmlSchemaAttribute::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refNs) - 40usize] ; ["Offset of field: _xmlSchemaAttribute::typeName"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , typeName) - 48usize] ; ["Offset of field: _xmlSchemaAttribute::typeNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , typeNs) - 56usize] ; ["Offset of field: _xmlSchemaAttribute::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , annot) - 64usize] ; ["Offset of field: _xmlSchemaAttribute::base"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , base) - 72usize] ; ["Offset of field: _xmlSchemaAttribute::occurs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , occurs) - 80usize] ; ["Offset of field: _xmlSchemaAttribute::defValue"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , defValue) - 88usize] ; ["Offset of field: _xmlSchemaAttribute::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , subtypes) - 96usize] ; ["Offset of field: _xmlSchemaAttribute::node"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , node) - 104usize] ; ["Offset of field: _xmlSchemaAttribute::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , targetNamespace) - 112usize] ; ["Offset of field: _xmlSchemaAttribute::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , flags) - 120usize] ; ["Offset of field: _xmlSchemaAttribute::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refPrefix) - 128usize] ; ["Offset of field: _xmlSchemaAttribute::defVal"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , defVal) - 136usize] ; ["Offset of field: _xmlSchemaAttribute::refDecl"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refDecl) - 144usize] ; } ; # [doc = " Linked list of schema attributes"] pub type xmlSchemaAttributeLink = _xmlSchemaAttributeLink ; pub type xmlSchemaAttributeLinkPtr = * mut xmlSchemaAttributeLink ; # [doc = " Used to build a list of attribute uses on complexType definitions.\n WARNING: Deprecated; not used."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttributeLink { pub next : * mut _xmlSchemaAttributeLink , pub attr : * mut _xmlSchemaAttribute , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttributeLink"] [:: std :: mem :: size_of :: < _xmlSchemaAttributeLink > () - 16usize] ; ["Alignment of _xmlSchemaAttributeLink"] [:: std :: mem :: align_of :: < _xmlSchemaAttributeLink > () - 8usize] ; ["Offset of field: _xmlSchemaAttributeLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeLink , next) - 0usize] ; ["Offset of field: _xmlSchemaAttributeLink::attr"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeLink , attr) - 8usize] ; } ; # [doc = " Namespace wildcard"] pub type xmlSchemaWildcardNs = _xmlSchemaWildcardNs ; pub type xmlSchemaWildcardNsPtr = * mut xmlSchemaWildcardNs ; # [doc = " Used to build a list of namespaces on wildcards."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaWildcardNs { pub next : * mut _xmlSchemaWildcardNs , pub value : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaWildcardNs"] [:: std :: mem :: size_of :: < _xmlSchemaWildcardNs > () - 16usize] ; ["Alignment of _xmlSchemaWildcardNs"] [:: std :: mem :: align_of :: < _xmlSchemaWildcardNs > () - 8usize] ; ["Offset of field: _xmlSchemaWildcardNs::next"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcardNs , next) - 0usize] ; ["Offset of field: _xmlSchemaWildcardNs::value"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcardNs , value) - 8usize] ; } ; # [doc = " Name wildcard"] pub type xmlSchemaWildcard = _xmlSchemaWildcard ; pub type xmlSchemaWildcardPtr = * mut xmlSchemaWildcard ; # [doc = " A wildcard."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaWildcard { pub type_ : xmlSchemaTypeType , pub id : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub processContents : :: std :: os :: raw :: c_int , pub any : :: std :: os :: raw :: c_int , pub nsSet : * mut xmlSchemaWildcardNs , pub negNsSet : * mut xmlSchemaWildcardNs , pub flags : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaWildcard"] [:: std :: mem :: size_of :: < _xmlSchemaWildcard > () - 72usize] ; ["Alignment of _xmlSchemaWildcard"] [:: std :: mem :: align_of :: < _xmlSchemaWildcard > () - 8usize] ; ["Offset of field: _xmlSchemaWildcard::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , type_) - 0usize] ; ["Offset of field: _xmlSchemaWildcard::id"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , id) - 8usize] ; ["Offset of field: _xmlSchemaWildcard::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , annot) - 16usize] ; ["Offset of field: _xmlSchemaWildcard::node"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , node) - 24usize] ; ["Offset of field: _xmlSchemaWildcard::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , minOccurs) - 32usize] ; ["Offset of field: _xmlSchemaWildcard::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , maxOccurs) - 36usize] ; ["Offset of field: _xmlSchemaWildcard::processContents"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , processContents) - 40usize] ; ["Offset of field: _xmlSchemaWildcard::any"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , any) - 44usize] ; ["Offset of field: _xmlSchemaWildcard::nsSet"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , nsSet) - 48usize] ; ["Offset of field: _xmlSchemaWildcard::negNsSet"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , negNsSet) - 56usize] ; ["Offset of field: _xmlSchemaWildcard::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , flags) - 64usize] ; } ; # [doc = " Attribute group"] pub type xmlSchemaAttributeGroup = _xmlSchemaAttributeGroup ; pub type xmlSchemaAttributeGroupPtr = * mut xmlSchemaAttributeGroup ; # [doc = " An attribute group definition.\n\n xmlSchemaAttribute and xmlSchemaAttributeGroup start of structures\n must be kept similar"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttributeGroup { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaAttribute , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub flags : :: std :: os :: raw :: c_int , pub attributeWildcard : * mut xmlSchemaWildcard , pub refPrefix : * const xmlChar , pub refItem : * mut xmlSchemaAttributeGroup , pub targetNamespace : * const xmlChar , pub attrUses : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttributeGroup"] [:: std :: mem :: size_of :: < _xmlSchemaAttributeGroup > () - 120usize] ; ["Alignment of _xmlSchemaAttributeGroup"] [:: std :: mem :: align_of :: < _xmlSchemaAttributeGroup > () - 8usize] ; ["Offset of field: _xmlSchemaAttributeGroup::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , type_) - 0usize] ; ["Offset of field: _xmlSchemaAttributeGroup::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , next) - 8usize] ; ["Offset of field: _xmlSchemaAttributeGroup::name"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , name) - 16usize] ; ["Offset of field: _xmlSchemaAttributeGroup::id"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , id) - 24usize] ; ["Offset of field: _xmlSchemaAttributeGroup::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , ref_) - 32usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refNs) - 40usize] ; ["Offset of field: _xmlSchemaAttributeGroup::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , annot) - 48usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attributes) - 56usize] ; ["Offset of field: _xmlSchemaAttributeGroup::node"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , node) - 64usize] ; ["Offset of field: _xmlSchemaAttributeGroup::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , flags) - 72usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attributeWildcard"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attributeWildcard) - 80usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refPrefix) - 88usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refItem"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refItem) - 96usize] ; ["Offset of field: _xmlSchemaAttributeGroup::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , targetNamespace) - 104usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attrUses"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attrUses) - 112usize] ; } ; # [doc = " Linked list of schema types"] pub type xmlSchemaTypeLink = _xmlSchemaTypeLink ; pub type xmlSchemaTypeLinkPtr = * mut xmlSchemaTypeLink ; # [doc = " Used to build a list of types (e.g. member types of\n simpleType with variety \"union\")."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaTypeLink { pub next : * mut _xmlSchemaTypeLink , pub type_ : * mut xmlSchemaType , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaTypeLink"] [:: std :: mem :: size_of :: < _xmlSchemaTypeLink > () - 16usize] ; ["Alignment of _xmlSchemaTypeLink"] [:: std :: mem :: align_of :: < _xmlSchemaTypeLink > () - 8usize] ; ["Offset of field: _xmlSchemaTypeLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaTypeLink , next) - 0usize] ; ["Offset of field: _xmlSchemaTypeLink::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaTypeLink , type_) - 8usize] ; } ; # [doc = " Linked list of schema facets"] pub type xmlSchemaFacetLink = _xmlSchemaFacetLink ; pub type xmlSchemaFacetLinkPtr = * mut xmlSchemaFacetLink ; # [doc = " Used to build a list of facets."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaFacetLink { pub next : * mut _xmlSchemaFacetLink , pub facet : * mut xmlSchemaFacet , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaFacetLink"] [:: std :: mem :: size_of :: < _xmlSchemaFacetLink > () - 16usize] ; ["Alignment of _xmlSchemaFacetLink"] [:: std :: mem :: align_of :: < _xmlSchemaFacetLink > () - 8usize] ; ["Offset of field: _xmlSchemaFacetLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaFacetLink , next) - 0usize] ; ["Offset of field: _xmlSchemaFacetLink::facet"] [:: std :: mem :: offset_of ! (_xmlSchemaFacetLink , facet) - 8usize] ; } ; # [doc = " Schemas type definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaType { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaType , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub subtypes : * mut xmlSchemaType , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub flags : :: std :: os :: raw :: c_int , pub contentType : xmlSchemaContentType , pub base : * const xmlChar , pub baseNs : * const xmlChar , pub baseType : * mut xmlSchemaType , pub facets : * mut xmlSchemaFacet , pub redef : * mut _xmlSchemaType , pub recurse : :: std :: os :: raw :: c_int , pub attributeUses : * mut * mut xmlSchemaAttributeLink , pub attributeWildcard : * mut xmlSchemaWildcard , pub builtInType : :: std :: os :: raw :: c_int , pub memberTypes : * mut xmlSchemaTypeLink , pub facetSet : * mut xmlSchemaFacetLink , pub refPrefix : * const xmlChar , pub contentTypeDef : * mut xmlSchemaType , pub contModel : * mut xmlRegexp , pub targetNamespace : * const xmlChar , pub attrUses : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaType"] [:: std :: mem :: size_of :: < _xmlSchemaType > () - 224usize] ; ["Alignment of _xmlSchemaType"] [:: std :: mem :: align_of :: < _xmlSchemaType > () - 8usize] ; ["Offset of field: _xmlSchemaType::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaType , type_) - 0usize] ; ["Offset of field: _xmlSchemaType::next"] [:: std :: mem :: offset_of ! (_xmlSchemaType , next) - 8usize] ; ["Offset of field: _xmlSchemaType::name"] [:: std :: mem :: offset_of ! (_xmlSchemaType , name) - 16usize] ; ["Offset of field: _xmlSchemaType::id"] [:: std :: mem :: offset_of ! (_xmlSchemaType , id) - 24usize] ; ["Offset of field: _xmlSchemaType::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaType , ref_) - 32usize] ; ["Offset of field: _xmlSchemaType::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , refNs) - 40usize] ; ["Offset of field: _xmlSchemaType::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaType , annot) - 48usize] ; ["Offset of field: _xmlSchemaType::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , subtypes) - 56usize] ; ["Offset of field: _xmlSchemaType::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributes) - 64usize] ; ["Offset of field: _xmlSchemaType::node"] [:: std :: mem :: offset_of ! (_xmlSchemaType , node) - 72usize] ; ["Offset of field: _xmlSchemaType::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , minOccurs) - 80usize] ; ["Offset of field: _xmlSchemaType::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , maxOccurs) - 84usize] ; ["Offset of field: _xmlSchemaType::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaType , flags) - 88usize] ; ["Offset of field: _xmlSchemaType::contentType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contentType) - 92usize] ; ["Offset of field: _xmlSchemaType::base"] [:: std :: mem :: offset_of ! (_xmlSchemaType , base) - 96usize] ; ["Offset of field: _xmlSchemaType::baseNs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , baseNs) - 104usize] ; ["Offset of field: _xmlSchemaType::baseType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , baseType) - 112usize] ; ["Offset of field: _xmlSchemaType::facets"] [:: std :: mem :: offset_of ! (_xmlSchemaType , facets) - 120usize] ; ["Offset of field: _xmlSchemaType::redef"] [:: std :: mem :: offset_of ! (_xmlSchemaType , redef) - 128usize] ; ["Offset of field: _xmlSchemaType::recurse"] [:: std :: mem :: offset_of ! (_xmlSchemaType , recurse) - 136usize] ; ["Offset of field: _xmlSchemaType::attributeUses"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributeUses) - 144usize] ; ["Offset of field: _xmlSchemaType::attributeWildcard"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributeWildcard) - 152usize] ; ["Offset of field: _xmlSchemaType::builtInType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , builtInType) - 160usize] ; ["Offset of field: _xmlSchemaType::memberTypes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , memberTypes) - 168usize] ; ["Offset of field: _xmlSchemaType::facetSet"] [:: std :: mem :: offset_of ! (_xmlSchemaType , facetSet) - 176usize] ; ["Offset of field: _xmlSchemaType::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaType , refPrefix) - 184usize] ; ["Offset of field: _xmlSchemaType::contentTypeDef"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contentTypeDef) - 192usize] ; ["Offset of field: _xmlSchemaType::contModel"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contModel) - 200usize] ; ["Offset of field: _xmlSchemaType::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaType , targetNamespace) - 208usize] ; ["Offset of field: _xmlSchemaType::attrUses"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attrUses) - 216usize] ; } ; # [doc = " Schema element definition"] pub type xmlSchemaElement = _xmlSchemaElement ; pub type xmlSchemaElementPtr = * mut xmlSchemaElement ; # [doc = " An element definition.\n\n xmlSchemaType, xmlSchemaFacet and xmlSchemaElement start of\n structures must be kept similar"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaElement { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaType , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub subtypes : * mut xmlSchemaType , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub flags : :: std :: os :: raw :: c_int , pub targetNamespace : * const xmlChar , pub namedType : * const xmlChar , pub namedTypeNs : * const xmlChar , pub substGroup : * const xmlChar , pub substGroupNs : * const xmlChar , pub scope : * const xmlChar , pub value : * const xmlChar , pub refDecl : * mut _xmlSchemaElement , pub contModel : * mut xmlRegexp , pub contentType : xmlSchemaContentType , pub refPrefix : * const xmlChar , pub defVal : * mut xmlSchemaVal , pub idcs : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaElement"] [:: std :: mem :: size_of :: < _xmlSchemaElement > () - 200usize] ; ["Alignment of _xmlSchemaElement"] [:: std :: mem :: align_of :: < _xmlSchemaElement > () - 8usize] ; ["Offset of field: _xmlSchemaElement::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , type_) - 0usize] ; ["Offset of field: _xmlSchemaElement::next"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , next) - 8usize] ; ["Offset of field: _xmlSchemaElement::name"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , name) - 16usize] ; ["Offset of field: _xmlSchemaElement::id"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , id) - 24usize] ; ["Offset of field: _xmlSchemaElement::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , ref_) - 32usize] ; ["Offset of field: _xmlSchemaElement::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refNs) - 40usize] ; ["Offset of field: _xmlSchemaElement::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , annot) - 48usize] ; ["Offset of field: _xmlSchemaElement::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , subtypes) - 56usize] ; ["Offset of field: _xmlSchemaElement::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , attributes) - 64usize] ; ["Offset of field: _xmlSchemaElement::node"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , node) - 72usize] ; ["Offset of field: _xmlSchemaElement::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , minOccurs) - 80usize] ; ["Offset of field: _xmlSchemaElement::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , maxOccurs) - 84usize] ; ["Offset of field: _xmlSchemaElement::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , flags) - 88usize] ; ["Offset of field: _xmlSchemaElement::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , targetNamespace) - 96usize] ; ["Offset of field: _xmlSchemaElement::namedType"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , namedType) - 104usize] ; ["Offset of field: _xmlSchemaElement::namedTypeNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , namedTypeNs) - 112usize] ; ["Offset of field: _xmlSchemaElement::substGroup"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , substGroup) - 120usize] ; ["Offset of field: _xmlSchemaElement::substGroupNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , substGroupNs) - 128usize] ; ["Offset of field: _xmlSchemaElement::scope"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , scope) - 136usize] ; ["Offset of field: _xmlSchemaElement::value"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , value) - 144usize] ; ["Offset of field: _xmlSchemaElement::refDecl"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refDecl) - 152usize] ; ["Offset of field: _xmlSchemaElement::contModel"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , contModel) - 160usize] ; ["Offset of field: _xmlSchemaElement::contentType"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , contentType) - 168usize] ; ["Offset of field: _xmlSchemaElement::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refPrefix) - 176usize] ; ["Offset of field: _xmlSchemaElement::defVal"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , defVal) - 184usize] ; ["Offset of field: _xmlSchemaElement::idcs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , idcs) - 192usize] ; } ; # [doc = " A facet definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaFacet { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaFacet , pub value : * const xmlChar , pub id : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub node : * mut xmlNode , pub fixed : :: std :: os :: raw :: c_int , pub whitespace : :: std :: os :: raw :: c_int , pub val : * mut xmlSchemaVal , pub regexp : * mut xmlRegexp , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaFacet"] [:: std :: mem :: size_of :: < _xmlSchemaFacet > () - 72usize] ; ["Alignment of _xmlSchemaFacet"] [:: std :: mem :: align_of :: < _xmlSchemaFacet > () - 8usize] ; ["Offset of field: _xmlSchemaFacet::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , type_) - 0usize] ; ["Offset of field: _xmlSchemaFacet::next"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , next) - 8usize] ; ["Offset of field: _xmlSchemaFacet::value"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , value) - 16usize] ; ["Offset of field: _xmlSchemaFacet::id"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , id) - 24usize] ; ["Offset of field: _xmlSchemaFacet::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , annot) - 32usize] ; ["Offset of field: _xmlSchemaFacet::node"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , node) - 40usize] ; ["Offset of field: _xmlSchemaFacet::fixed"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , fixed) - 48usize] ; ["Offset of field: _xmlSchemaFacet::whitespace"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , whitespace) - 52usize] ; ["Offset of field: _xmlSchemaFacet::val"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , val) - 56usize] ; ["Offset of field: _xmlSchemaFacet::regexp"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , regexp) - 64usize] ; } ; # [doc = " Schema notation"] pub type xmlSchemaNotation = _xmlSchemaNotation ; pub type xmlSchemaNotationPtr = * mut xmlSchemaNotation ; # [doc = " A notation definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaNotation { pub type_ : xmlSchemaTypeType , pub name : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub identifier : * const xmlChar , pub targetNamespace : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaNotation"] [:: std :: mem :: size_of :: < _xmlSchemaNotation > () - 40usize] ; ["Alignment of _xmlSchemaNotation"] [:: std :: mem :: align_of :: < _xmlSchemaNotation > () - 8usize] ; ["Offset of field: _xmlSchemaNotation::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , type_) - 0usize] ; ["Offset of field: _xmlSchemaNotation::name"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , name) - 8usize] ; ["Offset of field: _xmlSchemaNotation::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , annot) - 16usize] ; ["Offset of field: _xmlSchemaNotation::identifier"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , identifier) - 24usize] ; ["Offset of field: _xmlSchemaNotation::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , targetNamespace) - 32usize] ; } ; # [doc = " A Schemas definition"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchema { pub name : * const xmlChar , pub targetNamespace : * const xmlChar , pub version : * const xmlChar , pub id : * const xmlChar , pub doc : * mut xmlDoc , pub annot : * mut xmlSchemaAnnot , pub flags : :: std :: os :: raw :: c_int , pub typeDecl : * mut xmlHashTable , pub attrDecl : * mut xmlHashTable , pub attrgrpDecl : * mut xmlHashTable , pub elemDecl : * mut xmlHashTable , pub notaDecl : * mut xmlHashTable , pub schemasImports : * mut xmlHashTable , pub _private : * mut :: std :: os :: raw :: c_void , pub groupDecl : * mut xmlHashTable , pub dict : * mut xmlDict , pub includes : * mut :: std :: os :: raw :: c_void , pub preserve : :: std :: os :: raw :: c_int , pub counter : :: std :: os :: raw :: c_int , pub idcDef : * mut xmlHashTable , pub volatiles : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchema"] [:: std :: mem :: size_of :: < _xmlSchema > () - 160usize] ; ["Alignment of _xmlSchema"] [:: std :: mem :: align_of :: < _xmlSchema > () - 8usize] ; ["Offset of field: _xmlSchema::name"] [:: std :: mem :: offset_of ! (_xmlSchema , name) - 0usize] ; ["Offset of field: _xmlSchema::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchema , targetNamespace) - 8usize] ; ["Offset of field: _xmlSchema::version"] [:: std :: mem :: offset_of ! (_xmlSchema , version) - 16usize] ; ["Offset of field: _xmlSchema::id"] [:: std :: mem :: offset_of ! (_xmlSchema , id) - 24usize] ; ["Offset of field: _xmlSchema::doc"] [:: std :: mem :: offset_of ! (_xmlSchema , doc) - 32usize] ; ["Offset of field: _xmlSchema::annot"] [:: std :: mem :: offset_of ! (_xmlSchema , annot) - 40usize] ; ["Offset of field: _xmlSchema::flags"] [:: std :: mem :: offset_of ! (_xmlSchema , flags) - 48usize] ; ["Offset of field: _xmlSchema::typeDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , typeDecl) - 56usize] ; ["Offset of field: _xmlSchema::attrDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , attrDecl) - 64usize] ; ["Offset of field: _xmlSchema::attrgrpDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , attrgrpDecl) - 72usize] ; ["Offset of field: _xmlSchema::elemDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , elemDecl) - 80usize] ; ["Offset of field: _xmlSchema::notaDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , notaDecl) - 88usize] ; ["Offset of field: _xmlSchema::schemasImports"] [:: std :: mem :: offset_of ! (_xmlSchema , schemasImports) - 96usize] ; ["Offset of field: _xmlSchema::_private"] [:: std :: mem :: offset_of ! (_xmlSchema , _private) - 104usize] ; ["Offset of field: _xmlSchema::groupDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , groupDecl) - 112usize] ; ["Offset of field: _xmlSchema::dict"] [:: std :: mem :: offset_of ! (_xmlSchema , dict) - 120usize] ; ["Offset of field: _xmlSchema::includes"] [:: std :: mem :: offset_of ! (_xmlSchema , includes) - 128usize] ; ["Offset of field: _xmlSchema::preserve"] [:: std :: mem :: offset_of ! (_xmlSchema , preserve) - 136usize] ; ["Offset of field: _xmlSchema::counter"] [:: std :: mem :: offset_of ! (_xmlSchema , counter) - 140usize] ; ["Offset of field: _xmlSchema::idcDef"] [:: std :: mem :: offset_of ! (_xmlSchema , idcDef) - 144usize] ; ["Offset of field: _xmlSchema::volatiles"] [:: std :: mem :: offset_of ! (_xmlSchema , volatiles) - 152usize] ; } ; unsafe extern "C" { pub fn xmlSchemaFreeType (type_ : * mut xmlSchemaType) ; } unsafe extern "C" { pub fn xmlSchemaFreeWildcard (wildcard : * mut xmlSchemaWildcard) ; } pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_UNKNOWN : xmlSchemaWhitespaceValueType = 0 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_PRESERVE : xmlSchemaWhitespaceValueType = 1 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_REPLACE : xmlSchemaWhitespaceValueType = 2 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_COLLAPSE : xmlSchemaWhitespaceValueType = 3 ; # [doc = " Schema whitespace value type"] pub type xmlSchemaWhitespaceValueType = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlSchemaInitTypes () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCleanupTypes () ; } unsafe extern "C" { pub fn xmlSchemaGetPredefinedType (name : * const xmlChar , ns : * const xmlChar) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaValidatePredefinedType (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValPredefTypeNode (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal , node : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFacet (base : * mut xmlSchemaType , facet : * mut xmlSchemaFacet , value : * const xmlChar , val : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFacetWhtsp (facet : * mut xmlSchemaFacet , fws : xmlSchemaWhitespaceValueType , valType : xmlSchemaValType , value : * const xmlChar , val : * mut xmlSchemaVal , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaFreeValue (val : * mut xmlSchemaVal) ; } unsafe extern "C" { pub fn xmlSchemaNewFacet () -> * mut xmlSchemaFacet ; } unsafe extern "C" { pub fn xmlSchemaCheckFacet (facet : * mut xmlSchemaFacet , typeDecl : * mut xmlSchemaType , ctxt : * mut xmlSchemaParserCtxt , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaFreeFacet (facet : * mut xmlSchemaFacet) ; } unsafe extern "C" { pub fn xmlSchemaCompareValues (x : * mut xmlSchemaVal , y : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetBuiltInListSimpleTypeItemType (type_ : * mut xmlSchemaType) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaValidateListSimpleTypeFacet (facet : * mut xmlSchemaFacet , value : * const xmlChar , actualLen : :: std :: os :: raw :: c_ulong , expectedLen : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetBuiltInType (type_ : xmlSchemaValType) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaIsBuiltInTypeFacet (type_ : * mut xmlSchemaType , facetType : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCollapseString (value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSchemaWhiteSpaceReplace (value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSchemaGetFacetValueAsULong (facet : * mut xmlSchemaFacet) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlSchemaValidateLengthFacet (type_ : * mut xmlSchemaType , facet : * mut xmlSchemaFacet , value : * const xmlChar , val : * mut xmlSchemaVal , length : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateLengthFacetWhtsp (facet : * mut xmlSchemaFacet , valType : xmlSchemaValType , value : * const xmlChar , val : * mut xmlSchemaVal , length : * mut :: std :: os :: raw :: c_ulong , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValPredefTypeNodeNoNorm (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal , node : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetCanonValue (val : * mut xmlSchemaVal , retValue : * mut * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetCanonValueWhtsp (val : * mut xmlSchemaVal , retValue : * mut * const xmlChar , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValueAppend (prev : * mut xmlSchemaVal , cur : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValueGetNext (cur : * mut xmlSchemaVal) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaValueGetAsString (val : * mut xmlSchemaVal) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSchemaValueGetAsBoolean (val : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaNewStringValue (type_ : xmlSchemaValType , value : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaNewNOTATIONValue (name : * const xmlChar , ns : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaNewQNameValue (namespaceName : * const xmlChar , localName : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaCompareValuesWhtsp (x : * mut xmlSchemaVal , xws : xmlSchemaWhitespaceValueType , y : * mut xmlSchemaVal , yws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCopyValue (val : * mut xmlSchemaVal) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaGetValType (val : * mut xmlSchemaVal) -> xmlSchemaValType ; } pub type __builtin_va_list = [__va_list_tag ; 1usize] ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __va_list_tag { pub gp_offset : :: std :: os :: raw :: c_uint , pub fp_offset : :: std :: os :: raw :: c_uint , pub overflow_arg_area : * mut :: std :: os :: raw :: c_void , pub reg_save_area : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __va_list_tag"] [:: std :: mem :: size_of :: < __va_list_tag > () - 24usize] ; ["Alignment of __va_list_tag"] [:: std :: mem :: align_of :: < __va_list_tag > () - 8usize] ; ["Offset of field: __va_list_tag::gp_offset"] [:: std :: mem :: offset_of ! (__va_list_tag , gp_offset) - 0usize] ; ["Offset of field: __va_list_tag::fp_offset"] [:: std :: mem :: offset_of ! (__va_list_tag , fp_offset) - 4usize] ; ["Offset of field: __va_list_tag::overflow_arg_area"] [:: std :: mem :: offset_of ! (__va_list_tag , overflow_arg_area) - 8usize] ; ["Offset of field: __va_list_tag::reg_save_area"] [:: std :: mem :: offset_of ! (__va_list_tag , reg_save_area) - 16usize] ; } ; # [doc = " dict used to allocate names if any"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDict { pub _address : u8 , }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]  --> /opt/rustwide/target/release/build/libxml2-rs-88f840c53f735f57/out/bindings.rs:3:29443
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 3usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 0usize , 24u8 ,) as u32) } ...
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: replace this with
[INFO] [stdout]   |
[INFO] [stdout] 3 - # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] fn extract_bit (byte : u8 , index : usize) -> bool { let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; Self :: extract_bit (byte , index) } # [inline] pub unsafe fn raw_get_bit (this : * const Self , index : usize) -> bool { debug_assert ! (index / 8 < core :: mem :: size_of ::< Storage > ()) ; let byte_index = index / 8 ; let byte = unsafe { * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) } ; Self :: extract_bit (byte , index) } # [inline] fn change_bit (byte : u8 , index : usize , val : bool) -> u8 { let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { byte | mask } else { byte & ! mask } } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; * byte = Self :: change_bit (* byte , index , val) ; } # [inline] pub unsafe fn raw_set_bit (this : * mut Self , index : usize , val : bool) { debug_assert ! (index / 8 < core :: mem :: size_of ::< Storage > ()) ; let byte_index = index / 8 ; let byte = unsafe { (core :: ptr :: addr_of_mut ! ((* this) . storage) as * mut u8) . offset (byte_index as isize) } ; unsafe { * byte = Self :: change_bit (* byte , index , val) } ; } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub unsafe fn raw_get (this : * const Self , bit_offset : usize , bit_width : u8 ,) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < core :: mem :: size_of ::< Storage > ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= core :: mem :: size_of ::< Storage > ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if unsafe { Self :: raw_get_bit (this , i + bit_offset) } { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } # [inline] pub unsafe fn raw_set (this : * mut Self , bit_offset : usize , bit_width : u8 , val : u64 ,) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < core :: mem :: size_of ::< Storage > ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= core :: mem :: size_of ::< Storage > ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; unsafe { Self :: raw_set_bit (this , index + bit_offset , val_bit_is_set) } ; } } } # [derive (PartialEq , Copy , Clone , Hash , Debug , Default)] # [repr (C)] pub struct __BindgenComplex < T > { pub re : T , pub im : T } pub const LIBXML_DOTTED_VERSION : & [u8 ; 7] = b"2.15.2\0" ; pub const LIBXML_VERSION : u32 = 21502 ; pub const LIBXML_VERSION_STRING : & [u8 ; 6] = b"21502\0" ; pub const LIBXML_VERSION_EXTRA : & [u8 ; 1] = b"\0" ; pub const LIBXML_MODULE_EXTENSION : & [u8 ; 4] = b".so\0" ; pub const _STDIO_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2Y : u32 = 0 ; pub const __GLIBC_USE_ISOC23 : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 202405 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __USE_XOPEN2K24 : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_TIME_BITS64 : u32 = 1 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const __GLIBC_USE_C23_STRTOL : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 43 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C23 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C23 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _____fpos_t_defined : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _____fpos64_t_defined : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const __struct_FILE_defined : u32 = 1 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const __cookie_io_functions_t_defined : u32 = 1 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; pub const EOF : i32 = - 1 ; pub const SEEK_SET : u32 = 0 ; pub const SEEK_CUR : u32 = 1 ; pub const SEEK_END : u32 = 2 ; pub const P_tmpdir : & [u8 ; 5] = b"/tmp\0" ; pub const L_tmpnam : u32 = 20 ; pub const TMP_MAX : u32 = 238328 ; pub const _BITS_STDIO_LIM_H : u32 = 1 ; pub const FILENAME_MAX : u32 = 4096 ; pub const L_ctermid : u32 = 9 ; pub const FOPEN_MAX : u32 = 16 ; pub const __HAVE_FLOAT128 : u32 = 1 ; pub const __HAVE_DISTINCT_FLOAT128 : u32 = 1 ; pub const __HAVE_FLOAT64X : u32 = 1 ; pub const __HAVE_FLOAT64X_LONG_DOUBLE : u32 = 1 ; pub const __HAVE_FLOAT16 : u32 = 0 ; pub const __HAVE_FLOAT32 : u32 = 1 ; pub const __HAVE_FLOAT64 : u32 = 1 ; pub const __HAVE_FLOAT32X : u32 = 1 ; pub const __HAVE_FLOAT128X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT16 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT128X : u32 = 0 ; pub const __HAVE_FLOATN_NOT_TYPEDEF : u32 = 0 ; pub const _LIBC_LIMITS_H_ : u32 = 1 ; pub const MB_LEN_MAX : u32 = 16 ; pub const _BITS_POSIX1_LIM_H : u32 = 1 ; pub const _POSIX_AIO_LISTIO_MAX : u32 = 2 ; pub const _POSIX_AIO_MAX : u32 = 1 ; pub const _POSIX_ARG_MAX : u32 = 4096 ; pub const _POSIX_CHILD_MAX : u32 = 25 ; pub const _POSIX_DELAYTIMER_MAX : u32 = 32 ; pub const _POSIX_HOST_NAME_MAX : u32 = 255 ; pub const _POSIX_LINK_MAX : u32 = 8 ; pub const _POSIX_LOGIN_NAME_MAX : u32 = 9 ; pub const _POSIX_MAX_CANON : u32 = 255 ; pub const _POSIX_MAX_INPUT : u32 = 255 ; pub const _POSIX_MQ_OPEN_MAX : u32 = 8 ; pub const _POSIX_MQ_PRIO_MAX : u32 = 32 ; pub const _POSIX_NAME_MAX : u32 = 14 ; pub const _POSIX_NGROUPS_MAX : u32 = 8 ; pub const _POSIX_OPEN_MAX : u32 = 20 ; pub const _POSIX_PATH_MAX : u32 = 256 ; pub const _POSIX_PIPE_BUF : u32 = 512 ; pub const _POSIX_RE_DUP_MAX : u32 = 255 ; pub const _POSIX_RTSIG_MAX : u32 = 8 ; pub const _POSIX_SEM_NSEMS_MAX : u32 = 256 ; pub const _POSIX_SEM_VALUE_MAX : u32 = 32767 ; pub const _POSIX_SIGQUEUE_MAX : u32 = 32 ; pub const _POSIX_SSIZE_MAX : u32 = 32767 ; pub const _POSIX_STREAM_MAX : u32 = 8 ; pub const _POSIX_SYMLINK_MAX : u32 = 255 ; pub const _POSIX_SYMLOOP_MAX : u32 = 8 ; pub const _POSIX_TIMER_MAX : u32 = 32 ; pub const _POSIX_TTY_NAME_MAX : u32 = 9 ; pub const _POSIX_TZNAME_MAX : u32 = 6 ; pub const _POSIX_CLOCKRES_MIN : u32 = 20000000 ; pub const NR_OPEN : u32 = 1024 ; pub const NGROUPS_MAX : u32 = 65536 ; pub const ARG_MAX : u32 = 131072 ; pub const LINK_MAX : u32 = 127 ; pub const MAX_CANON : u32 = 255 ; pub const MAX_INPUT : u32 = 255 ; pub const NAME_MAX : u32 = 255 ; pub const PATH_MAX : u32 = 4096 ; pub const PIPE_BUF : u32 = 4096 ; pub const XATTR_NAME_MAX : u32 = 255 ; pub const XATTR_SIZE_MAX : u32 = 65536 ; pub const XATTR_LIST_MAX : u32 = 65536 ; pub const RTSIG_MAX : u32 = 32 ; pub const _POSIX_THREAD_KEYS_MAX : u32 = 128 ; pub const PTHREAD_KEYS_MAX : u32 = 1024 ; pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const PTHREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const _POSIX_THREAD_THREADS_MAX : u32 = 64 ; pub const AIO_PRIO_DELTA_MAX : u32 = 20 ; pub const PTHREAD_STACK_MIN : u32 = 16384 ; pub const DELAYTIMER_MAX : u32 = 2147483647 ; pub const TTY_NAME_MAX : u32 = 32 ; pub const LOGIN_NAME_MAX : u32 = 256 ; pub const HOST_NAME_MAX : u32 = 64 ; pub const MQ_PRIO_MAX : u32 = 32768 ; pub const SEM_VALUE_MAX : u32 = 2147483647 ; pub const _BITS_POSIX2_LIM_H : u32 = 1 ; pub const _POSIX2_BC_BASE_MAX : u32 = 99 ; pub const _POSIX2_BC_DIM_MAX : u32 = 2048 ; pub const _POSIX2_BC_SCALE_MAX : u32 = 99 ; pub const _POSIX2_BC_STRING_MAX : u32 = 1000 ; pub const _POSIX2_COLL_WEIGHTS_MAX : u32 = 2 ; pub const _POSIX2_EXPR_NEST_MAX : u32 = 32 ; pub const _POSIX2_LINE_MAX : u32 = 2048 ; pub const _POSIX2_RE_DUP_MAX : u32 = 255 ; pub const _POSIX2_CHARCLASS_NAME_MAX : u32 = 14 ; pub const BC_BASE_MAX : u32 = 99 ; pub const BC_DIM_MAX : u32 = 2048 ; pub const BC_SCALE_MAX : u32 = 99 ; pub const BC_STRING_MAX : u32 = 1000 ; pub const COLL_WEIGHTS_MAX : u32 = 255 ; pub const EXPR_NEST_MAX : u32 = 32 ; pub const LINE_MAX : u32 = 2048 ; pub const CHARCLASS_NAME_MAX : u32 = 2048 ; pub const RE_DUP_MAX : u32 = 32767 ; pub const xmlDefaultBufferSize : u32 = 4096 ; pub const XML_DOCB_DOCUMENT_NODE : u32 = 21 ; pub const XML_DEFAULT_VERSION : & [u8 ; 4] = b"1.0\0" ; pub const XML_DETECT_IDS : u32 = 2 ; pub const XML_COMPLETE_ATTRS : u32 = 4 ; pub const XML_SKIP_IDS : u32 = 8 ; pub const XML_SAX2_MAGIC : u32 = 3740122799 ; pub const XML_SCHEMAS_ANYATTR_SKIP : u32 = 1 ; pub const XML_SCHEMAS_ANYATTR_LAX : u32 = 2 ; pub const XML_SCHEMAS_ANYATTR_STRICT : u32 = 3 ; pub const XML_SCHEMAS_ANY_SKIP : u32 = 1 ; pub const XML_SCHEMAS_ANY_LAX : u32 = 2 ; pub const XML_SCHEMAS_ANY_STRICT : u32 = 3 ; pub const XML_SCHEMAS_ATTR_USE_PROHIBITED : u32 = 0 ; pub const XML_SCHEMAS_ATTR_USE_REQUIRED : u32 = 1 ; pub const XML_SCHEMAS_ATTR_USE_OPTIONAL : u32 = 2 ; pub const XML_SCHEMAS_ATTR_GLOBAL : u32 = 1 ; pub const XML_SCHEMAS_ATTR_NSDEFAULT : u32 = 128 ; pub const XML_SCHEMAS_ATTR_INTERNAL_RESOLVED : u32 = 256 ; pub const XML_SCHEMAS_ATTR_FIXED : u32 = 512 ; pub const XML_SCHEMAS_WILDCARD_COMPLETE : u32 = 1 ; pub const XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED : u32 = 1 ; pub const XML_SCHEMAS_ATTRGROUP_GLOBAL : u32 = 2 ; pub const XML_SCHEMAS_ATTRGROUP_MARKED : u32 = 4 ; pub const XML_SCHEMAS_ATTRGROUP_REDEFINED : u32 = 8 ; pub const XML_SCHEMAS_ATTRGROUP_HAS_REFS : u32 = 16 ; pub const XML_SCHEMAS_TYPE_MIXED : u32 = 1 ; pub const XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION : u32 = 2 ; pub const XML_SCHEMAS_TYPE_DERIVATION_METHOD_RESTRICTION : u32 = 4 ; pub const XML_SCHEMAS_TYPE_GLOBAL : u32 = 8 ; pub const XML_SCHEMAS_TYPE_OWNED_ATTR_WILDCARD : u32 = 16 ; pub const XML_SCHEMAS_TYPE_VARIETY_ABSENT : u32 = 32 ; pub const XML_SCHEMAS_TYPE_VARIETY_LIST : u32 = 64 ; pub const XML_SCHEMAS_TYPE_VARIETY_UNION : u32 = 128 ; pub const XML_SCHEMAS_TYPE_VARIETY_ATOMIC : u32 = 256 ; pub const XML_SCHEMAS_TYPE_FINAL_EXTENSION : u32 = 512 ; pub const XML_SCHEMAS_TYPE_FINAL_RESTRICTION : u32 = 1024 ; pub const XML_SCHEMAS_TYPE_FINAL_LIST : u32 = 2048 ; pub const XML_SCHEMAS_TYPE_FINAL_UNION : u32 = 4096 ; pub const XML_SCHEMAS_TYPE_FINAL_DEFAULT : u32 = 8192 ; pub const XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE : u32 = 16384 ; pub const XML_SCHEMAS_TYPE_MARKED : u32 = 65536 ; pub const XML_SCHEMAS_TYPE_BLOCK_DEFAULT : u32 = 131072 ; pub const XML_SCHEMAS_TYPE_BLOCK_EXTENSION : u32 = 262144 ; pub const XML_SCHEMAS_TYPE_BLOCK_RESTRICTION : u32 = 524288 ; pub const XML_SCHEMAS_TYPE_ABSTRACT : u32 = 1048576 ; pub const XML_SCHEMAS_TYPE_FACETSNEEDVALUE : u32 = 2097152 ; pub const XML_SCHEMAS_TYPE_INTERNAL_RESOLVED : u32 = 4194304 ; pub const XML_SCHEMAS_TYPE_INTERNAL_INVALID : u32 = 8388608 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_PRESERVE : u32 = 16777216 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_REPLACE : u32 = 33554432 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_COLLAPSE : u32 = 67108864 ; pub const XML_SCHEMAS_TYPE_HAS_FACETS : u32 = 134217728 ; pub const XML_SCHEMAS_TYPE_NORMVALUENEEDED : u32 = 268435456 ; pub const XML_SCHEMAS_TYPE_FIXUP_1 : u32 = 536870912 ; pub const XML_SCHEMAS_TYPE_REDEFINED : u32 = 1073741824 ; pub const XML_SCHEMAS_ELEM_NILLABLE : u32 = 1 ; pub const XML_SCHEMAS_ELEM_GLOBAL : u32 = 2 ; pub const XML_SCHEMAS_ELEM_DEFAULT : u32 = 4 ; pub const XML_SCHEMAS_ELEM_FIXED : u32 = 8 ; pub const XML_SCHEMAS_ELEM_ABSTRACT : u32 = 16 ; pub const XML_SCHEMAS_ELEM_TOPLEVEL : u32 = 32 ; pub const XML_SCHEMAS_ELEM_REF : u32 = 64 ; pub const XML_SCHEMAS_ELEM_NSDEFAULT : u32 = 128 ; pub const XML_SCHEMAS_ELEM_INTERNAL_RESOLVED : u32 = 256 ; pub const XML_SCHEMAS_ELEM_CIRCULAR : u32 = 512 ; pub const XML_SCHEMAS_ELEM_BLOCK_ABSENT : u32 = 1024 ; pub const XML_SCHEMAS_ELEM_BLOCK_EXTENSION : u32 = 2048 ; pub const XML_SCHEMAS_ELEM_BLOCK_RESTRICTION : u32 = 4096 ; pub const XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION : u32 = 8192 ; pub const XML_SCHEMAS_ELEM_FINAL_ABSENT : u32 = 16384 ; pub const XML_SCHEMAS_ELEM_FINAL_EXTENSION : u32 = 32768 ; pub const XML_SCHEMAS_ELEM_FINAL_RESTRICTION : u32 = 65536 ; pub const XML_SCHEMAS_ELEM_SUBST_GROUP_HEAD : u32 = 131072 ; pub const XML_SCHEMAS_ELEM_INTERNAL_CHECKED : u32 = 262144 ; pub const XML_SCHEMAS_FACET_UNKNOWN : u32 = 0 ; pub const XML_SCHEMAS_FACET_PRESERVE : u32 = 1 ; pub const XML_SCHEMAS_FACET_REPLACE : u32 = 2 ; pub const XML_SCHEMAS_FACET_COLLAPSE : u32 = 3 ; pub const XML_SCHEMAS_QUALIF_ELEM : u32 = 1 ; pub const XML_SCHEMAS_QUALIF_ATTR : u32 = 2 ; pub const XML_SCHEMAS_FINAL_DEFAULT_EXTENSION : u32 = 4 ; pub const XML_SCHEMAS_FINAL_DEFAULT_RESTRICTION : u32 = 8 ; pub const XML_SCHEMAS_FINAL_DEFAULT_LIST : u32 = 16 ; pub const XML_SCHEMAS_FINAL_DEFAULT_UNION : u32 = 32 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_EXTENSION : u32 = 64 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_RESTRICTION : u32 = 128 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_SUBSTITUTION : u32 = 256 ; pub const XML_SCHEMAS_INCLUDING_CONVERT_NS : u32 = 512 ; unsafe extern "C" { pub fn xmlCheckVersion (version : :: std :: os :: raw :: c_int) ; } pub type __gnuc_va_list = __builtin_va_list ; pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [:: std :: os :: raw :: c_int ; 2usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __fsid_t"] [:: std :: mem :: size_of :: < __fsid_t > () - 8usize] ; ["Alignment of __fsid_t"] [:: std :: mem :: align_of :: < __fsid_t > () - 4usize] ; ["Offset of field: __fsid_t::__val"] [:: std :: mem :: offset_of ! (__fsid_t , __val) - 0usize] ; } ; pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __suseconds64_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Copy , Clone)] pub struct __mbstate_t { pub __count : :: std :: os :: raw :: c_int , pub __value : __mbstate_t__bindgen_ty_1 , } # [repr (C)] # [derive (Copy , Clone)] pub union __mbstate_t__bindgen_ty_1 { pub __wch : :: std :: os :: raw :: c_uint , pub __wchb : [:: std :: os :: raw :: c_char ; 4usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __mbstate_t__bindgen_ty_1"] [:: std :: mem :: size_of :: < __mbstate_t__bindgen_ty_1 > () - 4usize] ; ["Alignment of __mbstate_t__bindgen_ty_1"] [:: std :: mem :: align_of :: < __mbstate_t__bindgen_ty_1 > () - 4usize] ; ["Offset of field: __mbstate_t__bindgen_ty_1::__wch"] [:: std :: mem :: offset_of ! (__mbstate_t__bindgen_ty_1 , __wch) - 0usize] ; ["Offset of field: __mbstate_t__bindgen_ty_1::__wchb"] [:: std :: mem :: offset_of ! (__mbstate_t__bindgen_ty_1 , __wchb) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __mbstate_t"] [:: std :: mem :: size_of :: < __mbstate_t > () - 8usize] ; ["Alignment of __mbstate_t"] [:: std :: mem :: align_of :: < __mbstate_t > () - 4usize] ; ["Offset of field: __mbstate_t::__count"] [:: std :: mem :: offset_of ! (__mbstate_t , __count) - 0usize] ; ["Offset of field: __mbstate_t::__value"] [:: std :: mem :: offset_of ! (__mbstate_t , __value) - 4usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos_t { pub __pos : __off_t , pub __state : __mbstate_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _G_fpos_t"] [:: std :: mem :: size_of :: < _G_fpos_t > () - 16usize] ; ["Alignment of _G_fpos_t"] [:: std :: mem :: align_of :: < _G_fpos_t > () - 8usize] ; ["Offset of field: _G_fpos_t::__pos"] [:: std :: mem :: offset_of ! (_G_fpos_t , __pos) - 0usize] ; ["Offset of field: _G_fpos_t::__state"] [:: std :: mem :: offset_of ! (_G_fpos_t , __state) - 8usize] ; } ; pub type __fpos_t = _G_fpos_t ; # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos64_t { pub __pos : __off64_t , pub __state : __mbstate_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _G_fpos64_t"] [:: std :: mem :: size_of :: < _G_fpos64_t > () - 16usize] ; ["Alignment of _G_fpos64_t"] [:: std :: mem :: align_of :: < _G_fpos64_t > () - 8usize] ; ["Offset of field: _G_fpos64_t::__pos"] [:: std :: mem :: offset_of ! (_G_fpos64_t , __pos) - 0usize] ; ["Offset of field: _G_fpos64_t::__state"] [:: std :: mem :: offset_of ! (_G_fpos64_t , __state) - 8usize] ; } ; pub type __fpos64_t = _G_fpos64_t ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: std :: os :: raw :: c_int , pub _IO_read_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_read_end : * mut :: std :: os :: raw :: c_char , pub _IO_read_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_write_end : * mut :: std :: os :: raw :: c_char , pub _IO_buf_base : * mut :: std :: os :: raw :: c_char , pub _IO_buf_end : * mut :: std :: os :: raw :: c_char , pub _IO_save_base : * mut :: std :: os :: raw :: c_char , pub _IO_backup_base : * mut :: std :: os :: raw :: c_char , pub _IO_save_end : * mut :: std :: os :: raw :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: std :: os :: raw :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: std :: os :: raw :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: std :: os :: raw :: c_ushort , pub _vtable_offset : :: std :: os :: raw :: c_schar , pub _shortbuf : [:: std :: os :: raw :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: std :: os :: raw :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: std :: os :: raw :: c_int , pub _unused3 : :: std :: os :: raw :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: std :: os :: raw :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: std :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: std :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: std :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: std :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: std :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: std :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: std :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: std :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: std :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: std :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: std :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: std :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: std :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: std :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: std :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: std :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: std :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: std :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: std :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: std :: os :: raw :: c_int { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: std :: os :: raw :: c_int) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub unsafe fn _flags2_raw (this : * const Self) -> :: std :: os :: raw :: c_int { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 3usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 0usize , 24u8 ,) as u32) } } # [inline] pub unsafe fn set__flags2_raw (this : * mut Self , val : :: std :: os :: raw :: c_int) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 3usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 0usize , 24u8 , val as u64 ,) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: std :: os :: raw :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { :: std :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } pub type cookie_read_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_write_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_seek_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; pub type cookie_close_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_cookie_io_functions_t { pub read : cookie_read_function_t , pub write : cookie_write_function_t , pub seek : cookie_seek_function_t , pub close : cookie_close_function_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_cookie_io_functions_t"] [:: std :: mem :: size_of :: < _IO_cookie_io_functions_t > () - 32usize] ; ["Alignment of _IO_cookie_io_functions_t"] [:: std :: mem :: align_of :: < _IO_cookie_io_functions_t > () - 8usize] ; ["Offset of field: _IO_cookie_io_functions_t::read"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , read) - 0usize] ; ["Offset of field: _IO_cookie_io_functions_t::write"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , write) - 8usize] ; ["Offset of field: _IO_cookie_io_functions_t::seek"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , seek) - 16usize] ; ["Offset of field: _IO_cookie_io_functions_t::close"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , close) - 24usize] ; } ; pub type cookie_io_functions_t = _IO_cookie_io_functions_t ; pub type va_list = __gnuc_va_list ; pub type off_t = __off_t ; pub type fpos_t = __fpos_t ; unsafe extern "C" { pub static mut stdin : * mut FILE ; } unsafe extern "C" { pub static mut stdout : * mut FILE ; } unsafe extern "C" { pub static mut stderr : * mut FILE ; } unsafe extern "C" { pub fn remove (__filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn rename (__old : * const :: std :: os :: raw :: c_char , __new : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn renameat (__oldfd : :: std :: os :: raw :: c_int , __old : * const :: std :: os :: raw :: c_char , __newfd : :: std :: os :: raw :: c_int , __new : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fclose (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn tmpfile () -> * mut FILE ; } unsafe extern "C" { pub fn tmpnam (arg1 : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn tmpnam_r (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn tempnam (__dir : * const :: std :: os :: raw :: c_char , __pfx : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn fflush (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fflush_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn freopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> * mut FILE ; } unsafe extern "C" { pub fn fdopen (__fd : :: std :: os :: raw :: c_int , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn fopencookie (__magic_cookie : * mut :: std :: os :: raw :: c_void , __modes : * const :: std :: os :: raw :: c_char , __io_funcs : cookie_io_functions_t) -> * mut FILE ; } unsafe extern "C" { pub fn fmemopen (__s : * mut :: std :: os :: raw :: c_void , __len : usize , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn open_memstream (__bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize) -> * mut FILE ; } unsafe extern "C" { pub fn setbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn setvbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn setbuffer (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize) ; } unsafe extern "C" { pub fn setlinebuf (__stream : * mut FILE) ; } unsafe extern "C" { pub fn fprintf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn printf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn sprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vfprintf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vprintf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn snprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsnprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vasprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __f : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vdprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn dprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fscanf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn scanf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn sscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } pub type __cfloat128 = __BindgenComplex < u128 > ; pub type _Float128 = u128 ; pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = u128 ; unsafe extern "C" { # [link_name = "\u{1}__isoc99_fscanf"] pub fn fscanf1 (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_scanf"] pub fn scanf1 (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_sscanf"] pub fn sscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vfscanf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vscanf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vfscanf"] pub fn vfscanf1 (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vscanf"] pub fn vscanf1 (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vsscanf"] pub fn vsscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgetc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getchar () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getchar_unlocked () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgetc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fputc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putchar (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fputc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putchar_unlocked (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getw (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putw (__w : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgets (__s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn __getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn getline (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn fputs (__s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn puts (__s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ungetc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fread (__ptr : * mut :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __stream : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn fwrite (__ptr : * const :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __s : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn fread_unlocked (__ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } unsafe extern "C" { pub fn fwrite_unlocked (__ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } unsafe extern "C" { pub fn fseek (__stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ftell (__stream : * mut FILE) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn rewind (__stream : * mut FILE) ; } unsafe extern "C" { pub fn fseeko (__stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ftello (__stream : * mut FILE) -> __off_t ; } unsafe extern "C" { pub fn fgetpos (__stream : * mut FILE , __pos : * mut fpos_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fsetpos (__stream : * mut FILE , __pos : * const fpos_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn clearerr (__stream : * mut FILE) ; } unsafe extern "C" { pub fn feof (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ferror (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn clearerr_unlocked (__stream : * mut FILE) ; } unsafe extern "C" { pub fn feof_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ferror_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn perror (__s : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn fileno (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fileno_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn pclose (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn popen (__command : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn ctermid (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn flockfile (__stream : * mut FILE) ; } unsafe extern "C" { pub fn ftrylockfile (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn funlockfile (__stream : * mut FILE) ; } unsafe extern "C" { pub fn __uflow (arg1 : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __overflow (arg1 : * mut FILE , arg2 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " This is a basic byte in an UTF-8 encoded string.\n It's unsigned allowing to pinpoint case where char * are assigned\n to xmlChar * (possibly making serialization back impossible)."] pub type xmlChar = :: std :: os :: raw :: c_uchar ; unsafe extern "C" { pub fn xmlStrdup (cur : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrndup (cur : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCharStrndup (cur : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCharStrdup (cur : * const :: std :: os :: raw :: c_char) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrsub (str_ : * const xmlChar , start : :: std :: os :: raw :: c_int , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrchr (str_ : * const xmlChar , val : xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrstr (str_ : * const xmlChar , val : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrcasestr (str_ : * const xmlChar , val : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrcmp (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrncmp (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrcasecmp (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrncasecmp (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrEqual (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrQEqual (pref : * const xmlChar , name : * const xmlChar , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrlen (str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrcat (cur : * mut xmlChar , add : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrncat (cur : * mut xmlChar , add : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrncatNew (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrPrintf (buf : * mut xmlChar , len : :: std :: os :: raw :: c_int , msg : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrVPrintf (buf : * mut xmlChar , len : :: std :: os :: raw :: c_int , msg : * const :: std :: os :: raw :: c_char , ap : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetUTF8Char (utf : * const :: std :: os :: raw :: c_uchar , len : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCheckUTF8 (utf : * const :: std :: os :: raw :: c_uchar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strsize (utf : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strndup (utf : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strpos (utf : * const xmlChar , pos : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strloc (utf : * const xmlChar , utfchar : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strsub (utf : * const xmlChar , start : :: std :: os :: raw :: c_int , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strlen (utf : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Size (utf : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Charcmp (utf1 : * const xmlChar , utf2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } # [doc = " Signature for a free() implementation.\n\n @param mem  an already allocated block of memory"] pub type xmlFreeFunc = :: std :: option :: Option < unsafe extern "C" fn (mem : * mut :: std :: os :: raw :: c_void) > ; # [doc = " Signature for a malloc() implementation.\n\n @param size  the size requested in bytes\n @returns a pointer to the newly allocated block or NULL in case of error."] pub type xmlMallocFunc = :: std :: option :: Option < unsafe extern "C" fn (size : usize) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Signature for a realloc() implementation.\n\n @param mem  an already allocated block of memory\n @param size  the new size requested in bytes\n @returns a pointer to the newly reallocated block or NULL in case of error."] pub type xmlReallocFunc = :: std :: option :: Option < unsafe extern "C" fn (mem : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Signature for an strdup() implementation.\n\n @param str  a zero terminated string\n @returns the copy of the string or NULL in case of error."] pub type xmlStrdupFunc = :: std :: option :: Option < unsafe extern "C" fn (str_ : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char > ; unsafe extern "C" { # [doc = " The variable holding the libxml malloc() implementation"] pub static mut xmlMalloc : xmlMallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml malloc() implementation for atomic\n data (i.e. blocks not containing pointers), useful when using a\n garbage collecting allocator.\n\n @deprecated Use #xmlMalloc"] pub static mut xmlMallocAtomic : xmlMallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml realloc() implementation"] pub static mut xmlRealloc : xmlReallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml free() implementation"] pub static mut xmlFree : xmlFreeFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml strdup() implementation"] pub static mut xmlMemStrdup : xmlStrdupFunc ; } unsafe extern "C" { pub fn xmlMemSetup (freeFunc : xmlFreeFunc , mallocFunc : xmlMallocFunc , reallocFunc : xmlReallocFunc , strdupFunc : xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemGet (freeFunc : * mut xmlFreeFunc , mallocFunc : * mut xmlMallocFunc , reallocFunc : * mut xmlReallocFunc , strdupFunc : * mut xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGcMemSetup (freeFunc : xmlFreeFunc , mallocFunc : xmlMallocFunc , mallocAtomicFunc : xmlMallocFunc , reallocFunc : xmlReallocFunc , strdupFunc : xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGcMemGet (freeFunc : * mut xmlFreeFunc , mallocFunc : * mut xmlMallocFunc , mallocAtomicFunc : * mut xmlMallocFunc , reallocFunc : * mut xmlReallocFunc , strdupFunc : * mut xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlInitMemory () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCleanupMemory () ; } unsafe extern "C" { pub fn xmlMemSize (ptr : * mut :: std :: os :: raw :: c_void) -> usize ; } unsafe extern "C" { pub fn xmlMemUsed () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemBlocks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemDisplay (fp : * mut FILE) ; } unsafe extern "C" { pub fn xmlMemDisplayLast (fp : * mut FILE , nbBytes : :: std :: os :: raw :: c_long) ; } unsafe extern "C" { pub fn xmlMemShow (fp : * mut FILE , nr : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlMemoryDump () ; } unsafe extern "C" { pub fn xmlMemMalloc (size : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemRealloc (ptr : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemFree (ptr : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlMemoryStrdup (str_ : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlMallocLoc (size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlReallocLoc (ptr : * mut :: std :: os :: raw :: c_void , size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMallocAtomicLoc (size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemStrdupLoc (str_ : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRegexp { _unused : [u8 ; 0] , } # [doc = " A libxml regular expression"] pub type xmlRegexp = _xmlRegexp ; pub type xmlRegexpPtr = * mut xmlRegexp ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRegExecCtxt { _unused : [u8 ; 0] , } # [doc = " A libxml progressive regular expression evaluation context"] pub type xmlRegExecCtxt = _xmlRegExecCtxt ; pub type xmlRegExecCtxtPtr = * mut xmlRegExecCtxt ; unsafe extern "C" { pub fn xmlRegexpCompile (regexp : * const xmlChar) -> * mut xmlRegexp ; } unsafe extern "C" { pub fn xmlRegFreeRegexp (regexp : * mut xmlRegexp) ; } unsafe extern "C" { pub fn xmlRegexpExec (comp : * mut xmlRegexp , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegexpPrint (output : * mut FILE , regexp : * mut xmlRegexp) ; } unsafe extern "C" { pub fn xmlRegexpIsDeterminist (comp : * mut xmlRegexp) -> :: std :: os :: raw :: c_int ; } # [doc = " Callback function when doing a transition in the automata\n\n @param exec  the regular expression context\n @param token  the current token string\n @param transdata  transition data\n @param inputdata  input data"] pub type xmlRegExecCallbacks = :: std :: option :: Option < unsafe extern "C" fn (exec : * mut xmlRegExecCtxt , token : * const xmlChar , transdata : * mut :: std :: os :: raw :: c_void , inputdata : * mut :: std :: os :: raw :: c_void) > ; unsafe extern "C" { pub fn xmlRegNewExecCtxt (comp : * mut xmlRegexp , callback : xmlRegExecCallbacks , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlRegExecCtxt ; } unsafe extern "C" { pub fn xmlRegFreeExecCtxt (exec : * mut xmlRegExecCtxt) ; } unsafe extern "C" { pub fn xmlRegExecPushString (exec : * mut xmlRegExecCtxt , value : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecPushString2 (exec : * mut xmlRegExecCtxt , value : * const xmlChar , value2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecNextValues (exec : * mut xmlRegExecCtxt , nbval : * mut :: std :: os :: raw :: c_int , nbneg : * mut :: std :: os :: raw :: c_int , values : * mut * mut xmlChar , terminal : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecErrInfo (exec : * mut xmlRegExecCtxt , string : * mut * const xmlChar , nbval : * mut :: std :: os :: raw :: c_int , nbneg : * mut :: std :: os :: raw :: c_int , values : * mut * mut xmlChar , terminal : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " Parser input buffer\n\n This struct and all related functions should ultimately\n be removed from the public interface."] pub type xmlParserInputBuffer = _xmlParserInputBuffer ; pub type xmlParserInputBufferPtr = * mut xmlParserInputBuffer ; # [doc = " Output buffer"] pub type xmlOutputBuffer = _xmlOutputBuffer ; pub type xmlOutputBufferPtr = * mut xmlOutputBuffer ; # [doc = " Parser input"] pub type xmlParserInput = _xmlParserInput ; pub type xmlParserInputPtr = * mut xmlParserInput ; # [doc = " Parser context"] pub type xmlParserCtxt = _xmlParserCtxt ; pub type xmlParserCtxtPtr = * mut xmlParserCtxt ; # [doc = " SAX locator"] pub type xmlSAXLocator = _xmlSAXLocator ; pub type xmlSAXLocatorPtr = * mut xmlSAXLocator ; # [doc = " SAX handler"] pub type xmlSAXHandler = _xmlSAXHandler ; pub type xmlSAXHandlerPtr = * mut xmlSAXHandler ; # [doc = " Entity declaration"] pub type xmlEntity = _xmlEntity ; pub type xmlEntityPtr = * mut xmlEntity ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_DOUBLEIT : xmlBufferAllocationScheme = 0 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_EXACT : xmlBufferAllocationScheme = 1 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_IMMUTABLE : xmlBufferAllocationScheme = 2 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_IO : xmlBufferAllocationScheme = 3 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_HYBRID : xmlBufferAllocationScheme = 4 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_BOUNDED : xmlBufferAllocationScheme = 5 ; # [doc = " Removed, buffers always use XML_BUFFER_ALLOC_IO now."] pub type xmlBufferAllocationScheme = :: std :: os :: raw :: c_uint ; # [doc = " Buffer type"] pub type xmlBuffer = _xmlBuffer ; pub type xmlBufferPtr = * mut xmlBuffer ; # [doc = " A buffer structure, this old construct is limited to 2GB and\n is being deprecated, use API with xmlBuf instead."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlBuffer { # [doc = " @deprecated Use #xmlBufferContent\n\n The buffer content UTF8"] pub content : * mut xmlChar , # [doc = " @deprecated Use #xmlBufferLength\n\n The buffer size used"] pub use_ : :: std :: os :: raw :: c_uint , pub size : :: std :: os :: raw :: c_uint , pub alloc : xmlBufferAllocationScheme , pub contentIO : * mut xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlBuffer"] [:: std :: mem :: size_of :: < _xmlBuffer > () - 32usize] ; ["Alignment of _xmlBuffer"] [:: std :: mem :: align_of :: < _xmlBuffer > () - 8usize] ; ["Offset of field: _xmlBuffer::content"] [:: std :: mem :: offset_of ! (_xmlBuffer , content) - 0usize] ; ["Offset of field: _xmlBuffer::use_"] [:: std :: mem :: offset_of ! (_xmlBuffer , use_) - 8usize] ; ["Offset of field: _xmlBuffer::size"] [:: std :: mem :: offset_of ! (_xmlBuffer , size) - 12usize] ; ["Offset of field: _xmlBuffer::alloc"] [:: std :: mem :: offset_of ! (_xmlBuffer , alloc) - 16usize] ; ["Offset of field: _xmlBuffer::contentIO"] [:: std :: mem :: offset_of ! (_xmlBuffer , contentIO) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlBuf { _unused : [u8 ; 0] , } # [doc = " Buffer with 64-bit support"] pub type xmlBuf = _xmlBuf ; pub type xmlBufPtr = * mut xmlBuf ; # [doc = " An element.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_ELEMENT_NODE : xmlElementType = 1 ; # [doc = " An attribute.\n\n Objects of this type are an xmlAttr."] pub const xmlElementType_XML_ATTRIBUTE_NODE : xmlElementType = 2 ; # [doc = " A text node.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_TEXT_NODE : xmlElementType = 3 ; # [doc = " A CDATA section.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_CDATA_SECTION_NODE : xmlElementType = 4 ; # [doc = " An entity reference.\n\n Objects of this type are an xmlNode. The `children` member\n points to the entity declaration if available."] pub const xmlElementType_XML_ENTITY_REF_NODE : xmlElementType = 5 ; # [doc = " unused"] pub const xmlElementType_XML_ENTITY_NODE : xmlElementType = 6 ; # [doc = " A processing instruction.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_PI_NODE : xmlElementType = 7 ; # [doc = " A comment.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_COMMENT_NODE : xmlElementType = 8 ; # [doc = " A document.\n\n Objects of this type are an xmlDoc."] pub const xmlElementType_XML_DOCUMENT_NODE : xmlElementType = 9 ; # [doc = " unused"] pub const xmlElementType_XML_DOCUMENT_TYPE_NODE : xmlElementType = 10 ; # [doc = " A document fragment.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_DOCUMENT_FRAG_NODE : xmlElementType = 11 ; # [doc = " A notation, unused"] pub const xmlElementType_XML_NOTATION_NODE : xmlElementType = 12 ; # [doc = " An HTML document.\n\n Objects of this type are an xmlDoc."] pub const xmlElementType_XML_HTML_DOCUMENT_NODE : xmlElementType = 13 ; # [doc = " A document type definition.\n\n Objects of this type are an xmlDtd."] pub const xmlElementType_XML_DTD_NODE : xmlElementType = 14 ; # [doc = " An element declaration.\n\n Objects of this type are an xmlElement."] pub const xmlElementType_XML_ELEMENT_DECL : xmlElementType = 15 ; # [doc = " An attribute declaration.\n\n Objects of this type are an xmlAttribute."] pub const xmlElementType_XML_ATTRIBUTE_DECL : xmlElementType = 16 ; # [doc = " An entity declaration.\n\n Objects of this type are an xmlEntity."] pub const xmlElementType_XML_ENTITY_DECL : xmlElementType = 17 ; # [doc = " An XPath namespace node.\n\n Can only be returned by the XPath engine. Objects of this\n type are an xmlNs which has a completely different layout\n than xmlNode. The `next` member contains a pointer to the\n xmlNode element to which the namespace applies.\n\n Nodes of this type must be handled with extreme care to\n avoid type confusion bugs."] pub const xmlElementType_XML_NAMESPACE_DECL : xmlElementType = 18 ; # [doc = " An XInclude start marker.\n\n Objects of this type are an xmlNode. Inserted as preceding\n sibling of XIncluded content."] pub const xmlElementType_XML_XINCLUDE_START : xmlElementType = 19 ; # [doc = " An XInclude end marker.\n\n Objects of this type are an xmlNode. Inserted as following\n sibling of XIncluded content."] pub const xmlElementType_XML_XINCLUDE_END : xmlElementType = 20 ; # [doc = " The different element types carried by an XML tree.\n\n NOTE: This is synchronized with DOM Level 1 values.\n       See http://www.w3.org/TR/REC-DOM-Level-1/\n\n Actually this had diverged a bit, and XML_DTD_NODE is used instead\n of XML_DOCUMENT_TYPE_NODE."] pub type xmlElementType = :: std :: os :: raw :: c_uint ; # [doc = " Notation declaration"] pub type xmlNotation = _xmlNotation ; pub type xmlNotationPtr = * mut xmlNotation ; # [doc = " A DTD Notation definition.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNotation { # [doc = " Notation name"] pub name : * const xmlChar , # [doc = " Public identifier, if any"] pub PublicID : * const xmlChar , # [doc = " System identifier, if any"] pub SystemID : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNotation"] [:: std :: mem :: size_of :: < _xmlNotation > () - 24usize] ; ["Alignment of _xmlNotation"] [:: std :: mem :: align_of :: < _xmlNotation > () - 8usize] ; ["Offset of field: _xmlNotation::name"] [:: std :: mem :: offset_of ! (_xmlNotation , name) - 0usize] ; ["Offset of field: _xmlNotation::PublicID"] [:: std :: mem :: offset_of ! (_xmlNotation , PublicID) - 8usize] ; ["Offset of field: _xmlNotation::SystemID"] [:: std :: mem :: offset_of ! (_xmlNotation , SystemID) - 16usize] ; } ; pub const xmlAttributeType_XML_ATTRIBUTE_CDATA : xmlAttributeType = 1 ; pub const xmlAttributeType_XML_ATTRIBUTE_ID : xmlAttributeType = 2 ; pub const xmlAttributeType_XML_ATTRIBUTE_IDREF : xmlAttributeType = 3 ; pub const xmlAttributeType_XML_ATTRIBUTE_IDREFS : xmlAttributeType = 4 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENTITY : xmlAttributeType = 5 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENTITIES : xmlAttributeType = 6 ; pub const xmlAttributeType_XML_ATTRIBUTE_NMTOKEN : xmlAttributeType = 7 ; pub const xmlAttributeType_XML_ATTRIBUTE_NMTOKENS : xmlAttributeType = 8 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENUMERATION : xmlAttributeType = 9 ; pub const xmlAttributeType_XML_ATTRIBUTE_NOTATION : xmlAttributeType = 10 ; # [doc = " A DTD Attribute type definition."] pub type xmlAttributeType = :: std :: os :: raw :: c_uint ; pub const xmlAttributeDefault_XML_ATTRIBUTE_NONE : xmlAttributeDefault = 1 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_REQUIRED : xmlAttributeDefault = 2 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_IMPLIED : xmlAttributeDefault = 3 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_FIXED : xmlAttributeDefault = 4 ; # [doc = " A DTD Attribute default definition."] pub type xmlAttributeDefault = :: std :: os :: raw :: c_uint ; # [doc = " Enumeration in a DTD"] pub type xmlEnumeration = _xmlEnumeration ; pub type xmlEnumerationPtr = * mut xmlEnumeration ; # [doc = " List structure used when there is an enumeration in DTDs.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlEnumeration { # [doc = " next enumeration"] pub next : * mut _xmlEnumeration , # [doc = " value"] pub name : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlEnumeration"] [:: std :: mem :: size_of :: < _xmlEnumeration > () - 16usize] ; ["Alignment of _xmlEnumeration"] [:: std :: mem :: align_of :: < _xmlEnumeration > () - 8usize] ; ["Offset of field: _xmlEnumeration::next"] [:: std :: mem :: offset_of ! (_xmlEnumeration , next) - 0usize] ; ["Offset of field: _xmlEnumeration::name"] [:: std :: mem :: offset_of ! (_xmlEnumeration , name) - 8usize] ; } ; # [doc = " Attribute declaration"] pub type xmlAttribute = _xmlAttribute ; pub type xmlAttributePtr = * mut xmlAttribute ; # [doc = " An Attribute declaration in a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttribute { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ATTRIBUTE_DECL"] pub type_ : xmlElementType , # [doc = " attribute name"] pub name : * const xmlChar , # [doc = " NULL"] pub children : * mut _xmlNode , # [doc = " NULL"] pub last : * mut _xmlNode , # [doc = " DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " next in hash table"] pub nexth : * mut _xmlAttribute , # [doc = " attribute type"] pub atype : xmlAttributeType , # [doc = " attribute default"] pub def : xmlAttributeDefault , # [doc = " default value"] pub defaultValue : * mut xmlChar , # [doc = " enumeration tree if any"] pub tree : * mut xmlEnumeration , # [doc = " namespace prefix if any"] pub prefix : * const xmlChar , # [doc = " element name"] pub elem : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlAttribute"] [:: std :: mem :: size_of :: < _xmlAttribute > () - 120usize] ; ["Alignment of _xmlAttribute"] [:: std :: mem :: align_of :: < _xmlAttribute > () - 8usize] ; ["Offset of field: _xmlAttribute::_private"] [:: std :: mem :: offset_of ! (_xmlAttribute , _private) - 0usize] ; ["Offset of field: _xmlAttribute::type_"] [:: std :: mem :: offset_of ! (_xmlAttribute , type_) - 8usize] ; ["Offset of field: _xmlAttribute::name"] [:: std :: mem :: offset_of ! (_xmlAttribute , name) - 16usize] ; ["Offset of field: _xmlAttribute::children"] [:: std :: mem :: offset_of ! (_xmlAttribute , children) - 24usize] ; ["Offset of field: _xmlAttribute::last"] [:: std :: mem :: offset_of ! (_xmlAttribute , last) - 32usize] ; ["Offset of field: _xmlAttribute::parent"] [:: std :: mem :: offset_of ! (_xmlAttribute , parent) - 40usize] ; ["Offset of field: _xmlAttribute::next"] [:: std :: mem :: offset_of ! (_xmlAttribute , next) - 48usize] ; ["Offset of field: _xmlAttribute::prev"] [:: std :: mem :: offset_of ! (_xmlAttribute , prev) - 56usize] ; ["Offset of field: _xmlAttribute::doc"] [:: std :: mem :: offset_of ! (_xmlAttribute , doc) - 64usize] ; ["Offset of field: _xmlAttribute::nexth"] [:: std :: mem :: offset_of ! (_xmlAttribute , nexth) - 72usize] ; ["Offset of field: _xmlAttribute::atype"] [:: std :: mem :: offset_of ! (_xmlAttribute , atype) - 80usize] ; ["Offset of field: _xmlAttribute::def"] [:: std :: mem :: offset_of ! (_xmlAttribute , def) - 84usize] ; ["Offset of field: _xmlAttribute::defaultValue"] [:: std :: mem :: offset_of ! (_xmlAttribute , defaultValue) - 88usize] ; ["Offset of field: _xmlAttribute::tree"] [:: std :: mem :: offset_of ! (_xmlAttribute , tree) - 96usize] ; ["Offset of field: _xmlAttribute::prefix"] [:: std :: mem :: offset_of ! (_xmlAttribute , prefix) - 104usize] ; ["Offset of field: _xmlAttribute::elem"] [:: std :: mem :: offset_of ! (_xmlAttribute , elem) - 112usize] ; } ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_PCDATA : xmlElementContentType = 1 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_ELEMENT : xmlElementContentType = 2 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_SEQ : xmlElementContentType = 3 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_OR : xmlElementContentType = 4 ; # [doc = " Possible definitions of element content types."] pub type xmlElementContentType = :: std :: os :: raw :: c_uint ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_ONCE : xmlElementContentOccur = 1 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_OPT : xmlElementContentOccur = 2 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_MULT : xmlElementContentOccur = 3 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_PLUS : xmlElementContentOccur = 4 ; # [doc = " Possible definitions of element content occurrences."] pub type xmlElementContentOccur = :: std :: os :: raw :: c_uint ; # [doc = " Element content in element declarations"] pub type xmlElementContent = _xmlElementContent ; pub type xmlElementContentPtr = * mut xmlElementContent ; # [doc = " An XML Element content as stored after parsing an element definition\n in a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlElementContent { # [doc = " PCDATA, ELEMENT, SEQ or OR"] pub type_ : xmlElementContentType , # [doc = " ONCE, OPT, MULT or PLUS"] pub ocur : xmlElementContentOccur , # [doc = " element name"] pub name : * const xmlChar , # [doc = " first child"] pub c1 : * mut _xmlElementContent , # [doc = " second child"] pub c2 : * mut _xmlElementContent , # [doc = " parent"] pub parent : * mut _xmlElementContent , # [doc = " namespace prefix"] pub prefix : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlElementContent"] [:: std :: mem :: size_of :: < _xmlElementContent > () - 48usize] ; ["Alignment of _xmlElementContent"] [:: std :: mem :: align_of :: < _xmlElementContent > () - 8usize] ; ["Offset of field: _xmlElementContent::type_"] [:: std :: mem :: offset_of ! (_xmlElementContent , type_) - 0usize] ; ["Offset of field: _xmlElementContent::ocur"] [:: std :: mem :: offset_of ! (_xmlElementContent , ocur) - 4usize] ; ["Offset of field: _xmlElementContent::name"] [:: std :: mem :: offset_of ! (_xmlElementContent , name) - 8usize] ; ["Offset of field: _xmlElementContent::c1"] [:: std :: mem :: offset_of ! (_xmlElementContent , c1) - 16usize] ; ["Offset of field: _xmlElementContent::c2"] [:: std :: mem :: offset_of ! (_xmlElementContent , c2) - 24usize] ; ["Offset of field: _xmlElementContent::parent"] [:: std :: mem :: offset_of ! (_xmlElementContent , parent) - 32usize] ; ["Offset of field: _xmlElementContent::prefix"] [:: std :: mem :: offset_of ! (_xmlElementContent , prefix) - 40usize] ; } ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_UNDEFINED : xmlElementTypeVal = 0 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_EMPTY : xmlElementTypeVal = 1 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_ANY : xmlElementTypeVal = 2 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_MIXED : xmlElementTypeVal = 3 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_ELEMENT : xmlElementTypeVal = 4 ; # [doc = " The different possibilities for an element content type."] pub type xmlElementTypeVal = :: std :: os :: raw :: c_uint ; # [doc = " Element declaration"] pub type xmlElement = _xmlElement ; pub type xmlElementPtr = * mut xmlElement ; # [doc = " An XML Element declaration from a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlElement { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ELEMENT_DECL"] pub type_ : xmlElementType , # [doc = " element name"] pub name : * const xmlChar , # [doc = " NULL"] pub children : * mut _xmlNode , # [doc = " NULL"] pub last : * mut _xmlNode , # [doc = " -> DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " element type"] pub etype : xmlElementTypeVal , # [doc = " allowed element content"] pub content : * mut xmlElementContent , # [doc = " list of declared attributes"] pub attributes : * mut xmlAttribute , # [doc = " namespace prefix if any"] pub prefix : * const xmlChar , # [doc = " validating regexp"] pub contModel : * mut xmlRegexp , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlElement"] [:: std :: mem :: size_of :: < _xmlElement > () - 112usize] ; ["Alignment of _xmlElement"] [:: std :: mem :: align_of :: < _xmlElement > () - 8usize] ; ["Offset of field: _xmlElement::_private"] [:: std :: mem :: offset_of ! (_xmlElement , _private) - 0usize] ; ["Offset of field: _xmlElement::type_"] [:: std :: mem :: offset_of ! (_xmlElement , type_) - 8usize] ; ["Offset of field: _xmlElement::name"] [:: std :: mem :: offset_of ! (_xmlElement , name) - 16usize] ; ["Offset of field: _xmlElement::children"] [:: std :: mem :: offset_of ! (_xmlElement , children) - 24usize] ; ["Offset of field: _xmlElement::last"] [:: std :: mem :: offset_of ! (_xmlElement , last) - 32usize] ; ["Offset of field: _xmlElement::parent"] [:: std :: mem :: offset_of ! (_xmlElement , parent) - 40usize] ; ["Offset of field: _xmlElement::next"] [:: std :: mem :: offset_of ! (_xmlElement , next) - 48usize] ; ["Offset of field: _xmlElement::prev"] [:: std :: mem :: offset_of ! (_xmlElement , prev) - 56usize] ; ["Offset of field: _xmlElement::doc"] [:: std :: mem :: offset_of ! (_xmlElement , doc) - 64usize] ; ["Offset of field: _xmlElement::etype"] [:: std :: mem :: offset_of ! (_xmlElement , etype) - 72usize] ; ["Offset of field: _xmlElement::content"] [:: std :: mem :: offset_of ! (_xmlElement , content) - 80usize] ; ["Offset of field: _xmlElement::attributes"] [:: std :: mem :: offset_of ! (_xmlElement , attributes) - 88usize] ; ["Offset of field: _xmlElement::prefix"] [:: std :: mem :: offset_of ! (_xmlElement , prefix) - 96usize] ; ["Offset of field: _xmlElement::contModel"] [:: std :: mem :: offset_of ! (_xmlElement , contModel) - 104usize] ; } ; # [doc = " The different element types carried by an XML tree.\n\n NOTE: This is synchronized with DOM Level 1 values.\n       See http://www.w3.org/TR/REC-DOM-Level-1/\n\n Actually this had diverged a bit, and XML_DTD_NODE is used instead\n of XML_DOCUMENT_TYPE_NODE."] pub use self :: xmlElementType as xmlNsType ; # [doc = " Namespace declaration"] pub type xmlNs = _xmlNs ; pub type xmlNsPtr = * mut xmlNs ; # [doc = " An XML namespace.\n Note that prefix == NULL is valid, it defines the default namespace\n within the subtree (until overridden).\n\n xmlNsType is unified with xmlElementType.\n\n Note that the XPath engine returns XPath namespace nodes as\n xmlNs cast to xmlNode. This is a terrible design decision that\n can easily cause type confusion errors. In this case, the `next`\n member points to the xmlNode element to which the namespace\n node belongs."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNs { # [doc = " next namespace"] pub next : * mut _xmlNs , # [doc = " XML_NAMESPACE_DECL"] pub type_ : xmlNsType , # [doc = " namespace URI"] pub href : * const xmlChar , # [doc = " namespace prefix"] pub prefix : * const xmlChar , # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " normally an xmlDoc"] pub context : * mut _xmlDoc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNs"] [:: std :: mem :: size_of :: < _xmlNs > () - 48usize] ; ["Alignment of _xmlNs"] [:: std :: mem :: align_of :: < _xmlNs > () - 8usize] ; ["Offset of field: _xmlNs::next"] [:: std :: mem :: offset_of ! (_xmlNs , next) - 0usize] ; ["Offset of field: _xmlNs::type_"] [:: std :: mem :: offset_of ! (_xmlNs , type_) - 8usize] ; ["Offset of field: _xmlNs::href"] [:: std :: mem :: offset_of ! (_xmlNs , href) - 16usize] ; ["Offset of field: _xmlNs::prefix"] [:: std :: mem :: offset_of ! (_xmlNs , prefix) - 24usize] ; ["Offset of field: _xmlNs::_private"] [:: std :: mem :: offset_of ! (_xmlNs , _private) - 32usize] ; ["Offset of field: _xmlNs::context"] [:: std :: mem :: offset_of ! (_xmlNs , context) - 40usize] ; } ; # [doc = " Document type definition (DTD)"] pub type xmlDtd = _xmlDtd ; pub type xmlDtdPtr = * mut xmlDtd ; # [doc = " An XML DTD, as defined by <!DOCTYPE ... There is actually one for\n the internal subset and for the external subset.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDtd { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_DTD_NODE"] pub type_ : xmlElementType , # [doc = " name of the DTD"] pub name : * const xmlChar , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlDoc , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " hash table for notations if any"] pub notations : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for elements if any"] pub elements : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for attributes if any"] pub attributes : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for entities if any"] pub entities : * mut :: std :: os :: raw :: c_void , # [doc = " public identifier"] pub ExternalID : * mut xmlChar , # [doc = " system identifier"] pub SystemID : * mut xmlChar , # [doc = " hash table for parameter entities if any"] pub pentities : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDtd"] [:: std :: mem :: size_of :: < _xmlDtd > () - 128usize] ; ["Alignment of _xmlDtd"] [:: std :: mem :: align_of :: < _xmlDtd > () - 8usize] ; ["Offset of field: _xmlDtd::_private"] [:: std :: mem :: offset_of ! (_xmlDtd , _private) - 0usize] ; ["Offset of field: _xmlDtd::type_"] [:: std :: mem :: offset_of ! (_xmlDtd , type_) - 8usize] ; ["Offset of field: _xmlDtd::name"] [:: std :: mem :: offset_of ! (_xmlDtd , name) - 16usize] ; ["Offset of field: _xmlDtd::children"] [:: std :: mem :: offset_of ! (_xmlDtd , children) - 24usize] ; ["Offset of field: _xmlDtd::last"] [:: std :: mem :: offset_of ! (_xmlDtd , last) - 32usize] ; ["Offset of field: _xmlDtd::parent"] [:: std :: mem :: offset_of ! (_xmlDtd , parent) - 40usize] ; ["Offset of field: _xmlDtd::next"] [:: std :: mem :: offset_of ! (_xmlDtd , next) - 48usize] ; ["Offset of field: _xmlDtd::prev"] [:: std :: mem :: offset_of ! (_xmlDtd , prev) - 56usize] ; ["Offset of field: _xmlDtd::doc"] [:: std :: mem :: offset_of ! (_xmlDtd , doc) - 64usize] ; ["Offset of field: _xmlDtd::notations"] [:: std :: mem :: offset_of ! (_xmlDtd , notations) - 72usize] ; ["Offset of field: _xmlDtd::elements"] [:: std :: mem :: offset_of ! (_xmlDtd , elements) - 80usize] ; ["Offset of field: _xmlDtd::attributes"] [:: std :: mem :: offset_of ! (_xmlDtd , attributes) - 88usize] ; ["Offset of field: _xmlDtd::entities"] [:: std :: mem :: offset_of ! (_xmlDtd , entities) - 96usize] ; ["Offset of field: _xmlDtd::ExternalID"] [:: std :: mem :: offset_of ! (_xmlDtd , ExternalID) - 104usize] ; ["Offset of field: _xmlDtd::SystemID"] [:: std :: mem :: offset_of ! (_xmlDtd , SystemID) - 112usize] ; ["Offset of field: _xmlDtd::pentities"] [:: std :: mem :: offset_of ! (_xmlDtd , pentities) - 120usize] ; } ; # [doc = " Attribute of an element"] pub type xmlAttr = _xmlAttr ; pub type xmlAttrPtr = * mut xmlAttr ; # [doc = " An attribute of element."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttr { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ATTRIBUTE_NODE"] pub type_ : xmlElementType , # [doc = " local name"] pub name : * const xmlChar , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlNode , # [doc = " next sibling"] pub next : * mut _xmlAttr , # [doc = " previous sibling"] pub prev : * mut _xmlAttr , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " namespace if any"] pub ns : * mut xmlNs , # [doc = " attribute type if validating"] pub atype : xmlAttributeType , # [doc = " for type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " ID struct if any"] pub id : * mut _xmlID , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlAttr"] [:: std :: mem :: size_of :: < _xmlAttr > () - 104usize] ; ["Alignment of _xmlAttr"] [:: std :: mem :: align_of :: < _xmlAttr > () - 8usize] ; ["Offset of field: _xmlAttr::_private"] [:: std :: mem :: offset_of ! (_xmlAttr , _private) - 0usize] ; ["Offset of field: _xmlAttr::type_"] [:: std :: mem :: offset_of ! (_xmlAttr , type_) - 8usize] ; ["Offset of field: _xmlAttr::name"] [:: std :: mem :: offset_of ! (_xmlAttr , name) - 16usize] ; ["Offset of field: _xmlAttr::children"] [:: std :: mem :: offset_of ! (_xmlAttr , children) - 24usize] ; ["Offset of field: _xmlAttr::last"] [:: std :: mem :: offset_of ! (_xmlAttr , last) - 32usize] ; ["Offset of field: _xmlAttr::parent"] [:: std :: mem :: offset_of ! (_xmlAttr , parent) - 40usize] ; ["Offset of field: _xmlAttr::next"] [:: std :: mem :: offset_of ! (_xmlAttr , next) - 48usize] ; ["Offset of field: _xmlAttr::prev"] [:: std :: mem :: offset_of ! (_xmlAttr , prev) - 56usize] ; ["Offset of field: _xmlAttr::doc"] [:: std :: mem :: offset_of ! (_xmlAttr , doc) - 64usize] ; ["Offset of field: _xmlAttr::ns"] [:: std :: mem :: offset_of ! (_xmlAttr , ns) - 72usize] ; ["Offset of field: _xmlAttr::atype"] [:: std :: mem :: offset_of ! (_xmlAttr , atype) - 80usize] ; ["Offset of field: _xmlAttr::psvi"] [:: std :: mem :: offset_of ! (_xmlAttr , psvi) - 88usize] ; ["Offset of field: _xmlAttr::id"] [:: std :: mem :: offset_of ! (_xmlAttr , id) - 96usize] ; } ; # [doc = " Extra data for ID attributes"] pub type xmlID = _xmlID ; pub type xmlIDPtr = * mut xmlID ; # [doc = " An XML ID instance.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlID { pub next : * mut _xmlID , pub value : * mut xmlChar , pub attr : * mut xmlAttr , pub name : * const xmlChar , pub lineno : :: std :: os :: raw :: c_int , pub doc : * mut _xmlDoc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlID"] [:: std :: mem :: size_of :: < _xmlID > () - 48usize] ; ["Alignment of _xmlID"] [:: std :: mem :: align_of :: < _xmlID > () - 8usize] ; ["Offset of field: _xmlID::next"] [:: std :: mem :: offset_of ! (_xmlID , next) - 0usize] ; ["Offset of field: _xmlID::value"] [:: std :: mem :: offset_of ! (_xmlID , value) - 8usize] ; ["Offset of field: _xmlID::attr"] [:: std :: mem :: offset_of ! (_xmlID , attr) - 16usize] ; ["Offset of field: _xmlID::name"] [:: std :: mem :: offset_of ! (_xmlID , name) - 24usize] ; ["Offset of field: _xmlID::lineno"] [:: std :: mem :: offset_of ! (_xmlID , lineno) - 32usize] ; ["Offset of field: _xmlID::doc"] [:: std :: mem :: offset_of ! (_xmlID , doc) - 40usize] ; } ; # [doc = " @cond ignore"] pub type xmlRef = _xmlRef ; pub type xmlRefPtr = * mut xmlRef ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRef { pub next : * mut _xmlRef , pub value : * const xmlChar , pub attr : * mut xmlAttr , pub name : * const xmlChar , pub lineno : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlRef"] [:: std :: mem :: size_of :: < _xmlRef > () - 40usize] ; ["Alignment of _xmlRef"] [:: std :: mem :: align_of :: < _xmlRef > () - 8usize] ; ["Offset of field: _xmlRef::next"] [:: std :: mem :: offset_of ! (_xmlRef , next) - 0usize] ; ["Offset of field: _xmlRef::value"] [:: std :: mem :: offset_of ! (_xmlRef , value) - 8usize] ; ["Offset of field: _xmlRef::attr"] [:: std :: mem :: offset_of ! (_xmlRef , attr) - 16usize] ; ["Offset of field: _xmlRef::name"] [:: std :: mem :: offset_of ! (_xmlRef , name) - 24usize] ; ["Offset of field: _xmlRef::lineno"] [:: std :: mem :: offset_of ! (_xmlRef , lineno) - 32usize] ; } ; # [doc = " Generic node type in an XML or HTML tree"] pub type xmlNode = _xmlNode ; pub type xmlNodePtr = * mut xmlNode ; # [doc = " Generic node type in an XML or HTML tree.\n\n This is used for\n\n - XML_ELEMENT_NODE\n - XML_TEXT_NODE\n - XML_CDATA_SECTION_NODE\n - XML_ENTITY_REF_NODE\n - XML_PI_NODE\n - XML_COMMENT_NODE\n - XML_DOCUMENT_FRAG_NODE\n - XML_XINCLUDE_START_NODE\n - XML_XINCLUDE_END_NODE\n\n Other node types have a different struct layout than xmlNode,\n see xmlElementType. Except for XML_NAMESPACE_DECL all nodes\n share the following members at the same offset:\n\n - `_private`\n - `type` (also for XML_NAMESPACE_DECL)\n - `name`\n - `children`\n - `last`\n - `parent`\n - `next`\n - `prev`\n - `doc`\n\n xmlNode and xmlAttr also share the `ns` member."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNode { # [doc = " Application data. Often used by language bindings."] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " Type enum, an xmlElementType value"] pub type_ : xmlElementType , # [doc = " Name of the node.\n\n - Local name of elements or attributes. As a corner case,\n   this can also contain Names which are invalid QNames in\n   non-namespace-wellformed documents.\n - Name of entity references\n - Target of processing instructions\n - Fixed string for text and comments\n - Unused otherwise"] pub name : * const xmlChar , # [doc = " First child. Entity declaration of entity references."] pub children : * mut _xmlNode , # [doc = " Last child"] pub last : * mut _xmlNode , # [doc = " Parent node. NULL for documents or unlinked root nodes."] pub parent : * mut _xmlNode , # [doc = " Next sibling"] pub next : * mut _xmlNode , # [doc = " Previous sibling"] pub prev : * mut _xmlNode , # [doc = " Associated document.\n\n Used to access DTDs, entities, ID tables, dictionary or\n other document properties. All children of a node share the\n same document."] pub doc : * mut _xmlDoc , # [doc = " Namespace of element if any"] pub ns : * mut xmlNs , # [doc = " Content of text, comment, PI nodes.\n\n Sort index for elements after calling #xmlXPathOrderDocElems.\n Content of internal entities for entity references."] pub content : * mut xmlChar , # [doc = " First attribute of element.\n\n Also used to store small strings with XML_PARSE_COMPACT."] pub properties : * mut _xmlAttr , # [doc = " First namespace definition of element"] pub nsDef : * mut xmlNs , # [doc = " For type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " Line number"] pub line : :: std :: os :: raw :: c_ushort , # [doc = " Extra data for XPath/XSLT"] pub extra : :: std :: os :: raw :: c_ushort , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNode"] [:: std :: mem :: size_of :: < _xmlNode > () - 120usize] ; ["Alignment of _xmlNode"] [:: std :: mem :: align_of :: < _xmlNode > () - 8usize] ; ["Offset of field: _xmlNode::_private"] [:: std :: mem :: offset_of ! (_xmlNode , _private) - 0usize] ; ["Offset of field: _xmlNode::type_"] [:: std :: mem :: offset_of ! (_xmlNode , type_) - 8usize] ; ["Offset of field: _xmlNode::name"] [:: std :: mem :: offset_of ! (_xmlNode , name) - 16usize] ; ["Offset of field: _xmlNode::children"] [:: std :: mem :: offset_of ! (_xmlNode , children) - 24usize] ; ["Offset of field: _xmlNode::last"] [:: std :: mem :: offset_of ! (_xmlNode , last) - 32usize] ; ["Offset of field: _xmlNode::parent"] [:: std :: mem :: offset_of ! (_xmlNode , parent) - 40usize] ; ["Offset of field: _xmlNode::next"] [:: std :: mem :: offset_of ! (_xmlNode , next) - 48usize] ; ["Offset of field: _xmlNode::prev"] [:: std :: mem :: offset_of ! (_xmlNode , prev) - 56usize] ; ["Offset of field: _xmlNode::doc"] [:: std :: mem :: offset_of ! (_xmlNode , doc) - 64usize] ; ["Offset of field: _xmlNode::ns"] [:: std :: mem :: offset_of ! (_xmlNode , ns) - 72usize] ; ["Offset of field: _xmlNode::content"] [:: std :: mem :: offset_of ! (_xmlNode , content) - 80usize] ; ["Offset of field: _xmlNode::properties"] [:: std :: mem :: offset_of ! (_xmlNode , properties) - 88usize] ; ["Offset of field: _xmlNode::nsDef"] [:: std :: mem :: offset_of ! (_xmlNode , nsDef) - 96usize] ; ["Offset of field: _xmlNode::psvi"] [:: std :: mem :: offset_of ! (_xmlNode , psvi) - 104usize] ; ["Offset of field: _xmlNode::line"] [:: std :: mem :: offset_of ! (_xmlNode , line) - 112usize] ; ["Offset of field: _xmlNode::extra"] [:: std :: mem :: offset_of ! (_xmlNode , extra) - 114usize] ; } ; # [doc = " document is XML well formed"] pub const xmlDocProperties_XML_DOC_WELLFORMED : xmlDocProperties = 1 ; # [doc = " document is Namespace valid"] pub const xmlDocProperties_XML_DOC_NSVALID : xmlDocProperties = 2 ; # [doc = " parsed with old XML-1.0 parser"] pub const xmlDocProperties_XML_DOC_OLD10 : xmlDocProperties = 4 ; # [doc = " DTD validation was successful"] pub const xmlDocProperties_XML_DOC_DTDVALID : xmlDocProperties = 8 ; # [doc = " XInclude substitution was done"] pub const xmlDocProperties_XML_DOC_XINCLUDE : xmlDocProperties = 16 ; # [doc = " Document was built using the API and not by parsing an instance"] pub const xmlDocProperties_XML_DOC_USERBUILT : xmlDocProperties = 32 ; # [doc = " built for internal processing"] pub const xmlDocProperties_XML_DOC_INTERNAL : xmlDocProperties = 64 ; # [doc = " parsed or built HTML document"] pub const xmlDocProperties_XML_DOC_HTML : xmlDocProperties = 128 ; # [doc = " Set of properties of the document as found by the parser.\n Some of them are linked to similarly named xmlParserOption."] pub type xmlDocProperties = :: std :: os :: raw :: c_uint ; # [doc = " XML or HTML document"] pub type xmlDoc = _xmlDoc ; pub type xmlDocPtr = * mut xmlDoc ; # [doc = " An XML or HTML document."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDoc { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_DOCUMENT_NODE or XML_HTML_DOCUMENT_NODE"] pub type_ : xmlElementType , # [doc = " NULL"] pub name : * mut :: std :: os :: raw :: c_char , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlNode , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " reference to itself"] pub doc : * mut _xmlDoc , # [doc = " level of zlib compression"] pub compression : :: std :: os :: raw :: c_int , # [doc = " standalone document (no external refs)\n\n - 1 if standalone=\"yes\",\n - 0 if standalone=\"no\",\n - -1 if there is no XML declaration,\n - -2 if there is an XML declaration, but no\n   standalone attribute was specified"] pub standalone : :: std :: os :: raw :: c_int , # [doc = " internal subset"] pub intSubset : * mut _xmlDtd , # [doc = " external subset"] pub extSubset : * mut _xmlDtd , # [doc = " used to hold the XML namespace if needed"] pub oldNs : * mut _xmlNs , # [doc = " version string from XML declaration"] pub version : * mut xmlChar , # [doc = " actual encoding if any"] pub encoding : * mut xmlChar , # [doc = " hash table for ID attributes if any"] pub ids : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for IDREFs attributes if any"] pub refs : * mut :: std :: os :: raw :: c_void , # [doc = " URI of the document"] pub URL : * mut xmlChar , # [doc = " unused"] pub charset : :: std :: os :: raw :: c_int , # [doc = " dict used to allocate names if any"] pub dict : * mut _xmlDict , # [doc = " for type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " xmlParserOption enum used to parse the document"] pub parseFlags : :: std :: os :: raw :: c_int , # [doc = " xmlDocProperties of the document"] pub properties : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDoc"] [:: std :: mem :: size_of :: < _xmlDoc > () - 176usize] ; ["Alignment of _xmlDoc"] [:: std :: mem :: align_of :: < _xmlDoc > () - 8usize] ; ["Offset of field: _xmlDoc::_private"] [:: std :: mem :: offset_of ! (_xmlDoc , _private) - 0usize] ; ["Offset of field: _xmlDoc::type_"] [:: std :: mem :: offset_of ! (_xmlDoc , type_) - 8usize] ; ["Offset of field: _xmlDoc::name"] [:: std :: mem :: offset_of ! (_xmlDoc , name) - 16usize] ; ["Offset of field: _xmlDoc::children"] [:: std :: mem :: offset_of ! (_xmlDoc , children) - 24usize] ; ["Offset of field: _xmlDoc::last"] [:: std :: mem :: offset_of ! (_xmlDoc , last) - 32usize] ; ["Offset of field: _xmlDoc::parent"] [:: std :: mem :: offset_of ! (_xmlDoc , parent) - 40usize] ; ["Offset of field: _xmlDoc::next"] [:: std :: mem :: offset_of ! (_xmlDoc , next) - 48usize] ; ["Offset of field: _xmlDoc::prev"] [:: std :: mem :: offset_of ! (_xmlDoc , prev) - 56usize] ; ["Offset of field: _xmlDoc::doc"] [:: std :: mem :: offset_of ! (_xmlDoc , doc) - 64usize] ; ["Offset of field: _xmlDoc::compression"] [:: std :: mem :: offset_of ! (_xmlDoc , compression) - 72usize] ; ["Offset of field: _xmlDoc::standalone"] [:: std :: mem :: offset_of ! (_xmlDoc , standalone) - 76usize] ; ["Offset of field: _xmlDoc::intSubset"] [:: std :: mem :: offset_of ! (_xmlDoc , intSubset) - 80usize] ; ["Offset of field: _xmlDoc::extSubset"] [:: std :: mem :: offset_of ! (_xmlDoc , extSubset) - 88usize] ; ["Offset of field: _xmlDoc::oldNs"] [:: std :: mem :: offset_of ! (_xmlDoc , oldNs) - 96usize] ; ["Offset of field: _xmlDoc::version"] [:: std :: mem :: offset_of ! (_xmlDoc , version) - 104usize] ; ["Offset of field: _xmlDoc::encoding"] [:: std :: mem :: offset_of ! (_xmlDoc , encoding) - 112usize] ; ["Offset of field: _xmlDoc::ids"] [:: std :: mem :: offset_of ! (_xmlDoc , ids) - 120usize] ; ["Offset of field: _xmlDoc::refs"] [:: std :: mem :: offset_of ! (_xmlDoc , refs) - 128usize] ; ["Offset of field: _xmlDoc::URL"] [:: std :: mem :: offset_of ! (_xmlDoc , URL) - 136usize] ; ["Offset of field: _xmlDoc::charset"] [:: std :: mem :: offset_of ! (_xmlDoc , charset) - 144usize] ; ["Offset of field: _xmlDoc::dict"] [:: std :: mem :: offset_of ! (_xmlDoc , dict) - 152usize] ; ["Offset of field: _xmlDoc::psvi"] [:: std :: mem :: offset_of ! (_xmlDoc , psvi) - 160usize] ; ["Offset of field: _xmlDoc::parseFlags"] [:: std :: mem :: offset_of ! (_xmlDoc , parseFlags) - 168usize] ; ["Offset of field: _xmlDoc::properties"] [:: std :: mem :: offset_of ! (_xmlDoc , properties) - 172usize] ; } ; # [doc = " Context for DOM wrapper operations"] pub type xmlDOMWrapCtxt = _xmlDOMWrapCtxt ; pub type xmlDOMWrapCtxtPtr = * mut xmlDOMWrapCtxt ; # [doc = " A function called to acquire namespaces (xmlNs) from the wrapper.\n\n @param ctxt  a DOM wrapper context\n @param node  the context node (element or attribute)\n @param nsName  the requested namespace name\n @param nsPrefix  the requested namespace prefix\n @returns an xmlNs or NULL in case of an error."] pub type xmlDOMWrapAcquireNsFunction = :: std :: option :: Option < unsafe extern "C" fn (ctxt : * mut xmlDOMWrapCtxt , node : * mut xmlNode , nsName : * const xmlChar , nsPrefix : * const xmlChar) -> * mut xmlNs > ; # [doc = " Context for DOM wrapper-operations."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDOMWrapCtxt { pub _private : * mut :: std :: os :: raw :: c_void , pub type_ : :: std :: os :: raw :: c_int , pub namespaceMap : * mut :: std :: os :: raw :: c_void , pub getNsForNodeFunc : xmlDOMWrapAcquireNsFunction , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDOMWrapCtxt"] [:: std :: mem :: size_of :: < _xmlDOMWrapCtxt > () - 32usize] ; ["Alignment of _xmlDOMWrapCtxt"] [:: std :: mem :: align_of :: < _xmlDOMWrapCtxt > () - 8usize] ; ["Offset of field: _xmlDOMWrapCtxt::_private"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , _private) - 0usize] ; ["Offset of field: _xmlDOMWrapCtxt::type_"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , type_) - 8usize] ; ["Offset of field: _xmlDOMWrapCtxt::namespaceMap"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , namespaceMap) - 16usize] ; ["Offset of field: _xmlDOMWrapCtxt::getNsForNodeFunc"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , getNsForNodeFunc) - 24usize] ; } ; # [doc = " Signature for the registration callback of a created node\n\n @param node  the current node"] pub type xmlRegisterNodeFunc = :: std :: option :: Option < unsafe extern "C" fn (node : * mut xmlNode) > ; # [doc = " Signature for the deregistration callback of a discarded node\n\n @param node  the current node"] pub type xmlDeregisterNodeFunc = :: std :: option :: Option < unsafe extern "C" fn (node : * mut xmlNode) > ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlRegisterNodeDefaultValue () -> * mut xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn __xmlDeregisterNodeDefaultValue () -> * mut xmlDeregisterNodeFunc ; } unsafe extern "C" { # [doc = " @endcond"] pub fn xmlValidateNCName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateQName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNMToken (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBuildQName (ncname : * const xmlChar , prefix : * const xmlChar , memory : * mut xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSplitQName2 (name : * const xmlChar , prefix : * mut * mut xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSplitQName3 (name : * const xmlChar , len : * mut :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCreateIntSubset (doc : * mut xmlDoc , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlNewDtd (doc : * mut xmlDoc , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlGetIntSubset (doc : * const xmlDoc) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlFreeDtd (cur : * mut xmlDtd) ; } unsafe extern "C" { pub fn xmlNewNs (node : * mut xmlNode , href : * const xmlChar , prefix : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlFreeNs (cur : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlFreeNsList (cur : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlNewDoc (version : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlFreeDoc (cur : * mut xmlDoc) ; } unsafe extern "C" { pub fn xmlNewDocProp (doc : * mut xmlDoc , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewProp (node : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewNsPropEatName (node : * mut xmlNode , ns : * mut xmlNs , name : * mut xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlFreePropList (cur : * mut xmlAttr) ; } unsafe extern "C" { pub fn xmlFreeProp (cur : * mut xmlAttr) ; } unsafe extern "C" { pub fn xmlCopyProp (target : * mut xmlNode , cur : * mut xmlAttr) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlCopyPropList (target : * mut xmlNode , cur : * mut xmlAttr) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlCopyDtd (dtd : * mut xmlDtd) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlCopyDoc (doc : * mut xmlDoc , recursive : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlNewDocNode (doc : * mut xmlDoc , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocNodeEatName (doc : * mut xmlDoc , ns : * mut xmlNs , name : * mut xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewNode (ns : * mut xmlNs , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewNodeEatName (ns : * mut xmlNs , name : * mut xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewChild (parent : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocText (doc : * const xmlDoc , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewText (content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocPI (doc : * mut xmlDoc , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewPI (name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocTextLen (doc : * mut xmlDoc , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewTextLen (content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocComment (doc : * mut xmlDoc , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewComment (content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewCDataBlock (doc : * mut xmlDoc , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewCharRef (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewReference (doc : * const xmlDoc , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCopyNode (node : * mut xmlNode , recursive : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlDocCopyNode (node : * mut xmlNode , doc : * mut xmlDoc , recursive : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlDocCopyNodeList (doc : * mut xmlDoc , node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCopyNodeList (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewTextChild (parent : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocRawNode (doc : * mut xmlDoc , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocFragment (doc : * mut xmlDoc) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlGetLineNo (node : * const xmlNode) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn xmlGetNodePath (node : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlDocGetRootElement (doc : * const xmlDoc) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlGetLastChild (parent : * const xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeIsText (node : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsBlankNode (node : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocSetRootElement (doc : * mut xmlDoc , root : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeSetName (cur : * mut xmlNode , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlAddChild (parent : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddChildList (parent : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlReplaceNode (old : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddPrevSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddNextSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlUnlinkNode (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlTextMerge (first : * mut xmlNode , second : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlTextConcat (node : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFreeNodeList (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlFreeNode (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlSetTreeDoc (tree : * mut xmlNode , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetListDoc (list : * mut xmlNode , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSearchNs (doc : * mut xmlDoc , node : * mut xmlNode , nameSpace : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlSearchNsByHref (doc : * mut xmlDoc , node : * mut xmlNode , href : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlGetNsListSafe (doc : * const xmlDoc , node : * const xmlNode , out : * mut * mut * mut xmlNs) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetNsList (doc : * const xmlDoc , node : * const xmlNode) -> * mut * mut xmlNs ; } unsafe extern "C" { pub fn xmlSetNs (node : * mut xmlNode , ns : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlCopyNamespace (cur : * mut xmlNs) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlCopyNamespaceList (cur : * mut xmlNs) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlSetProp (node : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlSetNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNodeGetAttrValue (node : * const xmlNode , name : * const xmlChar , nsUri : * const xmlChar , out : * mut * mut xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetNoNsProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlGetProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlHasProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlHasNsProp (node : * const xmlNode , name : * const xmlChar , nameSpace : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlGetNsProp (node : * const xmlNode , name : * const xmlChar , nameSpace : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStringGetNodeList (doc : * const xmlDoc , value : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlStringLenGetNodeList (doc : * const xmlDoc , value : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeListGetString (doc : * mut xmlDoc , list : * const xmlNode , inLine : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeListGetRawString (doc : * const xmlDoc , list : * const xmlNode , inLine : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeSetContent (cur : * mut xmlNode , content : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetContentLen (cur : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeAddContent (cur : * mut xmlNode , content : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeAddContentLen (cur : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetContent (cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeBufGetContent (buffer : * mut xmlBuffer , cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufGetNodeContent (buf : * mut xmlBuf , cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetLang (cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeGetSpacePreserve (cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetLang (cur : * mut xmlNode , lang : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetSpacePreserve (cur : * mut xmlNode , val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetBaseSafe (doc : * const xmlDoc , cur : * const xmlNode , baseOut : * mut * mut xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetBase (doc : * const xmlDoc , cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeSetBase (cur : * mut xmlNode , uri : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveProp (cur : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUnsetNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUnsetProp (node : * mut xmlNode , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAttrSerializeTxtContent (buf : * mut xmlBuffer , doc : * mut xmlDoc , attr : * mut xmlAttr , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlReconciliateNs (doc : * mut xmlDoc , tree : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocDumpFormatMemory (cur : * mut xmlDoc , mem : * mut * mut xmlChar , size : * mut :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocDumpMemory (cur : * mut xmlDoc , mem : * mut * mut xmlChar , size : * mut :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocDumpMemoryEnc (out_doc : * mut xmlDoc , doc_txt_ptr : * mut * mut xmlChar , doc_txt_len : * mut :: std :: os :: raw :: c_int , txt_encoding : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlDocDumpFormatMemoryEnc (out_doc : * mut xmlDoc , doc_txt_ptr : * mut * mut xmlChar , doc_txt_len : * mut :: std :: os :: raw :: c_int , txt_encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocFormatDump (f : * mut FILE , cur : * mut xmlDoc , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocDump (f : * mut FILE , cur : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlElemDump (f : * mut FILE , doc : * mut xmlDoc , cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlSaveFile (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFormatFile (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufNodeDump (buf : * mut xmlBuf , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> usize ; } unsafe extern "C" { pub fn xmlNodeDump (buf : * mut xmlBuffer , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFileTo (buf : * mut xmlOutputBuffer , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFormatFileTo (buf : * mut xmlOutputBuffer , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeDumpOutput (buf : * mut xmlOutputBuffer , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , encoding : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlSaveFormatFileEnc (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFileEnc (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsXHTML (systemID : * const xmlChar , publicID : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetDocCompressMode (doc : * const xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetDocCompressMode (doc : * mut xmlDoc , mode : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlGetCompressMode () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetCompressMode (mode : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDOMWrapNewCtxt () -> * mut xmlDOMWrapCtxt ; } unsafe extern "C" { pub fn xmlDOMWrapFreeCtxt (ctxt : * mut xmlDOMWrapCtxt) ; } unsafe extern "C" { pub fn xmlDOMWrapReconcileNamespaces (ctxt : * mut xmlDOMWrapCtxt , elem : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapAdoptNode (ctxt : * mut xmlDOMWrapCtxt , sourceDoc : * mut xmlDoc , node : * mut xmlNode , destDoc : * mut xmlDoc , destParent : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapRemoveNode (ctxt : * mut xmlDOMWrapCtxt , doc : * mut xmlDoc , node : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapCloneNode (ctxt : * mut xmlDOMWrapCtxt , sourceDoc : * mut xmlDoc , node : * mut xmlNode , clonedNode : * mut * mut xmlNode , destDoc : * mut xmlDoc , destParent : * mut xmlNode , deep : :: std :: os :: raw :: c_int , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlChildElementCount (parent : * mut xmlNode) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlNextElementSibling (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlFirstElementChild (parent : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlLastElementChild (parent : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlPreviousElementSibling (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlRegisterNodeDefault (func : xmlRegisterNodeFunc) -> xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn xmlDeregisterNodeDefault (func : xmlDeregisterNodeFunc) -> xmlDeregisterNodeFunc ; } unsafe extern "C" { pub fn xmlThrDefRegisterNodeDefault (func : xmlRegisterNodeFunc) -> xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn xmlThrDefDeregisterNodeDefault (func : xmlDeregisterNodeFunc) -> xmlDeregisterNodeFunc ; } unsafe extern "C" { pub fn xmlSetBufferAllocationScheme (scheme : xmlBufferAllocationScheme) ; } unsafe extern "C" { pub fn xmlGetBufferAllocationScheme () -> xmlBufferAllocationScheme ; } unsafe extern "C" { pub fn xmlBufferCreate () -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferCreateSize (size : usize) -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferCreateStatic (mem : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferResize (buf : * mut xmlBuffer , size : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferFree (buf : * mut xmlBuffer) ; } unsafe extern "C" { pub fn xmlBufferDump (file : * mut FILE , buf : * mut xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferAdd (buf : * mut xmlBuffer , str_ : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferAddHead (buf : * mut xmlBuffer , str_ : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferCat (buf : * mut xmlBuffer , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferCCat (buf : * mut xmlBuffer , str_ : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferShrink (buf : * mut xmlBuffer , len : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferGrow (buf : * mut xmlBuffer , len : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferEmpty (buf : * mut xmlBuffer) ; } unsafe extern "C" { pub fn xmlBufferContent (buf : * const xmlBuffer) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlBufferDetach (buf : * mut xmlBuffer) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufferSetAllocationScheme (buf : * mut xmlBuffer , scheme : xmlBufferAllocationScheme) ; } unsafe extern "C" { pub fn xmlBufferLength (buf : * const xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferWriteCHAR (buf : * mut xmlBuffer , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlBufferWriteChar (buf : * mut xmlBuffer , string : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlBufferWriteQuotedString (buf : * mut xmlBuffer , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlBufContent (buf : * const xmlBuf) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufEnd (buf : * mut xmlBuf) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufUse (buf : * mut xmlBuf) -> usize ; } unsafe extern "C" { pub fn xmlBufShrink (buf : * mut xmlBuf , len : usize) -> usize ; } pub type wchar_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [repr (align (16))] # [derive (Debug , Copy , Clone)] pub struct max_align_t { pub __clang_max_align_nonce1 : :: std :: os :: raw :: c_longlong , pub __bindgen_padding_0 : u64 , pub __clang_max_align_nonce2 : u128 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of max_align_t"] [:: std :: mem :: size_of :: < max_align_t > () - 32usize] ; ["Alignment of max_align_t"] [:: std :: mem :: align_of :: < max_align_t > () - 16usize] ; ["Offset of field: max_align_t::__clang_max_align_nonce1"] [:: std :: mem :: offset_of ! (max_align_t , __clang_max_align_nonce1) - 0usize] ; ["Offset of field: max_align_t::__clang_max_align_nonce2"] [:: std :: mem :: offset_of ! (max_align_t , __clang_max_align_nonce2) - 16usize] ; } ; # [doc = " Dictionary (pool for interned strings)"] pub type xmlDict = _xmlDict ; pub type xmlDictPtr = * mut xmlDict ; unsafe extern "C" { pub fn xmlInitializeDict () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictCreate () -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlDictSetLimit (dict : * mut xmlDict , limit : usize) -> usize ; } unsafe extern "C" { pub fn xmlDictGetUsage (dict : * mut xmlDict) -> usize ; } unsafe extern "C" { pub fn xmlDictCreateSub (sub : * mut xmlDict) -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlDictReference (dict : * mut xmlDict) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictFree (dict : * mut xmlDict) ; } unsafe extern "C" { pub fn xmlDictLookup (dict : * mut xmlDict , name : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictExists (dict : * mut xmlDict , name : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictQLookup (dict : * mut xmlDict , prefix : * const xmlChar , name : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictOwns (dict : * mut xmlDict , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictSize (dict : * mut xmlDict) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictCleanup () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlHashTable { _unused : [u8 ; 0] , } # [doc = " Hash table mapping strings to pointers\n\n Also supports lookup using two or three strings as key."] pub type xmlHashTable = _xmlHashTable ; pub type xmlHashTablePtr = * mut xmlHashTable ; # [doc = " Callback to free data from a hash.\n\n @param payload  the data in the hash\n @param name  the name associated"] pub type xmlHashDeallocator = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback to copy data from a hash.\n\n @param payload  the data in the hash\n @param name  the name associated\n @returns a copy of the data or NULL in case of error."] pub type xmlHashCopier = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback when scanning data in a hash with the simple scanner.\n\n @param payload  the data in the hash\n @param data  extra scanner data\n @param name  the name associated"] pub type xmlHashScanner = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , data : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback when scanning data in a hash with the full scanner.\n\n @param payload  the data in the hash\n @param data  extra scanner data\n @param name  the name associated\n @param name2  the second name associated\n @param name3  the third name associated"] pub type xmlHashScannerFull = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , data : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar) > ; unsafe extern "C" { pub fn xmlHashCreate (size : :: std :: os :: raw :: c_int) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashCreateDict (size : :: std :: os :: raw :: c_int , dict : * mut xmlDict) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashFree (hash : * mut xmlHashTable , dealloc : xmlHashDeallocator) ; } unsafe extern "C" { pub fn xmlHashDefaultDeallocator (entry : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlHashAdd (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAdd2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAdd3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry (hash : * mut xmlHashTable , name : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashLookup (hash : * mut xmlHashTable , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashLookup2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashLookup3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup2 (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar , prefix2 : * const xmlChar , name2 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup3 (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar , prefix2 : * const xmlChar , name2 : * const xmlChar , prefix3 : * const xmlChar , name3 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashCopySafe (hash : * mut xmlHashTable , copy : xmlHashCopier , dealloc : xmlHashDeallocator) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashCopy (hash : * mut xmlHashTable , copy : xmlHashCopier) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashSize (hash : * mut xmlHashTable) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashScan (hash : * mut xmlHashTable , scan : xmlHashScanner , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScan3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , scan : xmlHashScanner , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScanFull (hash : * mut xmlHashTable , scan : xmlHashScannerFull , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScanFull3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , scan : xmlHashScannerFull , data : * mut :: std :: os :: raw :: c_void) ; } # [doc = " Success"] pub const xmlErrorLevel_XML_ERR_NONE : xmlErrorLevel = 0 ; # [doc = " A warning\n\n When parsing XML, warnings are only reported to error\n handlers."] pub const xmlErrorLevel_XML_ERR_WARNING : xmlErrorLevel = 1 ; # [doc = " An error\n\n When parsing XML, this is used for recoverable errors like\n\n - namespace errors\n - validity errors when validating\n - certain undeclared entities\n - ID uniqueness and xml:id errors\n\n Note that some recoverable errors in the sense of the XML\n spec are reported as warnings.\n\n In other contexts, this may be used for unrecoverable\n errors."] pub const xmlErrorLevel_XML_ERR_ERROR : xmlErrorLevel = 2 ; # [doc = " A fatal error\n\n When parsing XML, a \"fatal error\" according to the XML spec.\n This typically means that the document isn't well-formed.\n\n This also includes OOM and I/O errors, resource limit\n exhaustion, unexpected errors from other libraries and\n invalid argument errors."] pub const xmlErrorLevel_XML_ERR_FATAL : xmlErrorLevel = 3 ; # [doc = " Indicates the level of an error"] pub type xmlErrorLevel = :: std :: os :: raw :: c_uint ; # [doc = " Unknown"] pub const xmlErrorDomain_XML_FROM_NONE : xmlErrorDomain = 0 ; # [doc = " The XML parser"] pub const xmlErrorDomain_XML_FROM_PARSER : xmlErrorDomain = 1 ; # [doc = " The tree module (unused)"] pub const xmlErrorDomain_XML_FROM_TREE : xmlErrorDomain = 2 ; # [doc = " The XML Namespace module"] pub const xmlErrorDomain_XML_FROM_NAMESPACE : xmlErrorDomain = 3 ; # [doc = " The XML DTD validation with parser context"] pub const xmlErrorDomain_XML_FROM_DTD : xmlErrorDomain = 4 ; # [doc = " The HTML parser"] pub const xmlErrorDomain_XML_FROM_HTML : xmlErrorDomain = 5 ; # [doc = " The memory allocator (unused)"] pub const xmlErrorDomain_XML_FROM_MEMORY : xmlErrorDomain = 6 ; # [doc = " The serialization code"] pub const xmlErrorDomain_XML_FROM_OUTPUT : xmlErrorDomain = 7 ; # [doc = " The Input/Output stack"] pub const xmlErrorDomain_XML_FROM_IO : xmlErrorDomain = 8 ; # [doc = " The FTP module (unused)"] pub const xmlErrorDomain_XML_FROM_FTP : xmlErrorDomain = 9 ; # [doc = " The HTTP module (unused)"] pub const xmlErrorDomain_XML_FROM_HTTP : xmlErrorDomain = 10 ; # [doc = " The XInclude processing"] pub const xmlErrorDomain_XML_FROM_XINCLUDE : xmlErrorDomain = 11 ; # [doc = " The XPath module"] pub const xmlErrorDomain_XML_FROM_XPATH : xmlErrorDomain = 12 ; # [doc = " The XPointer module"] pub const xmlErrorDomain_XML_FROM_XPOINTER : xmlErrorDomain = 13 ; # [doc = " The regular expressions module"] pub const xmlErrorDomain_XML_FROM_REGEXP : xmlErrorDomain = 14 ; # [doc = " The W3C XML Schemas Datatype module"] pub const xmlErrorDomain_XML_FROM_DATATYPE : xmlErrorDomain = 15 ; # [doc = " The W3C XML Schemas parser module"] pub const xmlErrorDomain_XML_FROM_SCHEMASP : xmlErrorDomain = 16 ; # [doc = " The W3C XML Schemas validation module"] pub const xmlErrorDomain_XML_FROM_SCHEMASV : xmlErrorDomain = 17 ; # [doc = " The Relax-NG parser module"] pub const xmlErrorDomain_XML_FROM_RELAXNGP : xmlErrorDomain = 18 ; # [doc = " The Relax-NG validator module"] pub const xmlErrorDomain_XML_FROM_RELAXNGV : xmlErrorDomain = 19 ; # [doc = " The Catalog module"] pub const xmlErrorDomain_XML_FROM_CATALOG : xmlErrorDomain = 20 ; # [doc = " The Canonicalization module"] pub const xmlErrorDomain_XML_FROM_C14N : xmlErrorDomain = 21 ; # [doc = " The XSLT engine from libxslt (unused)"] pub const xmlErrorDomain_XML_FROM_XSLT : xmlErrorDomain = 22 ; # [doc = " The XML DTD validation with valid context"] pub const xmlErrorDomain_XML_FROM_VALID : xmlErrorDomain = 23 ; # [doc = " The error checking module (unused)"] pub const xmlErrorDomain_XML_FROM_CHECK : xmlErrorDomain = 24 ; # [doc = " The xmlwriter module"] pub const xmlErrorDomain_XML_FROM_WRITER : xmlErrorDomain = 25 ; # [doc = " The dynamically loaded module module (unused)"] pub const xmlErrorDomain_XML_FROM_MODULE : xmlErrorDomain = 26 ; # [doc = " The module handling character conversion (unused)"] pub const xmlErrorDomain_XML_FROM_I18N : xmlErrorDomain = 27 ; # [doc = " The Schematron validator module"] pub const xmlErrorDomain_XML_FROM_SCHEMATRONV : xmlErrorDomain = 28 ; # [doc = " The buffers module (unused)"] pub const xmlErrorDomain_XML_FROM_BUFFER : xmlErrorDomain = 29 ; # [doc = " The URI module (unused)"] pub const xmlErrorDomain_XML_FROM_URI : xmlErrorDomain = 30 ; # [doc = " Indicates where an error may have come from"] pub type xmlErrorDomain = :: std :: os :: raw :: c_uint ; # [doc = " Structured error"] pub type xmlError = _xmlError ; pub type xmlErrorPtr = * mut xmlError ; # [doc = " An object containing information about an error."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlError { # [doc = " An xmlErrorDomain value."] pub domain : :: std :: os :: raw :: c_int , # [doc = " The error code, e.g. an xmlParserErrors."] pub code : :: std :: os :: raw :: c_int , # [doc = " Human-readable error message."] pub message : * mut :: std :: os :: raw :: c_char , # [doc = " Error level."] pub level : xmlErrorLevel , # [doc = " Filename if available"] pub file : * mut :: std :: os :: raw :: c_char , # [doc = " Line number if available"] pub line : :: std :: os :: raw :: c_int , # [doc = " Extra string information."] pub str1 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra string information."] pub str2 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra string information."] pub str3 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra number information."] pub int1 : :: std :: os :: raw :: c_int , # [doc = " Column number if available."] pub int2 : :: std :: os :: raw :: c_int , # [doc = " Parser context if available"] pub ctxt : * mut :: std :: os :: raw :: c_void , # [doc = " Node if available"] pub node : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlError"] [:: std :: mem :: size_of :: < _xmlError > () - 88usize] ; ["Alignment of _xmlError"] [:: std :: mem :: align_of :: < _xmlError > () - 8usize] ; ["Offset of field: _xmlError::domain"] [:: std :: mem :: offset_of ! (_xmlError , domain) - 0usize] ; ["Offset of field: _xmlError::code"] [:: std :: mem :: offset_of ! (_xmlError , code) - 4usize] ; ["Offset of field: _xmlError::message"] [:: std :: mem :: offset_of ! (_xmlError , message) - 8usize] ; ["Offset of field: _xmlError::level"] [:: std :: mem :: offset_of ! (_xmlError , level) - 16usize] ; ["Offset of field: _xmlError::file"] [:: std :: mem :: offset_of ! (_xmlError , file) - 24usize] ; ["Offset of field: _xmlError::line"] [:: std :: mem :: offset_of ! (_xmlError , line) - 32usize] ; ["Offset of field: _xmlError::str1"] [:: std :: mem :: offset_of ! (_xmlError , str1) - 40usize] ; ["Offset of field: _xmlError::str2"] [:: std :: mem :: offset_of ! (_xmlError , str2) - 48usize] ; ["Offset of field: _xmlError::str3"] [:: std :: mem :: offset_of ! (_xmlError , str3) - 56usize] ; ["Offset of field: _xmlError::int1"] [:: std :: mem :: offset_of ! (_xmlError , int1) - 64usize] ; ["Offset of field: _xmlError::int2"] [:: std :: mem :: offset_of ! (_xmlError , int2) - 68usize] ; ["Offset of field: _xmlError::ctxt"] [:: std :: mem :: offset_of ! (_xmlError , ctxt) - 72usize] ; ["Offset of field: _xmlError::node"] [:: std :: mem :: offset_of ! (_xmlError , node) - 80usize] ; } ; # [doc = " Success."] pub const xmlParserErrors_XML_ERR_OK : xmlParserErrors = 0 ; # [doc = " Internal assertion failure."] pub const xmlParserErrors_XML_ERR_INTERNAL_ERROR : xmlParserErrors = 1 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_NO_MEMORY : xmlParserErrors = 2 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_START : xmlParserErrors = 3 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_EMPTY : xmlParserErrors = 4 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_END : xmlParserErrors = 5 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_HEX_CHARREF : xmlParserErrors = 6 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_DEC_CHARREF : xmlParserErrors = 7 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_CHARREF : xmlParserErrors = 8 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_CHAR : xmlParserErrors = 9 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_AT_EOF : xmlParserErrors = 10 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_PROLOG : xmlParserErrors = 11 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_EPILOG : xmlParserErrors = 12 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_DTD : xmlParserErrors = 13 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_AT_EOF : xmlParserErrors = 14 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_PROLOG : xmlParserErrors = 15 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_EPILOG : xmlParserErrors = 16 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_DTD : xmlParserErrors = 17 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_AT_EOF : xmlParserErrors = 18 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_PROLOG : xmlParserErrors = 19 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_EPILOG : xmlParserErrors = 20 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_INT_SUBSET : xmlParserErrors = 21 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_NO_NAME : xmlParserErrors = 22 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_SEMICOL_MISSING : xmlParserErrors = 23 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_NO_NAME : xmlParserErrors = 24 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_SEMICOL_MISSING : xmlParserErrors = 25 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNDECLARED_ENTITY : xmlParserErrors = 26 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_WAR_UNDECLARED_ENTITY : xmlParserErrors = 27 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNPARSED_ENTITY : xmlParserErrors = 28 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITY_IS_EXTERNAL : xmlParserErrors = 29 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITY_IS_PARAMETER : xmlParserErrors = 30 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNKNOWN_ENCODING : xmlParserErrors = 31 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_UNSUPPORTED_ENCODING : xmlParserErrors = 32 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STRING_NOT_STARTED : xmlParserErrors = 33 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STRING_NOT_CLOSED : xmlParserErrors = 34 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NS_DECL_ERROR : xmlParserErrors = 35 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_NOT_STARTED : xmlParserErrors = 36 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_NOT_FINISHED : xmlParserErrors = 37 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LT_IN_ATTRIBUTE : xmlParserErrors = 38 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_NOT_STARTED : xmlParserErrors = 39 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_NOT_FINISHED : xmlParserErrors = 40 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_WITHOUT_VALUE : xmlParserErrors = 41 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_REDEFINED : xmlParserErrors = 42 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LITERAL_NOT_STARTED : xmlParserErrors = 43 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LITERAL_NOT_FINISHED : xmlParserErrors = 44 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_COMMENT_NOT_FINISHED : xmlParserErrors = 45 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PI_NOT_STARTED : xmlParserErrors = 46 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PI_NOT_FINISHED : xmlParserErrors = 47 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_NOT_STARTED : xmlParserErrors = 48 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_NOT_FINISHED : xmlParserErrors = 49 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTLIST_NOT_STARTED : xmlParserErrors = 50 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTLIST_NOT_FINISHED : xmlParserErrors = 51 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MIXED_NOT_STARTED : xmlParserErrors = 52 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MIXED_NOT_FINISHED : xmlParserErrors = 53 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ELEMCONTENT_NOT_STARTED : xmlParserErrors = 54 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ELEMCONTENT_NOT_FINISHED : xmlParserErrors = 55 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_XMLDECL_NOT_STARTED : xmlParserErrors = 56 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_XMLDECL_NOT_FINISHED : xmlParserErrors = 57 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_NOT_STARTED : xmlParserErrors = 58 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_NOT_FINISHED : xmlParserErrors = 59 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXT_SUBSET_NOT_FINISHED : xmlParserErrors = 60 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_DOCTYPE_NOT_FINISHED : xmlParserErrors = 61 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MISPLACED_CDATA_END : xmlParserErrors = 62 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CDATA_NOT_FINISHED : xmlParserErrors = 63 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_RESERVED_XML_NAME : xmlParserErrors = 64 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_SPACE_REQUIRED : xmlParserErrors = 65 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_SEPARATOR_REQUIRED : xmlParserErrors = 66 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NMTOKEN_REQUIRED : xmlParserErrors = 67 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NAME_REQUIRED : xmlParserErrors = 68 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PCDATA_REQUIRED : xmlParserErrors = 69 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_URI_REQUIRED : xmlParserErrors = 70 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PUBID_REQUIRED : xmlParserErrors = 71 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LT_REQUIRED : xmlParserErrors = 72 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_GT_REQUIRED : xmlParserErrors = 73 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LTSLASH_REQUIRED : xmlParserErrors = 74 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EQUAL_REQUIRED : xmlParserErrors = 75 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_TAG_NAME_MISMATCH : xmlParserErrors = 76 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_TAG_NOT_FINISHED : xmlParserErrors = 77 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STANDALONE_VALUE : xmlParserErrors = 78 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENCODING_NAME : xmlParserErrors = 79 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_HYPHEN_IN_COMMENT : xmlParserErrors = 80 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_INVALID_ENCODING : xmlParserErrors = 81 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXT_ENTITY_STANDALONE : xmlParserErrors = 82 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_INVALID : xmlParserErrors = 83 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VALUE_REQUIRED : xmlParserErrors = 84 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOT_WELL_BALANCED : xmlParserErrors = 85 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXTRA_CONTENT : xmlParserErrors = 86 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_CHAR_ERROR : xmlParserErrors = 87 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_PE_INTERNAL : xmlParserErrors = 88 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_LOOP : xmlParserErrors = 89 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_BOUNDARY : xmlParserErrors = 90 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_INVALID_URI : xmlParserErrors = 91 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_URI_FRAGMENT : xmlParserErrors = 92 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_CATALOG_PI : xmlParserErrors = 93 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NO_DTD : xmlParserErrors = 94 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_INVALID_KEYWORD : xmlParserErrors = 95 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VERSION_MISSING : xmlParserErrors = 96 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_UNKNOWN_VERSION : xmlParserErrors = 97 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_LANG_VALUE : xmlParserErrors = 98 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_URI : xmlParserErrors = 99 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_URI_RELATIVE : xmlParserErrors = 100 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MISSING_ENCODING : xmlParserErrors = 101 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_SPACE_VALUE : xmlParserErrors = 102 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOT_STANDALONE : xmlParserErrors = 103 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_PROCESSING : xmlParserErrors = 104 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_PROCESSING : xmlParserErrors = 105 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_COLUMN : xmlParserErrors = 106 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_ENTITY_REDEFINED : xmlParserErrors = 107 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_UNKNOWN_VERSION : xmlParserErrors = 108 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VERSION_MISMATCH : xmlParserErrors = 109 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NAME_TOO_LONG : xmlParserErrors = 110 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_USER_STOP : xmlParserErrors = 111 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_COMMENT_ABRUPTLY_ENDED : xmlParserErrors = 112 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_ENCODING_MISMATCH : xmlParserErrors = 113 ; # [doc = " Internal resource limit like maximum amplification\n factor exceeded."] pub const xmlParserErrors_XML_ERR_RESOURCE_LIMIT : xmlParserErrors = 114 ; # [doc = " Invalid argument."] pub const xmlParserErrors_XML_ERR_ARGUMENT : xmlParserErrors = 115 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_SYSTEM : xmlParserErrors = 116 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_REDECL_PREDEF_ENTITY : xmlParserErrors = 117 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_INT_SUBSET_NOT_FINISHED : xmlParserErrors = 118 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_XML_NAMESPACE : xmlParserErrors = 200 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_UNDEFINED_NAMESPACE : xmlParserErrors = 201 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_QNAME : xmlParserErrors = 202 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_ATTRIBUTE_REDEFINED : xmlParserErrors = 203 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_EMPTY : xmlParserErrors = 204 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_COLON : xmlParserErrors = 205 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_DEFAULT : xmlParserErrors = 500 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_REDEFINED : xmlParserErrors = 501 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_VALUE : xmlParserErrors = 502 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_ERROR : xmlParserErrors = 503 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_MODEL : xmlParserErrors = 504 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_NOT_DETERMINIST : xmlParserErrors = 505 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_DIFFERENT_PREFIX : xmlParserErrors = 506 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_DEFAULT_NAMESPACE : xmlParserErrors = 507 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_NAMESPACE : xmlParserErrors = 508 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_REDEFINED : xmlParserErrors = 509 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_EMPTY_NOTATION : xmlParserErrors = 510 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ENTITY_TYPE : xmlParserErrors = 511 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_FIXED : xmlParserErrors = 512 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_REDEFINED : xmlParserErrors = 513 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_SUBSET : xmlParserErrors = 514 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_INVALID_CHILD : xmlParserErrors = 515 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_INVALID_DEFAULT : xmlParserErrors = 516 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_LOAD_ERROR : xmlParserErrors = 517 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MISSING_ATTRIBUTE : xmlParserErrors = 518 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MIXED_CORRUPT : xmlParserErrors = 519 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MULTIPLE_ID : xmlParserErrors = 520 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_DOC : xmlParserErrors = 521 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_DTD : xmlParserErrors = 522 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_ELEM_NAME : xmlParserErrors = 523 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_PREFIX : xmlParserErrors = 524 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_ROOT : xmlParserErrors = 525 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOTATION_REDEFINED : xmlParserErrors = 526 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOTATION_VALUE : xmlParserErrors = 527 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_EMPTY : xmlParserErrors = 528 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_PCDATA : xmlParserErrors = 529 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_STANDALONE : xmlParserErrors = 530 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ROOT_NAME : xmlParserErrors = 531 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_STANDALONE_WHITE_SPACE : xmlParserErrors = 532 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ATTRIBUTE : xmlParserErrors = 533 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ELEM : xmlParserErrors = 534 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ENTITY : xmlParserErrors = 535 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ID : xmlParserErrors = 536 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_NOTATION : xmlParserErrors = 537 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_STANDALONE_DEFAULTED : xmlParserErrors = 538 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_XMLID_VALUE : xmlParserErrors = 539 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_XMLID_TYPE : xmlParserErrors = 540 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_DUP_TOKEN : xmlParserErrors = 541 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_STRUCURE_ERROR : xmlParserErrors = 800 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_UNKNOWN_TAG : xmlParserErrors = 801 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_INCORRECTLY_OPENED_COMMENT : xmlParserErrors = 802 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ANYNAME_ATTR_ANCESTOR : xmlParserErrors = 1000 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTR_CONFLICT : xmlParserErrors = 1001 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_CHILDREN : xmlParserErrors = 1002 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_CONTENT : xmlParserErrors = 1003 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_EMPTY : xmlParserErrors = 1004 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_NOOP : xmlParserErrors = 1005 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CHOICE_CONTENT : xmlParserErrors = 1006 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CHOICE_EMPTY : xmlParserErrors = 1007 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CREATE_FAILURE : xmlParserErrors = 1008 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DATA_CONTENT : xmlParserErrors = 1009 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEF_CHOICE_AND_INTERLEAVE : xmlParserErrors = 1010 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_CREATE_FAILED : xmlParserErrors = 1011 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_EMPTY : xmlParserErrors = 1012 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_MISSING : xmlParserErrors = 1013 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_NAME_MISSING : xmlParserErrors = 1014 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_CONTENT_EMPTY : xmlParserErrors = 1015 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_CONTENT_ERROR : xmlParserErrors = 1016 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_EMPTY : xmlParserErrors = 1017 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_CONTENT : xmlParserErrors = 1018 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_NAME : xmlParserErrors = 1019 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_NO_CONTENT : xmlParserErrors = 1020 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_TEXT_CONFLICT : xmlParserErrors = 1021 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY : xmlParserErrors = 1022 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_CONSTRUCT : xmlParserErrors = 1023 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_CONTENT : xmlParserErrors = 1024 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_NOT_EMPTY : xmlParserErrors = 1025 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ERROR_TYPE_LIB : xmlParserErrors = 1026 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_EMPTY : xmlParserErrors = 1027 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_MISSING : xmlParserErrors = 1028 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_MULTIPLE : xmlParserErrors = 1029 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_NO_CONTENT : xmlParserErrors = 1030 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNALREF_EMTPY : xmlParserErrors = 1031 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNAL_REF_FAILURE : xmlParserErrors = 1032 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNALREF_RECURSE : xmlParserErrors = 1033 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_FORBIDDEN_ATTRIBUTE : xmlParserErrors = 1034 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_FOREIGN_ELEMENT : xmlParserErrors = 1035 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_CONTENT : xmlParserErrors = 1036 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_EMPTY : xmlParserErrors = 1037 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_MISSING : xmlParserErrors = 1038 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_NO_START : xmlParserErrors = 1039 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GROUP_ATTR_CONFLICT : xmlParserErrors = 1040 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_HREF_ERROR : xmlParserErrors = 1041 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_EMPTY : xmlParserErrors = 1042 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_FAILURE : xmlParserErrors = 1043 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_RECURSE : xmlParserErrors = 1044 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_ADD : xmlParserErrors = 1045 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_CREATE_FAILED : xmlParserErrors = 1046 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_EMPTY : xmlParserErrors = 1047 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_NO_CONTENT : xmlParserErrors = 1048 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_DEFINE_NAME : xmlParserErrors = 1049 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_URI : xmlParserErrors = 1050 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_VALUE : xmlParserErrors = 1051 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_MISSING_HREF : xmlParserErrors = 1052 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NAME_MISSING : xmlParserErrors = 1053 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NEED_COMBINE : xmlParserErrors = 1054 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NOTALLOWED_NOT_EMPTY : xmlParserErrors = 1055 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NSNAME_ATTR_ANCESTOR : xmlParserErrors = 1056 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NSNAME_NO_NS : xmlParserErrors = 1057 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARAM_FORBIDDEN : xmlParserErrors = 1058 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARAM_NAME_MISSING : xmlParserErrors = 1059 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_CREATE_FAILED : xmlParserErrors = 1060 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NAME_INVALID : xmlParserErrors = 1061 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NO_NAME : xmlParserErrors = 1062 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NO_PARENT : xmlParserErrors = 1063 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NOT_EMPTY : xmlParserErrors = 1064 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARSE_ERROR : xmlParserErrors = 1065 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ANYNAME_EXCEPT_ANYNAME : xmlParserErrors = 1066 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ATTR_ATTR : xmlParserErrors = 1067 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ATTR_ELEM : xmlParserErrors = 1068 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ATTR : xmlParserErrors = 1069 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ELEM : xmlParserErrors = 1070 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_EMPTY : xmlParserErrors = 1071 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_GROUP : xmlParserErrors = 1072 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_INTERLEAVE : xmlParserErrors = 1073 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_LIST : xmlParserErrors = 1074 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ONEMORE : xmlParserErrors = 1075 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_REF : xmlParserErrors = 1076 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_TEXT : xmlParserErrors = 1077 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_ATTR : xmlParserErrors = 1078 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_ELEM : xmlParserErrors = 1079 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_INTERLEAVE : xmlParserErrors = 1080 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_LIST : xmlParserErrors = 1081 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_REF : xmlParserErrors = 1082 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_TEXT : xmlParserErrors = 1083 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_NSNAME_EXCEPT_ANYNAME : xmlParserErrors = 1084 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_NSNAME_EXCEPT_NSNAME : xmlParserErrors = 1085 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ONEMORE_GROUP_ATTR : xmlParserErrors = 1086 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ONEMORE_INTERLEAVE_ATTR : xmlParserErrors = 1087 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_ATTR : xmlParserErrors = 1088 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_DATA : xmlParserErrors = 1089 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_EMPTY : xmlParserErrors = 1090 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_GROUP : xmlParserErrors = 1091 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_INTERLEAVE : xmlParserErrors = 1092 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_LIST : xmlParserErrors = 1093 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_ONEMORE : xmlParserErrors = 1094 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_TEXT : xmlParserErrors = 1095 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_VALUE : xmlParserErrors = 1096 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PREFIX_UNDEFINED : xmlParserErrors = 1097 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_CREATE_FAILED : xmlParserErrors = 1098 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_CYCLE : xmlParserErrors = 1099 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NAME_INVALID : xmlParserErrors = 1100 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NO_DEF : xmlParserErrors = 1101 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NO_NAME : xmlParserErrors = 1102 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NOT_EMPTY : xmlParserErrors = 1103 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_CHOICE_AND_INTERLEAVE : xmlParserErrors = 1104 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_CONTENT : xmlParserErrors = 1105 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_EMPTY : xmlParserErrors = 1106 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_MISSING : xmlParserErrors = 1107 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TEXT_EXPECTED : xmlParserErrors = 1108 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TEXT_HAS_CHILD : xmlParserErrors = 1109 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_MISSING : xmlParserErrors = 1110 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_NOT_FOUND : xmlParserErrors = 1111 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_VALUE : xmlParserErrors = 1112 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_ATTRIBUTE : xmlParserErrors = 1113 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_COMBINE : xmlParserErrors = 1114 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_CONSTRUCT : xmlParserErrors = 1115 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_TYPE_LIB : xmlParserErrors = 1116 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_URI_FRAGMENT : xmlParserErrors = 1117 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_URI_NOT_ABSOLUTE : xmlParserErrors = 1118 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_VALUE_EMPTY : xmlParserErrors = 1119 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_VALUE_NO_CONTENT : xmlParserErrors = 1120 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_XMLNS_NAME : xmlParserErrors = 1121 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_XML_NS : xmlParserErrors = 1122 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_EXPRESSION_OK : xmlParserErrors = 1200 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_NUMBER_ERROR : xmlParserErrors = 1201 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNFINISHED_LITERAL_ERROR : xmlParserErrors = 1202 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_START_LITERAL_ERROR : xmlParserErrors = 1203 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_VARIABLE_REF_ERROR : xmlParserErrors = 1204 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNDEF_VARIABLE_ERROR : xmlParserErrors = 1205 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_PREDICATE_ERROR : xmlParserErrors = 1206 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_EXPR_ERROR : xmlParserErrors = 1207 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNCLOSED_ERROR : xmlParserErrors = 1208 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNKNOWN_FUNC_ERROR : xmlParserErrors = 1209 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_OPERAND : xmlParserErrors = 1210 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_TYPE : xmlParserErrors = 1211 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_ARITY : xmlParserErrors = 1212 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CTXT_SIZE : xmlParserErrors = 1213 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CTXT_POSITION : xmlParserErrors = 1214 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_MEMORY_ERROR : xmlParserErrors = 1215 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_SYNTAX_ERROR : xmlParserErrors = 1216 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_RESOURCE_ERROR : xmlParserErrors = 1217 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_SUB_RESOURCE_ERROR : xmlParserErrors = 1218 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNDEF_PREFIX_ERROR : xmlParserErrors = 1219 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_ENCODING_ERROR : xmlParserErrors = 1220 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CHAR_ERROR : xmlParserErrors = 1221 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_INVALID_HEX : xmlParserErrors = 1300 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_INVALID_DEC : xmlParserErrors = 1301 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_UNTERMINATED_ENTITY : xmlParserErrors = 1302 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_NOT_UTF8 : xmlParserErrors = 1303 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_NOT_UTF8 : xmlParserErrors = 1400 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_CHAR_INVALID : xmlParserErrors = 1401 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_NO_DOCTYPE : xmlParserErrors = 1402 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_UNKNOWN_ENCODING : xmlParserErrors = 1403 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_REGEXP_COMPILE_ERROR : xmlParserErrors = 1450 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_UNKNOWN : xmlParserErrors = 1500 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EACCES : xmlParserErrors = 1501 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EAGAIN : xmlParserErrors = 1502 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBADF : xmlParserErrors = 1503 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBADMSG : xmlParserErrors = 1504 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBUSY : xmlParserErrors = 1505 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ECANCELED : xmlParserErrors = 1506 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ECHILD : xmlParserErrors = 1507 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EDEADLK : xmlParserErrors = 1508 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EDOM : xmlParserErrors = 1509 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EEXIST : xmlParserErrors = 1510 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EFAULT : xmlParserErrors = 1511 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EFBIG : xmlParserErrors = 1512 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINPROGRESS : xmlParserErrors = 1513 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINTR : xmlParserErrors = 1514 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINVAL : xmlParserErrors = 1515 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EIO : xmlParserErrors = 1516 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EISDIR : xmlParserErrors = 1517 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMFILE : xmlParserErrors = 1518 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMLINK : xmlParserErrors = 1519 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMSGSIZE : xmlParserErrors = 1520 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENAMETOOLONG : xmlParserErrors = 1521 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENFILE : xmlParserErrors = 1522 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENODEV : xmlParserErrors = 1523 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOENT : xmlParserErrors = 1524 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOEXEC : xmlParserErrors = 1525 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOLCK : xmlParserErrors = 1526 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOMEM : xmlParserErrors = 1527 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOSPC : xmlParserErrors = 1528 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOSYS : xmlParserErrors = 1529 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTDIR : xmlParserErrors = 1530 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTEMPTY : xmlParserErrors = 1531 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTSUP : xmlParserErrors = 1532 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTTY : xmlParserErrors = 1533 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENXIO : xmlParserErrors = 1534 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EPERM : xmlParserErrors = 1535 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EPIPE : xmlParserErrors = 1536 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ERANGE : xmlParserErrors = 1537 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EROFS : xmlParserErrors = 1538 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ESPIPE : xmlParserErrors = 1539 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ESRCH : xmlParserErrors = 1540 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ETIMEDOUT : xmlParserErrors = 1541 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EXDEV : xmlParserErrors = 1542 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_NETWORK_ATTEMPT : xmlParserErrors = 1543 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENCODER : xmlParserErrors = 1544 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_FLUSH : xmlParserErrors = 1545 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_WRITE : xmlParserErrors = 1546 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_NO_INPUT : xmlParserErrors = 1547 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_BUFFER_FULL : xmlParserErrors = 1548 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_LOAD_ERROR : xmlParserErrors = 1549 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTSOCK : xmlParserErrors = 1550 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EISCONN : xmlParserErrors = 1551 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ECONNREFUSED : xmlParserErrors = 1552 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENETUNREACH : xmlParserErrors = 1553 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EADDRINUSE : xmlParserErrors = 1554 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EALREADY : xmlParserErrors = 1555 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EAFNOSUPPORT : xmlParserErrors = 1556 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_UNSUPPORTED_PROTOCOL : xmlParserErrors = 1557 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_RECURSION : xmlParserErrors = 1600 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_PARSE_VALUE : xmlParserErrors = 1601 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_ENTITY_DEF_MISMATCH : xmlParserErrors = 1602 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_NO_HREF : xmlParserErrors = 1603 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_NO_FALLBACK : xmlParserErrors = 1604 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_HREF_URI : xmlParserErrors = 1605 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_TEXT_FRAGMENT : xmlParserErrors = 1606 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_TEXT_DOCUMENT : xmlParserErrors = 1607 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_INVALID_CHAR : xmlParserErrors = 1608 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_BUILD_FAILED : xmlParserErrors = 1609 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_UNKNOWN_ENCODING : xmlParserErrors = 1610 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_MULTIPLE_ROOT : xmlParserErrors = 1611 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_XPTR_FAILED : xmlParserErrors = 1612 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_XPTR_RESULT : xmlParserErrors = 1613 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_INCLUDE_IN_INCLUDE : xmlParserErrors = 1614 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FALLBACKS_IN_INCLUDE : xmlParserErrors = 1615 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FALLBACK_NOT_IN_INCLUDE : xmlParserErrors = 1616 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_DEPRECATED_NS : xmlParserErrors = 1617 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FRAGMENT_ID : xmlParserErrors = 1618 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_MISSING_ATTR : xmlParserErrors = 1650 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_ENTRY_BROKEN : xmlParserErrors = 1651 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_PREFER_VALUE : xmlParserErrors = 1652 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_NOT_CATALOG : xmlParserErrors = 1653 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_RECURSION : xmlParserErrors = 1654 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_PREFIX_UNDEFINED : xmlParserErrors = 1700 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTRFORMDEFAULT_VALUE : xmlParserErrors = 1701 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTRGRP_NONAME_NOREF : xmlParserErrors = 1702 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTR_NONAME_NOREF : xmlParserErrors = 1703 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COMPLEXTYPE_NONAME_NOREF : xmlParserErrors = 1704 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEMFORMDEFAULT_VALUE : xmlParserErrors = 1705 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEM_NONAME_NOREF : xmlParserErrors = 1706 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_EXTENSION_NO_BASE : xmlParserErrors = 1707 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FACET_NO_VALUE : xmlParserErrors = 1708 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_BUILD_IMPORT : xmlParserErrors = 1709 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_GROUP_NONAME_NOREF : xmlParserErrors = 1710 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_NAMESPACE_NOT_URI : xmlParserErrors = 1711 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_REDEFINE_NSNAME : xmlParserErrors = 1712 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_SCHEMA_NOT_URI : xmlParserErrors = 1713 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_BOOLEAN : xmlParserErrors = 1714 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ENUM : xmlParserErrors = 1715 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_FACET : xmlParserErrors = 1716 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_FACET_VALUE : xmlParserErrors = 1717 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_MAXOCCURS : xmlParserErrors = 1718 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_MINOCCURS : xmlParserErrors = 1719 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_REF_AND_SUBTYPE : xmlParserErrors = 1720 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_WHITE_SPACE : xmlParserErrors = 1721 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOATTR_NOREF : xmlParserErrors = 1722 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTATION_NO_NAME : xmlParserErrors = 1723 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTYPE_NOREF : xmlParserErrors = 1724 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REF_AND_SUBTYPE : xmlParserErrors = 1725 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_RESTRICTION_NONAME_NOREF : xmlParserErrors = 1726 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SIMPLETYPE_NONAME : xmlParserErrors = 1727 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_TYPE_AND_SUBTYPE : xmlParserErrors = 1728 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ALL_CHILD : xmlParserErrors = 1729 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ANYATTRIBUTE_CHILD : xmlParserErrors = 1730 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTR_CHILD : xmlParserErrors = 1731 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTRGRP_CHILD : xmlParserErrors = 1732 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTRIBUTE_GROUP : xmlParserErrors = 1733 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_BASE_TYPE : xmlParserErrors = 1734 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_CHOICE_CHILD : xmlParserErrors = 1735 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_COMPLEXCONTENT_CHILD : xmlParserErrors = 1736 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_COMPLEXTYPE_CHILD : xmlParserErrors = 1737 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ELEM_CHILD : xmlParserErrors = 1738 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_EXTENSION_CHILD : xmlParserErrors = 1739 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_FACET_CHILD : xmlParserErrors = 1740 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_FACET_TYPE : xmlParserErrors = 1741 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_GROUP_CHILD : xmlParserErrors = 1742 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_IMPORT_CHILD : xmlParserErrors = 1743 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_LIST_CHILD : xmlParserErrors = 1744 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_NOTATION_CHILD : xmlParserErrors = 1745 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_PROCESSCONTENT_CHILD : xmlParserErrors = 1746 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_REF : xmlParserErrors = 1747 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_RESTRICTION_CHILD : xmlParserErrors = 1748 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SCHEMAS_CHILD : xmlParserErrors = 1749 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SEQUENCE_CHILD : xmlParserErrors = 1750 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SIMPLECONTENT_CHILD : xmlParserErrors = 1751 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SIMPLETYPE_CHILD : xmlParserErrors = 1752 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_TYPE : xmlParserErrors = 1753 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_UNION_CHILD : xmlParserErrors = 1754 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEM_DEFAULT_FIXED : xmlParserErrors = 1755 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REGEXP_INVALID : xmlParserErrors = 1756 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_LOAD : xmlParserErrors = 1757 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTHING_TO_PARSE : xmlParserErrors = 1758 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOROOT : xmlParserErrors = 1759 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_GROUP : xmlParserErrors = 1760 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_TYPE : xmlParserErrors = 1761 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ELEMENT : xmlParserErrors = 1762 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ATTRGROUP : xmlParserErrors = 1763 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ATTR : xmlParserErrors = 1764 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_NOTATION : xmlParserErrors = 1765 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_PARSE : xmlParserErrors = 1766 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_PREFIX : xmlParserErrors = 1767 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DEF_AND_PREFIX : xmlParserErrors = 1768 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_INCLUDE_CHILD : xmlParserErrors = 1769 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INCLUDE_SCHEMA_NOT_URI : xmlParserErrors = 1770 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INCLUDE_SCHEMA_NO_URI : xmlParserErrors = 1771 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOT_SCHEMA : xmlParserErrors = 1772 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_MEMBER_TYPE : xmlParserErrors = 1773 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_USE : xmlParserErrors = 1774 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_RECURSIVE : xmlParserErrors = 1775 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPE : xmlParserErrors = 1776 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_COMBINATION : xmlParserErrors = 1777 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_INLINE_COMBINATION : xmlParserErrors = 1778 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MISSING_SIMPLETYPE_CHILD : xmlParserErrors = 1779 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_NAME : xmlParserErrors = 1780 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REF_AND_CONTENT : xmlParserErrors = 1781 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_1 : xmlParserErrors = 1782 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_2 : xmlParserErrors = 1783 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_3 : xmlParserErrors = 1784 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_4 : xmlParserErrors = 1785 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_5 : xmlParserErrors = 1786 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_1 : xmlParserErrors = 1787 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_1 : xmlParserErrors = 1788 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_2 : xmlParserErrors = 1789 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_2 : xmlParserErrors = 1790 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_3 : xmlParserErrors = 1791 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WILDCARD_INVALID_NS_MEMBER : xmlParserErrors = 1792 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INTERSECTION_NOT_EXPRESSIBLE : xmlParserErrors = 1793 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNION_NOT_EXPRESSIBLE : xmlParserErrors = 1794 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_3_1 : xmlParserErrors = 1795 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_3_2 : xmlParserErrors = 1796 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_1 : xmlParserErrors = 1797 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_2 : xmlParserErrors = 1798 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_3 : xmlParserErrors = 1799 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_3 : xmlParserErrors = 1800 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOROOT : xmlParserErrors = 1801 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_UNDECLAREDELEM : xmlParserErrors = 1802 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTTOPLEVEL : xmlParserErrors = 1803 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_MISSING : xmlParserErrors = 1804 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_WRONGELEM : xmlParserErrors = 1805 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTYPE : xmlParserErrors = 1806 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOROLLBACK : xmlParserErrors = 1807 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ISABSTRACT : xmlParserErrors = 1808 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTEMPTY : xmlParserErrors = 1809 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ELEMCONT : xmlParserErrors = 1810 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_HAVEDEFAULT : xmlParserErrors = 1811 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTNILLABLE : xmlParserErrors = 1812 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_EXTRACONTENT : xmlParserErrors = 1813 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INVALIDATTR : xmlParserErrors = 1814 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INVALIDELEM : xmlParserErrors = 1815 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTDETERMINIST : xmlParserErrors = 1816 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CONSTRUCT : xmlParserErrors = 1817 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INTERNAL : xmlParserErrors = 1818 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTSIMPLE : xmlParserErrors = 1819 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ATTRUNKNOWN : xmlParserErrors = 1820 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ATTRINVALID : xmlParserErrors = 1821 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_VALUE : xmlParserErrors = 1822 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_FACET : xmlParserErrors = 1823 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_1 : xmlParserErrors = 1824 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_2 : xmlParserErrors = 1825 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_3 : xmlParserErrors = 1826 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_3_1_1 : xmlParserErrors = 1827 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_3_1_2 : xmlParserErrors = 1828 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_FACET_VALID : xmlParserErrors = 1829 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_LENGTH_VALID : xmlParserErrors = 1830 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MINLENGTH_VALID : xmlParserErrors = 1831 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXLENGTH_VALID : xmlParserErrors = 1832 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MININCLUSIVE_VALID : xmlParserErrors = 1833 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXINCLUSIVE_VALID : xmlParserErrors = 1834 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MINEXCLUSIVE_VALID : xmlParserErrors = 1835 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXEXCLUSIVE_VALID : xmlParserErrors = 1836 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TOTALDIGITS_VALID : xmlParserErrors = 1837 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_FRACTIONDIGITS_VALID : xmlParserErrors = 1838 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_PATTERN_VALID : xmlParserErrors = 1839 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ENUMERATION_VALID : xmlParserErrors = 1840 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_1 : xmlParserErrors = 1841 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_2 : xmlParserErrors = 1842 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_3 : xmlParserErrors = 1843 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_4 : xmlParserErrors = 1844 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_1 : xmlParserErrors = 1845 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_2 : xmlParserErrors = 1846 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_1 : xmlParserErrors = 1847 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_2_1 : xmlParserErrors = 1848 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_2_2 : xmlParserErrors = 1849 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_1 : xmlParserErrors = 1850 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_2 : xmlParserErrors = 1851 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_3 : xmlParserErrors = 1852 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_1_1 : xmlParserErrors = 1853 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_1_2 : xmlParserErrors = 1854 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_1 : xmlParserErrors = 1855 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_1 : xmlParserErrors = 1856 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_2_1 : xmlParserErrors = 1857 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_2_2 : xmlParserErrors = 1858 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_6 : xmlParserErrors = 1859 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_7 : xmlParserErrors = 1860 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_1 : xmlParserErrors = 1861 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_2 : xmlParserErrors = 1862 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_3 : xmlParserErrors = 1863 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_4 : xmlParserErrors = 1864 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_1 : xmlParserErrors = 1865 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_1 : xmlParserErrors = 1866 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_2 : xmlParserErrors = 1867 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_4 : xmlParserErrors = 1868 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_5_1 : xmlParserErrors = 1869 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_5_2 : xmlParserErrors = 1870 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ELEMENT_CONTENT : xmlParserErrors = 1871 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_DOCUMENT_ELEMENT_MISSING : xmlParserErrors = 1872 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_1 : xmlParserErrors = 1873 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_AU : xmlParserErrors = 1874 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_1 : xmlParserErrors = 1875 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_2 : xmlParserErrors = 1876 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_IDC : xmlParserErrors = 1877 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_WILDCARD : xmlParserErrors = 1878 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_MISC : xmlParserErrors = 1879 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_UNKNOWN_SCHEME : xmlParserErrors = 1900 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_CHILDSEQ_START : xmlParserErrors = 1901 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_EVAL_FAILED : xmlParserErrors = 1902 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_EXTRA_OBJECTS : xmlParserErrors = 1903 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_CREATE_CTXT : xmlParserErrors = 1950 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_REQUIRES_UTF8 : xmlParserErrors = 1951 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_CREATE_STACK : xmlParserErrors = 1952 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_INVALID_NODE : xmlParserErrors = 1953 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_UNKNOW_NODE : xmlParserErrors = 1954 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_RELATIVE_NAMESPACE : xmlParserErrors = 1955 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_PASV_ANSWER : xmlParserErrors = 2000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_EPSV_ANSWER : xmlParserErrors = 2001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_ACCNT : xmlParserErrors = 2002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_URL_SYNTAX : xmlParserErrors = 2003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_URL_SYNTAX : xmlParserErrors = 2020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_USE_IP : xmlParserErrors = 2021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_UNKNOWN_HOST : xmlParserErrors = 2022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_1 : xmlParserErrors = 3000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_2 : xmlParserErrors = 3001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_3 : xmlParserErrors = 3002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_4 : xmlParserErrors = 3003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_RESOLVE : xmlParserErrors = 3004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE : xmlParserErrors = 3005 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE : xmlParserErrors = 3006 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPES : xmlParserErrors = 3007 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_1 : xmlParserErrors = 3008 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_2 : xmlParserErrors = 3009 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_3 : xmlParserErrors = 3010 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_1 : xmlParserErrors = 3011 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_2 : xmlParserErrors = 3012 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_3_1 : xmlParserErrors = 3013 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_3_2 : xmlParserErrors = 3014 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_1 : xmlParserErrors = 3015 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_1 : xmlParserErrors = 3016 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_2 : xmlParserErrors = 3017 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_1 : xmlParserErrors = 3018 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_2 : xmlParserErrors = 3019 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_3 : xmlParserErrors = 3020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_4 : xmlParserErrors = 3021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_5 : xmlParserErrors = 3022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_1 : xmlParserErrors = 3023 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1 : xmlParserErrors = 3024 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1_2 : xmlParserErrors = 3025 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_2 : xmlParserErrors = 3026 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_1 : xmlParserErrors = 3027 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_3 : xmlParserErrors = 3028 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_4 : xmlParserErrors = 3029 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_5 : xmlParserErrors = 3030 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_DERIVED_OK_2_1 : xmlParserErrors = 3031 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_DERIVED_OK_2_2 : xmlParserErrors = 3032 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ELEM_NOT_ALLOWED : xmlParserErrors = 3033 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ELEM_MISSING : xmlParserErrors = 3034 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_NOT_ALLOWED : xmlParserErrors = 3035 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_MISSING : xmlParserErrors = 3036 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_INVALID_VALUE : xmlParserErrors = 3037 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_1 : xmlParserErrors = 3038 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_2_1 : xmlParserErrors = 3039 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_2_2 : xmlParserErrors = 3040 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_3 : xmlParserErrors = 3041 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_1 : xmlParserErrors = 3042 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_2_1 : xmlParserErrors = 3043 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_2_2 : xmlParserErrors = 3044 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_2 : xmlParserErrors = 3045 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_3 : xmlParserErrors = 3046 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_4 : xmlParserErrors = 3047 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_5 : xmlParserErrors = 3048 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_6 : xmlParserErrors = 3049 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_INCLUDE : xmlParserErrors = 3050 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_1 : xmlParserErrors = 3051 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_2 : xmlParserErrors = 3052 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_3_1 : xmlParserErrors = 3053 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_3_2 : xmlParserErrors = 3054 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_4 : xmlParserErrors = 3055 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NO_XMLNS : xmlParserErrors = 3056 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NO_XSI : xmlParserErrors = 3057 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_1 : xmlParserErrors = 3058 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_1 : xmlParserErrors = 3059 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_2_1 : xmlParserErrors = 3060 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_2_2 : xmlParserErrors = 3061 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CVC_SIMPLE_TYPE : xmlParserErrors = 3062 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_1 : xmlParserErrors = 3063 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_1_1 : xmlParserErrors = 3064 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_1_2 : xmlParserErrors = 3065 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2 : xmlParserErrors = 3066 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2_1 : xmlParserErrors = 3067 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2_2 : xmlParserErrors = 3068 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INTERNAL : xmlParserErrors = 3069 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOT_DETERMINISTIC : xmlParserErrors = 3070 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_1 : xmlParserErrors = 3071 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_2 : xmlParserErrors = 3072 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_3 : xmlParserErrors = 3073 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MG_PROPS_CORRECT_1 : xmlParserErrors = 3074 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MG_PROPS_CORRECT_2 : xmlParserErrors = 3075 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_CT_1 : xmlParserErrors = 3076 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_3 : xmlParserErrors = 3077 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AU_PROPS_CORRECT_2 : xmlParserErrors = 3078 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_A_PROPS_CORRECT_2 : xmlParserErrors = 3079 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_C_PROPS_CORRECT : xmlParserErrors = 3080 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_REDEFINE : xmlParserErrors = 3081 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT : xmlParserErrors = 3082 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_SKIP_SCHEMA : xmlParserErrors = 3083 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_UNLOCATED_SCHEMA : xmlParserErrors = 3084 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_ATTR_REDECL_PROH : xmlParserErrors = 3085 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_ATTR_POINTLESS_PROH : xmlParserErrors = 3086 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AG_PROPS_CORRECT : xmlParserErrors = 3087 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_2 : xmlParserErrors = 3088 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AU_PROPS_CORRECT : xmlParserErrors = 3089 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_A_PROPS_CORRECT_3 : xmlParserErrors = 3090 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ALL_LIMITED : xmlParserErrors = 3091 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMATRONV_ASSERT : xmlParserErrors = 4000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMATRONV_REPORT : xmlParserErrors = 4001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_MODULE_OPEN : xmlParserErrors = 4900 ; # [doc = " File not found."] pub const xmlParserErrors_XML_MODULE_CLOSE : xmlParserErrors = 4901 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ELEMENT : xmlParserErrors = 5000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ATTRIBUTE : xmlParserErrors = 5001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_TEXT : xmlParserErrors = 5002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_CDATA : xmlParserErrors = 5003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ENTITYREF : xmlParserErrors = 5004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ENTITY : xmlParserErrors = 5005 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_PI : xmlParserErrors = 5006 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_COMMENT : xmlParserErrors = 5007 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_DOCTYPE : xmlParserErrors = 5008 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_FRAGMENT : xmlParserErrors = 5009 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_NOTATION : xmlParserErrors = 5010 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_UNKNOWN_NODE : xmlParserErrors = 5011 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_ENTITY_TYPE : xmlParserErrors = 5012 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_PARENT : xmlParserErrors = 5013 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_DOC : xmlParserErrors = 5014 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_NAME : xmlParserErrors = 5015 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_ELEM : xmlParserErrors = 5016 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_DOC : xmlParserErrors = 5017 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_PREV : xmlParserErrors = 5018 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_PREV : xmlParserErrors = 5019 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_NEXT : xmlParserErrors = 5020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_NEXT : xmlParserErrors = 5021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_DTD : xmlParserErrors = 5022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ATTR : xmlParserErrors = 5023 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ATTR_DECL : xmlParserErrors = 5024 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ELEM_DECL : xmlParserErrors = 5025 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ENTITY_DECL : xmlParserErrors = 5026 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_NS_DECL : xmlParserErrors = 5027 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_HREF : xmlParserErrors = 5028 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_PARENT : xmlParserErrors = 5029 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NS_SCOPE : xmlParserErrors = 5030 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NS_ANCESTOR : xmlParserErrors = 5031 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_UTF8 : xmlParserErrors = 5032 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_DICT : xmlParserErrors = 5033 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_NCNAME : xmlParserErrors = 5034 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_OUTSIDE_DICT : xmlParserErrors = 5035 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_NAME : xmlParserErrors = 5036 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NAME_NOT_NULL : xmlParserErrors = 5037 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_NAME : xmlParserErrors = 6000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_HANDLER : xmlParserErrors = 6001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_EXCESS_HANDLER : xmlParserErrors = 6002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_CONV_FAILED : xmlParserErrors = 6003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_OUTPUT : xmlParserErrors = 6004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_BUF_OVERFLOW : xmlParserErrors = 7000 ; # [doc = " Error codes. Note that only some codes are documented."] pub type xmlParserErrors = :: std :: os :: raw :: c_uint ; # [doc = " Generic error callback.\n\n @deprecated in favor of structured errors.\n @param ctx  user data\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlGenericErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Structured error callback receiving an xmlError.\n\n @param userData  user provided data for the error callback\n @param error  the error being raised"] pub type xmlStructuredErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (userData : * mut :: std :: os :: raw :: c_void , error : * const xmlError) > ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlLastError () -> * const xmlError ; } unsafe extern "C" { pub fn __xmlGenericError () -> * mut xmlGenericErrorFunc ; } unsafe extern "C" { pub fn __xmlGenericErrorContext () -> * mut * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn __xmlStructuredError () -> * mut xmlStructuredErrorFunc ; } unsafe extern "C" { pub fn __xmlStructuredErrorContext () -> * mut * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlSetGenericErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlGenericErrorFunc) ; } unsafe extern "C" { pub fn xmlSetStructuredErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlStructuredErrorFunc) ; } unsafe extern "C" { pub fn xmlThrDefSetGenericErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlGenericErrorFunc) ; } unsafe extern "C" { pub fn xmlThrDefSetStructuredErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlStructuredErrorFunc) ; } unsafe extern "C" { pub fn xmlParserError (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserWarning (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserValidityError (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserValidityWarning (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserPrintFileInfo (input : * mut _xmlParserInput) ; } unsafe extern "C" { pub fn xmlParserPrintFileContext (input : * mut _xmlParserInput) ; } unsafe extern "C" { pub fn xmlFormatError (err : * const xmlError , channel : xmlGenericErrorFunc , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlGetLastError () -> * const xmlError ; } unsafe extern "C" { pub fn xmlResetLastError () ; } unsafe extern "C" { pub fn xmlCtxtGetLastError (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlError ; } unsafe extern "C" { pub fn xmlCtxtResetLastError (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlResetError (err : * mut xmlError) ; } unsafe extern "C" { pub fn xmlCopyError (from : * const xmlError , to : * mut xmlError) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlLink { _unused : [u8 ; 0] , } # [doc = " Linked list item\n\n @deprecated Don't use in new code."] pub type xmlLink = _xmlLink ; pub type xmlLinkPtr = * mut xmlLink ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlList { _unused : [u8 ; 0] , } # [doc = " Linked list\n\n @deprecated Don't use in new code."] pub type xmlList = _xmlList ; pub type xmlListPtr = * mut xmlList ; # [doc = " Callback function used to free data from a list.\n\n @param lk  the data to deallocate"] pub type xmlListDeallocator = :: std :: option :: Option < unsafe extern "C" fn (lk : * mut xmlLink) > ; # [doc = " Callback function used to compare 2 data.\n\n @param data0  the first data\n @param data1  the second data\n @returns 0 is equality, -1 or 1 otherwise depending on the ordering."] pub type xmlListDataCompare = :: std :: option :: Option < unsafe extern "C" fn (data0 : * const :: std :: os :: raw :: c_void , data1 : * const :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback function used when walking a list with #xmlListWalk.\n\n @param data  the data found in the list\n @param user  extra user provided data to the walker\n @returns 0 to stop walking the list, 1 otherwise."] pub type xmlListWalker = :: std :: option :: Option < unsafe extern "C" fn (data : * const :: std :: os :: raw :: c_void , user : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; unsafe extern "C" { pub fn xmlListCreate (deallocator : xmlListDeallocator , compare : xmlListDataCompare) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlListDelete (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListSearch (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlListReverseSearch (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlListInsert (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListAppend (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveFirst (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveLast (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveAll (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListClear (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListEmpty (l : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListFront (l : * mut xmlList) -> * mut xmlLink ; } unsafe extern "C" { pub fn xmlListEnd (l : * mut xmlList) -> * mut xmlLink ; } unsafe extern "C" { pub fn xmlListSize (l : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListPopFront (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListPopBack (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListPushFront (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListPushBack (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListReverse (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListSort (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListWalk (l : * mut xmlList , walker : xmlListWalker , user : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlListReverseWalk (l : * mut xmlList , walker : xmlListWalker , user : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlListMerge (l1 : * mut xmlList , l2 : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListDup (old : * mut xmlList) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlListCopy (cur : * mut xmlList , old : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlLinkGetData (lk : * mut xmlLink) -> * mut :: std :: os :: raw :: c_void ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAutomata { _unused : [u8 ; 0] , } # [doc = " A libxml automata description\n\n It can be compiled into a regexp"] pub type xmlAutomata = _xmlAutomata ; pub type xmlAutomataPtr = * mut xmlAutomata ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAutomataState { _unused : [u8 ; 0] , } # [doc = " A state in the automata description"] pub type xmlAutomataState = _xmlAutomataState ; pub type xmlAutomataStatePtr = * mut xmlAutomataState ; unsafe extern "C" { pub fn xmlNewAutomata () -> * mut xmlAutomata ; } unsafe extern "C" { pub fn xmlFreeAutomata (am : * mut xmlAutomata) ; } unsafe extern "C" { pub fn xmlAutomataGetInitState (am : * mut xmlAutomata) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataSetFinalState (am : * mut xmlAutomata , state : * mut xmlAutomataState) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAutomataNewState (am : * mut xmlAutomata) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewTransition (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewTransition2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewNegTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountTrans2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewOnceTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewOnceTrans2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewAllTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , lax : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewEpsilon (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountedTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , counter : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCounterTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , counter : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCounter (am : * mut xmlAutomata , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAutomataCompile (am : * mut xmlAutomata) -> * mut _xmlRegexp ; } unsafe extern "C" { pub fn xmlAutomataIsDeterminist (am : * mut xmlAutomata) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlValidState { _unused : [u8 ; 0] , } pub type xmlValidState = _xmlValidState ; pub type xmlValidStatePtr = * mut xmlValidState ; # [doc = " Report a validity error.\n\n @param ctx  user data (usually an xmlValidCtxt)\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlValidityErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Report a validity warning.\n\n @param ctx  user data (usually an xmlValidCtxt)\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlValidityWarningFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " An xmlValidCtxt is used for error reporting when validating."] pub type xmlValidCtxt = _xmlValidCtxt ; pub type xmlValidCtxtPtr = * mut xmlValidCtxt ; # [doc = " An xmlValidCtxt is used for error reporting when validating."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlValidCtxt { pub userData : * mut :: std :: os :: raw :: c_void , pub error : xmlValidityErrorFunc , pub warning : xmlValidityWarningFunc , pub node : * mut xmlNode , pub nodeNr : :: std :: os :: raw :: c_int , pub nodeMax : :: std :: os :: raw :: c_int , pub nodeTab : * mut * mut xmlNode , pub flags : :: std :: os :: raw :: c_uint , pub doc : * mut xmlDoc , pub valid : :: std :: os :: raw :: c_int , pub vstate : * mut xmlValidState , pub vstateNr : :: std :: os :: raw :: c_int , pub vstateMax : :: std :: os :: raw :: c_int , pub vstateTab : * mut xmlValidState , pub am : * mut xmlAutomata , pub state : * mut xmlAutomataState , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlValidCtxt"] [:: std :: mem :: size_of :: < _xmlValidCtxt > () - 112usize] ; ["Alignment of _xmlValidCtxt"] [:: std :: mem :: align_of :: < _xmlValidCtxt > () - 8usize] ; ["Offset of field: _xmlValidCtxt::userData"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , userData) - 0usize] ; ["Offset of field: _xmlValidCtxt::error"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , error) - 8usize] ; ["Offset of field: _xmlValidCtxt::warning"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , warning) - 16usize] ; ["Offset of field: _xmlValidCtxt::node"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , node) - 24usize] ; ["Offset of field: _xmlValidCtxt::nodeNr"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeNr) - 32usize] ; ["Offset of field: _xmlValidCtxt::nodeMax"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeMax) - 36usize] ; ["Offset of field: _xmlValidCtxt::nodeTab"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeTab) - 40usize] ; ["Offset of field: _xmlValidCtxt::flags"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , flags) - 48usize] ; ["Offset of field: _xmlValidCtxt::doc"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , doc) - 56usize] ; ["Offset of field: _xmlValidCtxt::valid"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , valid) - 64usize] ; ["Offset of field: _xmlValidCtxt::vstate"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstate) - 72usize] ; ["Offset of field: _xmlValidCtxt::vstateNr"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateNr) - 80usize] ; ["Offset of field: _xmlValidCtxt::vstateMax"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateMax) - 84usize] ; ["Offset of field: _xmlValidCtxt::vstateTab"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateTab) - 88usize] ; ["Offset of field: _xmlValidCtxt::am"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , am) - 96usize] ; ["Offset of field: _xmlValidCtxt::state"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , state) - 104usize] ; } ; pub type xmlNotationTable = _xmlHashTable ; pub type xmlNotationTablePtr = * mut xmlNotationTable ; pub type xmlElementTable = _xmlHashTable ; pub type xmlElementTablePtr = * mut xmlElementTable ; pub type xmlAttributeTable = _xmlHashTable ; pub type xmlAttributeTablePtr = * mut xmlAttributeTable ; pub type xmlIDTable = _xmlHashTable ; pub type xmlIDTablePtr = * mut xmlIDTable ; pub type xmlRefTable = _xmlHashTable ; pub type xmlRefTablePtr = * mut xmlRefTable ; unsafe extern "C" { pub fn xmlAddNotationDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlNotation ; } unsafe extern "C" { pub fn xmlCopyNotationTable (table : * mut xmlNotationTable) -> * mut xmlNotationTable ; } unsafe extern "C" { pub fn xmlFreeNotationTable (table : * mut xmlNotationTable) ; } unsafe extern "C" { pub fn xmlDumpNotationDecl (buf : * mut xmlBuffer , nota : * mut xmlNotation) ; } unsafe extern "C" { pub fn xmlDumpNotationTable (buf : * mut xmlBuffer , table : * mut xmlNotationTable) ; } unsafe extern "C" { pub fn xmlNewElementContent (name : * const xmlChar , type_ : xmlElementContentType) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlCopyElementContent (content : * mut xmlElementContent) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlFreeElementContent (cur : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlNewDocElementContent (doc : * mut xmlDoc , name : * const xmlChar , type_ : xmlElementContentType) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlCopyDocElementContent (doc : * mut xmlDoc , content : * mut xmlElementContent) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlFreeDocElementContent (doc : * mut xmlDoc , cur : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlSnprintfElementContent (buf : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , content : * mut xmlElementContent , englob : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSprintfElementContent (buf : * mut :: std :: os :: raw :: c_char , content : * mut xmlElementContent , englob : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlAddElementDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , name : * const xmlChar , type_ : xmlElementTypeVal , content : * mut xmlElementContent) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlCopyElementTable (table : * mut xmlElementTable) -> * mut xmlElementTable ; } unsafe extern "C" { pub fn xmlFreeElementTable (table : * mut xmlElementTable) ; } unsafe extern "C" { pub fn xmlDumpElementTable (buf : * mut xmlBuffer , table : * mut xmlElementTable) ; } unsafe extern "C" { pub fn xmlDumpElementDecl (buf : * mut xmlBuffer , elem : * mut xmlElement) ; } unsafe extern "C" { pub fn xmlCreateEnumeration (name : * const xmlChar) -> * mut xmlEnumeration ; } unsafe extern "C" { pub fn xmlFreeEnumeration (cur : * mut xmlEnumeration) ; } unsafe extern "C" { pub fn xmlCopyEnumeration (cur : * mut xmlEnumeration) -> * mut xmlEnumeration ; } unsafe extern "C" { pub fn xmlAddAttributeDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar , ns : * const xmlChar , type_ : xmlAttributeType , def : xmlAttributeDefault , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlCopyAttributeTable (table : * mut xmlAttributeTable) -> * mut xmlAttributeTable ; } unsafe extern "C" { pub fn xmlFreeAttributeTable (table : * mut xmlAttributeTable) ; } unsafe extern "C" { pub fn xmlDumpAttributeTable (buf : * mut xmlBuffer , table : * mut xmlAttributeTable) ; } unsafe extern "C" { pub fn xmlDumpAttributeDecl (buf : * mut xmlBuffer , attr : * mut xmlAttribute) ; } unsafe extern "C" { pub fn xmlAddIDSafe (attr : * mut xmlAttr , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddID (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , value : * const xmlChar , attr : * mut xmlAttr) -> * mut xmlID ; } unsafe extern "C" { pub fn xmlFreeIDTable (table : * mut xmlIDTable) ; } unsafe extern "C" { pub fn xmlGetID (doc : * mut xmlDoc , ID : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlIsID (doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveID (doc : * mut xmlDoc , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddRef (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , value : * const xmlChar , attr : * mut xmlAttr) -> * mut xmlRef ; } unsafe extern "C" { pub fn xmlFreeRefTable (table : * mut xmlRefTable) ; } unsafe extern "C" { pub fn xmlIsRef (doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveRef (doc : * mut xmlDoc , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetRefs (doc : * mut xmlDoc , ID : * const xmlChar) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlNewValidCtxt () -> * mut xmlValidCtxt ; } unsafe extern "C" { pub fn xmlFreeValidCtxt (arg1 : * mut xmlValidCtxt) ; } unsafe extern "C" { pub fn xmlValidateRoot (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateElementDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlElement) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidNormalizeAttributeValue (doc : * mut xmlDoc , elem : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlValidCtxtNormalizeAttributeValue (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlValidateAttributeDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , attr : * mut xmlAttribute) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateAttributeValue (type_ : xmlAttributeType , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNotationDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , nota : * mut xmlNotation) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDtd (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , dtd : * mut xmlDtd) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDtdFinal (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDocument (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneAttribute (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneNamespace (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , prefix : * const xmlChar , ns : * mut xmlNs , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDocumentFinal (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNotationUse (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , notationName : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsMixedElement (doc : * mut xmlDoc , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetDtdAttrDesc (dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlGetDtdQAttrDesc (dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar , prefix : * const xmlChar) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlGetDtdNotationDesc (dtd : * mut xmlDtd , name : * const xmlChar) -> * mut xmlNotation ; } unsafe extern "C" { pub fn xmlGetDtdQElementDesc (dtd : * mut xmlDtd , name : * const xmlChar , prefix : * const xmlChar) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlGetDtdElementDesc (dtd : * mut xmlDtd , name : * const xmlChar) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlValidGetPotentialChildren (ctree : * mut xmlElementContent , names : * mut * const xmlChar , len : * mut :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidGetValidElements (prev : * mut xmlNode , next : * mut xmlNode , names : * mut * const xmlChar , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNameValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNamesValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNmtokenValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNmtokensValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidBuildContentModel (ctxt : * mut xmlValidCtxt , elem : * mut xmlElement) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePushElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , qname : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePushCData (ctxt : * mut xmlValidCtxt , data : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePopElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , qname : * const xmlChar) -> :: std :: os :: raw :: c_int ; } # [doc = " internal general entity"] pub const xmlEntityType_XML_INTERNAL_GENERAL_ENTITY : xmlEntityType = 1 ; # [doc = " external general parsed entity"] pub const xmlEntityType_XML_EXTERNAL_GENERAL_PARSED_ENTITY : xmlEntityType = 2 ; # [doc = " external general unparsed entity"] pub const xmlEntityType_XML_EXTERNAL_GENERAL_UNPARSED_ENTITY : xmlEntityType = 3 ; # [doc = " internal parameter entity"] pub const xmlEntityType_XML_INTERNAL_PARAMETER_ENTITY : xmlEntityType = 4 ; # [doc = " external parameter entity"] pub const xmlEntityType_XML_EXTERNAL_PARAMETER_ENTITY : xmlEntityType = 5 ; # [doc = " internal predefined entity"] pub const xmlEntityType_XML_INTERNAL_PREDEFINED_ENTITY : xmlEntityType = 6 ; # [doc = " The different entity types."] pub type xmlEntityType = :: std :: os :: raw :: c_uint ; # [doc = " An entity declaration"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlEntity { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ENTITY_DECL, must be second !"] pub type_ : xmlElementType , # [doc = " Entity name"] pub name : * const xmlChar , # [doc = " First child link"] pub children : * mut _xmlNode , # [doc = " Last child link"] pub last : * mut _xmlNode , # [doc = " -> DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling link"] pub next : * mut _xmlNode , # [doc = " previous sibling link"] pub prev : * mut _xmlNode , # [doc = " the containing document"] pub doc : * mut _xmlDoc , # [doc = " content without ref substitution"] pub orig : * mut xmlChar , # [doc = " content or ndata if unparsed"] pub content : * mut xmlChar , # [doc = " the content length"] pub length : :: std :: os :: raw :: c_int , # [doc = " The entity type"] pub etype : xmlEntityType , # [doc = " External identifier for PUBLIC"] pub ExternalID : * const xmlChar , # [doc = " URI for a SYSTEM or PUBLIC Entity"] pub SystemID : * const xmlChar , # [doc = " unused"] pub nexte : * mut _xmlEntity , # [doc = " the full URI as computed"] pub URI : * const xmlChar , # [doc = " unused"] pub owner : :: std :: os :: raw :: c_int , # [doc = " various flags"] pub flags : :: std :: os :: raw :: c_int , # [doc = " expanded size"] pub expandedSize : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlEntity"] [:: std :: mem :: size_of :: < _xmlEntity > () - 144usize] ; ["Alignment of _xmlEntity"] [:: std :: mem :: align_of :: < _xmlEntity > () - 8usize] ; ["Offset of field: _xmlEntity::_private"] [:: std :: mem :: offset_of ! (_xmlEntity , _private) - 0usize] ; ["Offset of field: _xmlEntity::type_"] [:: std :: mem :: offset_of ! (_xmlEntity , type_) - 8usize] ; ["Offset of field: _xmlEntity::name"] [:: std :: mem :: offset_of ! (_xmlEntity , name) - 16usize] ; ["Offset of field: _xmlEntity::children"] [:: std :: mem :: offset_of ! (_xmlEntity , children) - 24usize] ; ["Offset of field: _xmlEntity::last"] [:: std :: mem :: offset_of ! (_xmlEntity , last) - 32usize] ; ["Offset of field: _xmlEntity::parent"] [:: std :: mem :: offset_of ! (_xmlEntity , parent) - 40usize] ; ["Offset of field: _xmlEntity::next"] [:: std :: mem :: offset_of ! (_xmlEntity , next) - 48usize] ; ["Offset of field: _xmlEntity::prev"] [:: std :: mem :: offset_of ! (_xmlEntity , prev) - 56usize] ; ["Offset of field: _xmlEntity::doc"] [:: std :: mem :: offset_of ! (_xmlEntity , doc) - 64usize] ; ["Offset of field: _xmlEntity::orig"] [:: std :: mem :: offset_of ! (_xmlEntity , orig) - 72usize] ; ["Offset of field: _xmlEntity::content"] [:: std :: mem :: offset_of ! (_xmlEntity , content) - 80usize] ; ["Offset of field: _xmlEntity::length"] [:: std :: mem :: offset_of ! (_xmlEntity , length) - 88usize] ; ["Offset of field: _xmlEntity::etype"] [:: std :: mem :: offset_of ! (_xmlEntity , etype) - 92usize] ; ["Offset of field: _xmlEntity::ExternalID"] [:: std :: mem :: offset_of ! (_xmlEntity , ExternalID) - 96usize] ; ["Offset of field: _xmlEntity::SystemID"] [:: std :: mem :: offset_of ! (_xmlEntity , SystemID) - 104usize] ; ["Offset of field: _xmlEntity::nexte"] [:: std :: mem :: offset_of ! (_xmlEntity , nexte) - 112usize] ; ["Offset of field: _xmlEntity::URI"] [:: std :: mem :: offset_of ! (_xmlEntity , URI) - 120usize] ; ["Offset of field: _xmlEntity::owner"] [:: std :: mem :: offset_of ! (_xmlEntity , owner) - 128usize] ; ["Offset of field: _xmlEntity::flags"] [:: std :: mem :: offset_of ! (_xmlEntity , flags) - 132usize] ; ["Offset of field: _xmlEntity::expandedSize"] [:: std :: mem :: offset_of ! (_xmlEntity , expandedSize) - 136usize] ; } ; pub type xmlEntitiesTable = _xmlHashTable ; pub type xmlEntitiesTablePtr = * mut xmlEntitiesTable ; unsafe extern "C" { pub fn xmlNewEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlFreeEntity (entity : * mut xmlEntity) ; } unsafe extern "C" { pub fn xmlAddEntity (doc : * mut xmlDoc , extSubset : :: std :: os :: raw :: c_int , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar , out : * mut * mut xmlEntity) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddDocEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlAddDtdEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetPredefinedEntity (name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetDocEntity (doc : * const xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetDtdEntity (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetParameterEntity (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlEncodeEntitiesReentrant (doc : * mut xmlDoc , input : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlEncodeSpecialChars (doc : * const xmlDoc , input : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCreateEntitiesTable () -> * mut xmlEntitiesTable ; } unsafe extern "C" { pub fn xmlCopyEntitiesTable (table : * mut xmlEntitiesTable) -> * mut xmlEntitiesTable ; } unsafe extern "C" { pub fn xmlFreeEntitiesTable (table : * mut xmlEntitiesTable) ; } unsafe extern "C" { pub fn xmlDumpEntitiesTable (buf : * mut xmlBuffer , table : * mut xmlEntitiesTable) ; } unsafe extern "C" { pub fn xmlDumpEntityDecl (buf : * mut xmlBuffer , ent : * mut xmlEntity) ; } # [doc = " Success"] pub const xmlCharEncError_XML_ENC_ERR_SUCCESS : xmlCharEncError = 0 ; # [doc = " Internal or unclassified error"] pub const xmlCharEncError_XML_ENC_ERR_INTERNAL : xmlCharEncError = - 1 ; # [doc = " Invalid or untranslatable input sequence"] pub const xmlCharEncError_XML_ENC_ERR_INPUT : xmlCharEncError = - 2 ; # [doc = " Not enough space in output buffer"] pub const xmlCharEncError_XML_ENC_ERR_SPACE : xmlCharEncError = - 3 ; # [doc = " Out-of-memory error"] pub const xmlCharEncError_XML_ENC_ERR_MEMORY : xmlCharEncError = - 4 ; # [doc = " Encoding conversion errors"] pub type xmlCharEncError = :: std :: os :: raw :: c_int ; # [doc = " No char encoding detected"] pub const xmlCharEncoding_XML_CHAR_ENCODING_ERROR : xmlCharEncoding = - 1 ; # [doc = " No char encoding detected"] pub const xmlCharEncoding_XML_CHAR_ENCODING_NONE : xmlCharEncoding = 0 ; # [doc = " UTF-8"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF8 : xmlCharEncoding = 1 ; # [doc = " UTF-16 little endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16LE : xmlCharEncoding = 2 ; # [doc = " UTF-16 big endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16BE : xmlCharEncoding = 3 ; # [doc = " UCS-4 little endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4LE : xmlCharEncoding = 4 ; # [doc = " UCS-4 big endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4BE : xmlCharEncoding = 5 ; # [doc = " EBCDIC uh!"] pub const xmlCharEncoding_XML_CHAR_ENCODING_EBCDIC : xmlCharEncoding = 6 ; # [doc = " UCS-4 unusual ordering"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4_2143 : xmlCharEncoding = 7 ; # [doc = " UCS-4 unusual ordering"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4_3412 : xmlCharEncoding = 8 ; # [doc = " UCS-2"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS2 : xmlCharEncoding = 9 ; # [doc = " ISO-8859-1 ISO Latin 1"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_1 : xmlCharEncoding = 10 ; # [doc = " ISO-8859-2 ISO Latin 2"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_2 : xmlCharEncoding = 11 ; # [doc = " ISO-8859-3"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_3 : xmlCharEncoding = 12 ; # [doc = " ISO-8859-4"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_4 : xmlCharEncoding = 13 ; # [doc = " ISO-8859-5"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_5 : xmlCharEncoding = 14 ; # [doc = " ISO-8859-6"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_6 : xmlCharEncoding = 15 ; # [doc = " ISO-8859-7"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_7 : xmlCharEncoding = 16 ; # [doc = " ISO-8859-8"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_8 : xmlCharEncoding = 17 ; # [doc = " ISO-8859-9"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_9 : xmlCharEncoding = 18 ; # [doc = " ISO-2022-JP"] pub const xmlCharEncoding_XML_CHAR_ENCODING_2022_JP : xmlCharEncoding = 19 ; # [doc = " Shift_JIS"] pub const xmlCharEncoding_XML_CHAR_ENCODING_SHIFT_JIS : xmlCharEncoding = 20 ; # [doc = " EUC-JP"] pub const xmlCharEncoding_XML_CHAR_ENCODING_EUC_JP : xmlCharEncoding = 21 ; # [doc = " pure ASCII"] pub const xmlCharEncoding_XML_CHAR_ENCODING_ASCII : xmlCharEncoding = 22 ; # [doc = " UTF-16 native, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16 : xmlCharEncoding = 23 ; # [doc = " HTML (output only), available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_HTML : xmlCharEncoding = 24 ; # [doc = " ISO-8859-10, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_10 : xmlCharEncoding = 25 ; # [doc = " ISO-8859-11, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_11 : xmlCharEncoding = 26 ; # [doc = " ISO-8859-13, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_13 : xmlCharEncoding = 27 ; # [doc = " ISO-8859-14, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_14 : xmlCharEncoding = 28 ; # [doc = " ISO-8859-15, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_15 : xmlCharEncoding = 29 ; # [doc = " ISO-8859-16, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_16 : xmlCharEncoding = 30 ; # [doc = " windows-1252, available since 2.15"] pub const xmlCharEncoding_XML_CHAR_ENCODING_WINDOWS_1252 : xmlCharEncoding = 31 ; # [doc = " Predefined values for some standard encodings."] pub type xmlCharEncoding = :: std :: os :: raw :: c_int ; # [doc = " Create converter for input (conversion to UTF-8)"] pub const xmlCharEncFlags_XML_ENC_INPUT : xmlCharEncFlags = 1 ; # [doc = " Create converter for output (conversion from UTF-8)"] pub const xmlCharEncFlags_XML_ENC_OUTPUT : xmlCharEncFlags = 2 ; # [doc = " Use HTML5 mappings"] pub const xmlCharEncFlags_XML_ENC_HTML : xmlCharEncFlags = 4 ; # [doc = " Encoding conversion flags"] pub type xmlCharEncFlags = :: std :: os :: raw :: c_uint ; # [doc = " Convert characters to UTF-8.\n\n On success, the value of `inlen` after return is the number of\n bytes consumed and `outlen` is the number of bytes produced.\n\n @param out  a pointer to an array of bytes to store the UTF-8 result\n @param outlen  the length of `out`\n @param in  a pointer to an array of chars in the original encoding\n @param inlen  the length of `in`\n @returns the number of bytes written or an xmlCharEncError code."] pub type xmlCharEncodingInputFunc = :: std :: option :: Option < unsafe extern "C" fn (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Convert characters from UTF-8.\n\n On success, the value of `inlen` after return is the number of\n bytes consumed and `outlen` is the number of bytes produced.\n\n @param out  a pointer to an array of bytes to store the result\n @param outlen  the length of `out`\n @param in  a pointer to an array of UTF-8 chars\n @param inlen  the length of `in`\n @returns the number of bytes written or an xmlCharEncError code."] pub type xmlCharEncodingOutputFunc = :: std :: option :: Option < unsafe extern "C" fn (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Convert between character encodings.\n\n The value of `inlen` after return is the number of bytes consumed\n and `outlen` is the number of bytes produced.\n\n If the converter can consume partial multi-byte sequences, the\n `flush` flag can be used to detect truncated sequences at EOF.\n Otherwise, the flag can be ignored.\n\n @param vctxt  conversion context\n @param out  a pointer to an array of bytes to store the result\n @param outlen  the length of `out`\n @param in  a pointer to an array of input bytes\n @param inlen  the length of `in`\n @param flush  end of input\n @returns an xmlCharEncError code."] pub type xmlCharEncConvFunc = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void , out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int , flush : :: std :: os :: raw :: c_int) -> xmlCharEncError > ; # [doc = " Free a conversion context.\n\n @param vctxt  conversion context"] pub type xmlCharEncConvCtxtDtor = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void) > ; # [doc = " Character encoding converter"] pub type xmlCharEncodingHandler = _xmlCharEncodingHandler ; pub type xmlCharEncodingHandlerPtr = * mut xmlCharEncodingHandler ; # [doc = " A character encoding conversion handler for non UTF-8 encodings.\n\n This structure will be made private."] # [repr (C)] # [derive (Copy , Clone)] pub struct _xmlCharEncodingHandler { pub name : * mut :: std :: os :: raw :: c_char , pub input : _xmlCharEncodingHandler__bindgen_ty_1 , pub output : _xmlCharEncodingHandler__bindgen_ty_2 , pub inputCtxt : * mut :: std :: os :: raw :: c_void , pub outputCtxt : * mut :: std :: os :: raw :: c_void , pub ctxtDtor : xmlCharEncConvCtxtDtor , pub flags : :: std :: os :: raw :: c_int , } # [repr (C)] # [derive (Copy , Clone)] pub union _xmlCharEncodingHandler__bindgen_ty_1 { pub func : xmlCharEncConvFunc , pub legacyFunc : xmlCharEncodingInputFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler__bindgen_ty_1"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler__bindgen_ty_1 > () - 8usize] ; ["Alignment of _xmlCharEncodingHandler__bindgen_ty_1"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler__bindgen_ty_1 > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_1::func"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_1 , func) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_1::legacyFunc"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_1 , legacyFunc) - 0usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union _xmlCharEncodingHandler__bindgen_ty_2 { pub func : xmlCharEncConvFunc , pub legacyFunc : xmlCharEncodingOutputFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler__bindgen_ty_2"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler__bindgen_ty_2 > () - 8usize] ; ["Alignment of _xmlCharEncodingHandler__bindgen_ty_2"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler__bindgen_ty_2 > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_2::func"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_2 , func) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_2::legacyFunc"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_2 , legacyFunc) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler > () - 56usize] ; ["Alignment of _xmlCharEncodingHandler"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler::name"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , name) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler::input"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , input) - 8usize] ; ["Offset of field: _xmlCharEncodingHandler::output"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , output) - 16usize] ; ["Offset of field: _xmlCharEncodingHandler::inputCtxt"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , inputCtxt) - 24usize] ; ["Offset of field: _xmlCharEncodingHandler::outputCtxt"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , outputCtxt) - 32usize] ; ["Offset of field: _xmlCharEncodingHandler::ctxtDtor"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , ctxtDtor) - 40usize] ; ["Offset of field: _xmlCharEncodingHandler::flags"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , flags) - 48usize] ; } ; # [doc = " If this function returns XML_ERR_OK, it must fill the `out`\n pointer with an encoding handler. The handler can be obtained\n from #xmlCharEncNewCustomHandler.\n\n `flags` can contain XML_ENC_INPUT, XML_ENC_OUTPUT or both.\n\n @param vctxt  user data\n @param name  encoding name\n @param flags  bit mask of flags\n @param out  pointer to resulting handler\n @returns an xmlParserErrors code."] pub type xmlCharEncConvImpl = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void , name : * const :: std :: os :: raw :: c_char , flags : xmlCharEncFlags , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors > ; unsafe extern "C" { pub fn xmlInitCharEncodingHandlers () ; } unsafe extern "C" { pub fn xmlCleanupCharEncodingHandlers () ; } unsafe extern "C" { pub fn xmlRegisterCharEncodingHandler (handler : * mut xmlCharEncodingHandler) ; } unsafe extern "C" { pub fn xmlLookupCharEncodingHandler (enc : xmlCharEncoding , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlOpenCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , output : :: std :: os :: raw :: c_int , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlCreateCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , flags : xmlCharEncFlags , impl_ : xmlCharEncConvImpl , implCtxt : * mut :: std :: os :: raw :: c_void , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlGetCharEncodingHandler (enc : xmlCharEncoding) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlFindCharEncodingHandler (name : * const :: std :: os :: raw :: c_char) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlNewCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , input : xmlCharEncodingInputFunc , output : xmlCharEncodingOutputFunc) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlCharEncNewCustomHandler (name : * const :: std :: os :: raw :: c_char , input : xmlCharEncConvFunc , output : xmlCharEncConvFunc , ctxtDtor : xmlCharEncConvCtxtDtor , inputCtxt : * mut :: std :: os :: raw :: c_void , outputCtxt : * mut :: std :: os :: raw :: c_void , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlAddEncodingAlias (name : * const :: std :: os :: raw :: c_char , alias : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDelEncodingAlias (alias : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetEncodingAlias (alias : * const :: std :: os :: raw :: c_char) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlCleanupEncodingAliases () ; } unsafe extern "C" { pub fn xmlParseCharEncoding (name : * const :: std :: os :: raw :: c_char) -> xmlCharEncoding ; } unsafe extern "C" { pub fn xmlGetCharEncodingName (enc : xmlCharEncoding) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlDetectCharEncoding (in_ : * const :: std :: os :: raw :: c_uchar , len : :: std :: os :: raw :: c_int) -> xmlCharEncoding ; } unsafe extern "C" { pub fn xmlCharEncOutFunc (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncInFunc (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncFirstLine (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncCloseFunc (handler : * mut xmlCharEncodingHandler) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8ToIsolat1 (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsolat1ToUTF8 (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " Callback used in the I/O Input API to detect if the current handler\n can provide input functionality for this resource.\n\n @param filename  the filename or URI\n @returns 1 if yes and 0 if another Input module should be used"] pub type xmlInputMatchCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Input API to open the resource\n\n @param filename  the filename or URI\n @returns an Input context or NULL in case or error"] pub type xmlInputOpenCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback used in the I/O Input API to read the resource\n\n @param context  an Input context\n @param buffer  the buffer to store data read\n @param len  the length of the buffer in bytes\n @returns the number of bytes read or -1 in case of error"] pub type xmlInputReadCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Input API to close the resource\n\n @param context  an Input context\n @returns 0 or -1 in case of error"] pub type xmlInputCloseCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to detect if the current handler\n can provide output functionality for this resource.\n\n @param filename  the filename or URI\n @returns 1 if yes and 0 if another Output module should be used"] pub type xmlOutputMatchCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to open the resource\n\n @param filename  the filename or URI\n @returns an Output context or NULL in case or error"] pub type xmlOutputOpenCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback used in the I/O Output API to write to the resource\n\n @param context  an Output context\n @param buffer  the buffer of data to write\n @param len  the length of the buffer in bytes\n @returns the number of bytes written or -1 in case of error"] pub type xmlOutputWriteCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void , buffer : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to close the resource\n\n @param context  an Output context\n @returns 0 or -1 in case of error"] pub type xmlOutputCloseCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Signature for the function doing the lookup for a suitable input method\n corresponding to an URI.\n\n @param URI  the URI to read from\n @param enc  the requested source encoding\n @returns the new xmlParserInputBuffer in case of success or NULL if no\n         method was found."] pub type xmlParserInputBufferCreateFilenameFunc = :: std :: option :: Option < unsafe extern "C" fn (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer > ; # [doc = " Signature for the function doing the lookup for a suitable output method\n corresponding to an URI.\n\n @param URI  the URI to write to\n @param encoder  the requested target encoding\n @param compression  compression level\n @returns the new xmlOutputBuffer in case of success or NULL if no\n         method was found."] pub type xmlOutputBufferCreateFilenameFunc = :: std :: option :: Option < unsafe extern "C" fn (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer > ; # [doc = " Parser input buffer\n\n This struct and all related functions should ultimately\n be removed from the public interface."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserInputBuffer { pub context : * mut :: std :: os :: raw :: c_void , pub readcallback : xmlInputReadCallback , pub closecallback : xmlInputCloseCallback , pub encoder : * mut xmlCharEncodingHandler , pub buffer : * mut xmlBuf , pub raw : * mut xmlBuf , pub compressed : :: std :: os :: raw :: c_int , pub error : :: std :: os :: raw :: c_int , pub rawconsumed : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserInputBuffer"] [:: std :: mem :: size_of :: < _xmlParserInputBuffer > () - 64usize] ; ["Alignment of _xmlParserInputBuffer"] [:: std :: mem :: align_of :: < _xmlParserInputBuffer > () - 8usize] ; ["Offset of field: _xmlParserInputBuffer::context"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , context) - 0usize] ; ["Offset of field: _xmlParserInputBuffer::readcallback"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , readcallback) - 8usize] ; ["Offset of field: _xmlParserInputBuffer::closecallback"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , closecallback) - 16usize] ; ["Offset of field: _xmlParserInputBuffer::encoder"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , encoder) - 24usize] ; ["Offset of field: _xmlParserInputBuffer::buffer"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , buffer) - 32usize] ; ["Offset of field: _xmlParserInputBuffer::raw"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , raw) - 40usize] ; ["Offset of field: _xmlParserInputBuffer::compressed"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , compressed) - 48usize] ; ["Offset of field: _xmlParserInputBuffer::error"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , error) - 52usize] ; ["Offset of field: _xmlParserInputBuffer::rawconsumed"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , rawconsumed) - 56usize] ; } ; # [doc = " Output buffer"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlOutputBuffer { pub context : * mut :: std :: os :: raw :: c_void , pub writecallback : xmlOutputWriteCallback , pub closecallback : xmlOutputCloseCallback , pub encoder : * mut xmlCharEncodingHandler , pub buffer : * mut xmlBuf , pub conv : * mut xmlBuf , pub written : :: std :: os :: raw :: c_int , pub error : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlOutputBuffer"] [:: std :: mem :: size_of :: < _xmlOutputBuffer > () - 56usize] ; ["Alignment of _xmlOutputBuffer"] [:: std :: mem :: align_of :: < _xmlOutputBuffer > () - 8usize] ; ["Offset of field: _xmlOutputBuffer::context"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , context) - 0usize] ; ["Offset of field: _xmlOutputBuffer::writecallback"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , writecallback) - 8usize] ; ["Offset of field: _xmlOutputBuffer::closecallback"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , closecallback) - 16usize] ; ["Offset of field: _xmlOutputBuffer::encoder"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , encoder) - 24usize] ; ["Offset of field: _xmlOutputBuffer::buffer"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , buffer) - 32usize] ; ["Offset of field: _xmlOutputBuffer::conv"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , conv) - 40usize] ; ["Offset of field: _xmlOutputBuffer::written"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , written) - 48usize] ; ["Offset of field: _xmlOutputBuffer::error"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , error) - 52usize] ; } ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlParserInputBufferCreateFilenameValue () -> * mut xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn __xmlOutputBufferCreateFilenameValue () -> * mut xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { # [doc = " @endcond"] pub fn xmlCleanupInputCallbacks () ; } unsafe extern "C" { pub fn xmlPopInputCallbacks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterDefaultInputCallbacks () ; } unsafe extern "C" { pub fn xmlAllocParserInputBuffer (enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFile (file : * mut FILE , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFd (fd : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateMem (mem : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateStatic (mem : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateIO (ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferRead (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferGrow (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferPush (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int , buf : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFreeParserInputBuffer (in_ : * mut xmlParserInputBuffer) ; } unsafe extern "C" { pub fn xmlParserGetDirectory (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlRegisterInputCallbacks (matchFunc : xmlInputMatchCallback , openFunc : xmlInputOpenCallback , readFunc : xmlInputReadCallback , closeFunc : xmlInputCloseCallback) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlParserInputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlCleanupOutputCallbacks () ; } unsafe extern "C" { pub fn xmlPopOutputCallbacks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterDefaultOutputCallbacks () ; } unsafe extern "C" { pub fn xmlAllocOutputBuffer (encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFile (file : * mut FILE , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateBuffer (buffer : * mut xmlBuffer , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFd (fd : :: std :: os :: raw :: c_int , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateIO (iowrite : xmlOutputWriteCallback , ioclose : xmlOutputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferGetContent (out : * mut xmlOutputBuffer) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlOutputBufferGetSize (out : * mut xmlOutputBuffer) -> usize ; } unsafe extern "C" { pub fn xmlOutputBufferWrite (out : * mut xmlOutputBuffer , len : :: std :: os :: raw :: c_int , buf : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferWriteString (out : * mut xmlOutputBuffer , str_ : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferWriteEscape (out : * mut xmlOutputBuffer , str_ : * const xmlChar , escaping : xmlCharEncodingOutputFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferFlush (out : * mut xmlOutputBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferClose (out : * mut xmlOutputBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterOutputCallbacks (matchFunc : xmlOutputMatchCallback , openFunc : xmlOutputOpenCallback , writeFunc : xmlOutputWriteCallback , closeFunc : xmlOutputCloseCallback) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlOutputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlCheckHTTPInput (ctxt : * mut xmlParserCtxt , ret : * mut xmlParserInput) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNoNetExternalEntityLoader (URL : * const :: std :: os :: raw :: c_char , ID : * const :: std :: os :: raw :: c_char , ctxt : * mut xmlParserCtxt) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNormalizeWindowsPath (path : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCheckFilename (path : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileMatch (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileOpen (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlFileRead (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileClose (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [doc = " @cond IGNORE"] pub fn xmlIOHTTPMatch (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIOHTTPOpen (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlRegisterHTTPPostCallbacks () ; } unsafe extern "C" { pub fn xmlIOHTTPOpenW (post_uri : * const :: std :: os :: raw :: c_char , compression : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlIOHTTPRead (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIOHTTPClose (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFilenameDefault (func : xmlParserInputBufferCreateFilenameFunc) -> xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFilenameDefault (func : xmlOutputBufferCreateFilenameFunc) -> xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlThrDefOutputBufferCreateFilenameDefault (func : xmlOutputBufferCreateFilenameFunc) -> xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlThrDefParserInputBufferCreateFilenameDefault (func : xmlParserInputBufferCreateFilenameFunc) -> xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlSAX2GetPublicId (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSAX2GetSystemId (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSAX2SetDocumentLocator (ctx : * mut :: std :: os :: raw :: c_void , loc : * mut xmlSAXLocator) ; } unsafe extern "C" { pub fn xmlSAX2GetLineNumber (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2GetColumnNumber (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2IsStandalone (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2HasInternalSubset (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2HasExternalSubset (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2InternalSubset (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2ExternalSubset (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2GetEntity (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlSAX2GetParameterEntity (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlSAX2ResolveEntity (ctx : * mut :: std :: os :: raw :: c_void , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlSAX2EntityDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * mut xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2AttributeDecl (ctx : * mut :: std :: os :: raw :: c_void , elem : * const xmlChar , fullname : * const xmlChar , type_ : :: std :: os :: raw :: c_int , def : :: std :: os :: raw :: c_int , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) ; } unsafe extern "C" { pub fn xmlSAX2ElementDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , content : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlSAX2NotationDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2UnparsedEntityDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar , notationName : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2StartDocument (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSAX2EndDocument (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSAX2StartElement (ctx : * mut :: std :: os :: raw :: c_void , fullname : * const xmlChar , atts : * mut * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2EndElement (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2StartElementNs (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar , nb_namespaces : :: std :: os :: raw :: c_int , namespaces : * mut * const xmlChar , nb_attributes : :: std :: os :: raw :: c_int , nb_defaulted : :: std :: os :: raw :: c_int , attributes : * mut * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2EndElementNs (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Reference (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Characters (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2IgnorableWhitespace (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2ProcessingInstruction (ctx : * mut :: std :: os :: raw :: c_void , target : * const xmlChar , data : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Comment (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2CDataBlock (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAXDefaultVersion (version : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXVersion (hdlr : * mut xmlSAXHandler , version : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2InitDefaultSAXHandler (hdlr : * mut xmlSAXHandler , warning : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2InitHtmlDefaultSAXHandler (hdlr : * mut xmlSAXHandler) ; } unsafe extern "C" { pub fn htmlDefaultSAXHandlerInit () ; } unsafe extern "C" { pub fn xmlDefaultSAXHandlerInit () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlMutex { _unused : [u8 ; 0] , } # [doc = " Mutual exclusion object"] pub type xmlMutex = _xmlMutex ; pub type xmlMutexPtr = * mut xmlMutex ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRMutex { _unused : [u8 ; 0] , } # [doc = " Reentrant mutual exclusion object"] pub type xmlRMutex = _xmlRMutex ; pub type xmlRMutexPtr = * mut xmlRMutex ; unsafe extern "C" { pub fn xmlCheckThreadLocalStorage () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNewMutex () -> * mut xmlMutex ; } unsafe extern "C" { pub fn xmlMutexLock (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlMutexUnlock (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlFreeMutex (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlNewRMutex () -> * mut xmlRMutex ; } unsafe extern "C" { pub fn xmlRMutexLock (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlRMutexUnlock (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlFreeRMutex (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlInitThreads () ; } unsafe extern "C" { pub fn xmlLockLibrary () ; } unsafe extern "C" { pub fn xmlUnlockLibrary () ; } unsafe extern "C" { pub fn xmlCleanupThreads () ; } # [doc = " not well-formed"] pub const xmlParserStatus_XML_STATUS_NOT_WELL_FORMED : xmlParserStatus = 1 ; # [doc = " not namespace-well-formed"] pub const xmlParserStatus_XML_STATUS_NOT_NS_WELL_FORMED : xmlParserStatus = 2 ; # [doc = " DTD validation failed"] pub const xmlParserStatus_XML_STATUS_DTD_VALIDATION_FAILED : xmlParserStatus = 4 ; # [doc = " catastrophic failure like OOM or I/O error"] pub const xmlParserStatus_XML_STATUS_CATASTROPHIC_ERROR : xmlParserStatus = 8 ; # [doc = " Status after parsing a document"] pub type xmlParserStatus = :: std :: os :: raw :: c_uint ; # [doc = " unknown"] pub const xmlResourceType_XML_RESOURCE_UNKNOWN : xmlResourceType = 0 ; # [doc = " main document"] pub const xmlResourceType_XML_RESOURCE_MAIN_DOCUMENT : xmlResourceType = 1 ; # [doc = " external DTD"] pub const xmlResourceType_XML_RESOURCE_DTD : xmlResourceType = 2 ; # [doc = " external general entity"] pub const xmlResourceType_XML_RESOURCE_GENERAL_ENTITY : xmlResourceType = 3 ; # [doc = " external parameter entity"] pub const xmlResourceType_XML_RESOURCE_PARAMETER_ENTITY : xmlResourceType = 4 ; # [doc = " XIncluded document"] pub const xmlResourceType_XML_RESOURCE_XINCLUDE : xmlResourceType = 5 ; # [doc = " XIncluded text"] pub const xmlResourceType_XML_RESOURCE_XINCLUDE_TEXT : xmlResourceType = 6 ; # [doc = " Resource type for resource loaders"] pub type xmlResourceType = :: std :: os :: raw :: c_uint ; # [doc = " The input buffer won't be changed during parsing."] pub const xmlParserInputFlags_XML_INPUT_BUF_STATIC : xmlParserInputFlags = 2 ; # [doc = " The input buffer is zero-terminated. (Note that the zero\nbyte shouldn't be included in buffer size.)"] pub const xmlParserInputFlags_XML_INPUT_BUF_ZERO_TERMINATED : xmlParserInputFlags = 4 ; # [doc = " Uncompress gzipped file input"] pub const xmlParserInputFlags_XML_INPUT_UNZIP : xmlParserInputFlags = 8 ; # [doc = " Allow network access. Unused internally."] pub const xmlParserInputFlags_XML_INPUT_NETWORK : xmlParserInputFlags = 16 ; # [doc = " Allow system catalog to resolve URIs."] pub const xmlParserInputFlags_XML_INPUT_USE_SYS_CATALOG : xmlParserInputFlags = 32 ; # [doc = " Flags for parser input"] pub type xmlParserInputFlags = :: std :: os :: raw :: c_uint ; pub type xmlParserInputDeallocate = :: std :: option :: Option < unsafe extern "C" fn (str_ : * mut xmlChar) > ; # [doc = " Parser input"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserInput { pub buf : * mut xmlParserInputBuffer , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n The filename or URI, if any"] pub filename : * const :: std :: os :: raw :: c_char , pub directory : * const :: std :: os :: raw :: c_char , pub base : * const xmlChar , # [doc = " @deprecated Use #xmlCtxtGetInputWindow\n\n Current char being parsed"] pub cur : * const xmlChar , pub end : * const xmlChar , pub length : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n Current line"] pub line : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n Current column"] pub col : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n How many xmlChars already consumed"] pub consumed : :: std :: os :: raw :: c_ulong , pub free : xmlParserInputDeallocate , pub encoding : * const xmlChar , pub version : * const xmlChar , pub flags : :: std :: os :: raw :: c_int , pub id : :: std :: os :: raw :: c_int , pub parentConsumed : :: std :: os :: raw :: c_ulong , pub entity : * mut xmlEntity , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserInput"] [:: std :: mem :: size_of :: < _xmlParserInput > () - 120usize] ; ["Alignment of _xmlParserInput"] [:: std :: mem :: align_of :: < _xmlParserInput > () - 8usize] ; ["Offset of field: _xmlParserInput::buf"] [:: std :: mem :: offset_of ! (_xmlParserInput , buf) - 0usize] ; ["Offset of field: _xmlParserInput::filename"] [:: std :: mem :: offset_of ! (_xmlParserInput , filename) - 8usize] ; ["Offset of field: _xmlParserInput::directory"] [:: std :: mem :: offset_of ! (_xmlParserInput , directory) - 16usize] ; ["Offset of field: _xmlParserInput::base"] [:: std :: mem :: offset_of ! (_xmlParserInput , base) - 24usize] ; ["Offset of field: _xmlParserInput::cur"] [:: std :: mem :: offset_of ! (_xmlParserInput , cur) - 32usize] ; ["Offset of field: _xmlParserInput::end"] [:: std :: mem :: offset_of ! (_xmlParserInput , end) - 40usize] ; ["Offset of field: _xmlParserInput::length"] [:: std :: mem :: offset_of ! (_xmlParserInput , length) - 48usize] ; ["Offset of field: _xmlParserInput::line"] [:: std :: mem :: offset_of ! (_xmlParserInput , line) - 52usize] ; ["Offset of field: _xmlParserInput::col"] [:: std :: mem :: offset_of ! (_xmlParserInput , col) - 56usize] ; ["Offset of field: _xmlParserInput::consumed"] [:: std :: mem :: offset_of ! (_xmlParserInput , consumed) - 64usize] ; ["Offset of field: _xmlParserInput::free"] [:: std :: mem :: offset_of ! (_xmlParserInput , free) - 72usize] ; ["Offset of field: _xmlParserInput::encoding"] [:: std :: mem :: offset_of ! (_xmlParserInput , encoding) - 80usize] ; ["Offset of field: _xmlParserInput::version"] [:: std :: mem :: offset_of ! (_xmlParserInput , version) - 88usize] ; ["Offset of field: _xmlParserInput::flags"] [:: std :: mem :: offset_of ! (_xmlParserInput , flags) - 96usize] ; ["Offset of field: _xmlParserInput::id"] [:: std :: mem :: offset_of ! (_xmlParserInput , id) - 100usize] ; ["Offset of field: _xmlParserInput::parentConsumed"] [:: std :: mem :: offset_of ! (_xmlParserInput , parentConsumed) - 104usize] ; ["Offset of field: _xmlParserInput::entity"] [:: std :: mem :: offset_of ! (_xmlParserInput , entity) - 112usize] ; } ; # [doc = " @cond ignore"] pub type xmlParserNodeInfo = _xmlParserNodeInfo ; pub type xmlParserNodeInfoPtr = * mut xmlParserNodeInfo ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNodeInfo { pub node : * const _xmlNode , pub begin_pos : :: std :: os :: raw :: c_ulong , pub begin_line : :: std :: os :: raw :: c_ulong , pub end_pos : :: std :: os :: raw :: c_ulong , pub end_line : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserNodeInfo"] [:: std :: mem :: size_of :: < _xmlParserNodeInfo > () - 40usize] ; ["Alignment of _xmlParserNodeInfo"] [:: std :: mem :: align_of :: < _xmlParserNodeInfo > () - 8usize] ; ["Offset of field: _xmlParserNodeInfo::node"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , node) - 0usize] ; ["Offset of field: _xmlParserNodeInfo::begin_pos"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , begin_pos) - 8usize] ; ["Offset of field: _xmlParserNodeInfo::begin_line"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , begin_line) - 16usize] ; ["Offset of field: _xmlParserNodeInfo::end_pos"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , end_pos) - 24usize] ; ["Offset of field: _xmlParserNodeInfo::end_line"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , end_line) - 32usize] ; } ; pub type xmlParserNodeInfoSeq = _xmlParserNodeInfoSeq ; pub type xmlParserNodeInfoSeqPtr = * mut xmlParserNodeInfoSeq ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNodeInfoSeq { pub maximum : :: std :: os :: raw :: c_ulong , pub length : :: std :: os :: raw :: c_ulong , pub buffer : * mut xmlParserNodeInfo , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserNodeInfoSeq"] [:: std :: mem :: size_of :: < _xmlParserNodeInfoSeq > () - 24usize] ; ["Alignment of _xmlParserNodeInfoSeq"] [:: std :: mem :: align_of :: < _xmlParserNodeInfoSeq > () - 8usize] ; ["Offset of field: _xmlParserNodeInfoSeq::maximum"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , maximum) - 0usize] ; ["Offset of field: _xmlParserNodeInfoSeq::length"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , length) - 8usize] ; ["Offset of field: _xmlParserNodeInfoSeq::buffer"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , buffer) - 16usize] ; } ; pub const xmlParserInputState_XML_PARSER_EOF : xmlParserInputState = - 1 ; pub const xmlParserInputState_XML_PARSER_START : xmlParserInputState = 0 ; pub const xmlParserInputState_XML_PARSER_MISC : xmlParserInputState = 1 ; pub const xmlParserInputState_XML_PARSER_PI : xmlParserInputState = 2 ; pub const xmlParserInputState_XML_PARSER_DTD : xmlParserInputState = 3 ; pub const xmlParserInputState_XML_PARSER_PROLOG : xmlParserInputState = 4 ; pub const xmlParserInputState_XML_PARSER_COMMENT : xmlParserInputState = 5 ; pub const xmlParserInputState_XML_PARSER_START_TAG : xmlParserInputState = 6 ; pub const xmlParserInputState_XML_PARSER_CONTENT : xmlParserInputState = 7 ; pub const xmlParserInputState_XML_PARSER_CDATA_SECTION : xmlParserInputState = 8 ; pub const xmlParserInputState_XML_PARSER_END_TAG : xmlParserInputState = 9 ; pub const xmlParserInputState_XML_PARSER_ENTITY_DECL : xmlParserInputState = 10 ; pub const xmlParserInputState_XML_PARSER_ENTITY_VALUE : xmlParserInputState = 11 ; pub const xmlParserInputState_XML_PARSER_ATTRIBUTE_VALUE : xmlParserInputState = 12 ; pub const xmlParserInputState_XML_PARSER_SYSTEM_LITERAL : xmlParserInputState = 13 ; pub const xmlParserInputState_XML_PARSER_EPILOG : xmlParserInputState = 14 ; pub const xmlParserInputState_XML_PARSER_IGNORE : xmlParserInputState = 15 ; pub const xmlParserInputState_XML_PARSER_PUBLIC_LITERAL : xmlParserInputState = 16 ; pub const xmlParserInputState_XML_PARSER_XML_DECL : xmlParserInputState = 17 ; pub type xmlParserInputState = :: std :: os :: raw :: c_int ; pub const xmlParserMode_XML_PARSE_UNKNOWN : xmlParserMode = 0 ; pub const xmlParserMode_XML_PARSE_DOM : xmlParserMode = 1 ; pub const xmlParserMode_XML_PARSE_SAX : xmlParserMode = 2 ; pub const xmlParserMode_XML_PARSE_PUSH_DOM : xmlParserMode = 3 ; pub const xmlParserMode_XML_PARSE_PUSH_SAX : xmlParserMode = 4 ; pub const xmlParserMode_XML_PARSE_READER : xmlParserMode = 5 ; pub type xmlParserMode = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlStartTag { _unused : [u8 ; 0] , } pub type xmlStartTag = _xmlStartTag ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNsData { _unused : [u8 ; 0] , } pub type xmlParserNsData = _xmlParserNsData ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttrHashBucket { _unused : [u8 ; 0] , } pub type xmlAttrHashBucket = _xmlAttrHashBucket ; # [doc = " Callback for custom resource loaders.\n\n `flags` can contain XML_INPUT_UNZIP and XML_INPUT_NETWORK.\n\n The URL is resolved using XML catalogs before being passed to\n the callback.\n\n On success, `out` should be set to a new parser input object and\n XML_ERR_OK should be returned.\n\n @param ctxt  parser context\n @param url  URL or system ID to load\n @param publicId  publid ID from DTD (optional)\n @param type  resource type\n @param flags  flags\n @param out  result pointer\n @returns an xmlParserErrors code."] pub type xmlResourceLoader = :: std :: option :: Option < unsafe extern "C" fn (ctxt : * mut :: std :: os :: raw :: c_void , url : * const :: std :: os :: raw :: c_char , publicId : * const :: std :: os :: raw :: c_char , type_ : xmlResourceType , flags : xmlParserInputFlags , out : * mut * mut xmlParserInput) -> xmlParserErrors > ; # [doc = " Parser context"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserCtxt { # [doc = " @deprecated Use xmlCtxtGetSaxHandler() and\n xmlCtxtSetSaxHandler().\n\n the SAX handler"] pub sax : * mut _xmlSAXHandler , # [doc = " @deprecated Use #xmlCtxtGetUserData\n\n user data for SAX interface, defaults to the context itself"] pub userData : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlCtxtGetDocument()\n\n the document being built"] pub myDoc : * mut xmlDoc , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document well formed?"] pub wellFormed : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_NOENT\n\n shall we replace entities?"] pub replaceEntities : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetVersion()\n\n the XML version string"] pub version : * mut xmlChar , # [doc = " @deprecated Use xmlCtxtGetDeclaredEncoding()\n\n the declared encoding, if any"] pub encoding : * mut xmlChar , # [doc = " @deprecated Use xmlCtxtGetStandalone()\n\n standalone document"] pub standalone : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsHtml()\n\n non-zero for HTML documents, actually an htmlInsertMode"] pub html : :: std :: os :: raw :: c_int , pub input : * mut xmlParserInput , pub inputNr : :: std :: os :: raw :: c_int , pub inputMax : :: std :: os :: raw :: c_int , pub inputTab : * mut * mut xmlParserInput , # [doc = " @deprecated Use #xmlCtxtGetNode\n\n The current element."] pub node : * mut xmlNode , pub nodeNr : :: std :: os :: raw :: c_int , pub nodeMax : :: std :: os :: raw :: c_int , pub nodeTab : * mut * mut xmlNode , pub record_info : :: std :: os :: raw :: c_int , pub node_seq : xmlParserNodeInfoSeq , # [doc = " @deprecated Use xmlCtxtGetLastError()\n\n error code"] pub errNo : :: std :: os :: raw :: c_int , pub hasExternalSubset : :: std :: os :: raw :: c_int , pub hasPErefs : :: std :: os :: raw :: c_int , pub external : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document valid"] pub valid : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_DTDVALID\n\n shall we try to validate?"] pub validate : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetValidCtxt()\n\n The validity context"] pub vctxt : xmlValidCtxt , pub instate : xmlParserInputState , pub token : :: std :: os :: raw :: c_int , # [doc = " @deprecated Don't use\n\n The main document URI, if available, with its last\n component stripped."] pub directory : * mut :: std :: os :: raw :: c_char , pub name : * const xmlChar , pub nameNr : :: std :: os :: raw :: c_int , pub nameMax : :: std :: os :: raw :: c_int , pub nameTab : * mut * const xmlChar , pub nbChars : :: std :: os :: raw :: c_long , pub checkIndex : :: std :: os :: raw :: c_long , # [doc = " @deprecated Use inverted xmlParserOption XML_PARSE_NOBLANKS\n\n ugly but ..."] pub keepBlanks : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsStopped()\n\n SAX callbacks are disabled"] pub disableSAX : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsInSubset\n\n Set if DTD content is parsed.\n\n - 0: not in DTD\n - 1: in internal DTD subset\n - 2: in external DTD subset"] pub inSubset : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use the `name` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n Name of the internal subset (root element type)."] pub intSubName : * const xmlChar , # [doc = " @deprecated Use the `systemId` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n System identifier (URI) of external the subset."] pub extSubURI : * mut xmlChar , # [doc = " @deprecated Use the `publicId` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n This member is MISNAMED. It contains the *public* identifier\n of the external subset."] pub extSubSystem : * mut xmlChar , pub space : * mut :: std :: os :: raw :: c_int , pub spaceNr : :: std :: os :: raw :: c_int , pub spaceMax : :: std :: os :: raw :: c_int , pub spaceTab : * mut :: std :: os :: raw :: c_int , pub depth : :: std :: os :: raw :: c_int , pub entity : * mut xmlParserInput , pub charset : :: std :: os :: raw :: c_int , pub nodelen : :: std :: os :: raw :: c_int , pub nodemem : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_PEDANTIC\n\n signal pedantic warnings"] pub pedantic : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetPrivate() and xmlCtxtSetPrivate()\n\n For user data, libxml won't touch it"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlParserOption XML_PARSE_DTDLOAD,\n XML_PARSE_DTDATTR or XML_PARSE_SKIP_IDS.\n\n Control loading of the external subset and handling of IDs.\n Other options like `validate` can override this value.\n\n - 0: The default behavior is to process IDs and to ignore\n   the external subset.\n - XML_DETECT_IDS: Load external subset. This flag is\n   misnamed. ID handling is only controlled by XML_SKIP_IDS.\n - XML_COMPLETE_ATTRS: Load external subset and process\n   default attributes.\n - XML_SKIP_IDS: Ignore IDs."] pub loadsubset : :: std :: os :: raw :: c_int , pub linenumbers : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetCatalogs() and xmlCtxtSetCatalogs()\n\n document's own catalog"] pub catalogs : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlParserOption XML_PARSE_RECOVER\n run in recovery mode"] pub recovery : :: std :: os :: raw :: c_int , pub progressive : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetDict() and xmlCtxtSetDict()\n\n dictionary for the parser"] pub dict : * mut xmlDict , pub atts : * mut * const xmlChar , pub maxatts : :: std :: os :: raw :: c_int , pub docdict : :: std :: os :: raw :: c_int , pub str_xml : * const xmlChar , pub str_xmlns : * const xmlChar , pub str_xml_ns : * const xmlChar , pub sax2 : :: std :: os :: raw :: c_int , pub nsNr : :: std :: os :: raw :: c_int , pub nsMax : :: std :: os :: raw :: c_int , pub nsTab : * mut * const xmlChar , pub attallocs : * mut :: std :: os :: raw :: c_uint , pub pushTab : * mut xmlStartTag , pub attsDefault : * mut xmlHashTable , pub attsSpecial : * mut xmlHashTable , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document XML Namespace okay"] pub nsWellFormed : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetOptions()\n\n Extra options"] pub options : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use inverted xmlParserOption XML_PARSE_NODICT\n\n Use dictionary names for the tree"] pub dictNames : :: std :: os :: raw :: c_int , pub freeElemsNr : :: std :: os :: raw :: c_int , pub freeElems : * mut xmlNode , pub freeAttrsNr : :: std :: os :: raw :: c_int , pub freeAttrs : * mut xmlAttr , # [doc = " @deprecated Use xmlCtxtGetLastError()\n\n the complete error information for the last error."] pub lastError : xmlError , pub parseMode : xmlParserMode , pub nbentities : :: std :: os :: raw :: c_ulong , pub sizeentities : :: std :: os :: raw :: c_ulong , pub nodeInfo : * mut xmlParserNodeInfo , pub nodeInfoNr : :: std :: os :: raw :: c_int , pub nodeInfoMax : :: std :: os :: raw :: c_int , pub nodeInfoTab : * mut xmlParserNodeInfo , pub input_id : :: std :: os :: raw :: c_int , pub sizeentcopy : :: std :: os :: raw :: c_ulong , pub endCheckState : :: std :: os :: raw :: c_int , pub nbErrors : :: std :: os :: raw :: c_ushort , pub nbWarnings : :: std :: os :: raw :: c_ushort , pub maxAmpl : :: std :: os :: raw :: c_uint , pub nsdb : * mut xmlParserNsData , pub attrHashMax : :: std :: os :: raw :: c_uint , pub attrHash : * mut xmlAttrHashBucket , pub errorHandler : xmlStructuredErrorFunc , pub errorCtxt : * mut :: std :: os :: raw :: c_void , pub resourceLoader : xmlResourceLoader , pub resourceCtxt : * mut :: std :: os :: raw :: c_void , pub convImpl : xmlCharEncConvImpl , pub convCtxt : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserCtxt"] [:: std :: mem :: size_of :: < _xmlParserCtxt > () - 840usize] ; ["Alignment of _xmlParserCtxt"] [:: std :: mem :: align_of :: < _xmlParserCtxt > () - 8usize] ; ["Offset of field: _xmlParserCtxt::sax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sax) - 0usize] ; ["Offset of field: _xmlParserCtxt::userData"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , userData) - 8usize] ; ["Offset of field: _xmlParserCtxt::myDoc"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , myDoc) - 16usize] ; ["Offset of field: _xmlParserCtxt::wellFormed"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , wellFormed) - 24usize] ; ["Offset of field: _xmlParserCtxt::replaceEntities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , replaceEntities) - 28usize] ; ["Offset of field: _xmlParserCtxt::version"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , version) - 32usize] ; ["Offset of field: _xmlParserCtxt::encoding"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , encoding) - 40usize] ; ["Offset of field: _xmlParserCtxt::standalone"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , standalone) - 48usize] ; ["Offset of field: _xmlParserCtxt::html"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , html) - 52usize] ; ["Offset of field: _xmlParserCtxt::input"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , input) - 56usize] ; ["Offset of field: _xmlParserCtxt::inputNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputNr) - 64usize] ; ["Offset of field: _xmlParserCtxt::inputMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputMax) - 68usize] ; ["Offset of field: _xmlParserCtxt::inputTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputTab) - 72usize] ; ["Offset of field: _xmlParserCtxt::node"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , node) - 80usize] ; ["Offset of field: _xmlParserCtxt::nodeNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeNr) - 88usize] ; ["Offset of field: _xmlParserCtxt::nodeMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeMax) - 92usize] ; ["Offset of field: _xmlParserCtxt::nodeTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeTab) - 96usize] ; ["Offset of field: _xmlParserCtxt::record_info"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , record_info) - 104usize] ; ["Offset of field: _xmlParserCtxt::node_seq"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , node_seq) - 112usize] ; ["Offset of field: _xmlParserCtxt::errNo"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errNo) - 136usize] ; ["Offset of field: _xmlParserCtxt::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , hasExternalSubset) - 140usize] ; ["Offset of field: _xmlParserCtxt::hasPErefs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , hasPErefs) - 144usize] ; ["Offset of field: _xmlParserCtxt::external"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , external) - 148usize] ; ["Offset of field: _xmlParserCtxt::valid"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , valid) - 152usize] ; ["Offset of field: _xmlParserCtxt::validate"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , validate) - 156usize] ; ["Offset of field: _xmlParserCtxt::vctxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , vctxt) - 160usize] ; ["Offset of field: _xmlParserCtxt::instate"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , instate) - 272usize] ; ["Offset of field: _xmlParserCtxt::token"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , token) - 276usize] ; ["Offset of field: _xmlParserCtxt::directory"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , directory) - 280usize] ; ["Offset of field: _xmlParserCtxt::name"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , name) - 288usize] ; ["Offset of field: _xmlParserCtxt::nameNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameNr) - 296usize] ; ["Offset of field: _xmlParserCtxt::nameMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameMax) - 300usize] ; ["Offset of field: _xmlParserCtxt::nameTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameTab) - 304usize] ; ["Offset of field: _xmlParserCtxt::nbChars"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbChars) - 312usize] ; ["Offset of field: _xmlParserCtxt::checkIndex"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , checkIndex) - 320usize] ; ["Offset of field: _xmlParserCtxt::keepBlanks"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , keepBlanks) - 328usize] ; ["Offset of field: _xmlParserCtxt::disableSAX"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , disableSAX) - 332usize] ; ["Offset of field: _xmlParserCtxt::inSubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inSubset) - 336usize] ; ["Offset of field: _xmlParserCtxt::intSubName"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , intSubName) - 344usize] ; ["Offset of field: _xmlParserCtxt::extSubURI"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , extSubURI) - 352usize] ; ["Offset of field: _xmlParserCtxt::extSubSystem"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , extSubSystem) - 360usize] ; ["Offset of field: _xmlParserCtxt::space"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , space) - 368usize] ; ["Offset of field: _xmlParserCtxt::spaceNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceNr) - 376usize] ; ["Offset of field: _xmlParserCtxt::spaceMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceMax) - 380usize] ; ["Offset of field: _xmlParserCtxt::spaceTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceTab) - 384usize] ; ["Offset of field: _xmlParserCtxt::depth"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , depth) - 392usize] ; ["Offset of field: _xmlParserCtxt::entity"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , entity) - 400usize] ; ["Offset of field: _xmlParserCtxt::charset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , charset) - 408usize] ; ["Offset of field: _xmlParserCtxt::nodelen"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodelen) - 412usize] ; ["Offset of field: _xmlParserCtxt::nodemem"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodemem) - 416usize] ; ["Offset of field: _xmlParserCtxt::pedantic"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , pedantic) - 420usize] ; ["Offset of field: _xmlParserCtxt::_private"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , _private) - 424usize] ; ["Offset of field: _xmlParserCtxt::loadsubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , loadsubset) - 432usize] ; ["Offset of field: _xmlParserCtxt::linenumbers"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , linenumbers) - 436usize] ; ["Offset of field: _xmlParserCtxt::catalogs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , catalogs) - 440usize] ; ["Offset of field: _xmlParserCtxt::recovery"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , recovery) - 448usize] ; ["Offset of field: _xmlParserCtxt::progressive"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , progressive) - 452usize] ; ["Offset of field: _xmlParserCtxt::dict"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , dict) - 456usize] ; ["Offset of field: _xmlParserCtxt::atts"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , atts) - 464usize] ; ["Offset of field: _xmlParserCtxt::maxatts"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , maxatts) - 472usize] ; ["Offset of field: _xmlParserCtxt::docdict"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , docdict) - 476usize] ; ["Offset of field: _xmlParserCtxt::str_xml"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xml) - 480usize] ; ["Offset of field: _xmlParserCtxt::str_xmlns"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xmlns) - 488usize] ; ["Offset of field: _xmlParserCtxt::str_xml_ns"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xml_ns) - 496usize] ; ["Offset of field: _xmlParserCtxt::sax2"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sax2) - 504usize] ; ["Offset of field: _xmlParserCtxt::nsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsNr) - 508usize] ; ["Offset of field: _xmlParserCtxt::nsMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsMax) - 512usize] ; ["Offset of field: _xmlParserCtxt::nsTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsTab) - 520usize] ; ["Offset of field: _xmlParserCtxt::attallocs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attallocs) - 528usize] ; ["Offset of field: _xmlParserCtxt::pushTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , pushTab) - 536usize] ; ["Offset of field: _xmlParserCtxt::attsDefault"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attsDefault) - 544usize] ; ["Offset of field: _xmlParserCtxt::attsSpecial"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attsSpecial) - 552usize] ; ["Offset of field: _xmlParserCtxt::nsWellFormed"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsWellFormed) - 560usize] ; ["Offset of field: _xmlParserCtxt::options"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , options) - 564usize] ; ["Offset of field: _xmlParserCtxt::dictNames"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , dictNames) - 568usize] ; ["Offset of field: _xmlParserCtxt::freeElemsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeElemsNr) - 572usize] ; ["Offset of field: _xmlParserCtxt::freeElems"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeElems) - 576usize] ; ["Offset of field: _xmlParserCtxt::freeAttrsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeAttrsNr) - 584usize] ; ["Offset of field: _xmlParserCtxt::freeAttrs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeAttrs) - 592usize] ; ["Offset of field: _xmlParserCtxt::lastError"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , lastError) - 600usize] ; ["Offset of field: _xmlParserCtxt::parseMode"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , parseMode) - 688usize] ; ["Offset of field: _xmlParserCtxt::nbentities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbentities) - 696usize] ; ["Offset of field: _xmlParserCtxt::sizeentities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sizeentities) - 704usize] ; ["Offset of field: _xmlParserCtxt::nodeInfo"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfo) - 712usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoNr) - 720usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoMax) - 724usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoTab) - 728usize] ; ["Offset of field: _xmlParserCtxt::input_id"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , input_id) - 736usize] ; ["Offset of field: _xmlParserCtxt::sizeentcopy"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sizeentcopy) - 744usize] ; ["Offset of field: _xmlParserCtxt::endCheckState"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , endCheckState) - 752usize] ; ["Offset of field: _xmlParserCtxt::nbErrors"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbErrors) - 756usize] ; ["Offset of field: _xmlParserCtxt::nbWarnings"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbWarnings) - 758usize] ; ["Offset of field: _xmlParserCtxt::maxAmpl"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , maxAmpl) - 760usize] ; ["Offset of field: _xmlParserCtxt::nsdb"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsdb) - 768usize] ; ["Offset of field: _xmlParserCtxt::attrHashMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attrHashMax) - 776usize] ; ["Offset of field: _xmlParserCtxt::attrHash"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attrHash) - 784usize] ; ["Offset of field: _xmlParserCtxt::errorHandler"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errorHandler) - 792usize] ; ["Offset of field: _xmlParserCtxt::errorCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errorCtxt) - 800usize] ; ["Offset of field: _xmlParserCtxt::resourceLoader"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , resourceLoader) - 808usize] ; ["Offset of field: _xmlParserCtxt::resourceCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , resourceCtxt) - 816usize] ; ["Offset of field: _xmlParserCtxt::convImpl"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , convImpl) - 824usize] ; ["Offset of field: _xmlParserCtxt::convCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , convCtxt) - 832usize] ; } ; # [doc = " A SAX Locator."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXLocator { pub getPublicId : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar > , pub getSystemId : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar > , pub getLineNumber : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , pub getColumnNumber : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXLocator"] [:: std :: mem :: size_of :: < _xmlSAXLocator > () - 32usize] ; ["Alignment of _xmlSAXLocator"] [:: std :: mem :: align_of :: < _xmlSAXLocator > () - 8usize] ; ["Offset of field: _xmlSAXLocator::getPublicId"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getPublicId) - 0usize] ; ["Offset of field: _xmlSAXLocator::getSystemId"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getSystemId) - 8usize] ; ["Offset of field: _xmlSAXLocator::getLineNumber"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getLineNumber) - 16usize] ; ["Offset of field: _xmlSAXLocator::getColumnNumber"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getColumnNumber) - 24usize] ; } ; # [doc = " SAX callback to resolve external entities.\n\n This is only used to load DTDs. The preferred way to install\n custom resolvers is #xmlCtxtSetResourceLoader.\n\n @param ctx  the user data (XML parser context)\n @param publicId  The public identifier of the entity\n @param systemId  The system identifier of the entity (URL)\n @returns the xmlParserInput if inlined or NULL for DOM behaviour."] pub type resolveEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlParserInput > ; # [doc = " SAX callback for the internal subset.\n\n @param ctx  the user data (XML parser context)\n @param name  the root element name\n @param publicId  the public identifier\n @param systemId  the system identifier (e.g. filename or URL)"] pub type internalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback for the external subset.\n\n @param ctx  the user data (XML parser context)\n @param name  the root element name\n @param publicId  the public identifier\n @param systemId  the system identifier (e.g. filename or URL)"] pub type externalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback to look up a general entity by name.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name\n @returns the xmlEntity if found."] pub type getEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity > ; # [doc = " SAX callback to look up a parameter entity by name.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name\n @returns the xmlEntity if found."] pub type getParameterEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity > ; # [doc = " SAX callback for entity declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  the entity name\n @param type  the entity type\n @param publicId  The public ID of the entity\n @param systemId  The system ID of the entity\n @param content  the entity value (without processing)."] pub type entityDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * mut xmlChar) > ; # [doc = " SAX callback for notation declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  The name of the notation\n @param publicId  The public ID of the notation\n @param systemId  The system ID of the notation"] pub type notationDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback for attribute declarations.\n\n @param ctx  the user data (XML parser context)\n @param elem  the name of the element\n @param fullname  the attribute name\n @param type  the attribute type\n @param def  the type of default value\n @param defaultValue  the attribute default value\n @param tree  the tree of enumerated value set"] pub type attributeDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , elem : * const xmlChar , fullname : * const xmlChar , type_ : :: std :: os :: raw :: c_int , def : :: std :: os :: raw :: c_int , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) > ; # [doc = " SAX callback for element declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  the element name\n @param type  the element type\n @param content  the element value tree"] pub type elementDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , content : * mut xmlElementContent) > ; # [doc = " SAX callback for unparsed entity declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  The name of the entity\n @param publicId  The public ID of the entity\n @param systemId  The system ID of the entity\n @param notationName  the name of the notation"] pub type unparsedEntityDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar , notationName : * const xmlChar) > ; # [doc = " This callback receives the \"document locator\" at startup,\n which is always the global xmlDefaultSAXLocator.\n\n Everything is available on the context, so this is useless in\n our case.\n\n @param ctx  the user data (XML parser context)\n @param loc  A SAX Locator"] pub type setDocumentLocatorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , loc : * mut xmlSAXLocator) > ; # [doc = " SAX callback for start of document.\n\n @param ctx  the user data (XML parser context)"] pub type startDocumentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) > ; # [doc = " SAX callback for end of document.\n\n @param ctx  the user data (XML parser context)"] pub type endDocumentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) > ; # [doc = " SAX callback for start tags.\n\n @param ctx  the user data (XML parser context)\n @param name  The element name, including namespace prefix\n @param atts  An array of name/value attributes pairs, NULL terminated"] pub type startElementSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , atts : * mut * const xmlChar) > ; # [doc = " SAX callback for end tags.\n\n @param ctx  the user data (XML parser context)\n @param name  The element name"] pub type endElementSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback for attributes.\n\n @deprecated This typedef is unused.\n\n @param ctx  the user data (XML parser context)\n @param name  The attribute name, including namespace prefix\n @param value  The attribute value"] pub type attributeSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , value : * const xmlChar) > ; # [doc = " SAX callback for entity references.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name"] pub type referenceSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " SAX callback for character data.\n\n @param ctx  the user data (XML parser context)\n @param ch  a xmlChar string\n @param len  the number of xmlChar"] pub type charactersSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for \"ignorable\" whitespace.\n\n @param ctx  the user data (XML parser context)\n @param ch  a xmlChar string\n @param len  the number of xmlChar"] pub type ignorableWhitespaceSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for processing instructions.\n\n @param ctx  the user data (XML parser context)\n @param target  the target name\n @param data  the PI data's"] pub type processingInstructionSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , target : * const xmlChar , data : * const xmlChar) > ; # [doc = " SAX callback for comments.\n\n @param ctx  the user data (XML parser context)\n @param value  the comment content"] pub type commentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar) > ; # [doc = " SAX callback for CDATA sections.\n\n @param ctx  the user data (XML parser context)\n @param value  The pcdata content\n @param len  the block length"] pub type cdataBlockSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for warning messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type warningSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback for error messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type errorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback for fatal error messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type fatalErrorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback to get standalone status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type isStandaloneSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX callback to get internal subset status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type hasInternalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX callback to get external subset status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type hasExternalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX2 callback for start tags.\n\n It provides the namespace information for the element, as well as\n the new namespace declarations on the element.\n\n @param ctx  the user data (XML parser context)\n @param localname  the local name of the element\n @param prefix  the element namespace prefix if available\n @param URI  the element namespace name if available\n @param nb_namespaces  number of namespace definitions on that node\n @param namespaces  pointer to the array of prefix/URI pairs namespace definitions\n @param nb_attributes  the number of attributes on that node\n @param nb_defaulted  the number of defaulted attributes. The defaulted\n                  ones are at the end of the array\n @param attributes  pointer to the array of (localname/prefix/URI/value/end)\n               attribute values."] pub type startElementNsSAX2Func = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar , nb_namespaces : :: std :: os :: raw :: c_int , namespaces : * mut * const xmlChar , nb_attributes : :: std :: os :: raw :: c_int , nb_defaulted : :: std :: os :: raw :: c_int , attributes : * mut * const xmlChar) > ; # [doc = " SAX2 callback for end tags.\n\n It provides the namespace information for the element.\n\n @param ctx  the user data (XML parser context)\n @param localname  the local name of the element\n @param prefix  the element namespace prefix if available\n @param URI  the element namespace name if available"] pub type endElementNsSAX2Func = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar) > ; # [doc = " Callbacks for SAX parser\n\n For DTD-related handlers, it's recommended to either use the\n original libxml2 handler or set them to NULL if DTDs can be\n ignored."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXHandler { # [doc = " Called after the start of the document type declaration\n was parsed.\n\n Should typically not be modified."] pub internalSubset : internalSubsetSAXFunc , # [doc = " Standalone status. Not invoked by the parser. Not supposed\n to be changed by applications."] pub isStandalone : isStandaloneSAXFunc , # [doc = " Internal subset availability. Not invoked by the parser.\n Not supposed to be changed by applications."] pub hasInternalSubset : hasInternalSubsetSAXFunc , # [doc = " External subset availability. Not invoked by the parser.\n Not supposed to be changed by applications."] pub hasExternalSubset : hasExternalSubsetSAXFunc , # [doc = " Only called when loading external DTDs. Not called to load\n external entities.\n\n Should typically not be modified."] pub resolveEntity : resolveEntitySAXFunc , # [doc = " Called when looking up general entities.\n\n Should typically not be modified."] pub getEntity : getEntitySAXFunc , # [doc = " Called after an entity declaration was parsed.\n\n Should typically not be modified."] pub entityDecl : entityDeclSAXFunc , # [doc = " Called after a notation declaration was parsed.\n\n Should typically not be modified."] pub notationDecl : notationDeclSAXFunc , # [doc = " Called after an attribute declaration was parsed.\n\n Should typically not be modified."] pub attributeDecl : attributeDeclSAXFunc , # [doc = " Called after an element declaration was parsed.\n\n Should typically not be modified."] pub elementDecl : elementDeclSAXFunc , # [doc = " Called after an unparsed entity declaration was parsed.\n\n Should typically not be modified."] pub unparsedEntityDecl : unparsedEntityDeclSAXFunc , # [doc = " This callback receives the \"document locator\" at startup,\n which is always the global xmlDefaultSAXLocator.\n\n Everything is available on the context, so this is useless in\n our case."] pub setDocumentLocator : setDocumentLocatorSAXFunc , # [doc = " Called after the XML declaration was parsed.\n\n Use xmlCtxtGetVersion(), xmlCtxtGetDeclaredEncoding() and\n xmlCtxtGetStandalone() to get data from the XML declaration."] pub startDocument : startDocumentSAXFunc , # [doc = " Called at the end of the document."] pub endDocument : endDocumentSAXFunc , # [doc = " Legacy start tag handler\n\n `startElement` and `endElement` are only used by the legacy SAX1\n interface and should not be used in new software. If you really\n have to enable SAX1, the preferred way is set the `initialized`\n member to 1 instead of XML_SAX2_MAGIC.\n\n For backward compatibility, it's also possible to set the\n `startElementNs` and `endElementNs` handlers to NULL.\n\n You can also set the XML_PARSE_SAX1 parser option, but versions\n older than 2.12.0 will probably crash if this option is provided\n together with custom SAX callbacks."] pub startElement : startElementSAXFunc , # [doc = " See _xmlSAXHandler.startElement"] pub endElement : endElementSAXFunc , # [doc = " Called after an entity reference was parsed."] pub reference : referenceSAXFunc , # [doc = " Called after a character data was parsed."] pub characters : charactersSAXFunc , # [doc = " Called after \"ignorable\" whitespace was parsed.\n\n `ignorableWhitespace` should always be set to the same value\n as `characters`. Otherwise, the parser will try to detect\n whitespace which is unreliable."] pub ignorableWhitespace : ignorableWhitespaceSAXFunc , # [doc = " Called after a processing instruction was parsed."] pub processingInstruction : processingInstructionSAXFunc , # [doc = " Called after a comment was parsed."] pub comment : commentSAXFunc , # [doc = " Callback for warning messages."] pub warning : warningSAXFunc , # [doc = " Callback for error messages."] pub error : errorSAXFunc , # [doc = " Unused, all errors go to `error`."] pub fatalError : fatalErrorSAXFunc , # [doc = " Called when looking up parameter entities.\n\n Should typically not be modified."] pub getParameterEntity : getParameterEntitySAXFunc , # [doc = " Called after a CDATA section was parsed."] pub cdataBlock : cdataBlockSAXFunc , # [doc = " Called to parse the external subset.\n\n Should typically not be modified."] pub externalSubset : externalSubsetSAXFunc , # [doc = " Legacy magic value\n\n `initialized` should always be set to XML_SAX2_MAGIC to\n enable the modern SAX2 interface."] pub initialized : :: std :: os :: raw :: c_uint , # [doc = " Application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " Called after a start tag was parsed."] pub startElementNs : startElementNsSAX2Func , # [doc = " Called after an end tag was parsed."] pub endElementNs : endElementNsSAX2Func , # [doc = " Structured error handler.\n\n Takes precedence over `error` or `warning`, but modern code\n should use xmlCtxtSetErrorHandler()."] pub serror : xmlStructuredErrorFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXHandler"] [:: std :: mem :: size_of :: < _xmlSAXHandler > () - 256usize] ; ["Alignment of _xmlSAXHandler"] [:: std :: mem :: align_of :: < _xmlSAXHandler > () - 8usize] ; ["Offset of field: _xmlSAXHandler::internalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , internalSubset) - 0usize] ; ["Offset of field: _xmlSAXHandler::isStandalone"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , isStandalone) - 8usize] ; ["Offset of field: _xmlSAXHandler::hasInternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , hasInternalSubset) - 16usize] ; ["Offset of field: _xmlSAXHandler::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , hasExternalSubset) - 24usize] ; ["Offset of field: _xmlSAXHandler::resolveEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , resolveEntity) - 32usize] ; ["Offset of field: _xmlSAXHandler::getEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , getEntity) - 40usize] ; ["Offset of field: _xmlSAXHandler::entityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , entityDecl) - 48usize] ; ["Offset of field: _xmlSAXHandler::notationDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , notationDecl) - 56usize] ; ["Offset of field: _xmlSAXHandler::attributeDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , attributeDecl) - 64usize] ; ["Offset of field: _xmlSAXHandler::elementDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , elementDecl) - 72usize] ; ["Offset of field: _xmlSAXHandler::unparsedEntityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , unparsedEntityDecl) - 80usize] ; ["Offset of field: _xmlSAXHandler::setDocumentLocator"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , setDocumentLocator) - 88usize] ; ["Offset of field: _xmlSAXHandler::startDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startDocument) - 96usize] ; ["Offset of field: _xmlSAXHandler::endDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endDocument) - 104usize] ; ["Offset of field: _xmlSAXHandler::startElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startElement) - 112usize] ; ["Offset of field: _xmlSAXHandler::endElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endElement) - 120usize] ; ["Offset of field: _xmlSAXHandler::reference"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , reference) - 128usize] ; ["Offset of field: _xmlSAXHandler::characters"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , characters) - 136usize] ; ["Offset of field: _xmlSAXHandler::ignorableWhitespace"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , ignorableWhitespace) - 144usize] ; ["Offset of field: _xmlSAXHandler::processingInstruction"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , processingInstruction) - 152usize] ; ["Offset of field: _xmlSAXHandler::comment"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , comment) - 160usize] ; ["Offset of field: _xmlSAXHandler::warning"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , warning) - 168usize] ; ["Offset of field: _xmlSAXHandler::error"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , error) - 176usize] ; ["Offset of field: _xmlSAXHandler::fatalError"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , fatalError) - 184usize] ; ["Offset of field: _xmlSAXHandler::getParameterEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , getParameterEntity) - 192usize] ; ["Offset of field: _xmlSAXHandler::cdataBlock"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , cdataBlock) - 200usize] ; ["Offset of field: _xmlSAXHandler::externalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , externalSubset) - 208usize] ; ["Offset of field: _xmlSAXHandler::initialized"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , initialized) - 216usize] ; ["Offset of field: _xmlSAXHandler::_private"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , _private) - 224usize] ; ["Offset of field: _xmlSAXHandler::startElementNs"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startElementNs) - 232usize] ; ["Offset of field: _xmlSAXHandler::endElementNs"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endElementNs) - 240usize] ; ["Offset of field: _xmlSAXHandler::serror"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , serror) - 248usize] ; } ; # [doc = " SAX handler, version 1.\n\n @deprecated Use version 2 handlers."] pub type xmlSAXHandlerV1 = _xmlSAXHandlerV1 ; pub type xmlSAXHandlerV1Ptr = * mut xmlSAXHandlerV1 ; # [doc = " SAX handler, version 1.\n\n @deprecated Use version 2 handlers."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXHandlerV1 { pub internalSubset : internalSubsetSAXFunc , pub isStandalone : isStandaloneSAXFunc , pub hasInternalSubset : hasInternalSubsetSAXFunc , pub hasExternalSubset : hasExternalSubsetSAXFunc , pub resolveEntity : resolveEntitySAXFunc , pub getEntity : getEntitySAXFunc , pub entityDecl : entityDeclSAXFunc , pub notationDecl : notationDeclSAXFunc , pub attributeDecl : attributeDeclSAXFunc , pub elementDecl : elementDeclSAXFunc , pub unparsedEntityDecl : unparsedEntityDeclSAXFunc , pub setDocumentLocator : setDocumentLocatorSAXFunc , pub startDocument : startDocumentSAXFunc , pub endDocument : endDocumentSAXFunc , pub startElement : startElementSAXFunc , pub endElement : endElementSAXFunc , pub reference : referenceSAXFunc , pub characters : charactersSAXFunc , pub ignorableWhitespace : ignorableWhitespaceSAXFunc , pub processingInstruction : processingInstructionSAXFunc , pub comment : commentSAXFunc , pub warning : warningSAXFunc , pub error : errorSAXFunc , pub fatalError : fatalErrorSAXFunc , pub getParameterEntity : getParameterEntitySAXFunc , pub cdataBlock : cdataBlockSAXFunc , pub externalSubset : externalSubsetSAXFunc , pub initialized : :: std :: os :: raw :: c_uint , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXHandlerV1"] [:: std :: mem :: size_of :: < _xmlSAXHandlerV1 > () - 224usize] ; ["Alignment of _xmlSAXHandlerV1"] [:: std :: mem :: align_of :: < _xmlSAXHandlerV1 > () - 8usize] ; ["Offset of field: _xmlSAXHandlerV1::internalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , internalSubset) - 0usize] ; ["Offset of field: _xmlSAXHandlerV1::isStandalone"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , isStandalone) - 8usize] ; ["Offset of field: _xmlSAXHandlerV1::hasInternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , hasInternalSubset) - 16usize] ; ["Offset of field: _xmlSAXHandlerV1::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , hasExternalSubset) - 24usize] ; ["Offset of field: _xmlSAXHandlerV1::resolveEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , resolveEntity) - 32usize] ; ["Offset of field: _xmlSAXHandlerV1::getEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , getEntity) - 40usize] ; ["Offset of field: _xmlSAXHandlerV1::entityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , entityDecl) - 48usize] ; ["Offset of field: _xmlSAXHandlerV1::notationDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , notationDecl) - 56usize] ; ["Offset of field: _xmlSAXHandlerV1::attributeDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , attributeDecl) - 64usize] ; ["Offset of field: _xmlSAXHandlerV1::elementDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , elementDecl) - 72usize] ; ["Offset of field: _xmlSAXHandlerV1::unparsedEntityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , unparsedEntityDecl) - 80usize] ; ["Offset of field: _xmlSAXHandlerV1::setDocumentLocator"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , setDocumentLocator) - 88usize] ; ["Offset of field: _xmlSAXHandlerV1::startDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , startDocument) - 96usize] ; ["Offset of field: _xmlSAXHandlerV1::endDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , endDocument) - 104usize] ; ["Offset of field: _xmlSAXHandlerV1::startElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , startElement) - 112usize] ; ["Offset of field: _xmlSAXHandlerV1::endElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , endElement) - 120usize] ; ["Offset of field: _xmlSAXHandlerV1::reference"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , reference) - 128usize] ; ["Offset of field: _xmlSAXHandlerV1::characters"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , characters) - 136usize] ; ["Offset of field: _xmlSAXHandlerV1::ignorableWhitespace"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , ignorableWhitespace) - 144usize] ; ["Offset of field: _xmlSAXHandlerV1::processingInstruction"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , processingInstruction) - 152usize] ; ["Offset of field: _xmlSAXHandlerV1::comment"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , comment) - 160usize] ; ["Offset of field: _xmlSAXHandlerV1::warning"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , warning) - 168usize] ; ["Offset of field: _xmlSAXHandlerV1::error"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , error) - 176usize] ; ["Offset of field: _xmlSAXHandlerV1::fatalError"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , fatalError) - 184usize] ; ["Offset of field: _xmlSAXHandlerV1::getParameterEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , getParameterEntity) - 192usize] ; ["Offset of field: _xmlSAXHandlerV1::cdataBlock"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , cdataBlock) - 200usize] ; ["Offset of field: _xmlSAXHandlerV1::externalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , externalSubset) - 208usize] ; ["Offset of field: _xmlSAXHandlerV1::initialized"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , initialized) - 216usize] ; } ; # [doc = " Callback for external entity loader.\n\n The URL is not resolved using XML catalogs before being passed\n to the callback.\n\n @param URL  The URL or system ID of the resource requested\n @param publicId  The public ID of the resource requested (optional)\n @param context  the XML parser context\n @returns the entity input parser or NULL on error."] pub type xmlExternalEntityLoader = :: std :: option :: Option < unsafe extern "C" fn (URL : * const :: std :: os :: raw :: c_char , publicId : * const :: std :: os :: raw :: c_char , context : * mut xmlParserCtxt) -> * mut xmlParserInput > ; unsafe extern "C" { pub static xmlParserVersion : * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { # [doc = " @cond ignore"] pub static xmlDefaultSAXLocator : xmlSAXLocator ; } unsafe extern "C" { # [doc = " @deprecated Use #xmlSAXVersion or #xmlSAX2InitDefaultSAXHandler"] pub static xmlDefaultSAXHandler : xmlSAXHandlerV1 ; } unsafe extern "C" { pub fn __xmlDoValidityCheckingDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlGetWarningsDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlKeepBlanksDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlLineNumbersDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlLoadExtDtdDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlPedanticParserDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlSubstituteEntitiesDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlIndentTreeOutput () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlTreeIndentString () -> * mut * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn __xmlSaveNoEmptyTags () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlInitParser () ; } unsafe extern "C" { pub fn xmlCleanupParser () ; } unsafe extern "C" { pub fn xmlInitGlobals () ; } unsafe extern "C" { pub fn xmlCleanupGlobals () ; } unsafe extern "C" { pub fn xmlParserInputRead (in_ : * mut xmlParserInput , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputGrow (in_ : * mut xmlParserInput , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseDoc (cur : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseFile (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSubstituteEntitiesDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlKeepBlanksDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStopParser (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlPedanticParserDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlLineNumbersDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefSubstituteEntitiesDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefKeepBlanksDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefPedanticParserDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefLineNumbersDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefDoValidityCheckingDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefGetWarningsDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefLoadExtDtdDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRecoverDoc (cur : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlRecoverMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlRecoverFile (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseDocument (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseExtParsedEnt (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXUserParseFile (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXUserParseMemory (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXParseDoc (sax : * mut xmlSAXHandler , cur : * const xmlChar , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseMemory (sax : * mut xmlSAXHandler , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseMemoryWithData (sax : * mut xmlSAXHandler , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , recovery : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseFile (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseFileWithData (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char , recovery : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseEntity (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseEntity (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseDtd (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlCtxtValidateDocument (ctxt : * mut xmlParserCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtValidateDtd (ctxt : * mut xmlParserCtxt , doc : * mut xmlDoc , dtd : * mut xmlDtd) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXParseDTD (sax : * mut xmlSAXHandler , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlParseDTD (publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlIOParseDTD (sax : * mut xmlSAXHandler , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlParseBalancedChunkMemory (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , string : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseInNodeContext (node : * mut xmlNode , data : * const :: std :: os :: raw :: c_char , datalen : :: std :: os :: raw :: c_int , options : :: std :: os :: raw :: c_int , lst : * mut * mut xmlNode) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlParseBalancedChunkMemoryRecover (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , string : * const xmlChar , lst : * mut * mut xmlNode , recover : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseExternalEntity (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , URL : * const xmlChar , ID : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseCtxtExternalEntity (ctx : * mut xmlParserCtxt , URL : * const xmlChar , ID : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNewParserCtxt () -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlNewSAXParserCtxt (sax : * const xmlSAXHandler , userData : * mut :: std :: os :: raw :: c_void) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlInitParserCtxt (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlClearParserCtxt (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlFreeParserCtxt (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlSetupParserForBuffer (ctxt : * mut xmlParserCtxt , buffer : * const xmlChar , filename : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlCreateDocParserCtxt (cur : * const xmlChar) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlCreatePushParserCtxt (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , filename : * const :: std :: os :: raw :: c_char) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlParseChunk (ctxt : * mut xmlParserCtxt , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , terminate : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCreateIOParserCtxt (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , enc : xmlCharEncoding) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlNewIOInputStream (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlParserFindNodeInfo (ctxt : * mut xmlParserCtxt , node : * mut xmlNode) -> * const xmlParserNodeInfo ; } unsafe extern "C" { pub fn xmlInitNodeInfoSeq (seq : * mut xmlParserNodeInfoSeq) ; } unsafe extern "C" { pub fn xmlClearNodeInfoSeq (seq : * mut xmlParserNodeInfoSeq) ; } unsafe extern "C" { pub fn xmlParserFindNodeInfoIndex (seq : * mut xmlParserNodeInfoSeq , node : * mut xmlNode) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlParserAddNodeInfo (ctxt : * mut xmlParserCtxt , info : * mut xmlParserNodeInfo) ; } unsafe extern "C" { pub fn xmlSetExternalEntityLoader (f : xmlExternalEntityLoader) ; } unsafe extern "C" { pub fn xmlGetExternalEntityLoader () -> xmlExternalEntityLoader ; } unsafe extern "C" { pub fn xmlLoadExternalEntity (URL : * const :: std :: os :: raw :: c_char , ID : * const :: std :: os :: raw :: c_char , ctxt : * mut xmlParserCtxt) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlByteConsumed (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_long ; } # [doc = " Enable \"recovery\" mode which allows non-wellformed documents.\n How this mode behaves exactly is unspecified and may change\n without further notice. Use of this feature is DISCOURAGED.\n\n Not supported by the push parser."] pub const xmlParserOption_XML_PARSE_RECOVER : xmlParserOption = 1 ; # [doc = " Despite the confusing name, this option enables substitution\n of entities. The resulting tree won't contain any entity\n reference nodes.\n\n This option also enables loading of external entities (both\n general and parameter entities) which is dangerous. If you\n process untrusted data, it's recommended to set the\n XML_PARSE_NO_XXE option to disable loading of external\n entities."] pub const xmlParserOption_XML_PARSE_NOENT : xmlParserOption = 2 ; # [doc = " Enables loading of an external DTD and the loading and\n substitution of external parameter entities. Has no effect\n if XML_PARSE_NO_XXE is set."] pub const xmlParserOption_XML_PARSE_DTDLOAD : xmlParserOption = 4 ; # [doc = " Adds default attributes from the DTD to the result document.\n\n Implies XML_PARSE_DTDLOAD, but loading of external content\n can be disabled with XML_PARSE_NO_XXE."] pub const xmlParserOption_XML_PARSE_DTDATTR : xmlParserOption = 8 ; # [doc = " This option enables DTD validation which requires to load\n external DTDs and external entities (both general and\n parameter entities) unless XML_PARSE_NO_XXE was set.\n\n DTD validation is vulnerable to algorithmic complexity\n attacks and should never be enabled with untrusted input."] pub const xmlParserOption_XML_PARSE_DTDVALID : xmlParserOption = 16 ; # [doc = " Disable error and warning reports to the error handlers.\n Errors are still accessible with xmlCtxtGetLastError()."] pub const xmlParserOption_XML_PARSE_NOERROR : xmlParserOption = 32 ; # [doc = " Disable warning reports."] pub const xmlParserOption_XML_PARSE_NOWARNING : xmlParserOption = 64 ; # [doc = " Enable some pedantic warnings."] pub const xmlParserOption_XML_PARSE_PEDANTIC : xmlParserOption = 128 ; # [doc = " Remove some whitespace from the result document. Where to\n remove whitespace depends on DTD element declarations or a\n broken heuristic with unfixable bugs. Use of this option is\n DISCOURAGED.\n\n Not supported by the push parser."] pub const xmlParserOption_XML_PARSE_NOBLANKS : xmlParserOption = 256 ; # [doc = " Always invoke the deprecated SAX1 startElement and endElement\n handlers.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_SAX1 : xmlParserOption = 512 ; # [doc = " Enable XInclude processing. This option only affects the\n xmlTextReader and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_XINCLUDE : xmlParserOption = 1024 ; # [doc = " Disable network access with the built-in HTTP or FTP clients.\n\n After the last built-in network client was removed in 2.15,\n this option has no effect expect for being passed on to custom\n resource loaders."] pub const xmlParserOption_XML_PARSE_NONET : xmlParserOption = 2048 ; # [doc = " Create a document without interned strings, making all\n strings separate memory allocations."] pub const xmlParserOption_XML_PARSE_NODICT : xmlParserOption = 4096 ; # [doc = " Remove redundant namespace declarations from the result\n document."] pub const xmlParserOption_XML_PARSE_NSCLEAN : xmlParserOption = 8192 ; # [doc = " Output normal text nodes instead of CDATA nodes."] pub const xmlParserOption_XML_PARSE_NOCDATA : xmlParserOption = 16384 ; # [doc = " Don't generate XInclude start/end nodes when expanding\n inclusions. This option only affects the xmlTextReader\n and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_NOXINCNODE : xmlParserOption = 32768 ; # [doc = " Store small strings directly in the node struct to save\n memory."] pub const xmlParserOption_XML_PARSE_COMPACT : xmlParserOption = 65536 ; # [doc = " Use old Name productions from before XML 1.0 Fifth Edition.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_OLD10 : xmlParserOption = 131072 ; # [doc = " Don't fix up XInclude xml:base URIs. This option only affects\n the xmlTextReader and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_NOBASEFIX : xmlParserOption = 262144 ; # [doc = " Relax some internal limits.\n\n Maximum size of text nodes, tags, comments, processing instructions,\n CDATA sections, entity values\n\n normal: 10M\n huge:    1B\n\n Maximum size of names, system literals, pubid literals\n\n normal: 50K\n huge:   10M\n\n Maximum nesting depth of elements\n\n normal:  256\n huge:   2048\n\n Maximum nesting depth of entities\n\n normal: 20\n huge:   40"] pub const xmlParserOption_XML_PARSE_HUGE : xmlParserOption = 524288 ; # [doc = " Enable an unspecified legacy mode for SAX parsers.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_OLDSAX : xmlParserOption = 1048576 ; # [doc = " Ignore the encoding in the XML declaration. This option is\n mostly unneeded these days. The only effect is to enforce\n UTF-8 decoding of ASCII-like data."] pub const xmlParserOption_XML_PARSE_IGNORE_ENC : xmlParserOption = 2097152 ; # [doc = " Enable reporting of line numbers larger than 65535."] pub const xmlParserOption_XML_PARSE_BIG_LINES : xmlParserOption = 4194304 ; # [doc = " Disables loading of external DTDs or entities.\n\n @since 2.13.0"] pub const xmlParserOption_XML_PARSE_NO_XXE : xmlParserOption = 8388608 ; # [doc = " Enable input decompression. Setting this option is discouraged\n to avoid zip bombs.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_UNZIP : xmlParserOption = 16777216 ; # [doc = " Disables the global system XML catalog.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_NO_SYS_CATALOG : xmlParserOption = 33554432 ; # [doc = " Enable XML catalog processing instructions.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_CATALOG_PI : xmlParserOption = 67108864 ; # [doc = " Force the parser to ignore IDs.\n\n @since 2.15.0"] pub const xmlParserOption_XML_PARSE_SKIP_IDS : xmlParserOption = 134217728 ; # [doc = " This is the set of XML parser options that can be passed to\n #xmlReadDoc, #xmlCtxtSetOptions and other functions."] pub type xmlParserOption = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlCtxtReset (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlCtxtResetPush (ctxt : * mut xmlParserCtxt , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , filename : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetOptions (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtSetOptions (ctxt : * mut xmlParserCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtUseOptions (ctxt : * mut xmlParserCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetPrivate (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtSetPrivate (ctxt : * mut xmlParserCtxt , priv_ : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtGetCatalogs (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtSetCatalogs (ctxt : * mut xmlParserCtxt , catalogs : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtGetDict (ctxt : * mut xmlParserCtxt) -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlCtxtSetDict (ctxt : * mut xmlParserCtxt , arg1 : * mut xmlDict) ; } unsafe extern "C" { pub fn xmlCtxtGetSaxHandler (ctxt : * mut xmlParserCtxt) -> * mut xmlSAXHandler ; } unsafe extern "C" { pub fn xmlCtxtSetSaxHandler (ctxt : * mut xmlParserCtxt , sax : * const xmlSAXHandler) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetDocument (ctxt : * mut xmlParserCtxt) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtIsHtml (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtIsStopped (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtIsInSubset (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetValidCtxt (ctxt : * mut xmlParserCtxt) -> * mut xmlValidCtxt ; } unsafe extern "C" { pub fn xmlCtxtGetVersion (ctxt : * mut xmlParserCtxt) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCtxtGetDeclaredEncoding (ctxt : * mut xmlParserCtxt) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCtxtGetStandalone (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetStatus (ctxt : * mut xmlParserCtxt) -> xmlParserStatus ; } unsafe extern "C" { pub fn xmlCtxtGetUserData (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtGetNode (ctxt : * mut xmlParserCtxt) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCtxtGetDocTypeDecl (ctxt : * mut xmlParserCtxt , name : * mut * const xmlChar , systemId : * mut * const xmlChar , publicId : * mut * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetInputPosition (ctxt : * mut xmlParserCtxt , inputIndex : :: std :: os :: raw :: c_int , filname : * mut * const :: std :: os :: raw :: c_char , line : * mut :: std :: os :: raw :: c_int , col : * mut :: std :: os :: raw :: c_int , bytePos : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetInputWindow (ctxt : * mut xmlParserCtxt , inputIndex : :: std :: os :: raw :: c_int , startOut : * mut * const xmlChar , sizeInOut : * mut :: std :: os :: raw :: c_int , offsetOut : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtSetErrorHandler (ctxt : * mut xmlParserCtxt , handler : xmlStructuredErrorFunc , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetResourceLoader (ctxt : * mut xmlParserCtxt , loader : xmlResourceLoader , vctxt : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetCharEncConvImpl (ctxt : * mut xmlParserCtxt , impl_ : xmlCharEncConvImpl , vctxt : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetMaxAmplification (ctxt : * mut xmlParserCtxt , maxAmpl : :: std :: os :: raw :: c_uint) ; } unsafe extern "C" { pub fn xmlReadDoc (cur : * const xmlChar , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadFile (URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadFd (fd : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadIO (ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseDocument (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseContent (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput , node : * mut xmlNode , hasTextDecl : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCtxtReadDoc (ctxt : * mut xmlParserCtxt , cur : * const xmlChar , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadFile (ctxt : * mut xmlParserCtxt , filename : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadMemory (ctxt : * mut xmlParserCtxt , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadFd (ctxt : * mut xmlParserCtxt , fd : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadIO (ctxt : * mut xmlParserCtxt , ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlNewInputFromUrl (url : * const :: std :: os :: raw :: c_char , flags : xmlParserInputFlags , out : * mut * mut xmlParserInput) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlNewInputFromMemory (url : * const :: std :: os :: raw :: c_char , mem : * const :: std :: os :: raw :: c_void , size : usize , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromString (url : * const :: std :: os :: raw :: c_char , str_ : * const :: std :: os :: raw :: c_char , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromFd (url : * const :: std :: os :: raw :: c_char , fd : :: std :: os :: raw :: c_int , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromIO (url : * const :: std :: os :: raw :: c_char , ioRead : xmlInputReadCallback , ioClose : xmlInputCloseCallback , ioCtxt : * mut :: std :: os :: raw :: c_void , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlInputSetEncodingHandler (input : * mut xmlParserInput , handler : * mut xmlCharEncodingHandler) -> xmlParserErrors ; } # [doc = " Multithreading support"] pub const xmlFeature_XML_WITH_THREAD : xmlFeature = 1 ; # [doc = " @deprecated Always available"] pub const xmlFeature_XML_WITH_TREE : xmlFeature = 2 ; # [doc = " Serialization support"] pub const xmlFeature_XML_WITH_OUTPUT : xmlFeature = 3 ; # [doc = " Push parser"] pub const xmlFeature_XML_WITH_PUSH : xmlFeature = 4 ; # [doc = " XML Reader"] pub const xmlFeature_XML_WITH_READER : xmlFeature = 5 ; # [doc = " Streaming patterns"] pub const xmlFeature_XML_WITH_PATTERN : xmlFeature = 6 ; # [doc = " XML Writer"] pub const xmlFeature_XML_WITH_WRITER : xmlFeature = 7 ; # [doc = " Legacy SAX1 API"] pub const xmlFeature_XML_WITH_SAX1 : xmlFeature = 8 ; # [doc = " @deprecated FTP support was removed"] pub const xmlFeature_XML_WITH_FTP : xmlFeature = 9 ; # [doc = " @deprecated HTTP support was removed"] pub const xmlFeature_XML_WITH_HTTP : xmlFeature = 10 ; # [doc = " DTD validation"] pub const xmlFeature_XML_WITH_VALID : xmlFeature = 11 ; # [doc = " HTML parser"] pub const xmlFeature_XML_WITH_HTML : xmlFeature = 12 ; # [doc = " Legacy symbols"] pub const xmlFeature_XML_WITH_LEGACY : xmlFeature = 13 ; # [doc = " Canonical XML"] pub const xmlFeature_XML_WITH_C14N : xmlFeature = 14 ; # [doc = " XML Catalogs"] pub const xmlFeature_XML_WITH_CATALOG : xmlFeature = 15 ; # [doc = " XPath"] pub const xmlFeature_XML_WITH_XPATH : xmlFeature = 16 ; # [doc = " XPointer"] pub const xmlFeature_XML_WITH_XPTR : xmlFeature = 17 ; # [doc = " XInclude"] pub const xmlFeature_XML_WITH_XINCLUDE : xmlFeature = 18 ; # [doc = " iconv"] pub const xmlFeature_XML_WITH_ICONV : xmlFeature = 19 ; # [doc = " Built-in ISO-8859-X"] pub const xmlFeature_XML_WITH_ISO8859X : xmlFeature = 20 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_UNICODE : xmlFeature = 21 ; # [doc = " Regular expressions"] pub const xmlFeature_XML_WITH_REGEXP : xmlFeature = 22 ; # [doc = " @deprecated Same as XML_WITH_REGEXP"] pub const xmlFeature_XML_WITH_AUTOMATA : xmlFeature = 23 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_EXPR : xmlFeature = 24 ; # [doc = " XML Schemas"] pub const xmlFeature_XML_WITH_SCHEMAS : xmlFeature = 25 ; # [doc = " Schematron"] pub const xmlFeature_XML_WITH_SCHEMATRON : xmlFeature = 26 ; # [doc = " Loadable modules"] pub const xmlFeature_XML_WITH_MODULES : xmlFeature = 27 ; # [doc = " Debugging API"] pub const xmlFeature_XML_WITH_DEBUG : xmlFeature = 28 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_DEBUG_MEM : xmlFeature = 29 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_DEBUG_RUN : xmlFeature = 30 ; # [doc = " GZIP compression"] pub const xmlFeature_XML_WITH_ZLIB : xmlFeature = 31 ; # [doc = " ICU"] pub const xmlFeature_XML_WITH_ICU : xmlFeature = 32 ; # [doc = " @deprecated LZMA support was removed"] pub const xmlFeature_XML_WITH_LZMA : xmlFeature = 33 ; # [doc = " RELAXNG, since 2.14"] pub const xmlFeature_XML_WITH_RELAXNG : xmlFeature = 34 ; # [doc = " RELAXNG, since 2.14"] pub const xmlFeature_XML_WITH_NONE : xmlFeature = 99999 ; # [doc = " Used to examine the existence of features that can be enabled\n or disabled at compile-time.\n They used to be called XML_FEATURE_xxx but this clashed with Expat"] pub type xmlFeature = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlHasFeature (feature : xmlFeature) -> :: std :: os :: raw :: c_int ; } pub const xmlSchemaValidError_XML_SCHEMAS_ERR_OK : xmlSchemaValidError = 0 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOROOT : xmlSchemaValidError = 1 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_UNDECLAREDELEM : xmlSchemaValidError = 2 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTTOPLEVEL : xmlSchemaValidError = 3 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_MISSING : xmlSchemaValidError = 4 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_WRONGELEM : xmlSchemaValidError = 5 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTYPE : xmlSchemaValidError = 6 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOROLLBACK : xmlSchemaValidError = 7 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ISABSTRACT : xmlSchemaValidError = 8 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTEMPTY : xmlSchemaValidError = 9 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ELEMCONT : xmlSchemaValidError = 10 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_HAVEDEFAULT : xmlSchemaValidError = 11 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTNILLABLE : xmlSchemaValidError = 12 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_EXTRACONTENT : xmlSchemaValidError = 13 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INVALIDATTR : xmlSchemaValidError = 14 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INVALIDELEM : xmlSchemaValidError = 15 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTDETERMINIST : xmlSchemaValidError = 16 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_CONSTRUCT : xmlSchemaValidError = 17 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INTERNAL : xmlSchemaValidError = 18 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTSIMPLE : xmlSchemaValidError = 19 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ATTRUNKNOWN : xmlSchemaValidError = 20 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ATTRINVALID : xmlSchemaValidError = 21 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_VALUE : xmlSchemaValidError = 22 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_FACET : xmlSchemaValidError = 23 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ : xmlSchemaValidError = 24 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_XXX : xmlSchemaValidError = 25 ; # [doc = " This error codes are obsolete; not used any more."] pub type xmlSchemaValidError = :: std :: os :: raw :: c_uint ; pub const xmlSchemaValidOption_XML_SCHEMA_VAL_VC_I_CREATE : xmlSchemaValidOption = 1 ; # [doc = " This is the set of XML Schema validation options."] pub type xmlSchemaValidOption = :: std :: os :: raw :: c_uint ; # [doc = " XML schema"] pub type xmlSchema = _xmlSchema ; pub type xmlSchemaPtr = * mut xmlSchema ; # [doc = " Signature of an error callback from an XSD validation\n\n @param ctx  the validation context\n @param msg  the message\n @param ... extra arguments"] pub type xmlSchemaValidityErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Signature of a warning callback from an XSD validation\n\n @param ctx  the validation context\n @param msg  the message\n @param ... extra arguments"] pub type xmlSchemaValidityWarningFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaParserCtxt { _unused : [u8 ; 0] , } # [doc = " Schema parser context"] pub type xmlSchemaParserCtxt = _xmlSchemaParserCtxt ; pub type xmlSchemaParserCtxtPtr = * mut xmlSchemaParserCtxt ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaValidCtxt { _unused : [u8 ; 0] , } # [doc = " Schema validation context"] pub type xmlSchemaValidCtxt = _xmlSchemaValidCtxt ; pub type xmlSchemaValidCtxtPtr = * mut xmlSchemaValidCtxt ; # [doc = " A schemas validation locator, a callback called by the validator.\n This is used when file or node information are not available\n to find out what file and line number are affected\n\n @param ctx  user provided context\n @param file  returned file information\n @param line  returned line information\n @returns 0 in case of success and -1 in case of error"] pub type xmlSchemaValidityLocatorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , file : * mut * const :: std :: os :: raw :: c_char , line : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int > ; unsafe extern "C" { pub fn xmlSchemaNewParserCtxt (URL : * const :: std :: os :: raw :: c_char) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaNewMemParserCtxt (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaNewDocParserCtxt (doc : * mut xmlDoc) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaFreeParserCtxt (ctxt : * mut xmlSchemaParserCtxt) ; } unsafe extern "C" { pub fn xmlSchemaSetParserErrors (ctxt : * mut xmlSchemaParserCtxt , err : xmlSchemaValidityErrorFunc , warn : xmlSchemaValidityWarningFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaSetParserStructuredErrors (ctxt : * mut xmlSchemaParserCtxt , serror : xmlStructuredErrorFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaGetParserErrors (ctxt : * mut xmlSchemaParserCtxt , err : * mut xmlSchemaValidityErrorFunc , warn : * mut xmlSchemaValidityWarningFunc , ctx : * mut * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaSetResourceLoader (ctxt : * mut xmlSchemaParserCtxt , loader : xmlResourceLoader , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaIsValid (ctxt : * mut xmlSchemaValidCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaParse (ctxt : * mut xmlSchemaParserCtxt) -> * mut xmlSchema ; } unsafe extern "C" { pub fn xmlSchemaFree (schema : * mut xmlSchema) ; } unsafe extern "C" { pub fn xmlSchemaDump (output : * mut FILE , schema : * mut xmlSchema) ; } unsafe extern "C" { pub fn xmlSchemaSetValidErrors (ctxt : * mut xmlSchemaValidCtxt , err : xmlSchemaValidityErrorFunc , warn : xmlSchemaValidityWarningFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaSetValidStructuredErrors (ctxt : * mut xmlSchemaValidCtxt , serror : xmlStructuredErrorFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaGetValidErrors (ctxt : * mut xmlSchemaValidCtxt , err : * mut xmlSchemaValidityErrorFunc , warn : * mut xmlSchemaValidityWarningFunc , ctx : * mut * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaSetValidOptions (ctxt : * mut xmlSchemaValidCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateSetFilename (vctxt : * mut xmlSchemaValidCtxt , filename : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlSchemaValidCtxtGetOptions (ctxt : * mut xmlSchemaValidCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaNewValidCtxt (schema : * mut xmlSchema) -> * mut xmlSchemaValidCtxt ; } unsafe extern "C" { pub fn xmlSchemaFreeValidCtxt (ctxt : * mut xmlSchemaValidCtxt) ; } unsafe extern "C" { pub fn xmlSchemaValidateDoc (ctxt : * mut xmlSchemaValidCtxt , instance : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateOneElement (ctxt : * mut xmlSchemaValidCtxt , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateStream (ctxt : * mut xmlSchemaValidCtxt , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding , sax : * const xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFile (ctxt : * mut xmlSchemaValidCtxt , filename : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidCtxtGetParserCtxt (ctxt : * mut xmlSchemaValidCtxt) -> * mut xmlParserCtxt ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaSAXPlug { _unused : [u8 ; 0] , } # [doc = " Interface to insert Schemas SAX validation in a SAX stream"] pub type xmlSchemaSAXPlugStruct = _xmlSchemaSAXPlug ; pub type xmlSchemaSAXPlugPtr = * mut xmlSchemaSAXPlugStruct ; unsafe extern "C" { pub fn xmlSchemaSAXPlug (ctxt : * mut xmlSchemaValidCtxt , sax : * mut * mut xmlSAXHandler , user_data : * mut * mut :: std :: os :: raw :: c_void) -> * mut xmlSchemaSAXPlugStruct ; } unsafe extern "C" { pub fn xmlSchemaSAXUnplug (plug : * mut xmlSchemaSAXPlugStruct) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateSetLocator (vctxt : * mut xmlSchemaValidCtxt , f : xmlSchemaValidityLocatorFunc , ctxt : * mut :: std :: os :: raw :: c_void) ; } pub const xmlSchemaValType_XML_SCHEMAS_UNKNOWN : xmlSchemaValType = 0 ; pub const xmlSchemaValType_XML_SCHEMAS_STRING : xmlSchemaValType = 1 ; pub const xmlSchemaValType_XML_SCHEMAS_NORMSTRING : xmlSchemaValType = 2 ; pub const xmlSchemaValType_XML_SCHEMAS_DECIMAL : xmlSchemaValType = 3 ; pub const xmlSchemaValType_XML_SCHEMAS_TIME : xmlSchemaValType = 4 ; pub const xmlSchemaValType_XML_SCHEMAS_GDAY : xmlSchemaValType = 5 ; pub const xmlSchemaValType_XML_SCHEMAS_GMONTH : xmlSchemaValType = 6 ; pub const xmlSchemaValType_XML_SCHEMAS_GMONTHDAY : xmlSchemaValType = 7 ; pub const xmlSchemaValType_XML_SCHEMAS_GYEAR : xmlSchemaValType = 8 ; pub const xmlSchemaValType_XML_SCHEMAS_GYEARMONTH : xmlSchemaValType = 9 ; pub const xmlSchemaValType_XML_SCHEMAS_DATE : xmlSchemaValType = 10 ; pub const xmlSchemaValType_XML_SCHEMAS_DATETIME : xmlSchemaValType = 11 ; pub const xmlSchemaValType_XML_SCHEMAS_DURATION : xmlSchemaValType = 12 ; pub const xmlSchemaValType_XML_SCHEMAS_FLOAT : xmlSchemaValType = 13 ; pub const xmlSchemaValType_XML_SCHEMAS_DOUBLE : xmlSchemaValType = 14 ; pub const xmlSchemaValType_XML_SCHEMAS_BOOLEAN : xmlSchemaValType = 15 ; pub const xmlSchemaValType_XML_SCHEMAS_TOKEN : xmlSchemaValType = 16 ; pub const xmlSchemaValType_XML_SCHEMAS_LANGUAGE : xmlSchemaValType = 17 ; pub const xmlSchemaValType_XML_SCHEMAS_NMTOKEN : xmlSchemaValType = 18 ; pub const xmlSchemaValType_XML_SCHEMAS_NMTOKENS : xmlSchemaValType = 19 ; pub const xmlSchemaValType_XML_SCHEMAS_NAME : xmlSchemaValType = 20 ; pub const xmlSchemaValType_XML_SCHEMAS_QNAME : xmlSchemaValType = 21 ; pub const xmlSchemaValType_XML_SCHEMAS_NCNAME : xmlSchemaValType = 22 ; pub const xmlSchemaValType_XML_SCHEMAS_ID : xmlSchemaValType = 23 ; pub const xmlSchemaValType_XML_SCHEMAS_IDREF : xmlSchemaValType = 24 ; pub const xmlSchemaValType_XML_SCHEMAS_IDREFS : xmlSchemaValType = 25 ; pub const xmlSchemaValType_XML_SCHEMAS_ENTITY : xmlSchemaValType = 26 ; pub const xmlSchemaValType_XML_SCHEMAS_ENTITIES : xmlSchemaValType = 27 ; pub const xmlSchemaValType_XML_SCHEMAS_NOTATION : xmlSchemaValType = 28 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYURI : xmlSchemaValType = 29 ; pub const xmlSchemaValType_XML_SCHEMAS_INTEGER : xmlSchemaValType = 30 ; pub const xmlSchemaValType_XML_SCHEMAS_NPINTEGER : xmlSchemaValType = 31 ; pub const xmlSchemaValType_XML_SCHEMAS_NINTEGER : xmlSchemaValType = 32 ; pub const xmlSchemaValType_XML_SCHEMAS_NNINTEGER : xmlSchemaValType = 33 ; pub const xmlSchemaValType_XML_SCHEMAS_PINTEGER : xmlSchemaValType = 34 ; pub const xmlSchemaValType_XML_SCHEMAS_INT : xmlSchemaValType = 35 ; pub const xmlSchemaValType_XML_SCHEMAS_UINT : xmlSchemaValType = 36 ; pub const xmlSchemaValType_XML_SCHEMAS_LONG : xmlSchemaValType = 37 ; pub const xmlSchemaValType_XML_SCHEMAS_ULONG : xmlSchemaValType = 38 ; pub const xmlSchemaValType_XML_SCHEMAS_SHORT : xmlSchemaValType = 39 ; pub const xmlSchemaValType_XML_SCHEMAS_USHORT : xmlSchemaValType = 40 ; pub const xmlSchemaValType_XML_SCHEMAS_BYTE : xmlSchemaValType = 41 ; pub const xmlSchemaValType_XML_SCHEMAS_UBYTE : xmlSchemaValType = 42 ; pub const xmlSchemaValType_XML_SCHEMAS_HEXBINARY : xmlSchemaValType = 43 ; pub const xmlSchemaValType_XML_SCHEMAS_BASE64BINARY : xmlSchemaValType = 44 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYTYPE : xmlSchemaValType = 45 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYSIMPLETYPE : xmlSchemaValType = 46 ; # [doc = " Schema value type"] pub type xmlSchemaValType = :: std :: os :: raw :: c_uint ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_BASIC : xmlSchemaTypeType = 1 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ANY : xmlSchemaTypeType = 2 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_FACET : xmlSchemaTypeType = 3 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SIMPLE : xmlSchemaTypeType = 4 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_COMPLEX : xmlSchemaTypeType = 5 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SEQUENCE : xmlSchemaTypeType = 6 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_CHOICE : xmlSchemaTypeType = 7 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ALL : xmlSchemaTypeType = 8 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SIMPLE_CONTENT : xmlSchemaTypeType = 9 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_COMPLEX_CONTENT : xmlSchemaTypeType = 10 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_UR : xmlSchemaTypeType = 11 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_RESTRICTION : xmlSchemaTypeType = 12 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_EXTENSION : xmlSchemaTypeType = 13 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ELEMENT : xmlSchemaTypeType = 14 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTE : xmlSchemaTypeType = 15 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTEGROUP : xmlSchemaTypeType = 16 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_GROUP : xmlSchemaTypeType = 17 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_NOTATION : xmlSchemaTypeType = 18 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_LIST : xmlSchemaTypeType = 19 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_UNION : xmlSchemaTypeType = 20 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ANY_ATTRIBUTE : xmlSchemaTypeType = 21 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_UNIQUE : xmlSchemaTypeType = 22 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_KEY : xmlSchemaTypeType = 23 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_KEYREF : xmlSchemaTypeType = 24 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_PARTICLE : xmlSchemaTypeType = 25 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTE_USE : xmlSchemaTypeType = 26 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MININCLUSIVE : xmlSchemaTypeType = 1000 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MINEXCLUSIVE : xmlSchemaTypeType = 1001 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXINCLUSIVE : xmlSchemaTypeType = 1002 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXEXCLUSIVE : xmlSchemaTypeType = 1003 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_TOTALDIGITS : xmlSchemaTypeType = 1004 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_FRACTIONDIGITS : xmlSchemaTypeType = 1005 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_PATTERN : xmlSchemaTypeType = 1006 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_ENUMERATION : xmlSchemaTypeType = 1007 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_WHITESPACE : xmlSchemaTypeType = 1008 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_LENGTH : xmlSchemaTypeType = 1009 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXLENGTH : xmlSchemaTypeType = 1010 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MINLENGTH : xmlSchemaTypeType = 1011 ; pub const xmlSchemaTypeType_XML_SCHEMA_EXTRA_QNAMEREF : xmlSchemaTypeType = 2000 ; pub const xmlSchemaTypeType_XML_SCHEMA_EXTRA_ATTR_USE_PROHIB : xmlSchemaTypeType = 2001 ; # [doc = " XML Schemas defines multiple type of types."] pub type xmlSchemaTypeType = :: std :: os :: raw :: c_uint ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_UNKNOWN : xmlSchemaContentType = 0 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_EMPTY : xmlSchemaContentType = 1 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_ELEMENTS : xmlSchemaContentType = 2 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_MIXED : xmlSchemaContentType = 3 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_SIMPLE : xmlSchemaContentType = 4 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_MIXED_OR_ELEMENTS : xmlSchemaContentType = 5 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_BASIC : xmlSchemaContentType = 6 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_ANY : xmlSchemaContentType = 7 ; # [doc = " Schema content type"] pub type xmlSchemaContentType = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaVal { _unused : [u8 ; 0] , } # [doc = " Schema value"] pub type xmlSchemaVal = _xmlSchemaVal ; pub type xmlSchemaValPtr = * mut xmlSchemaVal ; # [doc = " Schema type"] pub type xmlSchemaType = _xmlSchemaType ; pub type xmlSchemaTypePtr = * mut xmlSchemaType ; # [doc = " Schema facet"] pub type xmlSchemaFacet = _xmlSchemaFacet ; pub type xmlSchemaFacetPtr = * mut xmlSchemaFacet ; # [doc = " Schema annotation"] pub type xmlSchemaAnnot = _xmlSchemaAnnot ; pub type xmlSchemaAnnotPtr = * mut xmlSchemaAnnot ; # [doc = " Annotation"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAnnot { pub next : * mut _xmlSchemaAnnot , pub content : * mut xmlNode , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAnnot"] [:: std :: mem :: size_of :: < _xmlSchemaAnnot > () - 16usize] ; ["Alignment of _xmlSchemaAnnot"] [:: std :: mem :: align_of :: < _xmlSchemaAnnot > () - 8usize] ; ["Offset of field: _xmlSchemaAnnot::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAnnot , next) - 0usize] ; ["Offset of field: _xmlSchemaAnnot::content"] [:: std :: mem :: offset_of ! (_xmlSchemaAnnot , content) - 8usize] ; } ; # [doc = " Schema attribute definition"] pub type xmlSchemaAttribute = _xmlSchemaAttribute ; pub type xmlSchemaAttributePtr = * mut xmlSchemaAttribute ; # [doc = " An attribute definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttribute { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaAttribute , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub typeName : * const xmlChar , pub typeNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub base : * mut xmlSchemaType , pub occurs : :: std :: os :: raw :: c_int , pub defValue : * const xmlChar , pub subtypes : * mut xmlSchemaType , pub node : * mut xmlNode , pub targetNamespace : * const xmlChar , pub flags : :: std :: os :: raw :: c_int , pub refPrefix : * const xmlChar , pub defVal : * mut xmlSchemaVal , pub refDecl : * mut xmlSchemaAttribute , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttribute"] [:: std :: mem :: size_of :: < _xmlSchemaAttribute > () - 152usize] ; ["Alignment of _xmlSchemaAttribute"] [:: std :: mem :: align_of :: < _xmlSchemaAttribute > () - 8usize] ; ["Offset of field: _xmlSchemaAttribute::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , type_) - 0usize] ; ["Offset of field: _xmlSchemaAttribute::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , next) - 8usize] ; ["Offset of field: _xmlSchemaAttribute::name"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , name) - 16usize] ; ["Offset of field: _xmlSchemaAttribute::id"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , id) - 24usize] ; ["Offset of field: _xmlSchemaAttribute::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , ref_) - 32usize] ; ["Offset of field: _xmlSchemaAttribute::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refNs) - 40usize] ; ["Offset of field: _xmlSchemaAttribute::typeName"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , typeName) - 48usize] ; ["Offset of field: _xmlSchemaAttribute::typeNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , typeNs) - 56usize] ; ["Offset of field: _xmlSchemaAttribute::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , annot) - 64usize] ; ["Offset of field: _xmlSchemaAttribute::base"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , base) - 72usize] ; ["Offset of field: _xmlSchemaAttribute::occurs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , occurs) - 80usize] ; ["Offset of field: _xmlSchemaAttribute::defValue"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , defValue) - 88usize] ; ["Offset of field: _xmlSchemaAttribute::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , subtypes) - 96usize] ; ["Offset of field: _xmlSchemaAttribute::node"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , node) - 104usize] ; ["Offset of field: _xmlSchemaAttribute::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , targetNamespace) - 112usize] ; ["Offset of field: _xmlSchemaAttribute::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , flags) - 120usize] ; ["Offset of field: _xmlSchemaAttribute::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refPrefix) - 128usize] ; ["Offset of field: _xmlSchemaAttribute::defVal"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , defVal) - 136usize] ; ["Offset of field: _xmlSchemaAttribute::refDecl"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refDecl) - 144usize] ; } ; # [doc = " Linked list of schema attributes"] pub type xmlSchemaAttributeLink = _xmlSchemaAttributeLink ; pub type xmlSchemaAttributeLinkPtr = * mut xmlSchemaAttributeLink ; # [doc = " Used to build a list of attribute uses on complexType definitions.\n WARNING: Deprecated; not used."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttributeLink { pub next : * mut _xmlSchemaAttributeLink , pub attr : * mut _xmlSchemaAttribute , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttributeLink"] [:: std :: mem :: size_of :: < _xmlSchemaAttributeLink > () - 16usize] ; ["Alignment of _xmlSchemaAttributeLink"] [:: std :: mem :: align_of :: < _xmlSchemaAttributeLink > () - 8usize] ; ["Offset of field: _xmlSchemaAttributeLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeLink , next) - 0usize] ; ["Offset of field: _xmlSchemaAttributeLink::attr"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeLink , attr) - 8usize] ; } ; # [doc = " Namespace wildcard"] pub type xmlSchemaWildcardNs = _xmlSchemaWildcardNs ; pub type xmlSchemaWildcardNsPtr = * mut xmlSchemaWildcardNs ; # [doc = " Used to build a list of namespaces on wildcards."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaWildcardNs { pub next : * mut _xmlSchemaWildcardNs , pub value : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaWildcardNs"] [:: std :: mem :: size_of :: < _xmlSchemaWildcardNs > () - 16usize] ; ["Alignment of _xmlSchemaWildcardNs"] [:: std :: mem :: align_of :: < _xmlSchemaWildcardNs > () - 8usize] ; ["Offset of field: _xmlSchemaWildcardNs::next"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcardNs , next) - 0usize] ; ["Offset of field: _xmlSchemaWildcardNs::value"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcardNs , value) - 8usize] ; } ; # [doc = " Name wildcard"] pub type xmlSchemaWildcard = _xmlSchemaWildcard ; pub type xmlSchemaWildcardPtr = * mut xmlSchemaWildcard ; # [doc = " A wildcard."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaWildcard { pub type_ : xmlSchemaTypeType , pub id : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub processContents : :: std :: os :: raw :: c_int , pub any : :: std :: os :: raw :: c_int , pub nsSet : * mut xmlSchemaWildcardNs , pub negNsSet : * mut xmlSchemaWildcardNs , pub flags : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaWildcard"] [:: std :: mem :: size_of :: < _xmlSchemaWildcard > () - 72usize] ; ["Alignment of _xmlSchemaWildcard"] [:: std :: mem :: align_of :: < _xmlSchemaWildcard > () - 8usize] ; ["Offset of field: _xmlSchemaWildcard::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , type_) - 0usize] ; ["Offset of field: _xmlSchemaWildcard::id"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , id) - 8usize] ; ["Offset of field: _xmlSchemaWildcard::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , annot) - 16usize] ; ["Offset of field: _xmlSchemaWildcard::node"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , node) - 24usize] ; ["Offset of field: _xmlSchemaWildcard::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , minOccurs) - 32usize] ; ["Offset of field: _xmlSchemaWildcard::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , maxOccurs) - 36usize] ; ["Offset of field: _xmlSchemaWildcard::processContents"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , processContents) - 40usize] ; ["Offset of field: _xmlSchemaWildcard::any"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , any) - 44usize] ; ["Offset of field: _xmlSchemaWildcard::nsSet"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , nsSet) - 48usize] ; ["Offset of field: _xmlSchemaWildcard::negNsSet"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , negNsSet) - 56usize] ; ["Offset of field: _xmlSchemaWildcard::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , flags) - 64usize] ; } ; # [doc = " Attribute group"] pub type xmlSchemaAttributeGroup = _xmlSchemaAttributeGroup ; pub type xmlSchemaAttributeGroupPtr = * mut xmlSchemaAttributeGroup ; # [doc = " An attribute group definition.\n\n xmlSchemaAttribute and xmlSchemaAttributeGroup start of structures\n must be kept similar"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttributeGroup { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaAttribute , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub flags : :: std :: os :: raw :: c_int , pub attributeWildcard : * mut xmlSchemaWildcard , pub refPrefix : * const xmlChar , pub refItem : * mut xmlSchemaAttributeGroup , pub targetNamespace : * const xmlChar , pub attrUses : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttributeGroup"] [:: std :: mem :: size_of :: < _xmlSchemaAttributeGroup > () - 120usize] ; ["Alignment of _xmlSchemaAttributeGroup"] [:: std :: mem :: align_of :: < _xmlSchemaAttributeGroup > () - 8usize] ; ["Offset of field: _xmlSchemaAttributeGroup::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , type_) - 0usize] ; ["Offset of field: _xmlSchemaAttributeGroup::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , next) - 8usize] ; ["Offset of field: _xmlSchemaAttributeGroup::name"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , name) - 16usize] ; ["Offset of field: _xmlSchemaAttributeGroup::id"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , id) - 24usize] ; ["Offset of field: _xmlSchemaAttributeGroup::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , ref_) - 32usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refNs) - 40usize] ; ["Offset of field: _xmlSchemaAttributeGroup::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , annot) - 48usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attributes) - 56usize] ; ["Offset of field: _xmlSchemaAttributeGroup::node"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , node) - 64usize] ; ["Offset of field: _xmlSchemaAttributeGroup::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , flags) - 72usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attributeWildcard"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attributeWildcard) - 80usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refPrefix) - 88usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refItem"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refItem) - 96usize] ; ["Offset of field: _xmlSchemaAttributeGroup::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , targetNamespace) - 104usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attrUses"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attrUses) - 112usize] ; } ; # [doc = " Linked list of schema types"] pub type xmlSchemaTypeLink = _xmlSchemaTypeLink ; pub type xmlSchemaTypeLinkPtr = * mut xmlSchemaTypeLink ; # [doc = " Used to build a list of types (e.g. member types of\n simpleType with variety \"union\")."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaTypeLink { pub next : * mut _xmlSchemaTypeLink , pub type_ : * mut xmlSchemaType , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaTypeLink"] [:: std :: mem :: size_of :: < _xmlSchemaTypeLink > () - 16usize] ; ["Alignment of _xmlSchemaTypeLink"] [:: std :: mem :: align_of :: < _xmlSchemaTypeLink > () - 8usize] ; ["Offset of field: _xmlSchemaTypeLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaTypeLink , next) - 0usize] ; ["Offset of field: _xmlSchemaTypeLink::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaTypeLink , type_) - 8usize] ; } ; # [doc = " Linked list of schema facets"] pub type xmlSchemaFacetLink = _xmlSchemaFacetLink ; pub type xmlSchemaFacetLinkPtr = * mut xmlSchemaFacetLink ; # [doc = " Used to build a list of facets."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaFacetLink { pub next : * mut _xmlSchemaFacetLink , pub facet : * mut xmlSchemaFacet , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaFacetLink"] [:: std :: mem :: size_of :: < _xmlSchemaFacetLink > () - 16usize] ; ["Alignment of _xmlSchemaFacetLink"] [:: std :: mem :: align_of :: < _xmlSchemaFacetLink > () - 8usize] ; ["Offset of field: _xmlSchemaFacetLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaFacetLink , next) - 0usize] ; ["Offset of field: _xmlSchemaFacetLink::facet"] [:: std :: mem :: offset_of ! (_xmlSchemaFacetLink , facet) - 8usize] ; } ; # [doc = " Schemas type definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaType { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaType , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub subtypes : * mut xmlSchemaType , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub flags : :: std :: os :: raw :: c_int , pub contentType : xmlSchemaContentType , pub base : * const xmlChar , pub baseNs : * const xmlChar , pub baseType : * mut xmlSchemaType , pub facets : * mut xmlSchemaFacet , pub redef : * mut _xmlSchemaType , pub recurse : :: std :: os :: raw :: c_int , pub attributeUses : * mut * mut xmlSchemaAttributeLink , pub attributeWildcard : * mut xmlSchemaWildcard , pub builtInType : :: std :: os :: raw :: c_int , pub memberTypes : * mut xmlSchemaTypeLink , pub facetSet : * mut xmlSchemaFacetLink , pub refPrefix : * const xmlChar , pub contentTypeDef : * mut xmlSchemaType , pub contModel : * mut xmlRegexp , pub targetNamespace : * const xmlChar , pub attrUses : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaType"] [:: std :: mem :: size_of :: < _xmlSchemaType > () - 224usize] ; ["Alignment of _xmlSchemaType"] [:: std :: mem :: align_of :: < _xmlSchemaType > () - 8usize] ; ["Offset of field: _xmlSchemaType::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaType , type_) - 0usize] ; ["Offset of field: _xmlSchemaType::next"] [:: std :: mem :: offset_of ! (_xmlSchemaType , next) - 8usize] ; ["Offset of field: _xmlSchemaType::name"] [:: std :: mem :: offset_of ! (_xmlSchemaType , name) - 16usize] ; ["Offset of field: _xmlSchemaType::id"] [:: std :: mem :: offset_of ! (_xmlSchemaType , id) - 24usize] ; ["Offset of field: _xmlSchemaType::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaType , ref_) - 32usize] ; ["Offset of field: _xmlSchemaType::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , refNs) - 40usize] ; ["Offset of field: _xmlSchemaType::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaType , annot) - 48usize] ; ["Offset of field: _xmlSchemaType::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , subtypes) - 56usize] ; ["Offset of field: _xmlSchemaType::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributes) - 64usize] ; ["Offset of field: _xmlSchemaType::node"] [:: std :: mem :: offset_of ! (_xmlSchemaType , node) - 72usize] ; ["Offset of field: _xmlSchemaType::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , minOccurs) - 80usize] ; ["Offset of field: _xmlSchemaType::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , maxOccurs) - 84usize] ; ["Offset of field: _xmlSchemaType::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaType , flags) - 88usize] ; ["Offset of field: _xmlSchemaType::contentType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contentType) - 92usize] ; ["Offset of field: _xmlSchemaType::base"] [:: std :: mem :: offset_of ! (_xmlSchemaType , base) - 96usize] ; ["Offset of field: _xmlSchemaType::baseNs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , baseNs) - 104usize] ; ["Offset of field: _xmlSchemaType::baseType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , baseType) - 112usize] ; ["Offset of field: _xmlSchemaType::facets"] [:: std :: mem :: offset_of ! (_xmlSchemaType , facets) - 120usize] ; ["Offset of field: _xmlSchemaType::redef"] [:: std :: mem :: offset_of ! (_xmlSchemaType , redef) - 128usize] ; ["Offset of field: _xmlSchemaType::recurse"] [:: std :: mem :: offset_of ! (_xmlSchemaType , recurse) - 136usize] ; ["Offset of field: _xmlSchemaType::attributeUses"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributeUses) - 144usize] ; ["Offset of field: _xmlSchemaType::attributeWildcard"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributeWildcard) - 152usize] ; ["Offset of field: _xmlSchemaType::builtInType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , builtInType) - 160usize] ; ["Offset of field: _xmlSchemaType::memberTypes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , memberTypes) - 168usize] ; ["Offset of field: _xmlSchemaType::facetSet"] [:: std :: mem :: offset_of ! (_xmlSchemaType , facetSet) - 176usize] ; ["Offset of field: _xmlSchemaType::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaType , refPrefix) - 184usize] ; ["Offset of field: _xmlSchemaType::contentTypeDef"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contentTypeDef) - 192usize] ; ["Offset of field: _xmlSchemaType::contModel"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contModel) - 200usize] ; ["Offset of field: _xmlSchemaType::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaType , targetNamespace) - 208usize] ; ["Offset of field: _xmlSchemaType::attrUses"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attrUses) - 216usize] ; } ; # [doc = " Schema element definition"] pub type xmlSchemaElement = _xmlSchemaElement ; pub type xmlSchemaElementPtr = * mut xmlSchemaElement ; # [doc = " An element definition.\n\n xmlSchemaType, xmlSchemaFacet and xmlSchemaElement start of\n structures must be kept similar"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaElement { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaType , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub subtypes : * mut xmlSchemaType , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub flags : :: std :: os :: raw :: c_int , pub targetNamespace : * const xmlChar , pub namedType : * const xmlChar , pub namedTypeNs : * const xmlChar , pub substGroup : * const xmlChar , pub substGroupNs : * const xmlChar , pub scope : * const xmlChar , pub value : * const xmlChar , pub refDecl : * mut _xmlSchemaElement , pub contModel : * mut xmlRegexp , pub contentType : xmlSchemaContentType , pub refPrefix : * const xmlChar , pub defVal : * mut xmlSchemaVal , pub idcs : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaElement"] [:: std :: mem :: size_of :: < _xmlSchemaElement > () - 200usize] ; ["Alignment of _xmlSchemaElement"] [:: std :: mem :: align_of :: < _xmlSchemaElement > () - 8usize] ; ["Offset of field: _xmlSchemaElement::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , type_) - 0usize] ; ["Offset of field: _xmlSchemaElement::next"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , next) - 8usize] ; ["Offset of field: _xmlSchemaElement::name"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , name) - 16usize] ; ["Offset of field: _xmlSchemaElement::id"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , id) - 24usize] ; ["Offset of field: _xmlSchemaElement::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , ref_) - 32usize] ; ["Offset of field: _xmlSchemaElement::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refNs) - 40usize] ; ["Offset of field: _xmlSchemaElement::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , annot) - 48usize] ; ["Offset of field: _xmlSchemaElement::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , subtypes) - 56usize] ; ["Offset of field: _xmlSchemaElement::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , attributes) - 64usize] ; ["Offset of field: _xmlSchemaElement::node"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , node) - 72usize] ; ["Offset of field: _xmlSchemaElement::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , minOccurs) - 80usize] ; ["Offset of field: _xmlSchemaElement::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , maxOccurs) - 84usize] ; ["Offset of field: _xmlSchemaElement::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , flags) - 88usize] ; ["Offset of field: _xmlSchemaElement::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , targetNamespace) - 96usize] ; ["Offset of field: _xmlSchemaElement::namedType"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , namedType) - 104usize] ; ["Offset of field: _xmlSchemaElement::namedTypeNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , namedTypeNs) - 112usize] ; ["Offset of field: _xmlSchemaElement::substGroup"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , substGroup) - 120usize] ; ["Offset of field: _xmlSchemaElement::substGroupNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , substGroupNs) - 128usize] ; ["Offset of field: _xmlSchemaElement::scope"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , scope) - 136usize] ; ["Offset of field: _xmlSchemaElement::value"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , value) - 144usize] ; ["Offset of field: _xmlSchemaElement::refDecl"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refDecl) - 152usize] ; ["Offset of field: _xmlSchemaElement::contModel"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , contModel) - 160usize] ; ["Offset of field: _xmlSchemaElement::contentType"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , contentType) - 168usize] ; ["Offset of field: _xmlSchemaElement::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refPrefix) - 176usize] ; ["Offset of field: _xmlSchemaElement::defVal"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , defVal) - 184usize] ; ["Offset of field: _xmlSchemaElement::idcs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , idcs) - 192usize] ; } ; # [doc = " A facet definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaFacet { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaFacet , pub value : * const xmlChar , pub id : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub node : * mut xmlNode , pub fixed : :: std :: os :: raw :: c_int , pub whitespace : :: std :: os :: raw :: c_int , pub val : * mut xmlSchemaVal , pub regexp : * mut xmlRegexp , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaFacet"] [:: std :: mem :: size_of :: < _xmlSchemaFacet > () - 72usize] ; ["Alignment of _xmlSchemaFacet"] [:: std :: mem :: align_of :: < _xmlSchemaFacet > () - 8usize] ; ["Offset of field: _xmlSchemaFacet::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , type_) - 0usize] ; ["Offset of field: _xmlSchemaFacet::next"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , next) - 8usize] ; ["Offset of field: _xmlSchemaFacet::value"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , value) - 16usize] ; ["Offset of field: _xmlSchemaFacet::id"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , id) - 24usize] ; ["Offset of field: _xmlSchemaFacet::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , annot) - 32usize] ; ["Offset of field: _xmlSchemaFacet::node"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , node) - 40usize] ; ["Offset of field: _xmlSchemaFacet::fixed"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , fixed) - 48usize] ; ["Offset of field: _xmlSchemaFacet::whitespace"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , whitespace) - 52usize] ; ["Offset of field: _xmlSchemaFacet::val"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , val) - 56usize] ; ["Offset of field: _xmlSchemaFacet::regexp"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , regexp) - 64usize] ; } ; # [doc = " Schema notation"] pub type xmlSchemaNotation = _xmlSchemaNotation ; pub type xmlSchemaNotationPtr = * mut xmlSchemaNotation ; # [doc = " A notation definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaNotation { pub type_ : xmlSchemaTypeType , pub name : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub identifier : * const xmlChar , pub targetNamespace : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaNotation"] [:: std :: mem :: size_of :: < _xmlSchemaNotation > () - 40usize] ; ["Alignment of _xmlSchemaNotation"] [:: std :: mem :: align_of :: < _xmlSchemaNotation > () - 8usize] ; ["Offset of field: _xmlSchemaNotation::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , type_) - 0usize] ; ["Offset of field: _xmlSchemaNotation::name"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , name) - 8usize] ; ["Offset of field: _xmlSchemaNotation::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , annot) - 16usize] ; ["Offset of field: _xmlSchemaNotation::identifier"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , identifier) - 24usize] ; ["Offset of field: _xmlSchemaNotation::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , targetNamespace) - 32usize] ; } ; # [doc = " A Schemas definition"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchema { pub name : * const xmlChar , pub targetNamespace : * const xmlChar , pub version : * const xmlChar , pub id : * const xmlChar , pub doc : * mut xmlDoc , pub annot : * mut xmlSchemaAnnot , pub flags : :: std :: os :: raw :: c_int , pub typeDecl : * mut xmlHashTable , pub attrDecl : * mut xmlHashTable , pub attrgrpDecl : * mut xmlHashTable , pub elemDecl : * mut xmlHashTable , pub notaDecl : * mut xmlHashTable , pub schemasImports : * mut xmlHashTable , pub _private : * mut :: std :: os :: raw :: c_void , pub groupDecl : * mut xmlHashTable , pub dict : * mut xmlDict , pub includes : * mut :: std :: os :: raw :: c_void , pub preserve : :: std :: os :: raw :: c_int , pub counter : :: std :: os :: raw :: c_int , pub idcDef : * mut xmlHashTable , pub volatiles : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchema"] [:: std :: mem :: size_of :: < _xmlSchema > () - 160usize] ; ["Alignment of _xmlSchema"] [:: std :: mem :: align_of :: < _xmlSchema > () - 8usize] ; ["Offset of field: _xmlSchema::name"] [:: std :: mem :: offset_of ! (_xmlSchema , name) - 0usize] ; ["Offset of field: _xmlSchema::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchema , targetNamespace) - 8usize] ; ["Offset of field: _xmlSchema::version"] [:: std :: mem :: offset_of ! (_xmlSchema , version) - 16usize] ; ["Offset of field: _xmlSchema::id"] [:: std :: mem :: offset_of ! (_xmlSchema , id) - 24usize] ; ["Offset of field: _xmlSchema::doc"] [:: std :: mem :: offset_of ! (_xmlSchema , doc) - 32usize] ; ["Offset of field: _xmlSchema::annot"] [:: std :: mem :: offset_of ! (_xmlSchema , annot) - 40usize] ; ["Offset of field: _xmlSchema::flags"] [:: std :: mem :: offset_of ! (_xmlSchema , flags) - 48usize] ; ["Offset of field: _xmlSchema::typeDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , typeDecl) - 56usize] ; ["Offset of field: _xmlSchema::attrDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , attrDecl) - 64usize] ; ["Offset of field: _xmlSchema::attrgrpDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , attrgrpDecl) - 72usize] ; ["Offset of field: _xmlSchema::elemDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , elemDecl) - 80usize] ; ["Offset of field: _xmlSchema::notaDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , notaDecl) - 88usize] ; ["Offset of field: _xmlSchema::schemasImports"] [:: std :: mem :: offset_of ! (_xmlSchema , schemasImports) - 96usize] ; ["Offset of field: _xmlSchema::_private"] [:: std :: mem :: offset_of ! (_xmlSchema , _private) - 104usize] ; ["Offset of field: _xmlSchema::groupDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , groupDecl) - 112usize] ; ["Offset of field: _xmlSchema::dict"] [:: std :: mem :: offset_of ! (_xmlSchema , dict) - 120usize] ; ["Offset of field: _xmlSchema::includes"] [:: std :: mem :: offset_of ! (_xmlSchema , includes) - 128usize] ; ["Offset of field: _xmlSchema::preserve"] [:: std :: mem :: offset_of ! (_xmlSchema , preserve) - 136usize] ; ["Offset of field: _xmlSchema::counter"] [:: std :: mem :: offset_of ! (_xmlSchema , counter) - 140usize] ; ["Offset of field: _xmlSchema::idcDef"] [:: std :: mem :: offset_of ! (_xmlSchema , idcDef) - 144usize] ; ["Offset of field: _xmlSchema::volatiles"] [:: std :: mem :: offset_of ! (_xmlSchema , volatiles) - 152usize] ; } ; unsafe extern "C" { pub fn xmlSchemaFreeType (type_ : * mut xmlSchemaType) ; } unsafe extern "C" { pub fn xmlSchemaFreeWildcard (wildcard : * mut xmlSchemaWildcard) ; } pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_UNKNOWN : xmlSchemaWhitespaceValueType = 0 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_PRESERVE : xmlSchemaWhitespaceValueType = 1 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_REPLACE : xmlSchemaWhitespaceValueType = 2 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_COLLAPSE : xmlSchemaWhitespaceValueType = 3 ; # [doc = " Schema whitespace value type"] pub type xmlSchemaWhitespaceValueType = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlSchemaInitTypes () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCleanupTypes () ; } unsafe extern "C" { pub fn xmlSchemaGetPredefinedType (name : * const xmlChar , ns : * const xmlChar) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaValidatePredefinedType (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValPredefTypeNode (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal , node : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFacet (base : * mut xmlSchemaType , facet : * mut xmlSchemaFacet , value : * const xmlChar , val : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFacetWhtsp (facet : * mut xmlSchemaFacet , fws : xmlSchemaWhitespaceValueType , valType : xmlSchemaValType , value : * const xmlChar , val : * mut xmlSchemaVal , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaFreeValue (val : * mut xmlSchemaVal) ; } unsafe extern "C" { pub fn xmlSchemaNewFacet () -> * mut xmlSchemaFacet ; } unsafe extern "C" { pub fn xmlSchemaCheckFacet (facet : * mut xmlSchemaFacet , typeDecl : * mut xmlSchemaType , ctxt : * mut xmlSchemaParserCtxt , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaFreeFacet (facet : * mut xmlSchemaFacet) ; } unsafe extern "C" { pub fn xmlSchemaCompareValues (x : * mut xmlSchemaVal , y : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetBuiltInListSimpleTypeItemType (type_ : * mut xmlSchemaType) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaValidateListSimpleTypeFacet (facet : * mut xmlSchemaFacet , value : * const xmlChar , actualLen : :: std :: os :: raw :: c_ulong , expectedLen : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetBuiltInType (type_ : xmlSchemaValType) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaIsBuiltInTypeFacet (type_ : * mut xmlSchemaType , facetType : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCollapseString (value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSchemaWhiteSpaceReplace (value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSchemaGetFacetValueAsULong (facet : * mut xmlSchemaFacet) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlSchemaValidateLengthFacet (type_ : * mut xmlSchemaType , facet : * mut xmlSchemaFacet , value : * const xmlChar , val : * mut xmlSchemaVal , length : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateLengthFacetWhtsp (facet : * mut xmlSchemaFacet , valType : xmlSchemaValType , value : * const xmlChar , val : * mut xmlSchemaVal , length : * mut :: std :: os :: raw :: c_ulong , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValPredefTypeNodeNoNorm (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal , node : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetCanonValue (val : * mut xmlSchemaVal , retValue : * mut * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetCanonValueWhtsp (val : * mut xmlSchemaVal , retValue : * mut * const xmlChar , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValueAppend (prev : * mut xmlSchemaVal , cur : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValueGetNext (cur : * mut xmlSchemaVal) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaValueGetAsString (val : * mut xmlSchemaVal) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSchemaValueGetAsBoolean (val : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaNewStringValue (type_ : xmlSchemaValType , value : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaNewNOTATIONValue (name : * const xmlChar , ns : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaNewQNameValue (namespaceName : * const xmlChar , localName : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaCompareValuesWhtsp (x : * mut xmlSchemaVal , xws : xmlSchemaWhitespaceValueType , y : * mut xmlSchemaVal , yws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCopyValue (val : * mut xmlSchemaVal) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaGetValType (val : * mut xmlSchemaVal) -> xmlSchemaValType ; } pub type __builtin_va_list = [__va_list_tag ; 1usize] ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __va_list_tag { pub gp_offset : :: std :: os :: raw :: c_uint , pub fp_offset : :: std :: os :: raw :: c_uint , pub overflow_arg_area : * mut :: std :: os :: raw :: c_void , pub reg_save_area : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __va_list_tag"] [:: std :: mem :: size_of :: < __va_list_tag > () - 24usize] ; ["Alignment of __va_list_tag"] [:: std :: mem :: align_of :: < __va_list_tag > () - 8usize] ; ["Offset of field: __va_list_tag::gp_offset"] [:: std :: mem :: offset_of ! (__va_list_tag , gp_offset) - 0usize] ; ["Offset of field: __va_list_tag::fp_offset"] [:: std :: mem :: offset_of ! (__va_list_tag , fp_offset) - 4usize] ; ["Offset of field: __va_list_tag::overflow_arg_area"] [:: std :: mem :: offset_of ! (__va_list_tag , overflow_arg_area) - 8usize] ; ["Offset of field: __va_list_tag::reg_save_area"] [:: std :: mem :: offset_of ! (__va_list_tag , reg_save_area) - 16usize] ; } ; # [doc = " dict used to allocate names if any"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDict { pub _address : u8 , }
[INFO] [stdout] 3 + # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] fn extract_bit (byte : u8 , index : usize) -> bool { let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; Self :: extract_bit (byte , index) } # [inline] pub unsafe fn raw_get_bit (this : * const Self , index : usize) -> bool { debug_assert ! (index / 8 < core :: mem :: size_of ::< Storage > ()) ; let byte_index = index / 8 ; let byte = unsafe { * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) } ; Self :: extract_bit (byte , index) } # [inline] fn change_bit (byte : u8 , index : usize , val : bool) -> u8 { let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { byte | mask } else { byte & ! mask } } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; * byte = Self :: change_bit (* byte , index , val) ; } # [inline] pub unsafe fn raw_set_bit (this : * mut Self , index : usize , val : bool) { debug_assert ! (index / 8 < core :: mem :: size_of ::< Storage > ()) ; let byte_index = index / 8 ; let byte = unsafe { (core :: ptr :: addr_of_mut ! ((* this) . storage) as * mut u8) . offset (byte_index as isize) } ; unsafe { * byte = Self :: change_bit (* byte , index , val) } ; } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub unsafe fn raw_get (this : * const Self , bit_offset : usize , bit_width : u8 ,) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < core :: mem :: size_of ::< Storage > ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= core :: mem :: size_of ::< Storage > ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if unsafe { Self :: raw_get_bit (this , i + bit_offset) } { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } # [inline] pub unsafe fn raw_set (this : * mut Self , bit_offset : usize , bit_width : u8 , val : u64 ,) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < core :: mem :: size_of ::< Storage > ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= core :: mem :: size_of ::< Storage > ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; unsafe { Self :: raw_set_bit (this , index + bit_offset , val_bit_is_set) } ; } } } # [derive (PartialEq , Copy , Clone , Hash , Debug , Default)] # [repr (C)] pub struct __BindgenComplex < T > { pub re : T , pub im : T } pub const LIBXML_DOTTED_VERSION : & [u8 ; 7] = b"2.15.2\0" ; pub const LIBXML_VERSION : u32 = 21502 ; pub const LIBXML_VERSION_STRING : & [u8 ; 6] = b"21502\0" ; pub const LIBXML_VERSION_EXTRA : & [u8 ; 1] = b"\0" ; pub const LIBXML_MODULE_EXTENSION : & [u8 ; 4] = b".so\0" ; pub const _STDIO_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2Y : u32 = 0 ; pub const __GLIBC_USE_ISOC23 : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 202405 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __USE_XOPEN2K24 : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_TIME_BITS64 : u32 = 1 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const __GLIBC_USE_C23_STRTOL : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 43 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C23 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C23 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _____fpos_t_defined : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _____fpos64_t_defined : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const __struct_FILE_defined : u32 = 1 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const __cookie_io_functions_t_defined : u32 = 1 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; pub const EOF : i32 = - 1 ; pub const SEEK_SET : u32 = 0 ; pub const SEEK_CUR : u32 = 1 ; pub const SEEK_END : u32 = 2 ; pub const P_tmpdir : & [u8 ; 5] = b"/tmp\0" ; pub const L_tmpnam : u32 = 20 ; pub const TMP_MAX : u32 = 238328 ; pub const _BITS_STDIO_LIM_H : u32 = 1 ; pub const FILENAME_MAX : u32 = 4096 ; pub const L_ctermid : u32 = 9 ; pub const FOPEN_MAX : u32 = 16 ; pub const __HAVE_FLOAT128 : u32 = 1 ; pub const __HAVE_DISTINCT_FLOAT128 : u32 = 1 ; pub const __HAVE_FLOAT64X : u32 = 1 ; pub const __HAVE_FLOAT64X_LONG_DOUBLE : u32 = 1 ; pub const __HAVE_FLOAT16 : u32 = 0 ; pub const __HAVE_FLOAT32 : u32 = 1 ; pub const __HAVE_FLOAT64 : u32 = 1 ; pub const __HAVE_FLOAT32X : u32 = 1 ; pub const __HAVE_FLOAT128X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT16 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT128X : u32 = 0 ; pub const __HAVE_FLOATN_NOT_TYPEDEF : u32 = 0 ; pub const _LIBC_LIMITS_H_ : u32 = 1 ; pub const MB_LEN_MAX : u32 = 16 ; pub const _BITS_POSIX1_LIM_H : u32 = 1 ; pub const _POSIX_AIO_LISTIO_MAX : u32 = 2 ; pub const _POSIX_AIO_MAX : u32 = 1 ; pub const _POSIX_ARG_MAX : u32 = 4096 ; pub const _POSIX_CHILD_MAX : u32 = 25 ; pub const _POSIX_DELAYTIMER_MAX : u32 = 32 ; pub const _POSIX_HOST_NAME_MAX : u32 = 255 ; pub const _POSIX_LINK_MAX : u32 = 8 ; pub const _POSIX_LOGIN_NAME_MAX : u32 = 9 ; pub const _POSIX_MAX_CANON : u32 = 255 ; pub const _POSIX_MAX_INPUT : u32 = 255 ; pub const _POSIX_MQ_OPEN_MAX : u32 = 8 ; pub const _POSIX_MQ_PRIO_MAX : u32 = 32 ; pub const _POSIX_NAME_MAX : u32 = 14 ; pub const _POSIX_NGROUPS_MAX : u32 = 8 ; pub const _POSIX_OPEN_MAX : u32 = 20 ; pub const _POSIX_PATH_MAX : u32 = 256 ; pub const _POSIX_PIPE_BUF : u32 = 512 ; pub const _POSIX_RE_DUP_MAX : u32 = 255 ; pub const _POSIX_RTSIG_MAX : u32 = 8 ; pub const _POSIX_SEM_NSEMS_MAX : u32 = 256 ; pub const _POSIX_SEM_VALUE_MAX : u32 = 32767 ; pub const _POSIX_SIGQUEUE_MAX : u32 = 32 ; pub const _POSIX_SSIZE_MAX : u32 = 32767 ; pub const _POSIX_STREAM_MAX : u32 = 8 ; pub const _POSIX_SYMLINK_MAX : u32 = 255 ; pub const _POSIX_SYMLOOP_MAX : u32 = 8 ; pub const _POSIX_TIMER_MAX : u32 = 32 ; pub const _POSIX_TTY_NAME_MAX : u32 = 9 ; pub const _POSIX_TZNAME_MAX : u32 = 6 ; pub const _POSIX_CLOCKRES_MIN : u32 = 20000000 ; pub const NR_OPEN : u32 = 1024 ; pub const NGROUPS_MAX : u32 = 65536 ; pub const ARG_MAX : u32 = 131072 ; pub const LINK_MAX : u32 = 127 ; pub const MAX_CANON : u32 = 255 ; pub const MAX_INPUT : u32 = 255 ; pub const NAME_MAX : u32 = 255 ; pub const PATH_MAX : u32 = 4096 ; pub const PIPE_BUF : u32 = 4096 ; pub const XATTR_NAME_MAX : u32 = 255 ; pub const XATTR_SIZE_MAX : u32 = 65536 ; pub const XATTR_LIST_MAX : u32 = 65536 ; pub const RTSIG_MAX : u32 = 32 ; pub const _POSIX_THREAD_KEYS_MAX : u32 = 128 ; pub const PTHREAD_KEYS_MAX : u32 = 1024 ; pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const PTHREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const _POSIX_THREAD_THREADS_MAX : u32 = 64 ; pub const AIO_PRIO_DELTA_MAX : u32 = 20 ; pub const PTHREAD_STACK_MIN : u32 = 16384 ; pub const DELAYTIMER_MAX : u32 = 2147483647 ; pub const TTY_NAME_MAX : u32 = 32 ; pub const LOGIN_NAME_MAX : u32 = 256 ; pub const HOST_NAME_MAX : u32 = 64 ; pub const MQ_PRIO_MAX : u32 = 32768 ; pub const SEM_VALUE_MAX : u32 = 2147483647 ; pub const _BITS_POSIX2_LIM_H : u32 = 1 ; pub const _POSIX2_BC_BASE_MAX : u32 = 99 ; pub const _POSIX2_BC_DIM_MAX : u32 = 2048 ; pub const _POSIX2_BC_SCALE_MAX : u32 = 99 ; pub const _POSIX2_BC_STRING_MAX : u32 = 1000 ; pub const _POSIX2_COLL_WEIGHTS_MAX : u32 = 2 ; pub const _POSIX2_EXPR_NEST_MAX : u32 = 32 ; pub const _POSIX2_LINE_MAX : u32 = 2048 ; pub const _POSIX2_RE_DUP_MAX : u32 = 255 ; pub const _POSIX2_CHARCLASS_NAME_MAX : u32 = 14 ; pub const BC_BASE_MAX : u32 = 99 ; pub const BC_DIM_MAX : u32 = 2048 ; pub const BC_SCALE_MAX : u32 = 99 ; pub const BC_STRING_MAX : u32 = 1000 ; pub const COLL_WEIGHTS_MAX : u32 = 255 ; pub const EXPR_NEST_MAX : u32 = 32 ; pub const LINE_MAX : u32 = 2048 ; pub const CHARCLASS_NAME_MAX : u32 = 2048 ; pub const RE_DUP_MAX : u32 = 32767 ; pub const xmlDefaultBufferSize : u32 = 4096 ; pub const XML_DOCB_DOCUMENT_NODE : u32 = 21 ; pub const XML_DEFAULT_VERSION : & [u8 ; 4] = b"1.0\0" ; pub const XML_DETECT_IDS : u32 = 2 ; pub const XML_COMPLETE_ATTRS : u32 = 4 ; pub const XML_SKIP_IDS : u32 = 8 ; pub const XML_SAX2_MAGIC : u32 = 3740122799 ; pub const XML_SCHEMAS_ANYATTR_SKIP : u32 = 1 ; pub const XML_SCHEMAS_ANYATTR_LAX : u32 = 2 ; pub const XML_SCHEMAS_ANYATTR_STRICT : u32 = 3 ; pub const XML_SCHEMAS_ANY_SKIP : u32 = 1 ; pub const XML_SCHEMAS_ANY_LAX : u32 = 2 ; pub const XML_SCHEMAS_ANY_STRICT : u32 = 3 ; pub const XML_SCHEMAS_ATTR_USE_PROHIBITED : u32 = 0 ; pub const XML_SCHEMAS_ATTR_USE_REQUIRED : u32 = 1 ; pub const XML_SCHEMAS_ATTR_USE_OPTIONAL : u32 = 2 ; pub const XML_SCHEMAS_ATTR_GLOBAL : u32 = 1 ; pub const XML_SCHEMAS_ATTR_NSDEFAULT : u32 = 128 ; pub const XML_SCHEMAS_ATTR_INTERNAL_RESOLVED : u32 = 256 ; pub const XML_SCHEMAS_ATTR_FIXED : u32 = 512 ; pub const XML_SCHEMAS_WILDCARD_COMPLETE : u32 = 1 ; pub const XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED : u32 = 1 ; pub const XML_SCHEMAS_ATTRGROUP_GLOBAL : u32 = 2 ; pub const XML_SCHEMAS_ATTRGROUP_MARKED : u32 = 4 ; pub const XML_SCHEMAS_ATTRGROUP_REDEFINED : u32 = 8 ; pub const XML_SCHEMAS_ATTRGROUP_HAS_REFS : u32 = 16 ; pub const XML_SCHEMAS_TYPE_MIXED : u32 = 1 ; pub const XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION : u32 = 2 ; pub const XML_SCHEMAS_TYPE_DERIVATION_METHOD_RESTRICTION : u32 = 4 ; pub const XML_SCHEMAS_TYPE_GLOBAL : u32 = 8 ; pub const XML_SCHEMAS_TYPE_OWNED_ATTR_WILDCARD : u32 = 16 ; pub const XML_SCHEMAS_TYPE_VARIETY_ABSENT : u32 = 32 ; pub const XML_SCHEMAS_TYPE_VARIETY_LIST : u32 = 64 ; pub const XML_SCHEMAS_TYPE_VARIETY_UNION : u32 = 128 ; pub const XML_SCHEMAS_TYPE_VARIETY_ATOMIC : u32 = 256 ; pub const XML_SCHEMAS_TYPE_FINAL_EXTENSION : u32 = 512 ; pub const XML_SCHEMAS_TYPE_FINAL_RESTRICTION : u32 = 1024 ; pub const XML_SCHEMAS_TYPE_FINAL_LIST : u32 = 2048 ; pub const XML_SCHEMAS_TYPE_FINAL_UNION : u32 = 4096 ; pub const XML_SCHEMAS_TYPE_FINAL_DEFAULT : u32 = 8192 ; pub const XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE : u32 = 16384 ; pub const XML_SCHEMAS_TYPE_MARKED : u32 = 65536 ; pub const XML_SCHEMAS_TYPE_BLOCK_DEFAULT : u32 = 131072 ; pub const XML_SCHEMAS_TYPE_BLOCK_EXTENSION : u32 = 262144 ; pub const XML_SCHEMAS_TYPE_BLOCK_RESTRICTION : u32 = 524288 ; pub const XML_SCHEMAS_TYPE_ABSTRACT : u32 = 1048576 ; pub const XML_SCHEMAS_TYPE_FACETSNEEDVALUE : u32 = 2097152 ; pub const XML_SCHEMAS_TYPE_INTERNAL_RESOLVED : u32 = 4194304 ; pub const XML_SCHEMAS_TYPE_INTERNAL_INVALID : u32 = 8388608 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_PRESERVE : u32 = 16777216 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_REPLACE : u32 = 33554432 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_COLLAPSE : u32 = 67108864 ; pub const XML_SCHEMAS_TYPE_HAS_FACETS : u32 = 134217728 ; pub const XML_SCHEMAS_TYPE_NORMVALUENEEDED : u32 = 268435456 ; pub const XML_SCHEMAS_TYPE_FIXUP_1 : u32 = 536870912 ; pub const XML_SCHEMAS_TYPE_REDEFINED : u32 = 1073741824 ; pub const XML_SCHEMAS_ELEM_NILLABLE : u32 = 1 ; pub const XML_SCHEMAS_ELEM_GLOBAL : u32 = 2 ; pub const XML_SCHEMAS_ELEM_DEFAULT : u32 = 4 ; pub const XML_SCHEMAS_ELEM_FIXED : u32 = 8 ; pub const XML_SCHEMAS_ELEM_ABSTRACT : u32 = 16 ; pub const XML_SCHEMAS_ELEM_TOPLEVEL : u32 = 32 ; pub const XML_SCHEMAS_ELEM_REF : u32 = 64 ; pub const XML_SCHEMAS_ELEM_NSDEFAULT : u32 = 128 ; pub const XML_SCHEMAS_ELEM_INTERNAL_RESOLVED : u32 = 256 ; pub const XML_SCHEMAS_ELEM_CIRCULAR : u32 = 512 ; pub const XML_SCHEMAS_ELEM_BLOCK_ABSENT : u32 = 1024 ; pub const XML_SCHEMAS_ELEM_BLOCK_EXTENSION : u32 = 2048 ; pub const XML_SCHEMAS_ELEM_BLOCK_RESTRICTION : u32 = 4096 ; pub const XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION : u32 = 8192 ; pub const XML_SCHEMAS_ELEM_FINAL_ABSENT : u32 = 16384 ; pub const XML_SCHEMAS_ELEM_FINAL_EXTENSION : u32 = 32768 ; pub const XML_SCHEMAS_ELEM_FINAL_RESTRICTION : u32 = 65536 ; pub const XML_SCHEMAS_ELEM_SUBST_GROUP_HEAD : u32 = 131072 ; pub const XML_SCHEMAS_ELEM_INTERNAL_CHECKED : u32 = 262144 ; pub const XML_SCHEMAS_FACET_UNKNOWN : u32 = 0 ; pub const XML_SCHEMAS_FACET_PRESERVE : u32 = 1 ; pub const XML_SCHEMAS_FACET_REPLACE : u32 = 2 ; pub const XML_SCHEMAS_FACET_COLLAPSE : u32 = 3 ; pub const XML_SCHEMAS_QUALIF_ELEM : u32 = 1 ; pub const XML_SCHEMAS_QUALIF_ATTR : u32 = 2 ; pub const XML_SCHEMAS_FINAL_DEFAULT_EXTENSION : u32 = 4 ; pub const XML_SCHEMAS_FINAL_DEFAULT_RESTRICTION : u32 = 8 ; pub const XML_SCHEMAS_FINAL_DEFAULT_LIST : u32 = 16 ; pub const XML_SCHEMAS_FINAL_DEFAULT_UNION : u32 = 32 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_EXTENSION : u32 = 64 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_RESTRICTION : u32 = 128 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_SUBSTITUTION : u32 = 256 ; pub const XML_SCHEMAS_INCLUDING_CONVERT_NS : u32 = 512 ; unsafe extern "C" { pub fn xmlCheckVersion (version : :: std :: os :: raw :: c_int) ; } pub type __gnuc_va_list = __builtin_va_list ; pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [:: std :: os :: raw :: c_int ; 2usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __fsid_t"] [:: std :: mem :: size_of :: < __fsid_t > () - 8usize] ; ["Alignment of __fsid_t"] [:: std :: mem :: align_of :: < __fsid_t > () - 4usize] ; ["Offset of field: __fsid_t::__val"] [:: std :: mem :: offset_of ! (__fsid_t , __val) - 0usize] ; } ; pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __suseconds64_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Copy , Clone)] pub struct __mbstate_t { pub __count : :: std :: os :: raw :: c_int , pub __value : __mbstate_t__bindgen_ty_1 , } # [repr (C)] # [derive (Copy , Clone)] pub union __mbstate_t__bindgen_ty_1 { pub __wch : :: std :: os :: raw :: c_uint , pub __wchb : [:: std :: os :: raw :: c_char ; 4usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __mbstate_t__bindgen_ty_1"] [:: std :: mem :: size_of :: < __mbstate_t__bindgen_ty_1 > () - 4usize] ; ["Alignment of __mbstate_t__bindgen_ty_1"] [:: std :: mem :: align_of :: < __mbstate_t__bindgen_ty_1 > () - 4usize] ; ["Offset of field: __mbstate_t__bindgen_ty_1::__wch"] [:: std :: mem :: offset_of ! (__mbstate_t__bindgen_ty_1 , __wch) - 0usize] ; ["Offset of field: __mbstate_t__bindgen_ty_1::__wchb"] [:: std :: mem :: offset_of ! (__mbstate_t__bindgen_ty_1 , __wchb) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __mbstate_t"] [:: std :: mem :: size_of :: < __mbstate_t > () - 8usize] ; ["Alignment of __mbstate_t"] [:: std :: mem :: align_of :: < __mbstate_t > () - 4usize] ; ["Offset of field: __mbstate_t::__count"] [:: std :: mem :: offset_of ! (__mbstate_t , __count) - 0usize] ; ["Offset of field: __mbstate_t::__value"] [:: std :: mem :: offset_of ! (__mbstate_t , __value) - 4usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos_t { pub __pos : __off_t , pub __state : __mbstate_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _G_fpos_t"] [:: std :: mem :: size_of :: < _G_fpos_t > () - 16usize] ; ["Alignment of _G_fpos_t"] [:: std :: mem :: align_of :: < _G_fpos_t > () - 8usize] ; ["Offset of field: _G_fpos_t::__pos"] [:: std :: mem :: offset_of ! (_G_fpos_t , __pos) - 0usize] ; ["Offset of field: _G_fpos_t::__state"] [:: std :: mem :: offset_of ! (_G_fpos_t , __state) - 8usize] ; } ; pub type __fpos_t = _G_fpos_t ; # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos64_t { pub __pos : __off64_t , pub __state : __mbstate_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _G_fpos64_t"] [:: std :: mem :: size_of :: < _G_fpos64_t > () - 16usize] ; ["Alignment of _G_fpos64_t"] [:: std :: mem :: align_of :: < _G_fpos64_t > () - 8usize] ; ["Offset of field: _G_fpos64_t::__pos"] [:: std :: mem :: offset_of ! (_G_fpos64_t , __pos) - 0usize] ; ["Offset of field: _G_fpos64_t::__state"] [:: std :: mem :: offset_of ! (_G_fpos64_t , __state) - 8usize] ; } ; pub type __fpos64_t = _G_fpos64_t ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: std :: os :: raw :: c_int , pub _IO_read_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_read_end : * mut :: std :: os :: raw :: c_char , pub _IO_read_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_write_end : * mut :: std :: os :: raw :: c_char , pub _IO_buf_base : * mut :: std :: os :: raw :: c_char , pub _IO_buf_end : * mut :: std :: os :: raw :: c_char , pub _IO_save_base : * mut :: std :: os :: raw :: c_char , pub _IO_backup_base : * mut :: std :: os :: raw :: c_char , pub _IO_save_end : * mut :: std :: os :: raw :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: std :: os :: raw :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: std :: os :: raw :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: std :: os :: raw :: c_ushort , pub _vtable_offset : :: std :: os :: raw :: c_schar , pub _shortbuf : [:: std :: os :: raw :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: std :: os :: raw :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: std :: os :: raw :: c_int , pub _unused3 : :: std :: os :: raw :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: std :: os :: raw :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: std :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: std :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: std :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: std :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: std :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: std :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: std :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: std :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: std :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: std :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: std :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: std :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: std :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: std :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: std :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: std :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: std :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: std :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: std :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: std :: os :: raw :: c_int { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: std :: os :: raw :: c_int) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub unsafe fn _flags2_raw (this : * const Self) -> :: std :: os :: raw :: c_int { unsafe { u32::cast_signed (< __BindgenBitfieldUnit < [u8 ; 3usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 0usize , 24u8 ,) as u32) } } # [inline] pub unsafe fn set__flags2_raw (this : * mut Self , val : :: std :: os :: raw :: c_int) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 3usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 0usize , 24u8 , val as u64 ,) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: std :: os :: raw :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { :: std :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } pub type cookie_read_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_write_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_seek_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; pub type cookie_close_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_cookie_io_functions_t { pub read : cookie_read_function_t , pub write : cookie_write_function_t , pub seek : cookie_seek_function_t , pub close : cookie_close_function_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_cookie_io_functions_t"] [:: std :: mem :: size_of :: < _IO_cookie_io_functions_t > () - 32usize] ; ["Alignment of _IO_cookie_io_functions_t"] [:: std :: mem :: align_of :: < _IO_cookie_io_functions_t > () - 8usize] ; ["Offset of field: _IO_cookie_io_functions_t::read"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , read) - 0usize] ; ["Offset of field: _IO_cookie_io_functions_t::write"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , write) - 8usize] ; ["Offset of field: _IO_cookie_io_functions_t::seek"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , seek) - 16usize] ; ["Offset of field: _IO_cookie_io_functions_t::close"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , close) - 24usize] ; } ; pub type cookie_io_functions_t = _IO_cookie_io_functions_t ; pub type va_list = __gnuc_va_list ; pub type off_t = __off_t ; pub type fpos_t = __fpos_t ; unsafe extern "C" { pub static mut stdin : * mut FILE ; } unsafe extern "C" { pub static mut stdout : * mut FILE ; } unsafe extern "C" { pub static mut stderr : * mut FILE ; } unsafe extern "C" { pub fn remove (__filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn rename (__old : * const :: std :: os :: raw :: c_char , __new : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn renameat (__oldfd : :: std :: os :: raw :: c_int , __old : * const :: std :: os :: raw :: c_char , __newfd : :: std :: os :: raw :: c_int , __new : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fclose (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn tmpfile () -> * mut FILE ; } unsafe extern "C" { pub fn tmpnam (arg1 : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn tmpnam_r (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn tempnam (__dir : * const :: std :: os :: raw :: c_char , __pfx : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn fflush (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fflush_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn freopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> * mut FILE ; } unsafe extern "C" { pub fn fdopen (__fd : :: std :: os :: raw :: c_int , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn fopencookie (__magic_cookie : * mut :: std :: os :: raw :: c_void , __modes : * const :: std :: os :: raw :: c_char , __io_funcs : cookie_io_functions_t) -> * mut FILE ; } unsafe extern "C" { pub fn fmemopen (__s : * mut :: std :: os :: raw :: c_void , __len : usize , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn open_memstream (__bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize) -> * mut FILE ; } unsafe extern "C" { pub fn setbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn setvbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn setbuffer (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize) ; } unsafe extern "C" { pub fn setlinebuf (__stream : * mut FILE) ; } unsafe extern "C" { pub fn fprintf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn printf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn sprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vfprintf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vprintf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn snprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsnprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vasprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __f : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vdprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn dprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fscanf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn scanf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn sscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } pub type __cfloat128 = __BindgenComplex < u128 > ; pub type _Float128 = u128 ; pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = u128 ; unsafe extern "C" { # [link_name = "\u{1}__isoc99_fscanf"] pub fn fscanf1 (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_scanf"] pub fn scanf1 (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_sscanf"] pub fn sscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vfscanf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vscanf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vfscanf"] pub fn vfscanf1 (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vscanf"] pub fn vscanf1 (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vsscanf"] pub fn vsscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgetc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getchar () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getchar_unlocked () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgetc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fputc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putchar (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fputc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putchar_unlocked (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getw (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putw (__w : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgets (__s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn __getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn getline (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn fputs (__s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn puts (__s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ungetc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fread (__ptr : * mut :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __stream : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn fwrite (__ptr : * const :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __s : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn fread_unlocked (__ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } unsafe extern "C" { pub fn fwrite_unlocked (__ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } unsafe extern "C" { pub fn fseek (__stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ftell (__stream : * mut FILE) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn rewind (__stream : * mut FILE) ; } unsafe extern "C" { pub fn fseeko (__stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ftello (__stream : * mut FILE) -> __off_t ; } unsafe extern "C" { pub fn fgetpos (__stream : * mut FILE , __pos : * mut fpos_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fsetpos (__stream : * mut FILE , __pos : * const fpos_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn clearerr (__stream : * mut FILE) ; } unsafe extern "C" { pub fn feof (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ferror (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn clearerr_unlocked (__stream : * mut FILE) ; } unsafe extern "C" { pub fn feof_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ferror_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn perror (__s : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn fileno (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fileno_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn pclose (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn popen (__command : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn ctermid (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn flockfile (__stream : * mut FILE) ; } unsafe extern "C" { pub fn ftrylockfile (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn funlockfile (__stream : * mut FILE) ; } unsafe extern "C" { pub fn __uflow (arg1 : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __overflow (arg1 : * mut FILE , arg2 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " This is a basic byte in an UTF-8 encoded string.\n It's unsigned allowing to pinpoint case where char * are assigned\n to xmlChar * (possibly making serialization back impossible)."] pub type xmlChar = :: std :: os :: raw :: c_uchar ; unsafe extern "C" { pub fn xmlStrdup (cur : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrndup (cur : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCharStrndup (cur : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCharStrdup (cur : * const :: std :: os :: raw :: c_char) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrsub (str_ : * const xmlChar , start : :: std :: os :: raw :: c_int , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrchr (str_ : * const xmlChar , val : xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrstr (str_ : * const xmlChar , val : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrcasestr (str_ : * const xmlChar , val : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrcmp (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrncmp (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrcasecmp (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrncasecmp (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrEqual (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrQEqual (pref : * const xmlChar , name : * const xmlChar , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrlen (str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrcat (cur : * mut xmlChar , add : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrncat (cur : * mut xmlChar , add : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrncatNew (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrPrintf (buf : * mut xmlChar , len : :: std :: os :: raw :: c_int , msg : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrVPrintf (buf : * mut xmlChar , len : :: std :: os :: raw :: c_int , msg : * const :: std :: os :: raw :: c_char , ap : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetUTF8Char (utf : * const :: std :: os :: raw :: c_uchar , len : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCheckUTF8 (utf : * const :: std :: os :: raw :: c_uchar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strsize (utf : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strndup (utf : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strpos (utf : * const xmlChar , pos : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strloc (utf : * const xmlChar , utfchar : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strsub (utf : * const xmlChar , start : :: std :: os :: raw :: c_int , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strlen (utf : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Size (utf : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Charcmp (utf1 : * const xmlChar , utf2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } # [doc = " Signature for a free() implementation.\n\n @param mem  an already allocated block of memory"] pub type xmlFreeFunc = :: std :: option :: Option < unsafe extern "C" fn (mem : * mut :: std :: os :: raw :: c_void) > ; # [doc = " Signature for a malloc() implementation.\n\n @param size  the size requested in bytes\n @returns a pointer to the newly allocated block or NULL in case of error."] pub type xmlMallocFunc = :: std :: option :: Option < unsafe extern "C" fn (size : usize) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Signature for a realloc() implementation.\n\n @param mem  an already allocated block of memory\n @param size  the new size requested in bytes\n @returns a pointer to the newly reallocated block or NULL in case of error."] pub type xmlReallocFunc = :: std :: option :: Option < unsafe extern "C" fn (mem : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Signature for an strdup() implementation.\n\n @param str  a zero terminated string\n @returns the copy of the string or NULL in case of error."] pub type xmlStrdupFunc = :: std :: option :: Option < unsafe extern "C" fn (str_ : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char > ; unsafe extern "C" { # [doc = " The variable holding the libxml malloc() implementation"] pub static mut xmlMalloc : xmlMallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml malloc() implementation for atomic\n data (i.e. blocks not containing pointers), useful when using a\n garbage collecting allocator.\n\n @deprecated Use #xmlMalloc"] pub static mut xmlMallocAtomic : xmlMallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml realloc() implementation"] pub static mut xmlRealloc : xmlReallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml free() implementation"] pub static mut xmlFree : xmlFreeFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml strdup() implementation"] pub static mut xmlMemStrdup : xmlStrdupFunc ; } unsafe extern "C" { pub fn xmlMemSetup (freeFunc : xmlFreeFunc , mallocFunc : xmlMallocFunc , reallocFunc : xmlReallocFunc , strdupFunc : xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemGet (freeFunc : * mut xmlFreeFunc , mallocFunc : * mut xmlMallocFunc , reallocFunc : * mut xmlReallocFunc , strdupFunc : * mut xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGcMemSetup (freeFunc : xmlFreeFunc , mallocFunc : xmlMallocFunc , mallocAtomicFunc : xmlMallocFunc , reallocFunc : xmlReallocFunc , strdupFunc : xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGcMemGet (freeFunc : * mut xmlFreeFunc , mallocFunc : * mut xmlMallocFunc , mallocAtomicFunc : * mut xmlMallocFunc , reallocFunc : * mut xmlReallocFunc , strdupFunc : * mut xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlInitMemory () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCleanupMemory () ; } unsafe extern "C" { pub fn xmlMemSize (ptr : * mut :: std :: os :: raw :: c_void) -> usize ; } unsafe extern "C" { pub fn xmlMemUsed () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemBlocks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemDisplay (fp : * mut FILE) ; } unsafe extern "C" { pub fn xmlMemDisplayLast (fp : * mut FILE , nbBytes : :: std :: os :: raw :: c_long) ; } unsafe extern "C" { pub fn xmlMemShow (fp : * mut FILE , nr : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlMemoryDump () ; } unsafe extern "C" { pub fn xmlMemMalloc (size : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemRealloc (ptr : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemFree (ptr : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlMemoryStrdup (str_ : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlMallocLoc (size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlReallocLoc (ptr : * mut :: std :: os :: raw :: c_void , size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMallocAtomicLoc (size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemStrdupLoc (str_ : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRegexp { _unused : [u8 ; 0] , } # [doc = " A libxml regular expression"] pub type xmlRegexp = _xmlRegexp ; pub type xmlRegexpPtr = * mut xmlRegexp ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRegExecCtxt { _unused : [u8 ; 0] , } # [doc = " A libxml progressive regular expression evaluation context"] pub type xmlRegExecCtxt = _xmlRegExecCtxt ; pub type xmlRegExecCtxtPtr = * mut xmlRegExecCtxt ; unsafe extern "C" { pub fn xmlRegexpCompile (regexp : * const xmlChar) -> * mut xmlRegexp ; } unsafe extern "C" { pub fn xmlRegFreeRegexp (regexp : * mut xmlRegexp) ; } unsafe extern "C" { pub fn xmlRegexpExec (comp : * mut xmlRegexp , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegexpPrint (output : * mut FILE , regexp : * mut xmlRegexp) ; } unsafe extern "C" { pub fn xmlRegexpIsDeterminist (comp : * mut xmlRegexp) -> :: std :: os :: raw :: c_int ; } # [doc = " Callback function when doing a transition in the automata\n\n @param exec  the regular expression context\n @param token  the current token string\n @param transdata  transition data\n @param inputdata  input data"] pub type xmlRegExecCallbacks = :: std :: option :: Option < unsafe extern "C" fn (exec : * mut xmlRegExecCtxt , token : * const xmlChar , transdata : * mut :: std :: os :: raw :: c_void , inputdata : * mut :: std :: os :: raw :: c_void) > ; unsafe extern "C" { pub fn xmlRegNewExecCtxt (comp : * mut xmlRegexp , callback : xmlRegExecCallbacks , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlRegExecCtxt ; } unsafe extern "C" { pub fn xmlRegFreeExecCtxt (exec : * mut xmlRegExecCtxt) ; } unsafe extern "C" { pub fn xmlRegExecPushString (exec : * mut xmlRegExecCtxt , value : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecPushString2 (exec : * mut xmlRegExecCtxt , value : * const xmlChar , value2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecNextValues (exec : * mut xmlRegExecCtxt , nbval : * mut :: std :: os :: raw :: c_int , nbneg : * mut :: std :: os :: raw :: c_int , values : * mut * mut xmlChar , terminal : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecErrInfo (exec : * mut xmlRegExecCtxt , string : * mut * const xmlChar , nbval : * mut :: std :: os :: raw :: c_int , nbneg : * mut :: std :: os :: raw :: c_int , values : * mut * mut xmlChar , terminal : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " Parser input buffer\n\n This struct and all related functions should ultimately\n be removed from the public interface."] pub type xmlParserInputBuffer = _xmlParserInputBuffer ; pub type xmlParserInputBufferPtr = * mut xmlParserInputBuffer ; # [doc = " Output buffer"] pub type xmlOutputBuffer = _xmlOutputBuffer ; pub type xmlOutputBufferPtr = * mut xmlOutputBuffer ; # [doc = " Parser input"] pub type xmlParserInput = _xmlParserInput ; pub type xmlParserInputPtr = * mut xmlParserInput ; # [doc = " Parser context"] pub type xmlParserCtxt = _xmlParserCtxt ; pub type xmlParserCtxtPtr = * mut xmlParserCtxt ; # [doc = " SAX locator"] pub type xmlSAXLocator = _xmlSAXLocator ; pub type xmlSAXLocatorPtr = * mut xmlSAXLocator ; # [doc = " SAX handler"] pub type xmlSAXHandler = _xmlSAXHandler ; pub type xmlSAXHandlerPtr = * mut xmlSAXHandler ; # [doc = " Entity declaration"] pub type xmlEntity = _xmlEntity ; pub type xmlEntityPtr = * mut xmlEntity ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_DOUBLEIT : xmlBufferAllocationScheme = 0 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_EXACT : xmlBufferAllocationScheme = 1 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_IMMUTABLE : xmlBufferAllocationScheme = 2 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_IO : xmlBufferAllocationScheme = 3 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_HYBRID : xmlBufferAllocationScheme = 4 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_BOUNDED : xmlBufferAllocationScheme = 5 ; # [doc = " Removed, buffers always use XML_BUFFER_ALLOC_IO now."] pub type xmlBufferAllocationScheme = :: std :: os :: raw :: c_uint ; # [doc = " Buffer type"] pub type xmlBuffer = _xmlBuffer ; pub type xmlBufferPtr = * mut xmlBuffer ; # [doc = " A buffer structure, this old construct is limited to 2GB and\n is being deprecated, use API with xmlBuf instead."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlBuffer { # [doc = " @deprecated Use #xmlBufferContent\n\n The buffer content UTF8"] pub content : * mut xmlChar , # [doc = " @deprecated Use #xmlBufferLength\n\n The buffer size used"] pub use_ : :: std :: os :: raw :: c_uint , pub size : :: std :: os :: raw :: c_uint , pub alloc : xmlBufferAllocationScheme , pub contentIO : * mut xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlBuffer"] [:: std :: mem :: size_of :: < _xmlBuffer > () - 32usize] ; ["Alignment of _xmlBuffer"] [:: std :: mem :: align_of :: < _xmlBuffer > () - 8usize] ; ["Offset of field: _xmlBuffer::content"] [:: std :: mem :: offset_of ! (_xmlBuffer , content) - 0usize] ; ["Offset of field: _xmlBuffer::use_"] [:: std :: mem :: offset_of ! (_xmlBuffer , use_) - 8usize] ; ["Offset of field: _xmlBuffer::size"] [:: std :: mem :: offset_of ! (_xmlBuffer , size) - 12usize] ; ["Offset of field: _xmlBuffer::alloc"] [:: std :: mem :: offset_of ! (_xmlBuffer , alloc) - 16usize] ; ["Offset of field: _xmlBuffer::contentIO"] [:: std :: mem :: offset_of ! (_xmlBuffer , contentIO) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlBuf { _unused : [u8 ; 0] , } # [doc = " Buffer with 64-bit support"] pub type xmlBuf = _xmlBuf ; pub type xmlBufPtr = * mut xmlBuf ; # [doc = " An element.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_ELEMENT_NODE : xmlElementType = 1 ; # [doc = " An attribute.\n\n Objects of this type are an xmlAttr."] pub const xmlElementType_XML_ATTRIBUTE_NODE : xmlElementType = 2 ; # [doc = " A text node.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_TEXT_NODE : xmlElementType = 3 ; # [doc = " A CDATA section.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_CDATA_SECTION_NODE : xmlElementType = 4 ; # [doc = " An entity reference.\n\n Objects of this type are an xmlNode. The `children` member\n points to the entity declaration if available."] pub const xmlElementType_XML_ENTITY_REF_NODE : xmlElementType = 5 ; # [doc = " unused"] pub const xmlElementType_XML_ENTITY_NODE : xmlElementType = 6 ; # [doc = " A processing instruction.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_PI_NODE : xmlElementType = 7 ; # [doc = " A comment.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_COMMENT_NODE : xmlElementType = 8 ; # [doc = " A document.\n\n Objects of this type are an xmlDoc."] pub const xmlElementType_XML_DOCUMENT_NODE : xmlElementType = 9 ; # [doc = " unused"] pub const xmlElementType_XML_DOCUMENT_TYPE_NODE : xmlElementType = 10 ; # [doc = " A document fragment.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_DOCUMENT_FRAG_NODE : xmlElementType = 11 ; # [doc = " A notation, unused"] pub const xmlElementType_XML_NOTATION_NODE : xmlElementType = 12 ; # [doc = " An HTML document.\n\n Objects of this type are an xmlDoc."] pub const xmlElementType_XML_HTML_DOCUMENT_NODE : xmlElementType = 13 ; # [doc = " A document type definition.\n\n Objects of this type are an xmlDtd."] pub const xmlElementType_XML_DTD_NODE : xmlElementType = 14 ; # [doc = " An element declaration.\n\n Objects of this type are an xmlElement."] pub const xmlElementType_XML_ELEMENT_DECL : xmlElementType = 15 ; # [doc = " An attribute declaration.\n\n Objects of this type are an xmlAttribute."] pub const xmlElementType_XML_ATTRIBUTE_DECL : xmlElementType = 16 ; # [doc = " An entity declaration.\n\n Objects of this type are an xmlEntity."] pub const xmlElementType_XML_ENTITY_DECL : xmlElementType = 17 ; # [doc = " An XPath namespace node.\n\n Can only be returned by the XPath engine. Objects of this\n type are an xmlNs which has a completely different layout\n than xmlNode. The `next` member contains a pointer to the\n xmlNode element to which the namespace applies.\n\n Nodes of this type must be handled with extreme care to\n avoid type confusion bugs."] pub const xmlElementType_XML_NAMESPACE_DECL : xmlElementType = 18 ; # [doc = " An XInclude start marker.\n\n Objects of this type are an xmlNode. Inserted as preceding\n sibling of XIncluded content."] pub const xmlElementType_XML_XINCLUDE_START : xmlElementType = 19 ; # [doc = " An XInclude end marker.\n\n Objects of this type are an xmlNode. Inserted as following\n sibling of XIncluded content."] pub const xmlElementType_XML_XINCLUDE_END : xmlElementType = 20 ; # [doc = " The different element types carried by an XML tree.\n\n NOTE: This is synchronized with DOM Level 1 values.\n       See http://www.w3.org/TR/REC-DOM-Level-1/\n\n Actually this had diverged a bit, and XML_DTD_NODE is used instead\n of XML_DOCUMENT_TYPE_NODE."] pub type xmlElementType = :: std :: os :: raw :: c_uint ; # [doc = " Notation declaration"] pub type xmlNotation = _xmlNotation ; pub type xmlNotationPtr = * mut xmlNotation ; # [doc = " A DTD Notation definition.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNotation { # [doc = " Notation name"] pub name : * const xmlChar , # [doc = " Public identifier, if any"] pub PublicID : * const xmlChar , # [doc = " System identifier, if any"] pub SystemID : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNotation"] [:: std :: mem :: size_of :: < _xmlNotation > () - 24usize] ; ["Alignment of _xmlNotation"] [:: std :: mem :: align_of :: < _xmlNotation > () - 8usize] ; ["Offset of field: _xmlNotation::name"] [:: std :: mem :: offset_of ! (_xmlNotation , name) - 0usize] ; ["Offset of field: _xmlNotation::PublicID"] [:: std :: mem :: offset_of ! (_xmlNotation , PublicID) - 8usize] ; ["Offset of field: _xmlNotation::SystemID"] [:: std :: mem :: offset_of ! (_xmlNotation , SystemID) - 16usize] ; } ; pub const xmlAttributeType_XML_ATTRIBUTE_CDATA : xmlAttributeType = 1 ; pub const xmlAttributeType_XML_ATTRIBUTE_ID : xmlAttributeType = 2 ; pub const xmlAttributeType_XML_ATTRIBUTE_IDREF : xmlAttributeType = 3 ; pub const xmlAttributeType_XML_ATTRIBUTE_IDREFS : xmlAttributeType = 4 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENTITY : xmlAttributeType = 5 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENTITIES : xmlAttributeType = 6 ; pub const xmlAttributeType_XML_ATTRIBUTE_NMTOKEN : xmlAttributeType = 7 ; pub const xmlAttributeType_XML_ATTRIBUTE_NMTOKENS : xmlAttributeType = 8 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENUMERATION : xmlAttributeType = 9 ; pub const xmlAttributeType_XML_ATTRIBUTE_NOTATION : xmlAttributeType = 10 ; # [doc = " A DTD Attribute type definition."] pub type xmlAttributeType = :: std :: os :: raw :: c_uint ; pub const xmlAttributeDefault_XML_ATTRIBUTE_NONE : xmlAttributeDefault = 1 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_REQUIRED : xmlAttributeDefault = 2 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_IMPLIED : xmlAttributeDefault = 3 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_FIXED : xmlAttributeDefault = 4 ; # [doc = " A DTD Attribute default definition."] pub type xmlAttributeDefault = :: std :: os :: raw :: c_uint ; # [doc = " Enumeration in a DTD"] pub type xmlEnumeration = _xmlEnumeration ; pub type xmlEnumerationPtr = * mut xmlEnumeration ; # [doc = " List structure used when there is an enumeration in DTDs.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlEnumeration { # [doc = " next enumeration"] pub next : * mut _xmlEnumeration , # [doc = " value"] pub name : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlEnumeration"] [:: std :: mem :: size_of :: < _xmlEnumeration > () - 16usize] ; ["Alignment of _xmlEnumeration"] [:: std :: mem :: align_of :: < _xmlEnumeration > () - 8usize] ; ["Offset of field: _xmlEnumeration::next"] [:: std :: mem :: offset_of ! (_xmlEnumeration , next) - 0usize] ; ["Offset of field: _xmlEnumeration::name"] [:: std :: mem :: offset_of ! (_xmlEnumeration , name) - 8usize] ; } ; # [doc = " Attribute declaration"] pub type xmlAttribute = _xmlAttribute ; pub type xmlAttributePtr = * mut xmlAttribute ; # [doc = " An Attribute declaration in a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttribute { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ATTRIBUTE_DECL"] pub type_ : xmlElementType , # [doc = " attribute name"] pub name : * const xmlChar , # [doc = " NULL"] pub children : * mut _xmlNode , # [doc = " NULL"] pub last : * mut _xmlNode , # [doc = " DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " next in hash table"] pub nexth : * mut _xmlAttribute , # [doc = " attribute type"] pub atype : xmlAttributeType , # [doc = " attribute default"] pub def : xmlAttributeDefault , # [doc = " default value"] pub defaultValue : * mut xmlChar , # [doc = " enumeration tree if any"] pub tree : * mut xmlEnumeration , # [doc = " namespace prefix if any"] pub prefix : * const xmlChar , # [doc = " element name"] pub elem : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlAttribute"] [:: std :: mem :: size_of :: < _xmlAttribute > () - 120usize] ; ["Alignment of _xmlAttribute"] [:: std :: mem :: align_of :: < _xmlAttribute > () - 8usize] ; ["Offset of field: _xmlAttribute::_private"] [:: std :: mem :: offset_of ! (_xmlAttribute , _private) - 0usize] ; ["Offset of field: _xmlAttribute::type_"] [:: std :: mem :: offset_of ! (_xmlAttribute , type_) - 8usize] ; ["Offset of field: _xmlAttribute::name"] [:: std :: mem :: offset_of ! (_xmlAttribute , name) - 16usize] ; ["Offset of field: _xmlAttribute::children"] [:: std :: mem :: offset_of ! (_xmlAttribute , children) - 24usize] ; ["Offset of field: _xmlAttribute::last"] [:: std :: mem :: offset_of ! (_xmlAttribute , last) - 32usize] ; ["Offset of field: _xmlAttribute::parent"] [:: std :: mem :: offset_of ! (_xmlAttribute , parent) - 40usize] ; ["Offset of field: _xmlAttribute::next"] [:: std :: mem :: offset_of ! (_xmlAttribute , next) - 48usize] ; ["Offset of field: _xmlAttribute::prev"] [:: std :: mem :: offset_of ! (_xmlAttribute , prev) - 56usize] ; ["Offset of field: _xmlAttribute::doc"] [:: std :: mem :: offset_of ! (_xmlAttribute , doc) - 64usize] ; ["Offset of field: _xmlAttribute::nexth"] [:: std :: mem :: offset_of ! (_xmlAttribute , nexth) - 72usize] ; ["Offset of field: _xmlAttribute::atype"] [:: std :: mem :: offset_of ! (_xmlAttribute , atype) - 80usize] ; ["Offset of field: _xmlAttribute::def"] [:: std :: mem :: offset_of ! (_xmlAttribute , def) - 84usize] ; ["Offset of field: _xmlAttribute::defaultValue"] [:: std :: mem :: offset_of ! (_xmlAttribute , defaultValue) - 88usize] ; ["Offset of field: _xmlAttribute::tree"] [:: std :: mem :: offset_of ! (_xmlAttribute , tree) - 96usize] ; ["Offset of field: _xmlAttribute::prefix"] [:: std :: mem :: offset_of ! (_xmlAttribute , prefix) - 104usize] ; ["Offset of field: _xmlAttribute::elem"] [:: std :: mem :: offset_of ! (_xmlAttribute , elem) - 112usize] ; } ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_PCDATA : xmlElementContentType = 1 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_ELEMENT : xmlElementContentType = 2 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_SEQ : xmlElementContentType = 3 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_OR : xmlElementContentType = 4 ; # [doc = " Possible definitions of element content types."] pub type xmlElementContentType = :: std :: os :: raw :: c_uint ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_ONCE : xmlElementContentOccur = 1 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_OPT : xmlElementContentOccur = 2 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_MULT : xmlElementContentOccur = 3 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_PLUS : xmlElementContentOccur = 4 ; # [doc = " Possible definitions of element content occurrences."] pub type xmlElementContentOccur = :: std :: os :: raw :: c_uint ; # [doc = " Element content in element declarations"] pub type xmlElementContent = _xmlElementContent ; pub type xmlElementContentPtr = * mut xmlElementContent ; # [doc = " An XML Element content as stored after parsing an element definition\n in a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlElementContent { # [doc = " PCDATA, ELEMENT, SEQ or OR"] pub type_ : xmlElementContentType , # [doc = " ONCE, OPT, MULT or PLUS"] pub ocur : xmlElementContentOccur , # [doc = " element name"] pub name : * const xmlChar , # [doc = " first child"] pub c1 : * mut _xmlElementContent , # [doc = " second child"] pub c2 : * mut _xmlElementContent , # [doc = " parent"] pub parent : * mut _xmlElementContent , # [doc = " namespace prefix"] pub prefix : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlElementContent"] [:: std :: mem :: size_of :: < _xmlElementContent > () - 48usize] ; ["Alignment of _xmlElementContent"] [:: std :: mem :: align_of :: < _xmlElementContent > () - 8usize] ; ["Offset of field: _xmlElementContent::type_"] [:: std :: mem :: offset_of ! (_xmlElementContent , type_) - 0usize] ; ["Offset of field: _xmlElementContent::ocur"] [:: std :: mem :: offset_of ! (_xmlElementContent , ocur) - 4usize] ; ["Offset of field: _xmlElementContent::name"] [:: std :: mem :: offset_of ! (_xmlElementContent , name) - 8usize] ; ["Offset of field: _xmlElementContent::c1"] [:: std :: mem :: offset_of ! (_xmlElementContent , c1) - 16usize] ; ["Offset of field: _xmlElementContent::c2"] [:: std :: mem :: offset_of ! (_xmlElementContent , c2) - 24usize] ; ["Offset of field: _xmlElementContent::parent"] [:: std :: mem :: offset_of ! (_xmlElementContent , parent) - 32usize] ; ["Offset of field: _xmlElementContent::prefix"] [:: std :: mem :: offset_of ! (_xmlElementContent , prefix) - 40usize] ; } ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_UNDEFINED : xmlElementTypeVal = 0 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_EMPTY : xmlElementTypeVal = 1 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_ANY : xmlElementTypeVal = 2 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_MIXED : xmlElementTypeVal = 3 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_ELEMENT : xmlElementTypeVal = 4 ; # [doc = " The different possibilities for an element content type."] pub type xmlElementTypeVal = :: std :: os :: raw :: c_uint ; # [doc = " Element declaration"] pub type xmlElement = _xmlElement ; pub type xmlElementPtr = * mut xmlElement ; # [doc = " An XML Element declaration from a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlElement { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ELEMENT_DECL"] pub type_ : xmlElementType , # [doc = " element name"] pub name : * const xmlChar , # [doc = " NULL"] pub children : * mut _xmlNode , # [doc = " NULL"] pub last : * mut _xmlNode , # [doc = " -> DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " element type"] pub etype : xmlElementTypeVal , # [doc = " allowed element content"] pub content : * mut xmlElementContent , # [doc = " list of declared attributes"] pub attributes : * mut xmlAttribute , # [doc = " namespace prefix if any"] pub prefix : * const xmlChar , # [doc = " validating regexp"] pub contModel : * mut xmlRegexp , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlElement"] [:: std :: mem :: size_of :: < _xmlElement > () - 112usize] ; ["Alignment of _xmlElement"] [:: std :: mem :: align_of :: < _xmlElement > () - 8usize] ; ["Offset of field: _xmlElement::_private"] [:: std :: mem :: offset_of ! (_xmlElement , _private) - 0usize] ; ["Offset of field: _xmlElement::type_"] [:: std :: mem :: offset_of ! (_xmlElement , type_) - 8usize] ; ["Offset of field: _xmlElement::name"] [:: std :: mem :: offset_of ! (_xmlElement , name) - 16usize] ; ["Offset of field: _xmlElement::children"] [:: std :: mem :: offset_of ! (_xmlElement , children) - 24usize] ; ["Offset of field: _xmlElement::last"] [:: std :: mem :: offset_of ! (_xmlElement , last) - 32usize] ; ["Offset of field: _xmlElement::parent"] [:: std :: mem :: offset_of ! (_xmlElement , parent) - 40usize] ; ["Offset of field: _xmlElement::next"] [:: std :: mem :: offset_of ! (_xmlElement , next) - 48usize] ; ["Offset of field: _xmlElement::prev"] [:: std :: mem :: offset_of ! (_xmlElement , prev) - 56usize] ; ["Offset of field: _xmlElement::doc"] [:: std :: mem :: offset_of ! (_xmlElement , doc) - 64usize] ; ["Offset of field: _xmlElement::etype"] [:: std :: mem :: offset_of ! (_xmlElement , etype) - 72usize] ; ["Offset of field: _xmlElement::content"] [:: std :: mem :: offset_of ! (_xmlElement , content) - 80usize] ; ["Offset of field: _xmlElement::attributes"] [:: std :: mem :: offset_of ! (_xmlElement , attributes) - 88usize] ; ["Offset of field: _xmlElement::prefix"] [:: std :: mem :: offset_of ! (_xmlElement , prefix) - 96usize] ; ["Offset of field: _xmlElement::contModel"] [:: std :: mem :: offset_of ! (_xmlElement , contModel) - 104usize] ; } ; # [doc = " The different element types carried by an XML tree.\n\n NOTE: This is synchronized with DOM Level 1 values.\n       See http://www.w3.org/TR/REC-DOM-Level-1/\n\n Actually this had diverged a bit, and XML_DTD_NODE is used instead\n of XML_DOCUMENT_TYPE_NODE."] pub use self :: xmlElementType as xmlNsType ; # [doc = " Namespace declaration"] pub type xmlNs = _xmlNs ; pub type xmlNsPtr = * mut xmlNs ; # [doc = " An XML namespace.\n Note that prefix == NULL is valid, it defines the default namespace\n within the subtree (until overridden).\n\n xmlNsType is unified with xmlElementType.\n\n Note that the XPath engine returns XPath namespace nodes as\n xmlNs cast to xmlNode. This is a terrible design decision that\n can easily cause type confusion errors. In this case, the `next`\n member points to the xmlNode element to which the namespace\n node belongs."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNs { # [doc = " next namespace"] pub next : * mut _xmlNs , # [doc = " XML_NAMESPACE_DECL"] pub type_ : xmlNsType , # [doc = " namespace URI"] pub href : * const xmlChar , # [doc = " namespace prefix"] pub prefix : * const xmlChar , # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " normally an xmlDoc"] pub context : * mut _xmlDoc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNs"] [:: std :: mem :: size_of :: < _xmlNs > () - 48usize] ; ["Alignment of _xmlNs"] [:: std :: mem :: align_of :: < _xmlNs > () - 8usize] ; ["Offset of field: _xmlNs::next"] [:: std :: mem :: offset_of ! (_xmlNs , next) - 0usize] ; ["Offset of field: _xmlNs::type_"] [:: std :: mem :: offset_of ! (_xmlNs , type_) - 8usize] ; ["Offset of field: _xmlNs::href"] [:: std :: mem :: offset_of ! (_xmlNs , href) - 16usize] ; ["Offset of field: _xmlNs::prefix"] [:: std :: mem :: offset_of ! (_xmlNs , prefix) - 24usize] ; ["Offset of field: _xmlNs::_private"] [:: std :: mem :: offset_of ! (_xmlNs , _private) - 32usize] ; ["Offset of field: _xmlNs::context"] [:: std :: mem :: offset_of ! (_xmlNs , context) - 40usize] ; } ; # [doc = " Document type definition (DTD)"] pub type xmlDtd = _xmlDtd ; pub type xmlDtdPtr = * mut xmlDtd ; # [doc = " An XML DTD, as defined by <!DOCTYPE ... There is actually one for\n the internal subset and for the external subset.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDtd { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_DTD_NODE"] pub type_ : xmlElementType , # [doc = " name of the DTD"] pub name : * const xmlChar , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlDoc , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " hash table for notations if any"] pub notations : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for elements if any"] pub elements : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for attributes if any"] pub attributes : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for entities if any"] pub entities : * mut :: std :: os :: raw :: c_void , # [doc = " public identifier"] pub ExternalID : * mut xmlChar , # [doc = " system identifier"] pub SystemID : * mut xmlChar , # [doc = " hash table for parameter entities if any"] pub pentities : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDtd"] [:: std :: mem :: size_of :: < _xmlDtd > () - 128usize] ; ["Alignment of _xmlDtd"] [:: std :: mem :: align_of :: < _xmlDtd > () - 8usize] ; ["Offset of field: _xmlDtd::_private"] [:: std :: mem :: offset_of ! (_xmlDtd , _private) - 0usize] ; ["Offset of field: _xmlDtd::type_"] [:: std :: mem :: offset_of ! (_xmlDtd , type_) - 8usize] ; ["Offset of field: _xmlDtd::name"] [:: std :: mem :: offset_of ! (_xmlDtd , name) - 16usize] ; ["Offset of field: _xmlDtd::children"] [:: std :: mem :: offset_of ! (_xmlDtd , children) - 24usize] ; ["Offset of field: _xmlDtd::last"] [:: std :: mem :: offset_of ! (_xmlDtd , last) - 32usize] ; ["Offset of field: _xmlDtd::parent"] [:: std :: mem :: offset_of ! (_xmlDtd , parent) - 40usize] ; ["Offset of field: _xmlDtd::next"] [:: std :: mem :: offset_of ! (_xmlDtd , next) - 48usize] ; ["Offset of field: _xmlDtd::prev"] [:: std :: mem :: offset_of ! (_xmlDtd , prev) - 56usize] ; ["Offset of field: _xmlDtd::doc"] [:: std :: mem :: offset_of ! (_xmlDtd , doc) - 64usize] ; ["Offset of field: _xmlDtd::notations"] [:: std :: mem :: offset_of ! (_xmlDtd , notations) - 72usize] ; ["Offset of field: _xmlDtd::elements"] [:: std :: mem :: offset_of ! (_xmlDtd , elements) - 80usize] ; ["Offset of field: _xmlDtd::attributes"] [:: std :: mem :: offset_of ! (_xmlDtd , attributes) - 88usize] ; ["Offset of field: _xmlDtd::entities"] [:: std :: mem :: offset_of ! (_xmlDtd , entities) - 96usize] ; ["Offset of field: _xmlDtd::ExternalID"] [:: std :: mem :: offset_of ! (_xmlDtd , ExternalID) - 104usize] ; ["Offset of field: _xmlDtd::SystemID"] [:: std :: mem :: offset_of ! (_xmlDtd , SystemID) - 112usize] ; ["Offset of field: _xmlDtd::pentities"] [:: std :: mem :: offset_of ! (_xmlDtd , pentities) - 120usize] ; } ; # [doc = " Attribute of an element"] pub type xmlAttr = _xmlAttr ; pub type xmlAttrPtr = * mut xmlAttr ; # [doc = " An attribute of element."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttr { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ATTRIBUTE_NODE"] pub type_ : xmlElementType , # [doc = " local name"] pub name : * const xmlChar , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlNode , # [doc = " next sibling"] pub next : * mut _xmlAttr , # [doc = " previous sibling"] pub prev : * mut _xmlAttr , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " namespace if any"] pub ns : * mut xmlNs , # [doc = " attribute type if validating"] pub atype : xmlAttributeType , # [doc = " for type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " ID struct if any"] pub id : * mut _xmlID , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlAttr"] [:: std :: mem :: size_of :: < _xmlAttr > () - 104usize] ; ["Alignment of _xmlAttr"] [:: std :: mem :: align_of :: < _xmlAttr > () - 8usize] ; ["Offset of field: _xmlAttr::_private"] [:: std :: mem :: offset_of ! (_xmlAttr , _private) - 0usize] ; ["Offset of field: _xmlAttr::type_"] [:: std :: mem :: offset_of ! (_xmlAttr , type_) - 8usize] ; ["Offset of field: _xmlAttr::name"] [:: std :: mem :: offset_of ! (_xmlAttr , name) - 16usize] ; ["Offset of field: _xmlAttr::children"] [:: std :: mem :: offset_of ! (_xmlAttr , children) - 24usize] ; ["Offset of field: _xmlAttr::last"] [:: std :: mem :: offset_of ! (_xmlAttr , last) - 32usize] ; ["Offset of field: _xmlAttr::parent"] [:: std :: mem :: offset_of ! (_xmlAttr , parent) - 40usize] ; ["Offset of field: _xmlAttr::next"] [:: std :: mem :: offset_of ! (_xmlAttr , next) - 48usize] ; ["Offset of field: _xmlAttr::prev"] [:: std :: mem :: offset_of ! (_xmlAttr , prev) - 56usize] ; ["Offset of field: _xmlAttr::doc"] [:: std :: mem :: offset_of ! (_xmlAttr , doc) - 64usize] ; ["Offset of field: _xmlAttr::ns"] [:: std :: mem :: offset_of ! (_xmlAttr , ns) - 72usize] ; ["Offset of field: _xmlAttr::atype"] [:: std :: mem :: offset_of ! (_xmlAttr , atype) - 80usize] ; ["Offset of field: _xmlAttr::psvi"] [:: std :: mem :: offset_of ! (_xmlAttr , psvi) - 88usize] ; ["Offset of field: _xmlAttr::id"] [:: std :: mem :: offset_of ! (_xmlAttr , id) - 96usize] ; } ; # [doc = " Extra data for ID attributes"] pub type xmlID = _xmlID ; pub type xmlIDPtr = * mut xmlID ; # [doc = " An XML ID instance.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlID { pub next : * mut _xmlID , pub value : * mut xmlChar , pub attr : * mut xmlAttr , pub name : * const xmlChar , pub lineno : :: std :: os :: raw :: c_int , pub doc : * mut _xmlDoc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlID"] [:: std :: mem :: size_of :: < _xmlID > () - 48usize] ; ["Alignment of _xmlID"] [:: std :: mem :: align_of :: < _xmlID > () - 8usize] ; ["Offset of field: _xmlID::next"] [:: std :: mem :: offset_of ! (_xmlID , next) - 0usize] ; ["Offset of field: _xmlID::value"] [:: std :: mem :: offset_of ! (_xmlID , value) - 8usize] ; ["Offset of field: _xmlID::attr"] [:: std :: mem :: offset_of ! (_xmlID , attr) - 16usize] ; ["Offset of field: _xmlID::name"] [:: std :: mem :: offset_of ! (_xmlID , name) - 24usize] ; ["Offset of field: _xmlID::lineno"] [:: std :: mem :: offset_of ! (_xmlID , lineno) - 32usize] ; ["Offset of field: _xmlID::doc"] [:: std :: mem :: offset_of ! (_xmlID , doc) - 40usize] ; } ; # [doc = " @cond ignore"] pub type xmlRef = _xmlRef ; pub type xmlRefPtr = * mut xmlRef ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRef { pub next : * mut _xmlRef , pub value : * const xmlChar , pub attr : * mut xmlAttr , pub name : * const xmlChar , pub lineno : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlRef"] [:: std :: mem :: size_of :: < _xmlRef > () - 40usize] ; ["Alignment of _xmlRef"] [:: std :: mem :: align_of :: < _xmlRef > () - 8usize] ; ["Offset of field: _xmlRef::next"] [:: std :: mem :: offset_of ! (_xmlRef , next) - 0usize] ; ["Offset of field: _xmlRef::value"] [:: std :: mem :: offset_of ! (_xmlRef , value) - 8usize] ; ["Offset of field: _xmlRef::attr"] [:: std :: mem :: offset_of ! (_xmlRef , attr) - 16usize] ; ["Offset of field: _xmlRef::name"] [:: std :: mem :: offset_of ! (_xmlRef , name) - 24usize] ; ["Offset of field: _xmlRef::lineno"] [:: std :: mem :: offset_of ! (_xmlRef , lineno) - 32usize] ; } ; # [doc = " Generic node type in an XML or HTML tree"] pub type xmlNode = _xmlNode ; pub type xmlNodePtr = * mut xmlNode ; # [doc = " Generic node type in an XML or HTML tree.\n\n This is used for\n\n - XML_ELEMENT_NODE\n - XML_TEXT_NODE\n - XML_CDATA_SECTION_NODE\n - XML_ENTITY_REF_NODE\n - XML_PI_NODE\n - XML_COMMENT_NODE\n - XML_DOCUMENT_FRAG_NODE\n - XML_XINCLUDE_START_NODE\n - XML_XINCLUDE_END_NODE\n\n Other node types have a different struct layout than xmlNode,\n see xmlElementType. Except for XML_NAMESPACE_DECL all nodes\n share the following members at the same offset:\n\n - `_private`\n - `type` (also for XML_NAMESPACE_DECL)\n - `name`\n - `children`\n - `last`\n - `parent`\n - `next`\n - `prev`\n - `doc`\n\n xmlNode and xmlAttr also share the `ns` member."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNode { # [doc = " Application data. Often used by language bindings."] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " Type enum, an xmlElementType value"] pub type_ : xmlElementType , # [doc = " Name of the node.\n\n - Local name of elements or attributes. As a corner case,\n   this can also contain Names which are invalid QNames in\n   non-namespace-wellformed documents.\n - Name of entity references\n - Target of processing instructions\n - Fixed string for text and comments\n - Unused otherwise"] pub name : * const xmlChar , # [doc = " First child. Entity declaration of entity references."] pub children : * mut _xmlNode , # [doc = " Last child"] pub last : * mut _xmlNode , # [doc = " Parent node. NULL for documents or unlinked root nodes."] pub parent : * mut _xmlNode , # [doc = " Next sibling"] pub next : * mut _xmlNode , # [doc = " Previous sibling"] pub prev : * mut _xmlNode , # [doc = " Associated document.\n\n Used to access DTDs, entities, ID tables, dictionary or\n other document properties. All children of a node share the\n same document."] pub doc : * mut _xmlDoc , # [doc = " Namespace of element if any"] pub ns : * mut xmlNs , # [doc = " Content of text, comment, PI nodes.\n\n Sort index for elements after calling #xmlXPathOrderDocElems.\n Content of internal entities for entity references."] pub content : * mut xmlChar , # [doc = " First attribute of element.\n\n Also used to store small strings with XML_PARSE_COMPACT."] pub properties : * mut _xmlAttr , # [doc = " First namespace definition of element"] pub nsDef : * mut xmlNs , # [doc = " For type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " Line number"] pub line : :: std :: os :: raw :: c_ushort , # [doc = " Extra data for XPath/XSLT"] pub extra : :: std :: os :: raw :: c_ushort , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNode"] [:: std :: mem :: size_of :: < _xmlNode > () - 120usize] ; ["Alignment of _xmlNode"] [:: std :: mem :: align_of :: < _xmlNode > () - 8usize] ; ["Offset of field: _xmlNode::_private"] [:: std :: mem :: offset_of ! (_xmlNode , _private) - 0usize] ; ["Offset of field: _xmlNode::type_"] [:: std :: mem :: offset_of ! (_xmlNode , type_) - 8usize] ; ["Offset of field: _xmlNode::name"] [:: std :: mem :: offset_of ! (_xmlNode , name) - 16usize] ; ["Offset of field: _xmlNode::children"] [:: std :: mem :: offset_of ! (_xmlNode , children) - 24usize] ; ["Offset of field: _xmlNode::last"] [:: std :: mem :: offset_of ! (_xmlNode , last) - 32usize] ; ["Offset of field: _xmlNode::parent"] [:: std :: mem :: offset_of ! (_xmlNode , parent) - 40usize] ; ["Offset of field: _xmlNode::next"] [:: std :: mem :: offset_of ! (_xmlNode , next) - 48usize] ; ["Offset of field: _xmlNode::prev"] [:: std :: mem :: offset_of ! (_xmlNode , prev) - 56usize] ; ["Offset of field: _xmlNode::doc"] [:: std :: mem :: offset_of ! (_xmlNode , doc) - 64usize] ; ["Offset of field: _xmlNode::ns"] [:: std :: mem :: offset_of ! (_xmlNode , ns) - 72usize] ; ["Offset of field: _xmlNode::content"] [:: std :: mem :: offset_of ! (_xmlNode , content) - 80usize] ; ["Offset of field: _xmlNode::properties"] [:: std :: mem :: offset_of ! (_xmlNode , properties) - 88usize] ; ["Offset of field: _xmlNode::nsDef"] [:: std :: mem :: offset_of ! (_xmlNode , nsDef) - 96usize] ; ["Offset of field: _xmlNode::psvi"] [:: std :: mem :: offset_of ! (_xmlNode , psvi) - 104usize] ; ["Offset of field: _xmlNode::line"] [:: std :: mem :: offset_of ! (_xmlNode , line) - 112usize] ; ["Offset of field: _xmlNode::extra"] [:: std :: mem :: offset_of ! (_xmlNode , extra) - 114usize] ; } ; # [doc = " document is XML well formed"] pub const xmlDocProperties_XML_DOC_WELLFORMED : xmlDocProperties = 1 ; # [doc = " document is Namespace valid"] pub const xmlDocProperties_XML_DOC_NSVALID : xmlDocProperties = 2 ; # [doc = " parsed with old XML-1.0 parser"] pub const xmlDocProperties_XML_DOC_OLD10 : xmlDocProperties = 4 ; # [doc = " DTD validation was successful"] pub const xmlDocProperties_XML_DOC_DTDVALID : xmlDocProperties = 8 ; # [doc = " XInclude substitution was done"] pub const xmlDocProperties_XML_DOC_XINCLUDE : xmlDocProperties = 16 ; # [doc = " Document was built using the API and not by parsing an instance"] pub const xmlDocProperties_XML_DOC_USERBUILT : xmlDocProperties = 32 ; # [doc = " built for internal processing"] pub const xmlDocProperties_XML_DOC_INTERNAL : xmlDocProperties = 64 ; # [doc = " parsed or built HTML document"] pub const xmlDocProperties_XML_DOC_HTML : xmlDocProperties = 128 ; # [doc = " Set of properties of the document as found by the parser.\n Some of them are linked to similarly named xmlParserOption."] pub type xmlDocProperties = :: std :: os :: raw :: c_uint ; # [doc = " XML or HTML document"] pub type xmlDoc = _xmlDoc ; pub type xmlDocPtr = * mut xmlDoc ; # [doc = " An XML or HTML document."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDoc { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_DOCUMENT_NODE or XML_HTML_DOCUMENT_NODE"] pub type_ : xmlElementType , # [doc = " NULL"] pub name : * mut :: std :: os :: raw :: c_char , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlNode , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " reference to itself"] pub doc : * mut _xmlDoc , # [doc = " level of zlib compression"] pub compression : :: std :: os :: raw :: c_int , # [doc = " standalone document (no external refs)\n\n - 1 if standalone=\"yes\",\n - 0 if standalone=\"no\",\n - -1 if there is no XML declaration,\n - -2 if there is an XML declaration, but no\n   standalone attribute was specified"] pub standalone : :: std :: os :: raw :: c_int , # [doc = " internal subset"] pub intSubset : * mut _xmlDtd , # [doc = " external subset"] pub extSubset : * mut _xmlDtd , # [doc = " used to hold the XML namespace if needed"] pub oldNs : * mut _xmlNs , # [doc = " version string from XML declaration"] pub version : * mut xmlChar , # [doc = " actual encoding if any"] pub encoding : * mut xmlChar , # [doc = " hash table for ID attributes if any"] pub ids : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for IDREFs attributes if any"] pub refs : * mut :: std :: os :: raw :: c_void , # [doc = " URI of the document"] pub URL : * mut xmlChar , # [doc = " unused"] pub charset : :: std :: os :: raw :: c_int , # [doc = " dict used to allocate names if any"] pub dict : * mut _xmlDict , # [doc = " for type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " xmlParserOption enum used to parse the document"] pub parseFlags : :: std :: os :: raw :: c_int , # [doc = " xmlDocProperties of the document"] pub properties : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDoc"] [:: std :: mem :: size_of :: < _xmlDoc > () - 176usize] ; ["Alignment of _xmlDoc"] [:: std :: mem :: align_of :: < _xmlDoc > () - 8usize] ; ["Offset of field: _xmlDoc::_private"] [:: std :: mem :: offset_of ! (_xmlDoc , _private) - 0usize] ; ["Offset of field: _xmlDoc::type_"] [:: std :: mem :: offset_of ! (_xmlDoc , type_) - 8usize] ; ["Offset of field: _xmlDoc::name"] [:: std :: mem :: offset_of ! (_xmlDoc , name) - 16usize] ; ["Offset of field: _xmlDoc::children"] [:: std :: mem :: offset_of ! (_xmlDoc , children) - 24usize] ; ["Offset of field: _xmlDoc::last"] [:: std :: mem :: offset_of ! (_xmlDoc , last) - 32usize] ; ["Offset of field: _xmlDoc::parent"] [:: std :: mem :: offset_of ! (_xmlDoc , parent) - 40usize] ; ["Offset of field: _xmlDoc::next"] [:: std :: mem :: offset_of ! (_xmlDoc , next) - 48usize] ; ["Offset of field: _xmlDoc::prev"] [:: std :: mem :: offset_of ! (_xmlDoc , prev) - 56usize] ; ["Offset of field: _xmlDoc::doc"] [:: std :: mem :: offset_of ! (_xmlDoc , doc) - 64usize] ; ["Offset of field: _xmlDoc::compression"] [:: std :: mem :: offset_of ! (_xmlDoc , compression) - 72usize] ; ["Offset of field: _xmlDoc::standalone"] [:: std :: mem :: offset_of ! (_xmlDoc , standalone) - 76usize] ; ["Offset of field: _xmlDoc::intSubset"] [:: std :: mem :: offset_of ! (_xmlDoc , intSubset) - 80usize] ; ["Offset of field: _xmlDoc::extSubset"] [:: std :: mem :: offset_of ! (_xmlDoc , extSubset) - 88usize] ; ["Offset of field: _xmlDoc::oldNs"] [:: std :: mem :: offset_of ! (_xmlDoc , oldNs) - 96usize] ; ["Offset of field: _xmlDoc::version"] [:: std :: mem :: offset_of ! (_xmlDoc , version) - 104usize] ; ["Offset of field: _xmlDoc::encoding"] [:: std :: mem :: offset_of ! (_xmlDoc , encoding) - 112usize] ; ["Offset of field: _xmlDoc::ids"] [:: std :: mem :: offset_of ! (_xmlDoc , ids) - 120usize] ; ["Offset of field: _xmlDoc::refs"] [:: std :: mem :: offset_of ! (_xmlDoc , refs) - 128usize] ; ["Offset of field: _xmlDoc::URL"] [:: std :: mem :: offset_of ! (_xmlDoc , URL) - 136usize] ; ["Offset of field: _xmlDoc::charset"] [:: std :: mem :: offset_of ! (_xmlDoc , charset) - 144usize] ; ["Offset of field: _xmlDoc::dict"] [:: std :: mem :: offset_of ! (_xmlDoc , dict) - 152usize] ; ["Offset of field: _xmlDoc::psvi"] [:: std :: mem :: offset_of ! (_xmlDoc , psvi) - 160usize] ; ["Offset of field: _xmlDoc::parseFlags"] [:: std :: mem :: offset_of ! (_xmlDoc , parseFlags) - 168usize] ; ["Offset of field: _xmlDoc::properties"] [:: std :: mem :: offset_of ! (_xmlDoc , properties) - 172usize] ; } ; # [doc = " Context for DOM wrapper operations"] pub type xmlDOMWrapCtxt = _xmlDOMWrapCtxt ; pub type xmlDOMWrapCtxtPtr = * mut xmlDOMWrapCtxt ; # [doc = " A function called to acquire namespaces (xmlNs) from the wrapper.\n\n @param ctxt  a DOM wrapper context\n @param node  the context node (element or attribute)\n @param nsName  the requested namespace name\n @param nsPrefix  the requested namespace prefix\n @returns an xmlNs or NULL in case of an error."] pub type xmlDOMWrapAcquireNsFunction = :: std :: option :: Option < unsafe extern "C" fn (ctxt : * mut xmlDOMWrapCtxt , node : * mut xmlNode , nsName : * const xmlChar , nsPrefix : * const xmlChar) -> * mut xmlNs > ; # [doc = " Context for DOM wrapper-operations."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDOMWrapCtxt { pub _private : * mut :: std :: os :: raw :: c_void , pub type_ : :: std :: os :: raw :: c_int , pub namespaceMap : * mut :: std :: os :: raw :: c_void , pub getNsForNodeFunc : xmlDOMWrapAcquireNsFunction , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDOMWrapCtxt"] [:: std :: mem :: size_of :: < _xmlDOMWrapCtxt > () - 32usize] ; ["Alignment of _xmlDOMWrapCtxt"] [:: std :: mem :: align_of :: < _xmlDOMWrapCtxt > () - 8usize] ; ["Offset of field: _xmlDOMWrapCtxt::_private"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , _private) - 0usize] ; ["Offset of field: _xmlDOMWrapCtxt::type_"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , type_) - 8usize] ; ["Offset of field: _xmlDOMWrapCtxt::namespaceMap"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , namespaceMap) - 16usize] ; ["Offset of field: _xmlDOMWrapCtxt::getNsForNodeFunc"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , getNsForNodeFunc) - 24usize] ; } ; # [doc = " Signature for the registration callback of a created node\n\n @param node  the current node"] pub type xmlRegisterNodeFunc = :: std :: option :: Option < unsafe extern "C" fn (node : * mut xmlNode) > ; # [doc = " Signature for the deregistration callback of a discarded node\n\n @param node  the current node"] pub type xmlDeregisterNodeFunc = :: std :: option :: Option < unsafe extern "C" fn (node : * mut xmlNode) > ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlRegisterNodeDefaultValue () -> * mut xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn __xmlDeregisterNodeDefaultValue () -> * mut xmlDeregisterNodeFunc ; } unsafe extern "C" { # [doc = " @endcond"] pub fn xmlValidateNCName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateQName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNMToken (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBuildQName (ncname : * const xmlChar , prefix : * const xmlChar , memory : * mut xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSplitQName2 (name : * const xmlChar , prefix : * mut * mut xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSplitQName3 (name : * const xmlChar , len : * mut :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCreateIntSubset (doc : * mut xmlDoc , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlNewDtd (doc : * mut xmlDoc , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlGetIntSubset (doc : * const xmlDoc) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlFreeDtd (cur : * mut xmlDtd) ; } unsafe extern "C" { pub fn xmlNewNs (node : * mut xmlNode , href : * const xmlChar , prefix : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlFreeNs (cur : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlFreeNsList (cur : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlNewDoc (version : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlFreeDoc (cur : * mut xmlDoc) ; } unsafe extern "C" { pub fn xmlNewDocProp (doc : * mut xmlDoc , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewProp (node : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewNsPropEatName (node : * mut xmlNode , ns : * mut xmlNs , name : * mut xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlFreePropList (cur : * mut xmlAttr) ; } unsafe extern "C" { pub fn xmlFreeProp (cur : * mut xmlAttr) ; } unsafe extern "C" { pub fn xmlCopyProp (target : * mut xmlNode , cur : * mut xmlAttr) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlCopyPropList (target : * mut xmlNode , cur : * mut xmlAttr) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlCopyDtd (dtd : * mut xmlDtd) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlCopyDoc (doc : * mut xmlDoc , recursive : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlNewDocNode (doc : * mut xmlDoc , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocNodeEatName (doc : * mut xmlDoc , ns : * mut xmlNs , name : * mut xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewNode (ns : * mut xmlNs , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewNodeEatName (ns : * mut xmlNs , name : * mut xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewChild (parent : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocText (doc : * const xmlDoc , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewText (content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocPI (doc : * mut xmlDoc , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewPI (name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocTextLen (doc : * mut xmlDoc , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewTextLen (content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocComment (doc : * mut xmlDoc , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewComment (content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewCDataBlock (doc : * mut xmlDoc , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewCharRef (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewReference (doc : * const xmlDoc , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCopyNode (node : * mut xmlNode , recursive : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlDocCopyNode (node : * mut xmlNode , doc : * mut xmlDoc , recursive : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlDocCopyNodeList (doc : * mut xmlDoc , node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCopyNodeList (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewTextChild (parent : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocRawNode (doc : * mut xmlDoc , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocFragment (doc : * mut xmlDoc) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlGetLineNo (node : * const xmlNode) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn xmlGetNodePath (node : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlDocGetRootElement (doc : * const xmlDoc) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlGetLastChild (parent : * const xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeIsText (node : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsBlankNode (node : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocSetRootElement (doc : * mut xmlDoc , root : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeSetName (cur : * mut xmlNode , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlAddChild (parent : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddChildList (parent : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlReplaceNode (old : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddPrevSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddNextSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlUnlinkNode (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlTextMerge (first : * mut xmlNode , second : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlTextConcat (node : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFreeNodeList (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlFreeNode (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlSetTreeDoc (tree : * mut xmlNode , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetListDoc (list : * mut xmlNode , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSearchNs (doc : * mut xmlDoc , node : * mut xmlNode , nameSpace : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlSearchNsByHref (doc : * mut xmlDoc , node : * mut xmlNode , href : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlGetNsListSafe (doc : * const xmlDoc , node : * const xmlNode , out : * mut * mut * mut xmlNs) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetNsList (doc : * const xmlDoc , node : * const xmlNode) -> * mut * mut xmlNs ; } unsafe extern "C" { pub fn xmlSetNs (node : * mut xmlNode , ns : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlCopyNamespace (cur : * mut xmlNs) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlCopyNamespaceList (cur : * mut xmlNs) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlSetProp (node : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlSetNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNodeGetAttrValue (node : * const xmlNode , name : * const xmlChar , nsUri : * const xmlChar , out : * mut * mut xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetNoNsProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlGetProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlHasProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlHasNsProp (node : * const xmlNode , name : * const xmlChar , nameSpace : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlGetNsProp (node : * const xmlNode , name : * const xmlChar , nameSpace : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStringGetNodeList (doc : * const xmlDoc , value : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlStringLenGetNodeList (doc : * const xmlDoc , value : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeListGetString (doc : * mut xmlDoc , list : * const xmlNode , inLine : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeListGetRawString (doc : * const xmlDoc , list : * const xmlNode , inLine : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeSetContent (cur : * mut xmlNode , content : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetContentLen (cur : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeAddContent (cur : * mut xmlNode , content : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeAddContentLen (cur : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetContent (cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeBufGetContent (buffer : * mut xmlBuffer , cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufGetNodeContent (buf : * mut xmlBuf , cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetLang (cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeGetSpacePreserve (cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetLang (cur : * mut xmlNode , lang : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetSpacePreserve (cur : * mut xmlNode , val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetBaseSafe (doc : * const xmlDoc , cur : * const xmlNode , baseOut : * mut * mut xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetBase (doc : * const xmlDoc , cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeSetBase (cur : * mut xmlNode , uri : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveProp (cur : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUnsetNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUnsetProp (node : * mut xmlNode , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAttrSerializeTxtContent (buf : * mut xmlBuffer , doc : * mut xmlDoc , attr : * mut xmlAttr , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlReconciliateNs (doc : * mut xmlDoc , tree : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocDumpFormatMemory (cur : * mut xmlDoc , mem : * mut * mut xmlChar , size : * mut :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocDumpMemory (cur : * mut xmlDoc , mem : * mut * mut xmlChar , size : * mut :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocDumpMemoryEnc (out_doc : * mut xmlDoc , doc_txt_ptr : * mut * mut xmlChar , doc_txt_len : * mut :: std :: os :: raw :: c_int , txt_encoding : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlDocDumpFormatMemoryEnc (out_doc : * mut xmlDoc , doc_txt_ptr : * mut * mut xmlChar , doc_txt_len : * mut :: std :: os :: raw :: c_int , txt_encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocFormatDump (f : * mut FILE , cur : * mut xmlDoc , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocDump (f : * mut FILE , cur : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlElemDump (f : * mut FILE , doc : * mut xmlDoc , cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlSaveFile (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFormatFile (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufNodeDump (buf : * mut xmlBuf , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> usize ; } unsafe extern "C" { pub fn xmlNodeDump (buf : * mut xmlBuffer , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFileTo (buf : * mut xmlOutputBuffer , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFormatFileTo (buf : * mut xmlOutputBuffer , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeDumpOutput (buf : * mut xmlOutputBuffer , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , encoding : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlSaveFormatFileEnc (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFileEnc (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsXHTML (systemID : * const xmlChar , publicID : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetDocCompressMode (doc : * const xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetDocCompressMode (doc : * mut xmlDoc , mode : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlGetCompressMode () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetCompressMode (mode : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDOMWrapNewCtxt () -> * mut xmlDOMWrapCtxt ; } unsafe extern "C" { pub fn xmlDOMWrapFreeCtxt (ctxt : * mut xmlDOMWrapCtxt) ; } unsafe extern "C" { pub fn xmlDOMWrapReconcileNamespaces (ctxt : * mut xmlDOMWrapCtxt , elem : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapAdoptNode (ctxt : * mut xmlDOMWrapCtxt , sourceDoc : * mut xmlDoc , node : * mut xmlNode , destDoc : * mut xmlDoc , destParent : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapRemoveNode (ctxt : * mut xmlDOMWrapCtxt , doc : * mut xmlDoc , node : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapCloneNode (ctxt : * mut xmlDOMWrapCtxt , sourceDoc : * mut xmlDoc , node : * mut xmlNode , clonedNode : * mut * mut xmlNode , destDoc : * mut xmlDoc , destParent : * mut xmlNode , deep : :: std :: os :: raw :: c_int , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlChildElementCount (parent : * mut xmlNode) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlNextElementSibling (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlFirstElementChild (parent : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlLastElementChild (parent : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlPreviousElementSibling (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlRegisterNodeDefault (func : xmlRegisterNodeFunc) -> xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn xmlDeregisterNodeDefault (func : xmlDeregisterNodeFunc) -> xmlDeregisterNodeFunc ; } unsafe extern "C" { pub fn xmlThrDefRegisterNodeDefault (func : xmlRegisterNodeFunc) -> xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn xmlThrDefDeregisterNodeDefault (func : xmlDeregisterNodeFunc) -> xmlDeregisterNodeFunc ; } unsafe extern "C" { pub fn xmlSetBufferAllocationScheme (scheme : xmlBufferAllocationScheme) ; } unsafe extern "C" { pub fn xmlGetBufferAllocationScheme () -> xmlBufferAllocationScheme ; } unsafe extern "C" { pub fn xmlBufferCreate () -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferCreateSize (size : usize) -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferCreateStatic (mem : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferResize (buf : * mut xmlBuffer , size : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferFree (buf : * mut xmlBuffer) ; } unsafe extern "C" { pub fn xmlBufferDump (file : * mut FILE , buf : * mut xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferAdd (buf : * mut xmlBuffer , str_ : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferAddHead (buf : * mut xmlBuffer , str_ : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferCat (buf : * mut xmlBuffer , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferCCat (buf : * mut xmlBuffer , str_ : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferShrink (buf : * mut xmlBuffer , len : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferGrow (buf : * mut xmlBuffer , len : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferEmpty (buf : * mut xmlBuffer) ; } unsafe extern "C" { pub fn xmlBufferContent (buf : * const xmlBuffer) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlBufferDetach (buf : * mut xmlBuffer) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufferSetAllocationScheme (buf : * mut xmlBuffer , scheme : xmlBufferAllocationScheme) ; } unsafe extern "C" { pub fn xmlBufferLength (buf : * const xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferWriteCHAR (buf : * mut xmlBuffer , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlBufferWriteChar (buf : * mut xmlBuffer , string : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlBufferWriteQuotedString (buf : * mut xmlBuffer , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlBufContent (buf : * const xmlBuf) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufEnd (buf : * mut xmlBuf) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufUse (buf : * mut xmlBuf) -> usize ; } unsafe extern "C" { pub fn xmlBufShrink (buf : * mut xmlBuf , len : usize) -> usize ; } pub type wchar_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [repr (align (16))] # [derive (Debug , Copy , Clone)] pub struct max_align_t { pub __clang_max_align_nonce1 : :: std :: os :: raw :: c_longlong , pub __bindgen_padding_0 : u64 , pub __clang_max_align_nonce2 : u128 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of max_align_t"] [:: std :: mem :: size_of :: < max_align_t > () - 32usize] ; ["Alignment of max_align_t"] [:: std :: mem :: align_of :: < max_align_t > () - 16usize] ; ["Offset of field: max_align_t::__clang_max_align_nonce1"] [:: std :: mem :: offset_of ! (max_align_t , __clang_max_align_nonce1) - 0usize] ; ["Offset of field: max_align_t::__clang_max_align_nonce2"] [:: std :: mem :: offset_of ! (max_align_t , __clang_max_align_nonce2) - 16usize] ; } ; # [doc = " Dictionary (pool for interned strings)"] pub type xmlDict = _xmlDict ; pub type xmlDictPtr = * mut xmlDict ; unsafe extern "C" { pub fn xmlInitializeDict () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictCreate () -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlDictSetLimit (dict : * mut xmlDict , limit : usize) -> usize ; } unsafe extern "C" { pub fn xmlDictGetUsage (dict : * mut xmlDict) -> usize ; } unsafe extern "C" { pub fn xmlDictCreateSub (sub : * mut xmlDict) -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlDictReference (dict : * mut xmlDict) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictFree (dict : * mut xmlDict) ; } unsafe extern "C" { pub fn xmlDictLookup (dict : * mut xmlDict , name : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictExists (dict : * mut xmlDict , name : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictQLookup (dict : * mut xmlDict , prefix : * const xmlChar , name : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictOwns (dict : * mut xmlDict , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictSize (dict : * mut xmlDict) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictCleanup () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlHashTable { _unused : [u8 ; 0] , } # [doc = " Hash table mapping strings to pointers\n\n Also supports lookup using two or three strings as key."] pub type xmlHashTable = _xmlHashTable ; pub type xmlHashTablePtr = * mut xmlHashTable ; # [doc = " Callback to free data from a hash.\n\n @param payload  the data in the hash\n @param name  the name associated"] pub type xmlHashDeallocator = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback to copy data from a hash.\n\n @param payload  the data in the hash\n @param name  the name associated\n @returns a copy of the data or NULL in case of error."] pub type xmlHashCopier = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback when scanning data in a hash with the simple scanner.\n\n @param payload  the data in the hash\n @param data  extra scanner data\n @param name  the name associated"] pub type xmlHashScanner = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , data : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback when scanning data in a hash with the full scanner.\n\n @param payload  the data in the hash\n @param data  extra scanner data\n @param name  the name associated\n @param name2  the second name associated\n @param name3  the third name associated"] pub type xmlHashScannerFull = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , data : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar) > ; unsafe extern "C" { pub fn xmlHashCreate (size : :: std :: os :: raw :: c_int) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashCreateDict (size : :: std :: os :: raw :: c_int , dict : * mut xmlDict) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashFree (hash : * mut xmlHashTable , dealloc : xmlHashDeallocator) ; } unsafe extern "C" { pub fn xmlHashDefaultDeallocator (entry : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlHashAdd (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAdd2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAdd3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry (hash : * mut xmlHashTable , name : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashLookup (hash : * mut xmlHashTable , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashLookup2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashLookup3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup2 (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar , prefix2 : * const xmlChar , name2 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup3 (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar , prefix2 : * const xmlChar , name2 : * const xmlChar , prefix3 : * const xmlChar , name3 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashCopySafe (hash : * mut xmlHashTable , copy : xmlHashCopier , dealloc : xmlHashDeallocator) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashCopy (hash : * mut xmlHashTable , copy : xmlHashCopier) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashSize (hash : * mut xmlHashTable) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashScan (hash : * mut xmlHashTable , scan : xmlHashScanner , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScan3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , scan : xmlHashScanner , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScanFull (hash : * mut xmlHashTable , scan : xmlHashScannerFull , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScanFull3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , scan : xmlHashScannerFull , data : * mut :: std :: os :: raw :: c_void) ; } # [doc = " Success"] pub const xmlErrorLevel_XML_ERR_NONE : xmlErrorLevel = 0 ; # [doc = " A warning\n\n When parsing XML, warnings are only reported to error\n handlers."] pub const xmlErrorLevel_XML_ERR_WARNING : xmlErrorLevel = 1 ; # [doc = " An error\n\n When parsing XML, this is used for recoverable errors like\n\n - namespace errors\n - validity errors when validating\n - certain undeclared entities\n - ID uniqueness and xml:id errors\n\n Note that some recoverable errors in the sense of the XML\n spec are reported as warnings.\n\n In other contexts, this may be used for unrecoverable\n errors."] pub const xmlErrorLevel_XML_ERR_ERROR : xmlErrorLevel = 2 ; # [doc = " A fatal error\n\n When parsing XML, a \"fatal error\" according to the XML spec.\n This typically means that the document isn't well-formed.\n\n This also includes OOM and I/O errors, resource limit\n exhaustion, unexpected errors from other libraries and\n invalid argument errors."] pub const xmlErrorLevel_XML_ERR_FATAL : xmlErrorLevel = 3 ; # [doc = " Indicates the level of an error"] pub type xmlErrorLevel = :: std :: os :: raw :: c_uint ; # [doc = " Unknown"] pub const xmlErrorDomain_XML_FROM_NONE : xmlErrorDomain = 0 ; # [doc = " The XML parser"] pub const xmlErrorDomain_XML_FROM_PARSER : xmlErrorDomain = 1 ; # [doc = " The tree module (unused)"] pub const xmlErrorDomain_XML_FROM_TREE : xmlErrorDomain = 2 ; # [doc = " The XML Namespace module"] pub const xmlErrorDomain_XML_FROM_NAMESPACE : xmlErrorDomain = 3 ; # [doc = " The XML DTD validation with parser context"] pub const xmlErrorDomain_XML_FROM_DTD : xmlErrorDomain = 4 ; # [doc = " The HTML parser"] pub const xmlErrorDomain_XML_FROM_HTML : xmlErrorDomain = 5 ; # [doc = " The memory allocator (unused)"] pub const xmlErrorDomain_XML_FROM_MEMORY : xmlErrorDomain = 6 ; # [doc = " The serialization code"] pub const xmlErrorDomain_XML_FROM_OUTPUT : xmlErrorDomain = 7 ; # [doc = " The Input/Output stack"] pub const xmlErrorDomain_XML_FROM_IO : xmlErrorDomain = 8 ; # [doc = " The FTP module (unused)"] pub const xmlErrorDomain_XML_FROM_FTP : xmlErrorDomain = 9 ; # [doc = " The HTTP module (unused)"] pub const xmlErrorDomain_XML_FROM_HTTP : xmlErrorDomain = 10 ; # [doc = " The XInclude processing"] pub const xmlErrorDomain_XML_FROM_XINCLUDE : xmlErrorDomain = 11 ; # [doc = " The XPath module"] pub const xmlErrorDomain_XML_FROM_XPATH : xmlErrorDomain = 12 ; # [doc = " The XPointer module"] pub const xmlErrorDomain_XML_FROM_XPOINTER : xmlErrorDomain = 13 ; # [doc = " The regular expressions module"] pub const xmlErrorDomain_XML_FROM_REGEXP : xmlErrorDomain = 14 ; # [doc = " The W3C XML Schemas Datatype module"] pub const xmlErrorDomain_XML_FROM_DATATYPE : xmlErrorDomain = 15 ; # [doc = " The W3C XML Schemas parser module"] pub const xmlErrorDomain_XML_FROM_SCHEMASP : xmlErrorDomain = 16 ; # [doc = " The W3C XML Schemas validation module"] pub const xmlErrorDomain_XML_FROM_SCHEMASV : xmlErrorDomain = 17 ; # [doc = " The Relax-NG parser module"] pub const xmlErrorDomain_XML_FROM_RELAXNGP : xmlErrorDomain = 18 ; # [doc = " The Relax-NG validator module"] pub const xmlErrorDomain_XML_FROM_RELAXNGV : xmlErrorDomain = 19 ; # [doc = " The Catalog module"] pub const xmlErrorDomain_XML_FROM_CATALOG : xmlErrorDomain = 20 ; # [doc = " The Canonicalization module"] pub const xmlErrorDomain_XML_FROM_C14N : xmlErrorDomain = 21 ; # [doc = " The XSLT engine from libxslt (unused)"] pub const xmlErrorDomain_XML_FROM_XSLT : xmlErrorDomain = 22 ; # [doc = " The XML DTD validation with valid context"] pub const xmlErrorDomain_XML_FROM_VALID : xmlErrorDomain = 23 ; # [doc = " The error checking module (unused)"] pub const xmlErrorDomain_XML_FROM_CHECK : xmlErrorDomain = 24 ; # [doc = " The xmlwriter module"] pub const xmlErrorDomain_XML_FROM_WRITER : xmlErrorDomain = 25 ; # [doc = " The dynamically loaded module module (unused)"] pub const xmlErrorDomain_XML_FROM_MODULE : xmlErrorDomain = 26 ; # [doc = " The module handling character conversion (unused)"] pub const xmlErrorDomain_XML_FROM_I18N : xmlErrorDomain = 27 ; # [doc = " The Schematron validator module"] pub const xmlErrorDomain_XML_FROM_SCHEMATRONV : xmlErrorDomain = 28 ; # [doc = " The buffers module (unused)"] pub const xmlErrorDomain_XML_FROM_BUFFER : xmlErrorDomain = 29 ; # [doc = " The URI module (unused)"] pub const xmlErrorDomain_XML_FROM_URI : xmlErrorDomain = 30 ; # [doc = " Indicates where an error may have come from"] pub type xmlErrorDomain = :: std :: os :: raw :: c_uint ; # [doc = " Structured error"] pub type xmlError = _xmlError ; pub type xmlErrorPtr = * mut xmlError ; # [doc = " An object containing information about an error."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlError { # [doc = " An xmlErrorDomain value."] pub domain : :: std :: os :: raw :: c_int , # [doc = " The error code, e.g. an xmlParserErrors."] pub code : :: std :: os :: raw :: c_int , # [doc = " Human-readable error message."] pub message : * mut :: std :: os :: raw :: c_char , # [doc = " Error level."] pub level : xmlErrorLevel , # [doc = " Filename if available"] pub file : * mut :: std :: os :: raw :: c_char , # [doc = " Line number if available"] pub line : :: std :: os :: raw :: c_int , # [doc = " Extra string information."] pub str1 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra string information."] pub str2 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra string information."] pub str3 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra number information."] pub int1 : :: std :: os :: raw :: c_int , # [doc = " Column number if available."] pub int2 : :: std :: os :: raw :: c_int , # [doc = " Parser context if available"] pub ctxt : * mut :: std :: os :: raw :: c_void , # [doc = " Node if available"] pub node : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlError"] [:: std :: mem :: size_of :: < _xmlError > () - 88usize] ; ["Alignment of _xmlError"] [:: std :: mem :: align_of :: < _xmlError > () - 8usize] ; ["Offset of field: _xmlError::domain"] [:: std :: mem :: offset_of ! (_xmlError , domain) - 0usize] ; ["Offset of field: _xmlError::code"] [:: std :: mem :: offset_of ! (_xmlError , code) - 4usize] ; ["Offset of field: _xmlError::message"] [:: std :: mem :: offset_of ! (_xmlError , message) - 8usize] ; ["Offset of field: _xmlError::level"] [:: std :: mem :: offset_of ! (_xmlError , level) - 16usize] ; ["Offset of field: _xmlError::file"] [:: std :: mem :: offset_of ! (_xmlError , file) - 24usize] ; ["Offset of field: _xmlError::line"] [:: std :: mem :: offset_of ! (_xmlError , line) - 32usize] ; ["Offset of field: _xmlError::str1"] [:: std :: mem :: offset_of ! (_xmlError , str1) - 40usize] ; ["Offset of field: _xmlError::str2"] [:: std :: mem :: offset_of ! (_xmlError , str2) - 48usize] ; ["Offset of field: _xmlError::str3"] [:: std :: mem :: offset_of ! (_xmlError , str3) - 56usize] ; ["Offset of field: _xmlError::int1"] [:: std :: mem :: offset_of ! (_xmlError , int1) - 64usize] ; ["Offset of field: _xmlError::int2"] [:: std :: mem :: offset_of ! (_xmlError , int2) - 68usize] ; ["Offset of field: _xmlError::ctxt"] [:: std :: mem :: offset_of ! (_xmlError , ctxt) - 72usize] ; ["Offset of field: _xmlError::node"] [:: std :: mem :: offset_of ! (_xmlError , node) - 80usize] ; } ; # [doc = " Success."] pub const xmlParserErrors_XML_ERR_OK : xmlParserErrors = 0 ; # [doc = " Internal assertion failure."] pub const xmlParserErrors_XML_ERR_INTERNAL_ERROR : xmlParserErrors = 1 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_NO_MEMORY : xmlParserErrors = 2 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_START : xmlParserErrors = 3 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_EMPTY : xmlParserErrors = 4 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_END : xmlParserErrors = 5 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_HEX_CHARREF : xmlParserErrors = 6 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_DEC_CHARREF : xmlParserErrors = 7 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_CHARREF : xmlParserErrors = 8 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_CHAR : xmlParserErrors = 9 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_AT_EOF : xmlParserErrors = 10 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_PROLOG : xmlParserErrors = 11 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_EPILOG : xmlParserErrors = 12 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_DTD : xmlParserErrors = 13 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_AT_EOF : xmlParserErrors = 14 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_PROLOG : xmlParserErrors = 15 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_EPILOG : xmlParserErrors = 16 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_DTD : xmlParserErrors = 17 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_AT_EOF : xmlParserErrors = 18 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_PROLOG : xmlParserErrors = 19 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_EPILOG : xmlParserErrors = 20 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_INT_SUBSET : xmlParserErrors = 21 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_NO_NAME : xmlParserErrors = 22 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_SEMICOL_MISSING : xmlParserErrors = 23 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_NO_NAME : xmlParserErrors = 24 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_SEMICOL_MISSING : xmlParserErrors = 25 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNDECLARED_ENTITY : xmlParserErrors = 26 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_WAR_UNDECLARED_ENTITY : xmlParserErrors = 27 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNPARSED_ENTITY : xmlParserErrors = 28 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITY_IS_EXTERNAL : xmlParserErrors = 29 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITY_IS_PARAMETER : xmlParserErrors = 30 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNKNOWN_ENCODING : xmlParserErrors = 31 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_UNSUPPORTED_ENCODING : xmlParserErrors = 32 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STRING_NOT_STARTED : xmlParserErrors = 33 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STRING_NOT_CLOSED : xmlParserErrors = 34 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NS_DECL_ERROR : xmlParserErrors = 35 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_NOT_STARTED : xmlParserErrors = 36 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_NOT_FINISHED : xmlParserErrors = 37 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LT_IN_ATTRIBUTE : xmlParserErrors = 38 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_NOT_STARTED : xmlParserErrors = 39 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_NOT_FINISHED : xmlParserErrors = 40 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_WITHOUT_VALUE : xmlParserErrors = 41 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_REDEFINED : xmlParserErrors = 42 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LITERAL_NOT_STARTED : xmlParserErrors = 43 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LITERAL_NOT_FINISHED : xmlParserErrors = 44 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_COMMENT_NOT_FINISHED : xmlParserErrors = 45 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PI_NOT_STARTED : xmlParserErrors = 46 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PI_NOT_FINISHED : xmlParserErrors = 47 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_NOT_STARTED : xmlParserErrors = 48 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_NOT_FINISHED : xmlParserErrors = 49 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTLIST_NOT_STARTED : xmlParserErrors = 50 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTLIST_NOT_FINISHED : xmlParserErrors = 51 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MIXED_NOT_STARTED : xmlParserErrors = 52 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MIXED_NOT_FINISHED : xmlParserErrors = 53 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ELEMCONTENT_NOT_STARTED : xmlParserErrors = 54 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ELEMCONTENT_NOT_FINISHED : xmlParserErrors = 55 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_XMLDECL_NOT_STARTED : xmlParserErrors = 56 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_XMLDECL_NOT_FINISHED : xmlParserErrors = 57 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_NOT_STARTED : xmlParserErrors = 58 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_NOT_FINISHED : xmlParserErrors = 59 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXT_SUBSET_NOT_FINISHED : xmlParserErrors = 60 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_DOCTYPE_NOT_FINISHED : xmlParserErrors = 61 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MISPLACED_CDATA_END : xmlParserErrors = 62 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CDATA_NOT_FINISHED : xmlParserErrors = 63 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_RESERVED_XML_NAME : xmlParserErrors = 64 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_SPACE_REQUIRED : xmlParserErrors = 65 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_SEPARATOR_REQUIRED : xmlParserErrors = 66 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NMTOKEN_REQUIRED : xmlParserErrors = 67 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NAME_REQUIRED : xmlParserErrors = 68 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PCDATA_REQUIRED : xmlParserErrors = 69 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_URI_REQUIRED : xmlParserErrors = 70 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PUBID_REQUIRED : xmlParserErrors = 71 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LT_REQUIRED : xmlParserErrors = 72 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_GT_REQUIRED : xmlParserErrors = 73 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LTSLASH_REQUIRED : xmlParserErrors = 74 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EQUAL_REQUIRED : xmlParserErrors = 75 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_TAG_NAME_MISMATCH : xmlParserErrors = 76 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_TAG_NOT_FINISHED : xmlParserErrors = 77 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STANDALONE_VALUE : xmlParserErrors = 78 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENCODING_NAME : xmlParserErrors = 79 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_HYPHEN_IN_COMMENT : xmlParserErrors = 80 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_INVALID_ENCODING : xmlParserErrors = 81 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXT_ENTITY_STANDALONE : xmlParserErrors = 82 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_INVALID : xmlParserErrors = 83 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VALUE_REQUIRED : xmlParserErrors = 84 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOT_WELL_BALANCED : xmlParserErrors = 85 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXTRA_CONTENT : xmlParserErrors = 86 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_CHAR_ERROR : xmlParserErrors = 87 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_PE_INTERNAL : xmlParserErrors = 88 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_LOOP : xmlParserErrors = 89 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_BOUNDARY : xmlParserErrors = 90 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_INVALID_URI : xmlParserErrors = 91 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_URI_FRAGMENT : xmlParserErrors = 92 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_CATALOG_PI : xmlParserErrors = 93 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NO_DTD : xmlParserErrors = 94 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_INVALID_KEYWORD : xmlParserErrors = 95 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VERSION_MISSING : xmlParserErrors = 96 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_UNKNOWN_VERSION : xmlParserErrors = 97 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_LANG_VALUE : xmlParserErrors = 98 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_URI : xmlParserErrors = 99 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_URI_RELATIVE : xmlParserErrors = 100 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MISSING_ENCODING : xmlParserErrors = 101 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_SPACE_VALUE : xmlParserErrors = 102 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOT_STANDALONE : xmlParserErrors = 103 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_PROCESSING : xmlParserErrors = 104 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_PROCESSING : xmlParserErrors = 105 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_COLUMN : xmlParserErrors = 106 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_ENTITY_REDEFINED : xmlParserErrors = 107 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_UNKNOWN_VERSION : xmlParserErrors = 108 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VERSION_MISMATCH : xmlParserErrors = 109 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NAME_TOO_LONG : xmlParserErrors = 110 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_USER_STOP : xmlParserErrors = 111 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_COMMENT_ABRUPTLY_ENDED : xmlParserErrors = 112 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_ENCODING_MISMATCH : xmlParserErrors = 113 ; # [doc = " Internal resource limit like maximum amplification\n factor exceeded."] pub const xmlParserErrors_XML_ERR_RESOURCE_LIMIT : xmlParserErrors = 114 ; # [doc = " Invalid argument."] pub const xmlParserErrors_XML_ERR_ARGUMENT : xmlParserErrors = 115 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_SYSTEM : xmlParserErrors = 116 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_REDECL_PREDEF_ENTITY : xmlParserErrors = 117 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_INT_SUBSET_NOT_FINISHED : xmlParserErrors = 118 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_XML_NAMESPACE : xmlParserErrors = 200 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_UNDEFINED_NAMESPACE : xmlParserErrors = 201 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_QNAME : xmlParserErrors = 202 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_ATTRIBUTE_REDEFINED : xmlParserErrors = 203 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_EMPTY : xmlParserErrors = 204 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_COLON : xmlParserErrors = 205 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_DEFAULT : xmlParserErrors = 500 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_REDEFINED : xmlParserErrors = 501 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_VALUE : xmlParserErrors = 502 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_ERROR : xmlParserErrors = 503 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_MODEL : xmlParserErrors = 504 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_NOT_DETERMINIST : xmlParserErrors = 505 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_DIFFERENT_PREFIX : xmlParserErrors = 506 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_DEFAULT_NAMESPACE : xmlParserErrors = 507 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_NAMESPACE : xmlParserErrors = 508 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_REDEFINED : xmlParserErrors = 509 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_EMPTY_NOTATION : xmlParserErrors = 510 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ENTITY_TYPE : xmlParserErrors = 511 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_FIXED : xmlParserErrors = 512 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_REDEFINED : xmlParserErrors = 513 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_SUBSET : xmlParserErrors = 514 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_INVALID_CHILD : xmlParserErrors = 515 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_INVALID_DEFAULT : xmlParserErrors = 516 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_LOAD_ERROR : xmlParserErrors = 517 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MISSING_ATTRIBUTE : xmlParserErrors = 518 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MIXED_CORRUPT : xmlParserErrors = 519 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MULTIPLE_ID : xmlParserErrors = 520 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_DOC : xmlParserErrors = 521 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_DTD : xmlParserErrors = 522 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_ELEM_NAME : xmlParserErrors = 523 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_PREFIX : xmlParserErrors = 524 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_ROOT : xmlParserErrors = 525 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOTATION_REDEFINED : xmlParserErrors = 526 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOTATION_VALUE : xmlParserErrors = 527 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_EMPTY : xmlParserErrors = 528 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_PCDATA : xmlParserErrors = 529 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_STANDALONE : xmlParserErrors = 530 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ROOT_NAME : xmlParserErrors = 531 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_STANDALONE_WHITE_SPACE : xmlParserErrors = 532 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ATTRIBUTE : xmlParserErrors = 533 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ELEM : xmlParserErrors = 534 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ENTITY : xmlParserErrors = 535 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ID : xmlParserErrors = 536 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_NOTATION : xmlParserErrors = 537 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_STANDALONE_DEFAULTED : xmlParserErrors = 538 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_XMLID_VALUE : xmlParserErrors = 539 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_XMLID_TYPE : xmlParserErrors = 540 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_DUP_TOKEN : xmlParserErrors = 541 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_STRUCURE_ERROR : xmlParserErrors = 800 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_UNKNOWN_TAG : xmlParserErrors = 801 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_INCORRECTLY_OPENED_COMMENT : xmlParserErrors = 802 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ANYNAME_ATTR_ANCESTOR : xmlParserErrors = 1000 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTR_CONFLICT : xmlParserErrors = 1001 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_CHILDREN : xmlParserErrors = 1002 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_CONTENT : xmlParserErrors = 1003 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_EMPTY : xmlParserErrors = 1004 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_NOOP : xmlParserErrors = 1005 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CHOICE_CONTENT : xmlParserErrors = 1006 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CHOICE_EMPTY : xmlParserErrors = 1007 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CREATE_FAILURE : xmlParserErrors = 1008 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DATA_CONTENT : xmlParserErrors = 1009 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEF_CHOICE_AND_INTERLEAVE : xmlParserErrors = 1010 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_CREATE_FAILED : xmlParserErrors = 1011 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_EMPTY : xmlParserErrors = 1012 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_MISSING : xmlParserErrors = 1013 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_NAME_MISSING : xmlParserErrors = 1014 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_CONTENT_EMPTY : xmlParserErrors = 1015 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_CONTENT_ERROR : xmlParserErrors = 1016 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_EMPTY : xmlParserErrors = 1017 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_CONTENT : xmlParserErrors = 1018 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_NAME : xmlParserErrors = 1019 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_NO_CONTENT : xmlParserErrors = 1020 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_TEXT_CONFLICT : xmlParserErrors = 1021 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY : xmlParserErrors = 1022 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_CONSTRUCT : xmlParserErrors = 1023 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_CONTENT : xmlParserErrors = 1024 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_NOT_EMPTY : xmlParserErrors = 1025 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ERROR_TYPE_LIB : xmlParserErrors = 1026 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_EMPTY : xmlParserErrors = 1027 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_MISSING : xmlParserErrors = 1028 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_MULTIPLE : xmlParserErrors = 1029 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_NO_CONTENT : xmlParserErrors = 1030 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNALREF_EMTPY : xmlParserErrors = 1031 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNAL_REF_FAILURE : xmlParserErrors = 1032 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNALREF_RECURSE : xmlParserErrors = 1033 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_FORBIDDEN_ATTRIBUTE : xmlParserErrors = 1034 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_FOREIGN_ELEMENT : xmlParserErrors = 1035 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_CONTENT : xmlParserErrors = 1036 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_EMPTY : xmlParserErrors = 1037 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_MISSING : xmlParserErrors = 1038 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_NO_START : xmlParserErrors = 1039 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GROUP_ATTR_CONFLICT : xmlParserErrors = 1040 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_HREF_ERROR : xmlParserErrors = 1041 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_EMPTY : xmlParserErrors = 1042 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_FAILURE : xmlParserErrors = 1043 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_RECURSE : xmlParserErrors = 1044 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_ADD : xmlParserErrors = 1045 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_CREATE_FAILED : xmlParserErrors = 1046 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_EMPTY : xmlParserErrors = 1047 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_NO_CONTENT : xmlParserErrors = 1048 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_DEFINE_NAME : xmlParserErrors = 1049 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_URI : xmlParserErrors = 1050 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_VALUE : xmlParserErrors = 1051 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_MISSING_HREF : xmlParserErrors = 1052 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NAME_MISSING : xmlParserErrors = 1053 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NEED_COMBINE : xmlParserErrors = 1054 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NOTALLOWED_NOT_EMPTY : xmlParserErrors = 1055 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NSNAME_ATTR_ANCESTOR : xmlParserErrors = 1056 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NSNAME_NO_NS : xmlParserErrors = 1057 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARAM_FORBIDDEN : xmlParserErrors = 1058 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARAM_NAME_MISSING : xmlParserErrors = 1059 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_CREATE_FAILED : xmlParserErrors = 1060 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NAME_INVALID : xmlParserErrors = 1061 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NO_NAME : xmlParserErrors = 1062 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NO_PARENT : xmlParserErrors = 1063 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NOT_EMPTY : xmlParserErrors = 1064 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARSE_ERROR : xmlParserErrors = 1065 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ANYNAME_EXCEPT_ANYNAME : xmlParserErrors = 1066 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ATTR_ATTR : xmlParserErrors = 1067 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ATTR_ELEM : xmlParserErrors = 1068 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ATTR : xmlParserErrors = 1069 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ELEM : xmlParserErrors = 1070 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_EMPTY : xmlParserErrors = 1071 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_GROUP : xmlParserErrors = 1072 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_INTERLEAVE : xmlParserErrors = 1073 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_LIST : xmlParserErrors = 1074 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ONEMORE : xmlParserErrors = 1075 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_REF : xmlParserErrors = 1076 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_TEXT : xmlParserErrors = 1077 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_ATTR : xmlParserErrors = 1078 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_ELEM : xmlParserErrors = 1079 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_INTERLEAVE : xmlParserErrors = 1080 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_LIST : xmlParserErrors = 1081 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_REF : xmlParserErrors = 1082 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_TEXT : xmlParserErrors = 1083 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_NSNAME_EXCEPT_ANYNAME : xmlParserErrors = 1084 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_NSNAME_EXCEPT_NSNAME : xmlParserErrors = 1085 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ONEMORE_GROUP_ATTR : xmlParserErrors = 1086 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ONEMORE_INTERLEAVE_ATTR : xmlParserErrors = 1087 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_ATTR : xmlParserErrors = 1088 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_DATA : xmlParserErrors = 1089 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_EMPTY : xmlParserErrors = 1090 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_GROUP : xmlParserErrors = 1091 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_INTERLEAVE : xmlParserErrors = 1092 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_LIST : xmlParserErrors = 1093 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_ONEMORE : xmlParserErrors = 1094 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_TEXT : xmlParserErrors = 1095 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_VALUE : xmlParserErrors = 1096 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PREFIX_UNDEFINED : xmlParserErrors = 1097 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_CREATE_FAILED : xmlParserErrors = 1098 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_CYCLE : xmlParserErrors = 1099 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NAME_INVALID : xmlParserErrors = 1100 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NO_DEF : xmlParserErrors = 1101 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NO_NAME : xmlParserErrors = 1102 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NOT_EMPTY : xmlParserErrors = 1103 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_CHOICE_AND_INTERLEAVE : xmlParserErrors = 1104 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_CONTENT : xmlParserErrors = 1105 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_EMPTY : xmlParserErrors = 1106 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_MISSING : xmlParserErrors = 1107 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TEXT_EXPECTED : xmlParserErrors = 1108 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TEXT_HAS_CHILD : xmlParserErrors = 1109 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_MISSING : xmlParserErrors = 1110 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_NOT_FOUND : xmlParserErrors = 1111 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_VALUE : xmlParserErrors = 1112 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_ATTRIBUTE : xmlParserErrors = 1113 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_COMBINE : xmlParserErrors = 1114 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_CONSTRUCT : xmlParserErrors = 1115 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_TYPE_LIB : xmlParserErrors = 1116 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_URI_FRAGMENT : xmlParserErrors = 1117 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_URI_NOT_ABSOLUTE : xmlParserErrors = 1118 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_VALUE_EMPTY : xmlParserErrors = 1119 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_VALUE_NO_CONTENT : xmlParserErrors = 1120 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_XMLNS_NAME : xmlParserErrors = 1121 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_XML_NS : xmlParserErrors = 1122 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_EXPRESSION_OK : xmlParserErrors = 1200 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_NUMBER_ERROR : xmlParserErrors = 1201 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNFINISHED_LITERAL_ERROR : xmlParserErrors = 1202 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_START_LITERAL_ERROR : xmlParserErrors = 1203 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_VARIABLE_REF_ERROR : xmlParserErrors = 1204 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNDEF_VARIABLE_ERROR : xmlParserErrors = 1205 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_PREDICATE_ERROR : xmlParserErrors = 1206 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_EXPR_ERROR : xmlParserErrors = 1207 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNCLOSED_ERROR : xmlParserErrors = 1208 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNKNOWN_FUNC_ERROR : xmlParserErrors = 1209 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_OPERAND : xmlParserErrors = 1210 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_TYPE : xmlParserErrors = 1211 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_ARITY : xmlParserErrors = 1212 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CTXT_SIZE : xmlParserErrors = 1213 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CTXT_POSITION : xmlParserErrors = 1214 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_MEMORY_ERROR : xmlParserErrors = 1215 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_SYNTAX_ERROR : xmlParserErrors = 1216 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_RESOURCE_ERROR : xmlParserErrors = 1217 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_SUB_RESOURCE_ERROR : xmlParserErrors = 1218 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNDEF_PREFIX_ERROR : xmlParserErrors = 1219 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_ENCODING_ERROR : xmlParserErrors = 1220 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CHAR_ERROR : xmlParserErrors = 1221 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_INVALID_HEX : xmlParserErrors = 1300 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_INVALID_DEC : xmlParserErrors = 1301 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_UNTERMINATED_ENTITY : xmlParserErrors = 1302 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_NOT_UTF8 : xmlParserErrors = 1303 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_NOT_UTF8 : xmlParserErrors = 1400 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_CHAR_INVALID : xmlParserErrors = 1401 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_NO_DOCTYPE : xmlParserErrors = 1402 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_UNKNOWN_ENCODING : xmlParserErrors = 1403 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_REGEXP_COMPILE_ERROR : xmlParserErrors = 1450 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_UNKNOWN : xmlParserErrors = 1500 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EACCES : xmlParserErrors = 1501 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EAGAIN : xmlParserErrors = 1502 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBADF : xmlParserErrors = 1503 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBADMSG : xmlParserErrors = 1504 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBUSY : xmlParserErrors = 1505 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ECANCELED : xmlParserErrors = 1506 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ECHILD : xmlParserErrors = 1507 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EDEADLK : xmlParserErrors = 1508 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EDOM : xmlParserErrors = 1509 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EEXIST : xmlParserErrors = 1510 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EFAULT : xmlParserErrors = 1511 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EFBIG : xmlParserErrors = 1512 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINPROGRESS : xmlParserErrors = 1513 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINTR : xmlParserErrors = 1514 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINVAL : xmlParserErrors = 1515 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EIO : xmlParserErrors = 1516 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EISDIR : xmlParserErrors = 1517 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMFILE : xmlParserErrors = 1518 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMLINK : xmlParserErrors = 1519 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMSGSIZE : xmlParserErrors = 1520 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENAMETOOLONG : xmlParserErrors = 1521 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENFILE : xmlParserErrors = 1522 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENODEV : xmlParserErrors = 1523 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOENT : xmlParserErrors = 1524 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOEXEC : xmlParserErrors = 1525 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOLCK : xmlParserErrors = 1526 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOMEM : xmlParserErrors = 1527 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOSPC : xmlParserErrors = 1528 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOSYS : xmlParserErrors = 1529 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTDIR : xmlParserErrors = 1530 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTEMPTY : xmlParserErrors = 1531 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTSUP : xmlParserErrors = 1532 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTTY : xmlParserErrors = 1533 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENXIO : xmlParserErrors = 1534 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EPERM : xmlParserErrors = 1535 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EPIPE : xmlParserErrors = 1536 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ERANGE : xmlParserErrors = 1537 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EROFS : xmlParserErrors = 1538 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ESPIPE : xmlParserErrors = 1539 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ESRCH : xmlParserErrors = 1540 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ETIMEDOUT : xmlParserErrors = 1541 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EXDEV : xmlParserErrors = 1542 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_NETWORK_ATTEMPT : xmlParserErrors = 1543 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENCODER : xmlParserErrors = 1544 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_FLUSH : xmlParserErrors = 1545 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_WRITE : xmlParserErrors = 1546 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_NO_INPUT : xmlParserErrors = 1547 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_BUFFER_FULL : xmlParserErrors = 1548 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_LOAD_ERROR : xmlParserErrors = 1549 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTSOCK : xmlParserErrors = 1550 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EISCONN : xmlParserErrors = 1551 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ECONNREFUSED : xmlParserErrors = 1552 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENETUNREACH : xmlParserErrors = 1553 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EADDRINUSE : xmlParserErrors = 1554 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EALREADY : xmlParserErrors = 1555 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EAFNOSUPPORT : xmlParserErrors = 1556 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_UNSUPPORTED_PROTOCOL : xmlParserErrors = 1557 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_RECURSION : xmlParserErrors = 1600 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_PARSE_VALUE : xmlParserErrors = 1601 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_ENTITY_DEF_MISMATCH : xmlParserErrors = 1602 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_NO_HREF : xmlParserErrors = 1603 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_NO_FALLBACK : xmlParserErrors = 1604 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_HREF_URI : xmlParserErrors = 1605 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_TEXT_FRAGMENT : xmlParserErrors = 1606 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_TEXT_DOCUMENT : xmlParserErrors = 1607 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_INVALID_CHAR : xmlParserErrors = 1608 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_BUILD_FAILED : xmlParserErrors = 1609 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_UNKNOWN_ENCODING : xmlParserErrors = 1610 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_MULTIPLE_ROOT : xmlParserErrors = 1611 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_XPTR_FAILED : xmlParserErrors = 1612 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_XPTR_RESULT : xmlParserErrors = 1613 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_INCLUDE_IN_INCLUDE : xmlParserErrors = 1614 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FALLBACKS_IN_INCLUDE : xmlParserErrors = 1615 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FALLBACK_NOT_IN_INCLUDE : xmlParserErrors = 1616 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_DEPRECATED_NS : xmlParserErrors = 1617 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FRAGMENT_ID : xmlParserErrors = 1618 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_MISSING_ATTR : xmlParserErrors = 1650 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_ENTRY_BROKEN : xmlParserErrors = 1651 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_PREFER_VALUE : xmlParserErrors = 1652 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_NOT_CATALOG : xmlParserErrors = 1653 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_RECURSION : xmlParserErrors = 1654 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_PREFIX_UNDEFINED : xmlParserErrors = 1700 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTRFORMDEFAULT_VALUE : xmlParserErrors = 1701 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTRGRP_NONAME_NOREF : xmlParserErrors = 1702 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTR_NONAME_NOREF : xmlParserErrors = 1703 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COMPLEXTYPE_NONAME_NOREF : xmlParserErrors = 1704 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEMFORMDEFAULT_VALUE : xmlParserErrors = 1705 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEM_NONAME_NOREF : xmlParserErrors = 1706 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_EXTENSION_NO_BASE : xmlParserErrors = 1707 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FACET_NO_VALUE : xmlParserErrors = 1708 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_BUILD_IMPORT : xmlParserErrors = 1709 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_GROUP_NONAME_NOREF : xmlParserErrors = 1710 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_NAMESPACE_NOT_URI : xmlParserErrors = 1711 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_REDEFINE_NSNAME : xmlParserErrors = 1712 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_SCHEMA_NOT_URI : xmlParserErrors = 1713 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_BOOLEAN : xmlParserErrors = 1714 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ENUM : xmlParserErrors = 1715 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_FACET : xmlParserErrors = 1716 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_FACET_VALUE : xmlParserErrors = 1717 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_MAXOCCURS : xmlParserErrors = 1718 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_MINOCCURS : xmlParserErrors = 1719 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_REF_AND_SUBTYPE : xmlParserErrors = 1720 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_WHITE_SPACE : xmlParserErrors = 1721 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOATTR_NOREF : xmlParserErrors = 1722 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTATION_NO_NAME : xmlParserErrors = 1723 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTYPE_NOREF : xmlParserErrors = 1724 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REF_AND_SUBTYPE : xmlParserErrors = 1725 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_RESTRICTION_NONAME_NOREF : xmlParserErrors = 1726 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SIMPLETYPE_NONAME : xmlParserErrors = 1727 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_TYPE_AND_SUBTYPE : xmlParserErrors = 1728 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ALL_CHILD : xmlParserErrors = 1729 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ANYATTRIBUTE_CHILD : xmlParserErrors = 1730 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTR_CHILD : xmlParserErrors = 1731 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTRGRP_CHILD : xmlParserErrors = 1732 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTRIBUTE_GROUP : xmlParserErrors = 1733 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_BASE_TYPE : xmlParserErrors = 1734 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_CHOICE_CHILD : xmlParserErrors = 1735 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_COMPLEXCONTENT_CHILD : xmlParserErrors = 1736 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_COMPLEXTYPE_CHILD : xmlParserErrors = 1737 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ELEM_CHILD : xmlParserErrors = 1738 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_EXTENSION_CHILD : xmlParserErrors = 1739 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_FACET_CHILD : xmlParserErrors = 1740 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_FACET_TYPE : xmlParserErrors = 1741 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_GROUP_CHILD : xmlParserErrors = 1742 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_IMPORT_CHILD : xmlParserErrors = 1743 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_LIST_CHILD : xmlParserErrors = 1744 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_NOTATION_CHILD : xmlParserErrors = 1745 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_PROCESSCONTENT_CHILD : xmlParserErrors = 1746 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_REF : xmlParserErrors = 1747 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_RESTRICTION_CHILD : xmlParserErrors = 1748 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SCHEMAS_CHILD : xmlParserErrors = 1749 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SEQUENCE_CHILD : xmlParserErrors = 1750 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SIMPLECONTENT_CHILD : xmlParserErrors = 1751 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SIMPLETYPE_CHILD : xmlParserErrors = 1752 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_TYPE : xmlParserErrors = 1753 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_UNION_CHILD : xmlParserErrors = 1754 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEM_DEFAULT_FIXED : xmlParserErrors = 1755 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REGEXP_INVALID : xmlParserErrors = 1756 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_LOAD : xmlParserErrors = 1757 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTHING_TO_PARSE : xmlParserErrors = 1758 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOROOT : xmlParserErrors = 1759 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_GROUP : xmlParserErrors = 1760 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_TYPE : xmlParserErrors = 1761 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ELEMENT : xmlParserErrors = 1762 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ATTRGROUP : xmlParserErrors = 1763 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ATTR : xmlParserErrors = 1764 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_NOTATION : xmlParserErrors = 1765 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_PARSE : xmlParserErrors = 1766 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_PREFIX : xmlParserErrors = 1767 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DEF_AND_PREFIX : xmlParserErrors = 1768 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_INCLUDE_CHILD : xmlParserErrors = 1769 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INCLUDE_SCHEMA_NOT_URI : xmlParserErrors = 1770 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INCLUDE_SCHEMA_NO_URI : xmlParserErrors = 1771 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOT_SCHEMA : xmlParserErrors = 1772 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_MEMBER_TYPE : xmlParserErrors = 1773 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_USE : xmlParserErrors = 1774 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_RECURSIVE : xmlParserErrors = 1775 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPE : xmlParserErrors = 1776 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_COMBINATION : xmlParserErrors = 1777 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_INLINE_COMBINATION : xmlParserErrors = 1778 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MISSING_SIMPLETYPE_CHILD : xmlParserErrors = 1779 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_NAME : xmlParserErrors = 1780 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REF_AND_CONTENT : xmlParserErrors = 1781 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_1 : xmlParserErrors = 1782 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_2 : xmlParserErrors = 1783 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_3 : xmlParserErrors = 1784 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_4 : xmlParserErrors = 1785 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_5 : xmlParserErrors = 1786 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_1 : xmlParserErrors = 1787 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_1 : xmlParserErrors = 1788 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_2 : xmlParserErrors = 1789 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_2 : xmlParserErrors = 1790 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_3 : xmlParserErrors = 1791 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WILDCARD_INVALID_NS_MEMBER : xmlParserErrors = 1792 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INTERSECTION_NOT_EXPRESSIBLE : xmlParserErrors = 1793 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNION_NOT_EXPRESSIBLE : xmlParserErrors = 1794 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_3_1 : xmlParserErrors = 1795 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_3_2 : xmlParserErrors = 1796 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_1 : xmlParserErrors = 1797 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_2 : xmlParserErrors = 1798 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_3 : xmlParserErrors = 1799 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_3 : xmlParserErrors = 1800 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOROOT : xmlParserErrors = 1801 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_UNDECLAREDELEM : xmlParserErrors = 1802 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTTOPLEVEL : xmlParserErrors = 1803 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_MISSING : xmlParserErrors = 1804 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_WRONGELEM : xmlParserErrors = 1805 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTYPE : xmlParserErrors = 1806 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOROLLBACK : xmlParserErrors = 1807 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ISABSTRACT : xmlParserErrors = 1808 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTEMPTY : xmlParserErrors = 1809 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ELEMCONT : xmlParserErrors = 1810 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_HAVEDEFAULT : xmlParserErrors = 1811 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTNILLABLE : xmlParserErrors = 1812 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_EXTRACONTENT : xmlParserErrors = 1813 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INVALIDATTR : xmlParserErrors = 1814 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INVALIDELEM : xmlParserErrors = 1815 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTDETERMINIST : xmlParserErrors = 1816 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CONSTRUCT : xmlParserErrors = 1817 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INTERNAL : xmlParserErrors = 1818 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTSIMPLE : xmlParserErrors = 1819 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ATTRUNKNOWN : xmlParserErrors = 1820 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ATTRINVALID : xmlParserErrors = 1821 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_VALUE : xmlParserErrors = 1822 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_FACET : xmlParserErrors = 1823 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_1 : xmlParserErrors = 1824 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_2 : xmlParserErrors = 1825 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_3 : xmlParserErrors = 1826 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_3_1_1 : xmlParserErrors = 1827 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_3_1_2 : xmlParserErrors = 1828 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_FACET_VALID : xmlParserErrors = 1829 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_LENGTH_VALID : xmlParserErrors = 1830 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MINLENGTH_VALID : xmlParserErrors = 1831 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXLENGTH_VALID : xmlParserErrors = 1832 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MININCLUSIVE_VALID : xmlParserErrors = 1833 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXINCLUSIVE_VALID : xmlParserErrors = 1834 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MINEXCLUSIVE_VALID : xmlParserErrors = 1835 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXEXCLUSIVE_VALID : xmlParserErrors = 1836 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TOTALDIGITS_VALID : xmlParserErrors = 1837 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_FRACTIONDIGITS_VALID : xmlParserErrors = 1838 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_PATTERN_VALID : xmlParserErrors = 1839 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ENUMERATION_VALID : xmlParserErrors = 1840 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_1 : xmlParserErrors = 1841 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_2 : xmlParserErrors = 1842 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_3 : xmlParserErrors = 1843 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_4 : xmlParserErrors = 1844 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_1 : xmlParserErrors = 1845 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_2 : xmlParserErrors = 1846 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_1 : xmlParserErrors = 1847 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_2_1 : xmlParserErrors = 1848 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_2_2 : xmlParserErrors = 1849 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_1 : xmlParserErrors = 1850 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_2 : xmlParserErrors = 1851 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_3 : xmlParserErrors = 1852 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_1_1 : xmlParserErrors = 1853 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_1_2 : xmlParserErrors = 1854 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_1 : xmlParserErrors = 1855 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_1 : xmlParserErrors = 1856 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_2_1 : xmlParserErrors = 1857 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_2_2 : xmlParserErrors = 1858 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_6 : xmlParserErrors = 1859 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_7 : xmlParserErrors = 1860 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_1 : xmlParserErrors = 1861 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_2 : xmlParserErrors = 1862 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_3 : xmlParserErrors = 1863 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_4 : xmlParserErrors = 1864 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_1 : xmlParserErrors = 1865 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_1 : xmlParserErrors = 1866 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_2 : xmlParserErrors = 1867 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_4 : xmlParserErrors = 1868 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_5_1 : xmlParserErrors = 1869 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_5_2 : xmlParserErrors = 1870 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ELEMENT_CONTENT : xmlParserErrors = 1871 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_DOCUMENT_ELEMENT_MISSING : xmlParserErrors = 1872 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_1 : xmlParserErrors = 1873 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_AU : xmlParserErrors = 1874 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_1 : xmlParserErrors = 1875 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_2 : xmlParserErrors = 1876 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_IDC : xmlParserErrors = 1877 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_WILDCARD : xmlParserErrors = 1878 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_MISC : xmlParserErrors = 1879 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_UNKNOWN_SCHEME : xmlParserErrors = 1900 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_CHILDSEQ_START : xmlParserErrors = 1901 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_EVAL_FAILED : xmlParserErrors = 1902 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_EXTRA_OBJECTS : xmlParserErrors = 1903 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_CREATE_CTXT : xmlParserErrors = 1950 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_REQUIRES_UTF8 : xmlParserErrors = 1951 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_CREATE_STACK : xmlParserErrors = 1952 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_INVALID_NODE : xmlParserErrors = 1953 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_UNKNOW_NODE : xmlParserErrors = 1954 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_RELATIVE_NAMESPACE : xmlParserErrors = 1955 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_PASV_ANSWER : xmlParserErrors = 2000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_EPSV_ANSWER : xmlParserErrors = 2001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_ACCNT : xmlParserErrors = 2002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_URL_SYNTAX : xmlParserErrors = 2003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_URL_SYNTAX : xmlParserErrors = 2020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_USE_IP : xmlParserErrors = 2021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_UNKNOWN_HOST : xmlParserErrors = 2022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_1 : xmlParserErrors = 3000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_2 : xmlParserErrors = 3001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_3 : xmlParserErrors = 3002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_4 : xmlParserErrors = 3003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_RESOLVE : xmlParserErrors = 3004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE : xmlParserErrors = 3005 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE : xmlParserErrors = 3006 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPES : xmlParserErrors = 3007 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_1 : xmlParserErrors = 3008 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_2 : xmlParserErrors = 3009 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_3 : xmlParserErrors = 3010 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_1 : xmlParserErrors = 3011 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_2 : xmlParserErrors = 3012 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_3_1 : xmlParserErrors = 3013 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_3_2 : xmlParserErrors = 3014 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_1 : xmlParserErrors = 3015 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_1 : xmlParserErrors = 3016 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_2 : xmlParserErrors = 3017 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_1 : xmlParserErrors = 3018 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_2 : xmlParserErrors = 3019 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_3 : xmlParserErrors = 3020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_4 : xmlParserErrors = 3021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_5 : xmlParserErrors = 3022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_1 : xmlParserErrors = 3023 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1 : xmlParserErrors = 3024 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1_2 : xmlParserErrors = 3025 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_2 : xmlParserErrors = 3026 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_1 : xmlParserErrors = 3027 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_3 : xmlParserErrors = 3028 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_4 : xmlParserErrors = 3029 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_5 : xmlParserErrors = 3030 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_DERIVED_OK_2_1 : xmlParserErrors = 3031 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_DERIVED_OK_2_2 : xmlParserErrors = 3032 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ELEM_NOT_ALLOWED : xmlParserErrors = 3033 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ELEM_MISSING : xmlParserErrors = 3034 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_NOT_ALLOWED : xmlParserErrors = 3035 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_MISSING : xmlParserErrors = 3036 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_INVALID_VALUE : xmlParserErrors = 3037 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_1 : xmlParserErrors = 3038 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_2_1 : xmlParserErrors = 3039 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_2_2 : xmlParserErrors = 3040 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_3 : xmlParserErrors = 3041 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_1 : xmlParserErrors = 3042 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_2_1 : xmlParserErrors = 3043 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_2_2 : xmlParserErrors = 3044 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_2 : xmlParserErrors = 3045 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_3 : xmlParserErrors = 3046 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_4 : xmlParserErrors = 3047 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_5 : xmlParserErrors = 3048 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_6 : xmlParserErrors = 3049 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_INCLUDE : xmlParserErrors = 3050 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_1 : xmlParserErrors = 3051 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_2 : xmlParserErrors = 3052 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_3_1 : xmlParserErrors = 3053 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_3_2 : xmlParserErrors = 3054 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_4 : xmlParserErrors = 3055 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NO_XMLNS : xmlParserErrors = 3056 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NO_XSI : xmlParserErrors = 3057 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_1 : xmlParserErrors = 3058 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_1 : xmlParserErrors = 3059 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_2_1 : xmlParserErrors = 3060 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_2_2 : xmlParserErrors = 3061 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CVC_SIMPLE_TYPE : xmlParserErrors = 3062 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_1 : xmlParserErrors = 3063 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_1_1 : xmlParserErrors = 3064 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_1_2 : xmlParserErrors = 3065 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2 : xmlParserErrors = 3066 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2_1 : xmlParserErrors = 3067 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2_2 : xmlParserErrors = 3068 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INTERNAL : xmlParserErrors = 3069 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOT_DETERMINISTIC : xmlParserErrors = 3070 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_1 : xmlParserErrors = 3071 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_2 : xmlParserErrors = 3072 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_3 : xmlParserErrors = 3073 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MG_PROPS_CORRECT_1 : xmlParserErrors = 3074 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MG_PROPS_CORRECT_2 : xmlParserErrors = 3075 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_CT_1 : xmlParserErrors = 3076 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_3 : xmlParserErrors = 3077 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AU_PROPS_CORRECT_2 : xmlParserErrors = 3078 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_A_PROPS_CORRECT_2 : xmlParserErrors = 3079 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_C_PROPS_CORRECT : xmlParserErrors = 3080 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_REDEFINE : xmlParserErrors = 3081 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT : xmlParserErrors = 3082 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_SKIP_SCHEMA : xmlParserErrors = 3083 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_UNLOCATED_SCHEMA : xmlParserErrors = 3084 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_ATTR_REDECL_PROH : xmlParserErrors = 3085 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_ATTR_POINTLESS_PROH : xmlParserErrors = 3086 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AG_PROPS_CORRECT : xmlParserErrors = 3087 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_2 : xmlParserErrors = 3088 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AU_PROPS_CORRECT : xmlParserErrors = 3089 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_A_PROPS_CORRECT_3 : xmlParserErrors = 3090 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ALL_LIMITED : xmlParserErrors = 3091 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMATRONV_ASSERT : xmlParserErrors = 4000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMATRONV_REPORT : xmlParserErrors = 4001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_MODULE_OPEN : xmlParserErrors = 4900 ; # [doc = " File not found."] pub const xmlParserErrors_XML_MODULE_CLOSE : xmlParserErrors = 4901 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ELEMENT : xmlParserErrors = 5000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ATTRIBUTE : xmlParserErrors = 5001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_TEXT : xmlParserErrors = 5002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_CDATA : xmlParserErrors = 5003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ENTITYREF : xmlParserErrors = 5004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ENTITY : xmlParserErrors = 5005 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_PI : xmlParserErrors = 5006 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_COMMENT : xmlParserErrors = 5007 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_DOCTYPE : xmlParserErrors = 5008 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_FRAGMENT : xmlParserErrors = 5009 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_NOTATION : xmlParserErrors = 5010 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_UNKNOWN_NODE : xmlParserErrors = 5011 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_ENTITY_TYPE : xmlParserErrors = 5012 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_PARENT : xmlParserErrors = 5013 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_DOC : xmlParserErrors = 5014 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_NAME : xmlParserErrors = 5015 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_ELEM : xmlParserErrors = 5016 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_DOC : xmlParserErrors = 5017 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_PREV : xmlParserErrors = 5018 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_PREV : xmlParserErrors = 5019 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_NEXT : xmlParserErrors = 5020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_NEXT : xmlParserErrors = 5021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_DTD : xmlParserErrors = 5022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ATTR : xmlParserErrors = 5023 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ATTR_DECL : xmlParserErrors = 5024 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ELEM_DECL : xmlParserErrors = 5025 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ENTITY_DECL : xmlParserErrors = 5026 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_NS_DECL : xmlParserErrors = 5027 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_HREF : xmlParserErrors = 5028 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_PARENT : xmlParserErrors = 5029 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NS_SCOPE : xmlParserErrors = 5030 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NS_ANCESTOR : xmlParserErrors = 5031 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_UTF8 : xmlParserErrors = 5032 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_DICT : xmlParserErrors = 5033 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_NCNAME : xmlParserErrors = 5034 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_OUTSIDE_DICT : xmlParserErrors = 5035 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_NAME : xmlParserErrors = 5036 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NAME_NOT_NULL : xmlParserErrors = 5037 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_NAME : xmlParserErrors = 6000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_HANDLER : xmlParserErrors = 6001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_EXCESS_HANDLER : xmlParserErrors = 6002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_CONV_FAILED : xmlParserErrors = 6003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_OUTPUT : xmlParserErrors = 6004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_BUF_OVERFLOW : xmlParserErrors = 7000 ; # [doc = " Error codes. Note that only some codes are documented."] pub type xmlParserErrors = :: std :: os :: raw :: c_uint ; # [doc = " Generic error callback.\n\n @deprecated in favor of structured errors.\n @param ctx  user data\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlGenericErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Structured error callback receiving an xmlError.\n\n @param userData  user provided data for the error callback\n @param error  the error being raised"] pub type xmlStructuredErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (userData : * mut :: std :: os :: raw :: c_void , error : * const xmlError) > ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlLastError () -> * const xmlError ; } unsafe extern "C" { pub fn __xmlGenericError () -> * mut xmlGenericErrorFunc ; } unsafe extern "C" { pub fn __xmlGenericErrorContext () -> * mut * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn __xmlStructuredError () -> * mut xmlStructuredErrorFunc ; } unsafe extern "C" { pub fn __xmlStructuredErrorContext () -> * mut * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlSetGenericErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlGenericErrorFunc) ; } unsafe extern "C" { pub fn xmlSetStructuredErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlStructuredErrorFunc) ; } unsafe extern "C" { pub fn xmlThrDefSetGenericErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlGenericErrorFunc) ; } unsafe extern "C" { pub fn xmlThrDefSetStructuredErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlStructuredErrorFunc) ; } unsafe extern "C" { pub fn xmlParserError (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserWarning (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserValidityError (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserValidityWarning (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserPrintFileInfo (input : * mut _xmlParserInput) ; } unsafe extern "C" { pub fn xmlParserPrintFileContext (input : * mut _xmlParserInput) ; } unsafe extern "C" { pub fn xmlFormatError (err : * const xmlError , channel : xmlGenericErrorFunc , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlGetLastError () -> * const xmlError ; } unsafe extern "C" { pub fn xmlResetLastError () ; } unsafe extern "C" { pub fn xmlCtxtGetLastError (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlError ; } unsafe extern "C" { pub fn xmlCtxtResetLastError (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlResetError (err : * mut xmlError) ; } unsafe extern "C" { pub fn xmlCopyError (from : * const xmlError , to : * mut xmlError) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlLink { _unused : [u8 ; 0] , } # [doc = " Linked list item\n\n @deprecated Don't use in new code."] pub type xmlLink = _xmlLink ; pub type xmlLinkPtr = * mut xmlLink ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlList { _unused : [u8 ; 0] , } # [doc = " Linked list\n\n @deprecated Don't use in new code."] pub type xmlList = _xmlList ; pub type xmlListPtr = * mut xmlList ; # [doc = " Callback function used to free data from a list.\n\n @param lk  the data to deallocate"] pub type xmlListDeallocator = :: std :: option :: Option < unsafe extern "C" fn (lk : * mut xmlLink) > ; # [doc = " Callback function used to compare 2 data.\n\n @param data0  the first data\n @param data1  the second data\n @returns 0 is equality, -1 or 1 otherwise depending on the ordering."] pub type xmlListDataCompare = :: std :: option :: Option < unsafe extern "C" fn (data0 : * const :: std :: os :: raw :: c_void , data1 : * const :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback function used when walking a list with #xmlListWalk.\n\n @param data  the data found in the list\n @param user  extra user provided data to the walker\n @returns 0 to stop walking the list, 1 otherwise."] pub type xmlListWalker = :: std :: option :: Option < unsafe extern "C" fn (data : * const :: std :: os :: raw :: c_void , user : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; unsafe extern "C" { pub fn xmlListCreate (deallocator : xmlListDeallocator , compare : xmlListDataCompare) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlListDelete (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListSearch (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlListReverseSearch (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlListInsert (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListAppend (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveFirst (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveLast (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveAll (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListClear (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListEmpty (l : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListFront (l : * mut xmlList) -> * mut xmlLink ; } unsafe extern "C" { pub fn xmlListEnd (l : * mut xmlList) -> * mut xmlLink ; } unsafe extern "C" { pub fn xmlListSize (l : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListPopFront (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListPopBack (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListPushFront (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListPushBack (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListReverse (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListSort (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListWalk (l : * mut xmlList , walker : xmlListWalker , user : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlListReverseWalk (l : * mut xmlList , walker : xmlListWalker , user : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlListMerge (l1 : * mut xmlList , l2 : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListDup (old : * mut xmlList) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlListCopy (cur : * mut xmlList , old : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlLinkGetData (lk : * mut xmlLink) -> * mut :: std :: os :: raw :: c_void ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAutomata { _unused : [u8 ; 0] , } # [doc = " A libxml automata description\n\n It can be compiled into a regexp"] pub type xmlAutomata = _xmlAutomata ; pub type xmlAutomataPtr = * mut xmlAutomata ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAutomataState { _unused : [u8 ; 0] , } # [doc = " A state in the automata description"] pub type xmlAutomataState = _xmlAutomataState ; pub type xmlAutomataStatePtr = * mut xmlAutomataState ; unsafe extern "C" { pub fn xmlNewAutomata () -> * mut xmlAutomata ; } unsafe extern "C" { pub fn xmlFreeAutomata (am : * mut xmlAutomata) ; } unsafe extern "C" { pub fn xmlAutomataGetInitState (am : * mut xmlAutomata) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataSetFinalState (am : * mut xmlAutomata , state : * mut xmlAutomataState) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAutomataNewState (am : * mut xmlAutomata) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewTransition (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewTransition2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewNegTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountTrans2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewOnceTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewOnceTrans2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewAllTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , lax : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewEpsilon (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountedTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , counter : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCounterTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , counter : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCounter (am : * mut xmlAutomata , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAutomataCompile (am : * mut xmlAutomata) -> * mut _xmlRegexp ; } unsafe extern "C" { pub fn xmlAutomataIsDeterminist (am : * mut xmlAutomata) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlValidState { _unused : [u8 ; 0] , } pub type xmlValidState = _xmlValidState ; pub type xmlValidStatePtr = * mut xmlValidState ; # [doc = " Report a validity error.\n\n @param ctx  user data (usually an xmlValidCtxt)\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlValidityErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Report a validity warning.\n\n @param ctx  user data (usually an xmlValidCtxt)\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlValidityWarningFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " An xmlValidCtxt is used for error reporting when validating."] pub type xmlValidCtxt = _xmlValidCtxt ; pub type xmlValidCtxtPtr = * mut xmlValidCtxt ; # [doc = " An xmlValidCtxt is used for error reporting when validating."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlValidCtxt { pub userData : * mut :: std :: os :: raw :: c_void , pub error : xmlValidityErrorFunc , pub warning : xmlValidityWarningFunc , pub node : * mut xmlNode , pub nodeNr : :: std :: os :: raw :: c_int , pub nodeMax : :: std :: os :: raw :: c_int , pub nodeTab : * mut * mut xmlNode , pub flags : :: std :: os :: raw :: c_uint , pub doc : * mut xmlDoc , pub valid : :: std :: os :: raw :: c_int , pub vstate : * mut xmlValidState , pub vstateNr : :: std :: os :: raw :: c_int , pub vstateMax : :: std :: os :: raw :: c_int , pub vstateTab : * mut xmlValidState , pub am : * mut xmlAutomata , pub state : * mut xmlAutomataState , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlValidCtxt"] [:: std :: mem :: size_of :: < _xmlValidCtxt > () - 112usize] ; ["Alignment of _xmlValidCtxt"] [:: std :: mem :: align_of :: < _xmlValidCtxt > () - 8usize] ; ["Offset of field: _xmlValidCtxt::userData"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , userData) - 0usize] ; ["Offset of field: _xmlValidCtxt::error"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , error) - 8usize] ; ["Offset of field: _xmlValidCtxt::warning"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , warning) - 16usize] ; ["Offset of field: _xmlValidCtxt::node"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , node) - 24usize] ; ["Offset of field: _xmlValidCtxt::nodeNr"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeNr) - 32usize] ; ["Offset of field: _xmlValidCtxt::nodeMax"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeMax) - 36usize] ; ["Offset of field: _xmlValidCtxt::nodeTab"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeTab) - 40usize] ; ["Offset of field: _xmlValidCtxt::flags"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , flags) - 48usize] ; ["Offset of field: _xmlValidCtxt::doc"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , doc) - 56usize] ; ["Offset of field: _xmlValidCtxt::valid"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , valid) - 64usize] ; ["Offset of field: _xmlValidCtxt::vstate"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstate) - 72usize] ; ["Offset of field: _xmlValidCtxt::vstateNr"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateNr) - 80usize] ; ["Offset of field: _xmlValidCtxt::vstateMax"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateMax) - 84usize] ; ["Offset of field: _xmlValidCtxt::vstateTab"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateTab) - 88usize] ; ["Offset of field: _xmlValidCtxt::am"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , am) - 96usize] ; ["Offset of field: _xmlValidCtxt::state"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , state) - 104usize] ; } ; pub type xmlNotationTable = _xmlHashTable ; pub type xmlNotationTablePtr = * mut xmlNotationTable ; pub type xmlElementTable = _xmlHashTable ; pub type xmlElementTablePtr = * mut xmlElementTable ; pub type xmlAttributeTable = _xmlHashTable ; pub type xmlAttributeTablePtr = * mut xmlAttributeTable ; pub type xmlIDTable = _xmlHashTable ; pub type xmlIDTablePtr = * mut xmlIDTable ; pub type xmlRefTable = _xmlHashTable ; pub type xmlRefTablePtr = * mut xmlRefTable ; unsafe extern "C" { pub fn xmlAddNotationDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlNotation ; } unsafe extern "C" { pub fn xmlCopyNotationTable (table : * mut xmlNotationTable) -> * mut xmlNotationTable ; } unsafe extern "C" { pub fn xmlFreeNotationTable (table : * mut xmlNotationTable) ; } unsafe extern "C" { pub fn xmlDumpNotationDecl (buf : * mut xmlBuffer , nota : * mut xmlNotation) ; } unsafe extern "C" { pub fn xmlDumpNotationTable (buf : * mut xmlBuffer , table : * mut xmlNotationTable) ; } unsafe extern "C" { pub fn xmlNewElementContent (name : * const xmlChar , type_ : xmlElementContentType) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlCopyElementContent (content : * mut xmlElementContent) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlFreeElementContent (cur : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlNewDocElementContent (doc : * mut xmlDoc , name : * const xmlChar , type_ : xmlElementContentType) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlCopyDocElementContent (doc : * mut xmlDoc , content : * mut xmlElementContent) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlFreeDocElementContent (doc : * mut xmlDoc , cur : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlSnprintfElementContent (buf : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , content : * mut xmlElementContent , englob : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSprintfElementContent (buf : * mut :: std :: os :: raw :: c_char , content : * mut xmlElementContent , englob : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlAddElementDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , name : * const xmlChar , type_ : xmlElementTypeVal , content : * mut xmlElementContent) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlCopyElementTable (table : * mut xmlElementTable) -> * mut xmlElementTable ; } unsafe extern "C" { pub fn xmlFreeElementTable (table : * mut xmlElementTable) ; } unsafe extern "C" { pub fn xmlDumpElementTable (buf : * mut xmlBuffer , table : * mut xmlElementTable) ; } unsafe extern "C" { pub fn xmlDumpElementDecl (buf : * mut xmlBuffer , elem : * mut xmlElement) ; } unsafe extern "C" { pub fn xmlCreateEnumeration (name : * const xmlChar) -> * mut xmlEnumeration ; } unsafe extern "C" { pub fn xmlFreeEnumeration (cur : * mut xmlEnumeration) ; } unsafe extern "C" { pub fn xmlCopyEnumeration (cur : * mut xmlEnumeration) -> * mut xmlEnumeration ; } unsafe extern "C" { pub fn xmlAddAttributeDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar , ns : * const xmlChar , type_ : xmlAttributeType , def : xmlAttributeDefault , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlCopyAttributeTable (table : * mut xmlAttributeTable) -> * mut xmlAttributeTable ; } unsafe extern "C" { pub fn xmlFreeAttributeTable (table : * mut xmlAttributeTable) ; } unsafe extern "C" { pub fn xmlDumpAttributeTable (buf : * mut xmlBuffer , table : * mut xmlAttributeTable) ; } unsafe extern "C" { pub fn xmlDumpAttributeDecl (buf : * mut xmlBuffer , attr : * mut xmlAttribute) ; } unsafe extern "C" { pub fn xmlAddIDSafe (attr : * mut xmlAttr , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddID (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , value : * const xmlChar , attr : * mut xmlAttr) -> * mut xmlID ; } unsafe extern "C" { pub fn xmlFreeIDTable (table : * mut xmlIDTable) ; } unsafe extern "C" { pub fn xmlGetID (doc : * mut xmlDoc , ID : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlIsID (doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveID (doc : * mut xmlDoc , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddRef (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , value : * const xmlChar , attr : * mut xmlAttr) -> * mut xmlRef ; } unsafe extern "C" { pub fn xmlFreeRefTable (table : * mut xmlRefTable) ; } unsafe extern "C" { pub fn xmlIsRef (doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveRef (doc : * mut xmlDoc , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetRefs (doc : * mut xmlDoc , ID : * const xmlChar) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlNewValidCtxt () -> * mut xmlValidCtxt ; } unsafe extern "C" { pub fn xmlFreeValidCtxt (arg1 : * mut xmlValidCtxt) ; } unsafe extern "C" { pub fn xmlValidateRoot (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateElementDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlElement) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidNormalizeAttributeValue (doc : * mut xmlDoc , elem : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlValidCtxtNormalizeAttributeValue (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlValidateAttributeDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , attr : * mut xmlAttribute) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateAttributeValue (type_ : xmlAttributeType , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNotationDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , nota : * mut xmlNotation) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDtd (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , dtd : * mut xmlDtd) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDtdFinal (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDocument (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneAttribute (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneNamespace (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , prefix : * const xmlChar , ns : * mut xmlNs , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDocumentFinal (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNotationUse (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , notationName : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsMixedElement (doc : * mut xmlDoc , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetDtdAttrDesc (dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlGetDtdQAttrDesc (dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar , prefix : * const xmlChar) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlGetDtdNotationDesc (dtd : * mut xmlDtd , name : * const xmlChar) -> * mut xmlNotation ; } unsafe extern "C" { pub fn xmlGetDtdQElementDesc (dtd : * mut xmlDtd , name : * const xmlChar , prefix : * const xmlChar) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlGetDtdElementDesc (dtd : * mut xmlDtd , name : * const xmlChar) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlValidGetPotentialChildren (ctree : * mut xmlElementContent , names : * mut * const xmlChar , len : * mut :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidGetValidElements (prev : * mut xmlNode , next : * mut xmlNode , names : * mut * const xmlChar , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNameValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNamesValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNmtokenValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNmtokensValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidBuildContentModel (ctxt : * mut xmlValidCtxt , elem : * mut xmlElement) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePushElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , qname : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePushCData (ctxt : * mut xmlValidCtxt , data : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePopElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , qname : * const xmlChar) -> :: std :: os :: raw :: c_int ; } # [doc = " internal general entity"] pub const xmlEntityType_XML_INTERNAL_GENERAL_ENTITY : xmlEntityType = 1 ; # [doc = " external general parsed entity"] pub const xmlEntityType_XML_EXTERNAL_GENERAL_PARSED_ENTITY : xmlEntityType = 2 ; # [doc = " external general unparsed entity"] pub const xmlEntityType_XML_EXTERNAL_GENERAL_UNPARSED_ENTITY : xmlEntityType = 3 ; # [doc = " internal parameter entity"] pub const xmlEntityType_XML_INTERNAL_PARAMETER_ENTITY : xmlEntityType = 4 ; # [doc = " external parameter entity"] pub const xmlEntityType_XML_EXTERNAL_PARAMETER_ENTITY : xmlEntityType = 5 ; # [doc = " internal predefined entity"] pub const xmlEntityType_XML_INTERNAL_PREDEFINED_ENTITY : xmlEntityType = 6 ; # [doc = " The different entity types."] pub type xmlEntityType = :: std :: os :: raw :: c_uint ; # [doc = " An entity declaration"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlEntity { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ENTITY_DECL, must be second !"] pub type_ : xmlElementType , # [doc = " Entity name"] pub name : * const xmlChar , # [doc = " First child link"] pub children : * mut _xmlNode , # [doc = " Last child link"] pub last : * mut _xmlNode , # [doc = " -> DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling link"] pub next : * mut _xmlNode , # [doc = " previous sibling link"] pub prev : * mut _xmlNode , # [doc = " the containing document"] pub doc : * mut _xmlDoc , # [doc = " content without ref substitution"] pub orig : * mut xmlChar , # [doc = " content or ndata if unparsed"] pub content : * mut xmlChar , # [doc = " the content length"] pub length : :: std :: os :: raw :: c_int , # [doc = " The entity type"] pub etype : xmlEntityType , # [doc = " External identifier for PUBLIC"] pub ExternalID : * const xmlChar , # [doc = " URI for a SYSTEM or PUBLIC Entity"] pub SystemID : * const xmlChar , # [doc = " unused"] pub nexte : * mut _xmlEntity , # [doc = " the full URI as computed"] pub URI : * const xmlChar , # [doc = " unused"] pub owner : :: std :: os :: raw :: c_int , # [doc = " various flags"] pub flags : :: std :: os :: raw :: c_int , # [doc = " expanded size"] pub expandedSize : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlEntity"] [:: std :: mem :: size_of :: < _xmlEntity > () - 144usize] ; ["Alignment of _xmlEntity"] [:: std :: mem :: align_of :: < _xmlEntity > () - 8usize] ; ["Offset of field: _xmlEntity::_private"] [:: std :: mem :: offset_of ! (_xmlEntity , _private) - 0usize] ; ["Offset of field: _xmlEntity::type_"] [:: std :: mem :: offset_of ! (_xmlEntity , type_) - 8usize] ; ["Offset of field: _xmlEntity::name"] [:: std :: mem :: offset_of ! (_xmlEntity , name) - 16usize] ; ["Offset of field: _xmlEntity::children"] [:: std :: mem :: offset_of ! (_xmlEntity , children) - 24usize] ; ["Offset of field: _xmlEntity::last"] [:: std :: mem :: offset_of ! (_xmlEntity , last) - 32usize] ; ["Offset of field: _xmlEntity::parent"] [:: std :: mem :: offset_of ! (_xmlEntity , parent) - 40usize] ; ["Offset of field: _xmlEntity::next"] [:: std :: mem :: offset_of ! (_xmlEntity , next) - 48usize] ; ["Offset of field: _xmlEntity::prev"] [:: std :: mem :: offset_of ! (_xmlEntity , prev) - 56usize] ; ["Offset of field: _xmlEntity::doc"] [:: std :: mem :: offset_of ! (_xmlEntity , doc) - 64usize] ; ["Offset of field: _xmlEntity::orig"] [:: std :: mem :: offset_of ! (_xmlEntity , orig) - 72usize] ; ["Offset of field: _xmlEntity::content"] [:: std :: mem :: offset_of ! (_xmlEntity , content) - 80usize] ; ["Offset of field: _xmlEntity::length"] [:: std :: mem :: offset_of ! (_xmlEntity , length) - 88usize] ; ["Offset of field: _xmlEntity::etype"] [:: std :: mem :: offset_of ! (_xmlEntity , etype) - 92usize] ; ["Offset of field: _xmlEntity::ExternalID"] [:: std :: mem :: offset_of ! (_xmlEntity , ExternalID) - 96usize] ; ["Offset of field: _xmlEntity::SystemID"] [:: std :: mem :: offset_of ! (_xmlEntity , SystemID) - 104usize] ; ["Offset of field: _xmlEntity::nexte"] [:: std :: mem :: offset_of ! (_xmlEntity , nexte) - 112usize] ; ["Offset of field: _xmlEntity::URI"] [:: std :: mem :: offset_of ! (_xmlEntity , URI) - 120usize] ; ["Offset of field: _xmlEntity::owner"] [:: std :: mem :: offset_of ! (_xmlEntity , owner) - 128usize] ; ["Offset of field: _xmlEntity::flags"] [:: std :: mem :: offset_of ! (_xmlEntity , flags) - 132usize] ; ["Offset of field: _xmlEntity::expandedSize"] [:: std :: mem :: offset_of ! (_xmlEntity , expandedSize) - 136usize] ; } ; pub type xmlEntitiesTable = _xmlHashTable ; pub type xmlEntitiesTablePtr = * mut xmlEntitiesTable ; unsafe extern "C" { pub fn xmlNewEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlFreeEntity (entity : * mut xmlEntity) ; } unsafe extern "C" { pub fn xmlAddEntity (doc : * mut xmlDoc , extSubset : :: std :: os :: raw :: c_int , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar , out : * mut * mut xmlEntity) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddDocEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlAddDtdEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetPredefinedEntity (name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetDocEntity (doc : * const xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetDtdEntity (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetParameterEntity (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlEncodeEntitiesReentrant (doc : * mut xmlDoc , input : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlEncodeSpecialChars (doc : * const xmlDoc , input : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCreateEntitiesTable () -> * mut xmlEntitiesTable ; } unsafe extern "C" { pub fn xmlCopyEntitiesTable (table : * mut xmlEntitiesTable) -> * mut xmlEntitiesTable ; } unsafe extern "C" { pub fn xmlFreeEntitiesTable (table : * mut xmlEntitiesTable) ; } unsafe extern "C" { pub fn xmlDumpEntitiesTable (buf : * mut xmlBuffer , table : * mut xmlEntitiesTable) ; } unsafe extern "C" { pub fn xmlDumpEntityDecl (buf : * mut xmlBuffer , ent : * mut xmlEntity) ; } # [doc = " Success"] pub const xmlCharEncError_XML_ENC_ERR_SUCCESS : xmlCharEncError = 0 ; # [doc = " Internal or unclassified error"] pub const xmlCharEncError_XML_ENC_ERR_INTERNAL : xmlCharEncError = - 1 ; # [doc = " Invalid or untranslatable input sequence"] pub const xmlCharEncError_XML_ENC_ERR_INPUT : xmlCharEncError = - 2 ; # [doc = " Not enough space in output buffer"] pub const xmlCharEncError_XML_ENC_ERR_SPACE : xmlCharEncError = - 3 ; # [doc = " Out-of-memory error"] pub const xmlCharEncError_XML_ENC_ERR_MEMORY : xmlCharEncError = - 4 ; # [doc = " Encoding conversion errors"] pub type xmlCharEncError = :: std :: os :: raw :: c_int ; # [doc = " No char encoding detected"] pub const xmlCharEncoding_XML_CHAR_ENCODING_ERROR : xmlCharEncoding = - 1 ; # [doc = " No char encoding detected"] pub const xmlCharEncoding_XML_CHAR_ENCODING_NONE : xmlCharEncoding = 0 ; # [doc = " UTF-8"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF8 : xmlCharEncoding = 1 ; # [doc = " UTF-16 little endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16LE : xmlCharEncoding = 2 ; # [doc = " UTF-16 big endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16BE : xmlCharEncoding = 3 ; # [doc = " UCS-4 little endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4LE : xmlCharEncoding = 4 ; # [doc = " UCS-4 big endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4BE : xmlCharEncoding = 5 ; # [doc = " EBCDIC uh!"] pub const xmlCharEncoding_XML_CHAR_ENCODING_EBCDIC : xmlCharEncoding = 6 ; # [doc = " UCS-4 unusual ordering"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4_2143 : xmlCharEncoding = 7 ; # [doc = " UCS-4 unusual ordering"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4_3412 : xmlCharEncoding = 8 ; # [doc = " UCS-2"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS2 : xmlCharEncoding = 9 ; # [doc = " ISO-8859-1 ISO Latin 1"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_1 : xmlCharEncoding = 10 ; # [doc = " ISO-8859-2 ISO Latin 2"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_2 : xmlCharEncoding = 11 ; # [doc = " ISO-8859-3"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_3 : xmlCharEncoding = 12 ; # [doc = " ISO-8859-4"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_4 : xmlCharEncoding = 13 ; # [doc = " ISO-8859-5"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_5 : xmlCharEncoding = 14 ; # [doc = " ISO-8859-6"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_6 : xmlCharEncoding = 15 ; # [doc = " ISO-8859-7"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_7 : xmlCharEncoding = 16 ; # [doc = " ISO-8859-8"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_8 : xmlCharEncoding = 17 ; # [doc = " ISO-8859-9"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_9 : xmlCharEncoding = 18 ; # [doc = " ISO-2022-JP"] pub const xmlCharEncoding_XML_CHAR_ENCODING_2022_JP : xmlCharEncoding = 19 ; # [doc = " Shift_JIS"] pub const xmlCharEncoding_XML_CHAR_ENCODING_SHIFT_JIS : xmlCharEncoding = 20 ; # [doc = " EUC-JP"] pub const xmlCharEncoding_XML_CHAR_ENCODING_EUC_JP : xmlCharEncoding = 21 ; # [doc = " pure ASCII"] pub const xmlCharEncoding_XML_CHAR_ENCODING_ASCII : xmlCharEncoding = 22 ; # [doc = " UTF-16 native, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16 : xmlCharEncoding = 23 ; # [doc = " HTML (output only), available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_HTML : xmlCharEncoding = 24 ; # [doc = " ISO-8859-10, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_10 : xmlCharEncoding = 25 ; # [doc = " ISO-8859-11, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_11 : xmlCharEncoding = 26 ; # [doc = " ISO-8859-13, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_13 : xmlCharEncoding = 27 ; # [doc = " ISO-8859-14, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_14 : xmlCharEncoding = 28 ; # [doc = " ISO-8859-15, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_15 : xmlCharEncoding = 29 ; # [doc = " ISO-8859-16, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_16 : xmlCharEncoding = 30 ; # [doc = " windows-1252, available since 2.15"] pub const xmlCharEncoding_XML_CHAR_ENCODING_WINDOWS_1252 : xmlCharEncoding = 31 ; # [doc = " Predefined values for some standard encodings."] pub type xmlCharEncoding = :: std :: os :: raw :: c_int ; # [doc = " Create converter for input (conversion to UTF-8)"] pub const xmlCharEncFlags_XML_ENC_INPUT : xmlCharEncFlags = 1 ; # [doc = " Create converter for output (conversion from UTF-8)"] pub const xmlCharEncFlags_XML_ENC_OUTPUT : xmlCharEncFlags = 2 ; # [doc = " Use HTML5 mappings"] pub const xmlCharEncFlags_XML_ENC_HTML : xmlCharEncFlags = 4 ; # [doc = " Encoding conversion flags"] pub type xmlCharEncFlags = :: std :: os :: raw :: c_uint ; # [doc = " Convert characters to UTF-8.\n\n On success, the value of `inlen` after return is the number of\n bytes consumed and `outlen` is the number of bytes produced.\n\n @param out  a pointer to an array of bytes to store the UTF-8 result\n @param outlen  the length of `out`\n @param in  a pointer to an array of chars in the original encoding\n @param inlen  the length of `in`\n @returns the number of bytes written or an xmlCharEncError code."] pub type xmlCharEncodingInputFunc = :: std :: option :: Option < unsafe extern "C" fn (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Convert characters from UTF-8.\n\n On success, the value of `inlen` after return is the number of\n bytes consumed and `outlen` is the number of bytes produced.\n\n @param out  a pointer to an array of bytes to store the result\n @param outlen  the length of `out`\n @param in  a pointer to an array of UTF-8 chars\n @param inlen  the length of `in`\n @returns the number of bytes written or an xmlCharEncError code."] pub type xmlCharEncodingOutputFunc = :: std :: option :: Option < unsafe extern "C" fn (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Convert between character encodings.\n\n The value of `inlen` after return is the number of bytes consumed\n and `outlen` is the number of bytes produced.\n\n If the converter can consume partial multi-byte sequences, the\n `flush` flag can be used to detect truncated sequences at EOF.\n Otherwise, the flag can be ignored.\n\n @param vctxt  conversion context\n @param out  a pointer to an array of bytes to store the result\n @param outlen  the length of `out`\n @param in  a pointer to an array of input bytes\n @param inlen  the length of `in`\n @param flush  end of input\n @returns an xmlCharEncError code."] pub type xmlCharEncConvFunc = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void , out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int , flush : :: std :: os :: raw :: c_int) -> xmlCharEncError > ; # [doc = " Free a conversion context.\n\n @param vctxt  conversion context"] pub type xmlCharEncConvCtxtDtor = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void) > ; # [doc = " Character encoding converter"] pub type xmlCharEncodingHandler = _xmlCharEncodingHandler ; pub type xmlCharEncodingHandlerPtr = * mut xmlCharEncodingHandler ; # [doc = " A character encoding conversion handler for non UTF-8 encodings.\n\n This structure will be made private."] # [repr (C)] # [derive (Copy , Clone)] pub struct _xmlCharEncodingHandler { pub name : * mut :: std :: os :: raw :: c_char , pub input : _xmlCharEncodingHandler__bindgen_ty_1 , pub output : _xmlCharEncodingHandler__bindgen_ty_2 , pub inputCtxt : * mut :: std :: os :: raw :: c_void , pub outputCtxt : * mut :: std :: os :: raw :: c_void , pub ctxtDtor : xmlCharEncConvCtxtDtor , pub flags : :: std :: os :: raw :: c_int , } # [repr (C)] # [derive (Copy , Clone)] pub union _xmlCharEncodingHandler__bindgen_ty_1 { pub func : xmlCharEncConvFunc , pub legacyFunc : xmlCharEncodingInputFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler__bindgen_ty_1"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler__bindgen_ty_1 > () - 8usize] ; ["Alignment of _xmlCharEncodingHandler__bindgen_ty_1"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler__bindgen_ty_1 > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_1::func"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_1 , func) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_1::legacyFunc"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_1 , legacyFunc) - 0usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union _xmlCharEncodingHandler__bindgen_ty_2 { pub func : xmlCharEncConvFunc , pub legacyFunc : xmlCharEncodingOutputFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler__bindgen_ty_2"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler__bindgen_ty_2 > () - 8usize] ; ["Alignment of _xmlCharEncodingHandler__bindgen_ty_2"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler__bindgen_ty_2 > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_2::func"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_2 , func) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_2::legacyFunc"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_2 , legacyFunc) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler > () - 56usize] ; ["Alignment of _xmlCharEncodingHandler"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler::name"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , name) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler::input"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , input) - 8usize] ; ["Offset of field: _xmlCharEncodingHandler::output"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , output) - 16usize] ; ["Offset of field: _xmlCharEncodingHandler::inputCtxt"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , inputCtxt) - 24usize] ; ["Offset of field: _xmlCharEncodingHandler::outputCtxt"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , outputCtxt) - 32usize] ; ["Offset of field: _xmlCharEncodingHandler::ctxtDtor"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , ctxtDtor) - 40usize] ; ["Offset of field: _xmlCharEncodingHandler::flags"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , flags) - 48usize] ; } ; # [doc = " If this function returns XML_ERR_OK, it must fill the `out`\n pointer with an encoding handler. The handler can be obtained\n from #xmlCharEncNewCustomHandler.\n\n `flags` can contain XML_ENC_INPUT, XML_ENC_OUTPUT or both.\n\n @param vctxt  user data\n @param name  encoding name\n @param flags  bit mask of flags\n @param out  pointer to resulting handler\n @returns an xmlParserErrors code."] pub type xmlCharEncConvImpl = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void , name : * const :: std :: os :: raw :: c_char , flags : xmlCharEncFlags , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors > ; unsafe extern "C" { pub fn xmlInitCharEncodingHandlers () ; } unsafe extern "C" { pub fn xmlCleanupCharEncodingHandlers () ; } unsafe extern "C" { pub fn xmlRegisterCharEncodingHandler (handler : * mut xmlCharEncodingHandler) ; } unsafe extern "C" { pub fn xmlLookupCharEncodingHandler (enc : xmlCharEncoding , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlOpenCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , output : :: std :: os :: raw :: c_int , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlCreateCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , flags : xmlCharEncFlags , impl_ : xmlCharEncConvImpl , implCtxt : * mut :: std :: os :: raw :: c_void , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlGetCharEncodingHandler (enc : xmlCharEncoding) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlFindCharEncodingHandler (name : * const :: std :: os :: raw :: c_char) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlNewCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , input : xmlCharEncodingInputFunc , output : xmlCharEncodingOutputFunc) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlCharEncNewCustomHandler (name : * const :: std :: os :: raw :: c_char , input : xmlCharEncConvFunc , output : xmlCharEncConvFunc , ctxtDtor : xmlCharEncConvCtxtDtor , inputCtxt : * mut :: std :: os :: raw :: c_void , outputCtxt : * mut :: std :: os :: raw :: c_void , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlAddEncodingAlias (name : * const :: std :: os :: raw :: c_char , alias : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDelEncodingAlias (alias : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetEncodingAlias (alias : * const :: std :: os :: raw :: c_char) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlCleanupEncodingAliases () ; } unsafe extern "C" { pub fn xmlParseCharEncoding (name : * const :: std :: os :: raw :: c_char) -> xmlCharEncoding ; } unsafe extern "C" { pub fn xmlGetCharEncodingName (enc : xmlCharEncoding) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlDetectCharEncoding (in_ : * const :: std :: os :: raw :: c_uchar , len : :: std :: os :: raw :: c_int) -> xmlCharEncoding ; } unsafe extern "C" { pub fn xmlCharEncOutFunc (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncInFunc (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncFirstLine (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncCloseFunc (handler : * mut xmlCharEncodingHandler) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8ToIsolat1 (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsolat1ToUTF8 (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " Callback used in the I/O Input API to detect if the current handler\n can provide input functionality for this resource.\n\n @param filename  the filename or URI\n @returns 1 if yes and 0 if another Input module should be used"] pub type xmlInputMatchCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Input API to open the resource\n\n @param filename  the filename or URI\n @returns an Input context or NULL in case or error"] pub type xmlInputOpenCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback used in the I/O Input API to read the resource\n\n @param context  an Input context\n @param buffer  the buffer to store data read\n @param len  the length of the buffer in bytes\n @returns the number of bytes read or -1 in case of error"] pub type xmlInputReadCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Input API to close the resource\n\n @param context  an Input context\n @returns 0 or -1 in case of error"] pub type xmlInputCloseCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to detect if the current handler\n can provide output functionality for this resource.\n\n @param filename  the filename or URI\n @returns 1 if yes and 0 if another Output module should be used"] pub type xmlOutputMatchCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to open the resource\n\n @param filename  the filename or URI\n @returns an Output context or NULL in case or error"] pub type xmlOutputOpenCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback used in the I/O Output API to write to the resource\n\n @param context  an Output context\n @param buffer  the buffer of data to write\n @param len  the length of the buffer in bytes\n @returns the number of bytes written or -1 in case of error"] pub type xmlOutputWriteCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void , buffer : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to close the resource\n\n @param context  an Output context\n @returns 0 or -1 in case of error"] pub type xmlOutputCloseCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Signature for the function doing the lookup for a suitable input method\n corresponding to an URI.\n\n @param URI  the URI to read from\n @param enc  the requested source encoding\n @returns the new xmlParserInputBuffer in case of success or NULL if no\n         method was found."] pub type xmlParserInputBufferCreateFilenameFunc = :: std :: option :: Option < unsafe extern "C" fn (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer > ; # [doc = " Signature for the function doing the lookup for a suitable output method\n corresponding to an URI.\n\n @param URI  the URI to write to\n @param encoder  the requested target encoding\n @param compression  compression level\n @returns the new xmlOutputBuffer in case of success or NULL if no\n         method was found."] pub type xmlOutputBufferCreateFilenameFunc = :: std :: option :: Option < unsafe extern "C" fn (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer > ; # [doc = " Parser input buffer\n\n This struct and all related functions should ultimately\n be removed from the public interface."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserInputBuffer { pub context : * mut :: std :: os :: raw :: c_void , pub readcallback : xmlInputReadCallback , pub closecallback : xmlInputCloseCallback , pub encoder : * mut xmlCharEncodingHandler , pub buffer : * mut xmlBuf , pub raw : * mut xmlBuf , pub compressed : :: std :: os :: raw :: c_int , pub error : :: std :: os :: raw :: c_int , pub rawconsumed : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserInputBuffer"] [:: std :: mem :: size_of :: < _xmlParserInputBuffer > () - 64usize] ; ["Alignment of _xmlParserInputBuffer"] [:: std :: mem :: align_of :: < _xmlParserInputBuffer > () - 8usize] ; ["Offset of field: _xmlParserInputBuffer::context"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , context) - 0usize] ; ["Offset of field: _xmlParserInputBuffer::readcallback"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , readcallback) - 8usize] ; ["Offset of field: _xmlParserInputBuffer::closecallback"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , closecallback) - 16usize] ; ["Offset of field: _xmlParserInputBuffer::encoder"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , encoder) - 24usize] ; ["Offset of field: _xmlParserInputBuffer::buffer"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , buffer) - 32usize] ; ["Offset of field: _xmlParserInputBuffer::raw"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , raw) - 40usize] ; ["Offset of field: _xmlParserInputBuffer::compressed"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , compressed) - 48usize] ; ["Offset of field: _xmlParserInputBuffer::error"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , error) - 52usize] ; ["Offset of field: _xmlParserInputBuffer::rawconsumed"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , rawconsumed) - 56usize] ; } ; # [doc = " Output buffer"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlOutputBuffer { pub context : * mut :: std :: os :: raw :: c_void , pub writecallback : xmlOutputWriteCallback , pub closecallback : xmlOutputCloseCallback , pub encoder : * mut xmlCharEncodingHandler , pub buffer : * mut xmlBuf , pub conv : * mut xmlBuf , pub written : :: std :: os :: raw :: c_int , pub error : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlOutputBuffer"] [:: std :: mem :: size_of :: < _xmlOutputBuffer > () - 56usize] ; ["Alignment of _xmlOutputBuffer"] [:: std :: mem :: align_of :: < _xmlOutputBuffer > () - 8usize] ; ["Offset of field: _xmlOutputBuffer::context"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , context) - 0usize] ; ["Offset of field: _xmlOutputBuffer::writecallback"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , writecallback) - 8usize] ; ["Offset of field: _xmlOutputBuffer::closecallback"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , closecallback) - 16usize] ; ["Offset of field: _xmlOutputBuffer::encoder"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , encoder) - 24usize] ; ["Offset of field: _xmlOutputBuffer::buffer"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , buffer) - 32usize] ; ["Offset of field: _xmlOutputBuffer::conv"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , conv) - 40usize] ; ["Offset of field: _xmlOutputBuffer::written"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , written) - 48usize] ; ["Offset of field: _xmlOutputBuffer::error"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , error) - 52usize] ; } ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlParserInputBufferCreateFilenameValue () -> * mut xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn __xmlOutputBufferCreateFilenameValue () -> * mut xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { # [doc = " @endcond"] pub fn xmlCleanupInputCallbacks () ; } unsafe extern "C" { pub fn xmlPopInputCallbacks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterDefaultInputCallbacks () ; } unsafe extern "C" { pub fn xmlAllocParserInputBuffer (enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFile (file : * mut FILE , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFd (fd : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateMem (mem : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateStatic (mem : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateIO (ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferRead (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferGrow (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferPush (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int , buf : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFreeParserInputBuffer (in_ : * mut xmlParserInputBuffer) ; } unsafe extern "C" { pub fn xmlParserGetDirectory (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlRegisterInputCallbacks (matchFunc : xmlInputMatchCallback , openFunc : xmlInputOpenCallback , readFunc : xmlInputReadCallback , closeFunc : xmlInputCloseCallback) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlParserInputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlCleanupOutputCallbacks () ; } unsafe extern "C" { pub fn xmlPopOutputCallbacks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterDefaultOutputCallbacks () ; } unsafe extern "C" { pub fn xmlAllocOutputBuffer (encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFile (file : * mut FILE , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateBuffer (buffer : * mut xmlBuffer , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFd (fd : :: std :: os :: raw :: c_int , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateIO (iowrite : xmlOutputWriteCallback , ioclose : xmlOutputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferGetContent (out : * mut xmlOutputBuffer) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlOutputBufferGetSize (out : * mut xmlOutputBuffer) -> usize ; } unsafe extern "C" { pub fn xmlOutputBufferWrite (out : * mut xmlOutputBuffer , len : :: std :: os :: raw :: c_int , buf : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferWriteString (out : * mut xmlOutputBuffer , str_ : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferWriteEscape (out : * mut xmlOutputBuffer , str_ : * const xmlChar , escaping : xmlCharEncodingOutputFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferFlush (out : * mut xmlOutputBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferClose (out : * mut xmlOutputBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterOutputCallbacks (matchFunc : xmlOutputMatchCallback , openFunc : xmlOutputOpenCallback , writeFunc : xmlOutputWriteCallback , closeFunc : xmlOutputCloseCallback) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlOutputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlCheckHTTPInput (ctxt : * mut xmlParserCtxt , ret : * mut xmlParserInput) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNoNetExternalEntityLoader (URL : * const :: std :: os :: raw :: c_char , ID : * const :: std :: os :: raw :: c_char , ctxt : * mut xmlParserCtxt) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNormalizeWindowsPath (path : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCheckFilename (path : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileMatch (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileOpen (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlFileRead (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileClose (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [doc = " @cond IGNORE"] pub fn xmlIOHTTPMatch (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIOHTTPOpen (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlRegisterHTTPPostCallbacks () ; } unsafe extern "C" { pub fn xmlIOHTTPOpenW (post_uri : * const :: std :: os :: raw :: c_char , compression : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlIOHTTPRead (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIOHTTPClose (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFilenameDefault (func : xmlParserInputBufferCreateFilenameFunc) -> xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFilenameDefault (func : xmlOutputBufferCreateFilenameFunc) -> xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlThrDefOutputBufferCreateFilenameDefault (func : xmlOutputBufferCreateFilenameFunc) -> xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlThrDefParserInputBufferCreateFilenameDefault (func : xmlParserInputBufferCreateFilenameFunc) -> xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlSAX2GetPublicId (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSAX2GetSystemId (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSAX2SetDocumentLocator (ctx : * mut :: std :: os :: raw :: c_void , loc : * mut xmlSAXLocator) ; } unsafe extern "C" { pub fn xmlSAX2GetLineNumber (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2GetColumnNumber (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2IsStandalone (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2HasInternalSubset (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2HasExternalSubset (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2InternalSubset (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2ExternalSubset (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2GetEntity (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlSAX2GetParameterEntity (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlSAX2ResolveEntity (ctx : * mut :: std :: os :: raw :: c_void , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlSAX2EntityDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * mut xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2AttributeDecl (ctx : * mut :: std :: os :: raw :: c_void , elem : * const xmlChar , fullname : * const xmlChar , type_ : :: std :: os :: raw :: c_int , def : :: std :: os :: raw :: c_int , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) ; } unsafe extern "C" { pub fn xmlSAX2ElementDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , content : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlSAX2NotationDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2UnparsedEntityDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar , notationName : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2StartDocument (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSAX2EndDocument (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSAX2StartElement (ctx : * mut :: std :: os :: raw :: c_void , fullname : * const xmlChar , atts : * mut * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2EndElement (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2StartElementNs (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar , nb_namespaces : :: std :: os :: raw :: c_int , namespaces : * mut * const xmlChar , nb_attributes : :: std :: os :: raw :: c_int , nb_defaulted : :: std :: os :: raw :: c_int , attributes : * mut * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2EndElementNs (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Reference (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Characters (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2IgnorableWhitespace (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2ProcessingInstruction (ctx : * mut :: std :: os :: raw :: c_void , target : * const xmlChar , data : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Comment (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2CDataBlock (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAXDefaultVersion (version : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXVersion (hdlr : * mut xmlSAXHandler , version : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2InitDefaultSAXHandler (hdlr : * mut xmlSAXHandler , warning : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2InitHtmlDefaultSAXHandler (hdlr : * mut xmlSAXHandler) ; } unsafe extern "C" { pub fn htmlDefaultSAXHandlerInit () ; } unsafe extern "C" { pub fn xmlDefaultSAXHandlerInit () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlMutex { _unused : [u8 ; 0] , } # [doc = " Mutual exclusion object"] pub type xmlMutex = _xmlMutex ; pub type xmlMutexPtr = * mut xmlMutex ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRMutex { _unused : [u8 ; 0] , } # [doc = " Reentrant mutual exclusion object"] pub type xmlRMutex = _xmlRMutex ; pub type xmlRMutexPtr = * mut xmlRMutex ; unsafe extern "C" { pub fn xmlCheckThreadLocalStorage () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNewMutex () -> * mut xmlMutex ; } unsafe extern "C" { pub fn xmlMutexLock (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlMutexUnlock (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlFreeMutex (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlNewRMutex () -> * mut xmlRMutex ; } unsafe extern "C" { pub fn xmlRMutexLock (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlRMutexUnlock (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlFreeRMutex (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlInitThreads () ; } unsafe extern "C" { pub fn xmlLockLibrary () ; } unsafe extern "C" { pub fn xmlUnlockLibrary () ; } unsafe extern "C" { pub fn xmlCleanupThreads () ; } # [doc = " not well-formed"] pub const xmlParserStatus_XML_STATUS_NOT_WELL_FORMED : xmlParserStatus = 1 ; # [doc = " not namespace-well-formed"] pub const xmlParserStatus_XML_STATUS_NOT_NS_WELL_FORMED : xmlParserStatus = 2 ; # [doc = " DTD validation failed"] pub const xmlParserStatus_XML_STATUS_DTD_VALIDATION_FAILED : xmlParserStatus = 4 ; # [doc = " catastrophic failure like OOM or I/O error"] pub const xmlParserStatus_XML_STATUS_CATASTROPHIC_ERROR : xmlParserStatus = 8 ; # [doc = " Status after parsing a document"] pub type xmlParserStatus = :: std :: os :: raw :: c_uint ; # [doc = " unknown"] pub const xmlResourceType_XML_RESOURCE_UNKNOWN : xmlResourceType = 0 ; # [doc = " main document"] pub const xmlResourceType_XML_RESOURCE_MAIN_DOCUMENT : xmlResourceType = 1 ; # [doc = " external DTD"] pub const xmlResourceType_XML_RESOURCE_DTD : xmlResourceType = 2 ; # [doc = " external general entity"] pub const xmlResourceType_XML_RESOURCE_GENERAL_ENTITY : xmlResourceType = 3 ; # [doc = " external parameter entity"] pub const xmlResourceType_XML_RESOURCE_PARAMETER_ENTITY : xmlResourceType = 4 ; # [doc = " XIncluded document"] pub const xmlResourceType_XML_RESOURCE_XINCLUDE : xmlResourceType = 5 ; # [doc = " XIncluded text"] pub const xmlResourceType_XML_RESOURCE_XINCLUDE_TEXT : xmlResourceType = 6 ; # [doc = " Resource type for resource loaders"] pub type xmlResourceType = :: std :: os :: raw :: c_uint ; # [doc = " The input buffer won't be changed during parsing."] pub const xmlParserInputFlags_XML_INPUT_BUF_STATIC : xmlParserInputFlags = 2 ; # [doc = " The input buffer is zero-terminated. (Note that the zero\nbyte shouldn't be included in buffer size.)"] pub const xmlParserInputFlags_XML_INPUT_BUF_ZERO_TERMINATED : xmlParserInputFlags = 4 ; # [doc = " Uncompress gzipped file input"] pub const xmlParserInputFlags_XML_INPUT_UNZIP : xmlParserInputFlags = 8 ; # [doc = " Allow network access. Unused internally."] pub const xmlParserInputFlags_XML_INPUT_NETWORK : xmlParserInputFlags = 16 ; # [doc = " Allow system catalog to resolve URIs."] pub const xmlParserInputFlags_XML_INPUT_USE_SYS_CATALOG : xmlParserInputFlags = 32 ; # [doc = " Flags for parser input"] pub type xmlParserInputFlags = :: std :: os :: raw :: c_uint ; pub type xmlParserInputDeallocate = :: std :: option :: Option < unsafe extern "C" fn (str_ : * mut xmlChar) > ; # [doc = " Parser input"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserInput { pub buf : * mut xmlParserInputBuffer , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n The filename or URI, if any"] pub filename : * const :: std :: os :: raw :: c_char , pub directory : * const :: std :: os :: raw :: c_char , pub base : * const xmlChar , # [doc = " @deprecated Use #xmlCtxtGetInputWindow\n\n Current char being parsed"] pub cur : * const xmlChar , pub end : * const xmlChar , pub length : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n Current line"] pub line : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n Current column"] pub col : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n How many xmlChars already consumed"] pub consumed : :: std :: os :: raw :: c_ulong , pub free : xmlParserInputDeallocate , pub encoding : * const xmlChar , pub version : * const xmlChar , pub flags : :: std :: os :: raw :: c_int , pub id : :: std :: os :: raw :: c_int , pub parentConsumed : :: std :: os :: raw :: c_ulong , pub entity : * mut xmlEntity , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserInput"] [:: std :: mem :: size_of :: < _xmlParserInput > () - 120usize] ; ["Alignment of _xmlParserInput"] [:: std :: mem :: align_of :: < _xmlParserInput > () - 8usize] ; ["Offset of field: _xmlParserInput::buf"] [:: std :: mem :: offset_of ! (_xmlParserInput , buf) - 0usize] ; ["Offset of field: _xmlParserInput::filename"] [:: std :: mem :: offset_of ! (_xmlParserInput , filename) - 8usize] ; ["Offset of field: _xmlParserInput::directory"] [:: std :: mem :: offset_of ! (_xmlParserInput , directory) - 16usize] ; ["Offset of field: _xmlParserInput::base"] [:: std :: mem :: offset_of ! (_xmlParserInput , base) - 24usize] ; ["Offset of field: _xmlParserInput::cur"] [:: std :: mem :: offset_of ! (_xmlParserInput , cur) - 32usize] ; ["Offset of field: _xmlParserInput::end"] [:: std :: mem :: offset_of ! (_xmlParserInput , end) - 40usize] ; ["Offset of field: _xmlParserInput::length"] [:: std :: mem :: offset_of ! (_xmlParserInput , length) - 48usize] ; ["Offset of field: _xmlParserInput::line"] [:: std :: mem :: offset_of ! (_xmlParserInput , line) - 52usize] ; ["Offset of field: _xmlParserInput::col"] [:: std :: mem :: offset_of ! (_xmlParserInput , col) - 56usize] ; ["Offset of field: _xmlParserInput::consumed"] [:: std :: mem :: offset_of ! (_xmlParserInput , consumed) - 64usize] ; ["Offset of field: _xmlParserInput::free"] [:: std :: mem :: offset_of ! (_xmlParserInput , free) - 72usize] ; ["Offset of field: _xmlParserInput::encoding"] [:: std :: mem :: offset_of ! (_xmlParserInput , encoding) - 80usize] ; ["Offset of field: _xmlParserInput::version"] [:: std :: mem :: offset_of ! (_xmlParserInput , version) - 88usize] ; ["Offset of field: _xmlParserInput::flags"] [:: std :: mem :: offset_of ! (_xmlParserInput , flags) - 96usize] ; ["Offset of field: _xmlParserInput::id"] [:: std :: mem :: offset_of ! (_xmlParserInput , id) - 100usize] ; ["Offset of field: _xmlParserInput::parentConsumed"] [:: std :: mem :: offset_of ! (_xmlParserInput , parentConsumed) - 104usize] ; ["Offset of field: _xmlParserInput::entity"] [:: std :: mem :: offset_of ! (_xmlParserInput , entity) - 112usize] ; } ; # [doc = " @cond ignore"] pub type xmlParserNodeInfo = _xmlParserNodeInfo ; pub type xmlParserNodeInfoPtr = * mut xmlParserNodeInfo ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNodeInfo { pub node : * const _xmlNode , pub begin_pos : :: std :: os :: raw :: c_ulong , pub begin_line : :: std :: os :: raw :: c_ulong , pub end_pos : :: std :: os :: raw :: c_ulong , pub end_line : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserNodeInfo"] [:: std :: mem :: size_of :: < _xmlParserNodeInfo > () - 40usize] ; ["Alignment of _xmlParserNodeInfo"] [:: std :: mem :: align_of :: < _xmlParserNodeInfo > () - 8usize] ; ["Offset of field: _xmlParserNodeInfo::node"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , node) - 0usize] ; ["Offset of field: _xmlParserNodeInfo::begin_pos"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , begin_pos) - 8usize] ; ["Offset of field: _xmlParserNodeInfo::begin_line"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , begin_line) - 16usize] ; ["Offset of field: _xmlParserNodeInfo::end_pos"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , end_pos) - 24usize] ; ["Offset of field: _xmlParserNodeInfo::end_line"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , end_line) - 32usize] ; } ; pub type xmlParserNodeInfoSeq = _xmlParserNodeInfoSeq ; pub type xmlParserNodeInfoSeqPtr = * mut xmlParserNodeInfoSeq ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNodeInfoSeq { pub maximum : :: std :: os :: raw :: c_ulong , pub length : :: std :: os :: raw :: c_ulong , pub buffer : * mut xmlParserNodeInfo , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserNodeInfoSeq"] [:: std :: mem :: size_of :: < _xmlParserNodeInfoSeq > () - 24usize] ; ["Alignment of _xmlParserNodeInfoSeq"] [:: std :: mem :: align_of :: < _xmlParserNodeInfoSeq > () - 8usize] ; ["Offset of field: _xmlParserNodeInfoSeq::maximum"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , maximum) - 0usize] ; ["Offset of field: _xmlParserNodeInfoSeq::length"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , length) - 8usize] ; ["Offset of field: _xmlParserNodeInfoSeq::buffer"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , buffer) - 16usize] ; } ; pub const xmlParserInputState_XML_PARSER_EOF : xmlParserInputState = - 1 ; pub const xmlParserInputState_XML_PARSER_START : xmlParserInputState = 0 ; pub const xmlParserInputState_XML_PARSER_MISC : xmlParserInputState = 1 ; pub const xmlParserInputState_XML_PARSER_PI : xmlParserInputState = 2 ; pub const xmlParserInputState_XML_PARSER_DTD : xmlParserInputState = 3 ; pub const xmlParserInputState_XML_PARSER_PROLOG : xmlParserInputState = 4 ; pub const xmlParserInputState_XML_PARSER_COMMENT : xmlParserInputState = 5 ; pub const xmlParserInputState_XML_PARSER_START_TAG : xmlParserInputState = 6 ; pub const xmlParserInputState_XML_PARSER_CONTENT : xmlParserInputState = 7 ; pub const xmlParserInputState_XML_PARSER_CDATA_SECTION : xmlParserInputState = 8 ; pub const xmlParserInputState_XML_PARSER_END_TAG : xmlParserInputState = 9 ; pub const xmlParserInputState_XML_PARSER_ENTITY_DECL : xmlParserInputState = 10 ; pub const xmlParserInputState_XML_PARSER_ENTITY_VALUE : xmlParserInputState = 11 ; pub const xmlParserInputState_XML_PARSER_ATTRIBUTE_VALUE : xmlParserInputState = 12 ; pub const xmlParserInputState_XML_PARSER_SYSTEM_LITERAL : xmlParserInputState = 13 ; pub const xmlParserInputState_XML_PARSER_EPILOG : xmlParserInputState = 14 ; pub const xmlParserInputState_XML_PARSER_IGNORE : xmlParserInputState = 15 ; pub const xmlParserInputState_XML_PARSER_PUBLIC_LITERAL : xmlParserInputState = 16 ; pub const xmlParserInputState_XML_PARSER_XML_DECL : xmlParserInputState = 17 ; pub type xmlParserInputState = :: std :: os :: raw :: c_int ; pub const xmlParserMode_XML_PARSE_UNKNOWN : xmlParserMode = 0 ; pub const xmlParserMode_XML_PARSE_DOM : xmlParserMode = 1 ; pub const xmlParserMode_XML_PARSE_SAX : xmlParserMode = 2 ; pub const xmlParserMode_XML_PARSE_PUSH_DOM : xmlParserMode = 3 ; pub const xmlParserMode_XML_PARSE_PUSH_SAX : xmlParserMode = 4 ; pub const xmlParserMode_XML_PARSE_READER : xmlParserMode = 5 ; pub type xmlParserMode = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlStartTag { _unused : [u8 ; 0] , } pub type xmlStartTag = _xmlStartTag ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNsData { _unused : [u8 ; 0] , } pub type xmlParserNsData = _xmlParserNsData ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttrHashBucket { _unused : [u8 ; 0] , } pub type xmlAttrHashBucket = _xmlAttrHashBucket ; # [doc = " Callback for custom resource loaders.\n\n `flags` can contain XML_INPUT_UNZIP and XML_INPUT_NETWORK.\n\n The URL is resolved using XML catalogs before being passed to\n the callback.\n\n On success, `out` should be set to a new parser input object and\n XML_ERR_OK should be returned.\n\n @param ctxt  parser context\n @param url  URL or system ID to load\n @param publicId  publid ID from DTD (optional)\n @param type  resource type\n @param flags  flags\n @param out  result pointer\n @returns an xmlParserErrors code."] pub type xmlResourceLoader = :: std :: option :: Option < unsafe extern "C" fn (ctxt : * mut :: std :: os :: raw :: c_void , url : * const :: std :: os :: raw :: c_char , publicId : * const :: std :: os :: raw :: c_char , type_ : xmlResourceType , flags : xmlParserInputFlags , out : * mut * mut xmlParserInput) -> xmlParserErrors > ; # [doc = " Parser context"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserCtxt { # [doc = " @deprecated Use xmlCtxtGetSaxHandler() and\n xmlCtxtSetSaxHandler().\n\n the SAX handler"] pub sax : * mut _xmlSAXHandler , # [doc = " @deprecated Use #xmlCtxtGetUserData\n\n user data for SAX interface, defaults to the context itself"] pub userData : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlCtxtGetDocument()\n\n the document being built"] pub myDoc : * mut xmlDoc , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document well formed?"] pub wellFormed : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_NOENT\n\n shall we replace entities?"] pub replaceEntities : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetVersion()\n\n the XML version string"] pub version : * mut xmlChar , # [doc = " @deprecated Use xmlCtxtGetDeclaredEncoding()\n\n the declared encoding, if any"] pub encoding : * mut xmlChar , # [doc = " @deprecated Use xmlCtxtGetStandalone()\n\n standalone document"] pub standalone : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsHtml()\n\n non-zero for HTML documents, actually an htmlInsertMode"] pub html : :: std :: os :: raw :: c_int , pub input : * mut xmlParserInput , pub inputNr : :: std :: os :: raw :: c_int , pub inputMax : :: std :: os :: raw :: c_int , pub inputTab : * mut * mut xmlParserInput , # [doc = " @deprecated Use #xmlCtxtGetNode\n\n The current element."] pub node : * mut xmlNode , pub nodeNr : :: std :: os :: raw :: c_int , pub nodeMax : :: std :: os :: raw :: c_int , pub nodeTab : * mut * mut xmlNode , pub record_info : :: std :: os :: raw :: c_int , pub node_seq : xmlParserNodeInfoSeq , # [doc = " @deprecated Use xmlCtxtGetLastError()\n\n error code"] pub errNo : :: std :: os :: raw :: c_int , pub hasExternalSubset : :: std :: os :: raw :: c_int , pub hasPErefs : :: std :: os :: raw :: c_int , pub external : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document valid"] pub valid : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_DTDVALID\n\n shall we try to validate?"] pub validate : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetValidCtxt()\n\n The validity context"] pub vctxt : xmlValidCtxt , pub instate : xmlParserInputState , pub token : :: std :: os :: raw :: c_int , # [doc = " @deprecated Don't use\n\n The main document URI, if available, with its last\n component stripped."] pub directory : * mut :: std :: os :: raw :: c_char , pub name : * const xmlChar , pub nameNr : :: std :: os :: raw :: c_int , pub nameMax : :: std :: os :: raw :: c_int , pub nameTab : * mut * const xmlChar , pub nbChars : :: std :: os :: raw :: c_long , pub checkIndex : :: std :: os :: raw :: c_long , # [doc = " @deprecated Use inverted xmlParserOption XML_PARSE_NOBLANKS\n\n ugly but ..."] pub keepBlanks : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsStopped()\n\n SAX callbacks are disabled"] pub disableSAX : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsInSubset\n\n Set if DTD content is parsed.\n\n - 0: not in DTD\n - 1: in internal DTD subset\n - 2: in external DTD subset"] pub inSubset : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use the `name` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n Name of the internal subset (root element type)."] pub intSubName : * const xmlChar , # [doc = " @deprecated Use the `systemId` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n System identifier (URI) of external the subset."] pub extSubURI : * mut xmlChar , # [doc = " @deprecated Use the `publicId` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n This member is MISNAMED. It contains the *public* identifier\n of the external subset."] pub extSubSystem : * mut xmlChar , pub space : * mut :: std :: os :: raw :: c_int , pub spaceNr : :: std :: os :: raw :: c_int , pub spaceMax : :: std :: os :: raw :: c_int , pub spaceTab : * mut :: std :: os :: raw :: c_int , pub depth : :: std :: os :: raw :: c_int , pub entity : * mut xmlParserInput , pub charset : :: std :: os :: raw :: c_int , pub nodelen : :: std :: os :: raw :: c_int , pub nodemem : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_PEDANTIC\n\n signal pedantic warnings"] pub pedantic : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetPrivate() and xmlCtxtSetPrivate()\n\n For user data, libxml won't touch it"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlParserOption XML_PARSE_DTDLOAD,\n XML_PARSE_DTDATTR or XML_PARSE_SKIP_IDS.\n\n Control loading of the external subset and handling of IDs.\n Other options like `validate` can override this value.\n\n - 0: The default behavior is to process IDs and to ignore\n   the external subset.\n - XML_DETECT_IDS: Load external subset. This flag is\n   misnamed. ID handling is only controlled by XML_SKIP_IDS.\n - XML_COMPLETE_ATTRS: Load external subset and process\n   default attributes.\n - XML_SKIP_IDS: Ignore IDs."] pub loadsubset : :: std :: os :: raw :: c_int , pub linenumbers : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetCatalogs() and xmlCtxtSetCatalogs()\n\n document's own catalog"] pub catalogs : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlParserOption XML_PARSE_RECOVER\n run in recovery mode"] pub recovery : :: std :: os :: raw :: c_int , pub progressive : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetDict() and xmlCtxtSetDict()\n\n dictionary for the parser"] pub dict : * mut xmlDict , pub atts : * mut * const xmlChar , pub maxatts : :: std :: os :: raw :: c_int , pub docdict : :: std :: os :: raw :: c_int , pub str_xml : * const xmlChar , pub str_xmlns : * const xmlChar , pub str_xml_ns : * const xmlChar , pub sax2 : :: std :: os :: raw :: c_int , pub nsNr : :: std :: os :: raw :: c_int , pub nsMax : :: std :: os :: raw :: c_int , pub nsTab : * mut * const xmlChar , pub attallocs : * mut :: std :: os :: raw :: c_uint , pub pushTab : * mut xmlStartTag , pub attsDefault : * mut xmlHashTable , pub attsSpecial : * mut xmlHashTable , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document XML Namespace okay"] pub nsWellFormed : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetOptions()\n\n Extra options"] pub options : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use inverted xmlParserOption XML_PARSE_NODICT\n\n Use dictionary names for the tree"] pub dictNames : :: std :: os :: raw :: c_int , pub freeElemsNr : :: std :: os :: raw :: c_int , pub freeElems : * mut xmlNode , pub freeAttrsNr : :: std :: os :: raw :: c_int , pub freeAttrs : * mut xmlAttr , # [doc = " @deprecated Use xmlCtxtGetLastError()\n\n the complete error information for the last error."] pub lastError : xmlError , pub parseMode : xmlParserMode , pub nbentities : :: std :: os :: raw :: c_ulong , pub sizeentities : :: std :: os :: raw :: c_ulong , pub nodeInfo : * mut xmlParserNodeInfo , pub nodeInfoNr : :: std :: os :: raw :: c_int , pub nodeInfoMax : :: std :: os :: raw :: c_int , pub nodeInfoTab : * mut xmlParserNodeInfo , pub input_id : :: std :: os :: raw :: c_int , pub sizeentcopy : :: std :: os :: raw :: c_ulong , pub endCheckState : :: std :: os :: raw :: c_int , pub nbErrors : :: std :: os :: raw :: c_ushort , pub nbWarnings : :: std :: os :: raw :: c_ushort , pub maxAmpl : :: std :: os :: raw :: c_uint , pub nsdb : * mut xmlParserNsData , pub attrHashMax : :: std :: os :: raw :: c_uint , pub attrHash : * mut xmlAttrHashBucket , pub errorHandler : xmlStructuredErrorFunc , pub errorCtxt : * mut :: std :: os :: raw :: c_void , pub resourceLoader : xmlResourceLoader , pub resourceCtxt : * mut :: std :: os :: raw :: c_void , pub convImpl : xmlCharEncConvImpl , pub convCtxt : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserCtxt"] [:: std :: mem :: size_of :: < _xmlParserCtxt > () - 840usize] ; ["Alignment of _xmlParserCtxt"] [:: std :: mem :: align_of :: < _xmlParserCtxt > () - 8usize] ; ["Offset of field: _xmlParserCtxt::sax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sax) - 0usize] ; ["Offset of field: _xmlParserCtxt::userData"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , userData) - 8usize] ; ["Offset of field: _xmlParserCtxt::myDoc"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , myDoc) - 16usize] ; ["Offset of field: _xmlParserCtxt::wellFormed"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , wellFormed) - 24usize] ; ["Offset of field: _xmlParserCtxt::replaceEntities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , replaceEntities) - 28usize] ; ["Offset of field: _xmlParserCtxt::version"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , version) - 32usize] ; ["Offset of field: _xmlParserCtxt::encoding"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , encoding) - 40usize] ; ["Offset of field: _xmlParserCtxt::standalone"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , standalone) - 48usize] ; ["Offset of field: _xmlParserCtxt::html"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , html) - 52usize] ; ["Offset of field: _xmlParserCtxt::input"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , input) - 56usize] ; ["Offset of field: _xmlParserCtxt::inputNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputNr) - 64usize] ; ["Offset of field: _xmlParserCtxt::inputMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputMax) - 68usize] ; ["Offset of field: _xmlParserCtxt::inputTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputTab) - 72usize] ; ["Offset of field: _xmlParserCtxt::node"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , node) - 80usize] ; ["Offset of field: _xmlParserCtxt::nodeNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeNr) - 88usize] ; ["Offset of field: _xmlParserCtxt::nodeMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeMax) - 92usize] ; ["Offset of field: _xmlParserCtxt::nodeTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeTab) - 96usize] ; ["Offset of field: _xmlParserCtxt::record_info"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , record_info) - 104usize] ; ["Offset of field: _xmlParserCtxt::node_seq"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , node_seq) - 112usize] ; ["Offset of field: _xmlParserCtxt::errNo"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errNo) - 136usize] ; ["Offset of field: _xmlParserCtxt::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , hasExternalSubset) - 140usize] ; ["Offset of field: _xmlParserCtxt::hasPErefs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , hasPErefs) - 144usize] ; ["Offset of field: _xmlParserCtxt::external"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , external) - 148usize] ; ["Offset of field: _xmlParserCtxt::valid"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , valid) - 152usize] ; ["Offset of field: _xmlParserCtxt::validate"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , validate) - 156usize] ; ["Offset of field: _xmlParserCtxt::vctxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , vctxt) - 160usize] ; ["Offset of field: _xmlParserCtxt::instate"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , instate) - 272usize] ; ["Offset of field: _xmlParserCtxt::token"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , token) - 276usize] ; ["Offset of field: _xmlParserCtxt::directory"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , directory) - 280usize] ; ["Offset of field: _xmlParserCtxt::name"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , name) - 288usize] ; ["Offset of field: _xmlParserCtxt::nameNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameNr) - 296usize] ; ["Offset of field: _xmlParserCtxt::nameMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameMax) - 300usize] ; ["Offset of field: _xmlParserCtxt::nameTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameTab) - 304usize] ; ["Offset of field: _xmlParserCtxt::nbChars"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbChars) - 312usize] ; ["Offset of field: _xmlParserCtxt::checkIndex"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , checkIndex) - 320usize] ; ["Offset of field: _xmlParserCtxt::keepBlanks"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , keepBlanks) - 328usize] ; ["Offset of field: _xmlParserCtxt::disableSAX"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , disableSAX) - 332usize] ; ["Offset of field: _xmlParserCtxt::inSubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inSubset) - 336usize] ; ["Offset of field: _xmlParserCtxt::intSubName"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , intSubName) - 344usize] ; ["Offset of field: _xmlParserCtxt::extSubURI"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , extSubURI) - 352usize] ; ["Offset of field: _xmlParserCtxt::extSubSystem"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , extSubSystem) - 360usize] ; ["Offset of field: _xmlParserCtxt::space"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , space) - 368usize] ; ["Offset of field: _xmlParserCtxt::spaceNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceNr) - 376usize] ; ["Offset of field: _xmlParserCtxt::spaceMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceMax) - 380usize] ; ["Offset of field: _xmlParserCtxt::spaceTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceTab) - 384usize] ; ["Offset of field: _xmlParserCtxt::depth"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , depth) - 392usize] ; ["Offset of field: _xmlParserCtxt::entity"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , entity) - 400usize] ; ["Offset of field: _xmlParserCtxt::charset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , charset) - 408usize] ; ["Offset of field: _xmlParserCtxt::nodelen"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodelen) - 412usize] ; ["Offset of field: _xmlParserCtxt::nodemem"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodemem) - 416usize] ; ["Offset of field: _xmlParserCtxt::pedantic"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , pedantic) - 420usize] ; ["Offset of field: _xmlParserCtxt::_private"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , _private) - 424usize] ; ["Offset of field: _xmlParserCtxt::loadsubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , loadsubset) - 432usize] ; ["Offset of field: _xmlParserCtxt::linenumbers"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , linenumbers) - 436usize] ; ["Offset of field: _xmlParserCtxt::catalogs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , catalogs) - 440usize] ; ["Offset of field: _xmlParserCtxt::recovery"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , recovery) - 448usize] ; ["Offset of field: _xmlParserCtxt::progressive"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , progressive) - 452usize] ; ["Offset of field: _xmlParserCtxt::dict"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , dict) - 456usize] ; ["Offset of field: _xmlParserCtxt::atts"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , atts) - 464usize] ; ["Offset of field: _xmlParserCtxt::maxatts"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , maxatts) - 472usize] ; ["Offset of field: _xmlParserCtxt::docdict"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , docdict) - 476usize] ; ["Offset of field: _xmlParserCtxt::str_xml"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xml) - 480usize] ; ["Offset of field: _xmlParserCtxt::str_xmlns"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xmlns) - 488usize] ; ["Offset of field: _xmlParserCtxt::str_xml_ns"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xml_ns) - 496usize] ; ["Offset of field: _xmlParserCtxt::sax2"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sax2) - 504usize] ; ["Offset of field: _xmlParserCtxt::nsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsNr) - 508usize] ; ["Offset of field: _xmlParserCtxt::nsMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsMax) - 512usize] ; ["Offset of field: _xmlParserCtxt::nsTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsTab) - 520usize] ; ["Offset of field: _xmlParserCtxt::attallocs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attallocs) - 528usize] ; ["Offset of field: _xmlParserCtxt::pushTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , pushTab) - 536usize] ; ["Offset of field: _xmlParserCtxt::attsDefault"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attsDefault) - 544usize] ; ["Offset of field: _xmlParserCtxt::attsSpecial"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attsSpecial) - 552usize] ; ["Offset of field: _xmlParserCtxt::nsWellFormed"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsWellFormed) - 560usize] ; ["Offset of field: _xmlParserCtxt::options"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , options) - 564usize] ; ["Offset of field: _xmlParserCtxt::dictNames"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , dictNames) - 568usize] ; ["Offset of field: _xmlParserCtxt::freeElemsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeElemsNr) - 572usize] ; ["Offset of field: _xmlParserCtxt::freeElems"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeElems) - 576usize] ; ["Offset of field: _xmlParserCtxt::freeAttrsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeAttrsNr) - 584usize] ; ["Offset of field: _xmlParserCtxt::freeAttrs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeAttrs) - 592usize] ; ["Offset of field: _xmlParserCtxt::lastError"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , lastError) - 600usize] ; ["Offset of field: _xmlParserCtxt::parseMode"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , parseMode) - 688usize] ; ["Offset of field: _xmlParserCtxt::nbentities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbentities) - 696usize] ; ["Offset of field: _xmlParserCtxt::sizeentities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sizeentities) - 704usize] ; ["Offset of field: _xmlParserCtxt::nodeInfo"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfo) - 712usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoNr) - 720usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoMax) - 724usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoTab) - 728usize] ; ["Offset of field: _xmlParserCtxt::input_id"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , input_id) - 736usize] ; ["Offset of field: _xmlParserCtxt::sizeentcopy"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sizeentcopy) - 744usize] ; ["Offset of field: _xmlParserCtxt::endCheckState"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , endCheckState) - 752usize] ; ["Offset of field: _xmlParserCtxt::nbErrors"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbErrors) - 756usize] ; ["Offset of field: _xmlParserCtxt::nbWarnings"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbWarnings) - 758usize] ; ["Offset of field: _xmlParserCtxt::maxAmpl"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , maxAmpl) - 760usize] ; ["Offset of field: _xmlParserCtxt::nsdb"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsdb) - 768usize] ; ["Offset of field: _xmlParserCtxt::attrHashMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attrHashMax) - 776usize] ; ["Offset of field: _xmlParserCtxt::attrHash"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attrHash) - 784usize] ; ["Offset of field: _xmlParserCtxt::errorHandler"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errorHandler) - 792usize] ; ["Offset of field: _xmlParserCtxt::errorCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errorCtxt) - 800usize] ; ["Offset of field: _xmlParserCtxt::resourceLoader"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , resourceLoader) - 808usize] ; ["Offset of field: _xmlParserCtxt::resourceCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , resourceCtxt) - 816usize] ; ["Offset of field: _xmlParserCtxt::convImpl"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , convImpl) - 824usize] ; ["Offset of field: _xmlParserCtxt::convCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , convCtxt) - 832usize] ; } ; # [doc = " A SAX Locator."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXLocator { pub getPublicId : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar > , pub getSystemId : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar > , pub getLineNumber : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , pub getColumnNumber : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXLocator"] [:: std :: mem :: size_of :: < _xmlSAXLocator > () - 32usize] ; ["Alignment of _xmlSAXLocator"] [:: std :: mem :: align_of :: < _xmlSAXLocator > () - 8usize] ; ["Offset of field: _xmlSAXLocator::getPublicId"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getPublicId) - 0usize] ; ["Offset of field: _xmlSAXLocator::getSystemId"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getSystemId) - 8usize] ; ["Offset of field: _xmlSAXLocator::getLineNumber"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getLineNumber) - 16usize] ; ["Offset of field: _xmlSAXLocator::getColumnNumber"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getColumnNumber) - 24usize] ; } ; # [doc = " SAX callback to resolve external entities.\n\n This is only used to load DTDs. The preferred way to install\n custom resolvers is #xmlCtxtSetResourceLoader.\n\n @param ctx  the user data (XML parser context)\n @param publicId  The public identifier of the entity\n @param systemId  The system identifier of the entity (URL)\n @returns the xmlParserInput if inlined or NULL for DOM behaviour."] pub type resolveEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlParserInput > ; # [doc = " SAX callback for the internal subset.\n\n @param ctx  the user data (XML parser context)\n @param name  the root element name\n @param publicId  the public identifier\n @param systemId  the system identifier (e.g. filename or URL)"] pub type internalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback for the external subset.\n\n @param ctx  the user data (XML parser context)\n @param name  the root element name\n @param publicId  the public identifier\n @param systemId  the system identifier (e.g. filename or URL)"] pub type externalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback to look up a general entity by name.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name\n @returns the xmlEntity if found."] pub type getEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity > ; # [doc = " SAX callback to look up a parameter entity by name.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name\n @returns the xmlEntity if found."] pub type getParameterEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity > ; # [doc = " SAX callback for entity declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  the entity name\n @param type  the entity type\n @param publicId  The public ID of the entity\n @param systemId  The system ID of the entity\n @param content  the entity value (without processing)."] pub type entityDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * mut xmlChar) > ; # [doc = " SAX callback for notation declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  The name of the notation\n @param publicId  The public ID of the notation\n @param systemId  The system ID of the notation"] pub type notationDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback for attribute declarations.\n\n @param ctx  the user data (XML parser context)\n @param elem  the name of the element\n @param fullname  the attribute name\n @param type  the attribute type\n @param def  the type of default value\n @param defaultValue  the attribute default value\n @param tree  the tree of enumerated value set"] pub type attributeDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , elem : * const xmlChar , fullname : * const xmlChar , type_ : :: std :: os :: raw :: c_int , def : :: std :: os :: raw :: c_int , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) > ; # [doc = " SAX callback for element declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  the element name\n @param type  the element type\n @param content  the element value tree"] pub type elementDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , content : * mut xmlElementContent) > ; # [doc = " SAX callback for unparsed entity declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  The name of the entity\n @param publicId  The public ID of the entity\n @param systemId  The system ID of the entity\n @param notationName  the name of the notation"] pub type unparsedEntityDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar , notationName : * const xmlChar) > ; # [doc = " This callback receives the \"document locator\" at startup,\n which is always the global xmlDefaultSAXLocator.\n\n Everything is available on the context, so this is useless in\n our case.\n\n @param ctx  the user data (XML parser context)\n @param loc  A SAX Locator"] pub type setDocumentLocatorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , loc : * mut xmlSAXLocator) > ; # [doc = " SAX callback for start of document.\n\n @param ctx  the user data (XML parser context)"] pub type startDocumentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) > ; # [doc = " SAX callback for end of document.\n\n @param ctx  the user data (XML parser context)"] pub type endDocumentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) > ; # [doc = " SAX callback for start tags.\n\n @param ctx  the user data (XML parser context)\n @param name  The element name, including namespace prefix\n @param atts  An array of name/value attributes pairs, NULL terminated"] pub type startElementSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , atts : * mut * const xmlChar) > ; # [doc = " SAX callback for end tags.\n\n @param ctx  the user data (XML parser context)\n @param name  The element name"] pub type endElementSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback for attributes.\n\n @deprecated This typedef is unused.\n\n @param ctx  the user data (XML parser context)\n @param name  The attribute name, including namespace prefix\n @param value  The attribute value"] pub type attributeSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , value : * const xmlChar) > ; # [doc = " SAX callback for entity references.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name"] pub type referenceSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " SAX callback for character data.\n\n @param ctx  the user data (XML parser context)\n @param ch  a xmlChar string\n @param len  the number of xmlChar"] pub type charactersSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for \"ignorable\" whitespace.\n\n @param ctx  the user data (XML parser context)\n @param ch  a xmlChar string\n @param len  the number of xmlChar"] pub type ignorableWhitespaceSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for processing instructions.\n\n @param ctx  the user data (XML parser context)\n @param target  the target name\n @param data  the PI data's"] pub type processingInstructionSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , target : * const xmlChar , data : * const xmlChar) > ; # [doc = " SAX callback for comments.\n\n @param ctx  the user data (XML parser context)\n @param value  the comment content"] pub type commentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar) > ; # [doc = " SAX callback for CDATA sections.\n\n @param ctx  the user data (XML parser context)\n @param value  The pcdata content\n @param len  the block length"] pub type cdataBlockSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for warning messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type warningSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback for error messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type errorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback for fatal error messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type fatalErrorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback to get standalone status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type isStandaloneSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX callback to get internal subset status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type hasInternalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX callback to get external subset status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type hasExternalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX2 callback for start tags.\n\n It provides the namespace information for the element, as well as\n the new namespace declarations on the element.\n\n @param ctx  the user data (XML parser context)\n @param localname  the local name of the element\n @param prefix  the element namespace prefix if available\n @param URI  the element namespace name if available\n @param nb_namespaces  number of namespace definitions on that node\n @param namespaces  pointer to the array of prefix/URI pairs namespace definitions\n @param nb_attributes  the number of attributes on that node\n @param nb_defaulted  the number of defaulted attributes. The defaulted\n                  ones are at the end of the array\n @param attributes  pointer to the array of (localname/prefix/URI/value/end)\n               attribute values."] pub type startElementNsSAX2Func = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar , nb_namespaces : :: std :: os :: raw :: c_int , namespaces : * mut * const xmlChar , nb_attributes : :: std :: os :: raw :: c_int , nb_defaulted : :: std :: os :: raw :: c_int , attributes : * mut * const xmlChar) > ; # [doc = " SAX2 callback for end tags.\n\n It provides the namespace information for the element.\n\n @param ctx  the user data (XML parser context)\n @param localname  the local name of the element\n @param prefix  the element namespace prefix if available\n @param URI  the element namespace name if available"] pub type endElementNsSAX2Func = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar) > ; # [doc = " Callbacks for SAX parser\n\n For DTD-related handlers, it's recommended to either use the\n original libxml2 handler or set them to NULL if DTDs can be\n ignored."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXHandler { # [doc = " Called after the start of the document type declaration\n was parsed.\n\n Should typically not be modified."] pub internalSubset : internalSubsetSAXFunc , # [doc = " Standalone status. Not invoked by the parser. Not supposed\n to be changed by applications."] pub isStandalone : isStandaloneSAXFunc , # [doc = " Internal subset availability. Not invoked by the parser.\n Not supposed to be changed by applications."] pub hasInternalSubset : hasInternalSubsetSAXFunc , # [doc = " External subset availability. Not invoked by the parser.\n Not supposed to be changed by applications."] pub hasExternalSubset : hasExternalSubsetSAXFunc , # [doc = " Only called when loading external DTDs. Not called to load\n external entities.\n\n Should typically not be modified."] pub resolveEntity : resolveEntitySAXFunc , # [doc = " Called when looking up general entities.\n\n Should typically not be modified."] pub getEntity : getEntitySAXFunc , # [doc = " Called after an entity declaration was parsed.\n\n Should typically not be modified."] pub entityDecl : entityDeclSAXFunc , # [doc = " Called after a notation declaration was parsed.\n\n Should typically not be modified."] pub notationDecl : notationDeclSAXFunc , # [doc = " Called after an attribute declaration was parsed.\n\n Should typically not be modified."] pub attributeDecl : attributeDeclSAXFunc , # [doc = " Called after an element declaration was parsed.\n\n Should typically not be modified."] pub elementDecl : elementDeclSAXFunc , # [doc = " Called after an unparsed entity declaration was parsed.\n\n Should typically not be modified."] pub unparsedEntityDecl : unparsedEntityDeclSAXFunc , # [doc = " This callback receives the \"document locator\" at startup,\n which is always the global xmlDefaultSAXLocator.\n\n Everything is available on the context, so this is useless in\n our case."] pub setDocumentLocator : setDocumentLocatorSAXFunc , # [doc = " Called after the XML declaration was parsed.\n\n Use xmlCtxtGetVersion(), xmlCtxtGetDeclaredEncoding() and\n xmlCtxtGetStandalone() to get data from the XML declaration."] pub startDocument : startDocumentSAXFunc , # [doc = " Called at the end of the document."] pub endDocument : endDocumentSAXFunc , # [doc = " Legacy start tag handler\n\n `startElement` and `endElement` are only used by the legacy SAX1\n interface and should not be used in new software. If you really\n have to enable SAX1, the preferred way is set the `initialized`\n member to 1 instead of XML_SAX2_MAGIC.\n\n For backward compatibility, it's also possible to set the\n `startElementNs` and `endElementNs` handlers to NULL.\n\n You can also set the XML_PARSE_SAX1 parser option, but versions\n older than 2.12.0 will probably crash if this option is provided\n together with custom SAX callbacks."] pub startElement : startElementSAXFunc , # [doc = " See _xmlSAXHandler.startElement"] pub endElement : endElementSAXFunc , # [doc = " Called after an entity reference was parsed."] pub reference : referenceSAXFunc , # [doc = " Called after a character data was parsed."] pub characters : charactersSAXFunc , # [doc = " Called after \"ignorable\" whitespace was parsed.\n\n `ignorableWhitespace` should always be set to the same value\n as `characters`. Otherwise, the parser will try to detect\n whitespace which is unreliable."] pub ignorableWhitespace : ignorableWhitespaceSAXFunc , # [doc = " Called after a processing instruction was parsed."] pub processingInstruction : processingInstructionSAXFunc , # [doc = " Called after a comment was parsed."] pub comment : commentSAXFunc , # [doc = " Callback for warning messages."] pub warning : warningSAXFunc , # [doc = " Callback for error messages."] pub error : errorSAXFunc , # [doc = " Unused, all errors go to `error`."] pub fatalError : fatalErrorSAXFunc , # [doc = " Called when looking up parameter entities.\n\n Should typically not be modified."] pub getParameterEntity : getParameterEntitySAXFunc , # [doc = " Called after a CDATA section was parsed."] pub cdataBlock : cdataBlockSAXFunc , # [doc = " Called to parse the external subset.\n\n Should typically not be modified."] pub externalSubset : externalSubsetSAXFunc , # [doc = " Legacy magic value\n\n `initialized` should always be set to XML_SAX2_MAGIC to\n enable the modern SAX2 interface."] pub initialized : :: std :: os :: raw :: c_uint , # [doc = " Application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " Called after a start tag was parsed."] pub startElementNs : startElementNsSAX2Func , # [doc = " Called after an end tag was parsed."] pub endElementNs : endElementNsSAX2Func , # [doc = " Structured error handler.\n\n Takes precedence over `error` or `warning`, but modern code\n should use xmlCtxtSetErrorHandler()."] pub serror : xmlStructuredErrorFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXHandler"] [:: std :: mem :: size_of :: < _xmlSAXHandler > () - 256usize] ; ["Alignment of _xmlSAXHandler"] [:: std :: mem :: align_of :: < _xmlSAXHandler > () - 8usize] ; ["Offset of field: _xmlSAXHandler::internalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , internalSubset) - 0usize] ; ["Offset of field: _xmlSAXHandler::isStandalone"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , isStandalone) - 8usize] ; ["Offset of field: _xmlSAXHandler::hasInternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , hasInternalSubset) - 16usize] ; ["Offset of field: _xmlSAXHandler::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , hasExternalSubset) - 24usize] ; ["Offset of field: _xmlSAXHandler::resolveEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , resolveEntity) - 32usize] ; ["Offset of field: _xmlSAXHandler::getEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , getEntity) - 40usize] ; ["Offset of field: _xmlSAXHandler::entityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , entityDecl) - 48usize] ; ["Offset of field: _xmlSAXHandler::notationDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , notationDecl) - 56usize] ; ["Offset of field: _xmlSAXHandler::attributeDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , attributeDecl) - 64usize] ; ["Offset of field: _xmlSAXHandler::elementDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , elementDecl) - 72usize] ; ["Offset of field: _xmlSAXHandler::unparsedEntityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , unparsedEntityDecl) - 80usize] ; ["Offset of field: _xmlSAXHandler::setDocumentLocator"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , setDocumentLocator) - 88usize] ; ["Offset of field: _xmlSAXHandler::startDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startDocument) - 96usize] ; ["Offset of field: _xmlSAXHandler::endDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endDocument) - 104usize] ; ["Offset of field: _xmlSAXHandler::startElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startElement) - 112usize] ; ["Offset of field: _xmlSAXHandler::endElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endElement) - 120usize] ; ["Offset of field: _xmlSAXHandler::reference"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , reference) - 128usize] ; ["Offset of field: _xmlSAXHandler::characters"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , characters) - 136usize] ; ["Offset of field: _xmlSAXHandler::ignorableWhitespace"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , ignorableWhitespace) - 144usize] ; ["Offset of field: _xmlSAXHandler::processingInstruction"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , processingInstruction) - 152usize] ; ["Offset of field: _xmlSAXHandler::comment"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , comment) - 160usize] ; ["Offset of field: _xmlSAXHandler::warning"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , warning) - 168usize] ; ["Offset of field: _xmlSAXHandler::error"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , error) - 176usize] ; ["Offset of field: _xmlSAXHandler::fatalError"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , fatalError) - 184usize] ; ["Offset of field: _xmlSAXHandler::getParameterEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , getParameterEntity) - 192usize] ; ["Offset of field: _xmlSAXHandler::cdataBlock"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , cdataBlock) - 200usize] ; ["Offset of field: _xmlSAXHandler::externalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , externalSubset) - 208usize] ; ["Offset of field: _xmlSAXHandler::initialized"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , initialized) - 216usize] ; ["Offset of field: _xmlSAXHandler::_private"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , _private) - 224usize] ; ["Offset of field: _xmlSAXHandler::startElementNs"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startElementNs) - 232usize] ; ["Offset of field: _xmlSAXHandler::endElementNs"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endElementNs) - 240usize] ; ["Offset of field: _xmlSAXHandler::serror"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , serror) - 248usize] ; } ; # [doc = " SAX handler, version 1.\n\n @deprecated Use version 2 handlers."] pub type xmlSAXHandlerV1 = _xmlSAXHandlerV1 ; pub type xmlSAXHandlerV1Ptr = * mut xmlSAXHandlerV1 ; # [doc = " SAX handler, version 1.\n\n @deprecated Use version 2 handlers."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXHandlerV1 { pub internalSubset : internalSubsetSAXFunc , pub isStandalone : isStandaloneSAXFunc , pub hasInternalSubset : hasInternalSubsetSAXFunc , pub hasExternalSubset : hasExternalSubsetSAXFunc , pub resolveEntity : resolveEntitySAXFunc , pub getEntity : getEntitySAXFunc , pub entityDecl : entityDeclSAXFunc , pub notationDecl : notationDeclSAXFunc , pub attributeDecl : attributeDeclSAXFunc , pub elementDecl : elementDeclSAXFunc , pub unparsedEntityDecl : unparsedEntityDeclSAXFunc , pub setDocumentLocator : setDocumentLocatorSAXFunc , pub startDocument : startDocumentSAXFunc , pub endDocument : endDocumentSAXFunc , pub startElement : startElementSAXFunc , pub endElement : endElementSAXFunc , pub reference : referenceSAXFunc , pub characters : charactersSAXFunc , pub ignorableWhitespace : ignorableWhitespaceSAXFunc , pub processingInstruction : processingInstructionSAXFunc , pub comment : commentSAXFunc , pub warning : warningSAXFunc , pub error : errorSAXFunc , pub fatalError : fatalErrorSAXFunc , pub getParameterEntity : getParameterEntitySAXFunc , pub cdataBlock : cdataBlockSAXFunc , pub externalSubset : externalSubsetSAXFunc , pub initialized : :: std :: os :: raw :: c_uint , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXHandlerV1"] [:: std :: mem :: size_of :: < _xmlSAXHandlerV1 > () - 224usize] ; ["Alignment of _xmlSAXHandlerV1"] [:: std :: mem :: align_of :: < _xmlSAXHandlerV1 > () - 8usize] ; ["Offset of field: _xmlSAXHandlerV1::internalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , internalSubset) - 0usize] ; ["Offset of field: _xmlSAXHandlerV1::isStandalone"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , isStandalone) - 8usize] ; ["Offset of field: _xmlSAXHandlerV1::hasInternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , hasInternalSubset) - 16usize] ; ["Offset of field: _xmlSAXHandlerV1::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , hasExternalSubset) - 24usize] ; ["Offset of field: _xmlSAXHandlerV1::resolveEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , resolveEntity) - 32usize] ; ["Offset of field: _xmlSAXHandlerV1::getEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , getEntity) - 40usize] ; ["Offset of field: _xmlSAXHandlerV1::entityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , entityDecl) - 48usize] ; ["Offset of field: _xmlSAXHandlerV1::notationDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , notationDecl) - 56usize] ; ["Offset of field: _xmlSAXHandlerV1::attributeDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , attributeDecl) - 64usize] ; ["Offset of field: _xmlSAXHandlerV1::elementDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , elementDecl) - 72usize] ; ["Offset of field: _xmlSAXHandlerV1::unparsedEntityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , unparsedEntityDecl) - 80usize] ; ["Offset of field: _xmlSAXHandlerV1::setDocumentLocator"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , setDocumentLocator) - 88usize] ; ["Offset of field: _xmlSAXHandlerV1::startDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , startDocument) - 96usize] ; ["Offset of field: _xmlSAXHandlerV1::endDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , endDocument) - 104usize] ; ["Offset of field: _xmlSAXHandlerV1::startElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , startElement) - 112usize] ; ["Offset of field: _xmlSAXHandlerV1::endElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , endElement) - 120usize] ; ["Offset of field: _xmlSAXHandlerV1::reference"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , reference) - 128usize] ; ["Offset of field: _xmlSAXHandlerV1::characters"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , characters) - 136usize] ; ["Offset of field: _xmlSAXHandlerV1::ignorableWhitespace"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , ignorableWhitespace) - 144usize] ; ["Offset of field: _xmlSAXHandlerV1::processingInstruction"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , processingInstruction) - 152usize] ; ["Offset of field: _xmlSAXHandlerV1::comment"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , comment) - 160usize] ; ["Offset of field: _xmlSAXHandlerV1::warning"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , warning) - 168usize] ; ["Offset of field: _xmlSAXHandlerV1::error"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , error) - 176usize] ; ["Offset of field: _xmlSAXHandlerV1::fatalError"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , fatalError) - 184usize] ; ["Offset of field: _xmlSAXHandlerV1::getParameterEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , getParameterEntity) - 192usize] ; ["Offset of field: _xmlSAXHandlerV1::cdataBlock"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , cdataBlock) - 200usize] ; ["Offset of field: _xmlSAXHandlerV1::externalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , externalSubset) - 208usize] ; ["Offset of field: _xmlSAXHandlerV1::initialized"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , initialized) - 216usize] ; } ; # [doc = " Callback for external entity loader.\n\n The URL is not resolved using XML catalogs before being passed\n to the callback.\n\n @param URL  The URL or system ID of the resource requested\n @param publicId  The public ID of the resource requested (optional)\n @param context  the XML parser context\n @returns the entity input parser or NULL on error."] pub type xmlExternalEntityLoader = :: std :: option :: Option < unsafe extern "C" fn (URL : * const :: std :: os :: raw :: c_char , publicId : * const :: std :: os :: raw :: c_char , context : * mut xmlParserCtxt) -> * mut xmlParserInput > ; unsafe extern "C" { pub static xmlParserVersion : * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { # [doc = " @cond ignore"] pub static xmlDefaultSAXLocator : xmlSAXLocator ; } unsafe extern "C" { # [doc = " @deprecated Use #xmlSAXVersion or #xmlSAX2InitDefaultSAXHandler"] pub static xmlDefaultSAXHandler : xmlSAXHandlerV1 ; } unsafe extern "C" { pub fn __xmlDoValidityCheckingDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlGetWarningsDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlKeepBlanksDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlLineNumbersDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlLoadExtDtdDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlPedanticParserDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlSubstituteEntitiesDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlIndentTreeOutput () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlTreeIndentString () -> * mut * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn __xmlSaveNoEmptyTags () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlInitParser () ; } unsafe extern "C" { pub fn xmlCleanupParser () ; } unsafe extern "C" { pub fn xmlInitGlobals () ; } unsafe extern "C" { pub fn xmlCleanupGlobals () ; } unsafe extern "C" { pub fn xmlParserInputRead (in_ : * mut xmlParserInput , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputGrow (in_ : * mut xmlParserInput , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseDoc (cur : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseFile (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSubstituteEntitiesDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlKeepBlanksDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStopParser (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlPedanticParserDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlLineNumbersDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefSubstituteEntitiesDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefKeepBlanksDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefPedanticParserDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefLineNumbersDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefDoValidityCheckingDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefGetWarningsDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefLoadExtDtdDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRecoverDoc (cur : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlRecoverMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlRecoverFile (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseDocument (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseExtParsedEnt (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXUserParseFile (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXUserParseMemory (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXParseDoc (sax : * mut xmlSAXHandler , cur : * const xmlChar , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseMemory (sax : * mut xmlSAXHandler , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseMemoryWithData (sax : * mut xmlSAXHandler , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , recovery : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseFile (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseFileWithData (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char , recovery : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseEntity (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseEntity (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseDtd (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlCtxtValidateDocument (ctxt : * mut xmlParserCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtValidateDtd (ctxt : * mut xmlParserCtxt , doc : * mut xmlDoc , dtd : * mut xmlDtd) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXParseDTD (sax : * mut xmlSAXHandler , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlParseDTD (publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlIOParseDTD (sax : * mut xmlSAXHandler , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlParseBalancedChunkMemory (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , string : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseInNodeContext (node : * mut xmlNode , data : * const :: std :: os :: raw :: c_char , datalen : :: std :: os :: raw :: c_int , options : :: std :: os :: raw :: c_int , lst : * mut * mut xmlNode) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlParseBalancedChunkMemoryRecover (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , string : * const xmlChar , lst : * mut * mut xmlNode , recover : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseExternalEntity (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , URL : * const xmlChar , ID : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseCtxtExternalEntity (ctx : * mut xmlParserCtxt , URL : * const xmlChar , ID : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNewParserCtxt () -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlNewSAXParserCtxt (sax : * const xmlSAXHandler , userData : * mut :: std :: os :: raw :: c_void) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlInitParserCtxt (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlClearParserCtxt (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlFreeParserCtxt (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlSetupParserForBuffer (ctxt : * mut xmlParserCtxt , buffer : * const xmlChar , filename : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlCreateDocParserCtxt (cur : * const xmlChar) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlCreatePushParserCtxt (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , filename : * const :: std :: os :: raw :: c_char) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlParseChunk (ctxt : * mut xmlParserCtxt , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , terminate : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCreateIOParserCtxt (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , enc : xmlCharEncoding) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlNewIOInputStream (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlParserFindNodeInfo (ctxt : * mut xmlParserCtxt , node : * mut xmlNode) -> * const xmlParserNodeInfo ; } unsafe extern "C" { pub fn xmlInitNodeInfoSeq (seq : * mut xmlParserNodeInfoSeq) ; } unsafe extern "C" { pub fn xmlClearNodeInfoSeq (seq : * mut xmlParserNodeInfoSeq) ; } unsafe extern "C" { pub fn xmlParserFindNodeInfoIndex (seq : * mut xmlParserNodeInfoSeq , node : * mut xmlNode) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlParserAddNodeInfo (ctxt : * mut xmlParserCtxt , info : * mut xmlParserNodeInfo) ; } unsafe extern "C" { pub fn xmlSetExternalEntityLoader (f : xmlExternalEntityLoader) ; } unsafe extern "C" { pub fn xmlGetExternalEntityLoader () -> xmlExternalEntityLoader ; } unsafe extern "C" { pub fn xmlLoadExternalEntity (URL : * const :: std :: os :: raw :: c_char , ID : * const :: std :: os :: raw :: c_char , ctxt : * mut xmlParserCtxt) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlByteConsumed (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_long ; } # [doc = " Enable \"recovery\" mode which allows non-wellformed documents.\n How this mode behaves exactly is unspecified and may change\n without further notice. Use of this feature is DISCOURAGED.\n\n Not supported by the push parser."] pub const xmlParserOption_XML_PARSE_RECOVER : xmlParserOption = 1 ; # [doc = " Despite the confusing name, this option enables substitution\n of entities. The resulting tree won't contain any entity\n reference nodes.\n\n This option also enables loading of external entities (both\n general and parameter entities) which is dangerous. If you\n process untrusted data, it's recommended to set the\n XML_PARSE_NO_XXE option to disable loading of external\n entities."] pub const xmlParserOption_XML_PARSE_NOENT : xmlParserOption = 2 ; # [doc = " Enables loading of an external DTD and the loading and\n substitution of external parameter entities. Has no effect\n if XML_PARSE_NO_XXE is set."] pub const xmlParserOption_XML_PARSE_DTDLOAD : xmlParserOption = 4 ; # [doc = " Adds default attributes from the DTD to the result document.\n\n Implies XML_PARSE_DTDLOAD, but loading of external content\n can be disabled with XML_PARSE_NO_XXE."] pub const xmlParserOption_XML_PARSE_DTDATTR : xmlParserOption = 8 ; # [doc = " This option enables DTD validation which requires to load\n external DTDs and external entities (both general and\n parameter entities) unless XML_PARSE_NO_XXE was set.\n\n DTD validation is vulnerable to algorithmic complexity\n attacks and should never be enabled with untrusted input."] pub const xmlParserOption_XML_PARSE_DTDVALID : xmlParserOption = 16 ; # [doc = " Disable error and warning reports to the error handlers.\n Errors are still accessible with xmlCtxtGetLastError()."] pub const xmlParserOption_XML_PARSE_NOERROR : xmlParserOption = 32 ; # [doc = " Disable warning reports."] pub const xmlParserOption_XML_PARSE_NOWARNING : xmlParserOption = 64 ; # [doc = " Enable some pedantic warnings."] pub const xmlParserOption_XML_PARSE_PEDANTIC : xmlParserOption = 128 ; # [doc = " Remove some whitespace from the result document. Where to\n remove whitespace depends on DTD element declarations or a\n broken heuristic with unfixable bugs. Use of this option is\n DISCOURAGED.\n\n Not supported by the push parser."] pub const xmlParserOption_XML_PARSE_NOBLANKS : xmlParserOption = 256 ; # [doc = " Always invoke the deprecated SAX1 startElement and endElement\n handlers.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_SAX1 : xmlParserOption = 512 ; # [doc = " Enable XInclude processing. This option only affects the\n xmlTextReader and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_XINCLUDE : xmlParserOption = 1024 ; # [doc = " Disable network access with the built-in HTTP or FTP clients.\n\n After the last built-in network client was removed in 2.15,\n this option has no effect expect for being passed on to custom\n resource loaders."] pub const xmlParserOption_XML_PARSE_NONET : xmlParserOption = 2048 ; # [doc = " Create a document without interned strings, making all\n strings separate memory allocations."] pub const xmlParserOption_XML_PARSE_NODICT : xmlParserOption = 4096 ; # [doc = " Remove redundant namespace declarations from the result\n document."] pub const xmlParserOption_XML_PARSE_NSCLEAN : xmlParserOption = 8192 ; # [doc = " Output normal text nodes instead of CDATA nodes."] pub const xmlParserOption_XML_PARSE_NOCDATA : xmlParserOption = 16384 ; # [doc = " Don't generate XInclude start/end nodes when expanding\n inclusions. This option only affects the xmlTextReader\n and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_NOXINCNODE : xmlParserOption = 32768 ; # [doc = " Store small strings directly in the node struct to save\n memory."] pub const xmlParserOption_XML_PARSE_COMPACT : xmlParserOption = 65536 ; # [doc = " Use old Name productions from before XML 1.0 Fifth Edition.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_OLD10 : xmlParserOption = 131072 ; # [doc = " Don't fix up XInclude xml:base URIs. This option only affects\n the xmlTextReader and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_NOBASEFIX : xmlParserOption = 262144 ; # [doc = " Relax some internal limits.\n\n Maximum size of text nodes, tags, comments, processing instructions,\n CDATA sections, entity values\n\n normal: 10M\n huge:    1B\n\n Maximum size of names, system literals, pubid literals\n\n normal: 50K\n huge:   10M\n\n Maximum nesting depth of elements\n\n normal:  256\n huge:   2048\n\n Maximum nesting depth of entities\n\n normal: 20\n huge:   40"] pub const xmlParserOption_XML_PARSE_HUGE : xmlParserOption = 524288 ; # [doc = " Enable an unspecified legacy mode for SAX parsers.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_OLDSAX : xmlParserOption = 1048576 ; # [doc = " Ignore the encoding in the XML declaration. This option is\n mostly unneeded these days. The only effect is to enforce\n UTF-8 decoding of ASCII-like data."] pub const xmlParserOption_XML_PARSE_IGNORE_ENC : xmlParserOption = 2097152 ; # [doc = " Enable reporting of line numbers larger than 65535."] pub const xmlParserOption_XML_PARSE_BIG_LINES : xmlParserOption = 4194304 ; # [doc = " Disables loading of external DTDs or entities.\n\n @since 2.13.0"] pub const xmlParserOption_XML_PARSE_NO_XXE : xmlParserOption = 8388608 ; # [doc = " Enable input decompression. Setting this option is discouraged\n to avoid zip bombs.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_UNZIP : xmlParserOption = 16777216 ; # [doc = " Disables the global system XML catalog.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_NO_SYS_CATALOG : xmlParserOption = 33554432 ; # [doc = " Enable XML catalog processing instructions.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_CATALOG_PI : xmlParserOption = 67108864 ; # [doc = " Force the parser to ignore IDs.\n\n @since 2.15.0"] pub const xmlParserOption_XML_PARSE_SKIP_IDS : xmlParserOption = 134217728 ; # [doc = " This is the set of XML parser options that can be passed to\n #xmlReadDoc, #xmlCtxtSetOptions and other functions."] pub type xmlParserOption = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlCtxtReset (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlCtxtResetPush (ctxt : * mut xmlParserCtxt , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , filename : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetOptions (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtSetOptions (ctxt : * mut xmlParserCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtUseOptions (ctxt : * mut xmlParserCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetPrivate (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtSetPrivate (ctxt : * mut xmlParserCtxt , priv_ : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtGetCatalogs (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtSetCatalogs (ctxt : * mut xmlParserCtxt , catalogs : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtGetDict (ctxt : * mut xmlParserCtxt) -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlCtxtSetDict (ctxt : * mut xmlParserCtxt , arg1 : * mut xmlDict) ; } unsafe extern "C" { pub fn xmlCtxtGetSaxHandler (ctxt : * mut xmlParserCtxt) -> * mut xmlSAXHandler ; } unsafe extern "C" { pub fn xmlCtxtSetSaxHandler (ctxt : * mut xmlParserCtxt , sax : * const xmlSAXHandler) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetDocument (ctxt : * mut xmlParserCtxt) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtIsHtml (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtIsStopped (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtIsInSubset (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetValidCtxt (ctxt : * mut xmlParserCtxt) -> * mut xmlValidCtxt ; } unsafe extern "C" { pub fn xmlCtxtGetVersion (ctxt : * mut xmlParserCtxt) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCtxtGetDeclaredEncoding (ctxt : * mut xmlParserCtxt) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCtxtGetStandalone (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetStatus (ctxt : * mut xmlParserCtxt) -> xmlParserStatus ; } unsafe extern "C" { pub fn xmlCtxtGetUserData (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtGetNode (ctxt : * mut xmlParserCtxt) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCtxtGetDocTypeDecl (ctxt : * mut xmlParserCtxt , name : * mut * const xmlChar , systemId : * mut * const xmlChar , publicId : * mut * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetInputPosition (ctxt : * mut xmlParserCtxt , inputIndex : :: std :: os :: raw :: c_int , filname : * mut * const :: std :: os :: raw :: c_char , line : * mut :: std :: os :: raw :: c_int , col : * mut :: std :: os :: raw :: c_int , bytePos : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetInputWindow (ctxt : * mut xmlParserCtxt , inputIndex : :: std :: os :: raw :: c_int , startOut : * mut * const xmlChar , sizeInOut : * mut :: std :: os :: raw :: c_int , offsetOut : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtSetErrorHandler (ctxt : * mut xmlParserCtxt , handler : xmlStructuredErrorFunc , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetResourceLoader (ctxt : * mut xmlParserCtxt , loader : xmlResourceLoader , vctxt : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetCharEncConvImpl (ctxt : * mut xmlParserCtxt , impl_ : xmlCharEncConvImpl , vctxt : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetMaxAmplification (ctxt : * mut xmlParserCtxt , maxAmpl : :: std :: os :: raw :: c_uint) ; } unsafe extern "C" { pub fn xmlReadDoc (cur : * const xmlChar , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadFile (URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadFd (fd : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadIO (ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseDocument (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseContent (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput , node : * mut xmlNode , hasTextDecl : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCtxtReadDoc (ctxt : * mut xmlParserCtxt , cur : * const xmlChar , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadFile (ctxt : * mut xmlParserCtxt , filename : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadMemory (ctxt : * mut xmlParserCtxt , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadFd (ctxt : * mut xmlParserCtxt , fd : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadIO (ctxt : * mut xmlParserCtxt , ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlNewInputFromUrl (url : * const :: std :: os :: raw :: c_char , flags : xmlParserInputFlags , out : * mut * mut xmlParserInput) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlNewInputFromMemory (url : * const :: std :: os :: raw :: c_char , mem : * const :: std :: os :: raw :: c_void , size : usize , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromString (url : * const :: std :: os :: raw :: c_char , str_ : * const :: std :: os :: raw :: c_char , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromFd (url : * const :: std :: os :: raw :: c_char , fd : :: std :: os :: raw :: c_int , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromIO (url : * const :: std :: os :: raw :: c_char , ioRead : xmlInputReadCallback , ioClose : xmlInputCloseCallback , ioCtxt : * mut :: std :: os :: raw :: c_void , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlInputSetEncodingHandler (input : * mut xmlParserInput , handler : * mut xmlCharEncodingHandler) -> xmlParserErrors ; } # [doc = " Multithreading support"] pub const xmlFeature_XML_WITH_THREAD : xmlFeature = 1 ; # [doc = " @deprecated Always available"] pub const xmlFeature_XML_WITH_TREE : xmlFeature = 2 ; # [doc = " Serialization support"] pub const xmlFeature_XML_WITH_OUTPUT : xmlFeature = 3 ; # [doc = " Push parser"] pub const xmlFeature_XML_WITH_PUSH : xmlFeature = 4 ; # [doc = " XML Reader"] pub const xmlFeature_XML_WITH_READER : xmlFeature = 5 ; # [doc = " Streaming patterns"] pub const xmlFeature_XML_WITH_PATTERN : xmlFeature = 6 ; # [doc = " XML Writer"] pub const xmlFeature_XML_WITH_WRITER : xmlFeature = 7 ; # [doc = " Legacy SAX1 API"] pub const xmlFeature_XML_WITH_SAX1 : xmlFeature = 8 ; # [doc = " @deprecated FTP support was removed"] pub const xmlFeature_XML_WITH_FTP : xmlFeature = 9 ; # [doc = " @deprecated HTTP support was removed"] pub const xmlFeature_XML_WITH_HTTP : xmlFeature = 10 ; # [doc = " DTD validation"] pub const xmlFeature_XML_WITH_VALID : xmlFeature = 11 ; # [doc = " HTML parser"] pub const xmlFeature_XML_WITH_HTML : xmlFeature = 12 ; # [doc = " Legacy symbols"] pub const xmlFeature_XML_WITH_LEGACY : xmlFeature = 13 ; # [doc = " Canonical XML"] pub const xmlFeature_XML_WITH_C14N : xmlFeature = 14 ; # [doc = " XML Catalogs"] pub const xmlFeature_XML_WITH_CATALOG : xmlFeature = 15 ; # [doc = " XPath"] pub const xmlFeature_XML_WITH_XPATH : xmlFeature = 16 ; # [doc = " XPointer"] pub const xmlFeature_XML_WITH_XPTR : xmlFeature = 17 ; # [doc = " XInclude"] pub const xmlFeature_XML_WITH_XINCLUDE : xmlFeature = 18 ; # [doc = " iconv"] pub const xmlFeature_XML_WITH_ICONV : xmlFeature = 19 ; # [doc = " Built-in ISO-8859-X"] pub const xmlFeature_XML_WITH_ISO8859X : xmlFeature = 20 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_UNICODE : xmlFeature = 21 ; # [doc = " Regular expressions"] pub const xmlFeature_XML_WITH_REGEXP : xmlFeature = 22 ; # [doc = " @deprecated Same as XML_WITH_REGEXP"] pub const xmlFeature_XML_WITH_AUTOMATA : xmlFeature = 23 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_EXPR : xmlFeature = 24 ; # [doc = " XML Schemas"] pub const xmlFeature_XML_WITH_SCHEMAS : xmlFeature = 25 ; # [doc = " Schematron"] pub const xmlFeature_XML_WITH_SCHEMATRON : xmlFeature = 26 ; # [doc = " Loadable modules"] pub const xmlFeature_XML_WITH_MODULES : xmlFeature = 27 ; # [doc = " Debugging API"] pub const xmlFeature_XML_WITH_DEBUG : xmlFeature = 28 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_DEBUG_MEM : xmlFeature = 29 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_DEBUG_RUN : xmlFeature = 30 ; # [doc = " GZIP compression"] pub const xmlFeature_XML_WITH_ZLIB : xmlFeature = 31 ; # [doc = " ICU"] pub const xmlFeature_XML_WITH_ICU : xmlFeature = 32 ; # [doc = " @deprecated LZMA support was removed"] pub const xmlFeature_XML_WITH_LZMA : xmlFeature = 33 ; # [doc = " RELAXNG, since 2.14"] pub const xmlFeature_XML_WITH_RELAXNG : xmlFeature = 34 ; # [doc = " RELAXNG, since 2.14"] pub const xmlFeature_XML_WITH_NONE : xmlFeature = 99999 ; # [doc = " Used to examine the existence of features that can be enabled\n or disabled at compile-time.\n They used to be called XML_FEATURE_xxx but this clashed with Expat"] pub type xmlFeature = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlHasFeature (feature : xmlFeature) -> :: std :: os :: raw :: c_int ; } pub const xmlSchemaValidError_XML_SCHEMAS_ERR_OK : xmlSchemaValidError = 0 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOROOT : xmlSchemaValidError = 1 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_UNDECLAREDELEM : xmlSchemaValidError = 2 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTTOPLEVEL : xmlSchemaValidError = 3 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_MISSING : xmlSchemaValidError = 4 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_WRONGELEM : xmlSchemaValidError = 5 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTYPE : xmlSchemaValidError = 6 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOROLLBACK : xmlSchemaValidError = 7 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ISABSTRACT : xmlSchemaValidError = 8 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTEMPTY : xmlSchemaValidError = 9 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ELEMCONT : xmlSchemaValidError = 10 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_HAVEDEFAULT : xmlSchemaValidError = 11 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTNILLABLE : xmlSchemaValidError = 12 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_EXTRACONTENT : xmlSchemaValidError = 13 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INVALIDATTR : xmlSchemaValidError = 14 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INVALIDELEM : xmlSchemaValidError = 15 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTDETERMINIST : xmlSchemaValidError = 16 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_CONSTRUCT : xmlSchemaValidError = 17 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INTERNAL : xmlSchemaValidError = 18 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTSIMPLE : xmlSchemaValidError = 19 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ATTRUNKNOWN : xmlSchemaValidError = 20 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ATTRINVALID : xmlSchemaValidError = 21 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_VALUE : xmlSchemaValidError = 22 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_FACET : xmlSchemaValidError = 23 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ : xmlSchemaValidError = 24 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_XXX : xmlSchemaValidError = 25 ; # [doc = " This error codes are obsolete; not used any more."] pub type xmlSchemaValidError = :: std :: os :: raw :: c_uint ; pub const xmlSchemaValidOption_XML_SCHEMA_VAL_VC_I_CREATE : xmlSchemaValidOption = 1 ; # [doc = " This is the set of XML Schema validation options."] pub type xmlSchemaValidOption = :: std :: os :: raw :: c_uint ; # [doc = " XML schema"] pub type xmlSchema = _xmlSchema ; pub type xmlSchemaPtr = * mut xmlSchema ; # [doc = " Signature of an error callback from an XSD validation\n\n @param ctx  the validation context\n @param msg  the message\n @param ... extra arguments"] pub type xmlSchemaValidityErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Signature of a warning callback from an XSD validation\n\n @param ctx  the validation context\n @param msg  the message\n @param ... extra arguments"] pub type xmlSchemaValidityWarningFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaParserCtxt { _unused : [u8 ; 0] , } # [doc = " Schema parser context"] pub type xmlSchemaParserCtxt = _xmlSchemaParserCtxt ; pub type xmlSchemaParserCtxtPtr = * mut xmlSchemaParserCtxt ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaValidCtxt { _unused : [u8 ; 0] , } # [doc = " Schema validation context"] pub type xmlSchemaValidCtxt = _xmlSchemaValidCtxt ; pub type xmlSchemaValidCtxtPtr = * mut xmlSchemaValidCtxt ; # [doc = " A schemas validation locator, a callback called by the validator.\n This is used when file or node information are not available\n to find out what file and line number are affected\n\n @param ctx  user provided context\n @param file  returned file information\n @param line  returned line information\n @returns 0 in case of success and -1 in case of error"] pub type xmlSchemaValidityLocatorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , file : * mut * const :: std :: os :: raw :: c_char , line : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int > ; unsafe extern "C" { pub fn xmlSchemaNewParserCtxt (URL : * const :: std :: os :: raw :: c_char) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaNewMemParserCtxt (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaNewDocParserCtxt (doc : * mut xmlDoc) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaFreeParserCtxt (ctxt : * mut xmlSchemaParserCtxt) ; } unsafe extern "C" { pub fn xmlSchemaSetParserErrors (ctxt : * mut xmlSchemaParserCtxt , err : xmlSchemaValidityErrorFunc , warn : xmlSchemaValidityWarningFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaSetParserStructuredErrors (ctxt : * mut xmlSchemaParserCtxt , serror : xmlStructuredErrorFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaGetParserErrors (ctxt : * mut xmlSchemaParserCtxt , err : * mut xmlSchemaValidityErrorFunc , warn : * mut xmlSchemaValidityWarningFunc , ctx : * mut * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaSetResourceLoader (ctxt : * mut xmlSchemaParserCtxt , loader : xmlResourceLoader , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaIsValid (ctxt : * mut xmlSchemaValidCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaParse (ctxt : * mut xmlSchemaParserCtxt) -> * mut xmlSchema ; } unsafe extern "C" { pub fn xmlSchemaFree (schema : * mut xmlSchema) ; } unsafe extern "C" { pub fn xmlSchemaDump (output : * mut FILE , schema : * mut xmlSchema) ; } unsafe extern "C" { pub fn xmlSchemaSetValidErrors (ctxt : * mut xmlSchemaValidCtxt , err : xmlSchemaValidityErrorFunc , warn : xmlSchemaValidityWarningFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaSetValidStructuredErrors (ctxt : * mut xmlSchemaValidCtxt , serror : xmlStructuredErrorFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaGetValidErrors (ctxt : * mut xmlSchemaValidCtxt , err : * mut xmlSchemaValidityErrorFunc , warn : * mut xmlSchemaValidityWarningFunc , ctx : * mut * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaSetValidOptions (ctxt : * mut xmlSchemaValidCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateSetFilename (vctxt : * mut xmlSchemaValidCtxt , filename : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlSchemaValidCtxtGetOptions (ctxt : * mut xmlSchemaValidCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaNewValidCtxt (schema : * mut xmlSchema) -> * mut xmlSchemaValidCtxt ; } unsafe extern "C" { pub fn xmlSchemaFreeValidCtxt (ctxt : * mut xmlSchemaValidCtxt) ; } unsafe extern "C" { pub fn xmlSchemaValidateDoc (ctxt : * mut xmlSchemaValidCtxt , instance : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateOneElement (ctxt : * mut xmlSchemaValidCtxt , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateStream (ctxt : * mut xmlSchemaValidCtxt , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding , sax : * const xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFile (ctxt : * mut xmlSchemaValidCtxt , filename : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidCtxtGetParserCtxt (ctxt : * mut xmlSchemaValidCtxt) -> * mut xmlParserCtxt ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaSAXPlug { _unused : [u8 ; 0] , } # [doc = " Interface to insert Schemas SAX validation in a SAX stream"] pub type xmlSchemaSAXPlugStruct = _xmlSchemaSAXPlug ; pub type xmlSchemaSAXPlugPtr = * mut xmlSchemaSAXPlugStruct ; unsafe extern "C" { pub fn xmlSchemaSAXPlug (ctxt : * mut xmlSchemaValidCtxt , sax : * mut * mut xmlSAXHandler , user_data : * mut * mut :: std :: os :: raw :: c_void) -> * mut xmlSchemaSAXPlugStruct ; } unsafe extern "C" { pub fn xmlSchemaSAXUnplug (plug : * mut xmlSchemaSAXPlugStruct) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateSetLocator (vctxt : * mut xmlSchemaValidCtxt , f : xmlSchemaValidityLocatorFunc , ctxt : * mut :: std :: os :: raw :: c_void) ; } pub const xmlSchemaValType_XML_SCHEMAS_UNKNOWN : xmlSchemaValType = 0 ; pub const xmlSchemaValType_XML_SCHEMAS_STRING : xmlSchemaValType = 1 ; pub const xmlSchemaValType_XML_SCHEMAS_NORMSTRING : xmlSchemaValType = 2 ; pub const xmlSchemaValType_XML_SCHEMAS_DECIMAL : xmlSchemaValType = 3 ; pub const xmlSchemaValType_XML_SCHEMAS_TIME : xmlSchemaValType = 4 ; pub const xmlSchemaValType_XML_SCHEMAS_GDAY : xmlSchemaValType = 5 ; pub const xmlSchemaValType_XML_SCHEMAS_GMONTH : xmlSchemaValType = 6 ; pub const xmlSchemaValType_XML_SCHEMAS_GMONTHDAY : xmlSchemaValType = 7 ; pub const xmlSchemaValType_XML_SCHEMAS_GYEAR : xmlSchemaValType = 8 ; pub const xmlSchemaValType_XML_SCHEMAS_GYEARMONTH : xmlSchemaValType = 9 ; pub const xmlSchemaValType_XML_SCHEMAS_DATE : xmlSchemaValType = 10 ; pub const xmlSchemaValType_XML_SCHEMAS_DATETIME : xmlSchemaValType = 11 ; pub const xmlSchemaValType_XML_SCHEMAS_DURATION : xmlSchemaValType = 12 ; pub const xmlSchemaValType_XML_SCHEMAS_FLOAT : xmlSchemaValType = 13 ; pub const xmlSchemaValType_XML_SCHEMAS_DOUBLE : xmlSchemaValType = 14 ; pub const xmlSchemaValType_XML_SCHEMAS_BOOLEAN : xmlSchemaValType = 15 ; pub const xmlSchemaValType_XML_SCHEMAS_TOKEN : xmlSchemaValType = 16 ; pub const xmlSchemaValType_XML_SCHEMAS_LANGUAGE : xmlSchemaValType = 17 ; pub const xmlSchemaValType_XML_SCHEMAS_NMTOKEN : xmlSchemaValType = 18 ; pub const xmlSchemaValType_XML_SCHEMAS_NMTOKENS : xmlSchemaValType = 19 ; pub const xmlSchemaValType_XML_SCHEMAS_NAME : xmlSchemaValType = 20 ; pub const xmlSchemaValType_XML_SCHEMAS_QNAME : xmlSchemaValType = 21 ; pub const xmlSchemaValType_XML_SCHEMAS_NCNAME : xmlSchemaValType = 22 ; pub const xmlSchemaValType_XML_SCHEMAS_ID : xmlSchemaValType = 23 ; pub const xmlSchemaValType_XML_SCHEMAS_IDREF : xmlSchemaValType = 24 ; pub const xmlSchemaValType_XML_SCHEMAS_IDREFS : xmlSchemaValType = 25 ; pub const xmlSchemaValType_XML_SCHEMAS_ENTITY : xmlSchemaValType = 26 ; pub const xmlSchemaValType_XML_SCHEMAS_ENTITIES : xmlSchemaValType = 27 ; pub const xmlSchemaValType_XML_SCHEMAS_NOTATION : xmlSchemaValType = 28 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYURI : xmlSchemaValType = 29 ; pub const xmlSchemaValType_XML_SCHEMAS_INTEGER : xmlSchemaValType = 30 ; pub const xmlSchemaValType_XML_SCHEMAS_NPINTEGER : xmlSchemaValType = 31 ; pub const xmlSchemaValType_XML_SCHEMAS_NINTEGER : xmlSchemaValType = 32 ; pub const xmlSchemaValType_XML_SCHEMAS_NNINTEGER : xmlSchemaValType = 33 ; pub const xmlSchemaValType_XML_SCHEMAS_PINTEGER : xmlSchemaValType = 34 ; pub const xmlSchemaValType_XML_SCHEMAS_INT : xmlSchemaValType = 35 ; pub const xmlSchemaValType_XML_SCHEMAS_UINT : xmlSchemaValType = 36 ; pub const xmlSchemaValType_XML_SCHEMAS_LONG : xmlSchemaValType = 37 ; pub const xmlSchemaValType_XML_SCHEMAS_ULONG : xmlSchemaValType = 38 ; pub const xmlSchemaValType_XML_SCHEMAS_SHORT : xmlSchemaValType = 39 ; pub const xmlSchemaValType_XML_SCHEMAS_USHORT : xmlSchemaValType = 40 ; pub const xmlSchemaValType_XML_SCHEMAS_BYTE : xmlSchemaValType = 41 ; pub const xmlSchemaValType_XML_SCHEMAS_UBYTE : xmlSchemaValType = 42 ; pub const xmlSchemaValType_XML_SCHEMAS_HEXBINARY : xmlSchemaValType = 43 ; pub const xmlSchemaValType_XML_SCHEMAS_BASE64BINARY : xmlSchemaValType = 44 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYTYPE : xmlSchemaValType = 45 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYSIMPLETYPE : xmlSchemaValType = 46 ; # [doc = " Schema value type"] pub type xmlSchemaValType = :: std :: os :: raw :: c_uint ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_BASIC : xmlSchemaTypeType = 1 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ANY : xmlSchemaTypeType = 2 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_FACET : xmlSchemaTypeType = 3 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SIMPLE : xmlSchemaTypeType = 4 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_COMPLEX : xmlSchemaTypeType = 5 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SEQUENCE : xmlSchemaTypeType = 6 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_CHOICE : xmlSchemaTypeType = 7 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ALL : xmlSchemaTypeType = 8 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SIMPLE_CONTENT : xmlSchemaTypeType = 9 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_COMPLEX_CONTENT : xmlSchemaTypeType = 10 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_UR : xmlSchemaTypeType = 11 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_RESTRICTION : xmlSchemaTypeType = 12 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_EXTENSION : xmlSchemaTypeType = 13 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ELEMENT : xmlSchemaTypeType = 14 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTE : xmlSchemaTypeType = 15 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTEGROUP : xmlSchemaTypeType = 16 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_GROUP : xmlSchemaTypeType = 17 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_NOTATION : xmlSchemaTypeType = 18 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_LIST : xmlSchemaTypeType = 19 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_UNION : xmlSchemaTypeType = 20 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ANY_ATTRIBUTE : xmlSchemaTypeType = 21 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_UNIQUE : xmlSchemaTypeType = 22 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_KEY : xmlSchemaTypeType = 23 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_KEYREF : xmlSchemaTypeType = 24 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_PARTICLE : xmlSchemaTypeType = 25 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTE_USE : xmlSchemaTypeType = 26 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MININCLUSIVE : xmlSchemaTypeType = 1000 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MINEXCLUSIVE : xmlSchemaTypeType = 1001 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXINCLUSIVE : xmlSchemaTypeType = 1002 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXEXCLUSIVE : xmlSchemaTypeType = 1003 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_TOTALDIGITS : xmlSchemaTypeType = 1004 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_FRACTIONDIGITS : xmlSchemaTypeType = 1005 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_PATTERN : xmlSchemaTypeType = 1006 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_ENUMERATION : xmlSchemaTypeType = 1007 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_WHITESPACE : xmlSchemaTypeType = 1008 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_LENGTH : xmlSchemaTypeType = 1009 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXLENGTH : xmlSchemaTypeType = 1010 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MINLENGTH : xmlSchemaTypeType = 1011 ; pub const xmlSchemaTypeType_XML_SCHEMA_EXTRA_QNAMEREF : xmlSchemaTypeType = 2000 ; pub const xmlSchemaTypeType_XML_SCHEMA_EXTRA_ATTR_USE_PROHIB : xmlSchemaTypeType = 2001 ; # [doc = " XML Schemas defines multiple type of types."] pub type xmlSchemaTypeType = :: std :: os :: raw :: c_uint ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_UNKNOWN : xmlSchemaContentType = 0 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_EMPTY : xmlSchemaContentType = 1 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_ELEMENTS : xmlSchemaContentType = 2 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_MIXED : xmlSchemaContentType = 3 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_SIMPLE : xmlSchemaContentType = 4 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_MIXED_OR_ELEMENTS : xmlSchemaContentType = 5 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_BASIC : xmlSchemaContentType = 6 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_ANY : xmlSchemaContentType = 7 ; # [doc = " Schema content type"] pub type xmlSchemaContentType = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaVal { _unused : [u8 ; 0] , } # [doc = " Schema value"] pub type xmlSchemaVal = _xmlSchemaVal ; pub type xmlSchemaValPtr = * mut xmlSchemaVal ; # [doc = " Schema type"] pub type xmlSchemaType = _xmlSchemaType ; pub type xmlSchemaTypePtr = * mut xmlSchemaType ; # [doc = " Schema facet"] pub type xmlSchemaFacet = _xmlSchemaFacet ; pub type xmlSchemaFacetPtr = * mut xmlSchemaFacet ; # [doc = " Schema annotation"] pub type xmlSchemaAnnot = _xmlSchemaAnnot ; pub type xmlSchemaAnnotPtr = * mut xmlSchemaAnnot ; # [doc = " Annotation"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAnnot { pub next : * mut _xmlSchemaAnnot , pub content : * mut xmlNode , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAnnot"] [:: std :: mem :: size_of :: < _xmlSchemaAnnot > () - 16usize] ; ["Alignment of _xmlSchemaAnnot"] [:: std :: mem :: align_of :: < _xmlSchemaAnnot > () - 8usize] ; ["Offset of field: _xmlSchemaAnnot::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAnnot , next) - 0usize] ; ["Offset of field: _xmlSchemaAnnot::content"] [:: std :: mem :: offset_of ! (_xmlSchemaAnnot , content) - 8usize] ; } ; # [doc = " Schema attribute definition"] pub type xmlSchemaAttribute = _xmlSchemaAttribute ; pub type xmlSchemaAttributePtr = * mut xmlSchemaAttribute ; # [doc = " An attribute definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttribute { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaAttribute , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub typeName : * const xmlChar , pub typeNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub base : * mut xmlSchemaType , pub occurs : :: std :: os :: raw :: c_int , pub defValue : * const xmlChar , pub subtypes : * mut xmlSchemaType , pub node : * mut xmlNode , pub targetNamespace : * const xmlChar , pub flags : :: std :: os :: raw :: c_int , pub refPrefix : * const xmlChar , pub defVal : * mut xmlSchemaVal , pub refDecl : * mut xmlSchemaAttribute , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttribute"] [:: std :: mem :: size_of :: < _xmlSchemaAttribute > () - 152usize] ; ["Alignment of _xmlSchemaAttribute"] [:: std :: mem :: align_of :: < _xmlSchemaAttribute > () - 8usize] ; ["Offset of field: _xmlSchemaAttribute::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , type_) - 0usize] ; ["Offset of field: _xmlSchemaAttribute::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , next) - 8usize] ; ["Offset of field: _xmlSchemaAttribute::name"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , name) - 16usize] ; ["Offset of field: _xmlSchemaAttribute::id"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , id) - 24usize] ; ["Offset of field: _xmlSchemaAttribute::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , ref_) - 32usize] ; ["Offset of field: _xmlSchemaAttribute::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refNs) - 40usize] ; ["Offset of field: _xmlSchemaAttribute::typeName"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , typeName) - 48usize] ; ["Offset of field: _xmlSchemaAttribute::typeNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , typeNs) - 56usize] ; ["Offset of field: _xmlSchemaAttribute::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , annot) - 64usize] ; ["Offset of field: _xmlSchemaAttribute::base"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , base) - 72usize] ; ["Offset of field: _xmlSchemaAttribute::occurs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , occurs) - 80usize] ; ["Offset of field: _xmlSchemaAttribute::defValue"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , defValue) - 88usize] ; ["Offset of field: _xmlSchemaAttribute::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , subtypes) - 96usize] ; ["Offset of field: _xmlSchemaAttribute::node"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , node) - 104usize] ; ["Offset of field: _xmlSchemaAttribute::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , targetNamespace) - 112usize] ; ["Offset of field: _xmlSchemaAttribute::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , flags) - 120usize] ; ["Offset of field: _xmlSchemaAttribute::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refPrefix) - 128usize] ; ["Offset of field: _xmlSchemaAttribute::defVal"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , defVal) - 136usize] ; ["Offset of field: _xmlSchemaAttribute::refDecl"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refDecl) - 144usize] ; } ; # [doc = " Linked list of schema attributes"] pub type xmlSchemaAttributeLink = _xmlSchemaAttributeLink ; pub type xmlSchemaAttributeLinkPtr = * mut xmlSchemaAttributeLink ; # [doc = " Used to build a list of attribute uses on complexType definitions.\n WARNING: Deprecated; not used."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttributeLink { pub next : * mut _xmlSchemaAttributeLink , pub attr : * mut _xmlSchemaAttribute , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttributeLink"] [:: std :: mem :: size_of :: < _xmlSchemaAttributeLink > () - 16usize] ; ["Alignment of _xmlSchemaAttributeLink"] [:: std :: mem :: align_of :: < _xmlSchemaAttributeLink > () - 8usize] ; ["Offset of field: _xmlSchemaAttributeLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeLink , next) - 0usize] ; ["Offset of field: _xmlSchemaAttributeLink::attr"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeLink , attr) - 8usize] ; } ; # [doc = " Namespace wildcard"] pub type xmlSchemaWildcardNs = _xmlSchemaWildcardNs ; pub type xmlSchemaWildcardNsPtr = * mut xmlSchemaWildcardNs ; # [doc = " Used to build a list of namespaces on wildcards."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaWildcardNs { pub next : * mut _xmlSchemaWildcardNs , pub value : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaWildcardNs"] [:: std :: mem :: size_of :: < _xmlSchemaWildcardNs > () - 16usize] ; ["Alignment of _xmlSchemaWildcardNs"] [:: std :: mem :: align_of :: < _xmlSchemaWildcardNs > () - 8usize] ; ["Offset of field: _xmlSchemaWildcardNs::next"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcardNs , next) - 0usize] ; ["Offset of field: _xmlSchemaWildcardNs::value"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcardNs , value) - 8usize] ; } ; # [doc = " Name wildcard"] pub type xmlSchemaWildcard = _xmlSchemaWildcard ; pub type xmlSchemaWildcardPtr = * mut xmlSchemaWildcard ; # [doc = " A wildcard."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaWildcard { pub type_ : xmlSchemaTypeType , pub id : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub processContents : :: std :: os :: raw :: c_int , pub any : :: std :: os :: raw :: c_int , pub nsSet : * mut xmlSchemaWildcardNs , pub negNsSet : * mut xmlSchemaWildcardNs , pub flags : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaWildcard"] [:: std :: mem :: size_of :: < _xmlSchemaWildcard > () - 72usize] ; ["Alignment of _xmlSchemaWildcard"] [:: std :: mem :: align_of :: < _xmlSchemaWildcard > () - 8usize] ; ["Offset of field: _xmlSchemaWildcard::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , type_) - 0usize] ; ["Offset of field: _xmlSchemaWildcard::id"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , id) - 8usize] ; ["Offset of field: _xmlSchemaWildcard::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , annot) - 16usize] ; ["Offset of field: _xmlSchemaWildcard::node"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , node) - 24usize] ; ["Offset of field: _xmlSchemaWildcard::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , minOccurs) - 32usize] ; ["Offset of field: _xmlSchemaWildcard::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , maxOccurs) - 36usize] ; ["Offset of field: _xmlSchemaWildcard::processContents"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , processContents) - 40usize] ; ["Offset of field: _xmlSchemaWildcard::any"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , any) - 44usize] ; ["Offset of field: _xmlSchemaWildcard::nsSet"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , nsSet) - 48usize] ; ["Offset of field: _xmlSchemaWildcard::negNsSet"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , negNsSet) - 56usize] ; ["Offset of field: _xmlSchemaWildcard::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , flags) - 64usize] ; } ; # [doc = " Attribute group"] pub type xmlSchemaAttributeGroup = _xmlSchemaAttributeGroup ; pub type xmlSchemaAttributeGroupPtr = * mut xmlSchemaAttributeGroup ; # [doc = " An attribute group definition.\n\n xmlSchemaAttribute and xmlSchemaAttributeGroup start of structures\n must be kept similar"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttributeGroup { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaAttribute , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub flags : :: std :: os :: raw :: c_int , pub attributeWildcard : * mut xmlSchemaWildcard , pub refPrefix : * const xmlChar , pub refItem : * mut xmlSchemaAttributeGroup , pub targetNamespace : * const xmlChar , pub attrUses : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttributeGroup"] [:: std :: mem :: size_of :: < _xmlSchemaAttributeGroup > () - 120usize] ; ["Alignment of _xmlSchemaAttributeGroup"] [:: std :: mem :: align_of :: < _xmlSchemaAttributeGroup > () - 8usize] ; ["Offset of field: _xmlSchemaAttributeGroup::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , type_) - 0usize] ; ["Offset of field: _xmlSchemaAttributeGroup::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , next) - 8usize] ; ["Offset of field: _xmlSchemaAttributeGroup::name"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , name) - 16usize] ; ["Offset of field: _xmlSchemaAttributeGroup::id"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , id) - 24usize] ; ["Offset of field: _xmlSchemaAttributeGroup::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , ref_) - 32usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refNs) - 40usize] ; ["Offset of field: _xmlSchemaAttributeGroup::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , annot) - 48usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attributes) - 56usize] ; ["Offset of field: _xmlSchemaAttributeGroup::node"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , node) - 64usize] ; ["Offset of field: _xmlSchemaAttributeGroup::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , flags) - 72usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attributeWildcard"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attributeWildcard) - 80usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refPrefix) - 88usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refItem"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refItem) - 96usize] ; ["Offset of field: _xmlSchemaAttributeGroup::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , targetNamespace) - 104usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attrUses"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attrUses) - 112usize] ; } ; # [doc = " Linked list of schema types"] pub type xmlSchemaTypeLink = _xmlSchemaTypeLink ; pub type xmlSchemaTypeLinkPtr = * mut xmlSchemaTypeLink ; # [doc = " Used to build a list of types (e.g. member types of\n simpleType with variety \"union\")."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaTypeLink { pub next : * mut _xmlSchemaTypeLink , pub type_ : * mut xmlSchemaType , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaTypeLink"] [:: std :: mem :: size_of :: < _xmlSchemaTypeLink > () - 16usize] ; ["Alignment of _xmlSchemaTypeLink"] [:: std :: mem :: align_of :: < _xmlSchemaTypeLink > () - 8usize] ; ["Offset of field: _xmlSchemaTypeLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaTypeLink , next) - 0usize] ; ["Offset of field: _xmlSchemaTypeLink::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaTypeLink , type_) - 8usize] ; } ; # [doc = " Linked list of schema facets"] pub type xmlSchemaFacetLink = _xmlSchemaFacetLink ; pub type xmlSchemaFacetLinkPtr = * mut xmlSchemaFacetLink ; # [doc = " Used to build a list of facets."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaFacetLink { pub next : * mut _xmlSchemaFacetLink , pub facet : * mut xmlSchemaFacet , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaFacetLink"] [:: std :: mem :: size_of :: < _xmlSchemaFacetLink > () - 16usize] ; ["Alignment of _xmlSchemaFacetLink"] [:: std :: mem :: align_of :: < _xmlSchemaFacetLink > () - 8usize] ; ["Offset of field: _xmlSchemaFacetLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaFacetLink , next) - 0usize] ; ["Offset of field: _xmlSchemaFacetLink::facet"] [:: std :: mem :: offset_of ! (_xmlSchemaFacetLink , facet) - 8usize] ; } ; # [doc = " Schemas type definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaType { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaType , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub subtypes : * mut xmlSchemaType , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub flags : :: std :: os :: raw :: c_int , pub contentType : xmlSchemaContentType , pub base : * const xmlChar , pub baseNs : * const xmlChar , pub baseType : * mut xmlSchemaType , pub facets : * mut xmlSchemaFacet , pub redef : * mut _xmlSchemaType , pub recurse : :: std :: os :: raw :: c_int , pub attributeUses : * mut * mut xmlSchemaAttributeLink , pub attributeWildcard : * mut xmlSchemaWildcard , pub builtInType : :: std :: os :: raw :: c_int , pub memberTypes : * mut xmlSchemaTypeLink , pub facetSet : * mut xmlSchemaFacetLink , pub refPrefix : * const xmlChar , pub contentTypeDef : * mut xmlSchemaType , pub contModel : * mut xmlRegexp , pub targetNamespace : * const xmlChar , pub attrUses : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaType"] [:: std :: mem :: size_of :: < _xmlSchemaType > () - 224usize] ; ["Alignment of _xmlSchemaType"] [:: std :: mem :: align_of :: < _xmlSchemaType > () - 8usize] ; ["Offset of field: _xmlSchemaType::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaType , type_) - 0usize] ; ["Offset of field: _xmlSchemaType::next"] [:: std :: mem :: offset_of ! (_xmlSchemaType , next) - 8usize] ; ["Offset of field: _xmlSchemaType::name"] [:: std :: mem :: offset_of ! (_xmlSchemaType , name) - 16usize] ; ["Offset of field: _xmlSchemaType::id"] [:: std :: mem :: offset_of ! (_xmlSchemaType , id) - 24usize] ; ["Offset of field: _xmlSchemaType::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaType , ref_) - 32usize] ; ["Offset of field: _xmlSchemaType::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , refNs) - 40usize] ; ["Offset of field: _xmlSchemaType::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaType , annot) - 48usize] ; ["Offset of field: _xmlSchemaType::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , subtypes) - 56usize] ; ["Offset of field: _xmlSchemaType::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributes) - 64usize] ; ["Offset of field: _xmlSchemaType::node"] [:: std :: mem :: offset_of ! (_xmlSchemaType , node) - 72usize] ; ["Offset of field: _xmlSchemaType::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , minOccurs) - 80usize] ; ["Offset of field: _xmlSchemaType::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , maxOccurs) - 84usize] ; ["Offset of field: _xmlSchemaType::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaType , flags) - 88usize] ; ["Offset of field: _xmlSchemaType::contentType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contentType) - 92usize] ; ["Offset of field: _xmlSchemaType::base"] [:: std :: mem :: offset_of ! (_xmlSchemaType , base) - 96usize] ; ["Offset of field: _xmlSchemaType::baseNs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , baseNs) - 104usize] ; ["Offset of field: _xmlSchemaType::baseType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , baseType) - 112usize] ; ["Offset of field: _xmlSchemaType::facets"] [:: std :: mem :: offset_of ! (_xmlSchemaType , facets) - 120usize] ; ["Offset of field: _xmlSchemaType::redef"] [:: std :: mem :: offset_of ! (_xmlSchemaType , redef) - 128usize] ; ["Offset of field: _xmlSchemaType::recurse"] [:: std :: mem :: offset_of ! (_xmlSchemaType , recurse) - 136usize] ; ["Offset of field: _xmlSchemaType::attributeUses"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributeUses) - 144usize] ; ["Offset of field: _xmlSchemaType::attributeWildcard"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributeWildcard) - 152usize] ; ["Offset of field: _xmlSchemaType::builtInType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , builtInType) - 160usize] ; ["Offset of field: _xmlSchemaType::memberTypes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , memberTypes) - 168usize] ; ["Offset of field: _xmlSchemaType::facetSet"] [:: std :: mem :: offset_of ! (_xmlSchemaType , facetSet) - 176usize] ; ["Offset of field: _xmlSchemaType::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaType , refPrefix) - 184usize] ; ["Offset of field: _xmlSchemaType::contentTypeDef"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contentTypeDef) - 192usize] ; ["Offset of field: _xmlSchemaType::contModel"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contModel) - 200usize] ; ["Offset of field: _xmlSchemaType::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaType , targetNamespace) - 208usize] ; ["Offset of field: _xmlSchemaType::attrUses"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attrUses) - 216usize] ; } ; # [doc = " Schema element definition"] pub type xmlSchemaElement = _xmlSchemaElement ; pub type xmlSchemaElementPtr = * mut xmlSchemaElement ; # [doc = " An element definition.\n\n xmlSchemaType, xmlSchemaFacet and xmlSchemaElement start of\n structures must be kept similar"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaElement { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaType , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub subtypes : * mut xmlSchemaType , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub flags : :: std :: os :: raw :: c_int , pub targetNamespace : * const xmlChar , pub namedType : * const xmlChar , pub namedTypeNs : * const xmlChar , pub substGroup : * const xmlChar , pub substGroupNs : * const xmlChar , pub scope : * const xmlChar , pub value : * const xmlChar , pub refDecl : * mut _xmlSchemaElement , pub contModel : * mut xmlRegexp , pub contentType : xmlSchemaContentType , pub refPrefix : * const xmlChar , pub defVal : * mut xmlSchemaVal , pub idcs : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaElement"] [:: std :: mem :: size_of :: < _xmlSchemaElement > () - 200usize] ; ["Alignment of _xmlSchemaElement"] [:: std :: mem :: align_of :: < _xmlSchemaElement > () - 8usize] ; ["Offset of field: _xmlSchemaElement::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , type_) - 0usize] ; ["Offset of field: _xmlSchemaElement::next"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , next) - 8usize] ; ["Offset of field: _xmlSchemaElement::name"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , name) - 16usize] ; ["Offset of field: _xmlSchemaElement::id"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , id) - 24usize] ; ["Offset of field: _xmlSchemaElement::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , ref_) - 32usize] ; ["Offset of field: _xmlSchemaElement::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refNs) - 40usize] ; ["Offset of field: _xmlSchemaElement::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , annot) - 48usize] ; ["Offset of field: _xmlSchemaElement::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , subtypes) - 56usize] ; ["Offset of field: _xmlSchemaElement::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , attributes) - 64usize] ; ["Offset of field: _xmlSchemaElement::node"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , node) - 72usize] ; ["Offset of field: _xmlSchemaElement::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , minOccurs) - 80usize] ; ["Offset of field: _xmlSchemaElement::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , maxOccurs) - 84usize] ; ["Offset of field: _xmlSchemaElement::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , flags) - 88usize] ; ["Offset of field: _xmlSchemaElement::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , targetNamespace) - 96usize] ; ["Offset of field: _xmlSchemaElement::namedType"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , namedType) - 104usize] ; ["Offset of field: _xmlSchemaElement::namedTypeNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , namedTypeNs) - 112usize] ; ["Offset of field: _xmlSchemaElement::substGroup"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , substGroup) - 120usize] ; ["Offset of field: _xmlSchemaElement::substGroupNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , substGroupNs) - 128usize] ; ["Offset of field: _xmlSchemaElement::scope"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , scope) - 136usize] ; ["Offset of field: _xmlSchemaElement::value"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , value) - 144usize] ; ["Offset of field: _xmlSchemaElement::refDecl"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refDecl) - 152usize] ; ["Offset of field: _xmlSchemaElement::contModel"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , contModel) - 160usize] ; ["Offset of field: _xmlSchemaElement::contentType"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , contentType) - 168usize] ; ["Offset of field: _xmlSchemaElement::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refPrefix) - 176usize] ; ["Offset of field: _xmlSchemaElement::defVal"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , defVal) - 184usize] ; ["Offset of field: _xmlSchemaElement::idcs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , idcs) - 192usize] ; } ; # [doc = " A facet definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaFacet { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaFacet , pub value : * const xmlChar , pub id : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub node : * mut xmlNode , pub fixed : :: std :: os :: raw :: c_int , pub whitespace : :: std :: os :: raw :: c_int , pub val : * mut xmlSchemaVal , pub regexp : * mut xmlRegexp , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaFacet"] [:: std :: mem :: size_of :: < _xmlSchemaFacet > () - 72usize] ; ["Alignment of _xmlSchemaFacet"] [:: std :: mem :: align_of :: < _xmlSchemaFacet > () - 8usize] ; ["Offset of field: _xmlSchemaFacet::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , type_) - 0usize] ; ["Offset of field: _xmlSchemaFacet::next"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , next) - 8usize] ; ["Offset of field: _xmlSchemaFacet::value"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , value) - 16usize] ; ["Offset of field: _xmlSchemaFacet::id"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , id) - 24usize] ; ["Offset of field: _xmlSchemaFacet::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , annot) - 32usize] ; ["Offset of field: _xmlSchemaFacet::node"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , node) - 40usize] ; ["Offset of field: _xmlSchemaFacet::fixed"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , fixed) - 48usize] ; ["Offset of field: _xmlSchemaFacet::whitespace"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , whitespace) - 52usize] ; ["Offset of field: _xmlSchemaFacet::val"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , val) - 56usize] ; ["Offset of field: _xmlSchemaFacet::regexp"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , regexp) - 64usize] ; } ; # [doc = " Schema notation"] pub type xmlSchemaNotation = _xmlSchemaNotation ; pub type xmlSchemaNotationPtr = * mut xmlSchemaNotation ; # [doc = " A notation definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaNotation { pub type_ : xmlSchemaTypeType , pub name : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub identifier : * const xmlChar , pub targetNamespace : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaNotation"] [:: std :: mem :: size_of :: < _xmlSchemaNotation > () - 40usize] ; ["Alignment of _xmlSchemaNotation"] [:: std :: mem :: align_of :: < _xmlSchemaNotation > () - 8usize] ; ["Offset of field: _xmlSchemaNotation::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , type_) - 0usize] ; ["Offset of field: _xmlSchemaNotation::name"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , name) - 8usize] ; ["Offset of field: _xmlSchemaNotation::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , annot) - 16usize] ; ["Offset of field: _xmlSchemaNotation::identifier"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , identifier) - 24usize] ; ["Offset of field: _xmlSchemaNotation::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , targetNamespace) - 32usize] ; } ; # [doc = " A Schemas definition"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchema { pub name : * const xmlChar , pub targetNamespace : * const xmlChar , pub version : * const xmlChar , pub id : * const xmlChar , pub doc : * mut xmlDoc , pub annot : * mut xmlSchemaAnnot , pub flags : :: std :: os :: raw :: c_int , pub typeDecl : * mut xmlHashTable , pub attrDecl : * mut xmlHashTable , pub attrgrpDecl : * mut xmlHashTable , pub elemDecl : * mut xmlHashTable , pub notaDecl : * mut xmlHashTable , pub schemasImports : * mut xmlHashTable , pub _private : * mut :: std :: os :: raw :: c_void , pub groupDecl : * mut xmlHashTable , pub dict : * mut xmlDict , pub includes : * mut :: std :: os :: raw :: c_void , pub preserve : :: std :: os :: raw :: c_int , pub counter : :: std :: os :: raw :: c_int , pub idcDef : * mut xmlHashTable , pub volatiles : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchema"] [:: std :: mem :: size_of :: < _xmlSchema > () - 160usize] ; ["Alignment of _xmlSchema"] [:: std :: mem :: align_of :: < _xmlSchema > () - 8usize] ; ["Offset of field: _xmlSchema::name"] [:: std :: mem :: offset_of ! (_xmlSchema , name) - 0usize] ; ["Offset of field: _xmlSchema::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchema , targetNamespace) - 8usize] ; ["Offset of field: _xmlSchema::version"] [:: std :: mem :: offset_of ! (_xmlSchema , version) - 16usize] ; ["Offset of field: _xmlSchema::id"] [:: std :: mem :: offset_of ! (_xmlSchema , id) - 24usize] ; ["Offset of field: _xmlSchema::doc"] [:: std :: mem :: offset_of ! (_xmlSchema , doc) - 32usize] ; ["Offset of field: _xmlSchema::annot"] [:: std :: mem :: offset_of ! (_xmlSchema , annot) - 40usize] ; ["Offset of field: _xmlSchema::flags"] [:: std :: mem :: offset_of ! (_xmlSchema , flags) - 48usize] ; ["Offset of field: _xmlSchema::typeDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , typeDecl) - 56usize] ; ["Offset of field: _xmlSchema::attrDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , attrDecl) - 64usize] ; ["Offset of field: _xmlSchema::attrgrpDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , attrgrpDecl) - 72usize] ; ["Offset of field: _xmlSchema::elemDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , elemDecl) - 80usize] ; ["Offset of field: _xmlSchema::notaDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , notaDecl) - 88usize] ; ["Offset of field: _xmlSchema::schemasImports"] [:: std :: mem :: offset_of ! (_xmlSchema , schemasImports) - 96usize] ; ["Offset of field: _xmlSchema::_private"] [:: std :: mem :: offset_of ! (_xmlSchema , _private) - 104usize] ; ["Offset of field: _xmlSchema::groupDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , groupDecl) - 112usize] ; ["Offset of field: _xmlSchema::dict"] [:: std :: mem :: offset_of ! (_xmlSchema , dict) - 120usize] ; ["Offset of field: _xmlSchema::includes"] [:: std :: mem :: offset_of ! (_xmlSchema , includes) - 128usize] ; ["Offset of field: _xmlSchema::preserve"] [:: std :: mem :: offset_of ! (_xmlSchema , preserve) - 136usize] ; ["Offset of field: _xmlSchema::counter"] [:: std :: mem :: offset_of ! (_xmlSchema , counter) - 140usize] ; ["Offset of field: _xmlSchema::idcDef"] [:: std :: mem :: offset_of ! (_xmlSchema , idcDef) - 144usize] ; ["Offset of field: _xmlSchema::volatiles"] [:: std :: mem :: offset_of ! (_xmlSchema , volatiles) - 152usize] ; } ; unsafe extern "C" { pub fn xmlSchemaFreeType (type_ : * mut xmlSchemaType) ; } unsafe extern "C" { pub fn xmlSchemaFreeWildcard (wildcard : * mut xmlSchemaWildcard) ; } pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_UNKNOWN : xmlSchemaWhitespaceValueType = 0 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_PRESERVE : xmlSchemaWhitespaceValueType = 1 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_REPLACE : xmlSchemaWhitespaceValueType = 2 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_COLLAPSE : xmlSchemaWhitespaceValueType = 3 ; # [doc = " Schema whitespace value type"] pub type xmlSchemaWhitespaceValueType = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlSchemaInitTypes () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCleanupTypes () ; } unsafe extern "C" { pub fn xmlSchemaGetPredefinedType (name : * const xmlChar , ns : * const xmlChar) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaValidatePredefinedType (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValPredefTypeNode (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal , node : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFacet (base : * mut xmlSchemaType , facet : * mut xmlSchemaFacet , value : * const xmlChar , val : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFacetWhtsp (facet : * mut xmlSchemaFacet , fws : xmlSchemaWhitespaceValueType , valType : xmlSchemaValType , value : * const xmlChar , val : * mut xmlSchemaVal , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaFreeValue (val : * mut xmlSchemaVal) ; } unsafe extern "C" { pub fn xmlSchemaNewFacet () -> * mut xmlSchemaFacet ; } unsafe extern "C" { pub fn xmlSchemaCheckFacet (facet : * mut xmlSchemaFacet , typeDecl : * mut xmlSchemaType , ctxt : * mut xmlSchemaParserCtxt , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaFreeFacet (facet : * mut xmlSchemaFacet) ; } unsafe extern "C" { pub fn xmlSchemaCompareValues (x : * mut xmlSchemaVal , y : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetBuiltInListSimpleTypeItemType (type_ : * mut xmlSchemaType) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaValidateListSimpleTypeFacet (facet : * mut xmlSchemaFacet , value : * const xmlChar , actualLen : :: std :: os :: raw :: c_ulong , expectedLen : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetBuiltInType (type_ : xmlSchemaValType) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaIsBuiltInTypeFacet (type_ : * mut xmlSchemaType , facetType : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCollapseString (value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSchemaWhiteSpaceReplace (value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSchemaGetFacetValueAsULong (facet : * mut xmlSchemaFacet) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlSchemaValidateLengthFacet (type_ : * mut xmlSchemaType , facet : * mut xmlSchemaFacet , value : * const xmlChar , val : * mut xmlSchemaVal , length : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateLengthFacetWhtsp (facet : * mut xmlSchemaFacet , valType : xmlSchemaValType , value : * const xmlChar , val : * mut xmlSchemaVal , length : * mut :: std :: os :: raw :: c_ulong , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValPredefTypeNodeNoNorm (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal , node : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetCanonValue (val : * mut xmlSchemaVal , retValue : * mut * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetCanonValueWhtsp (val : * mut xmlSchemaVal , retValue : * mut * const xmlChar , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValueAppend (prev : * mut xmlSchemaVal , cur : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValueGetNext (cur : * mut xmlSchemaVal) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaValueGetAsString (val : * mut xmlSchemaVal) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSchemaValueGetAsBoolean (val : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaNewStringValue (type_ : xmlSchemaValType , value : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaNewNOTATIONValue (name : * const xmlChar , ns : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaNewQNameValue (namespaceName : * const xmlChar , localName : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaCompareValuesWhtsp (x : * mut xmlSchemaVal , xws : xmlSchemaWhitespaceValueType , y : * mut xmlSchemaVal , yws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCopyValue (val : * mut xmlSchemaVal) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaGetValType (val : * mut xmlSchemaVal) -> xmlSchemaValType ; } pub type __builtin_va_list = [__va_list_tag ; 1usize] ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __va_list_tag { pub gp_offset : :: std :: os :: raw :: c_uint , pub fp_offset : :: std :: os :: raw :: c_uint , pub overflow_arg_area : * mut :: std :: os :: raw :: c_void , pub reg_save_area : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __va_list_tag"] [:: std :: mem :: size_of :: < __va_list_tag > () - 24usize] ; ["Alignment of __va_list_tag"] [:: std :: mem :: align_of :: < __va_list_tag > () - 8usize] ; ["Offset of field: __va_list_tag::gp_offset"] [:: std :: mem :: offset_of ! (__va_list_tag , gp_offset) - 0usize] ; ["Offset of field: __va_list_tag::fp_offset"] [:: std :: mem :: offset_of ! (__va_list_tag , fp_offset) - 4usize] ; ["Offset of field: __va_list_tag::overflow_arg_area"] [:: std :: mem :: offset_of ! (__va_list_tag , overflow_arg_area) - 8usize] ; ["Offset of field: __va_list_tag::reg_save_area"] [:: std :: mem :: offset_of ! (__va_list_tag , reg_save_area) - 16usize] ; } ; # [doc = " dict used to allocate names if any"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDict { pub _address : u8 , }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]  --> /opt/rustwide/target/release/build/libxml2-rs-88f840c53f735f57/out/bindings.rs:3:29735
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...: os :: raw :: c_int) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 3usize] > > ::...
[INFO] [stdout]   |                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: replace this with
[INFO] [stdout]   |
[INFO] [stdout] 3 - # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] fn extract_bit (byte : u8 , index : usize) -> bool { let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; Self :: extract_bit (byte , index) } # [inline] pub unsafe fn raw_get_bit (this : * const Self , index : usize) -> bool { debug_assert ! (index / 8 < core :: mem :: size_of ::< Storage > ()) ; let byte_index = index / 8 ; let byte = unsafe { * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) } ; Self :: extract_bit (byte , index) } # [inline] fn change_bit (byte : u8 , index : usize , val : bool) -> u8 { let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { byte | mask } else { byte & ! mask } } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; * byte = Self :: change_bit (* byte , index , val) ; } # [inline] pub unsafe fn raw_set_bit (this : * mut Self , index : usize , val : bool) { debug_assert ! (index / 8 < core :: mem :: size_of ::< Storage > ()) ; let byte_index = index / 8 ; let byte = unsafe { (core :: ptr :: addr_of_mut ! ((* this) . storage) as * mut u8) . offset (byte_index as isize) } ; unsafe { * byte = Self :: change_bit (* byte , index , val) } ; } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub unsafe fn raw_get (this : * const Self , bit_offset : usize , bit_width : u8 ,) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < core :: mem :: size_of ::< Storage > ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= core :: mem :: size_of ::< Storage > ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if unsafe { Self :: raw_get_bit (this , i + bit_offset) } { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } # [inline] pub unsafe fn raw_set (this : * mut Self , bit_offset : usize , bit_width : u8 , val : u64 ,) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < core :: mem :: size_of ::< Storage > ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= core :: mem :: size_of ::< Storage > ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; unsafe { Self :: raw_set_bit (this , index + bit_offset , val_bit_is_set) } ; } } } # [derive (PartialEq , Copy , Clone , Hash , Debug , Default)] # [repr (C)] pub struct __BindgenComplex < T > { pub re : T , pub im : T } pub const LIBXML_DOTTED_VERSION : & [u8 ; 7] = b"2.15.2\0" ; pub const LIBXML_VERSION : u32 = 21502 ; pub const LIBXML_VERSION_STRING : & [u8 ; 6] = b"21502\0" ; pub const LIBXML_VERSION_EXTRA : & [u8 ; 1] = b"\0" ; pub const LIBXML_MODULE_EXTENSION : & [u8 ; 4] = b".so\0" ; pub const _STDIO_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2Y : u32 = 0 ; pub const __GLIBC_USE_ISOC23 : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 202405 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __USE_XOPEN2K24 : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_TIME_BITS64 : u32 = 1 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const __GLIBC_USE_C23_STRTOL : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 43 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C23 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C23 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _____fpos_t_defined : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _____fpos64_t_defined : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const __struct_FILE_defined : u32 = 1 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const __cookie_io_functions_t_defined : u32 = 1 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; pub const EOF : i32 = - 1 ; pub const SEEK_SET : u32 = 0 ; pub const SEEK_CUR : u32 = 1 ; pub const SEEK_END : u32 = 2 ; pub const P_tmpdir : & [u8 ; 5] = b"/tmp\0" ; pub const L_tmpnam : u32 = 20 ; pub const TMP_MAX : u32 = 238328 ; pub const _BITS_STDIO_LIM_H : u32 = 1 ; pub const FILENAME_MAX : u32 = 4096 ; pub const L_ctermid : u32 = 9 ; pub const FOPEN_MAX : u32 = 16 ; pub const __HAVE_FLOAT128 : u32 = 1 ; pub const __HAVE_DISTINCT_FLOAT128 : u32 = 1 ; pub const __HAVE_FLOAT64X : u32 = 1 ; pub const __HAVE_FLOAT64X_LONG_DOUBLE : u32 = 1 ; pub const __HAVE_FLOAT16 : u32 = 0 ; pub const __HAVE_FLOAT32 : u32 = 1 ; pub const __HAVE_FLOAT64 : u32 = 1 ; pub const __HAVE_FLOAT32X : u32 = 1 ; pub const __HAVE_FLOAT128X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT16 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT128X : u32 = 0 ; pub const __HAVE_FLOATN_NOT_TYPEDEF : u32 = 0 ; pub const _LIBC_LIMITS_H_ : u32 = 1 ; pub const MB_LEN_MAX : u32 = 16 ; pub const _BITS_POSIX1_LIM_H : u32 = 1 ; pub const _POSIX_AIO_LISTIO_MAX : u32 = 2 ; pub const _POSIX_AIO_MAX : u32 = 1 ; pub const _POSIX_ARG_MAX : u32 = 4096 ; pub const _POSIX_CHILD_MAX : u32 = 25 ; pub const _POSIX_DELAYTIMER_MAX : u32 = 32 ; pub const _POSIX_HOST_NAME_MAX : u32 = 255 ; pub const _POSIX_LINK_MAX : u32 = 8 ; pub const _POSIX_LOGIN_NAME_MAX : u32 = 9 ; pub const _POSIX_MAX_CANON : u32 = 255 ; pub const _POSIX_MAX_INPUT : u32 = 255 ; pub const _POSIX_MQ_OPEN_MAX : u32 = 8 ; pub const _POSIX_MQ_PRIO_MAX : u32 = 32 ; pub const _POSIX_NAME_MAX : u32 = 14 ; pub const _POSIX_NGROUPS_MAX : u32 = 8 ; pub const _POSIX_OPEN_MAX : u32 = 20 ; pub const _POSIX_PATH_MAX : u32 = 256 ; pub const _POSIX_PIPE_BUF : u32 = 512 ; pub const _POSIX_RE_DUP_MAX : u32 = 255 ; pub const _POSIX_RTSIG_MAX : u32 = 8 ; pub const _POSIX_SEM_NSEMS_MAX : u32 = 256 ; pub const _POSIX_SEM_VALUE_MAX : u32 = 32767 ; pub const _POSIX_SIGQUEUE_MAX : u32 = 32 ; pub const _POSIX_SSIZE_MAX : u32 = 32767 ; pub const _POSIX_STREAM_MAX : u32 = 8 ; pub const _POSIX_SYMLINK_MAX : u32 = 255 ; pub const _POSIX_SYMLOOP_MAX : u32 = 8 ; pub const _POSIX_TIMER_MAX : u32 = 32 ; pub const _POSIX_TTY_NAME_MAX : u32 = 9 ; pub const _POSIX_TZNAME_MAX : u32 = 6 ; pub const _POSIX_CLOCKRES_MIN : u32 = 20000000 ; pub const NR_OPEN : u32 = 1024 ; pub const NGROUPS_MAX : u32 = 65536 ; pub const ARG_MAX : u32 = 131072 ; pub const LINK_MAX : u32 = 127 ; pub const MAX_CANON : u32 = 255 ; pub const MAX_INPUT : u32 = 255 ; pub const NAME_MAX : u32 = 255 ; pub const PATH_MAX : u32 = 4096 ; pub const PIPE_BUF : u32 = 4096 ; pub const XATTR_NAME_MAX : u32 = 255 ; pub const XATTR_SIZE_MAX : u32 = 65536 ; pub const XATTR_LIST_MAX : u32 = 65536 ; pub const RTSIG_MAX : u32 = 32 ; pub const _POSIX_THREAD_KEYS_MAX : u32 = 128 ; pub const PTHREAD_KEYS_MAX : u32 = 1024 ; pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const PTHREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const _POSIX_THREAD_THREADS_MAX : u32 = 64 ; pub const AIO_PRIO_DELTA_MAX : u32 = 20 ; pub const PTHREAD_STACK_MIN : u32 = 16384 ; pub const DELAYTIMER_MAX : u32 = 2147483647 ; pub const TTY_NAME_MAX : u32 = 32 ; pub const LOGIN_NAME_MAX : u32 = 256 ; pub const HOST_NAME_MAX : u32 = 64 ; pub const MQ_PRIO_MAX : u32 = 32768 ; pub const SEM_VALUE_MAX : u32 = 2147483647 ; pub const _BITS_POSIX2_LIM_H : u32 = 1 ; pub const _POSIX2_BC_BASE_MAX : u32 = 99 ; pub const _POSIX2_BC_DIM_MAX : u32 = 2048 ; pub const _POSIX2_BC_SCALE_MAX : u32 = 99 ; pub const _POSIX2_BC_STRING_MAX : u32 = 1000 ; pub const _POSIX2_COLL_WEIGHTS_MAX : u32 = 2 ; pub const _POSIX2_EXPR_NEST_MAX : u32 = 32 ; pub const _POSIX2_LINE_MAX : u32 = 2048 ; pub const _POSIX2_RE_DUP_MAX : u32 = 255 ; pub const _POSIX2_CHARCLASS_NAME_MAX : u32 = 14 ; pub const BC_BASE_MAX : u32 = 99 ; pub const BC_DIM_MAX : u32 = 2048 ; pub const BC_SCALE_MAX : u32 = 99 ; pub const BC_STRING_MAX : u32 = 1000 ; pub const COLL_WEIGHTS_MAX : u32 = 255 ; pub const EXPR_NEST_MAX : u32 = 32 ; pub const LINE_MAX : u32 = 2048 ; pub const CHARCLASS_NAME_MAX : u32 = 2048 ; pub const RE_DUP_MAX : u32 = 32767 ; pub const xmlDefaultBufferSize : u32 = 4096 ; pub const XML_DOCB_DOCUMENT_NODE : u32 = 21 ; pub const XML_DEFAULT_VERSION : & [u8 ; 4] = b"1.0\0" ; pub const XML_DETECT_IDS : u32 = 2 ; pub const XML_COMPLETE_ATTRS : u32 = 4 ; pub const XML_SKIP_IDS : u32 = 8 ; pub const XML_SAX2_MAGIC : u32 = 3740122799 ; pub const XML_SCHEMAS_ANYATTR_SKIP : u32 = 1 ; pub const XML_SCHEMAS_ANYATTR_LAX : u32 = 2 ; pub const XML_SCHEMAS_ANYATTR_STRICT : u32 = 3 ; pub const XML_SCHEMAS_ANY_SKIP : u32 = 1 ; pub const XML_SCHEMAS_ANY_LAX : u32 = 2 ; pub const XML_SCHEMAS_ANY_STRICT : u32 = 3 ; pub const XML_SCHEMAS_ATTR_USE_PROHIBITED : u32 = 0 ; pub const XML_SCHEMAS_ATTR_USE_REQUIRED : u32 = 1 ; pub const XML_SCHEMAS_ATTR_USE_OPTIONAL : u32 = 2 ; pub const XML_SCHEMAS_ATTR_GLOBAL : u32 = 1 ; pub const XML_SCHEMAS_ATTR_NSDEFAULT : u32 = 128 ; pub const XML_SCHEMAS_ATTR_INTERNAL_RESOLVED : u32 = 256 ; pub const XML_SCHEMAS_ATTR_FIXED : u32 = 512 ; pub const XML_SCHEMAS_WILDCARD_COMPLETE : u32 = 1 ; pub const XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED : u32 = 1 ; pub const XML_SCHEMAS_ATTRGROUP_GLOBAL : u32 = 2 ; pub const XML_SCHEMAS_ATTRGROUP_MARKED : u32 = 4 ; pub const XML_SCHEMAS_ATTRGROUP_REDEFINED : u32 = 8 ; pub const XML_SCHEMAS_ATTRGROUP_HAS_REFS : u32 = 16 ; pub const XML_SCHEMAS_TYPE_MIXED : u32 = 1 ; pub const XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION : u32 = 2 ; pub const XML_SCHEMAS_TYPE_DERIVATION_METHOD_RESTRICTION : u32 = 4 ; pub const XML_SCHEMAS_TYPE_GLOBAL : u32 = 8 ; pub const XML_SCHEMAS_TYPE_OWNED_ATTR_WILDCARD : u32 = 16 ; pub const XML_SCHEMAS_TYPE_VARIETY_ABSENT : u32 = 32 ; pub const XML_SCHEMAS_TYPE_VARIETY_LIST : u32 = 64 ; pub const XML_SCHEMAS_TYPE_VARIETY_UNION : u32 = 128 ; pub const XML_SCHEMAS_TYPE_VARIETY_ATOMIC : u32 = 256 ; pub const XML_SCHEMAS_TYPE_FINAL_EXTENSION : u32 = 512 ; pub const XML_SCHEMAS_TYPE_FINAL_RESTRICTION : u32 = 1024 ; pub const XML_SCHEMAS_TYPE_FINAL_LIST : u32 = 2048 ; pub const XML_SCHEMAS_TYPE_FINAL_UNION : u32 = 4096 ; pub const XML_SCHEMAS_TYPE_FINAL_DEFAULT : u32 = 8192 ; pub const XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE : u32 = 16384 ; pub const XML_SCHEMAS_TYPE_MARKED : u32 = 65536 ; pub const XML_SCHEMAS_TYPE_BLOCK_DEFAULT : u32 = 131072 ; pub const XML_SCHEMAS_TYPE_BLOCK_EXTENSION : u32 = 262144 ; pub const XML_SCHEMAS_TYPE_BLOCK_RESTRICTION : u32 = 524288 ; pub const XML_SCHEMAS_TYPE_ABSTRACT : u32 = 1048576 ; pub const XML_SCHEMAS_TYPE_FACETSNEEDVALUE : u32 = 2097152 ; pub const XML_SCHEMAS_TYPE_INTERNAL_RESOLVED : u32 = 4194304 ; pub const XML_SCHEMAS_TYPE_INTERNAL_INVALID : u32 = 8388608 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_PRESERVE : u32 = 16777216 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_REPLACE : u32 = 33554432 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_COLLAPSE : u32 = 67108864 ; pub const XML_SCHEMAS_TYPE_HAS_FACETS : u32 = 134217728 ; pub const XML_SCHEMAS_TYPE_NORMVALUENEEDED : u32 = 268435456 ; pub const XML_SCHEMAS_TYPE_FIXUP_1 : u32 = 536870912 ; pub const XML_SCHEMAS_TYPE_REDEFINED : u32 = 1073741824 ; pub const XML_SCHEMAS_ELEM_NILLABLE : u32 = 1 ; pub const XML_SCHEMAS_ELEM_GLOBAL : u32 = 2 ; pub const XML_SCHEMAS_ELEM_DEFAULT : u32 = 4 ; pub const XML_SCHEMAS_ELEM_FIXED : u32 = 8 ; pub const XML_SCHEMAS_ELEM_ABSTRACT : u32 = 16 ; pub const XML_SCHEMAS_ELEM_TOPLEVEL : u32 = 32 ; pub const XML_SCHEMAS_ELEM_REF : u32 = 64 ; pub const XML_SCHEMAS_ELEM_NSDEFAULT : u32 = 128 ; pub const XML_SCHEMAS_ELEM_INTERNAL_RESOLVED : u32 = 256 ; pub const XML_SCHEMAS_ELEM_CIRCULAR : u32 = 512 ; pub const XML_SCHEMAS_ELEM_BLOCK_ABSENT : u32 = 1024 ; pub const XML_SCHEMAS_ELEM_BLOCK_EXTENSION : u32 = 2048 ; pub const XML_SCHEMAS_ELEM_BLOCK_RESTRICTION : u32 = 4096 ; pub const XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION : u32 = 8192 ; pub const XML_SCHEMAS_ELEM_FINAL_ABSENT : u32 = 16384 ; pub const XML_SCHEMAS_ELEM_FINAL_EXTENSION : u32 = 32768 ; pub const XML_SCHEMAS_ELEM_FINAL_RESTRICTION : u32 = 65536 ; pub const XML_SCHEMAS_ELEM_SUBST_GROUP_HEAD : u32 = 131072 ; pub const XML_SCHEMAS_ELEM_INTERNAL_CHECKED : u32 = 262144 ; pub const XML_SCHEMAS_FACET_UNKNOWN : u32 = 0 ; pub const XML_SCHEMAS_FACET_PRESERVE : u32 = 1 ; pub const XML_SCHEMAS_FACET_REPLACE : u32 = 2 ; pub const XML_SCHEMAS_FACET_COLLAPSE : u32 = 3 ; pub const XML_SCHEMAS_QUALIF_ELEM : u32 = 1 ; pub const XML_SCHEMAS_QUALIF_ATTR : u32 = 2 ; pub const XML_SCHEMAS_FINAL_DEFAULT_EXTENSION : u32 = 4 ; pub const XML_SCHEMAS_FINAL_DEFAULT_RESTRICTION : u32 = 8 ; pub const XML_SCHEMAS_FINAL_DEFAULT_LIST : u32 = 16 ; pub const XML_SCHEMAS_FINAL_DEFAULT_UNION : u32 = 32 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_EXTENSION : u32 = 64 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_RESTRICTION : u32 = 128 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_SUBSTITUTION : u32 = 256 ; pub const XML_SCHEMAS_INCLUDING_CONVERT_NS : u32 = 512 ; unsafe extern "C" { pub fn xmlCheckVersion (version : :: std :: os :: raw :: c_int) ; } pub type __gnuc_va_list = __builtin_va_list ; pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [:: std :: os :: raw :: c_int ; 2usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __fsid_t"] [:: std :: mem :: size_of :: < __fsid_t > () - 8usize] ; ["Alignment of __fsid_t"] [:: std :: mem :: align_of :: < __fsid_t > () - 4usize] ; ["Offset of field: __fsid_t::__val"] [:: std :: mem :: offset_of ! (__fsid_t , __val) - 0usize] ; } ; pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __suseconds64_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Copy , Clone)] pub struct __mbstate_t { pub __count : :: std :: os :: raw :: c_int , pub __value : __mbstate_t__bindgen_ty_1 , } # [repr (C)] # [derive (Copy , Clone)] pub union __mbstate_t__bindgen_ty_1 { pub __wch : :: std :: os :: raw :: c_uint , pub __wchb : [:: std :: os :: raw :: c_char ; 4usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __mbstate_t__bindgen_ty_1"] [:: std :: mem :: size_of :: < __mbstate_t__bindgen_ty_1 > () - 4usize] ; ["Alignment of __mbstate_t__bindgen_ty_1"] [:: std :: mem :: align_of :: < __mbstate_t__bindgen_ty_1 > () - 4usize] ; ["Offset of field: __mbstate_t__bindgen_ty_1::__wch"] [:: std :: mem :: offset_of ! (__mbstate_t__bindgen_ty_1 , __wch) - 0usize] ; ["Offset of field: __mbstate_t__bindgen_ty_1::__wchb"] [:: std :: mem :: offset_of ! (__mbstate_t__bindgen_ty_1 , __wchb) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __mbstate_t"] [:: std :: mem :: size_of :: < __mbstate_t > () - 8usize] ; ["Alignment of __mbstate_t"] [:: std :: mem :: align_of :: < __mbstate_t > () - 4usize] ; ["Offset of field: __mbstate_t::__count"] [:: std :: mem :: offset_of ! (__mbstate_t , __count) - 0usize] ; ["Offset of field: __mbstate_t::__value"] [:: std :: mem :: offset_of ! (__mbstate_t , __value) - 4usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos_t { pub __pos : __off_t , pub __state : __mbstate_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _G_fpos_t"] [:: std :: mem :: size_of :: < _G_fpos_t > () - 16usize] ; ["Alignment of _G_fpos_t"] [:: std :: mem :: align_of :: < _G_fpos_t > () - 8usize] ; ["Offset of field: _G_fpos_t::__pos"] [:: std :: mem :: offset_of ! (_G_fpos_t , __pos) - 0usize] ; ["Offset of field: _G_fpos_t::__state"] [:: std :: mem :: offset_of ! (_G_fpos_t , __state) - 8usize] ; } ; pub type __fpos_t = _G_fpos_t ; # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos64_t { pub __pos : __off64_t , pub __state : __mbstate_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _G_fpos64_t"] [:: std :: mem :: size_of :: < _G_fpos64_t > () - 16usize] ; ["Alignment of _G_fpos64_t"] [:: std :: mem :: align_of :: < _G_fpos64_t > () - 8usize] ; ["Offset of field: _G_fpos64_t::__pos"] [:: std :: mem :: offset_of ! (_G_fpos64_t , __pos) - 0usize] ; ["Offset of field: _G_fpos64_t::__state"] [:: std :: mem :: offset_of ! (_G_fpos64_t , __state) - 8usize] ; } ; pub type __fpos64_t = _G_fpos64_t ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: std :: os :: raw :: c_int , pub _IO_read_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_read_end : * mut :: std :: os :: raw :: c_char , pub _IO_read_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_write_end : * mut :: std :: os :: raw :: c_char , pub _IO_buf_base : * mut :: std :: os :: raw :: c_char , pub _IO_buf_end : * mut :: std :: os :: raw :: c_char , pub _IO_save_base : * mut :: std :: os :: raw :: c_char , pub _IO_backup_base : * mut :: std :: os :: raw :: c_char , pub _IO_save_end : * mut :: std :: os :: raw :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: std :: os :: raw :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: std :: os :: raw :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: std :: os :: raw :: c_ushort , pub _vtable_offset : :: std :: os :: raw :: c_schar , pub _shortbuf : [:: std :: os :: raw :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: std :: os :: raw :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: std :: os :: raw :: c_int , pub _unused3 : :: std :: os :: raw :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: std :: os :: raw :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: std :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: std :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: std :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: std :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: std :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: std :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: std :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: std :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: std :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: std :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: std :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: std :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: std :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: std :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: std :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: std :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: std :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: std :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: std :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: std :: os :: raw :: c_int { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: std :: os :: raw :: c_int) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub unsafe fn _flags2_raw (this : * const Self) -> :: std :: os :: raw :: c_int { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 3usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 0usize , 24u8 ,) as u32) } } # [inline] pub unsafe fn set__flags2_raw (this : * mut Self , val : :: std :: os :: raw :: c_int) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 3usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 0usize , 24u8 , val as u64 ,) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: std :: os :: raw :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { :: std :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } pub type cookie_read_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_write_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_seek_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; pub type cookie_close_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_cookie_io_functions_t { pub read : cookie_read_function_t , pub write : cookie_write_function_t , pub seek : cookie_seek_function_t , pub close : cookie_close_function_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_cookie_io_functions_t"] [:: std :: mem :: size_of :: < _IO_cookie_io_functions_t > () - 32usize] ; ["Alignment of _IO_cookie_io_functions_t"] [:: std :: mem :: align_of :: < _IO_cookie_io_functions_t > () - 8usize] ; ["Offset of field: _IO_cookie_io_functions_t::read"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , read) - 0usize] ; ["Offset of field: _IO_cookie_io_functions_t::write"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , write) - 8usize] ; ["Offset of field: _IO_cookie_io_functions_t::seek"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , seek) - 16usize] ; ["Offset of field: _IO_cookie_io_functions_t::close"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , close) - 24usize] ; } ; pub type cookie_io_functions_t = _IO_cookie_io_functions_t ; pub type va_list = __gnuc_va_list ; pub type off_t = __off_t ; pub type fpos_t = __fpos_t ; unsafe extern "C" { pub static mut stdin : * mut FILE ; } unsafe extern "C" { pub static mut stdout : * mut FILE ; } unsafe extern "C" { pub static mut stderr : * mut FILE ; } unsafe extern "C" { pub fn remove (__filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn rename (__old : * const :: std :: os :: raw :: c_char , __new : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn renameat (__oldfd : :: std :: os :: raw :: c_int , __old : * const :: std :: os :: raw :: c_char , __newfd : :: std :: os :: raw :: c_int , __new : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fclose (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn tmpfile () -> * mut FILE ; } unsafe extern "C" { pub fn tmpnam (arg1 : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn tmpnam_r (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn tempnam (__dir : * const :: std :: os :: raw :: c_char , __pfx : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn fflush (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fflush_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn freopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> * mut FILE ; } unsafe extern "C" { pub fn fdopen (__fd : :: std :: os :: raw :: c_int , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn fopencookie (__magic_cookie : * mut :: std :: os :: raw :: c_void , __modes : * const :: std :: os :: raw :: c_char , __io_funcs : cookie_io_functions_t) -> * mut FILE ; } unsafe extern "C" { pub fn fmemopen (__s : * mut :: std :: os :: raw :: c_void , __len : usize , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn open_memstream (__bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize) -> * mut FILE ; } unsafe extern "C" { pub fn setbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn setvbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn setbuffer (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize) ; } unsafe extern "C" { pub fn setlinebuf (__stream : * mut FILE) ; } unsafe extern "C" { pub fn fprintf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn printf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn sprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vfprintf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vprintf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn snprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsnprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vasprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __f : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vdprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn dprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fscanf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn scanf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn sscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } pub type __cfloat128 = __BindgenComplex < u128 > ; pub type _Float128 = u128 ; pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = u128 ; unsafe extern "C" { # [link_name = "\u{1}__isoc99_fscanf"] pub fn fscanf1 (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_scanf"] pub fn scanf1 (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_sscanf"] pub fn sscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vfscanf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vscanf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vfscanf"] pub fn vfscanf1 (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vscanf"] pub fn vscanf1 (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vsscanf"] pub fn vsscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgetc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getchar () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getchar_unlocked () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgetc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fputc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putchar (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fputc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putchar_unlocked (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getw (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putw (__w : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgets (__s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn __getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn getline (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn fputs (__s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn puts (__s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ungetc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fread (__ptr : * mut :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __stream : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn fwrite (__ptr : * const :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __s : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn fread_unlocked (__ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } unsafe extern "C" { pub fn fwrite_unlocked (__ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } unsafe extern "C" { pub fn fseek (__stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ftell (__stream : * mut FILE) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn rewind (__stream : * mut FILE) ; } unsafe extern "C" { pub fn fseeko (__stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ftello (__stream : * mut FILE) -> __off_t ; } unsafe extern "C" { pub fn fgetpos (__stream : * mut FILE , __pos : * mut fpos_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fsetpos (__stream : * mut FILE , __pos : * const fpos_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn clearerr (__stream : * mut FILE) ; } unsafe extern "C" { pub fn feof (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ferror (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn clearerr_unlocked (__stream : * mut FILE) ; } unsafe extern "C" { pub fn feof_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ferror_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn perror (__s : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn fileno (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fileno_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn pclose (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn popen (__command : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn ctermid (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn flockfile (__stream : * mut FILE) ; } unsafe extern "C" { pub fn ftrylockfile (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn funlockfile (__stream : * mut FILE) ; } unsafe extern "C" { pub fn __uflow (arg1 : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __overflow (arg1 : * mut FILE , arg2 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " This is a basic byte in an UTF-8 encoded string.\n It's unsigned allowing to pinpoint case where char * are assigned\n to xmlChar * (possibly making serialization back impossible)."] pub type xmlChar = :: std :: os :: raw :: c_uchar ; unsafe extern "C" { pub fn xmlStrdup (cur : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrndup (cur : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCharStrndup (cur : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCharStrdup (cur : * const :: std :: os :: raw :: c_char) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrsub (str_ : * const xmlChar , start : :: std :: os :: raw :: c_int , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrchr (str_ : * const xmlChar , val : xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrstr (str_ : * const xmlChar , val : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrcasestr (str_ : * const xmlChar , val : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrcmp (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrncmp (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrcasecmp (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrncasecmp (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrEqual (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrQEqual (pref : * const xmlChar , name : * const xmlChar , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrlen (str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrcat (cur : * mut xmlChar , add : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrncat (cur : * mut xmlChar , add : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrncatNew (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrPrintf (buf : * mut xmlChar , len : :: std :: os :: raw :: c_int , msg : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrVPrintf (buf : * mut xmlChar , len : :: std :: os :: raw :: c_int , msg : * const :: std :: os :: raw :: c_char , ap : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetUTF8Char (utf : * const :: std :: os :: raw :: c_uchar , len : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCheckUTF8 (utf : * const :: std :: os :: raw :: c_uchar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strsize (utf : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strndup (utf : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strpos (utf : * const xmlChar , pos : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strloc (utf : * const xmlChar , utfchar : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strsub (utf : * const xmlChar , start : :: std :: os :: raw :: c_int , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strlen (utf : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Size (utf : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Charcmp (utf1 : * const xmlChar , utf2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } # [doc = " Signature for a free() implementation.\n\n @param mem  an already allocated block of memory"] pub type xmlFreeFunc = :: std :: option :: Option < unsafe extern "C" fn (mem : * mut :: std :: os :: raw :: c_void) > ; # [doc = " Signature for a malloc() implementation.\n\n @param size  the size requested in bytes\n @returns a pointer to the newly allocated block or NULL in case of error."] pub type xmlMallocFunc = :: std :: option :: Option < unsafe extern "C" fn (size : usize) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Signature for a realloc() implementation.\n\n @param mem  an already allocated block of memory\n @param size  the new size requested in bytes\n @returns a pointer to the newly reallocated block or NULL in case of error."] pub type xmlReallocFunc = :: std :: option :: Option < unsafe extern "C" fn (mem : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Signature for an strdup() implementation.\n\n @param str  a zero terminated string\n @returns the copy of the string or NULL in case of error."] pub type xmlStrdupFunc = :: std :: option :: Option < unsafe extern "C" fn (str_ : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char > ; unsafe extern "C" { # [doc = " The variable holding the libxml malloc() implementation"] pub static mut xmlMalloc : xmlMallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml malloc() implementation for atomic\n data (i.e. blocks not containing pointers), useful when using a\n garbage collecting allocator.\n\n @deprecated Use #xmlMalloc"] pub static mut xmlMallocAtomic : xmlMallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml realloc() implementation"] pub static mut xmlRealloc : xmlReallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml free() implementation"] pub static mut xmlFree : xmlFreeFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml strdup() implementation"] pub static mut xmlMemStrdup : xmlStrdupFunc ; } unsafe extern "C" { pub fn xmlMemSetup (freeFunc : xmlFreeFunc , mallocFunc : xmlMallocFunc , reallocFunc : xmlReallocFunc , strdupFunc : xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemGet (freeFunc : * mut xmlFreeFunc , mallocFunc : * mut xmlMallocFunc , reallocFunc : * mut xmlReallocFunc , strdupFunc : * mut xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGcMemSetup (freeFunc : xmlFreeFunc , mallocFunc : xmlMallocFunc , mallocAtomicFunc : xmlMallocFunc , reallocFunc : xmlReallocFunc , strdupFunc : xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGcMemGet (freeFunc : * mut xmlFreeFunc , mallocFunc : * mut xmlMallocFunc , mallocAtomicFunc : * mut xmlMallocFunc , reallocFunc : * mut xmlReallocFunc , strdupFunc : * mut xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlInitMemory () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCleanupMemory () ; } unsafe extern "C" { pub fn xmlMemSize (ptr : * mut :: std :: os :: raw :: c_void) -> usize ; } unsafe extern "C" { pub fn xmlMemUsed () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemBlocks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemDisplay (fp : * mut FILE) ; } unsafe extern "C" { pub fn xmlMemDisplayLast (fp : * mut FILE , nbBytes : :: std :: os :: raw :: c_long) ; } unsafe extern "C" { pub fn xmlMemShow (fp : * mut FILE , nr : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlMemoryDump () ; } unsafe extern "C" { pub fn xmlMemMalloc (size : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemRealloc (ptr : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemFree (ptr : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlMemoryStrdup (str_ : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlMallocLoc (size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlReallocLoc (ptr : * mut :: std :: os :: raw :: c_void , size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMallocAtomicLoc (size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemStrdupLoc (str_ : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRegexp { _unused : [u8 ; 0] , } # [doc = " A libxml regular expression"] pub type xmlRegexp = _xmlRegexp ; pub type xmlRegexpPtr = * mut xmlRegexp ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRegExecCtxt { _unused : [u8 ; 0] , } # [doc = " A libxml progressive regular expression evaluation context"] pub type xmlRegExecCtxt = _xmlRegExecCtxt ; pub type xmlRegExecCtxtPtr = * mut xmlRegExecCtxt ; unsafe extern "C" { pub fn xmlRegexpCompile (regexp : * const xmlChar) -> * mut xmlRegexp ; } unsafe extern "C" { pub fn xmlRegFreeRegexp (regexp : * mut xmlRegexp) ; } unsafe extern "C" { pub fn xmlRegexpExec (comp : * mut xmlRegexp , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegexpPrint (output : * mut FILE , regexp : * mut xmlRegexp) ; } unsafe extern "C" { pub fn xmlRegexpIsDeterminist (comp : * mut xmlRegexp) -> :: std :: os :: raw :: c_int ; } # [doc = " Callback function when doing a transition in the automata\n\n @param exec  the regular expression context\n @param token  the current token string\n @param transdata  transition data\n @param inputdata  input data"] pub type xmlRegExecCallbacks = :: std :: option :: Option < unsafe extern "C" fn (exec : * mut xmlRegExecCtxt , token : * const xmlChar , transdata : * mut :: std :: os :: raw :: c_void , inputdata : * mut :: std :: os :: raw :: c_void) > ; unsafe extern "C" { pub fn xmlRegNewExecCtxt (comp : * mut xmlRegexp , callback : xmlRegExecCallbacks , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlRegExecCtxt ; } unsafe extern "C" { pub fn xmlRegFreeExecCtxt (exec : * mut xmlRegExecCtxt) ; } unsafe extern "C" { pub fn xmlRegExecPushString (exec : * mut xmlRegExecCtxt , value : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecPushString2 (exec : * mut xmlRegExecCtxt , value : * const xmlChar , value2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecNextValues (exec : * mut xmlRegExecCtxt , nbval : * mut :: std :: os :: raw :: c_int , nbneg : * mut :: std :: os :: raw :: c_int , values : * mut * mut xmlChar , terminal : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecErrInfo (exec : * mut xmlRegExecCtxt , string : * mut * const xmlChar , nbval : * mut :: std :: os :: raw :: c_int , nbneg : * mut :: std :: os :: raw :: c_int , values : * mut * mut xmlChar , terminal : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " Parser input buffer\n\n This struct and all related functions should ultimately\n be removed from the public interface."] pub type xmlParserInputBuffer = _xmlParserInputBuffer ; pub type xmlParserInputBufferPtr = * mut xmlParserInputBuffer ; # [doc = " Output buffer"] pub type xmlOutputBuffer = _xmlOutputBuffer ; pub type xmlOutputBufferPtr = * mut xmlOutputBuffer ; # [doc = " Parser input"] pub type xmlParserInput = _xmlParserInput ; pub type xmlParserInputPtr = * mut xmlParserInput ; # [doc = " Parser context"] pub type xmlParserCtxt = _xmlParserCtxt ; pub type xmlParserCtxtPtr = * mut xmlParserCtxt ; # [doc = " SAX locator"] pub type xmlSAXLocator = _xmlSAXLocator ; pub type xmlSAXLocatorPtr = * mut xmlSAXLocator ; # [doc = " SAX handler"] pub type xmlSAXHandler = _xmlSAXHandler ; pub type xmlSAXHandlerPtr = * mut xmlSAXHandler ; # [doc = " Entity declaration"] pub type xmlEntity = _xmlEntity ; pub type xmlEntityPtr = * mut xmlEntity ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_DOUBLEIT : xmlBufferAllocationScheme = 0 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_EXACT : xmlBufferAllocationScheme = 1 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_IMMUTABLE : xmlBufferAllocationScheme = 2 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_IO : xmlBufferAllocationScheme = 3 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_HYBRID : xmlBufferAllocationScheme = 4 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_BOUNDED : xmlBufferAllocationScheme = 5 ; # [doc = " Removed, buffers always use XML_BUFFER_ALLOC_IO now."] pub type xmlBufferAllocationScheme = :: std :: os :: raw :: c_uint ; # [doc = " Buffer type"] pub type xmlBuffer = _xmlBuffer ; pub type xmlBufferPtr = * mut xmlBuffer ; # [doc = " A buffer structure, this old construct is limited to 2GB and\n is being deprecated, use API with xmlBuf instead."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlBuffer { # [doc = " @deprecated Use #xmlBufferContent\n\n The buffer content UTF8"] pub content : * mut xmlChar , # [doc = " @deprecated Use #xmlBufferLength\n\n The buffer size used"] pub use_ : :: std :: os :: raw :: c_uint , pub size : :: std :: os :: raw :: c_uint , pub alloc : xmlBufferAllocationScheme , pub contentIO : * mut xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlBuffer"] [:: std :: mem :: size_of :: < _xmlBuffer > () - 32usize] ; ["Alignment of _xmlBuffer"] [:: std :: mem :: align_of :: < _xmlBuffer > () - 8usize] ; ["Offset of field: _xmlBuffer::content"] [:: std :: mem :: offset_of ! (_xmlBuffer , content) - 0usize] ; ["Offset of field: _xmlBuffer::use_"] [:: std :: mem :: offset_of ! (_xmlBuffer , use_) - 8usize] ; ["Offset of field: _xmlBuffer::size"] [:: std :: mem :: offset_of ! (_xmlBuffer , size) - 12usize] ; ["Offset of field: _xmlBuffer::alloc"] [:: std :: mem :: offset_of ! (_xmlBuffer , alloc) - 16usize] ; ["Offset of field: _xmlBuffer::contentIO"] [:: std :: mem :: offset_of ! (_xmlBuffer , contentIO) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlBuf { _unused : [u8 ; 0] , } # [doc = " Buffer with 64-bit support"] pub type xmlBuf = _xmlBuf ; pub type xmlBufPtr = * mut xmlBuf ; # [doc = " An element.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_ELEMENT_NODE : xmlElementType = 1 ; # [doc = " An attribute.\n\n Objects of this type are an xmlAttr."] pub const xmlElementType_XML_ATTRIBUTE_NODE : xmlElementType = 2 ; # [doc = " A text node.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_TEXT_NODE : xmlElementType = 3 ; # [doc = " A CDATA section.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_CDATA_SECTION_NODE : xmlElementType = 4 ; # [doc = " An entity reference.\n\n Objects of this type are an xmlNode. The `children` member\n points to the entity declaration if available."] pub const xmlElementType_XML_ENTITY_REF_NODE : xmlElementType = 5 ; # [doc = " unused"] pub const xmlElementType_XML_ENTITY_NODE : xmlElementType = 6 ; # [doc = " A processing instruction.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_PI_NODE : xmlElementType = 7 ; # [doc = " A comment.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_COMMENT_NODE : xmlElementType = 8 ; # [doc = " A document.\n\n Objects of this type are an xmlDoc."] pub const xmlElementType_XML_DOCUMENT_NODE : xmlElementType = 9 ; # [doc = " unused"] pub const xmlElementType_XML_DOCUMENT_TYPE_NODE : xmlElementType = 10 ; # [doc = " A document fragment.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_DOCUMENT_FRAG_NODE : xmlElementType = 11 ; # [doc = " A notation, unused"] pub const xmlElementType_XML_NOTATION_NODE : xmlElementType = 12 ; # [doc = " An HTML document.\n\n Objects of this type are an xmlDoc."] pub const xmlElementType_XML_HTML_DOCUMENT_NODE : xmlElementType = 13 ; # [doc = " A document type definition.\n\n Objects of this type are an xmlDtd."] pub const xmlElementType_XML_DTD_NODE : xmlElementType = 14 ; # [doc = " An element declaration.\n\n Objects of this type are an xmlElement."] pub const xmlElementType_XML_ELEMENT_DECL : xmlElementType = 15 ; # [doc = " An attribute declaration.\n\n Objects of this type are an xmlAttribute."] pub const xmlElementType_XML_ATTRIBUTE_DECL : xmlElementType = 16 ; # [doc = " An entity declaration.\n\n Objects of this type are an xmlEntity."] pub const xmlElementType_XML_ENTITY_DECL : xmlElementType = 17 ; # [doc = " An XPath namespace node.\n\n Can only be returned by the XPath engine. Objects of this\n type are an xmlNs which has a completely different layout\n than xmlNode. The `next` member contains a pointer to the\n xmlNode element to which the namespace applies.\n\n Nodes of this type must be handled with extreme care to\n avoid type confusion bugs."] pub const xmlElementType_XML_NAMESPACE_DECL : xmlElementType = 18 ; # [doc = " An XInclude start marker.\n\n Objects of this type are an xmlNode. Inserted as preceding\n sibling of XIncluded content."] pub const xmlElementType_XML_XINCLUDE_START : xmlElementType = 19 ; # [doc = " An XInclude end marker.\n\n Objects of this type are an xmlNode. Inserted as following\n sibling of XIncluded content."] pub const xmlElementType_XML_XINCLUDE_END : xmlElementType = 20 ; # [doc = " The different element types carried by an XML tree.\n\n NOTE: This is synchronized with DOM Level 1 values.\n       See http://www.w3.org/TR/REC-DOM-Level-1/\n\n Actually this had diverged a bit, and XML_DTD_NODE is used instead\n of XML_DOCUMENT_TYPE_NODE."] pub type xmlElementType = :: std :: os :: raw :: c_uint ; # [doc = " Notation declaration"] pub type xmlNotation = _xmlNotation ; pub type xmlNotationPtr = * mut xmlNotation ; # [doc = " A DTD Notation definition.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNotation { # [doc = " Notation name"] pub name : * const xmlChar , # [doc = " Public identifier, if any"] pub PublicID : * const xmlChar , # [doc = " System identifier, if any"] pub SystemID : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNotation"] [:: std :: mem :: size_of :: < _xmlNotation > () - 24usize] ; ["Alignment of _xmlNotation"] [:: std :: mem :: align_of :: < _xmlNotation > () - 8usize] ; ["Offset of field: _xmlNotation::name"] [:: std :: mem :: offset_of ! (_xmlNotation , name) - 0usize] ; ["Offset of field: _xmlNotation::PublicID"] [:: std :: mem :: offset_of ! (_xmlNotation , PublicID) - 8usize] ; ["Offset of field: _xmlNotation::SystemID"] [:: std :: mem :: offset_of ! (_xmlNotation , SystemID) - 16usize] ; } ; pub const xmlAttributeType_XML_ATTRIBUTE_CDATA : xmlAttributeType = 1 ; pub const xmlAttributeType_XML_ATTRIBUTE_ID : xmlAttributeType = 2 ; pub const xmlAttributeType_XML_ATTRIBUTE_IDREF : xmlAttributeType = 3 ; pub const xmlAttributeType_XML_ATTRIBUTE_IDREFS : xmlAttributeType = 4 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENTITY : xmlAttributeType = 5 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENTITIES : xmlAttributeType = 6 ; pub const xmlAttributeType_XML_ATTRIBUTE_NMTOKEN : xmlAttributeType = 7 ; pub const xmlAttributeType_XML_ATTRIBUTE_NMTOKENS : xmlAttributeType = 8 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENUMERATION : xmlAttributeType = 9 ; pub const xmlAttributeType_XML_ATTRIBUTE_NOTATION : xmlAttributeType = 10 ; # [doc = " A DTD Attribute type definition."] pub type xmlAttributeType = :: std :: os :: raw :: c_uint ; pub const xmlAttributeDefault_XML_ATTRIBUTE_NONE : xmlAttributeDefault = 1 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_REQUIRED : xmlAttributeDefault = 2 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_IMPLIED : xmlAttributeDefault = 3 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_FIXED : xmlAttributeDefault = 4 ; # [doc = " A DTD Attribute default definition."] pub type xmlAttributeDefault = :: std :: os :: raw :: c_uint ; # [doc = " Enumeration in a DTD"] pub type xmlEnumeration = _xmlEnumeration ; pub type xmlEnumerationPtr = * mut xmlEnumeration ; # [doc = " List structure used when there is an enumeration in DTDs.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlEnumeration { # [doc = " next enumeration"] pub next : * mut _xmlEnumeration , # [doc = " value"] pub name : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlEnumeration"] [:: std :: mem :: size_of :: < _xmlEnumeration > () - 16usize] ; ["Alignment of _xmlEnumeration"] [:: std :: mem :: align_of :: < _xmlEnumeration > () - 8usize] ; ["Offset of field: _xmlEnumeration::next"] [:: std :: mem :: offset_of ! (_xmlEnumeration , next) - 0usize] ; ["Offset of field: _xmlEnumeration::name"] [:: std :: mem :: offset_of ! (_xmlEnumeration , name) - 8usize] ; } ; # [doc = " Attribute declaration"] pub type xmlAttribute = _xmlAttribute ; pub type xmlAttributePtr = * mut xmlAttribute ; # [doc = " An Attribute declaration in a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttribute { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ATTRIBUTE_DECL"] pub type_ : xmlElementType , # [doc = " attribute name"] pub name : * const xmlChar , # [doc = " NULL"] pub children : * mut _xmlNode , # [doc = " NULL"] pub last : * mut _xmlNode , # [doc = " DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " next in hash table"] pub nexth : * mut _xmlAttribute , # [doc = " attribute type"] pub atype : xmlAttributeType , # [doc = " attribute default"] pub def : xmlAttributeDefault , # [doc = " default value"] pub defaultValue : * mut xmlChar , # [doc = " enumeration tree if any"] pub tree : * mut xmlEnumeration , # [doc = " namespace prefix if any"] pub prefix : * const xmlChar , # [doc = " element name"] pub elem : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlAttribute"] [:: std :: mem :: size_of :: < _xmlAttribute > () - 120usize] ; ["Alignment of _xmlAttribute"] [:: std :: mem :: align_of :: < _xmlAttribute > () - 8usize] ; ["Offset of field: _xmlAttribute::_private"] [:: std :: mem :: offset_of ! (_xmlAttribute , _private) - 0usize] ; ["Offset of field: _xmlAttribute::type_"] [:: std :: mem :: offset_of ! (_xmlAttribute , type_) - 8usize] ; ["Offset of field: _xmlAttribute::name"] [:: std :: mem :: offset_of ! (_xmlAttribute , name) - 16usize] ; ["Offset of field: _xmlAttribute::children"] [:: std :: mem :: offset_of ! (_xmlAttribute , children) - 24usize] ; ["Offset of field: _xmlAttribute::last"] [:: std :: mem :: offset_of ! (_xmlAttribute , last) - 32usize] ; ["Offset of field: _xmlAttribute::parent"] [:: std :: mem :: offset_of ! (_xmlAttribute , parent) - 40usize] ; ["Offset of field: _xmlAttribute::next"] [:: std :: mem :: offset_of ! (_xmlAttribute , next) - 48usize] ; ["Offset of field: _xmlAttribute::prev"] [:: std :: mem :: offset_of ! (_xmlAttribute , prev) - 56usize] ; ["Offset of field: _xmlAttribute::doc"] [:: std :: mem :: offset_of ! (_xmlAttribute , doc) - 64usize] ; ["Offset of field: _xmlAttribute::nexth"] [:: std :: mem :: offset_of ! (_xmlAttribute , nexth) - 72usize] ; ["Offset of field: _xmlAttribute::atype"] [:: std :: mem :: offset_of ! (_xmlAttribute , atype) - 80usize] ; ["Offset of field: _xmlAttribute::def"] [:: std :: mem :: offset_of ! (_xmlAttribute , def) - 84usize] ; ["Offset of field: _xmlAttribute::defaultValue"] [:: std :: mem :: offset_of ! (_xmlAttribute , defaultValue) - 88usize] ; ["Offset of field: _xmlAttribute::tree"] [:: std :: mem :: offset_of ! (_xmlAttribute , tree) - 96usize] ; ["Offset of field: _xmlAttribute::prefix"] [:: std :: mem :: offset_of ! (_xmlAttribute , prefix) - 104usize] ; ["Offset of field: _xmlAttribute::elem"] [:: std :: mem :: offset_of ! (_xmlAttribute , elem) - 112usize] ; } ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_PCDATA : xmlElementContentType = 1 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_ELEMENT : xmlElementContentType = 2 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_SEQ : xmlElementContentType = 3 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_OR : xmlElementContentType = 4 ; # [doc = " Possible definitions of element content types."] pub type xmlElementContentType = :: std :: os :: raw :: c_uint ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_ONCE : xmlElementContentOccur = 1 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_OPT : xmlElementContentOccur = 2 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_MULT : xmlElementContentOccur = 3 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_PLUS : xmlElementContentOccur = 4 ; # [doc = " Possible definitions of element content occurrences."] pub type xmlElementContentOccur = :: std :: os :: raw :: c_uint ; # [doc = " Element content in element declarations"] pub type xmlElementContent = _xmlElementContent ; pub type xmlElementContentPtr = * mut xmlElementContent ; # [doc = " An XML Element content as stored after parsing an element definition\n in a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlElementContent { # [doc = " PCDATA, ELEMENT, SEQ or OR"] pub type_ : xmlElementContentType , # [doc = " ONCE, OPT, MULT or PLUS"] pub ocur : xmlElementContentOccur , # [doc = " element name"] pub name : * const xmlChar , # [doc = " first child"] pub c1 : * mut _xmlElementContent , # [doc = " second child"] pub c2 : * mut _xmlElementContent , # [doc = " parent"] pub parent : * mut _xmlElementContent , # [doc = " namespace prefix"] pub prefix : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlElementContent"] [:: std :: mem :: size_of :: < _xmlElementContent > () - 48usize] ; ["Alignment of _xmlElementContent"] [:: std :: mem :: align_of :: < _xmlElementContent > () - 8usize] ; ["Offset of field: _xmlElementContent::type_"] [:: std :: mem :: offset_of ! (_xmlElementContent , type_) - 0usize] ; ["Offset of field: _xmlElementContent::ocur"] [:: std :: mem :: offset_of ! (_xmlElementContent , ocur) - 4usize] ; ["Offset of field: _xmlElementContent::name"] [:: std :: mem :: offset_of ! (_xmlElementContent , name) - 8usize] ; ["Offset of field: _xmlElementContent::c1"] [:: std :: mem :: offset_of ! (_xmlElementContent , c1) - 16usize] ; ["Offset of field: _xmlElementContent::c2"] [:: std :: mem :: offset_of ! (_xmlElementContent , c2) - 24usize] ; ["Offset of field: _xmlElementContent::parent"] [:: std :: mem :: offset_of ! (_xmlElementContent , parent) - 32usize] ; ["Offset of field: _xmlElementContent::prefix"] [:: std :: mem :: offset_of ! (_xmlElementContent , prefix) - 40usize] ; } ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_UNDEFINED : xmlElementTypeVal = 0 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_EMPTY : xmlElementTypeVal = 1 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_ANY : xmlElementTypeVal = 2 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_MIXED : xmlElementTypeVal = 3 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_ELEMENT : xmlElementTypeVal = 4 ; # [doc = " The different possibilities for an element content type."] pub type xmlElementTypeVal = :: std :: os :: raw :: c_uint ; # [doc = " Element declaration"] pub type xmlElement = _xmlElement ; pub type xmlElementPtr = * mut xmlElement ; # [doc = " An XML Element declaration from a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlElement { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ELEMENT_DECL"] pub type_ : xmlElementType , # [doc = " element name"] pub name : * const xmlChar , # [doc = " NULL"] pub children : * mut _xmlNode , # [doc = " NULL"] pub last : * mut _xmlNode , # [doc = " -> DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " element type"] pub etype : xmlElementTypeVal , # [doc = " allowed element content"] pub content : * mut xmlElementContent , # [doc = " list of declared attributes"] pub attributes : * mut xmlAttribute , # [doc = " namespace prefix if any"] pub prefix : * const xmlChar , # [doc = " validating regexp"] pub contModel : * mut xmlRegexp , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlElement"] [:: std :: mem :: size_of :: < _xmlElement > () - 112usize] ; ["Alignment of _xmlElement"] [:: std :: mem :: align_of :: < _xmlElement > () - 8usize] ; ["Offset of field: _xmlElement::_private"] [:: std :: mem :: offset_of ! (_xmlElement , _private) - 0usize] ; ["Offset of field: _xmlElement::type_"] [:: std :: mem :: offset_of ! (_xmlElement , type_) - 8usize] ; ["Offset of field: _xmlElement::name"] [:: std :: mem :: offset_of ! (_xmlElement , name) - 16usize] ; ["Offset of field: _xmlElement::children"] [:: std :: mem :: offset_of ! (_xmlElement , children) - 24usize] ; ["Offset of field: _xmlElement::last"] [:: std :: mem :: offset_of ! (_xmlElement , last) - 32usize] ; ["Offset of field: _xmlElement::parent"] [:: std :: mem :: offset_of ! (_xmlElement , parent) - 40usize] ; ["Offset of field: _xmlElement::next"] [:: std :: mem :: offset_of ! (_xmlElement , next) - 48usize] ; ["Offset of field: _xmlElement::prev"] [:: std :: mem :: offset_of ! (_xmlElement , prev) - 56usize] ; ["Offset of field: _xmlElement::doc"] [:: std :: mem :: offset_of ! (_xmlElement , doc) - 64usize] ; ["Offset of field: _xmlElement::etype"] [:: std :: mem :: offset_of ! (_xmlElement , etype) - 72usize] ; ["Offset of field: _xmlElement::content"] [:: std :: mem :: offset_of ! (_xmlElement , content) - 80usize] ; ["Offset of field: _xmlElement::attributes"] [:: std :: mem :: offset_of ! (_xmlElement , attributes) - 88usize] ; ["Offset of field: _xmlElement::prefix"] [:: std :: mem :: offset_of ! (_xmlElement , prefix) - 96usize] ; ["Offset of field: _xmlElement::contModel"] [:: std :: mem :: offset_of ! (_xmlElement , contModel) - 104usize] ; } ; # [doc = " The different element types carried by an XML tree.\n\n NOTE: This is synchronized with DOM Level 1 values.\n       See http://www.w3.org/TR/REC-DOM-Level-1/\n\n Actually this had diverged a bit, and XML_DTD_NODE is used instead\n of XML_DOCUMENT_TYPE_NODE."] pub use self :: xmlElementType as xmlNsType ; # [doc = " Namespace declaration"] pub type xmlNs = _xmlNs ; pub type xmlNsPtr = * mut xmlNs ; # [doc = " An XML namespace.\n Note that prefix == NULL is valid, it defines the default namespace\n within the subtree (until overridden).\n\n xmlNsType is unified with xmlElementType.\n\n Note that the XPath engine returns XPath namespace nodes as\n xmlNs cast to xmlNode. This is a terrible design decision that\n can easily cause type confusion errors. In this case, the `next`\n member points to the xmlNode element to which the namespace\n node belongs."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNs { # [doc = " next namespace"] pub next : * mut _xmlNs , # [doc = " XML_NAMESPACE_DECL"] pub type_ : xmlNsType , # [doc = " namespace URI"] pub href : * const xmlChar , # [doc = " namespace prefix"] pub prefix : * const xmlChar , # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " normally an xmlDoc"] pub context : * mut _xmlDoc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNs"] [:: std :: mem :: size_of :: < _xmlNs > () - 48usize] ; ["Alignment of _xmlNs"] [:: std :: mem :: align_of :: < _xmlNs > () - 8usize] ; ["Offset of field: _xmlNs::next"] [:: std :: mem :: offset_of ! (_xmlNs , next) - 0usize] ; ["Offset of field: _xmlNs::type_"] [:: std :: mem :: offset_of ! (_xmlNs , type_) - 8usize] ; ["Offset of field: _xmlNs::href"] [:: std :: mem :: offset_of ! (_xmlNs , href) - 16usize] ; ["Offset of field: _xmlNs::prefix"] [:: std :: mem :: offset_of ! (_xmlNs , prefix) - 24usize] ; ["Offset of field: _xmlNs::_private"] [:: std :: mem :: offset_of ! (_xmlNs , _private) - 32usize] ; ["Offset of field: _xmlNs::context"] [:: std :: mem :: offset_of ! (_xmlNs , context) - 40usize] ; } ; # [doc = " Document type definition (DTD)"] pub type xmlDtd = _xmlDtd ; pub type xmlDtdPtr = * mut xmlDtd ; # [doc = " An XML DTD, as defined by <!DOCTYPE ... There is actually one for\n the internal subset and for the external subset.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDtd { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_DTD_NODE"] pub type_ : xmlElementType , # [doc = " name of the DTD"] pub name : * const xmlChar , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlDoc , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " hash table for notations if any"] pub notations : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for elements if any"] pub elements : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for attributes if any"] pub attributes : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for entities if any"] pub entities : * mut :: std :: os :: raw :: c_void , # [doc = " public identifier"] pub ExternalID : * mut xmlChar , # [doc = " system identifier"] pub SystemID : * mut xmlChar , # [doc = " hash table for parameter entities if any"] pub pentities : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDtd"] [:: std :: mem :: size_of :: < _xmlDtd > () - 128usize] ; ["Alignment of _xmlDtd"] [:: std :: mem :: align_of :: < _xmlDtd > () - 8usize] ; ["Offset of field: _xmlDtd::_private"] [:: std :: mem :: offset_of ! (_xmlDtd , _private) - 0usize] ; ["Offset of field: _xmlDtd::type_"] [:: std :: mem :: offset_of ! (_xmlDtd , type_) - 8usize] ; ["Offset of field: _xmlDtd::name"] [:: std :: mem :: offset_of ! (_xmlDtd , name) - 16usize] ; ["Offset of field: _xmlDtd::children"] [:: std :: mem :: offset_of ! (_xmlDtd , children) - 24usize] ; ["Offset of field: _xmlDtd::last"] [:: std :: mem :: offset_of ! (_xmlDtd , last) - 32usize] ; ["Offset of field: _xmlDtd::parent"] [:: std :: mem :: offset_of ! (_xmlDtd , parent) - 40usize] ; ["Offset of field: _xmlDtd::next"] [:: std :: mem :: offset_of ! (_xmlDtd , next) - 48usize] ; ["Offset of field: _xmlDtd::prev"] [:: std :: mem :: offset_of ! (_xmlDtd , prev) - 56usize] ; ["Offset of field: _xmlDtd::doc"] [:: std :: mem :: offset_of ! (_xmlDtd , doc) - 64usize] ; ["Offset of field: _xmlDtd::notations"] [:: std :: mem :: offset_of ! (_xmlDtd , notations) - 72usize] ; ["Offset of field: _xmlDtd::elements"] [:: std :: mem :: offset_of ! (_xmlDtd , elements) - 80usize] ; ["Offset of field: _xmlDtd::attributes"] [:: std :: mem :: offset_of ! (_xmlDtd , attributes) - 88usize] ; ["Offset of field: _xmlDtd::entities"] [:: std :: mem :: offset_of ! (_xmlDtd , entities) - 96usize] ; ["Offset of field: _xmlDtd::ExternalID"] [:: std :: mem :: offset_of ! (_xmlDtd , ExternalID) - 104usize] ; ["Offset of field: _xmlDtd::SystemID"] [:: std :: mem :: offset_of ! (_xmlDtd , SystemID) - 112usize] ; ["Offset of field: _xmlDtd::pentities"] [:: std :: mem :: offset_of ! (_xmlDtd , pentities) - 120usize] ; } ; # [doc = " Attribute of an element"] pub type xmlAttr = _xmlAttr ; pub type xmlAttrPtr = * mut xmlAttr ; # [doc = " An attribute of element."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttr { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ATTRIBUTE_NODE"] pub type_ : xmlElementType , # [doc = " local name"] pub name : * const xmlChar , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlNode , # [doc = " next sibling"] pub next : * mut _xmlAttr , # [doc = " previous sibling"] pub prev : * mut _xmlAttr , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " namespace if any"] pub ns : * mut xmlNs , # [doc = " attribute type if validating"] pub atype : xmlAttributeType , # [doc = " for type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " ID struct if any"] pub id : * mut _xmlID , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlAttr"] [:: std :: mem :: size_of :: < _xmlAttr > () - 104usize] ; ["Alignment of _xmlAttr"] [:: std :: mem :: align_of :: < _xmlAttr > () - 8usize] ; ["Offset of field: _xmlAttr::_private"] [:: std :: mem :: offset_of ! (_xmlAttr , _private) - 0usize] ; ["Offset of field: _xmlAttr::type_"] [:: std :: mem :: offset_of ! (_xmlAttr , type_) - 8usize] ; ["Offset of field: _xmlAttr::name"] [:: std :: mem :: offset_of ! (_xmlAttr , name) - 16usize] ; ["Offset of field: _xmlAttr::children"] [:: std :: mem :: offset_of ! (_xmlAttr , children) - 24usize] ; ["Offset of field: _xmlAttr::last"] [:: std :: mem :: offset_of ! (_xmlAttr , last) - 32usize] ; ["Offset of field: _xmlAttr::parent"] [:: std :: mem :: offset_of ! (_xmlAttr , parent) - 40usize] ; ["Offset of field: _xmlAttr::next"] [:: std :: mem :: offset_of ! (_xmlAttr , next) - 48usize] ; ["Offset of field: _xmlAttr::prev"] [:: std :: mem :: offset_of ! (_xmlAttr , prev) - 56usize] ; ["Offset of field: _xmlAttr::doc"] [:: std :: mem :: offset_of ! (_xmlAttr , doc) - 64usize] ; ["Offset of field: _xmlAttr::ns"] [:: std :: mem :: offset_of ! (_xmlAttr , ns) - 72usize] ; ["Offset of field: _xmlAttr::atype"] [:: std :: mem :: offset_of ! (_xmlAttr , atype) - 80usize] ; ["Offset of field: _xmlAttr::psvi"] [:: std :: mem :: offset_of ! (_xmlAttr , psvi) - 88usize] ; ["Offset of field: _xmlAttr::id"] [:: std :: mem :: offset_of ! (_xmlAttr , id) - 96usize] ; } ; # [doc = " Extra data for ID attributes"] pub type xmlID = _xmlID ; pub type xmlIDPtr = * mut xmlID ; # [doc = " An XML ID instance.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlID { pub next : * mut _xmlID , pub value : * mut xmlChar , pub attr : * mut xmlAttr , pub name : * const xmlChar , pub lineno : :: std :: os :: raw :: c_int , pub doc : * mut _xmlDoc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlID"] [:: std :: mem :: size_of :: < _xmlID > () - 48usize] ; ["Alignment of _xmlID"] [:: std :: mem :: align_of :: < _xmlID > () - 8usize] ; ["Offset of field: _xmlID::next"] [:: std :: mem :: offset_of ! (_xmlID , next) - 0usize] ; ["Offset of field: _xmlID::value"] [:: std :: mem :: offset_of ! (_xmlID , value) - 8usize] ; ["Offset of field: _xmlID::attr"] [:: std :: mem :: offset_of ! (_xmlID , attr) - 16usize] ; ["Offset of field: _xmlID::name"] [:: std :: mem :: offset_of ! (_xmlID , name) - 24usize] ; ["Offset of field: _xmlID::lineno"] [:: std :: mem :: offset_of ! (_xmlID , lineno) - 32usize] ; ["Offset of field: _xmlID::doc"] [:: std :: mem :: offset_of ! (_xmlID , doc) - 40usize] ; } ; # [doc = " @cond ignore"] pub type xmlRef = _xmlRef ; pub type xmlRefPtr = * mut xmlRef ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRef { pub next : * mut _xmlRef , pub value : * const xmlChar , pub attr : * mut xmlAttr , pub name : * const xmlChar , pub lineno : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlRef"] [:: std :: mem :: size_of :: < _xmlRef > () - 40usize] ; ["Alignment of _xmlRef"] [:: std :: mem :: align_of :: < _xmlRef > () - 8usize] ; ["Offset of field: _xmlRef::next"] [:: std :: mem :: offset_of ! (_xmlRef , next) - 0usize] ; ["Offset of field: _xmlRef::value"] [:: std :: mem :: offset_of ! (_xmlRef , value) - 8usize] ; ["Offset of field: _xmlRef::attr"] [:: std :: mem :: offset_of ! (_xmlRef , attr) - 16usize] ; ["Offset of field: _xmlRef::name"] [:: std :: mem :: offset_of ! (_xmlRef , name) - 24usize] ; ["Offset of field: _xmlRef::lineno"] [:: std :: mem :: offset_of ! (_xmlRef , lineno) - 32usize] ; } ; # [doc = " Generic node type in an XML or HTML tree"] pub type xmlNode = _xmlNode ; pub type xmlNodePtr = * mut xmlNode ; # [doc = " Generic node type in an XML or HTML tree.\n\n This is used for\n\n - XML_ELEMENT_NODE\n - XML_TEXT_NODE\n - XML_CDATA_SECTION_NODE\n - XML_ENTITY_REF_NODE\n - XML_PI_NODE\n - XML_COMMENT_NODE\n - XML_DOCUMENT_FRAG_NODE\n - XML_XINCLUDE_START_NODE\n - XML_XINCLUDE_END_NODE\n\n Other node types have a different struct layout than xmlNode,\n see xmlElementType. Except for XML_NAMESPACE_DECL all nodes\n share the following members at the same offset:\n\n - `_private`\n - `type` (also for XML_NAMESPACE_DECL)\n - `name`\n - `children`\n - `last`\n - `parent`\n - `next`\n - `prev`\n - `doc`\n\n xmlNode and xmlAttr also share the `ns` member."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNode { # [doc = " Application data. Often used by language bindings."] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " Type enum, an xmlElementType value"] pub type_ : xmlElementType , # [doc = " Name of the node.\n\n - Local name of elements or attributes. As a corner case,\n   this can also contain Names which are invalid QNames in\n   non-namespace-wellformed documents.\n - Name of entity references\n - Target of processing instructions\n - Fixed string for text and comments\n - Unused otherwise"] pub name : * const xmlChar , # [doc = " First child. Entity declaration of entity references."] pub children : * mut _xmlNode , # [doc = " Last child"] pub last : * mut _xmlNode , # [doc = " Parent node. NULL for documents or unlinked root nodes."] pub parent : * mut _xmlNode , # [doc = " Next sibling"] pub next : * mut _xmlNode , # [doc = " Previous sibling"] pub prev : * mut _xmlNode , # [doc = " Associated document.\n\n Used to access DTDs, entities, ID tables, dictionary or\n other document properties. All children of a node share the\n same document."] pub doc : * mut _xmlDoc , # [doc = " Namespace of element if any"] pub ns : * mut xmlNs , # [doc = " Content of text, comment, PI nodes.\n\n Sort index for elements after calling #xmlXPathOrderDocElems.\n Content of internal entities for entity references."] pub content : * mut xmlChar , # [doc = " First attribute of element.\n\n Also used to store small strings with XML_PARSE_COMPACT."] pub properties : * mut _xmlAttr , # [doc = " First namespace definition of element"] pub nsDef : * mut xmlNs , # [doc = " For type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " Line number"] pub line : :: std :: os :: raw :: c_ushort , # [doc = " Extra data for XPath/XSLT"] pub extra : :: std :: os :: raw :: c_ushort , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNode"] [:: std :: mem :: size_of :: < _xmlNode > () - 120usize] ; ["Alignment of _xmlNode"] [:: std :: mem :: align_of :: < _xmlNode > () - 8usize] ; ["Offset of field: _xmlNode::_private"] [:: std :: mem :: offset_of ! (_xmlNode , _private) - 0usize] ; ["Offset of field: _xmlNode::type_"] [:: std :: mem :: offset_of ! (_xmlNode , type_) - 8usize] ; ["Offset of field: _xmlNode::name"] [:: std :: mem :: offset_of ! (_xmlNode , name) - 16usize] ; ["Offset of field: _xmlNode::children"] [:: std :: mem :: offset_of ! (_xmlNode , children) - 24usize] ; ["Offset of field: _xmlNode::last"] [:: std :: mem :: offset_of ! (_xmlNode , last) - 32usize] ; ["Offset of field: _xmlNode::parent"] [:: std :: mem :: offset_of ! (_xmlNode , parent) - 40usize] ; ["Offset of field: _xmlNode::next"] [:: std :: mem :: offset_of ! (_xmlNode , next) - 48usize] ; ["Offset of field: _xmlNode::prev"] [:: std :: mem :: offset_of ! (_xmlNode , prev) - 56usize] ; ["Offset of field: _xmlNode::doc"] [:: std :: mem :: offset_of ! (_xmlNode , doc) - 64usize] ; ["Offset of field: _xmlNode::ns"] [:: std :: mem :: offset_of ! (_xmlNode , ns) - 72usize] ; ["Offset of field: _xmlNode::content"] [:: std :: mem :: offset_of ! (_xmlNode , content) - 80usize] ; ["Offset of field: _xmlNode::properties"] [:: std :: mem :: offset_of ! (_xmlNode , properties) - 88usize] ; ["Offset of field: _xmlNode::nsDef"] [:: std :: mem :: offset_of ! (_xmlNode , nsDef) - 96usize] ; ["Offset of field: _xmlNode::psvi"] [:: std :: mem :: offset_of ! (_xmlNode , psvi) - 104usize] ; ["Offset of field: _xmlNode::line"] [:: std :: mem :: offset_of ! (_xmlNode , line) - 112usize] ; ["Offset of field: _xmlNode::extra"] [:: std :: mem :: offset_of ! (_xmlNode , extra) - 114usize] ; } ; # [doc = " document is XML well formed"] pub const xmlDocProperties_XML_DOC_WELLFORMED : xmlDocProperties = 1 ; # [doc = " document is Namespace valid"] pub const xmlDocProperties_XML_DOC_NSVALID : xmlDocProperties = 2 ; # [doc = " parsed with old XML-1.0 parser"] pub const xmlDocProperties_XML_DOC_OLD10 : xmlDocProperties = 4 ; # [doc = " DTD validation was successful"] pub const xmlDocProperties_XML_DOC_DTDVALID : xmlDocProperties = 8 ; # [doc = " XInclude substitution was done"] pub const xmlDocProperties_XML_DOC_XINCLUDE : xmlDocProperties = 16 ; # [doc = " Document was built using the API and not by parsing an instance"] pub const xmlDocProperties_XML_DOC_USERBUILT : xmlDocProperties = 32 ; # [doc = " built for internal processing"] pub const xmlDocProperties_XML_DOC_INTERNAL : xmlDocProperties = 64 ; # [doc = " parsed or built HTML document"] pub const xmlDocProperties_XML_DOC_HTML : xmlDocProperties = 128 ; # [doc = " Set of properties of the document as found by the parser.\n Some of them are linked to similarly named xmlParserOption."] pub type xmlDocProperties = :: std :: os :: raw :: c_uint ; # [doc = " XML or HTML document"] pub type xmlDoc = _xmlDoc ; pub type xmlDocPtr = * mut xmlDoc ; # [doc = " An XML or HTML document."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDoc { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_DOCUMENT_NODE or XML_HTML_DOCUMENT_NODE"] pub type_ : xmlElementType , # [doc = " NULL"] pub name : * mut :: std :: os :: raw :: c_char , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlNode , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " reference to itself"] pub doc : * mut _xmlDoc , # [doc = " level of zlib compression"] pub compression : :: std :: os :: raw :: c_int , # [doc = " standalone document (no external refs)\n\n - 1 if standalone=\"yes\",\n - 0 if standalone=\"no\",\n - -1 if there is no XML declaration,\n - -2 if there is an XML declaration, but no\n   standalone attribute was specified"] pub standalone : :: std :: os :: raw :: c_int , # [doc = " internal subset"] pub intSubset : * mut _xmlDtd , # [doc = " external subset"] pub extSubset : * mut _xmlDtd , # [doc = " used to hold the XML namespace if needed"] pub oldNs : * mut _xmlNs , # [doc = " version string from XML declaration"] pub version : * mut xmlChar , # [doc = " actual encoding if any"] pub encoding : * mut xmlChar , # [doc = " hash table for ID attributes if any"] pub ids : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for IDREFs attributes if any"] pub refs : * mut :: std :: os :: raw :: c_void , # [doc = " URI of the document"] pub URL : * mut xmlChar , # [doc = " unused"] pub charset : :: std :: os :: raw :: c_int , # [doc = " dict used to allocate names if any"] pub dict : * mut _xmlDict , # [doc = " for type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " xmlParserOption enum used to parse the document"] pub parseFlags : :: std :: os :: raw :: c_int , # [doc = " xmlDocProperties of the document"] pub properties : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDoc"] [:: std :: mem :: size_of :: < _xmlDoc > () - 176usize] ; ["Alignment of _xmlDoc"] [:: std :: mem :: align_of :: < _xmlDoc > () - 8usize] ; ["Offset of field: _xmlDoc::_private"] [:: std :: mem :: offset_of ! (_xmlDoc , _private) - 0usize] ; ["Offset of field: _xmlDoc::type_"] [:: std :: mem :: offset_of ! (_xmlDoc , type_) - 8usize] ; ["Offset of field: _xmlDoc::name"] [:: std :: mem :: offset_of ! (_xmlDoc , name) - 16usize] ; ["Offset of field: _xmlDoc::children"] [:: std :: mem :: offset_of ! (_xmlDoc , children) - 24usize] ; ["Offset of field: _xmlDoc::last"] [:: std :: mem :: offset_of ! (_xmlDoc , last) - 32usize] ; ["Offset of field: _xmlDoc::parent"] [:: std :: mem :: offset_of ! (_xmlDoc , parent) - 40usize] ; ["Offset of field: _xmlDoc::next"] [:: std :: mem :: offset_of ! (_xmlDoc , next) - 48usize] ; ["Offset of field: _xmlDoc::prev"] [:: std :: mem :: offset_of ! (_xmlDoc , prev) - 56usize] ; ["Offset of field: _xmlDoc::doc"] [:: std :: mem :: offset_of ! (_xmlDoc , doc) - 64usize] ; ["Offset of field: _xmlDoc::compression"] [:: std :: mem :: offset_of ! (_xmlDoc , compression) - 72usize] ; ["Offset of field: _xmlDoc::standalone"] [:: std :: mem :: offset_of ! (_xmlDoc , standalone) - 76usize] ; ["Offset of field: _xmlDoc::intSubset"] [:: std :: mem :: offset_of ! (_xmlDoc , intSubset) - 80usize] ; ["Offset of field: _xmlDoc::extSubset"] [:: std :: mem :: offset_of ! (_xmlDoc , extSubset) - 88usize] ; ["Offset of field: _xmlDoc::oldNs"] [:: std :: mem :: offset_of ! (_xmlDoc , oldNs) - 96usize] ; ["Offset of field: _xmlDoc::version"] [:: std :: mem :: offset_of ! (_xmlDoc , version) - 104usize] ; ["Offset of field: _xmlDoc::encoding"] [:: std :: mem :: offset_of ! (_xmlDoc , encoding) - 112usize] ; ["Offset of field: _xmlDoc::ids"] [:: std :: mem :: offset_of ! (_xmlDoc , ids) - 120usize] ; ["Offset of field: _xmlDoc::refs"] [:: std :: mem :: offset_of ! (_xmlDoc , refs) - 128usize] ; ["Offset of field: _xmlDoc::URL"] [:: std :: mem :: offset_of ! (_xmlDoc , URL) - 136usize] ; ["Offset of field: _xmlDoc::charset"] [:: std :: mem :: offset_of ! (_xmlDoc , charset) - 144usize] ; ["Offset of field: _xmlDoc::dict"] [:: std :: mem :: offset_of ! (_xmlDoc , dict) - 152usize] ; ["Offset of field: _xmlDoc::psvi"] [:: std :: mem :: offset_of ! (_xmlDoc , psvi) - 160usize] ; ["Offset of field: _xmlDoc::parseFlags"] [:: std :: mem :: offset_of ! (_xmlDoc , parseFlags) - 168usize] ; ["Offset of field: _xmlDoc::properties"] [:: std :: mem :: offset_of ! (_xmlDoc , properties) - 172usize] ; } ; # [doc = " Context for DOM wrapper operations"] pub type xmlDOMWrapCtxt = _xmlDOMWrapCtxt ; pub type xmlDOMWrapCtxtPtr = * mut xmlDOMWrapCtxt ; # [doc = " A function called to acquire namespaces (xmlNs) from the wrapper.\n\n @param ctxt  a DOM wrapper context\n @param node  the context node (element or attribute)\n @param nsName  the requested namespace name\n @param nsPrefix  the requested namespace prefix\n @returns an xmlNs or NULL in case of an error."] pub type xmlDOMWrapAcquireNsFunction = :: std :: option :: Option < unsafe extern "C" fn (ctxt : * mut xmlDOMWrapCtxt , node : * mut xmlNode , nsName : * const xmlChar , nsPrefix : * const xmlChar) -> * mut xmlNs > ; # [doc = " Context for DOM wrapper-operations."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDOMWrapCtxt { pub _private : * mut :: std :: os :: raw :: c_void , pub type_ : :: std :: os :: raw :: c_int , pub namespaceMap : * mut :: std :: os :: raw :: c_void , pub getNsForNodeFunc : xmlDOMWrapAcquireNsFunction , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDOMWrapCtxt"] [:: std :: mem :: size_of :: < _xmlDOMWrapCtxt > () - 32usize] ; ["Alignment of _xmlDOMWrapCtxt"] [:: std :: mem :: align_of :: < _xmlDOMWrapCtxt > () - 8usize] ; ["Offset of field: _xmlDOMWrapCtxt::_private"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , _private) - 0usize] ; ["Offset of field: _xmlDOMWrapCtxt::type_"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , type_) - 8usize] ; ["Offset of field: _xmlDOMWrapCtxt::namespaceMap"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , namespaceMap) - 16usize] ; ["Offset of field: _xmlDOMWrapCtxt::getNsForNodeFunc"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , getNsForNodeFunc) - 24usize] ; } ; # [doc = " Signature for the registration callback of a created node\n\n @param node  the current node"] pub type xmlRegisterNodeFunc = :: std :: option :: Option < unsafe extern "C" fn (node : * mut xmlNode) > ; # [doc = " Signature for the deregistration callback of a discarded node\n\n @param node  the current node"] pub type xmlDeregisterNodeFunc = :: std :: option :: Option < unsafe extern "C" fn (node : * mut xmlNode) > ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlRegisterNodeDefaultValue () -> * mut xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn __xmlDeregisterNodeDefaultValue () -> * mut xmlDeregisterNodeFunc ; } unsafe extern "C" { # [doc = " @endcond"] pub fn xmlValidateNCName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateQName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNMToken (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBuildQName (ncname : * const xmlChar , prefix : * const xmlChar , memory : * mut xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSplitQName2 (name : * const xmlChar , prefix : * mut * mut xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSplitQName3 (name : * const xmlChar , len : * mut :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCreateIntSubset (doc : * mut xmlDoc , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlNewDtd (doc : * mut xmlDoc , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlGetIntSubset (doc : * const xmlDoc) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlFreeDtd (cur : * mut xmlDtd) ; } unsafe extern "C" { pub fn xmlNewNs (node : * mut xmlNode , href : * const xmlChar , prefix : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlFreeNs (cur : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlFreeNsList (cur : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlNewDoc (version : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlFreeDoc (cur : * mut xmlDoc) ; } unsafe extern "C" { pub fn xmlNewDocProp (doc : * mut xmlDoc , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewProp (node : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewNsPropEatName (node : * mut xmlNode , ns : * mut xmlNs , name : * mut xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlFreePropList (cur : * mut xmlAttr) ; } unsafe extern "C" { pub fn xmlFreeProp (cur : * mut xmlAttr) ; } unsafe extern "C" { pub fn xmlCopyProp (target : * mut xmlNode , cur : * mut xmlAttr) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlCopyPropList (target : * mut xmlNode , cur : * mut xmlAttr) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlCopyDtd (dtd : * mut xmlDtd) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlCopyDoc (doc : * mut xmlDoc , recursive : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlNewDocNode (doc : * mut xmlDoc , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocNodeEatName (doc : * mut xmlDoc , ns : * mut xmlNs , name : * mut xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewNode (ns : * mut xmlNs , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewNodeEatName (ns : * mut xmlNs , name : * mut xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewChild (parent : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocText (doc : * const xmlDoc , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewText (content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocPI (doc : * mut xmlDoc , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewPI (name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocTextLen (doc : * mut xmlDoc , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewTextLen (content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocComment (doc : * mut xmlDoc , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewComment (content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewCDataBlock (doc : * mut xmlDoc , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewCharRef (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewReference (doc : * const xmlDoc , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCopyNode (node : * mut xmlNode , recursive : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlDocCopyNode (node : * mut xmlNode , doc : * mut xmlDoc , recursive : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlDocCopyNodeList (doc : * mut xmlDoc , node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCopyNodeList (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewTextChild (parent : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocRawNode (doc : * mut xmlDoc , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocFragment (doc : * mut xmlDoc) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlGetLineNo (node : * const xmlNode) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn xmlGetNodePath (node : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlDocGetRootElement (doc : * const xmlDoc) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlGetLastChild (parent : * const xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeIsText (node : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsBlankNode (node : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocSetRootElement (doc : * mut xmlDoc , root : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeSetName (cur : * mut xmlNode , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlAddChild (parent : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddChildList (parent : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlReplaceNode (old : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddPrevSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddNextSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlUnlinkNode (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlTextMerge (first : * mut xmlNode , second : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlTextConcat (node : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFreeNodeList (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlFreeNode (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlSetTreeDoc (tree : * mut xmlNode , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetListDoc (list : * mut xmlNode , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSearchNs (doc : * mut xmlDoc , node : * mut xmlNode , nameSpace : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlSearchNsByHref (doc : * mut xmlDoc , node : * mut xmlNode , href : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlGetNsListSafe (doc : * const xmlDoc , node : * const xmlNode , out : * mut * mut * mut xmlNs) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetNsList (doc : * const xmlDoc , node : * const xmlNode) -> * mut * mut xmlNs ; } unsafe extern "C" { pub fn xmlSetNs (node : * mut xmlNode , ns : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlCopyNamespace (cur : * mut xmlNs) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlCopyNamespaceList (cur : * mut xmlNs) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlSetProp (node : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlSetNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNodeGetAttrValue (node : * const xmlNode , name : * const xmlChar , nsUri : * const xmlChar , out : * mut * mut xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetNoNsProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlGetProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlHasProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlHasNsProp (node : * const xmlNode , name : * const xmlChar , nameSpace : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlGetNsProp (node : * const xmlNode , name : * const xmlChar , nameSpace : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStringGetNodeList (doc : * const xmlDoc , value : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlStringLenGetNodeList (doc : * const xmlDoc , value : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeListGetString (doc : * mut xmlDoc , list : * const xmlNode , inLine : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeListGetRawString (doc : * const xmlDoc , list : * const xmlNode , inLine : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeSetContent (cur : * mut xmlNode , content : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetContentLen (cur : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeAddContent (cur : * mut xmlNode , content : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeAddContentLen (cur : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetContent (cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeBufGetContent (buffer : * mut xmlBuffer , cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufGetNodeContent (buf : * mut xmlBuf , cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetLang (cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeGetSpacePreserve (cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetLang (cur : * mut xmlNode , lang : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetSpacePreserve (cur : * mut xmlNode , val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetBaseSafe (doc : * const xmlDoc , cur : * const xmlNode , baseOut : * mut * mut xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetBase (doc : * const xmlDoc , cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeSetBase (cur : * mut xmlNode , uri : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveProp (cur : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUnsetNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUnsetProp (node : * mut xmlNode , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAttrSerializeTxtContent (buf : * mut xmlBuffer , doc : * mut xmlDoc , attr : * mut xmlAttr , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlReconciliateNs (doc : * mut xmlDoc , tree : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocDumpFormatMemory (cur : * mut xmlDoc , mem : * mut * mut xmlChar , size : * mut :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocDumpMemory (cur : * mut xmlDoc , mem : * mut * mut xmlChar , size : * mut :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocDumpMemoryEnc (out_doc : * mut xmlDoc , doc_txt_ptr : * mut * mut xmlChar , doc_txt_len : * mut :: std :: os :: raw :: c_int , txt_encoding : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlDocDumpFormatMemoryEnc (out_doc : * mut xmlDoc , doc_txt_ptr : * mut * mut xmlChar , doc_txt_len : * mut :: std :: os :: raw :: c_int , txt_encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocFormatDump (f : * mut FILE , cur : * mut xmlDoc , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocDump (f : * mut FILE , cur : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlElemDump (f : * mut FILE , doc : * mut xmlDoc , cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlSaveFile (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFormatFile (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufNodeDump (buf : * mut xmlBuf , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> usize ; } unsafe extern "C" { pub fn xmlNodeDump (buf : * mut xmlBuffer , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFileTo (buf : * mut xmlOutputBuffer , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFormatFileTo (buf : * mut xmlOutputBuffer , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeDumpOutput (buf : * mut xmlOutputBuffer , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , encoding : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlSaveFormatFileEnc (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFileEnc (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsXHTML (systemID : * const xmlChar , publicID : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetDocCompressMode (doc : * const xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetDocCompressMode (doc : * mut xmlDoc , mode : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlGetCompressMode () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetCompressMode (mode : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDOMWrapNewCtxt () -> * mut xmlDOMWrapCtxt ; } unsafe extern "C" { pub fn xmlDOMWrapFreeCtxt (ctxt : * mut xmlDOMWrapCtxt) ; } unsafe extern "C" { pub fn xmlDOMWrapReconcileNamespaces (ctxt : * mut xmlDOMWrapCtxt , elem : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapAdoptNode (ctxt : * mut xmlDOMWrapCtxt , sourceDoc : * mut xmlDoc , node : * mut xmlNode , destDoc : * mut xmlDoc , destParent : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapRemoveNode (ctxt : * mut xmlDOMWrapCtxt , doc : * mut xmlDoc , node : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapCloneNode (ctxt : * mut xmlDOMWrapCtxt , sourceDoc : * mut xmlDoc , node : * mut xmlNode , clonedNode : * mut * mut xmlNode , destDoc : * mut xmlDoc , destParent : * mut xmlNode , deep : :: std :: os :: raw :: c_int , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlChildElementCount (parent : * mut xmlNode) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlNextElementSibling (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlFirstElementChild (parent : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlLastElementChild (parent : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlPreviousElementSibling (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlRegisterNodeDefault (func : xmlRegisterNodeFunc) -> xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn xmlDeregisterNodeDefault (func : xmlDeregisterNodeFunc) -> xmlDeregisterNodeFunc ; } unsafe extern "C" { pub fn xmlThrDefRegisterNodeDefault (func : xmlRegisterNodeFunc) -> xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn xmlThrDefDeregisterNodeDefault (func : xmlDeregisterNodeFunc) -> xmlDeregisterNodeFunc ; } unsafe extern "C" { pub fn xmlSetBufferAllocationScheme (scheme : xmlBufferAllocationScheme) ; } unsafe extern "C" { pub fn xmlGetBufferAllocationScheme () -> xmlBufferAllocationScheme ; } unsafe extern "C" { pub fn xmlBufferCreate () -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferCreateSize (size : usize) -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferCreateStatic (mem : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferResize (buf : * mut xmlBuffer , size : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferFree (buf : * mut xmlBuffer) ; } unsafe extern "C" { pub fn xmlBufferDump (file : * mut FILE , buf : * mut xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferAdd (buf : * mut xmlBuffer , str_ : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferAddHead (buf : * mut xmlBuffer , str_ : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferCat (buf : * mut xmlBuffer , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferCCat (buf : * mut xmlBuffer , str_ : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferShrink (buf : * mut xmlBuffer , len : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferGrow (buf : * mut xmlBuffer , len : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferEmpty (buf : * mut xmlBuffer) ; } unsafe extern "C" { pub fn xmlBufferContent (buf : * const xmlBuffer) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlBufferDetach (buf : * mut xmlBuffer) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufferSetAllocationScheme (buf : * mut xmlBuffer , scheme : xmlBufferAllocationScheme) ; } unsafe extern "C" { pub fn xmlBufferLength (buf : * const xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferWriteCHAR (buf : * mut xmlBuffer , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlBufferWriteChar (buf : * mut xmlBuffer , string : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlBufferWriteQuotedString (buf : * mut xmlBuffer , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlBufContent (buf : * const xmlBuf) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufEnd (buf : * mut xmlBuf) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufUse (buf : * mut xmlBuf) -> usize ; } unsafe extern "C" { pub fn xmlBufShrink (buf : * mut xmlBuf , len : usize) -> usize ; } pub type wchar_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [repr (align (16))] # [derive (Debug , Copy , Clone)] pub struct max_align_t { pub __clang_max_align_nonce1 : :: std :: os :: raw :: c_longlong , pub __bindgen_padding_0 : u64 , pub __clang_max_align_nonce2 : u128 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of max_align_t"] [:: std :: mem :: size_of :: < max_align_t > () - 32usize] ; ["Alignment of max_align_t"] [:: std :: mem :: align_of :: < max_align_t > () - 16usize] ; ["Offset of field: max_align_t::__clang_max_align_nonce1"] [:: std :: mem :: offset_of ! (max_align_t , __clang_max_align_nonce1) - 0usize] ; ["Offset of field: max_align_t::__clang_max_align_nonce2"] [:: std :: mem :: offset_of ! (max_align_t , __clang_max_align_nonce2) - 16usize] ; } ; # [doc = " Dictionary (pool for interned strings)"] pub type xmlDict = _xmlDict ; pub type xmlDictPtr = * mut xmlDict ; unsafe extern "C" { pub fn xmlInitializeDict () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictCreate () -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlDictSetLimit (dict : * mut xmlDict , limit : usize) -> usize ; } unsafe extern "C" { pub fn xmlDictGetUsage (dict : * mut xmlDict) -> usize ; } unsafe extern "C" { pub fn xmlDictCreateSub (sub : * mut xmlDict) -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlDictReference (dict : * mut xmlDict) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictFree (dict : * mut xmlDict) ; } unsafe extern "C" { pub fn xmlDictLookup (dict : * mut xmlDict , name : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictExists (dict : * mut xmlDict , name : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictQLookup (dict : * mut xmlDict , prefix : * const xmlChar , name : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictOwns (dict : * mut xmlDict , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictSize (dict : * mut xmlDict) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictCleanup () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlHashTable { _unused : [u8 ; 0] , } # [doc = " Hash table mapping strings to pointers\n\n Also supports lookup using two or three strings as key."] pub type xmlHashTable = _xmlHashTable ; pub type xmlHashTablePtr = * mut xmlHashTable ; # [doc = " Callback to free data from a hash.\n\n @param payload  the data in the hash\n @param name  the name associated"] pub type xmlHashDeallocator = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback to copy data from a hash.\n\n @param payload  the data in the hash\n @param name  the name associated\n @returns a copy of the data or NULL in case of error."] pub type xmlHashCopier = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback when scanning data in a hash with the simple scanner.\n\n @param payload  the data in the hash\n @param data  extra scanner data\n @param name  the name associated"] pub type xmlHashScanner = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , data : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback when scanning data in a hash with the full scanner.\n\n @param payload  the data in the hash\n @param data  extra scanner data\n @param name  the name associated\n @param name2  the second name associated\n @param name3  the third name associated"] pub type xmlHashScannerFull = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , data : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar) > ; unsafe extern "C" { pub fn xmlHashCreate (size : :: std :: os :: raw :: c_int) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashCreateDict (size : :: std :: os :: raw :: c_int , dict : * mut xmlDict) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashFree (hash : * mut xmlHashTable , dealloc : xmlHashDeallocator) ; } unsafe extern "C" { pub fn xmlHashDefaultDeallocator (entry : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlHashAdd (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAdd2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAdd3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry (hash : * mut xmlHashTable , name : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashLookup (hash : * mut xmlHashTable , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashLookup2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashLookup3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup2 (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar , prefix2 : * const xmlChar , name2 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup3 (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar , prefix2 : * const xmlChar , name2 : * const xmlChar , prefix3 : * const xmlChar , name3 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashCopySafe (hash : * mut xmlHashTable , copy : xmlHashCopier , dealloc : xmlHashDeallocator) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashCopy (hash : * mut xmlHashTable , copy : xmlHashCopier) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashSize (hash : * mut xmlHashTable) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashScan (hash : * mut xmlHashTable , scan : xmlHashScanner , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScan3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , scan : xmlHashScanner , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScanFull (hash : * mut xmlHashTable , scan : xmlHashScannerFull , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScanFull3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , scan : xmlHashScannerFull , data : * mut :: std :: os :: raw :: c_void) ; } # [doc = " Success"] pub const xmlErrorLevel_XML_ERR_NONE : xmlErrorLevel = 0 ; # [doc = " A warning\n\n When parsing XML, warnings are only reported to error\n handlers."] pub const xmlErrorLevel_XML_ERR_WARNING : xmlErrorLevel = 1 ; # [doc = " An error\n\n When parsing XML, this is used for recoverable errors like\n\n - namespace errors\n - validity errors when validating\n - certain undeclared entities\n - ID uniqueness and xml:id errors\n\n Note that some recoverable errors in the sense of the XML\n spec are reported as warnings.\n\n In other contexts, this may be used for unrecoverable\n errors."] pub const xmlErrorLevel_XML_ERR_ERROR : xmlErrorLevel = 2 ; # [doc = " A fatal error\n\n When parsing XML, a \"fatal error\" according to the XML spec.\n This typically means that the document isn't well-formed.\n\n This also includes OOM and I/O errors, resource limit\n exhaustion, unexpected errors from other libraries and\n invalid argument errors."] pub const xmlErrorLevel_XML_ERR_FATAL : xmlErrorLevel = 3 ; # [doc = " Indicates the level of an error"] pub type xmlErrorLevel = :: std :: os :: raw :: c_uint ; # [doc = " Unknown"] pub const xmlErrorDomain_XML_FROM_NONE : xmlErrorDomain = 0 ; # [doc = " The XML parser"] pub const xmlErrorDomain_XML_FROM_PARSER : xmlErrorDomain = 1 ; # [doc = " The tree module (unused)"] pub const xmlErrorDomain_XML_FROM_TREE : xmlErrorDomain = 2 ; # [doc = " The XML Namespace module"] pub const xmlErrorDomain_XML_FROM_NAMESPACE : xmlErrorDomain = 3 ; # [doc = " The XML DTD validation with parser context"] pub const xmlErrorDomain_XML_FROM_DTD : xmlErrorDomain = 4 ; # [doc = " The HTML parser"] pub const xmlErrorDomain_XML_FROM_HTML : xmlErrorDomain = 5 ; # [doc = " The memory allocator (unused)"] pub const xmlErrorDomain_XML_FROM_MEMORY : xmlErrorDomain = 6 ; # [doc = " The serialization code"] pub const xmlErrorDomain_XML_FROM_OUTPUT : xmlErrorDomain = 7 ; # [doc = " The Input/Output stack"] pub const xmlErrorDomain_XML_FROM_IO : xmlErrorDomain = 8 ; # [doc = " The FTP module (unused)"] pub const xmlErrorDomain_XML_FROM_FTP : xmlErrorDomain = 9 ; # [doc = " The HTTP module (unused)"] pub const xmlErrorDomain_XML_FROM_HTTP : xmlErrorDomain = 10 ; # [doc = " The XInclude processing"] pub const xmlErrorDomain_XML_FROM_XINCLUDE : xmlErrorDomain = 11 ; # [doc = " The XPath module"] pub const xmlErrorDomain_XML_FROM_XPATH : xmlErrorDomain = 12 ; # [doc = " The XPointer module"] pub const xmlErrorDomain_XML_FROM_XPOINTER : xmlErrorDomain = 13 ; # [doc = " The regular expressions module"] pub const xmlErrorDomain_XML_FROM_REGEXP : xmlErrorDomain = 14 ; # [doc = " The W3C XML Schemas Datatype module"] pub const xmlErrorDomain_XML_FROM_DATATYPE : xmlErrorDomain = 15 ; # [doc = " The W3C XML Schemas parser module"] pub const xmlErrorDomain_XML_FROM_SCHEMASP : xmlErrorDomain = 16 ; # [doc = " The W3C XML Schemas validation module"] pub const xmlErrorDomain_XML_FROM_SCHEMASV : xmlErrorDomain = 17 ; # [doc = " The Relax-NG parser module"] pub const xmlErrorDomain_XML_FROM_RELAXNGP : xmlErrorDomain = 18 ; # [doc = " The Relax-NG validator module"] pub const xmlErrorDomain_XML_FROM_RELAXNGV : xmlErrorDomain = 19 ; # [doc = " The Catalog module"] pub const xmlErrorDomain_XML_FROM_CATALOG : xmlErrorDomain = 20 ; # [doc = " The Canonicalization module"] pub const xmlErrorDomain_XML_FROM_C14N : xmlErrorDomain = 21 ; # [doc = " The XSLT engine from libxslt (unused)"] pub const xmlErrorDomain_XML_FROM_XSLT : xmlErrorDomain = 22 ; # [doc = " The XML DTD validation with valid context"] pub const xmlErrorDomain_XML_FROM_VALID : xmlErrorDomain = 23 ; # [doc = " The error checking module (unused)"] pub const xmlErrorDomain_XML_FROM_CHECK : xmlErrorDomain = 24 ; # [doc = " The xmlwriter module"] pub const xmlErrorDomain_XML_FROM_WRITER : xmlErrorDomain = 25 ; # [doc = " The dynamically loaded module module (unused)"] pub const xmlErrorDomain_XML_FROM_MODULE : xmlErrorDomain = 26 ; # [doc = " The module handling character conversion (unused)"] pub const xmlErrorDomain_XML_FROM_I18N : xmlErrorDomain = 27 ; # [doc = " The Schematron validator module"] pub const xmlErrorDomain_XML_FROM_SCHEMATRONV : xmlErrorDomain = 28 ; # [doc = " The buffers module (unused)"] pub const xmlErrorDomain_XML_FROM_BUFFER : xmlErrorDomain = 29 ; # [doc = " The URI module (unused)"] pub const xmlErrorDomain_XML_FROM_URI : xmlErrorDomain = 30 ; # [doc = " Indicates where an error may have come from"] pub type xmlErrorDomain = :: std :: os :: raw :: c_uint ; # [doc = " Structured error"] pub type xmlError = _xmlError ; pub type xmlErrorPtr = * mut xmlError ; # [doc = " An object containing information about an error."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlError { # [doc = " An xmlErrorDomain value."] pub domain : :: std :: os :: raw :: c_int , # [doc = " The error code, e.g. an xmlParserErrors."] pub code : :: std :: os :: raw :: c_int , # [doc = " Human-readable error message."] pub message : * mut :: std :: os :: raw :: c_char , # [doc = " Error level."] pub level : xmlErrorLevel , # [doc = " Filename if available"] pub file : * mut :: std :: os :: raw :: c_char , # [doc = " Line number if available"] pub line : :: std :: os :: raw :: c_int , # [doc = " Extra string information."] pub str1 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra string information."] pub str2 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra string information."] pub str3 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra number information."] pub int1 : :: std :: os :: raw :: c_int , # [doc = " Column number if available."] pub int2 : :: std :: os :: raw :: c_int , # [doc = " Parser context if available"] pub ctxt : * mut :: std :: os :: raw :: c_void , # [doc = " Node if available"] pub node : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlError"] [:: std :: mem :: size_of :: < _xmlError > () - 88usize] ; ["Alignment of _xmlError"] [:: std :: mem :: align_of :: < _xmlError > () - 8usize] ; ["Offset of field: _xmlError::domain"] [:: std :: mem :: offset_of ! (_xmlError , domain) - 0usize] ; ["Offset of field: _xmlError::code"] [:: std :: mem :: offset_of ! (_xmlError , code) - 4usize] ; ["Offset of field: _xmlError::message"] [:: std :: mem :: offset_of ! (_xmlError , message) - 8usize] ; ["Offset of field: _xmlError::level"] [:: std :: mem :: offset_of ! (_xmlError , level) - 16usize] ; ["Offset of field: _xmlError::file"] [:: std :: mem :: offset_of ! (_xmlError , file) - 24usize] ; ["Offset of field: _xmlError::line"] [:: std :: mem :: offset_of ! (_xmlError , line) - 32usize] ; ["Offset of field: _xmlError::str1"] [:: std :: mem :: offset_of ! (_xmlError , str1) - 40usize] ; ["Offset of field: _xmlError::str2"] [:: std :: mem :: offset_of ! (_xmlError , str2) - 48usize] ; ["Offset of field: _xmlError::str3"] [:: std :: mem :: offset_of ! (_xmlError , str3) - 56usize] ; ["Offset of field: _xmlError::int1"] [:: std :: mem :: offset_of ! (_xmlError , int1) - 64usize] ; ["Offset of field: _xmlError::int2"] [:: std :: mem :: offset_of ! (_xmlError , int2) - 68usize] ; ["Offset of field: _xmlError::ctxt"] [:: std :: mem :: offset_of ! (_xmlError , ctxt) - 72usize] ; ["Offset of field: _xmlError::node"] [:: std :: mem :: offset_of ! (_xmlError , node) - 80usize] ; } ; # [doc = " Success."] pub const xmlParserErrors_XML_ERR_OK : xmlParserErrors = 0 ; # [doc = " Internal assertion failure."] pub const xmlParserErrors_XML_ERR_INTERNAL_ERROR : xmlParserErrors = 1 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_NO_MEMORY : xmlParserErrors = 2 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_START : xmlParserErrors = 3 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_EMPTY : xmlParserErrors = 4 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_END : xmlParserErrors = 5 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_HEX_CHARREF : xmlParserErrors = 6 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_DEC_CHARREF : xmlParserErrors = 7 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_CHARREF : xmlParserErrors = 8 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_CHAR : xmlParserErrors = 9 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_AT_EOF : xmlParserErrors = 10 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_PROLOG : xmlParserErrors = 11 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_EPILOG : xmlParserErrors = 12 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_DTD : xmlParserErrors = 13 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_AT_EOF : xmlParserErrors = 14 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_PROLOG : xmlParserErrors = 15 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_EPILOG : xmlParserErrors = 16 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_DTD : xmlParserErrors = 17 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_AT_EOF : xmlParserErrors = 18 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_PROLOG : xmlParserErrors = 19 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_EPILOG : xmlParserErrors = 20 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_INT_SUBSET : xmlParserErrors = 21 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_NO_NAME : xmlParserErrors = 22 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_SEMICOL_MISSING : xmlParserErrors = 23 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_NO_NAME : xmlParserErrors = 24 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_SEMICOL_MISSING : xmlParserErrors = 25 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNDECLARED_ENTITY : xmlParserErrors = 26 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_WAR_UNDECLARED_ENTITY : xmlParserErrors = 27 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNPARSED_ENTITY : xmlParserErrors = 28 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITY_IS_EXTERNAL : xmlParserErrors = 29 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITY_IS_PARAMETER : xmlParserErrors = 30 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNKNOWN_ENCODING : xmlParserErrors = 31 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_UNSUPPORTED_ENCODING : xmlParserErrors = 32 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STRING_NOT_STARTED : xmlParserErrors = 33 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STRING_NOT_CLOSED : xmlParserErrors = 34 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NS_DECL_ERROR : xmlParserErrors = 35 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_NOT_STARTED : xmlParserErrors = 36 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_NOT_FINISHED : xmlParserErrors = 37 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LT_IN_ATTRIBUTE : xmlParserErrors = 38 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_NOT_STARTED : xmlParserErrors = 39 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_NOT_FINISHED : xmlParserErrors = 40 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_WITHOUT_VALUE : xmlParserErrors = 41 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_REDEFINED : xmlParserErrors = 42 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LITERAL_NOT_STARTED : xmlParserErrors = 43 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LITERAL_NOT_FINISHED : xmlParserErrors = 44 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_COMMENT_NOT_FINISHED : xmlParserErrors = 45 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PI_NOT_STARTED : xmlParserErrors = 46 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PI_NOT_FINISHED : xmlParserErrors = 47 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_NOT_STARTED : xmlParserErrors = 48 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_NOT_FINISHED : xmlParserErrors = 49 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTLIST_NOT_STARTED : xmlParserErrors = 50 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTLIST_NOT_FINISHED : xmlParserErrors = 51 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MIXED_NOT_STARTED : xmlParserErrors = 52 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MIXED_NOT_FINISHED : xmlParserErrors = 53 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ELEMCONTENT_NOT_STARTED : xmlParserErrors = 54 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ELEMCONTENT_NOT_FINISHED : xmlParserErrors = 55 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_XMLDECL_NOT_STARTED : xmlParserErrors = 56 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_XMLDECL_NOT_FINISHED : xmlParserErrors = 57 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_NOT_STARTED : xmlParserErrors = 58 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_NOT_FINISHED : xmlParserErrors = 59 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXT_SUBSET_NOT_FINISHED : xmlParserErrors = 60 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_DOCTYPE_NOT_FINISHED : xmlParserErrors = 61 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MISPLACED_CDATA_END : xmlParserErrors = 62 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CDATA_NOT_FINISHED : xmlParserErrors = 63 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_RESERVED_XML_NAME : xmlParserErrors = 64 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_SPACE_REQUIRED : xmlParserErrors = 65 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_SEPARATOR_REQUIRED : xmlParserErrors = 66 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NMTOKEN_REQUIRED : xmlParserErrors = 67 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NAME_REQUIRED : xmlParserErrors = 68 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PCDATA_REQUIRED : xmlParserErrors = 69 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_URI_REQUIRED : xmlParserErrors = 70 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PUBID_REQUIRED : xmlParserErrors = 71 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LT_REQUIRED : xmlParserErrors = 72 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_GT_REQUIRED : xmlParserErrors = 73 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LTSLASH_REQUIRED : xmlParserErrors = 74 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EQUAL_REQUIRED : xmlParserErrors = 75 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_TAG_NAME_MISMATCH : xmlParserErrors = 76 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_TAG_NOT_FINISHED : xmlParserErrors = 77 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STANDALONE_VALUE : xmlParserErrors = 78 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENCODING_NAME : xmlParserErrors = 79 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_HYPHEN_IN_COMMENT : xmlParserErrors = 80 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_INVALID_ENCODING : xmlParserErrors = 81 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXT_ENTITY_STANDALONE : xmlParserErrors = 82 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_INVALID : xmlParserErrors = 83 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VALUE_REQUIRED : xmlParserErrors = 84 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOT_WELL_BALANCED : xmlParserErrors = 85 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXTRA_CONTENT : xmlParserErrors = 86 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_CHAR_ERROR : xmlParserErrors = 87 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_PE_INTERNAL : xmlParserErrors = 88 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_LOOP : xmlParserErrors = 89 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_BOUNDARY : xmlParserErrors = 90 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_INVALID_URI : xmlParserErrors = 91 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_URI_FRAGMENT : xmlParserErrors = 92 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_CATALOG_PI : xmlParserErrors = 93 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NO_DTD : xmlParserErrors = 94 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_INVALID_KEYWORD : xmlParserErrors = 95 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VERSION_MISSING : xmlParserErrors = 96 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_UNKNOWN_VERSION : xmlParserErrors = 97 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_LANG_VALUE : xmlParserErrors = 98 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_URI : xmlParserErrors = 99 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_URI_RELATIVE : xmlParserErrors = 100 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MISSING_ENCODING : xmlParserErrors = 101 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_SPACE_VALUE : xmlParserErrors = 102 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOT_STANDALONE : xmlParserErrors = 103 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_PROCESSING : xmlParserErrors = 104 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_PROCESSING : xmlParserErrors = 105 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_COLUMN : xmlParserErrors = 106 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_ENTITY_REDEFINED : xmlParserErrors = 107 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_UNKNOWN_VERSION : xmlParserErrors = 108 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VERSION_MISMATCH : xmlParserErrors = 109 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NAME_TOO_LONG : xmlParserErrors = 110 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_USER_STOP : xmlParserErrors = 111 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_COMMENT_ABRUPTLY_ENDED : xmlParserErrors = 112 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_ENCODING_MISMATCH : xmlParserErrors = 113 ; # [doc = " Internal resource limit like maximum amplification\n factor exceeded."] pub const xmlParserErrors_XML_ERR_RESOURCE_LIMIT : xmlParserErrors = 114 ; # [doc = " Invalid argument."] pub const xmlParserErrors_XML_ERR_ARGUMENT : xmlParserErrors = 115 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_SYSTEM : xmlParserErrors = 116 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_REDECL_PREDEF_ENTITY : xmlParserErrors = 117 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_INT_SUBSET_NOT_FINISHED : xmlParserErrors = 118 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_XML_NAMESPACE : xmlParserErrors = 200 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_UNDEFINED_NAMESPACE : xmlParserErrors = 201 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_QNAME : xmlParserErrors = 202 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_ATTRIBUTE_REDEFINED : xmlParserErrors = 203 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_EMPTY : xmlParserErrors = 204 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_COLON : xmlParserErrors = 205 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_DEFAULT : xmlParserErrors = 500 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_REDEFINED : xmlParserErrors = 501 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_VALUE : xmlParserErrors = 502 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_ERROR : xmlParserErrors = 503 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_MODEL : xmlParserErrors = 504 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_NOT_DETERMINIST : xmlParserErrors = 505 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_DIFFERENT_PREFIX : xmlParserErrors = 506 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_DEFAULT_NAMESPACE : xmlParserErrors = 507 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_NAMESPACE : xmlParserErrors = 508 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_REDEFINED : xmlParserErrors = 509 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_EMPTY_NOTATION : xmlParserErrors = 510 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ENTITY_TYPE : xmlParserErrors = 511 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_FIXED : xmlParserErrors = 512 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_REDEFINED : xmlParserErrors = 513 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_SUBSET : xmlParserErrors = 514 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_INVALID_CHILD : xmlParserErrors = 515 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_INVALID_DEFAULT : xmlParserErrors = 516 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_LOAD_ERROR : xmlParserErrors = 517 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MISSING_ATTRIBUTE : xmlParserErrors = 518 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MIXED_CORRUPT : xmlParserErrors = 519 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MULTIPLE_ID : xmlParserErrors = 520 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_DOC : xmlParserErrors = 521 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_DTD : xmlParserErrors = 522 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_ELEM_NAME : xmlParserErrors = 523 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_PREFIX : xmlParserErrors = 524 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_ROOT : xmlParserErrors = 525 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOTATION_REDEFINED : xmlParserErrors = 526 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOTATION_VALUE : xmlParserErrors = 527 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_EMPTY : xmlParserErrors = 528 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_PCDATA : xmlParserErrors = 529 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_STANDALONE : xmlParserErrors = 530 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ROOT_NAME : xmlParserErrors = 531 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_STANDALONE_WHITE_SPACE : xmlParserErrors = 532 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ATTRIBUTE : xmlParserErrors = 533 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ELEM : xmlParserErrors = 534 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ENTITY : xmlParserErrors = 535 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ID : xmlParserErrors = 536 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_NOTATION : xmlParserErrors = 537 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_STANDALONE_DEFAULTED : xmlParserErrors = 538 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_XMLID_VALUE : xmlParserErrors = 539 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_XMLID_TYPE : xmlParserErrors = 540 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_DUP_TOKEN : xmlParserErrors = 541 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_STRUCURE_ERROR : xmlParserErrors = 800 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_UNKNOWN_TAG : xmlParserErrors = 801 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_INCORRECTLY_OPENED_COMMENT : xmlParserErrors = 802 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ANYNAME_ATTR_ANCESTOR : xmlParserErrors = 1000 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTR_CONFLICT : xmlParserErrors = 1001 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_CHILDREN : xmlParserErrors = 1002 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_CONTENT : xmlParserErrors = 1003 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_EMPTY : xmlParserErrors = 1004 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_NOOP : xmlParserErrors = 1005 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CHOICE_CONTENT : xmlParserErrors = 1006 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CHOICE_EMPTY : xmlParserErrors = 1007 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CREATE_FAILURE : xmlParserErrors = 1008 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DATA_CONTENT : xmlParserErrors = 1009 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEF_CHOICE_AND_INTERLEAVE : xmlParserErrors = 1010 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_CREATE_FAILED : xmlParserErrors = 1011 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_EMPTY : xmlParserErrors = 1012 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_MISSING : xmlParserErrors = 1013 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_NAME_MISSING : xmlParserErrors = 1014 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_CONTENT_EMPTY : xmlParserErrors = 1015 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_CONTENT_ERROR : xmlParserErrors = 1016 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_EMPTY : xmlParserErrors = 1017 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_CONTENT : xmlParserErrors = 1018 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_NAME : xmlParserErrors = 1019 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_NO_CONTENT : xmlParserErrors = 1020 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_TEXT_CONFLICT : xmlParserErrors = 1021 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY : xmlParserErrors = 1022 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_CONSTRUCT : xmlParserErrors = 1023 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_CONTENT : xmlParserErrors = 1024 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_NOT_EMPTY : xmlParserErrors = 1025 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ERROR_TYPE_LIB : xmlParserErrors = 1026 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_EMPTY : xmlParserErrors = 1027 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_MISSING : xmlParserErrors = 1028 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_MULTIPLE : xmlParserErrors = 1029 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_NO_CONTENT : xmlParserErrors = 1030 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNALREF_EMTPY : xmlParserErrors = 1031 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNAL_REF_FAILURE : xmlParserErrors = 1032 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNALREF_RECURSE : xmlParserErrors = 1033 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_FORBIDDEN_ATTRIBUTE : xmlParserErrors = 1034 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_FOREIGN_ELEMENT : xmlParserErrors = 1035 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_CONTENT : xmlParserErrors = 1036 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_EMPTY : xmlParserErrors = 1037 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_MISSING : xmlParserErrors = 1038 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_NO_START : xmlParserErrors = 1039 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GROUP_ATTR_CONFLICT : xmlParserErrors = 1040 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_HREF_ERROR : xmlParserErrors = 1041 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_EMPTY : xmlParserErrors = 1042 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_FAILURE : xmlParserErrors = 1043 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_RECURSE : xmlParserErrors = 1044 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_ADD : xmlParserErrors = 1045 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_CREATE_FAILED : xmlParserErrors = 1046 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_EMPTY : xmlParserErrors = 1047 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_NO_CONTENT : xmlParserErrors = 1048 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_DEFINE_NAME : xmlParserErrors = 1049 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_URI : xmlParserErrors = 1050 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_VALUE : xmlParserErrors = 1051 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_MISSING_HREF : xmlParserErrors = 1052 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NAME_MISSING : xmlParserErrors = 1053 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NEED_COMBINE : xmlParserErrors = 1054 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NOTALLOWED_NOT_EMPTY : xmlParserErrors = 1055 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NSNAME_ATTR_ANCESTOR : xmlParserErrors = 1056 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NSNAME_NO_NS : xmlParserErrors = 1057 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARAM_FORBIDDEN : xmlParserErrors = 1058 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARAM_NAME_MISSING : xmlParserErrors = 1059 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_CREATE_FAILED : xmlParserErrors = 1060 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NAME_INVALID : xmlParserErrors = 1061 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NO_NAME : xmlParserErrors = 1062 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NO_PARENT : xmlParserErrors = 1063 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NOT_EMPTY : xmlParserErrors = 1064 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARSE_ERROR : xmlParserErrors = 1065 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ANYNAME_EXCEPT_ANYNAME : xmlParserErrors = 1066 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ATTR_ATTR : xmlParserErrors = 1067 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ATTR_ELEM : xmlParserErrors = 1068 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ATTR : xmlParserErrors = 1069 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ELEM : xmlParserErrors = 1070 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_EMPTY : xmlParserErrors = 1071 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_GROUP : xmlParserErrors = 1072 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_INTERLEAVE : xmlParserErrors = 1073 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_LIST : xmlParserErrors = 1074 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ONEMORE : xmlParserErrors = 1075 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_REF : xmlParserErrors = 1076 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_TEXT : xmlParserErrors = 1077 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_ATTR : xmlParserErrors = 1078 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_ELEM : xmlParserErrors = 1079 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_INTERLEAVE : xmlParserErrors = 1080 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_LIST : xmlParserErrors = 1081 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_REF : xmlParserErrors = 1082 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_TEXT : xmlParserErrors = 1083 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_NSNAME_EXCEPT_ANYNAME : xmlParserErrors = 1084 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_NSNAME_EXCEPT_NSNAME : xmlParserErrors = 1085 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ONEMORE_GROUP_ATTR : xmlParserErrors = 1086 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ONEMORE_INTERLEAVE_ATTR : xmlParserErrors = 1087 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_ATTR : xmlParserErrors = 1088 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_DATA : xmlParserErrors = 1089 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_EMPTY : xmlParserErrors = 1090 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_GROUP : xmlParserErrors = 1091 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_INTERLEAVE : xmlParserErrors = 1092 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_LIST : xmlParserErrors = 1093 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_ONEMORE : xmlParserErrors = 1094 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_TEXT : xmlParserErrors = 1095 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_VALUE : xmlParserErrors = 1096 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PREFIX_UNDEFINED : xmlParserErrors = 1097 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_CREATE_FAILED : xmlParserErrors = 1098 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_CYCLE : xmlParserErrors = 1099 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NAME_INVALID : xmlParserErrors = 1100 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NO_DEF : xmlParserErrors = 1101 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NO_NAME : xmlParserErrors = 1102 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NOT_EMPTY : xmlParserErrors = 1103 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_CHOICE_AND_INTERLEAVE : xmlParserErrors = 1104 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_CONTENT : xmlParserErrors = 1105 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_EMPTY : xmlParserErrors = 1106 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_MISSING : xmlParserErrors = 1107 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TEXT_EXPECTED : xmlParserErrors = 1108 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TEXT_HAS_CHILD : xmlParserErrors = 1109 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_MISSING : xmlParserErrors = 1110 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_NOT_FOUND : xmlParserErrors = 1111 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_VALUE : xmlParserErrors = 1112 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_ATTRIBUTE : xmlParserErrors = 1113 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_COMBINE : xmlParserErrors = 1114 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_CONSTRUCT : xmlParserErrors = 1115 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_TYPE_LIB : xmlParserErrors = 1116 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_URI_FRAGMENT : xmlParserErrors = 1117 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_URI_NOT_ABSOLUTE : xmlParserErrors = 1118 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_VALUE_EMPTY : xmlParserErrors = 1119 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_VALUE_NO_CONTENT : xmlParserErrors = 1120 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_XMLNS_NAME : xmlParserErrors = 1121 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_XML_NS : xmlParserErrors = 1122 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_EXPRESSION_OK : xmlParserErrors = 1200 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_NUMBER_ERROR : xmlParserErrors = 1201 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNFINISHED_LITERAL_ERROR : xmlParserErrors = 1202 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_START_LITERAL_ERROR : xmlParserErrors = 1203 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_VARIABLE_REF_ERROR : xmlParserErrors = 1204 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNDEF_VARIABLE_ERROR : xmlParserErrors = 1205 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_PREDICATE_ERROR : xmlParserErrors = 1206 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_EXPR_ERROR : xmlParserErrors = 1207 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNCLOSED_ERROR : xmlParserErrors = 1208 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNKNOWN_FUNC_ERROR : xmlParserErrors = 1209 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_OPERAND : xmlParserErrors = 1210 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_TYPE : xmlParserErrors = 1211 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_ARITY : xmlParserErrors = 1212 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CTXT_SIZE : xmlParserErrors = 1213 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CTXT_POSITION : xmlParserErrors = 1214 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_MEMORY_ERROR : xmlParserErrors = 1215 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_SYNTAX_ERROR : xmlParserErrors = 1216 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_RESOURCE_ERROR : xmlParserErrors = 1217 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_SUB_RESOURCE_ERROR : xmlParserErrors = 1218 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNDEF_PREFIX_ERROR : xmlParserErrors = 1219 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_ENCODING_ERROR : xmlParserErrors = 1220 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CHAR_ERROR : xmlParserErrors = 1221 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_INVALID_HEX : xmlParserErrors = 1300 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_INVALID_DEC : xmlParserErrors = 1301 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_UNTERMINATED_ENTITY : xmlParserErrors = 1302 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_NOT_UTF8 : xmlParserErrors = 1303 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_NOT_UTF8 : xmlParserErrors = 1400 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_CHAR_INVALID : xmlParserErrors = 1401 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_NO_DOCTYPE : xmlParserErrors = 1402 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_UNKNOWN_ENCODING : xmlParserErrors = 1403 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_REGEXP_COMPILE_ERROR : xmlParserErrors = 1450 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_UNKNOWN : xmlParserErrors = 1500 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EACCES : xmlParserErrors = 1501 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EAGAIN : xmlParserErrors = 1502 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBADF : xmlParserErrors = 1503 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBADMSG : xmlParserErrors = 1504 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBUSY : xmlParserErrors = 1505 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ECANCELED : xmlParserErrors = 1506 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ECHILD : xmlParserErrors = 1507 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EDEADLK : xmlParserErrors = 1508 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EDOM : xmlParserErrors = 1509 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EEXIST : xmlParserErrors = 1510 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EFAULT : xmlParserErrors = 1511 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EFBIG : xmlParserErrors = 1512 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINPROGRESS : xmlParserErrors = 1513 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINTR : xmlParserErrors = 1514 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINVAL : xmlParserErrors = 1515 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EIO : xmlParserErrors = 1516 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EISDIR : xmlParserErrors = 1517 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMFILE : xmlParserErrors = 1518 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMLINK : xmlParserErrors = 1519 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMSGSIZE : xmlParserErrors = 1520 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENAMETOOLONG : xmlParserErrors = 1521 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENFILE : xmlParserErrors = 1522 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENODEV : xmlParserErrors = 1523 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOENT : xmlParserErrors = 1524 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOEXEC : xmlParserErrors = 1525 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOLCK : xmlParserErrors = 1526 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOMEM : xmlParserErrors = 1527 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOSPC : xmlParserErrors = 1528 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOSYS : xmlParserErrors = 1529 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTDIR : xmlParserErrors = 1530 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTEMPTY : xmlParserErrors = 1531 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTSUP : xmlParserErrors = 1532 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTTY : xmlParserErrors = 1533 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENXIO : xmlParserErrors = 1534 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EPERM : xmlParserErrors = 1535 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EPIPE : xmlParserErrors = 1536 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ERANGE : xmlParserErrors = 1537 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EROFS : xmlParserErrors = 1538 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ESPIPE : xmlParserErrors = 1539 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ESRCH : xmlParserErrors = 1540 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ETIMEDOUT : xmlParserErrors = 1541 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EXDEV : xmlParserErrors = 1542 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_NETWORK_ATTEMPT : xmlParserErrors = 1543 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENCODER : xmlParserErrors = 1544 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_FLUSH : xmlParserErrors = 1545 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_WRITE : xmlParserErrors = 1546 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_NO_INPUT : xmlParserErrors = 1547 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_BUFFER_FULL : xmlParserErrors = 1548 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_LOAD_ERROR : xmlParserErrors = 1549 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTSOCK : xmlParserErrors = 1550 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EISCONN : xmlParserErrors = 1551 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ECONNREFUSED : xmlParserErrors = 1552 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENETUNREACH : xmlParserErrors = 1553 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EADDRINUSE : xmlParserErrors = 1554 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EALREADY : xmlParserErrors = 1555 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EAFNOSUPPORT : xmlParserErrors = 1556 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_UNSUPPORTED_PROTOCOL : xmlParserErrors = 1557 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_RECURSION : xmlParserErrors = 1600 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_PARSE_VALUE : xmlParserErrors = 1601 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_ENTITY_DEF_MISMATCH : xmlParserErrors = 1602 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_NO_HREF : xmlParserErrors = 1603 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_NO_FALLBACK : xmlParserErrors = 1604 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_HREF_URI : xmlParserErrors = 1605 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_TEXT_FRAGMENT : xmlParserErrors = 1606 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_TEXT_DOCUMENT : xmlParserErrors = 1607 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_INVALID_CHAR : xmlParserErrors = 1608 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_BUILD_FAILED : xmlParserErrors = 1609 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_UNKNOWN_ENCODING : xmlParserErrors = 1610 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_MULTIPLE_ROOT : xmlParserErrors = 1611 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_XPTR_FAILED : xmlParserErrors = 1612 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_XPTR_RESULT : xmlParserErrors = 1613 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_INCLUDE_IN_INCLUDE : xmlParserErrors = 1614 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FALLBACKS_IN_INCLUDE : xmlParserErrors = 1615 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FALLBACK_NOT_IN_INCLUDE : xmlParserErrors = 1616 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_DEPRECATED_NS : xmlParserErrors = 1617 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FRAGMENT_ID : xmlParserErrors = 1618 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_MISSING_ATTR : xmlParserErrors = 1650 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_ENTRY_BROKEN : xmlParserErrors = 1651 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_PREFER_VALUE : xmlParserErrors = 1652 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_NOT_CATALOG : xmlParserErrors = 1653 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_RECURSION : xmlParserErrors = 1654 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_PREFIX_UNDEFINED : xmlParserErrors = 1700 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTRFORMDEFAULT_VALUE : xmlParserErrors = 1701 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTRGRP_NONAME_NOREF : xmlParserErrors = 1702 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTR_NONAME_NOREF : xmlParserErrors = 1703 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COMPLEXTYPE_NONAME_NOREF : xmlParserErrors = 1704 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEMFORMDEFAULT_VALUE : xmlParserErrors = 1705 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEM_NONAME_NOREF : xmlParserErrors = 1706 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_EXTENSION_NO_BASE : xmlParserErrors = 1707 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FACET_NO_VALUE : xmlParserErrors = 1708 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_BUILD_IMPORT : xmlParserErrors = 1709 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_GROUP_NONAME_NOREF : xmlParserErrors = 1710 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_NAMESPACE_NOT_URI : xmlParserErrors = 1711 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_REDEFINE_NSNAME : xmlParserErrors = 1712 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_SCHEMA_NOT_URI : xmlParserErrors = 1713 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_BOOLEAN : xmlParserErrors = 1714 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ENUM : xmlParserErrors = 1715 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_FACET : xmlParserErrors = 1716 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_FACET_VALUE : xmlParserErrors = 1717 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_MAXOCCURS : xmlParserErrors = 1718 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_MINOCCURS : xmlParserErrors = 1719 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_REF_AND_SUBTYPE : xmlParserErrors = 1720 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_WHITE_SPACE : xmlParserErrors = 1721 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOATTR_NOREF : xmlParserErrors = 1722 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTATION_NO_NAME : xmlParserErrors = 1723 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTYPE_NOREF : xmlParserErrors = 1724 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REF_AND_SUBTYPE : xmlParserErrors = 1725 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_RESTRICTION_NONAME_NOREF : xmlParserErrors = 1726 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SIMPLETYPE_NONAME : xmlParserErrors = 1727 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_TYPE_AND_SUBTYPE : xmlParserErrors = 1728 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ALL_CHILD : xmlParserErrors = 1729 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ANYATTRIBUTE_CHILD : xmlParserErrors = 1730 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTR_CHILD : xmlParserErrors = 1731 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTRGRP_CHILD : xmlParserErrors = 1732 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTRIBUTE_GROUP : xmlParserErrors = 1733 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_BASE_TYPE : xmlParserErrors = 1734 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_CHOICE_CHILD : xmlParserErrors = 1735 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_COMPLEXCONTENT_CHILD : xmlParserErrors = 1736 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_COMPLEXTYPE_CHILD : xmlParserErrors = 1737 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ELEM_CHILD : xmlParserErrors = 1738 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_EXTENSION_CHILD : xmlParserErrors = 1739 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_FACET_CHILD : xmlParserErrors = 1740 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_FACET_TYPE : xmlParserErrors = 1741 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_GROUP_CHILD : xmlParserErrors = 1742 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_IMPORT_CHILD : xmlParserErrors = 1743 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_LIST_CHILD : xmlParserErrors = 1744 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_NOTATION_CHILD : xmlParserErrors = 1745 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_PROCESSCONTENT_CHILD : xmlParserErrors = 1746 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_REF : xmlParserErrors = 1747 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_RESTRICTION_CHILD : xmlParserErrors = 1748 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SCHEMAS_CHILD : xmlParserErrors = 1749 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SEQUENCE_CHILD : xmlParserErrors = 1750 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SIMPLECONTENT_CHILD : xmlParserErrors = 1751 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SIMPLETYPE_CHILD : xmlParserErrors = 1752 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_TYPE : xmlParserErrors = 1753 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_UNION_CHILD : xmlParserErrors = 1754 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEM_DEFAULT_FIXED : xmlParserErrors = 1755 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REGEXP_INVALID : xmlParserErrors = 1756 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_LOAD : xmlParserErrors = 1757 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTHING_TO_PARSE : xmlParserErrors = 1758 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOROOT : xmlParserErrors = 1759 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_GROUP : xmlParserErrors = 1760 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_TYPE : xmlParserErrors = 1761 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ELEMENT : xmlParserErrors = 1762 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ATTRGROUP : xmlParserErrors = 1763 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ATTR : xmlParserErrors = 1764 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_NOTATION : xmlParserErrors = 1765 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_PARSE : xmlParserErrors = 1766 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_PREFIX : xmlParserErrors = 1767 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DEF_AND_PREFIX : xmlParserErrors = 1768 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_INCLUDE_CHILD : xmlParserErrors = 1769 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INCLUDE_SCHEMA_NOT_URI : xmlParserErrors = 1770 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INCLUDE_SCHEMA_NO_URI : xmlParserErrors = 1771 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOT_SCHEMA : xmlParserErrors = 1772 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_MEMBER_TYPE : xmlParserErrors = 1773 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_USE : xmlParserErrors = 1774 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_RECURSIVE : xmlParserErrors = 1775 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPE : xmlParserErrors = 1776 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_COMBINATION : xmlParserErrors = 1777 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_INLINE_COMBINATION : xmlParserErrors = 1778 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MISSING_SIMPLETYPE_CHILD : xmlParserErrors = 1779 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_NAME : xmlParserErrors = 1780 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REF_AND_CONTENT : xmlParserErrors = 1781 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_1 : xmlParserErrors = 1782 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_2 : xmlParserErrors = 1783 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_3 : xmlParserErrors = 1784 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_4 : xmlParserErrors = 1785 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_5 : xmlParserErrors = 1786 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_1 : xmlParserErrors = 1787 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_1 : xmlParserErrors = 1788 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_2 : xmlParserErrors = 1789 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_2 : xmlParserErrors = 1790 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_3 : xmlParserErrors = 1791 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WILDCARD_INVALID_NS_MEMBER : xmlParserErrors = 1792 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INTERSECTION_NOT_EXPRESSIBLE : xmlParserErrors = 1793 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNION_NOT_EXPRESSIBLE : xmlParserErrors = 1794 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_3_1 : xmlParserErrors = 1795 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_3_2 : xmlParserErrors = 1796 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_1 : xmlParserErrors = 1797 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_2 : xmlParserErrors = 1798 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_3 : xmlParserErrors = 1799 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_3 : xmlParserErrors = 1800 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOROOT : xmlParserErrors = 1801 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_UNDECLAREDELEM : xmlParserErrors = 1802 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTTOPLEVEL : xmlParserErrors = 1803 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_MISSING : xmlParserErrors = 1804 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_WRONGELEM : xmlParserErrors = 1805 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTYPE : xmlParserErrors = 1806 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOROLLBACK : xmlParserErrors = 1807 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ISABSTRACT : xmlParserErrors = 1808 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTEMPTY : xmlParserErrors = 1809 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ELEMCONT : xmlParserErrors = 1810 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_HAVEDEFAULT : xmlParserErrors = 1811 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTNILLABLE : xmlParserErrors = 1812 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_EXTRACONTENT : xmlParserErrors = 1813 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INVALIDATTR : xmlParserErrors = 1814 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INVALIDELEM : xmlParserErrors = 1815 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTDETERMINIST : xmlParserErrors = 1816 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CONSTRUCT : xmlParserErrors = 1817 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INTERNAL : xmlParserErrors = 1818 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTSIMPLE : xmlParserErrors = 1819 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ATTRUNKNOWN : xmlParserErrors = 1820 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ATTRINVALID : xmlParserErrors = 1821 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_VALUE : xmlParserErrors = 1822 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_FACET : xmlParserErrors = 1823 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_1 : xmlParserErrors = 1824 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_2 : xmlParserErrors = 1825 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_3 : xmlParserErrors = 1826 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_3_1_1 : xmlParserErrors = 1827 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_3_1_2 : xmlParserErrors = 1828 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_FACET_VALID : xmlParserErrors = 1829 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_LENGTH_VALID : xmlParserErrors = 1830 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MINLENGTH_VALID : xmlParserErrors = 1831 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXLENGTH_VALID : xmlParserErrors = 1832 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MININCLUSIVE_VALID : xmlParserErrors = 1833 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXINCLUSIVE_VALID : xmlParserErrors = 1834 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MINEXCLUSIVE_VALID : xmlParserErrors = 1835 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXEXCLUSIVE_VALID : xmlParserErrors = 1836 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TOTALDIGITS_VALID : xmlParserErrors = 1837 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_FRACTIONDIGITS_VALID : xmlParserErrors = 1838 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_PATTERN_VALID : xmlParserErrors = 1839 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ENUMERATION_VALID : xmlParserErrors = 1840 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_1 : xmlParserErrors = 1841 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_2 : xmlParserErrors = 1842 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_3 : xmlParserErrors = 1843 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_4 : xmlParserErrors = 1844 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_1 : xmlParserErrors = 1845 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_2 : xmlParserErrors = 1846 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_1 : xmlParserErrors = 1847 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_2_1 : xmlParserErrors = 1848 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_2_2 : xmlParserErrors = 1849 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_1 : xmlParserErrors = 1850 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_2 : xmlParserErrors = 1851 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_3 : xmlParserErrors = 1852 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_1_1 : xmlParserErrors = 1853 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_1_2 : xmlParserErrors = 1854 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_1 : xmlParserErrors = 1855 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_1 : xmlParserErrors = 1856 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_2_1 : xmlParserErrors = 1857 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_2_2 : xmlParserErrors = 1858 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_6 : xmlParserErrors = 1859 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_7 : xmlParserErrors = 1860 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_1 : xmlParserErrors = 1861 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_2 : xmlParserErrors = 1862 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_3 : xmlParserErrors = 1863 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_4 : xmlParserErrors = 1864 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_1 : xmlParserErrors = 1865 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_1 : xmlParserErrors = 1866 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_2 : xmlParserErrors = 1867 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_4 : xmlParserErrors = 1868 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_5_1 : xmlParserErrors = 1869 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_5_2 : xmlParserErrors = 1870 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ELEMENT_CONTENT : xmlParserErrors = 1871 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_DOCUMENT_ELEMENT_MISSING : xmlParserErrors = 1872 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_1 : xmlParserErrors = 1873 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_AU : xmlParserErrors = 1874 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_1 : xmlParserErrors = 1875 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_2 : xmlParserErrors = 1876 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_IDC : xmlParserErrors = 1877 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_WILDCARD : xmlParserErrors = 1878 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_MISC : xmlParserErrors = 1879 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_UNKNOWN_SCHEME : xmlParserErrors = 1900 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_CHILDSEQ_START : xmlParserErrors = 1901 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_EVAL_FAILED : xmlParserErrors = 1902 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_EXTRA_OBJECTS : xmlParserErrors = 1903 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_CREATE_CTXT : xmlParserErrors = 1950 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_REQUIRES_UTF8 : xmlParserErrors = 1951 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_CREATE_STACK : xmlParserErrors = 1952 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_INVALID_NODE : xmlParserErrors = 1953 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_UNKNOW_NODE : xmlParserErrors = 1954 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_RELATIVE_NAMESPACE : xmlParserErrors = 1955 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_PASV_ANSWER : xmlParserErrors = 2000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_EPSV_ANSWER : xmlParserErrors = 2001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_ACCNT : xmlParserErrors = 2002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_URL_SYNTAX : xmlParserErrors = 2003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_URL_SYNTAX : xmlParserErrors = 2020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_USE_IP : xmlParserErrors = 2021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_UNKNOWN_HOST : xmlParserErrors = 2022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_1 : xmlParserErrors = 3000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_2 : xmlParserErrors = 3001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_3 : xmlParserErrors = 3002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_4 : xmlParserErrors = 3003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_RESOLVE : xmlParserErrors = 3004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE : xmlParserErrors = 3005 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE : xmlParserErrors = 3006 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPES : xmlParserErrors = 3007 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_1 : xmlParserErrors = 3008 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_2 : xmlParserErrors = 3009 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_3 : xmlParserErrors = 3010 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_1 : xmlParserErrors = 3011 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_2 : xmlParserErrors = 3012 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_3_1 : xmlParserErrors = 3013 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_3_2 : xmlParserErrors = 3014 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_1 : xmlParserErrors = 3015 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_1 : xmlParserErrors = 3016 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_2 : xmlParserErrors = 3017 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_1 : xmlParserErrors = 3018 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_2 : xmlParserErrors = 3019 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_3 : xmlParserErrors = 3020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_4 : xmlParserErrors = 3021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_5 : xmlParserErrors = 3022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_1 : xmlParserErrors = 3023 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1 : xmlParserErrors = 3024 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1_2 : xmlParserErrors = 3025 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_2 : xmlParserErrors = 3026 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_1 : xmlParserErrors = 3027 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_3 : xmlParserErrors = 3028 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_4 : xmlParserErrors = 3029 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_5 : xmlParserErrors = 3030 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_DERIVED_OK_2_1 : xmlParserErrors = 3031 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_DERIVED_OK_2_2 : xmlParserErrors = 3032 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ELEM_NOT_ALLOWED : xmlParserErrors = 3033 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ELEM_MISSING : xmlParserErrors = 3034 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_NOT_ALLOWED : xmlParserErrors = 3035 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_MISSING : xmlParserErrors = 3036 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_INVALID_VALUE : xmlParserErrors = 3037 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_1 : xmlParserErrors = 3038 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_2_1 : xmlParserErrors = 3039 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_2_2 : xmlParserErrors = 3040 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_3 : xmlParserErrors = 3041 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_1 : xmlParserErrors = 3042 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_2_1 : xmlParserErrors = 3043 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_2_2 : xmlParserErrors = 3044 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_2 : xmlParserErrors = 3045 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_3 : xmlParserErrors = 3046 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_4 : xmlParserErrors = 3047 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_5 : xmlParserErrors = 3048 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_6 : xmlParserErrors = 3049 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_INCLUDE : xmlParserErrors = 3050 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_1 : xmlParserErrors = 3051 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_2 : xmlParserErrors = 3052 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_3_1 : xmlParserErrors = 3053 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_3_2 : xmlParserErrors = 3054 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_4 : xmlParserErrors = 3055 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NO_XMLNS : xmlParserErrors = 3056 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NO_XSI : xmlParserErrors = 3057 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_1 : xmlParserErrors = 3058 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_1 : xmlParserErrors = 3059 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_2_1 : xmlParserErrors = 3060 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_2_2 : xmlParserErrors = 3061 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CVC_SIMPLE_TYPE : xmlParserErrors = 3062 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_1 : xmlParserErrors = 3063 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_1_1 : xmlParserErrors = 3064 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_1_2 : xmlParserErrors = 3065 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2 : xmlParserErrors = 3066 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2_1 : xmlParserErrors = 3067 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2_2 : xmlParserErrors = 3068 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INTERNAL : xmlParserErrors = 3069 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOT_DETERMINISTIC : xmlParserErrors = 3070 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_1 : xmlParserErrors = 3071 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_2 : xmlParserErrors = 3072 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_3 : xmlParserErrors = 3073 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MG_PROPS_CORRECT_1 : xmlParserErrors = 3074 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MG_PROPS_CORRECT_2 : xmlParserErrors = 3075 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_CT_1 : xmlParserErrors = 3076 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_3 : xmlParserErrors = 3077 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AU_PROPS_CORRECT_2 : xmlParserErrors = 3078 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_A_PROPS_CORRECT_2 : xmlParserErrors = 3079 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_C_PROPS_CORRECT : xmlParserErrors = 3080 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_REDEFINE : xmlParserErrors = 3081 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT : xmlParserErrors = 3082 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_SKIP_SCHEMA : xmlParserErrors = 3083 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_UNLOCATED_SCHEMA : xmlParserErrors = 3084 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_ATTR_REDECL_PROH : xmlParserErrors = 3085 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_ATTR_POINTLESS_PROH : xmlParserErrors = 3086 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AG_PROPS_CORRECT : xmlParserErrors = 3087 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_2 : xmlParserErrors = 3088 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AU_PROPS_CORRECT : xmlParserErrors = 3089 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_A_PROPS_CORRECT_3 : xmlParserErrors = 3090 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ALL_LIMITED : xmlParserErrors = 3091 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMATRONV_ASSERT : xmlParserErrors = 4000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMATRONV_REPORT : xmlParserErrors = 4001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_MODULE_OPEN : xmlParserErrors = 4900 ; # [doc = " File not found."] pub const xmlParserErrors_XML_MODULE_CLOSE : xmlParserErrors = 4901 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ELEMENT : xmlParserErrors = 5000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ATTRIBUTE : xmlParserErrors = 5001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_TEXT : xmlParserErrors = 5002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_CDATA : xmlParserErrors = 5003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ENTITYREF : xmlParserErrors = 5004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ENTITY : xmlParserErrors = 5005 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_PI : xmlParserErrors = 5006 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_COMMENT : xmlParserErrors = 5007 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_DOCTYPE : xmlParserErrors = 5008 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_FRAGMENT : xmlParserErrors = 5009 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_NOTATION : xmlParserErrors = 5010 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_UNKNOWN_NODE : xmlParserErrors = 5011 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_ENTITY_TYPE : xmlParserErrors = 5012 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_PARENT : xmlParserErrors = 5013 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_DOC : xmlParserErrors = 5014 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_NAME : xmlParserErrors = 5015 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_ELEM : xmlParserErrors = 5016 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_DOC : xmlParserErrors = 5017 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_PREV : xmlParserErrors = 5018 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_PREV : xmlParserErrors = 5019 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_NEXT : xmlParserErrors = 5020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_NEXT : xmlParserErrors = 5021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_DTD : xmlParserErrors = 5022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ATTR : xmlParserErrors = 5023 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ATTR_DECL : xmlParserErrors = 5024 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ELEM_DECL : xmlParserErrors = 5025 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ENTITY_DECL : xmlParserErrors = 5026 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_NS_DECL : xmlParserErrors = 5027 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_HREF : xmlParserErrors = 5028 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_PARENT : xmlParserErrors = 5029 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NS_SCOPE : xmlParserErrors = 5030 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NS_ANCESTOR : xmlParserErrors = 5031 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_UTF8 : xmlParserErrors = 5032 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_DICT : xmlParserErrors = 5033 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_NCNAME : xmlParserErrors = 5034 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_OUTSIDE_DICT : xmlParserErrors = 5035 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_NAME : xmlParserErrors = 5036 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NAME_NOT_NULL : xmlParserErrors = 5037 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_NAME : xmlParserErrors = 6000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_HANDLER : xmlParserErrors = 6001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_EXCESS_HANDLER : xmlParserErrors = 6002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_CONV_FAILED : xmlParserErrors = 6003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_OUTPUT : xmlParserErrors = 6004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_BUF_OVERFLOW : xmlParserErrors = 7000 ; # [doc = " Error codes. Note that only some codes are documented."] pub type xmlParserErrors = :: std :: os :: raw :: c_uint ; # [doc = " Generic error callback.\n\n @deprecated in favor of structured errors.\n @param ctx  user data\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlGenericErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Structured error callback receiving an xmlError.\n\n @param userData  user provided data for the error callback\n @param error  the error being raised"] pub type xmlStructuredErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (userData : * mut :: std :: os :: raw :: c_void , error : * const xmlError) > ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlLastError () -> * const xmlError ; } unsafe extern "C" { pub fn __xmlGenericError () -> * mut xmlGenericErrorFunc ; } unsafe extern "C" { pub fn __xmlGenericErrorContext () -> * mut * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn __xmlStructuredError () -> * mut xmlStructuredErrorFunc ; } unsafe extern "C" { pub fn __xmlStructuredErrorContext () -> * mut * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlSetGenericErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlGenericErrorFunc) ; } unsafe extern "C" { pub fn xmlSetStructuredErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlStructuredErrorFunc) ; } unsafe extern "C" { pub fn xmlThrDefSetGenericErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlGenericErrorFunc) ; } unsafe extern "C" { pub fn xmlThrDefSetStructuredErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlStructuredErrorFunc) ; } unsafe extern "C" { pub fn xmlParserError (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserWarning (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserValidityError (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserValidityWarning (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserPrintFileInfo (input : * mut _xmlParserInput) ; } unsafe extern "C" { pub fn xmlParserPrintFileContext (input : * mut _xmlParserInput) ; } unsafe extern "C" { pub fn xmlFormatError (err : * const xmlError , channel : xmlGenericErrorFunc , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlGetLastError () -> * const xmlError ; } unsafe extern "C" { pub fn xmlResetLastError () ; } unsafe extern "C" { pub fn xmlCtxtGetLastError (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlError ; } unsafe extern "C" { pub fn xmlCtxtResetLastError (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlResetError (err : * mut xmlError) ; } unsafe extern "C" { pub fn xmlCopyError (from : * const xmlError , to : * mut xmlError) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlLink { _unused : [u8 ; 0] , } # [doc = " Linked list item\n\n @deprecated Don't use in new code."] pub type xmlLink = _xmlLink ; pub type xmlLinkPtr = * mut xmlLink ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlList { _unused : [u8 ; 0] , } # [doc = " Linked list\n\n @deprecated Don't use in new code."] pub type xmlList = _xmlList ; pub type xmlListPtr = * mut xmlList ; # [doc = " Callback function used to free data from a list.\n\n @param lk  the data to deallocate"] pub type xmlListDeallocator = :: std :: option :: Option < unsafe extern "C" fn (lk : * mut xmlLink) > ; # [doc = " Callback function used to compare 2 data.\n\n @param data0  the first data\n @param data1  the second data\n @returns 0 is equality, -1 or 1 otherwise depending on the ordering."] pub type xmlListDataCompare = :: std :: option :: Option < unsafe extern "C" fn (data0 : * const :: std :: os :: raw :: c_void , data1 : * const :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback function used when walking a list with #xmlListWalk.\n\n @param data  the data found in the list\n @param user  extra user provided data to the walker\n @returns 0 to stop walking the list, 1 otherwise."] pub type xmlListWalker = :: std :: option :: Option < unsafe extern "C" fn (data : * const :: std :: os :: raw :: c_void , user : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; unsafe extern "C" { pub fn xmlListCreate (deallocator : xmlListDeallocator , compare : xmlListDataCompare) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlListDelete (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListSearch (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlListReverseSearch (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlListInsert (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListAppend (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveFirst (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveLast (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveAll (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListClear (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListEmpty (l : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListFront (l : * mut xmlList) -> * mut xmlLink ; } unsafe extern "C" { pub fn xmlListEnd (l : * mut xmlList) -> * mut xmlLink ; } unsafe extern "C" { pub fn xmlListSize (l : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListPopFront (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListPopBack (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListPushFront (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListPushBack (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListReverse (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListSort (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListWalk (l : * mut xmlList , walker : xmlListWalker , user : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlListReverseWalk (l : * mut xmlList , walker : xmlListWalker , user : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlListMerge (l1 : * mut xmlList , l2 : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListDup (old : * mut xmlList) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlListCopy (cur : * mut xmlList , old : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlLinkGetData (lk : * mut xmlLink) -> * mut :: std :: os :: raw :: c_void ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAutomata { _unused : [u8 ; 0] , } # [doc = " A libxml automata description\n\n It can be compiled into a regexp"] pub type xmlAutomata = _xmlAutomata ; pub type xmlAutomataPtr = * mut xmlAutomata ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAutomataState { _unused : [u8 ; 0] , } # [doc = " A state in the automata description"] pub type xmlAutomataState = _xmlAutomataState ; pub type xmlAutomataStatePtr = * mut xmlAutomataState ; unsafe extern "C" { pub fn xmlNewAutomata () -> * mut xmlAutomata ; } unsafe extern "C" { pub fn xmlFreeAutomata (am : * mut xmlAutomata) ; } unsafe extern "C" { pub fn xmlAutomataGetInitState (am : * mut xmlAutomata) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataSetFinalState (am : * mut xmlAutomata , state : * mut xmlAutomataState) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAutomataNewState (am : * mut xmlAutomata) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewTransition (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewTransition2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewNegTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountTrans2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewOnceTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewOnceTrans2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewAllTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , lax : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewEpsilon (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountedTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , counter : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCounterTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , counter : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCounter (am : * mut xmlAutomata , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAutomataCompile (am : * mut xmlAutomata) -> * mut _xmlRegexp ; } unsafe extern "C" { pub fn xmlAutomataIsDeterminist (am : * mut xmlAutomata) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlValidState { _unused : [u8 ; 0] , } pub type xmlValidState = _xmlValidState ; pub type xmlValidStatePtr = * mut xmlValidState ; # [doc = " Report a validity error.\n\n @param ctx  user data (usually an xmlValidCtxt)\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlValidityErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Report a validity warning.\n\n @param ctx  user data (usually an xmlValidCtxt)\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlValidityWarningFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " An xmlValidCtxt is used for error reporting when validating."] pub type xmlValidCtxt = _xmlValidCtxt ; pub type xmlValidCtxtPtr = * mut xmlValidCtxt ; # [doc = " An xmlValidCtxt is used for error reporting when validating."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlValidCtxt { pub userData : * mut :: std :: os :: raw :: c_void , pub error : xmlValidityErrorFunc , pub warning : xmlValidityWarningFunc , pub node : * mut xmlNode , pub nodeNr : :: std :: os :: raw :: c_int , pub nodeMax : :: std :: os :: raw :: c_int , pub nodeTab : * mut * mut xmlNode , pub flags : :: std :: os :: raw :: c_uint , pub doc : * mut xmlDoc , pub valid : :: std :: os :: raw :: c_int , pub vstate : * mut xmlValidState , pub vstateNr : :: std :: os :: raw :: c_int , pub vstateMax : :: std :: os :: raw :: c_int , pub vstateTab : * mut xmlValidState , pub am : * mut xmlAutomata , pub state : * mut xmlAutomataState , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlValidCtxt"] [:: std :: mem :: size_of :: < _xmlValidCtxt > () - 112usize] ; ["Alignment of _xmlValidCtxt"] [:: std :: mem :: align_of :: < _xmlValidCtxt > () - 8usize] ; ["Offset of field: _xmlValidCtxt::userData"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , userData) - 0usize] ; ["Offset of field: _xmlValidCtxt::error"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , error) - 8usize] ; ["Offset of field: _xmlValidCtxt::warning"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , warning) - 16usize] ; ["Offset of field: _xmlValidCtxt::node"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , node) - 24usize] ; ["Offset of field: _xmlValidCtxt::nodeNr"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeNr) - 32usize] ; ["Offset of field: _xmlValidCtxt::nodeMax"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeMax) - 36usize] ; ["Offset of field: _xmlValidCtxt::nodeTab"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeTab) - 40usize] ; ["Offset of field: _xmlValidCtxt::flags"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , flags) - 48usize] ; ["Offset of field: _xmlValidCtxt::doc"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , doc) - 56usize] ; ["Offset of field: _xmlValidCtxt::valid"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , valid) - 64usize] ; ["Offset of field: _xmlValidCtxt::vstate"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstate) - 72usize] ; ["Offset of field: _xmlValidCtxt::vstateNr"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateNr) - 80usize] ; ["Offset of field: _xmlValidCtxt::vstateMax"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateMax) - 84usize] ; ["Offset of field: _xmlValidCtxt::vstateTab"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateTab) - 88usize] ; ["Offset of field: _xmlValidCtxt::am"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , am) - 96usize] ; ["Offset of field: _xmlValidCtxt::state"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , state) - 104usize] ; } ; pub type xmlNotationTable = _xmlHashTable ; pub type xmlNotationTablePtr = * mut xmlNotationTable ; pub type xmlElementTable = _xmlHashTable ; pub type xmlElementTablePtr = * mut xmlElementTable ; pub type xmlAttributeTable = _xmlHashTable ; pub type xmlAttributeTablePtr = * mut xmlAttributeTable ; pub type xmlIDTable = _xmlHashTable ; pub type xmlIDTablePtr = * mut xmlIDTable ; pub type xmlRefTable = _xmlHashTable ; pub type xmlRefTablePtr = * mut xmlRefTable ; unsafe extern "C" { pub fn xmlAddNotationDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlNotation ; } unsafe extern "C" { pub fn xmlCopyNotationTable (table : * mut xmlNotationTable) -> * mut xmlNotationTable ; } unsafe extern "C" { pub fn xmlFreeNotationTable (table : * mut xmlNotationTable) ; } unsafe extern "C" { pub fn xmlDumpNotationDecl (buf : * mut xmlBuffer , nota : * mut xmlNotation) ; } unsafe extern "C" { pub fn xmlDumpNotationTable (buf : * mut xmlBuffer , table : * mut xmlNotationTable) ; } unsafe extern "C" { pub fn xmlNewElementContent (name : * const xmlChar , type_ : xmlElementContentType) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlCopyElementContent (content : * mut xmlElementContent) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlFreeElementContent (cur : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlNewDocElementContent (doc : * mut xmlDoc , name : * const xmlChar , type_ : xmlElementContentType) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlCopyDocElementContent (doc : * mut xmlDoc , content : * mut xmlElementContent) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlFreeDocElementContent (doc : * mut xmlDoc , cur : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlSnprintfElementContent (buf : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , content : * mut xmlElementContent , englob : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSprintfElementContent (buf : * mut :: std :: os :: raw :: c_char , content : * mut xmlElementContent , englob : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlAddElementDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , name : * const xmlChar , type_ : xmlElementTypeVal , content : * mut xmlElementContent) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlCopyElementTable (table : * mut xmlElementTable) -> * mut xmlElementTable ; } unsafe extern "C" { pub fn xmlFreeElementTable (table : * mut xmlElementTable) ; } unsafe extern "C" { pub fn xmlDumpElementTable (buf : * mut xmlBuffer , table : * mut xmlElementTable) ; } unsafe extern "C" { pub fn xmlDumpElementDecl (buf : * mut xmlBuffer , elem : * mut xmlElement) ; } unsafe extern "C" { pub fn xmlCreateEnumeration (name : * const xmlChar) -> * mut xmlEnumeration ; } unsafe extern "C" { pub fn xmlFreeEnumeration (cur : * mut xmlEnumeration) ; } unsafe extern "C" { pub fn xmlCopyEnumeration (cur : * mut xmlEnumeration) -> * mut xmlEnumeration ; } unsafe extern "C" { pub fn xmlAddAttributeDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar , ns : * const xmlChar , type_ : xmlAttributeType , def : xmlAttributeDefault , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlCopyAttributeTable (table : * mut xmlAttributeTable) -> * mut xmlAttributeTable ; } unsafe extern "C" { pub fn xmlFreeAttributeTable (table : * mut xmlAttributeTable) ; } unsafe extern "C" { pub fn xmlDumpAttributeTable (buf : * mut xmlBuffer , table : * mut xmlAttributeTable) ; } unsafe extern "C" { pub fn xmlDumpAttributeDecl (buf : * mut xmlBuffer , attr : * mut xmlAttribute) ; } unsafe extern "C" { pub fn xmlAddIDSafe (attr : * mut xmlAttr , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddID (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , value : * const xmlChar , attr : * mut xmlAttr) -> * mut xmlID ; } unsafe extern "C" { pub fn xmlFreeIDTable (table : * mut xmlIDTable) ; } unsafe extern "C" { pub fn xmlGetID (doc : * mut xmlDoc , ID : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlIsID (doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveID (doc : * mut xmlDoc , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddRef (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , value : * const xmlChar , attr : * mut xmlAttr) -> * mut xmlRef ; } unsafe extern "C" { pub fn xmlFreeRefTable (table : * mut xmlRefTable) ; } unsafe extern "C" { pub fn xmlIsRef (doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveRef (doc : * mut xmlDoc , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetRefs (doc : * mut xmlDoc , ID : * const xmlChar) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlNewValidCtxt () -> * mut xmlValidCtxt ; } unsafe extern "C" { pub fn xmlFreeValidCtxt (arg1 : * mut xmlValidCtxt) ; } unsafe extern "C" { pub fn xmlValidateRoot (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateElementDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlElement) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidNormalizeAttributeValue (doc : * mut xmlDoc , elem : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlValidCtxtNormalizeAttributeValue (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlValidateAttributeDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , attr : * mut xmlAttribute) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateAttributeValue (type_ : xmlAttributeType , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNotationDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , nota : * mut xmlNotation) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDtd (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , dtd : * mut xmlDtd) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDtdFinal (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDocument (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneAttribute (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneNamespace (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , prefix : * const xmlChar , ns : * mut xmlNs , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDocumentFinal (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNotationUse (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , notationName : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsMixedElement (doc : * mut xmlDoc , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetDtdAttrDesc (dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlGetDtdQAttrDesc (dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar , prefix : * const xmlChar) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlGetDtdNotationDesc (dtd : * mut xmlDtd , name : * const xmlChar) -> * mut xmlNotation ; } unsafe extern "C" { pub fn xmlGetDtdQElementDesc (dtd : * mut xmlDtd , name : * const xmlChar , prefix : * const xmlChar) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlGetDtdElementDesc (dtd : * mut xmlDtd , name : * const xmlChar) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlValidGetPotentialChildren (ctree : * mut xmlElementContent , names : * mut * const xmlChar , len : * mut :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidGetValidElements (prev : * mut xmlNode , next : * mut xmlNode , names : * mut * const xmlChar , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNameValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNamesValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNmtokenValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNmtokensValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidBuildContentModel (ctxt : * mut xmlValidCtxt , elem : * mut xmlElement) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePushElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , qname : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePushCData (ctxt : * mut xmlValidCtxt , data : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePopElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , qname : * const xmlChar) -> :: std :: os :: raw :: c_int ; } # [doc = " internal general entity"] pub const xmlEntityType_XML_INTERNAL_GENERAL_ENTITY : xmlEntityType = 1 ; # [doc = " external general parsed entity"] pub const xmlEntityType_XML_EXTERNAL_GENERAL_PARSED_ENTITY : xmlEntityType = 2 ; # [doc = " external general unparsed entity"] pub const xmlEntityType_XML_EXTERNAL_GENERAL_UNPARSED_ENTITY : xmlEntityType = 3 ; # [doc = " internal parameter entity"] pub const xmlEntityType_XML_INTERNAL_PARAMETER_ENTITY : xmlEntityType = 4 ; # [doc = " external parameter entity"] pub const xmlEntityType_XML_EXTERNAL_PARAMETER_ENTITY : xmlEntityType = 5 ; # [doc = " internal predefined entity"] pub const xmlEntityType_XML_INTERNAL_PREDEFINED_ENTITY : xmlEntityType = 6 ; # [doc = " The different entity types."] pub type xmlEntityType = :: std :: os :: raw :: c_uint ; # [doc = " An entity declaration"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlEntity { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ENTITY_DECL, must be second !"] pub type_ : xmlElementType , # [doc = " Entity name"] pub name : * const xmlChar , # [doc = " First child link"] pub children : * mut _xmlNode , # [doc = " Last child link"] pub last : * mut _xmlNode , # [doc = " -> DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling link"] pub next : * mut _xmlNode , # [doc = " previous sibling link"] pub prev : * mut _xmlNode , # [doc = " the containing document"] pub doc : * mut _xmlDoc , # [doc = " content without ref substitution"] pub orig : * mut xmlChar , # [doc = " content or ndata if unparsed"] pub content : * mut xmlChar , # [doc = " the content length"] pub length : :: std :: os :: raw :: c_int , # [doc = " The entity type"] pub etype : xmlEntityType , # [doc = " External identifier for PUBLIC"] pub ExternalID : * const xmlChar , # [doc = " URI for a SYSTEM or PUBLIC Entity"] pub SystemID : * const xmlChar , # [doc = " unused"] pub nexte : * mut _xmlEntity , # [doc = " the full URI as computed"] pub URI : * const xmlChar , # [doc = " unused"] pub owner : :: std :: os :: raw :: c_int , # [doc = " various flags"] pub flags : :: std :: os :: raw :: c_int , # [doc = " expanded size"] pub expandedSize : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlEntity"] [:: std :: mem :: size_of :: < _xmlEntity > () - 144usize] ; ["Alignment of _xmlEntity"] [:: std :: mem :: align_of :: < _xmlEntity > () - 8usize] ; ["Offset of field: _xmlEntity::_private"] [:: std :: mem :: offset_of ! (_xmlEntity , _private) - 0usize] ; ["Offset of field: _xmlEntity::type_"] [:: std :: mem :: offset_of ! (_xmlEntity , type_) - 8usize] ; ["Offset of field: _xmlEntity::name"] [:: std :: mem :: offset_of ! (_xmlEntity , name) - 16usize] ; ["Offset of field: _xmlEntity::children"] [:: std :: mem :: offset_of ! (_xmlEntity , children) - 24usize] ; ["Offset of field: _xmlEntity::last"] [:: std :: mem :: offset_of ! (_xmlEntity , last) - 32usize] ; ["Offset of field: _xmlEntity::parent"] [:: std :: mem :: offset_of ! (_xmlEntity , parent) - 40usize] ; ["Offset of field: _xmlEntity::next"] [:: std :: mem :: offset_of ! (_xmlEntity , next) - 48usize] ; ["Offset of field: _xmlEntity::prev"] [:: std :: mem :: offset_of ! (_xmlEntity , prev) - 56usize] ; ["Offset of field: _xmlEntity::doc"] [:: std :: mem :: offset_of ! (_xmlEntity , doc) - 64usize] ; ["Offset of field: _xmlEntity::orig"] [:: std :: mem :: offset_of ! (_xmlEntity , orig) - 72usize] ; ["Offset of field: _xmlEntity::content"] [:: std :: mem :: offset_of ! (_xmlEntity , content) - 80usize] ; ["Offset of field: _xmlEntity::length"] [:: std :: mem :: offset_of ! (_xmlEntity , length) - 88usize] ; ["Offset of field: _xmlEntity::etype"] [:: std :: mem :: offset_of ! (_xmlEntity , etype) - 92usize] ; ["Offset of field: _xmlEntity::ExternalID"] [:: std :: mem :: offset_of ! (_xmlEntity , ExternalID) - 96usize] ; ["Offset of field: _xmlEntity::SystemID"] [:: std :: mem :: offset_of ! (_xmlEntity , SystemID) - 104usize] ; ["Offset of field: _xmlEntity::nexte"] [:: std :: mem :: offset_of ! (_xmlEntity , nexte) - 112usize] ; ["Offset of field: _xmlEntity::URI"] [:: std :: mem :: offset_of ! (_xmlEntity , URI) - 120usize] ; ["Offset of field: _xmlEntity::owner"] [:: std :: mem :: offset_of ! (_xmlEntity , owner) - 128usize] ; ["Offset of field: _xmlEntity::flags"] [:: std :: mem :: offset_of ! (_xmlEntity , flags) - 132usize] ; ["Offset of field: _xmlEntity::expandedSize"] [:: std :: mem :: offset_of ! (_xmlEntity , expandedSize) - 136usize] ; } ; pub type xmlEntitiesTable = _xmlHashTable ; pub type xmlEntitiesTablePtr = * mut xmlEntitiesTable ; unsafe extern "C" { pub fn xmlNewEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlFreeEntity (entity : * mut xmlEntity) ; } unsafe extern "C" { pub fn xmlAddEntity (doc : * mut xmlDoc , extSubset : :: std :: os :: raw :: c_int , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar , out : * mut * mut xmlEntity) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddDocEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlAddDtdEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetPredefinedEntity (name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetDocEntity (doc : * const xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetDtdEntity (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetParameterEntity (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlEncodeEntitiesReentrant (doc : * mut xmlDoc , input : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlEncodeSpecialChars (doc : * const xmlDoc , input : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCreateEntitiesTable () -> * mut xmlEntitiesTable ; } unsafe extern "C" { pub fn xmlCopyEntitiesTable (table : * mut xmlEntitiesTable) -> * mut xmlEntitiesTable ; } unsafe extern "C" { pub fn xmlFreeEntitiesTable (table : * mut xmlEntitiesTable) ; } unsafe extern "C" { pub fn xmlDumpEntitiesTable (buf : * mut xmlBuffer , table : * mut xmlEntitiesTable) ; } unsafe extern "C" { pub fn xmlDumpEntityDecl (buf : * mut xmlBuffer , ent : * mut xmlEntity) ; } # [doc = " Success"] pub const xmlCharEncError_XML_ENC_ERR_SUCCESS : xmlCharEncError = 0 ; # [doc = " Internal or unclassified error"] pub const xmlCharEncError_XML_ENC_ERR_INTERNAL : xmlCharEncError = - 1 ; # [doc = " Invalid or untranslatable input sequence"] pub const xmlCharEncError_XML_ENC_ERR_INPUT : xmlCharEncError = - 2 ; # [doc = " Not enough space in output buffer"] pub const xmlCharEncError_XML_ENC_ERR_SPACE : xmlCharEncError = - 3 ; # [doc = " Out-of-memory error"] pub const xmlCharEncError_XML_ENC_ERR_MEMORY : xmlCharEncError = - 4 ; # [doc = " Encoding conversion errors"] pub type xmlCharEncError = :: std :: os :: raw :: c_int ; # [doc = " No char encoding detected"] pub const xmlCharEncoding_XML_CHAR_ENCODING_ERROR : xmlCharEncoding = - 1 ; # [doc = " No char encoding detected"] pub const xmlCharEncoding_XML_CHAR_ENCODING_NONE : xmlCharEncoding = 0 ; # [doc = " UTF-8"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF8 : xmlCharEncoding = 1 ; # [doc = " UTF-16 little endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16LE : xmlCharEncoding = 2 ; # [doc = " UTF-16 big endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16BE : xmlCharEncoding = 3 ; # [doc = " UCS-4 little endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4LE : xmlCharEncoding = 4 ; # [doc = " UCS-4 big endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4BE : xmlCharEncoding = 5 ; # [doc = " EBCDIC uh!"] pub const xmlCharEncoding_XML_CHAR_ENCODING_EBCDIC : xmlCharEncoding = 6 ; # [doc = " UCS-4 unusual ordering"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4_2143 : xmlCharEncoding = 7 ; # [doc = " UCS-4 unusual ordering"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4_3412 : xmlCharEncoding = 8 ; # [doc = " UCS-2"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS2 : xmlCharEncoding = 9 ; # [doc = " ISO-8859-1 ISO Latin 1"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_1 : xmlCharEncoding = 10 ; # [doc = " ISO-8859-2 ISO Latin 2"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_2 : xmlCharEncoding = 11 ; # [doc = " ISO-8859-3"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_3 : xmlCharEncoding = 12 ; # [doc = " ISO-8859-4"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_4 : xmlCharEncoding = 13 ; # [doc = " ISO-8859-5"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_5 : xmlCharEncoding = 14 ; # [doc = " ISO-8859-6"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_6 : xmlCharEncoding = 15 ; # [doc = " ISO-8859-7"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_7 : xmlCharEncoding = 16 ; # [doc = " ISO-8859-8"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_8 : xmlCharEncoding = 17 ; # [doc = " ISO-8859-9"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_9 : xmlCharEncoding = 18 ; # [doc = " ISO-2022-JP"] pub const xmlCharEncoding_XML_CHAR_ENCODING_2022_JP : xmlCharEncoding = 19 ; # [doc = " Shift_JIS"] pub const xmlCharEncoding_XML_CHAR_ENCODING_SHIFT_JIS : xmlCharEncoding = 20 ; # [doc = " EUC-JP"] pub const xmlCharEncoding_XML_CHAR_ENCODING_EUC_JP : xmlCharEncoding = 21 ; # [doc = " pure ASCII"] pub const xmlCharEncoding_XML_CHAR_ENCODING_ASCII : xmlCharEncoding = 22 ; # [doc = " UTF-16 native, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16 : xmlCharEncoding = 23 ; # [doc = " HTML (output only), available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_HTML : xmlCharEncoding = 24 ; # [doc = " ISO-8859-10, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_10 : xmlCharEncoding = 25 ; # [doc = " ISO-8859-11, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_11 : xmlCharEncoding = 26 ; # [doc = " ISO-8859-13, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_13 : xmlCharEncoding = 27 ; # [doc = " ISO-8859-14, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_14 : xmlCharEncoding = 28 ; # [doc = " ISO-8859-15, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_15 : xmlCharEncoding = 29 ; # [doc = " ISO-8859-16, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_16 : xmlCharEncoding = 30 ; # [doc = " windows-1252, available since 2.15"] pub const xmlCharEncoding_XML_CHAR_ENCODING_WINDOWS_1252 : xmlCharEncoding = 31 ; # [doc = " Predefined values for some standard encodings."] pub type xmlCharEncoding = :: std :: os :: raw :: c_int ; # [doc = " Create converter for input (conversion to UTF-8)"] pub const xmlCharEncFlags_XML_ENC_INPUT : xmlCharEncFlags = 1 ; # [doc = " Create converter for output (conversion from UTF-8)"] pub const xmlCharEncFlags_XML_ENC_OUTPUT : xmlCharEncFlags = 2 ; # [doc = " Use HTML5 mappings"] pub const xmlCharEncFlags_XML_ENC_HTML : xmlCharEncFlags = 4 ; # [doc = " Encoding conversion flags"] pub type xmlCharEncFlags = :: std :: os :: raw :: c_uint ; # [doc = " Convert characters to UTF-8.\n\n On success, the value of `inlen` after return is the number of\n bytes consumed and `outlen` is the number of bytes produced.\n\n @param out  a pointer to an array of bytes to store the UTF-8 result\n @param outlen  the length of `out`\n @param in  a pointer to an array of chars in the original encoding\n @param inlen  the length of `in`\n @returns the number of bytes written or an xmlCharEncError code."] pub type xmlCharEncodingInputFunc = :: std :: option :: Option < unsafe extern "C" fn (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Convert characters from UTF-8.\n\n On success, the value of `inlen` after return is the number of\n bytes consumed and `outlen` is the number of bytes produced.\n\n @param out  a pointer to an array of bytes to store the result\n @param outlen  the length of `out`\n @param in  a pointer to an array of UTF-8 chars\n @param inlen  the length of `in`\n @returns the number of bytes written or an xmlCharEncError code."] pub type xmlCharEncodingOutputFunc = :: std :: option :: Option < unsafe extern "C" fn (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Convert between character encodings.\n\n The value of `inlen` after return is the number of bytes consumed\n and `outlen` is the number of bytes produced.\n\n If the converter can consume partial multi-byte sequences, the\n `flush` flag can be used to detect truncated sequences at EOF.\n Otherwise, the flag can be ignored.\n\n @param vctxt  conversion context\n @param out  a pointer to an array of bytes to store the result\n @param outlen  the length of `out`\n @param in  a pointer to an array of input bytes\n @param inlen  the length of `in`\n @param flush  end of input\n @returns an xmlCharEncError code."] pub type xmlCharEncConvFunc = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void , out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int , flush : :: std :: os :: raw :: c_int) -> xmlCharEncError > ; # [doc = " Free a conversion context.\n\n @param vctxt  conversion context"] pub type xmlCharEncConvCtxtDtor = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void) > ; # [doc = " Character encoding converter"] pub type xmlCharEncodingHandler = _xmlCharEncodingHandler ; pub type xmlCharEncodingHandlerPtr = * mut xmlCharEncodingHandler ; # [doc = " A character encoding conversion handler for non UTF-8 encodings.\n\n This structure will be made private."] # [repr (C)] # [derive (Copy , Clone)] pub struct _xmlCharEncodingHandler { pub name : * mut :: std :: os :: raw :: c_char , pub input : _xmlCharEncodingHandler__bindgen_ty_1 , pub output : _xmlCharEncodingHandler__bindgen_ty_2 , pub inputCtxt : * mut :: std :: os :: raw :: c_void , pub outputCtxt : * mut :: std :: os :: raw :: c_void , pub ctxtDtor : xmlCharEncConvCtxtDtor , pub flags : :: std :: os :: raw :: c_int , } # [repr (C)] # [derive (Copy , Clone)] pub union _xmlCharEncodingHandler__bindgen_ty_1 { pub func : xmlCharEncConvFunc , pub legacyFunc : xmlCharEncodingInputFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler__bindgen_ty_1"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler__bindgen_ty_1 > () - 8usize] ; ["Alignment of _xmlCharEncodingHandler__bindgen_ty_1"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler__bindgen_ty_1 > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_1::func"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_1 , func) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_1::legacyFunc"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_1 , legacyFunc) - 0usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union _xmlCharEncodingHandler__bindgen_ty_2 { pub func : xmlCharEncConvFunc , pub legacyFunc : xmlCharEncodingOutputFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler__bindgen_ty_2"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler__bindgen_ty_2 > () - 8usize] ; ["Alignment of _xmlCharEncodingHandler__bindgen_ty_2"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler__bindgen_ty_2 > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_2::func"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_2 , func) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_2::legacyFunc"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_2 , legacyFunc) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler > () - 56usize] ; ["Alignment of _xmlCharEncodingHandler"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler::name"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , name) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler::input"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , input) - 8usize] ; ["Offset of field: _xmlCharEncodingHandler::output"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , output) - 16usize] ; ["Offset of field: _xmlCharEncodingHandler::inputCtxt"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , inputCtxt) - 24usize] ; ["Offset of field: _xmlCharEncodingHandler::outputCtxt"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , outputCtxt) - 32usize] ; ["Offset of field: _xmlCharEncodingHandler::ctxtDtor"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , ctxtDtor) - 40usize] ; ["Offset of field: _xmlCharEncodingHandler::flags"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , flags) - 48usize] ; } ; # [doc = " If this function returns XML_ERR_OK, it must fill the `out`\n pointer with an encoding handler. The handler can be obtained\n from #xmlCharEncNewCustomHandler.\n\n `flags` can contain XML_ENC_INPUT, XML_ENC_OUTPUT or both.\n\n @param vctxt  user data\n @param name  encoding name\n @param flags  bit mask of flags\n @param out  pointer to resulting handler\n @returns an xmlParserErrors code."] pub type xmlCharEncConvImpl = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void , name : * const :: std :: os :: raw :: c_char , flags : xmlCharEncFlags , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors > ; unsafe extern "C" { pub fn xmlInitCharEncodingHandlers () ; } unsafe extern "C" { pub fn xmlCleanupCharEncodingHandlers () ; } unsafe extern "C" { pub fn xmlRegisterCharEncodingHandler (handler : * mut xmlCharEncodingHandler) ; } unsafe extern "C" { pub fn xmlLookupCharEncodingHandler (enc : xmlCharEncoding , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlOpenCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , output : :: std :: os :: raw :: c_int , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlCreateCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , flags : xmlCharEncFlags , impl_ : xmlCharEncConvImpl , implCtxt : * mut :: std :: os :: raw :: c_void , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlGetCharEncodingHandler (enc : xmlCharEncoding) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlFindCharEncodingHandler (name : * const :: std :: os :: raw :: c_char) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlNewCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , input : xmlCharEncodingInputFunc , output : xmlCharEncodingOutputFunc) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlCharEncNewCustomHandler (name : * const :: std :: os :: raw :: c_char , input : xmlCharEncConvFunc , output : xmlCharEncConvFunc , ctxtDtor : xmlCharEncConvCtxtDtor , inputCtxt : * mut :: std :: os :: raw :: c_void , outputCtxt : * mut :: std :: os :: raw :: c_void , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlAddEncodingAlias (name : * const :: std :: os :: raw :: c_char , alias : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDelEncodingAlias (alias : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetEncodingAlias (alias : * const :: std :: os :: raw :: c_char) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlCleanupEncodingAliases () ; } unsafe extern "C" { pub fn xmlParseCharEncoding (name : * const :: std :: os :: raw :: c_char) -> xmlCharEncoding ; } unsafe extern "C" { pub fn xmlGetCharEncodingName (enc : xmlCharEncoding) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlDetectCharEncoding (in_ : * const :: std :: os :: raw :: c_uchar , len : :: std :: os :: raw :: c_int) -> xmlCharEncoding ; } unsafe extern "C" { pub fn xmlCharEncOutFunc (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncInFunc (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncFirstLine (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncCloseFunc (handler : * mut xmlCharEncodingHandler) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8ToIsolat1 (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsolat1ToUTF8 (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " Callback used in the I/O Input API to detect if the current handler\n can provide input functionality for this resource.\n\n @param filename  the filename or URI\n @returns 1 if yes and 0 if another Input module should be used"] pub type xmlInputMatchCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Input API to open the resource\n\n @param filename  the filename or URI\n @returns an Input context or NULL in case or error"] pub type xmlInputOpenCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback used in the I/O Input API to read the resource\n\n @param context  an Input context\n @param buffer  the buffer to store data read\n @param len  the length of the buffer in bytes\n @returns the number of bytes read or -1 in case of error"] pub type xmlInputReadCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Input API to close the resource\n\n @param context  an Input context\n @returns 0 or -1 in case of error"] pub type xmlInputCloseCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to detect if the current handler\n can provide output functionality for this resource.\n\n @param filename  the filename or URI\n @returns 1 if yes and 0 if another Output module should be used"] pub type xmlOutputMatchCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to open the resource\n\n @param filename  the filename or URI\n @returns an Output context or NULL in case or error"] pub type xmlOutputOpenCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback used in the I/O Output API to write to the resource\n\n @param context  an Output context\n @param buffer  the buffer of data to write\n @param len  the length of the buffer in bytes\n @returns the number of bytes written or -1 in case of error"] pub type xmlOutputWriteCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void , buffer : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to close the resource\n\n @param context  an Output context\n @returns 0 or -1 in case of error"] pub type xmlOutputCloseCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Signature for the function doing the lookup for a suitable input method\n corresponding to an URI.\n\n @param URI  the URI to read from\n @param enc  the requested source encoding\n @returns the new xmlParserInputBuffer in case of success or NULL if no\n         method was found."] pub type xmlParserInputBufferCreateFilenameFunc = :: std :: option :: Option < unsafe extern "C" fn (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer > ; # [doc = " Signature for the function doing the lookup for a suitable output method\n corresponding to an URI.\n\n @param URI  the URI to write to\n @param encoder  the requested target encoding\n @param compression  compression level\n @returns the new xmlOutputBuffer in case of success or NULL if no\n         method was found."] pub type xmlOutputBufferCreateFilenameFunc = :: std :: option :: Option < unsafe extern "C" fn (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer > ; # [doc = " Parser input buffer\n\n This struct and all related functions should ultimately\n be removed from the public interface."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserInputBuffer { pub context : * mut :: std :: os :: raw :: c_void , pub readcallback : xmlInputReadCallback , pub closecallback : xmlInputCloseCallback , pub encoder : * mut xmlCharEncodingHandler , pub buffer : * mut xmlBuf , pub raw : * mut xmlBuf , pub compressed : :: std :: os :: raw :: c_int , pub error : :: std :: os :: raw :: c_int , pub rawconsumed : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserInputBuffer"] [:: std :: mem :: size_of :: < _xmlParserInputBuffer > () - 64usize] ; ["Alignment of _xmlParserInputBuffer"] [:: std :: mem :: align_of :: < _xmlParserInputBuffer > () - 8usize] ; ["Offset of field: _xmlParserInputBuffer::context"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , context) - 0usize] ; ["Offset of field: _xmlParserInputBuffer::readcallback"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , readcallback) - 8usize] ; ["Offset of field: _xmlParserInputBuffer::closecallback"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , closecallback) - 16usize] ; ["Offset of field: _xmlParserInputBuffer::encoder"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , encoder) - 24usize] ; ["Offset of field: _xmlParserInputBuffer::buffer"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , buffer) - 32usize] ; ["Offset of field: _xmlParserInputBuffer::raw"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , raw) - 40usize] ; ["Offset of field: _xmlParserInputBuffer::compressed"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , compressed) - 48usize] ; ["Offset of field: _xmlParserInputBuffer::error"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , error) - 52usize] ; ["Offset of field: _xmlParserInputBuffer::rawconsumed"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , rawconsumed) - 56usize] ; } ; # [doc = " Output buffer"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlOutputBuffer { pub context : * mut :: std :: os :: raw :: c_void , pub writecallback : xmlOutputWriteCallback , pub closecallback : xmlOutputCloseCallback , pub encoder : * mut xmlCharEncodingHandler , pub buffer : * mut xmlBuf , pub conv : * mut xmlBuf , pub written : :: std :: os :: raw :: c_int , pub error : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlOutputBuffer"] [:: std :: mem :: size_of :: < _xmlOutputBuffer > () - 56usize] ; ["Alignment of _xmlOutputBuffer"] [:: std :: mem :: align_of :: < _xmlOutputBuffer > () - 8usize] ; ["Offset of field: _xmlOutputBuffer::context"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , context) - 0usize] ; ["Offset of field: _xmlOutputBuffer::writecallback"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , writecallback) - 8usize] ; ["Offset of field: _xmlOutputBuffer::closecallback"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , closecallback) - 16usize] ; ["Offset of field: _xmlOutputBuffer::encoder"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , encoder) - 24usize] ; ["Offset of field: _xmlOutputBuffer::buffer"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , buffer) - 32usize] ; ["Offset of field: _xmlOutputBuffer::conv"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , conv) - 40usize] ; ["Offset of field: _xmlOutputBuffer::written"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , written) - 48usize] ; ["Offset of field: _xmlOutputBuffer::error"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , error) - 52usize] ; } ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlParserInputBufferCreateFilenameValue () -> * mut xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn __xmlOutputBufferCreateFilenameValue () -> * mut xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { # [doc = " @endcond"] pub fn xmlCleanupInputCallbacks () ; } unsafe extern "C" { pub fn xmlPopInputCallbacks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterDefaultInputCallbacks () ; } unsafe extern "C" { pub fn xmlAllocParserInputBuffer (enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFile (file : * mut FILE , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFd (fd : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateMem (mem : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateStatic (mem : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateIO (ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferRead (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferGrow (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferPush (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int , buf : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFreeParserInputBuffer (in_ : * mut xmlParserInputBuffer) ; } unsafe extern "C" { pub fn xmlParserGetDirectory (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlRegisterInputCallbacks (matchFunc : xmlInputMatchCallback , openFunc : xmlInputOpenCallback , readFunc : xmlInputReadCallback , closeFunc : xmlInputCloseCallback) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlParserInputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlCleanupOutputCallbacks () ; } unsafe extern "C" { pub fn xmlPopOutputCallbacks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterDefaultOutputCallbacks () ; } unsafe extern "C" { pub fn xmlAllocOutputBuffer (encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFile (file : * mut FILE , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateBuffer (buffer : * mut xmlBuffer , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFd (fd : :: std :: os :: raw :: c_int , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateIO (iowrite : xmlOutputWriteCallback , ioclose : xmlOutputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferGetContent (out : * mut xmlOutputBuffer) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlOutputBufferGetSize (out : * mut xmlOutputBuffer) -> usize ; } unsafe extern "C" { pub fn xmlOutputBufferWrite (out : * mut xmlOutputBuffer , len : :: std :: os :: raw :: c_int , buf : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferWriteString (out : * mut xmlOutputBuffer , str_ : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferWriteEscape (out : * mut xmlOutputBuffer , str_ : * const xmlChar , escaping : xmlCharEncodingOutputFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferFlush (out : * mut xmlOutputBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferClose (out : * mut xmlOutputBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterOutputCallbacks (matchFunc : xmlOutputMatchCallback , openFunc : xmlOutputOpenCallback , writeFunc : xmlOutputWriteCallback , closeFunc : xmlOutputCloseCallback) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlOutputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlCheckHTTPInput (ctxt : * mut xmlParserCtxt , ret : * mut xmlParserInput) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNoNetExternalEntityLoader (URL : * const :: std :: os :: raw :: c_char , ID : * const :: std :: os :: raw :: c_char , ctxt : * mut xmlParserCtxt) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNormalizeWindowsPath (path : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCheckFilename (path : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileMatch (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileOpen (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlFileRead (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileClose (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [doc = " @cond IGNORE"] pub fn xmlIOHTTPMatch (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIOHTTPOpen (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlRegisterHTTPPostCallbacks () ; } unsafe extern "C" { pub fn xmlIOHTTPOpenW (post_uri : * const :: std :: os :: raw :: c_char , compression : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlIOHTTPRead (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIOHTTPClose (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFilenameDefault (func : xmlParserInputBufferCreateFilenameFunc) -> xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFilenameDefault (func : xmlOutputBufferCreateFilenameFunc) -> xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlThrDefOutputBufferCreateFilenameDefault (func : xmlOutputBufferCreateFilenameFunc) -> xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlThrDefParserInputBufferCreateFilenameDefault (func : xmlParserInputBufferCreateFilenameFunc) -> xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlSAX2GetPublicId (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSAX2GetSystemId (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSAX2SetDocumentLocator (ctx : * mut :: std :: os :: raw :: c_void , loc : * mut xmlSAXLocator) ; } unsafe extern "C" { pub fn xmlSAX2GetLineNumber (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2GetColumnNumber (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2IsStandalone (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2HasInternalSubset (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2HasExternalSubset (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2InternalSubset (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2ExternalSubset (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2GetEntity (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlSAX2GetParameterEntity (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlSAX2ResolveEntity (ctx : * mut :: std :: os :: raw :: c_void , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlSAX2EntityDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * mut xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2AttributeDecl (ctx : * mut :: std :: os :: raw :: c_void , elem : * const xmlChar , fullname : * const xmlChar , type_ : :: std :: os :: raw :: c_int , def : :: std :: os :: raw :: c_int , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) ; } unsafe extern "C" { pub fn xmlSAX2ElementDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , content : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlSAX2NotationDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2UnparsedEntityDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar , notationName : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2StartDocument (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSAX2EndDocument (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSAX2StartElement (ctx : * mut :: std :: os :: raw :: c_void , fullname : * const xmlChar , atts : * mut * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2EndElement (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2StartElementNs (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar , nb_namespaces : :: std :: os :: raw :: c_int , namespaces : * mut * const xmlChar , nb_attributes : :: std :: os :: raw :: c_int , nb_defaulted : :: std :: os :: raw :: c_int , attributes : * mut * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2EndElementNs (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Reference (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Characters (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2IgnorableWhitespace (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2ProcessingInstruction (ctx : * mut :: std :: os :: raw :: c_void , target : * const xmlChar , data : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Comment (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2CDataBlock (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAXDefaultVersion (version : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXVersion (hdlr : * mut xmlSAXHandler , version : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2InitDefaultSAXHandler (hdlr : * mut xmlSAXHandler , warning : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2InitHtmlDefaultSAXHandler (hdlr : * mut xmlSAXHandler) ; } unsafe extern "C" { pub fn htmlDefaultSAXHandlerInit () ; } unsafe extern "C" { pub fn xmlDefaultSAXHandlerInit () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlMutex { _unused : [u8 ; 0] , } # [doc = " Mutual exclusion object"] pub type xmlMutex = _xmlMutex ; pub type xmlMutexPtr = * mut xmlMutex ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRMutex { _unused : [u8 ; 0] , } # [doc = " Reentrant mutual exclusion object"] pub type xmlRMutex = _xmlRMutex ; pub type xmlRMutexPtr = * mut xmlRMutex ; unsafe extern "C" { pub fn xmlCheckThreadLocalStorage () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNewMutex () -> * mut xmlMutex ; } unsafe extern "C" { pub fn xmlMutexLock (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlMutexUnlock (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlFreeMutex (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlNewRMutex () -> * mut xmlRMutex ; } unsafe extern "C" { pub fn xmlRMutexLock (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlRMutexUnlock (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlFreeRMutex (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlInitThreads () ; } unsafe extern "C" { pub fn xmlLockLibrary () ; } unsafe extern "C" { pub fn xmlUnlockLibrary () ; } unsafe extern "C" { pub fn xmlCleanupThreads () ; } # [doc = " not well-formed"] pub const xmlParserStatus_XML_STATUS_NOT_WELL_FORMED : xmlParserStatus = 1 ; # [doc = " not namespace-well-formed"] pub const xmlParserStatus_XML_STATUS_NOT_NS_WELL_FORMED : xmlParserStatus = 2 ; # [doc = " DTD validation failed"] pub const xmlParserStatus_XML_STATUS_DTD_VALIDATION_FAILED : xmlParserStatus = 4 ; # [doc = " catastrophic failure like OOM or I/O error"] pub const xmlParserStatus_XML_STATUS_CATASTROPHIC_ERROR : xmlParserStatus = 8 ; # [doc = " Status after parsing a document"] pub type xmlParserStatus = :: std :: os :: raw :: c_uint ; # [doc = " unknown"] pub const xmlResourceType_XML_RESOURCE_UNKNOWN : xmlResourceType = 0 ; # [doc = " main document"] pub const xmlResourceType_XML_RESOURCE_MAIN_DOCUMENT : xmlResourceType = 1 ; # [doc = " external DTD"] pub const xmlResourceType_XML_RESOURCE_DTD : xmlResourceType = 2 ; # [doc = " external general entity"] pub const xmlResourceType_XML_RESOURCE_GENERAL_ENTITY : xmlResourceType = 3 ; # [doc = " external parameter entity"] pub const xmlResourceType_XML_RESOURCE_PARAMETER_ENTITY : xmlResourceType = 4 ; # [doc = " XIncluded document"] pub const xmlResourceType_XML_RESOURCE_XINCLUDE : xmlResourceType = 5 ; # [doc = " XIncluded text"] pub const xmlResourceType_XML_RESOURCE_XINCLUDE_TEXT : xmlResourceType = 6 ; # [doc = " Resource type for resource loaders"] pub type xmlResourceType = :: std :: os :: raw :: c_uint ; # [doc = " The input buffer won't be changed during parsing."] pub const xmlParserInputFlags_XML_INPUT_BUF_STATIC : xmlParserInputFlags = 2 ; # [doc = " The input buffer is zero-terminated. (Note that the zero\nbyte shouldn't be included in buffer size.)"] pub const xmlParserInputFlags_XML_INPUT_BUF_ZERO_TERMINATED : xmlParserInputFlags = 4 ; # [doc = " Uncompress gzipped file input"] pub const xmlParserInputFlags_XML_INPUT_UNZIP : xmlParserInputFlags = 8 ; # [doc = " Allow network access. Unused internally."] pub const xmlParserInputFlags_XML_INPUT_NETWORK : xmlParserInputFlags = 16 ; # [doc = " Allow system catalog to resolve URIs."] pub const xmlParserInputFlags_XML_INPUT_USE_SYS_CATALOG : xmlParserInputFlags = 32 ; # [doc = " Flags for parser input"] pub type xmlParserInputFlags = :: std :: os :: raw :: c_uint ; pub type xmlParserInputDeallocate = :: std :: option :: Option < unsafe extern "C" fn (str_ : * mut xmlChar) > ; # [doc = " Parser input"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserInput { pub buf : * mut xmlParserInputBuffer , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n The filename or URI, if any"] pub filename : * const :: std :: os :: raw :: c_char , pub directory : * const :: std :: os :: raw :: c_char , pub base : * const xmlChar , # [doc = " @deprecated Use #xmlCtxtGetInputWindow\n\n Current char being parsed"] pub cur : * const xmlChar , pub end : * const xmlChar , pub length : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n Current line"] pub line : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n Current column"] pub col : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n How many xmlChars already consumed"] pub consumed : :: std :: os :: raw :: c_ulong , pub free : xmlParserInputDeallocate , pub encoding : * const xmlChar , pub version : * const xmlChar , pub flags : :: std :: os :: raw :: c_int , pub id : :: std :: os :: raw :: c_int , pub parentConsumed : :: std :: os :: raw :: c_ulong , pub entity : * mut xmlEntity , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserInput"] [:: std :: mem :: size_of :: < _xmlParserInput > () - 120usize] ; ["Alignment of _xmlParserInput"] [:: std :: mem :: align_of :: < _xmlParserInput > () - 8usize] ; ["Offset of field: _xmlParserInput::buf"] [:: std :: mem :: offset_of ! (_xmlParserInput , buf) - 0usize] ; ["Offset of field: _xmlParserInput::filename"] [:: std :: mem :: offset_of ! (_xmlParserInput , filename) - 8usize] ; ["Offset of field: _xmlParserInput::directory"] [:: std :: mem :: offset_of ! (_xmlParserInput , directory) - 16usize] ; ["Offset of field: _xmlParserInput::base"] [:: std :: mem :: offset_of ! (_xmlParserInput , base) - 24usize] ; ["Offset of field: _xmlParserInput::cur"] [:: std :: mem :: offset_of ! (_xmlParserInput , cur) - 32usize] ; ["Offset of field: _xmlParserInput::end"] [:: std :: mem :: offset_of ! (_xmlParserInput , end) - 40usize] ; ["Offset of field: _xmlParserInput::length"] [:: std :: mem :: offset_of ! (_xmlParserInput , length) - 48usize] ; ["Offset of field: _xmlParserInput::line"] [:: std :: mem :: offset_of ! (_xmlParserInput , line) - 52usize] ; ["Offset of field: _xmlParserInput::col"] [:: std :: mem :: offset_of ! (_xmlParserInput , col) - 56usize] ; ["Offset of field: _xmlParserInput::consumed"] [:: std :: mem :: offset_of ! (_xmlParserInput , consumed) - 64usize] ; ["Offset of field: _xmlParserInput::free"] [:: std :: mem :: offset_of ! (_xmlParserInput , free) - 72usize] ; ["Offset of field: _xmlParserInput::encoding"] [:: std :: mem :: offset_of ! (_xmlParserInput , encoding) - 80usize] ; ["Offset of field: _xmlParserInput::version"] [:: std :: mem :: offset_of ! (_xmlParserInput , version) - 88usize] ; ["Offset of field: _xmlParserInput::flags"] [:: std :: mem :: offset_of ! (_xmlParserInput , flags) - 96usize] ; ["Offset of field: _xmlParserInput::id"] [:: std :: mem :: offset_of ! (_xmlParserInput , id) - 100usize] ; ["Offset of field: _xmlParserInput::parentConsumed"] [:: std :: mem :: offset_of ! (_xmlParserInput , parentConsumed) - 104usize] ; ["Offset of field: _xmlParserInput::entity"] [:: std :: mem :: offset_of ! (_xmlParserInput , entity) - 112usize] ; } ; # [doc = " @cond ignore"] pub type xmlParserNodeInfo = _xmlParserNodeInfo ; pub type xmlParserNodeInfoPtr = * mut xmlParserNodeInfo ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNodeInfo { pub node : * const _xmlNode , pub begin_pos : :: std :: os :: raw :: c_ulong , pub begin_line : :: std :: os :: raw :: c_ulong , pub end_pos : :: std :: os :: raw :: c_ulong , pub end_line : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserNodeInfo"] [:: std :: mem :: size_of :: < _xmlParserNodeInfo > () - 40usize] ; ["Alignment of _xmlParserNodeInfo"] [:: std :: mem :: align_of :: < _xmlParserNodeInfo > () - 8usize] ; ["Offset of field: _xmlParserNodeInfo::node"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , node) - 0usize] ; ["Offset of field: _xmlParserNodeInfo::begin_pos"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , begin_pos) - 8usize] ; ["Offset of field: _xmlParserNodeInfo::begin_line"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , begin_line) - 16usize] ; ["Offset of field: _xmlParserNodeInfo::end_pos"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , end_pos) - 24usize] ; ["Offset of field: _xmlParserNodeInfo::end_line"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , end_line) - 32usize] ; } ; pub type xmlParserNodeInfoSeq = _xmlParserNodeInfoSeq ; pub type xmlParserNodeInfoSeqPtr = * mut xmlParserNodeInfoSeq ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNodeInfoSeq { pub maximum : :: std :: os :: raw :: c_ulong , pub length : :: std :: os :: raw :: c_ulong , pub buffer : * mut xmlParserNodeInfo , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserNodeInfoSeq"] [:: std :: mem :: size_of :: < _xmlParserNodeInfoSeq > () - 24usize] ; ["Alignment of _xmlParserNodeInfoSeq"] [:: std :: mem :: align_of :: < _xmlParserNodeInfoSeq > () - 8usize] ; ["Offset of field: _xmlParserNodeInfoSeq::maximum"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , maximum) - 0usize] ; ["Offset of field: _xmlParserNodeInfoSeq::length"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , length) - 8usize] ; ["Offset of field: _xmlParserNodeInfoSeq::buffer"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , buffer) - 16usize] ; } ; pub const xmlParserInputState_XML_PARSER_EOF : xmlParserInputState = - 1 ; pub const xmlParserInputState_XML_PARSER_START : xmlParserInputState = 0 ; pub const xmlParserInputState_XML_PARSER_MISC : xmlParserInputState = 1 ; pub const xmlParserInputState_XML_PARSER_PI : xmlParserInputState = 2 ; pub const xmlParserInputState_XML_PARSER_DTD : xmlParserInputState = 3 ; pub const xmlParserInputState_XML_PARSER_PROLOG : xmlParserInputState = 4 ; pub const xmlParserInputState_XML_PARSER_COMMENT : xmlParserInputState = 5 ; pub const xmlParserInputState_XML_PARSER_START_TAG : xmlParserInputState = 6 ; pub const xmlParserInputState_XML_PARSER_CONTENT : xmlParserInputState = 7 ; pub const xmlParserInputState_XML_PARSER_CDATA_SECTION : xmlParserInputState = 8 ; pub const xmlParserInputState_XML_PARSER_END_TAG : xmlParserInputState = 9 ; pub const xmlParserInputState_XML_PARSER_ENTITY_DECL : xmlParserInputState = 10 ; pub const xmlParserInputState_XML_PARSER_ENTITY_VALUE : xmlParserInputState = 11 ; pub const xmlParserInputState_XML_PARSER_ATTRIBUTE_VALUE : xmlParserInputState = 12 ; pub const xmlParserInputState_XML_PARSER_SYSTEM_LITERAL : xmlParserInputState = 13 ; pub const xmlParserInputState_XML_PARSER_EPILOG : xmlParserInputState = 14 ; pub const xmlParserInputState_XML_PARSER_IGNORE : xmlParserInputState = 15 ; pub const xmlParserInputState_XML_PARSER_PUBLIC_LITERAL : xmlParserInputState = 16 ; pub const xmlParserInputState_XML_PARSER_XML_DECL : xmlParserInputState = 17 ; pub type xmlParserInputState = :: std :: os :: raw :: c_int ; pub const xmlParserMode_XML_PARSE_UNKNOWN : xmlParserMode = 0 ; pub const xmlParserMode_XML_PARSE_DOM : xmlParserMode = 1 ; pub const xmlParserMode_XML_PARSE_SAX : xmlParserMode = 2 ; pub const xmlParserMode_XML_PARSE_PUSH_DOM : xmlParserMode = 3 ; pub const xmlParserMode_XML_PARSE_PUSH_SAX : xmlParserMode = 4 ; pub const xmlParserMode_XML_PARSE_READER : xmlParserMode = 5 ; pub type xmlParserMode = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlStartTag { _unused : [u8 ; 0] , } pub type xmlStartTag = _xmlStartTag ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNsData { _unused : [u8 ; 0] , } pub type xmlParserNsData = _xmlParserNsData ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttrHashBucket { _unused : [u8 ; 0] , } pub type xmlAttrHashBucket = _xmlAttrHashBucket ; # [doc = " Callback for custom resource loaders.\n\n `flags` can contain XML_INPUT_UNZIP and XML_INPUT_NETWORK.\n\n The URL is resolved using XML catalogs before being passed to\n the callback.\n\n On success, `out` should be set to a new parser input object and\n XML_ERR_OK should be returned.\n\n @param ctxt  parser context\n @param url  URL or system ID to load\n @param publicId  publid ID from DTD (optional)\n @param type  resource type\n @param flags  flags\n @param out  result pointer\n @returns an xmlParserErrors code."] pub type xmlResourceLoader = :: std :: option :: Option < unsafe extern "C" fn (ctxt : * mut :: std :: os :: raw :: c_void , url : * const :: std :: os :: raw :: c_char , publicId : * const :: std :: os :: raw :: c_char , type_ : xmlResourceType , flags : xmlParserInputFlags , out : * mut * mut xmlParserInput) -> xmlParserErrors > ; # [doc = " Parser context"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserCtxt { # [doc = " @deprecated Use xmlCtxtGetSaxHandler() and\n xmlCtxtSetSaxHandler().\n\n the SAX handler"] pub sax : * mut _xmlSAXHandler , # [doc = " @deprecated Use #xmlCtxtGetUserData\n\n user data for SAX interface, defaults to the context itself"] pub userData : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlCtxtGetDocument()\n\n the document being built"] pub myDoc : * mut xmlDoc , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document well formed?"] pub wellFormed : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_NOENT\n\n shall we replace entities?"] pub replaceEntities : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetVersion()\n\n the XML version string"] pub version : * mut xmlChar , # [doc = " @deprecated Use xmlCtxtGetDeclaredEncoding()\n\n the declared encoding, if any"] pub encoding : * mut xmlChar , # [doc = " @deprecated Use xmlCtxtGetStandalone()\n\n standalone document"] pub standalone : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsHtml()\n\n non-zero for HTML documents, actually an htmlInsertMode"] pub html : :: std :: os :: raw :: c_int , pub input : * mut xmlParserInput , pub inputNr : :: std :: os :: raw :: c_int , pub inputMax : :: std :: os :: raw :: c_int , pub inputTab : * mut * mut xmlParserInput , # [doc = " @deprecated Use #xmlCtxtGetNode\n\n The current element."] pub node : * mut xmlNode , pub nodeNr : :: std :: os :: raw :: c_int , pub nodeMax : :: std :: os :: raw :: c_int , pub nodeTab : * mut * mut xmlNode , pub record_info : :: std :: os :: raw :: c_int , pub node_seq : xmlParserNodeInfoSeq , # [doc = " @deprecated Use xmlCtxtGetLastError()\n\n error code"] pub errNo : :: std :: os :: raw :: c_int , pub hasExternalSubset : :: std :: os :: raw :: c_int , pub hasPErefs : :: std :: os :: raw :: c_int , pub external : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document valid"] pub valid : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_DTDVALID\n\n shall we try to validate?"] pub validate : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetValidCtxt()\n\n The validity context"] pub vctxt : xmlValidCtxt , pub instate : xmlParserInputState , pub token : :: std :: os :: raw :: c_int , # [doc = " @deprecated Don't use\n\n The main document URI, if available, with its last\n component stripped."] pub directory : * mut :: std :: os :: raw :: c_char , pub name : * const xmlChar , pub nameNr : :: std :: os :: raw :: c_int , pub nameMax : :: std :: os :: raw :: c_int , pub nameTab : * mut * const xmlChar , pub nbChars : :: std :: os :: raw :: c_long , pub checkIndex : :: std :: os :: raw :: c_long , # [doc = " @deprecated Use inverted xmlParserOption XML_PARSE_NOBLANKS\n\n ugly but ..."] pub keepBlanks : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsStopped()\n\n SAX callbacks are disabled"] pub disableSAX : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsInSubset\n\n Set if DTD content is parsed.\n\n - 0: not in DTD\n - 1: in internal DTD subset\n - 2: in external DTD subset"] pub inSubset : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use the `name` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n Name of the internal subset (root element type)."] pub intSubName : * const xmlChar , # [doc = " @deprecated Use the `systemId` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n System identifier (URI) of external the subset."] pub extSubURI : * mut xmlChar , # [doc = " @deprecated Use the `publicId` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n This member is MISNAMED. It contains the *public* identifier\n of the external subset."] pub extSubSystem : * mut xmlChar , pub space : * mut :: std :: os :: raw :: c_int , pub spaceNr : :: std :: os :: raw :: c_int , pub spaceMax : :: std :: os :: raw :: c_int , pub spaceTab : * mut :: std :: os :: raw :: c_int , pub depth : :: std :: os :: raw :: c_int , pub entity : * mut xmlParserInput , pub charset : :: std :: os :: raw :: c_int , pub nodelen : :: std :: os :: raw :: c_int , pub nodemem : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_PEDANTIC\n\n signal pedantic warnings"] pub pedantic : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetPrivate() and xmlCtxtSetPrivate()\n\n For user data, libxml won't touch it"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlParserOption XML_PARSE_DTDLOAD,\n XML_PARSE_DTDATTR or XML_PARSE_SKIP_IDS.\n\n Control loading of the external subset and handling of IDs.\n Other options like `validate` can override this value.\n\n - 0: The default behavior is to process IDs and to ignore\n   the external subset.\n - XML_DETECT_IDS: Load external subset. This flag is\n   misnamed. ID handling is only controlled by XML_SKIP_IDS.\n - XML_COMPLETE_ATTRS: Load external subset and process\n   default attributes.\n - XML_SKIP_IDS: Ignore IDs."] pub loadsubset : :: std :: os :: raw :: c_int , pub linenumbers : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetCatalogs() and xmlCtxtSetCatalogs()\n\n document's own catalog"] pub catalogs : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlParserOption XML_PARSE_RECOVER\n run in recovery mode"] pub recovery : :: std :: os :: raw :: c_int , pub progressive : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetDict() and xmlCtxtSetDict()\n\n dictionary for the parser"] pub dict : * mut xmlDict , pub atts : * mut * const xmlChar , pub maxatts : :: std :: os :: raw :: c_int , pub docdict : :: std :: os :: raw :: c_int , pub str_xml : * const xmlChar , pub str_xmlns : * const xmlChar , pub str_xml_ns : * const xmlChar , pub sax2 : :: std :: os :: raw :: c_int , pub nsNr : :: std :: os :: raw :: c_int , pub nsMax : :: std :: os :: raw :: c_int , pub nsTab : * mut * const xmlChar , pub attallocs : * mut :: std :: os :: raw :: c_uint , pub pushTab : * mut xmlStartTag , pub attsDefault : * mut xmlHashTable , pub attsSpecial : * mut xmlHashTable , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document XML Namespace okay"] pub nsWellFormed : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetOptions()\n\n Extra options"] pub options : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use inverted xmlParserOption XML_PARSE_NODICT\n\n Use dictionary names for the tree"] pub dictNames : :: std :: os :: raw :: c_int , pub freeElemsNr : :: std :: os :: raw :: c_int , pub freeElems : * mut xmlNode , pub freeAttrsNr : :: std :: os :: raw :: c_int , pub freeAttrs : * mut xmlAttr , # [doc = " @deprecated Use xmlCtxtGetLastError()\n\n the complete error information for the last error."] pub lastError : xmlError , pub parseMode : xmlParserMode , pub nbentities : :: std :: os :: raw :: c_ulong , pub sizeentities : :: std :: os :: raw :: c_ulong , pub nodeInfo : * mut xmlParserNodeInfo , pub nodeInfoNr : :: std :: os :: raw :: c_int , pub nodeInfoMax : :: std :: os :: raw :: c_int , pub nodeInfoTab : * mut xmlParserNodeInfo , pub input_id : :: std :: os :: raw :: c_int , pub sizeentcopy : :: std :: os :: raw :: c_ulong , pub endCheckState : :: std :: os :: raw :: c_int , pub nbErrors : :: std :: os :: raw :: c_ushort , pub nbWarnings : :: std :: os :: raw :: c_ushort , pub maxAmpl : :: std :: os :: raw :: c_uint , pub nsdb : * mut xmlParserNsData , pub attrHashMax : :: std :: os :: raw :: c_uint , pub attrHash : * mut xmlAttrHashBucket , pub errorHandler : xmlStructuredErrorFunc , pub errorCtxt : * mut :: std :: os :: raw :: c_void , pub resourceLoader : xmlResourceLoader , pub resourceCtxt : * mut :: std :: os :: raw :: c_void , pub convImpl : xmlCharEncConvImpl , pub convCtxt : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserCtxt"] [:: std :: mem :: size_of :: < _xmlParserCtxt > () - 840usize] ; ["Alignment of _xmlParserCtxt"] [:: std :: mem :: align_of :: < _xmlParserCtxt > () - 8usize] ; ["Offset of field: _xmlParserCtxt::sax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sax) - 0usize] ; ["Offset of field: _xmlParserCtxt::userData"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , userData) - 8usize] ; ["Offset of field: _xmlParserCtxt::myDoc"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , myDoc) - 16usize] ; ["Offset of field: _xmlParserCtxt::wellFormed"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , wellFormed) - 24usize] ; ["Offset of field: _xmlParserCtxt::replaceEntities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , replaceEntities) - 28usize] ; ["Offset of field: _xmlParserCtxt::version"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , version) - 32usize] ; ["Offset of field: _xmlParserCtxt::encoding"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , encoding) - 40usize] ; ["Offset of field: _xmlParserCtxt::standalone"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , standalone) - 48usize] ; ["Offset of field: _xmlParserCtxt::html"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , html) - 52usize] ; ["Offset of field: _xmlParserCtxt::input"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , input) - 56usize] ; ["Offset of field: _xmlParserCtxt::inputNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputNr) - 64usize] ; ["Offset of field: _xmlParserCtxt::inputMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputMax) - 68usize] ; ["Offset of field: _xmlParserCtxt::inputTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputTab) - 72usize] ; ["Offset of field: _xmlParserCtxt::node"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , node) - 80usize] ; ["Offset of field: _xmlParserCtxt::nodeNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeNr) - 88usize] ; ["Offset of field: _xmlParserCtxt::nodeMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeMax) - 92usize] ; ["Offset of field: _xmlParserCtxt::nodeTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeTab) - 96usize] ; ["Offset of field: _xmlParserCtxt::record_info"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , record_info) - 104usize] ; ["Offset of field: _xmlParserCtxt::node_seq"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , node_seq) - 112usize] ; ["Offset of field: _xmlParserCtxt::errNo"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errNo) - 136usize] ; ["Offset of field: _xmlParserCtxt::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , hasExternalSubset) - 140usize] ; ["Offset of field: _xmlParserCtxt::hasPErefs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , hasPErefs) - 144usize] ; ["Offset of field: _xmlParserCtxt::external"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , external) - 148usize] ; ["Offset of field: _xmlParserCtxt::valid"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , valid) - 152usize] ; ["Offset of field: _xmlParserCtxt::validate"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , validate) - 156usize] ; ["Offset of field: _xmlParserCtxt::vctxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , vctxt) - 160usize] ; ["Offset of field: _xmlParserCtxt::instate"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , instate) - 272usize] ; ["Offset of field: _xmlParserCtxt::token"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , token) - 276usize] ; ["Offset of field: _xmlParserCtxt::directory"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , directory) - 280usize] ; ["Offset of field: _xmlParserCtxt::name"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , name) - 288usize] ; ["Offset of field: _xmlParserCtxt::nameNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameNr) - 296usize] ; ["Offset of field: _xmlParserCtxt::nameMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameMax) - 300usize] ; ["Offset of field: _xmlParserCtxt::nameTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameTab) - 304usize] ; ["Offset of field: _xmlParserCtxt::nbChars"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbChars) - 312usize] ; ["Offset of field: _xmlParserCtxt::checkIndex"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , checkIndex) - 320usize] ; ["Offset of field: _xmlParserCtxt::keepBlanks"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , keepBlanks) - 328usize] ; ["Offset of field: _xmlParserCtxt::disableSAX"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , disableSAX) - 332usize] ; ["Offset of field: _xmlParserCtxt::inSubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inSubset) - 336usize] ; ["Offset of field: _xmlParserCtxt::intSubName"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , intSubName) - 344usize] ; ["Offset of field: _xmlParserCtxt::extSubURI"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , extSubURI) - 352usize] ; ["Offset of field: _xmlParserCtxt::extSubSystem"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , extSubSystem) - 360usize] ; ["Offset of field: _xmlParserCtxt::space"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , space) - 368usize] ; ["Offset of field: _xmlParserCtxt::spaceNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceNr) - 376usize] ; ["Offset of field: _xmlParserCtxt::spaceMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceMax) - 380usize] ; ["Offset of field: _xmlParserCtxt::spaceTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceTab) - 384usize] ; ["Offset of field: _xmlParserCtxt::depth"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , depth) - 392usize] ; ["Offset of field: _xmlParserCtxt::entity"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , entity) - 400usize] ; ["Offset of field: _xmlParserCtxt::charset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , charset) - 408usize] ; ["Offset of field: _xmlParserCtxt::nodelen"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodelen) - 412usize] ; ["Offset of field: _xmlParserCtxt::nodemem"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodemem) - 416usize] ; ["Offset of field: _xmlParserCtxt::pedantic"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , pedantic) - 420usize] ; ["Offset of field: _xmlParserCtxt::_private"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , _private) - 424usize] ; ["Offset of field: _xmlParserCtxt::loadsubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , loadsubset) - 432usize] ; ["Offset of field: _xmlParserCtxt::linenumbers"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , linenumbers) - 436usize] ; ["Offset of field: _xmlParserCtxt::catalogs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , catalogs) - 440usize] ; ["Offset of field: _xmlParserCtxt::recovery"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , recovery) - 448usize] ; ["Offset of field: _xmlParserCtxt::progressive"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , progressive) - 452usize] ; ["Offset of field: _xmlParserCtxt::dict"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , dict) - 456usize] ; ["Offset of field: _xmlParserCtxt::atts"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , atts) - 464usize] ; ["Offset of field: _xmlParserCtxt::maxatts"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , maxatts) - 472usize] ; ["Offset of field: _xmlParserCtxt::docdict"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , docdict) - 476usize] ; ["Offset of field: _xmlParserCtxt::str_xml"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xml) - 480usize] ; ["Offset of field: _xmlParserCtxt::str_xmlns"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xmlns) - 488usize] ; ["Offset of field: _xmlParserCtxt::str_xml_ns"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xml_ns) - 496usize] ; ["Offset of field: _xmlParserCtxt::sax2"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sax2) - 504usize] ; ["Offset of field: _xmlParserCtxt::nsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsNr) - 508usize] ; ["Offset of field: _xmlParserCtxt::nsMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsMax) - 512usize] ; ["Offset of field: _xmlParserCtxt::nsTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsTab) - 520usize] ; ["Offset of field: _xmlParserCtxt::attallocs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attallocs) - 528usize] ; ["Offset of field: _xmlParserCtxt::pushTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , pushTab) - 536usize] ; ["Offset of field: _xmlParserCtxt::attsDefault"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attsDefault) - 544usize] ; ["Offset of field: _xmlParserCtxt::attsSpecial"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attsSpecial) - 552usize] ; ["Offset of field: _xmlParserCtxt::nsWellFormed"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsWellFormed) - 560usize] ; ["Offset of field: _xmlParserCtxt::options"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , options) - 564usize] ; ["Offset of field: _xmlParserCtxt::dictNames"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , dictNames) - 568usize] ; ["Offset of field: _xmlParserCtxt::freeElemsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeElemsNr) - 572usize] ; ["Offset of field: _xmlParserCtxt::freeElems"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeElems) - 576usize] ; ["Offset of field: _xmlParserCtxt::freeAttrsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeAttrsNr) - 584usize] ; ["Offset of field: _xmlParserCtxt::freeAttrs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeAttrs) - 592usize] ; ["Offset of field: _xmlParserCtxt::lastError"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , lastError) - 600usize] ; ["Offset of field: _xmlParserCtxt::parseMode"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , parseMode) - 688usize] ; ["Offset of field: _xmlParserCtxt::nbentities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbentities) - 696usize] ; ["Offset of field: _xmlParserCtxt::sizeentities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sizeentities) - 704usize] ; ["Offset of field: _xmlParserCtxt::nodeInfo"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfo) - 712usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoNr) - 720usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoMax) - 724usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoTab) - 728usize] ; ["Offset of field: _xmlParserCtxt::input_id"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , input_id) - 736usize] ; ["Offset of field: _xmlParserCtxt::sizeentcopy"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sizeentcopy) - 744usize] ; ["Offset of field: _xmlParserCtxt::endCheckState"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , endCheckState) - 752usize] ; ["Offset of field: _xmlParserCtxt::nbErrors"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbErrors) - 756usize] ; ["Offset of field: _xmlParserCtxt::nbWarnings"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbWarnings) - 758usize] ; ["Offset of field: _xmlParserCtxt::maxAmpl"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , maxAmpl) - 760usize] ; ["Offset of field: _xmlParserCtxt::nsdb"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsdb) - 768usize] ; ["Offset of field: _xmlParserCtxt::attrHashMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attrHashMax) - 776usize] ; ["Offset of field: _xmlParserCtxt::attrHash"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attrHash) - 784usize] ; ["Offset of field: _xmlParserCtxt::errorHandler"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errorHandler) - 792usize] ; ["Offset of field: _xmlParserCtxt::errorCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errorCtxt) - 800usize] ; ["Offset of field: _xmlParserCtxt::resourceLoader"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , resourceLoader) - 808usize] ; ["Offset of field: _xmlParserCtxt::resourceCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , resourceCtxt) - 816usize] ; ["Offset of field: _xmlParserCtxt::convImpl"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , convImpl) - 824usize] ; ["Offset of field: _xmlParserCtxt::convCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , convCtxt) - 832usize] ; } ; # [doc = " A SAX Locator."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXLocator { pub getPublicId : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar > , pub getSystemId : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar > , pub getLineNumber : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , pub getColumnNumber : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXLocator"] [:: std :: mem :: size_of :: < _xmlSAXLocator > () - 32usize] ; ["Alignment of _xmlSAXLocator"] [:: std :: mem :: align_of :: < _xmlSAXLocator > () - 8usize] ; ["Offset of field: _xmlSAXLocator::getPublicId"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getPublicId) - 0usize] ; ["Offset of field: _xmlSAXLocator::getSystemId"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getSystemId) - 8usize] ; ["Offset of field: _xmlSAXLocator::getLineNumber"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getLineNumber) - 16usize] ; ["Offset of field: _xmlSAXLocator::getColumnNumber"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getColumnNumber) - 24usize] ; } ; # [doc = " SAX callback to resolve external entities.\n\n This is only used to load DTDs. The preferred way to install\n custom resolvers is #xmlCtxtSetResourceLoader.\n\n @param ctx  the user data (XML parser context)\n @param publicId  The public identifier of the entity\n @param systemId  The system identifier of the entity (URL)\n @returns the xmlParserInput if inlined or NULL for DOM behaviour."] pub type resolveEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlParserInput > ; # [doc = " SAX callback for the internal subset.\n\n @param ctx  the user data (XML parser context)\n @param name  the root element name\n @param publicId  the public identifier\n @param systemId  the system identifier (e.g. filename or URL)"] pub type internalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback for the external subset.\n\n @param ctx  the user data (XML parser context)\n @param name  the root element name\n @param publicId  the public identifier\n @param systemId  the system identifier (e.g. filename or URL)"] pub type externalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback to look up a general entity by name.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name\n @returns the xmlEntity if found."] pub type getEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity > ; # [doc = " SAX callback to look up a parameter entity by name.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name\n @returns the xmlEntity if found."] pub type getParameterEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity > ; # [doc = " SAX callback for entity declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  the entity name\n @param type  the entity type\n @param publicId  The public ID of the entity\n @param systemId  The system ID of the entity\n @param content  the entity value (without processing)."] pub type entityDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * mut xmlChar) > ; # [doc = " SAX callback for notation declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  The name of the notation\n @param publicId  The public ID of the notation\n @param systemId  The system ID of the notation"] pub type notationDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback for attribute declarations.\n\n @param ctx  the user data (XML parser context)\n @param elem  the name of the element\n @param fullname  the attribute name\n @param type  the attribute type\n @param def  the type of default value\n @param defaultValue  the attribute default value\n @param tree  the tree of enumerated value set"] pub type attributeDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , elem : * const xmlChar , fullname : * const xmlChar , type_ : :: std :: os :: raw :: c_int , def : :: std :: os :: raw :: c_int , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) > ; # [doc = " SAX callback for element declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  the element name\n @param type  the element type\n @param content  the element value tree"] pub type elementDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , content : * mut xmlElementContent) > ; # [doc = " SAX callback for unparsed entity declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  The name of the entity\n @param publicId  The public ID of the entity\n @param systemId  The system ID of the entity\n @param notationName  the name of the notation"] pub type unparsedEntityDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar , notationName : * const xmlChar) > ; # [doc = " This callback receives the \"document locator\" at startup,\n which is always the global xmlDefaultSAXLocator.\n\n Everything is available on the context, so this is useless in\n our case.\n\n @param ctx  the user data (XML parser context)\n @param loc  A SAX Locator"] pub type setDocumentLocatorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , loc : * mut xmlSAXLocator) > ; # [doc = " SAX callback for start of document.\n\n @param ctx  the user data (XML parser context)"] pub type startDocumentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) > ; # [doc = " SAX callback for end of document.\n\n @param ctx  the user data (XML parser context)"] pub type endDocumentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) > ; # [doc = " SAX callback for start tags.\n\n @param ctx  the user data (XML parser context)\n @param name  The element name, including namespace prefix\n @param atts  An array of name/value attributes pairs, NULL terminated"] pub type startElementSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , atts : * mut * const xmlChar) > ; # [doc = " SAX callback for end tags.\n\n @param ctx  the user data (XML parser context)\n @param name  The element name"] pub type endElementSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback for attributes.\n\n @deprecated This typedef is unused.\n\n @param ctx  the user data (XML parser context)\n @param name  The attribute name, including namespace prefix\n @param value  The attribute value"] pub type attributeSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , value : * const xmlChar) > ; # [doc = " SAX callback for entity references.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name"] pub type referenceSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " SAX callback for character data.\n\n @param ctx  the user data (XML parser context)\n @param ch  a xmlChar string\n @param len  the number of xmlChar"] pub type charactersSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for \"ignorable\" whitespace.\n\n @param ctx  the user data (XML parser context)\n @param ch  a xmlChar string\n @param len  the number of xmlChar"] pub type ignorableWhitespaceSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for processing instructions.\n\n @param ctx  the user data (XML parser context)\n @param target  the target name\n @param data  the PI data's"] pub type processingInstructionSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , target : * const xmlChar , data : * const xmlChar) > ; # [doc = " SAX callback for comments.\n\n @param ctx  the user data (XML parser context)\n @param value  the comment content"] pub type commentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar) > ; # [doc = " SAX callback for CDATA sections.\n\n @param ctx  the user data (XML parser context)\n @param value  The pcdata content\n @param len  the block length"] pub type cdataBlockSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for warning messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type warningSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback for error messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type errorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback for fatal error messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type fatalErrorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback to get standalone status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type isStandaloneSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX callback to get internal subset status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type hasInternalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX callback to get external subset status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type hasExternalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX2 callback for start tags.\n\n It provides the namespace information for the element, as well as\n the new namespace declarations on the element.\n\n @param ctx  the user data (XML parser context)\n @param localname  the local name of the element\n @param prefix  the element namespace prefix if available\n @param URI  the element namespace name if available\n @param nb_namespaces  number of namespace definitions on that node\n @param namespaces  pointer to the array of prefix/URI pairs namespace definitions\n @param nb_attributes  the number of attributes on that node\n @param nb_defaulted  the number of defaulted attributes. The defaulted\n                  ones are at the end of the array\n @param attributes  pointer to the array of (localname/prefix/URI/value/end)\n               attribute values."] pub type startElementNsSAX2Func = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar , nb_namespaces : :: std :: os :: raw :: c_int , namespaces : * mut * const xmlChar , nb_attributes : :: std :: os :: raw :: c_int , nb_defaulted : :: std :: os :: raw :: c_int , attributes : * mut * const xmlChar) > ; # [doc = " SAX2 callback for end tags.\n\n It provides the namespace information for the element.\n\n @param ctx  the user data (XML parser context)\n @param localname  the local name of the element\n @param prefix  the element namespace prefix if available\n @param URI  the element namespace name if available"] pub type endElementNsSAX2Func = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar) > ; # [doc = " Callbacks for SAX parser\n\n For DTD-related handlers, it's recommended to either use the\n original libxml2 handler or set them to NULL if DTDs can be\n ignored."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXHandler { # [doc = " Called after the start of the document type declaration\n was parsed.\n\n Should typically not be modified."] pub internalSubset : internalSubsetSAXFunc , # [doc = " Standalone status. Not invoked by the parser. Not supposed\n to be changed by applications."] pub isStandalone : isStandaloneSAXFunc , # [doc = " Internal subset availability. Not invoked by the parser.\n Not supposed to be changed by applications."] pub hasInternalSubset : hasInternalSubsetSAXFunc , # [doc = " External subset availability. Not invoked by the parser.\n Not supposed to be changed by applications."] pub hasExternalSubset : hasExternalSubsetSAXFunc , # [doc = " Only called when loading external DTDs. Not called to load\n external entities.\n\n Should typically not be modified."] pub resolveEntity : resolveEntitySAXFunc , # [doc = " Called when looking up general entities.\n\n Should typically not be modified."] pub getEntity : getEntitySAXFunc , # [doc = " Called after an entity declaration was parsed.\n\n Should typically not be modified."] pub entityDecl : entityDeclSAXFunc , # [doc = " Called after a notation declaration was parsed.\n\n Should typically not be modified."] pub notationDecl : notationDeclSAXFunc , # [doc = " Called after an attribute declaration was parsed.\n\n Should typically not be modified."] pub attributeDecl : attributeDeclSAXFunc , # [doc = " Called after an element declaration was parsed.\n\n Should typically not be modified."] pub elementDecl : elementDeclSAXFunc , # [doc = " Called after an unparsed entity declaration was parsed.\n\n Should typically not be modified."] pub unparsedEntityDecl : unparsedEntityDeclSAXFunc , # [doc = " This callback receives the \"document locator\" at startup,\n which is always the global xmlDefaultSAXLocator.\n\n Everything is available on the context, so this is useless in\n our case."] pub setDocumentLocator : setDocumentLocatorSAXFunc , # [doc = " Called after the XML declaration was parsed.\n\n Use xmlCtxtGetVersion(), xmlCtxtGetDeclaredEncoding() and\n xmlCtxtGetStandalone() to get data from the XML declaration."] pub startDocument : startDocumentSAXFunc , # [doc = " Called at the end of the document."] pub endDocument : endDocumentSAXFunc , # [doc = " Legacy start tag handler\n\n `startElement` and `endElement` are only used by the legacy SAX1\n interface and should not be used in new software. If you really\n have to enable SAX1, the preferred way is set the `initialized`\n member to 1 instead of XML_SAX2_MAGIC.\n\n For backward compatibility, it's also possible to set the\n `startElementNs` and `endElementNs` handlers to NULL.\n\n You can also set the XML_PARSE_SAX1 parser option, but versions\n older than 2.12.0 will probably crash if this option is provided\n together with custom SAX callbacks."] pub startElement : startElementSAXFunc , # [doc = " See _xmlSAXHandler.startElement"] pub endElement : endElementSAXFunc , # [doc = " Called after an entity reference was parsed."] pub reference : referenceSAXFunc , # [doc = " Called after a character data was parsed."] pub characters : charactersSAXFunc , # [doc = " Called after \"ignorable\" whitespace was parsed.\n\n `ignorableWhitespace` should always be set to the same value\n as `characters`. Otherwise, the parser will try to detect\n whitespace which is unreliable."] pub ignorableWhitespace : ignorableWhitespaceSAXFunc , # [doc = " Called after a processing instruction was parsed."] pub processingInstruction : processingInstructionSAXFunc , # [doc = " Called after a comment was parsed."] pub comment : commentSAXFunc , # [doc = " Callback for warning messages."] pub warning : warningSAXFunc , # [doc = " Callback for error messages."] pub error : errorSAXFunc , # [doc = " Unused, all errors go to `error`."] pub fatalError : fatalErrorSAXFunc , # [doc = " Called when looking up parameter entities.\n\n Should typically not be modified."] pub getParameterEntity : getParameterEntitySAXFunc , # [doc = " Called after a CDATA section was parsed."] pub cdataBlock : cdataBlockSAXFunc , # [doc = " Called to parse the external subset.\n\n Should typically not be modified."] pub externalSubset : externalSubsetSAXFunc , # [doc = " Legacy magic value\n\n `initialized` should always be set to XML_SAX2_MAGIC to\n enable the modern SAX2 interface."] pub initialized : :: std :: os :: raw :: c_uint , # [doc = " Application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " Called after a start tag was parsed."] pub startElementNs : startElementNsSAX2Func , # [doc = " Called after an end tag was parsed."] pub endElementNs : endElementNsSAX2Func , # [doc = " Structured error handler.\n\n Takes precedence over `error` or `warning`, but modern code\n should use xmlCtxtSetErrorHandler()."] pub serror : xmlStructuredErrorFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXHandler"] [:: std :: mem :: size_of :: < _xmlSAXHandler > () - 256usize] ; ["Alignment of _xmlSAXHandler"] [:: std :: mem :: align_of :: < _xmlSAXHandler > () - 8usize] ; ["Offset of field: _xmlSAXHandler::internalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , internalSubset) - 0usize] ; ["Offset of field: _xmlSAXHandler::isStandalone"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , isStandalone) - 8usize] ; ["Offset of field: _xmlSAXHandler::hasInternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , hasInternalSubset) - 16usize] ; ["Offset of field: _xmlSAXHandler::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , hasExternalSubset) - 24usize] ; ["Offset of field: _xmlSAXHandler::resolveEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , resolveEntity) - 32usize] ; ["Offset of field: _xmlSAXHandler::getEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , getEntity) - 40usize] ; ["Offset of field: _xmlSAXHandler::entityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , entityDecl) - 48usize] ; ["Offset of field: _xmlSAXHandler::notationDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , notationDecl) - 56usize] ; ["Offset of field: _xmlSAXHandler::attributeDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , attributeDecl) - 64usize] ; ["Offset of field: _xmlSAXHandler::elementDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , elementDecl) - 72usize] ; ["Offset of field: _xmlSAXHandler::unparsedEntityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , unparsedEntityDecl) - 80usize] ; ["Offset of field: _xmlSAXHandler::setDocumentLocator"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , setDocumentLocator) - 88usize] ; ["Offset of field: _xmlSAXHandler::startDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startDocument) - 96usize] ; ["Offset of field: _xmlSAXHandler::endDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endDocument) - 104usize] ; ["Offset of field: _xmlSAXHandler::startElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startElement) - 112usize] ; ["Offset of field: _xmlSAXHandler::endElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endElement) - 120usize] ; ["Offset of field: _xmlSAXHandler::reference"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , reference) - 128usize] ; ["Offset of field: _xmlSAXHandler::characters"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , characters) - 136usize] ; ["Offset of field: _xmlSAXHandler::ignorableWhitespace"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , ignorableWhitespace) - 144usize] ; ["Offset of field: _xmlSAXHandler::processingInstruction"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , processingInstruction) - 152usize] ; ["Offset of field: _xmlSAXHandler::comment"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , comment) - 160usize] ; ["Offset of field: _xmlSAXHandler::warning"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , warning) - 168usize] ; ["Offset of field: _xmlSAXHandler::error"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , error) - 176usize] ; ["Offset of field: _xmlSAXHandler::fatalError"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , fatalError) - 184usize] ; ["Offset of field: _xmlSAXHandler::getParameterEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , getParameterEntity) - 192usize] ; ["Offset of field: _xmlSAXHandler::cdataBlock"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , cdataBlock) - 200usize] ; ["Offset of field: _xmlSAXHandler::externalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , externalSubset) - 208usize] ; ["Offset of field: _xmlSAXHandler::initialized"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , initialized) - 216usize] ; ["Offset of field: _xmlSAXHandler::_private"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , _private) - 224usize] ; ["Offset of field: _xmlSAXHandler::startElementNs"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startElementNs) - 232usize] ; ["Offset of field: _xmlSAXHandler::endElementNs"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endElementNs) - 240usize] ; ["Offset of field: _xmlSAXHandler::serror"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , serror) - 248usize] ; } ; # [doc = " SAX handler, version 1.\n\n @deprecated Use version 2 handlers."] pub type xmlSAXHandlerV1 = _xmlSAXHandlerV1 ; pub type xmlSAXHandlerV1Ptr = * mut xmlSAXHandlerV1 ; # [doc = " SAX handler, version 1.\n\n @deprecated Use version 2 handlers."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXHandlerV1 { pub internalSubset : internalSubsetSAXFunc , pub isStandalone : isStandaloneSAXFunc , pub hasInternalSubset : hasInternalSubsetSAXFunc , pub hasExternalSubset : hasExternalSubsetSAXFunc , pub resolveEntity : resolveEntitySAXFunc , pub getEntity : getEntitySAXFunc , pub entityDecl : entityDeclSAXFunc , pub notationDecl : notationDeclSAXFunc , pub attributeDecl : attributeDeclSAXFunc , pub elementDecl : elementDeclSAXFunc , pub unparsedEntityDecl : unparsedEntityDeclSAXFunc , pub setDocumentLocator : setDocumentLocatorSAXFunc , pub startDocument : startDocumentSAXFunc , pub endDocument : endDocumentSAXFunc , pub startElement : startElementSAXFunc , pub endElement : endElementSAXFunc , pub reference : referenceSAXFunc , pub characters : charactersSAXFunc , pub ignorableWhitespace : ignorableWhitespaceSAXFunc , pub processingInstruction : processingInstructionSAXFunc , pub comment : commentSAXFunc , pub warning : warningSAXFunc , pub error : errorSAXFunc , pub fatalError : fatalErrorSAXFunc , pub getParameterEntity : getParameterEntitySAXFunc , pub cdataBlock : cdataBlockSAXFunc , pub externalSubset : externalSubsetSAXFunc , pub initialized : :: std :: os :: raw :: c_uint , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXHandlerV1"] [:: std :: mem :: size_of :: < _xmlSAXHandlerV1 > () - 224usize] ; ["Alignment of _xmlSAXHandlerV1"] [:: std :: mem :: align_of :: < _xmlSAXHandlerV1 > () - 8usize] ; ["Offset of field: _xmlSAXHandlerV1::internalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , internalSubset) - 0usize] ; ["Offset of field: _xmlSAXHandlerV1::isStandalone"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , isStandalone) - 8usize] ; ["Offset of field: _xmlSAXHandlerV1::hasInternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , hasInternalSubset) - 16usize] ; ["Offset of field: _xmlSAXHandlerV1::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , hasExternalSubset) - 24usize] ; ["Offset of field: _xmlSAXHandlerV1::resolveEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , resolveEntity) - 32usize] ; ["Offset of field: _xmlSAXHandlerV1::getEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , getEntity) - 40usize] ; ["Offset of field: _xmlSAXHandlerV1::entityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , entityDecl) - 48usize] ; ["Offset of field: _xmlSAXHandlerV1::notationDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , notationDecl) - 56usize] ; ["Offset of field: _xmlSAXHandlerV1::attributeDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , attributeDecl) - 64usize] ; ["Offset of field: _xmlSAXHandlerV1::elementDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , elementDecl) - 72usize] ; ["Offset of field: _xmlSAXHandlerV1::unparsedEntityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , unparsedEntityDecl) - 80usize] ; ["Offset of field: _xmlSAXHandlerV1::setDocumentLocator"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , setDocumentLocator) - 88usize] ; ["Offset of field: _xmlSAXHandlerV1::startDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , startDocument) - 96usize] ; ["Offset of field: _xmlSAXHandlerV1::endDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , endDocument) - 104usize] ; ["Offset of field: _xmlSAXHandlerV1::startElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , startElement) - 112usize] ; ["Offset of field: _xmlSAXHandlerV1::endElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , endElement) - 120usize] ; ["Offset of field: _xmlSAXHandlerV1::reference"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , reference) - 128usize] ; ["Offset of field: _xmlSAXHandlerV1::characters"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , characters) - 136usize] ; ["Offset of field: _xmlSAXHandlerV1::ignorableWhitespace"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , ignorableWhitespace) - 144usize] ; ["Offset of field: _xmlSAXHandlerV1::processingInstruction"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , processingInstruction) - 152usize] ; ["Offset of field: _xmlSAXHandlerV1::comment"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , comment) - 160usize] ; ["Offset of field: _xmlSAXHandlerV1::warning"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , warning) - 168usize] ; ["Offset of field: _xmlSAXHandlerV1::error"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , error) - 176usize] ; ["Offset of field: _xmlSAXHandlerV1::fatalError"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , fatalError) - 184usize] ; ["Offset of field: _xmlSAXHandlerV1::getParameterEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , getParameterEntity) - 192usize] ; ["Offset of field: _xmlSAXHandlerV1::cdataBlock"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , cdataBlock) - 200usize] ; ["Offset of field: _xmlSAXHandlerV1::externalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , externalSubset) - 208usize] ; ["Offset of field: _xmlSAXHandlerV1::initialized"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , initialized) - 216usize] ; } ; # [doc = " Callback for external entity loader.\n\n The URL is not resolved using XML catalogs before being passed\n to the callback.\n\n @param URL  The URL or system ID of the resource requested\n @param publicId  The public ID of the resource requested (optional)\n @param context  the XML parser context\n @returns the entity input parser or NULL on error."] pub type xmlExternalEntityLoader = :: std :: option :: Option < unsafe extern "C" fn (URL : * const :: std :: os :: raw :: c_char , publicId : * const :: std :: os :: raw :: c_char , context : * mut xmlParserCtxt) -> * mut xmlParserInput > ; unsafe extern "C" { pub static xmlParserVersion : * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { # [doc = " @cond ignore"] pub static xmlDefaultSAXLocator : xmlSAXLocator ; } unsafe extern "C" { # [doc = " @deprecated Use #xmlSAXVersion or #xmlSAX2InitDefaultSAXHandler"] pub static xmlDefaultSAXHandler : xmlSAXHandlerV1 ; } unsafe extern "C" { pub fn __xmlDoValidityCheckingDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlGetWarningsDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlKeepBlanksDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlLineNumbersDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlLoadExtDtdDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlPedanticParserDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlSubstituteEntitiesDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlIndentTreeOutput () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlTreeIndentString () -> * mut * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn __xmlSaveNoEmptyTags () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlInitParser () ; } unsafe extern "C" { pub fn xmlCleanupParser () ; } unsafe extern "C" { pub fn xmlInitGlobals () ; } unsafe extern "C" { pub fn xmlCleanupGlobals () ; } unsafe extern "C" { pub fn xmlParserInputRead (in_ : * mut xmlParserInput , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputGrow (in_ : * mut xmlParserInput , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseDoc (cur : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseFile (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSubstituteEntitiesDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlKeepBlanksDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStopParser (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlPedanticParserDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlLineNumbersDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefSubstituteEntitiesDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefKeepBlanksDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefPedanticParserDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefLineNumbersDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefDoValidityCheckingDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefGetWarningsDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefLoadExtDtdDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRecoverDoc (cur : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlRecoverMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlRecoverFile (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseDocument (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseExtParsedEnt (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXUserParseFile (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXUserParseMemory (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXParseDoc (sax : * mut xmlSAXHandler , cur : * const xmlChar , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseMemory (sax : * mut xmlSAXHandler , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseMemoryWithData (sax : * mut xmlSAXHandler , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , recovery : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseFile (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseFileWithData (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char , recovery : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseEntity (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseEntity (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseDtd (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlCtxtValidateDocument (ctxt : * mut xmlParserCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtValidateDtd (ctxt : * mut xmlParserCtxt , doc : * mut xmlDoc , dtd : * mut xmlDtd) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXParseDTD (sax : * mut xmlSAXHandler , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlParseDTD (publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlIOParseDTD (sax : * mut xmlSAXHandler , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlParseBalancedChunkMemory (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , string : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseInNodeContext (node : * mut xmlNode , data : * const :: std :: os :: raw :: c_char , datalen : :: std :: os :: raw :: c_int , options : :: std :: os :: raw :: c_int , lst : * mut * mut xmlNode) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlParseBalancedChunkMemoryRecover (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , string : * const xmlChar , lst : * mut * mut xmlNode , recover : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseExternalEntity (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , URL : * const xmlChar , ID : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseCtxtExternalEntity (ctx : * mut xmlParserCtxt , URL : * const xmlChar , ID : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNewParserCtxt () -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlNewSAXParserCtxt (sax : * const xmlSAXHandler , userData : * mut :: std :: os :: raw :: c_void) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlInitParserCtxt (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlClearParserCtxt (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlFreeParserCtxt (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlSetupParserForBuffer (ctxt : * mut xmlParserCtxt , buffer : * const xmlChar , filename : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlCreateDocParserCtxt (cur : * const xmlChar) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlCreatePushParserCtxt (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , filename : * const :: std :: os :: raw :: c_char) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlParseChunk (ctxt : * mut xmlParserCtxt , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , terminate : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCreateIOParserCtxt (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , enc : xmlCharEncoding) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlNewIOInputStream (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlParserFindNodeInfo (ctxt : * mut xmlParserCtxt , node : * mut xmlNode) -> * const xmlParserNodeInfo ; } unsafe extern "C" { pub fn xmlInitNodeInfoSeq (seq : * mut xmlParserNodeInfoSeq) ; } unsafe extern "C" { pub fn xmlClearNodeInfoSeq (seq : * mut xmlParserNodeInfoSeq) ; } unsafe extern "C" { pub fn xmlParserFindNodeInfoIndex (seq : * mut xmlParserNodeInfoSeq , node : * mut xmlNode) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlParserAddNodeInfo (ctxt : * mut xmlParserCtxt , info : * mut xmlParserNodeInfo) ; } unsafe extern "C" { pub fn xmlSetExternalEntityLoader (f : xmlExternalEntityLoader) ; } unsafe extern "C" { pub fn xmlGetExternalEntityLoader () -> xmlExternalEntityLoader ; } unsafe extern "C" { pub fn xmlLoadExternalEntity (URL : * const :: std :: os :: raw :: c_char , ID : * const :: std :: os :: raw :: c_char , ctxt : * mut xmlParserCtxt) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlByteConsumed (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_long ; } # [doc = " Enable \"recovery\" mode which allows non-wellformed documents.\n How this mode behaves exactly is unspecified and may change\n without further notice. Use of this feature is DISCOURAGED.\n\n Not supported by the push parser."] pub const xmlParserOption_XML_PARSE_RECOVER : xmlParserOption = 1 ; # [doc = " Despite the confusing name, this option enables substitution\n of entities. The resulting tree won't contain any entity\n reference nodes.\n\n This option also enables loading of external entities (both\n general and parameter entities) which is dangerous. If you\n process untrusted data, it's recommended to set the\n XML_PARSE_NO_XXE option to disable loading of external\n entities."] pub const xmlParserOption_XML_PARSE_NOENT : xmlParserOption = 2 ; # [doc = " Enables loading of an external DTD and the loading and\n substitution of external parameter entities. Has no effect\n if XML_PARSE_NO_XXE is set."] pub const xmlParserOption_XML_PARSE_DTDLOAD : xmlParserOption = 4 ; # [doc = " Adds default attributes from the DTD to the result document.\n\n Implies XML_PARSE_DTDLOAD, but loading of external content\n can be disabled with XML_PARSE_NO_XXE."] pub const xmlParserOption_XML_PARSE_DTDATTR : xmlParserOption = 8 ; # [doc = " This option enables DTD validation which requires to load\n external DTDs and external entities (both general and\n parameter entities) unless XML_PARSE_NO_XXE was set.\n\n DTD validation is vulnerable to algorithmic complexity\n attacks and should never be enabled with untrusted input."] pub const xmlParserOption_XML_PARSE_DTDVALID : xmlParserOption = 16 ; # [doc = " Disable error and warning reports to the error handlers.\n Errors are still accessible with xmlCtxtGetLastError()."] pub const xmlParserOption_XML_PARSE_NOERROR : xmlParserOption = 32 ; # [doc = " Disable warning reports."] pub const xmlParserOption_XML_PARSE_NOWARNING : xmlParserOption = 64 ; # [doc = " Enable some pedantic warnings."] pub const xmlParserOption_XML_PARSE_PEDANTIC : xmlParserOption = 128 ; # [doc = " Remove some whitespace from the result document. Where to\n remove whitespace depends on DTD element declarations or a\n broken heuristic with unfixable bugs. Use of this option is\n DISCOURAGED.\n\n Not supported by the push parser."] pub const xmlParserOption_XML_PARSE_NOBLANKS : xmlParserOption = 256 ; # [doc = " Always invoke the deprecated SAX1 startElement and endElement\n handlers.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_SAX1 : xmlParserOption = 512 ; # [doc = " Enable XInclude processing. This option only affects the\n xmlTextReader and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_XINCLUDE : xmlParserOption = 1024 ; # [doc = " Disable network access with the built-in HTTP or FTP clients.\n\n After the last built-in network client was removed in 2.15,\n this option has no effect expect for being passed on to custom\n resource loaders."] pub const xmlParserOption_XML_PARSE_NONET : xmlParserOption = 2048 ; # [doc = " Create a document without interned strings, making all\n strings separate memory allocations."] pub const xmlParserOption_XML_PARSE_NODICT : xmlParserOption = 4096 ; # [doc = " Remove redundant namespace declarations from the result\n document."] pub const xmlParserOption_XML_PARSE_NSCLEAN : xmlParserOption = 8192 ; # [doc = " Output normal text nodes instead of CDATA nodes."] pub const xmlParserOption_XML_PARSE_NOCDATA : xmlParserOption = 16384 ; # [doc = " Don't generate XInclude start/end nodes when expanding\n inclusions. This option only affects the xmlTextReader\n and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_NOXINCNODE : xmlParserOption = 32768 ; # [doc = " Store small strings directly in the node struct to save\n memory."] pub const xmlParserOption_XML_PARSE_COMPACT : xmlParserOption = 65536 ; # [doc = " Use old Name productions from before XML 1.0 Fifth Edition.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_OLD10 : xmlParserOption = 131072 ; # [doc = " Don't fix up XInclude xml:base URIs. This option only affects\n the xmlTextReader and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_NOBASEFIX : xmlParserOption = 262144 ; # [doc = " Relax some internal limits.\n\n Maximum size of text nodes, tags, comments, processing instructions,\n CDATA sections, entity values\n\n normal: 10M\n huge:    1B\n\n Maximum size of names, system literals, pubid literals\n\n normal: 50K\n huge:   10M\n\n Maximum nesting depth of elements\n\n normal:  256\n huge:   2048\n\n Maximum nesting depth of entities\n\n normal: 20\n huge:   40"] pub const xmlParserOption_XML_PARSE_HUGE : xmlParserOption = 524288 ; # [doc = " Enable an unspecified legacy mode for SAX parsers.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_OLDSAX : xmlParserOption = 1048576 ; # [doc = " Ignore the encoding in the XML declaration. This option is\n mostly unneeded these days. The only effect is to enforce\n UTF-8 decoding of ASCII-like data."] pub const xmlParserOption_XML_PARSE_IGNORE_ENC : xmlParserOption = 2097152 ; # [doc = " Enable reporting of line numbers larger than 65535."] pub const xmlParserOption_XML_PARSE_BIG_LINES : xmlParserOption = 4194304 ; # [doc = " Disables loading of external DTDs or entities.\n\n @since 2.13.0"] pub const xmlParserOption_XML_PARSE_NO_XXE : xmlParserOption = 8388608 ; # [doc = " Enable input decompression. Setting this option is discouraged\n to avoid zip bombs.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_UNZIP : xmlParserOption = 16777216 ; # [doc = " Disables the global system XML catalog.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_NO_SYS_CATALOG : xmlParserOption = 33554432 ; # [doc = " Enable XML catalog processing instructions.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_CATALOG_PI : xmlParserOption = 67108864 ; # [doc = " Force the parser to ignore IDs.\n\n @since 2.15.0"] pub const xmlParserOption_XML_PARSE_SKIP_IDS : xmlParserOption = 134217728 ; # [doc = " This is the set of XML parser options that can be passed to\n #xmlReadDoc, #xmlCtxtSetOptions and other functions."] pub type xmlParserOption = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlCtxtReset (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlCtxtResetPush (ctxt : * mut xmlParserCtxt , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , filename : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetOptions (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtSetOptions (ctxt : * mut xmlParserCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtUseOptions (ctxt : * mut xmlParserCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetPrivate (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtSetPrivate (ctxt : * mut xmlParserCtxt , priv_ : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtGetCatalogs (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtSetCatalogs (ctxt : * mut xmlParserCtxt , catalogs : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtGetDict (ctxt : * mut xmlParserCtxt) -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlCtxtSetDict (ctxt : * mut xmlParserCtxt , arg1 : * mut xmlDict) ; } unsafe extern "C" { pub fn xmlCtxtGetSaxHandler (ctxt : * mut xmlParserCtxt) -> * mut xmlSAXHandler ; } unsafe extern "C" { pub fn xmlCtxtSetSaxHandler (ctxt : * mut xmlParserCtxt , sax : * const xmlSAXHandler) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetDocument (ctxt : * mut xmlParserCtxt) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtIsHtml (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtIsStopped (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtIsInSubset (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetValidCtxt (ctxt : * mut xmlParserCtxt) -> * mut xmlValidCtxt ; } unsafe extern "C" { pub fn xmlCtxtGetVersion (ctxt : * mut xmlParserCtxt) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCtxtGetDeclaredEncoding (ctxt : * mut xmlParserCtxt) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCtxtGetStandalone (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetStatus (ctxt : * mut xmlParserCtxt) -> xmlParserStatus ; } unsafe extern "C" { pub fn xmlCtxtGetUserData (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtGetNode (ctxt : * mut xmlParserCtxt) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCtxtGetDocTypeDecl (ctxt : * mut xmlParserCtxt , name : * mut * const xmlChar , systemId : * mut * const xmlChar , publicId : * mut * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetInputPosition (ctxt : * mut xmlParserCtxt , inputIndex : :: std :: os :: raw :: c_int , filname : * mut * const :: std :: os :: raw :: c_char , line : * mut :: std :: os :: raw :: c_int , col : * mut :: std :: os :: raw :: c_int , bytePos : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetInputWindow (ctxt : * mut xmlParserCtxt , inputIndex : :: std :: os :: raw :: c_int , startOut : * mut * const xmlChar , sizeInOut : * mut :: std :: os :: raw :: c_int , offsetOut : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtSetErrorHandler (ctxt : * mut xmlParserCtxt , handler : xmlStructuredErrorFunc , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetResourceLoader (ctxt : * mut xmlParserCtxt , loader : xmlResourceLoader , vctxt : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetCharEncConvImpl (ctxt : * mut xmlParserCtxt , impl_ : xmlCharEncConvImpl , vctxt : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetMaxAmplification (ctxt : * mut xmlParserCtxt , maxAmpl : :: std :: os :: raw :: c_uint) ; } unsafe extern "C" { pub fn xmlReadDoc (cur : * const xmlChar , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadFile (URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadFd (fd : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadIO (ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseDocument (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseContent (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput , node : * mut xmlNode , hasTextDecl : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCtxtReadDoc (ctxt : * mut xmlParserCtxt , cur : * const xmlChar , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadFile (ctxt : * mut xmlParserCtxt , filename : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadMemory (ctxt : * mut xmlParserCtxt , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadFd (ctxt : * mut xmlParserCtxt , fd : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadIO (ctxt : * mut xmlParserCtxt , ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlNewInputFromUrl (url : * const :: std :: os :: raw :: c_char , flags : xmlParserInputFlags , out : * mut * mut xmlParserInput) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlNewInputFromMemory (url : * const :: std :: os :: raw :: c_char , mem : * const :: std :: os :: raw :: c_void , size : usize , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromString (url : * const :: std :: os :: raw :: c_char , str_ : * const :: std :: os :: raw :: c_char , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromFd (url : * const :: std :: os :: raw :: c_char , fd : :: std :: os :: raw :: c_int , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromIO (url : * const :: std :: os :: raw :: c_char , ioRead : xmlInputReadCallback , ioClose : xmlInputCloseCallback , ioCtxt : * mut :: std :: os :: raw :: c_void , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlInputSetEncodingHandler (input : * mut xmlParserInput , handler : * mut xmlCharEncodingHandler) -> xmlParserErrors ; } # [doc = " Multithreading support"] pub const xmlFeature_XML_WITH_THREAD : xmlFeature = 1 ; # [doc = " @deprecated Always available"] pub const xmlFeature_XML_WITH_TREE : xmlFeature = 2 ; # [doc = " Serialization support"] pub const xmlFeature_XML_WITH_OUTPUT : xmlFeature = 3 ; # [doc = " Push parser"] pub const xmlFeature_XML_WITH_PUSH : xmlFeature = 4 ; # [doc = " XML Reader"] pub const xmlFeature_XML_WITH_READER : xmlFeature = 5 ; # [doc = " Streaming patterns"] pub const xmlFeature_XML_WITH_PATTERN : xmlFeature = 6 ; # [doc = " XML Writer"] pub const xmlFeature_XML_WITH_WRITER : xmlFeature = 7 ; # [doc = " Legacy SAX1 API"] pub const xmlFeature_XML_WITH_SAX1 : xmlFeature = 8 ; # [doc = " @deprecated FTP support was removed"] pub const xmlFeature_XML_WITH_FTP : xmlFeature = 9 ; # [doc = " @deprecated HTTP support was removed"] pub const xmlFeature_XML_WITH_HTTP : xmlFeature = 10 ; # [doc = " DTD validation"] pub const xmlFeature_XML_WITH_VALID : xmlFeature = 11 ; # [doc = " HTML parser"] pub const xmlFeature_XML_WITH_HTML : xmlFeature = 12 ; # [doc = " Legacy symbols"] pub const xmlFeature_XML_WITH_LEGACY : xmlFeature = 13 ; # [doc = " Canonical XML"] pub const xmlFeature_XML_WITH_C14N : xmlFeature = 14 ; # [doc = " XML Catalogs"] pub const xmlFeature_XML_WITH_CATALOG : xmlFeature = 15 ; # [doc = " XPath"] pub const xmlFeature_XML_WITH_XPATH : xmlFeature = 16 ; # [doc = " XPointer"] pub const xmlFeature_XML_WITH_XPTR : xmlFeature = 17 ; # [doc = " XInclude"] pub const xmlFeature_XML_WITH_XINCLUDE : xmlFeature = 18 ; # [doc = " iconv"] pub const xmlFeature_XML_WITH_ICONV : xmlFeature = 19 ; # [doc = " Built-in ISO-8859-X"] pub const xmlFeature_XML_WITH_ISO8859X : xmlFeature = 20 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_UNICODE : xmlFeature = 21 ; # [doc = " Regular expressions"] pub const xmlFeature_XML_WITH_REGEXP : xmlFeature = 22 ; # [doc = " @deprecated Same as XML_WITH_REGEXP"] pub const xmlFeature_XML_WITH_AUTOMATA : xmlFeature = 23 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_EXPR : xmlFeature = 24 ; # [doc = " XML Schemas"] pub const xmlFeature_XML_WITH_SCHEMAS : xmlFeature = 25 ; # [doc = " Schematron"] pub const xmlFeature_XML_WITH_SCHEMATRON : xmlFeature = 26 ; # [doc = " Loadable modules"] pub const xmlFeature_XML_WITH_MODULES : xmlFeature = 27 ; # [doc = " Debugging API"] pub const xmlFeature_XML_WITH_DEBUG : xmlFeature = 28 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_DEBUG_MEM : xmlFeature = 29 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_DEBUG_RUN : xmlFeature = 30 ; # [doc = " GZIP compression"] pub const xmlFeature_XML_WITH_ZLIB : xmlFeature = 31 ; # [doc = " ICU"] pub const xmlFeature_XML_WITH_ICU : xmlFeature = 32 ; # [doc = " @deprecated LZMA support was removed"] pub const xmlFeature_XML_WITH_LZMA : xmlFeature = 33 ; # [doc = " RELAXNG, since 2.14"] pub const xmlFeature_XML_WITH_RELAXNG : xmlFeature = 34 ; # [doc = " RELAXNG, since 2.14"] pub const xmlFeature_XML_WITH_NONE : xmlFeature = 99999 ; # [doc = " Used to examine the existence of features that can be enabled\n or disabled at compile-time.\n They used to be called XML_FEATURE_xxx but this clashed with Expat"] pub type xmlFeature = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlHasFeature (feature : xmlFeature) -> :: std :: os :: raw :: c_int ; } pub const xmlSchemaValidError_XML_SCHEMAS_ERR_OK : xmlSchemaValidError = 0 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOROOT : xmlSchemaValidError = 1 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_UNDECLAREDELEM : xmlSchemaValidError = 2 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTTOPLEVEL : xmlSchemaValidError = 3 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_MISSING : xmlSchemaValidError = 4 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_WRONGELEM : xmlSchemaValidError = 5 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTYPE : xmlSchemaValidError = 6 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOROLLBACK : xmlSchemaValidError = 7 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ISABSTRACT : xmlSchemaValidError = 8 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTEMPTY : xmlSchemaValidError = 9 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ELEMCONT : xmlSchemaValidError = 10 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_HAVEDEFAULT : xmlSchemaValidError = 11 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTNILLABLE : xmlSchemaValidError = 12 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_EXTRACONTENT : xmlSchemaValidError = 13 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INVALIDATTR : xmlSchemaValidError = 14 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INVALIDELEM : xmlSchemaValidError = 15 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTDETERMINIST : xmlSchemaValidError = 16 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_CONSTRUCT : xmlSchemaValidError = 17 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INTERNAL : xmlSchemaValidError = 18 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTSIMPLE : xmlSchemaValidError = 19 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ATTRUNKNOWN : xmlSchemaValidError = 20 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ATTRINVALID : xmlSchemaValidError = 21 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_VALUE : xmlSchemaValidError = 22 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_FACET : xmlSchemaValidError = 23 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ : xmlSchemaValidError = 24 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_XXX : xmlSchemaValidError = 25 ; # [doc = " This error codes are obsolete; not used any more."] pub type xmlSchemaValidError = :: std :: os :: raw :: c_uint ; pub const xmlSchemaValidOption_XML_SCHEMA_VAL_VC_I_CREATE : xmlSchemaValidOption = 1 ; # [doc = " This is the set of XML Schema validation options."] pub type xmlSchemaValidOption = :: std :: os :: raw :: c_uint ; # [doc = " XML schema"] pub type xmlSchema = _xmlSchema ; pub type xmlSchemaPtr = * mut xmlSchema ; # [doc = " Signature of an error callback from an XSD validation\n\n @param ctx  the validation context\n @param msg  the message\n @param ... extra arguments"] pub type xmlSchemaValidityErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Signature of a warning callback from an XSD validation\n\n @param ctx  the validation context\n @param msg  the message\n @param ... extra arguments"] pub type xmlSchemaValidityWarningFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaParserCtxt { _unused : [u8 ; 0] , } # [doc = " Schema parser context"] pub type xmlSchemaParserCtxt = _xmlSchemaParserCtxt ; pub type xmlSchemaParserCtxtPtr = * mut xmlSchemaParserCtxt ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaValidCtxt { _unused : [u8 ; 0] , } # [doc = " Schema validation context"] pub type xmlSchemaValidCtxt = _xmlSchemaValidCtxt ; pub type xmlSchemaValidCtxtPtr = * mut xmlSchemaValidCtxt ; # [doc = " A schemas validation locator, a callback called by the validator.\n This is used when file or node information are not available\n to find out what file and line number are affected\n\n @param ctx  user provided context\n @param file  returned file information\n @param line  returned line information\n @returns 0 in case of success and -1 in case of error"] pub type xmlSchemaValidityLocatorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , file : * mut * const :: std :: os :: raw :: c_char , line : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int > ; unsafe extern "C" { pub fn xmlSchemaNewParserCtxt (URL : * const :: std :: os :: raw :: c_char) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaNewMemParserCtxt (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaNewDocParserCtxt (doc : * mut xmlDoc) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaFreeParserCtxt (ctxt : * mut xmlSchemaParserCtxt) ; } unsafe extern "C" { pub fn xmlSchemaSetParserErrors (ctxt : * mut xmlSchemaParserCtxt , err : xmlSchemaValidityErrorFunc , warn : xmlSchemaValidityWarningFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaSetParserStructuredErrors (ctxt : * mut xmlSchemaParserCtxt , serror : xmlStructuredErrorFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaGetParserErrors (ctxt : * mut xmlSchemaParserCtxt , err : * mut xmlSchemaValidityErrorFunc , warn : * mut xmlSchemaValidityWarningFunc , ctx : * mut * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaSetResourceLoader (ctxt : * mut xmlSchemaParserCtxt , loader : xmlResourceLoader , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaIsValid (ctxt : * mut xmlSchemaValidCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaParse (ctxt : * mut xmlSchemaParserCtxt) -> * mut xmlSchema ; } unsafe extern "C" { pub fn xmlSchemaFree (schema : * mut xmlSchema) ; } unsafe extern "C" { pub fn xmlSchemaDump (output : * mut FILE , schema : * mut xmlSchema) ; } unsafe extern "C" { pub fn xmlSchemaSetValidErrors (ctxt : * mut xmlSchemaValidCtxt , err : xmlSchemaValidityErrorFunc , warn : xmlSchemaValidityWarningFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaSetValidStructuredErrors (ctxt : * mut xmlSchemaValidCtxt , serror : xmlStructuredErrorFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaGetValidErrors (ctxt : * mut xmlSchemaValidCtxt , err : * mut xmlSchemaValidityErrorFunc , warn : * mut xmlSchemaValidityWarningFunc , ctx : * mut * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaSetValidOptions (ctxt : * mut xmlSchemaValidCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateSetFilename (vctxt : * mut xmlSchemaValidCtxt , filename : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlSchemaValidCtxtGetOptions (ctxt : * mut xmlSchemaValidCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaNewValidCtxt (schema : * mut xmlSchema) -> * mut xmlSchemaValidCtxt ; } unsafe extern "C" { pub fn xmlSchemaFreeValidCtxt (ctxt : * mut xmlSchemaValidCtxt) ; } unsafe extern "C" { pub fn xmlSchemaValidateDoc (ctxt : * mut xmlSchemaValidCtxt , instance : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateOneElement (ctxt : * mut xmlSchemaValidCtxt , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateStream (ctxt : * mut xmlSchemaValidCtxt , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding , sax : * const xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFile (ctxt : * mut xmlSchemaValidCtxt , filename : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidCtxtGetParserCtxt (ctxt : * mut xmlSchemaValidCtxt) -> * mut xmlParserCtxt ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaSAXPlug { _unused : [u8 ; 0] , } # [doc = " Interface to insert Schemas SAX validation in a SAX stream"] pub type xmlSchemaSAXPlugStruct = _xmlSchemaSAXPlug ; pub type xmlSchemaSAXPlugPtr = * mut xmlSchemaSAXPlugStruct ; unsafe extern "C" { pub fn xmlSchemaSAXPlug (ctxt : * mut xmlSchemaValidCtxt , sax : * mut * mut xmlSAXHandler , user_data : * mut * mut :: std :: os :: raw :: c_void) -> * mut xmlSchemaSAXPlugStruct ; } unsafe extern "C" { pub fn xmlSchemaSAXUnplug (plug : * mut xmlSchemaSAXPlugStruct) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateSetLocator (vctxt : * mut xmlSchemaValidCtxt , f : xmlSchemaValidityLocatorFunc , ctxt : * mut :: std :: os :: raw :: c_void) ; } pub const xmlSchemaValType_XML_SCHEMAS_UNKNOWN : xmlSchemaValType = 0 ; pub const xmlSchemaValType_XML_SCHEMAS_STRING : xmlSchemaValType = 1 ; pub const xmlSchemaValType_XML_SCHEMAS_NORMSTRING : xmlSchemaValType = 2 ; pub const xmlSchemaValType_XML_SCHEMAS_DECIMAL : xmlSchemaValType = 3 ; pub const xmlSchemaValType_XML_SCHEMAS_TIME : xmlSchemaValType = 4 ; pub const xmlSchemaValType_XML_SCHEMAS_GDAY : xmlSchemaValType = 5 ; pub const xmlSchemaValType_XML_SCHEMAS_GMONTH : xmlSchemaValType = 6 ; pub const xmlSchemaValType_XML_SCHEMAS_GMONTHDAY : xmlSchemaValType = 7 ; pub const xmlSchemaValType_XML_SCHEMAS_GYEAR : xmlSchemaValType = 8 ; pub const xmlSchemaValType_XML_SCHEMAS_GYEARMONTH : xmlSchemaValType = 9 ; pub const xmlSchemaValType_XML_SCHEMAS_DATE : xmlSchemaValType = 10 ; pub const xmlSchemaValType_XML_SCHEMAS_DATETIME : xmlSchemaValType = 11 ; pub const xmlSchemaValType_XML_SCHEMAS_DURATION : xmlSchemaValType = 12 ; pub const xmlSchemaValType_XML_SCHEMAS_FLOAT : xmlSchemaValType = 13 ; pub const xmlSchemaValType_XML_SCHEMAS_DOUBLE : xmlSchemaValType = 14 ; pub const xmlSchemaValType_XML_SCHEMAS_BOOLEAN : xmlSchemaValType = 15 ; pub const xmlSchemaValType_XML_SCHEMAS_TOKEN : xmlSchemaValType = 16 ; pub const xmlSchemaValType_XML_SCHEMAS_LANGUAGE : xmlSchemaValType = 17 ; pub const xmlSchemaValType_XML_SCHEMAS_NMTOKEN : xmlSchemaValType = 18 ; pub const xmlSchemaValType_XML_SCHEMAS_NMTOKENS : xmlSchemaValType = 19 ; pub const xmlSchemaValType_XML_SCHEMAS_NAME : xmlSchemaValType = 20 ; pub const xmlSchemaValType_XML_SCHEMAS_QNAME : xmlSchemaValType = 21 ; pub const xmlSchemaValType_XML_SCHEMAS_NCNAME : xmlSchemaValType = 22 ; pub const xmlSchemaValType_XML_SCHEMAS_ID : xmlSchemaValType = 23 ; pub const xmlSchemaValType_XML_SCHEMAS_IDREF : xmlSchemaValType = 24 ; pub const xmlSchemaValType_XML_SCHEMAS_IDREFS : xmlSchemaValType = 25 ; pub const xmlSchemaValType_XML_SCHEMAS_ENTITY : xmlSchemaValType = 26 ; pub const xmlSchemaValType_XML_SCHEMAS_ENTITIES : xmlSchemaValType = 27 ; pub const xmlSchemaValType_XML_SCHEMAS_NOTATION : xmlSchemaValType = 28 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYURI : xmlSchemaValType = 29 ; pub const xmlSchemaValType_XML_SCHEMAS_INTEGER : xmlSchemaValType = 30 ; pub const xmlSchemaValType_XML_SCHEMAS_NPINTEGER : xmlSchemaValType = 31 ; pub const xmlSchemaValType_XML_SCHEMAS_NINTEGER : xmlSchemaValType = 32 ; pub const xmlSchemaValType_XML_SCHEMAS_NNINTEGER : xmlSchemaValType = 33 ; pub const xmlSchemaValType_XML_SCHEMAS_PINTEGER : xmlSchemaValType = 34 ; pub const xmlSchemaValType_XML_SCHEMAS_INT : xmlSchemaValType = 35 ; pub const xmlSchemaValType_XML_SCHEMAS_UINT : xmlSchemaValType = 36 ; pub const xmlSchemaValType_XML_SCHEMAS_LONG : xmlSchemaValType = 37 ; pub const xmlSchemaValType_XML_SCHEMAS_ULONG : xmlSchemaValType = 38 ; pub const xmlSchemaValType_XML_SCHEMAS_SHORT : xmlSchemaValType = 39 ; pub const xmlSchemaValType_XML_SCHEMAS_USHORT : xmlSchemaValType = 40 ; pub const xmlSchemaValType_XML_SCHEMAS_BYTE : xmlSchemaValType = 41 ; pub const xmlSchemaValType_XML_SCHEMAS_UBYTE : xmlSchemaValType = 42 ; pub const xmlSchemaValType_XML_SCHEMAS_HEXBINARY : xmlSchemaValType = 43 ; pub const xmlSchemaValType_XML_SCHEMAS_BASE64BINARY : xmlSchemaValType = 44 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYTYPE : xmlSchemaValType = 45 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYSIMPLETYPE : xmlSchemaValType = 46 ; # [doc = " Schema value type"] pub type xmlSchemaValType = :: std :: os :: raw :: c_uint ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_BASIC : xmlSchemaTypeType = 1 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ANY : xmlSchemaTypeType = 2 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_FACET : xmlSchemaTypeType = 3 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SIMPLE : xmlSchemaTypeType = 4 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_COMPLEX : xmlSchemaTypeType = 5 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SEQUENCE : xmlSchemaTypeType = 6 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_CHOICE : xmlSchemaTypeType = 7 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ALL : xmlSchemaTypeType = 8 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SIMPLE_CONTENT : xmlSchemaTypeType = 9 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_COMPLEX_CONTENT : xmlSchemaTypeType = 10 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_UR : xmlSchemaTypeType = 11 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_RESTRICTION : xmlSchemaTypeType = 12 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_EXTENSION : xmlSchemaTypeType = 13 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ELEMENT : xmlSchemaTypeType = 14 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTE : xmlSchemaTypeType = 15 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTEGROUP : xmlSchemaTypeType = 16 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_GROUP : xmlSchemaTypeType = 17 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_NOTATION : xmlSchemaTypeType = 18 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_LIST : xmlSchemaTypeType = 19 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_UNION : xmlSchemaTypeType = 20 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ANY_ATTRIBUTE : xmlSchemaTypeType = 21 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_UNIQUE : xmlSchemaTypeType = 22 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_KEY : xmlSchemaTypeType = 23 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_KEYREF : xmlSchemaTypeType = 24 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_PARTICLE : xmlSchemaTypeType = 25 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTE_USE : xmlSchemaTypeType = 26 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MININCLUSIVE : xmlSchemaTypeType = 1000 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MINEXCLUSIVE : xmlSchemaTypeType = 1001 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXINCLUSIVE : xmlSchemaTypeType = 1002 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXEXCLUSIVE : xmlSchemaTypeType = 1003 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_TOTALDIGITS : xmlSchemaTypeType = 1004 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_FRACTIONDIGITS : xmlSchemaTypeType = 1005 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_PATTERN : xmlSchemaTypeType = 1006 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_ENUMERATION : xmlSchemaTypeType = 1007 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_WHITESPACE : xmlSchemaTypeType = 1008 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_LENGTH : xmlSchemaTypeType = 1009 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXLENGTH : xmlSchemaTypeType = 1010 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MINLENGTH : xmlSchemaTypeType = 1011 ; pub const xmlSchemaTypeType_XML_SCHEMA_EXTRA_QNAMEREF : xmlSchemaTypeType = 2000 ; pub const xmlSchemaTypeType_XML_SCHEMA_EXTRA_ATTR_USE_PROHIB : xmlSchemaTypeType = 2001 ; # [doc = " XML Schemas defines multiple type of types."] pub type xmlSchemaTypeType = :: std :: os :: raw :: c_uint ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_UNKNOWN : xmlSchemaContentType = 0 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_EMPTY : xmlSchemaContentType = 1 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_ELEMENTS : xmlSchemaContentType = 2 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_MIXED : xmlSchemaContentType = 3 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_SIMPLE : xmlSchemaContentType = 4 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_MIXED_OR_ELEMENTS : xmlSchemaContentType = 5 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_BASIC : xmlSchemaContentType = 6 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_ANY : xmlSchemaContentType = 7 ; # [doc = " Schema content type"] pub type xmlSchemaContentType = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaVal { _unused : [u8 ; 0] , } # [doc = " Schema value"] pub type xmlSchemaVal = _xmlSchemaVal ; pub type xmlSchemaValPtr = * mut xmlSchemaVal ; # [doc = " Schema type"] pub type xmlSchemaType = _xmlSchemaType ; pub type xmlSchemaTypePtr = * mut xmlSchemaType ; # [doc = " Schema facet"] pub type xmlSchemaFacet = _xmlSchemaFacet ; pub type xmlSchemaFacetPtr = * mut xmlSchemaFacet ; # [doc = " Schema annotation"] pub type xmlSchemaAnnot = _xmlSchemaAnnot ; pub type xmlSchemaAnnotPtr = * mut xmlSchemaAnnot ; # [doc = " Annotation"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAnnot { pub next : * mut _xmlSchemaAnnot , pub content : * mut xmlNode , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAnnot"] [:: std :: mem :: size_of :: < _xmlSchemaAnnot > () - 16usize] ; ["Alignment of _xmlSchemaAnnot"] [:: std :: mem :: align_of :: < _xmlSchemaAnnot > () - 8usize] ; ["Offset of field: _xmlSchemaAnnot::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAnnot , next) - 0usize] ; ["Offset of field: _xmlSchemaAnnot::content"] [:: std :: mem :: offset_of ! (_xmlSchemaAnnot , content) - 8usize] ; } ; # [doc = " Schema attribute definition"] pub type xmlSchemaAttribute = _xmlSchemaAttribute ; pub type xmlSchemaAttributePtr = * mut xmlSchemaAttribute ; # [doc = " An attribute definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttribute { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaAttribute , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub typeName : * const xmlChar , pub typeNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub base : * mut xmlSchemaType , pub occurs : :: std :: os :: raw :: c_int , pub defValue : * const xmlChar , pub subtypes : * mut xmlSchemaType , pub node : * mut xmlNode , pub targetNamespace : * const xmlChar , pub flags : :: std :: os :: raw :: c_int , pub refPrefix : * const xmlChar , pub defVal : * mut xmlSchemaVal , pub refDecl : * mut xmlSchemaAttribute , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttribute"] [:: std :: mem :: size_of :: < _xmlSchemaAttribute > () - 152usize] ; ["Alignment of _xmlSchemaAttribute"] [:: std :: mem :: align_of :: < _xmlSchemaAttribute > () - 8usize] ; ["Offset of field: _xmlSchemaAttribute::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , type_) - 0usize] ; ["Offset of field: _xmlSchemaAttribute::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , next) - 8usize] ; ["Offset of field: _xmlSchemaAttribute::name"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , name) - 16usize] ; ["Offset of field: _xmlSchemaAttribute::id"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , id) - 24usize] ; ["Offset of field: _xmlSchemaAttribute::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , ref_) - 32usize] ; ["Offset of field: _xmlSchemaAttribute::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refNs) - 40usize] ; ["Offset of field: _xmlSchemaAttribute::typeName"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , typeName) - 48usize] ; ["Offset of field: _xmlSchemaAttribute::typeNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , typeNs) - 56usize] ; ["Offset of field: _xmlSchemaAttribute::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , annot) - 64usize] ; ["Offset of field: _xmlSchemaAttribute::base"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , base) - 72usize] ; ["Offset of field: _xmlSchemaAttribute::occurs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , occurs) - 80usize] ; ["Offset of field: _xmlSchemaAttribute::defValue"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , defValue) - 88usize] ; ["Offset of field: _xmlSchemaAttribute::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , subtypes) - 96usize] ; ["Offset of field: _xmlSchemaAttribute::node"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , node) - 104usize] ; ["Offset of field: _xmlSchemaAttribute::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , targetNamespace) - 112usize] ; ["Offset of field: _xmlSchemaAttribute::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , flags) - 120usize] ; ["Offset of field: _xmlSchemaAttribute::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refPrefix) - 128usize] ; ["Offset of field: _xmlSchemaAttribute::defVal"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , defVal) - 136usize] ; ["Offset of field: _xmlSchemaAttribute::refDecl"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refDecl) - 144usize] ; } ; # [doc = " Linked list of schema attributes"] pub type xmlSchemaAttributeLink = _xmlSchemaAttributeLink ; pub type xmlSchemaAttributeLinkPtr = * mut xmlSchemaAttributeLink ; # [doc = " Used to build a list of attribute uses on complexType definitions.\n WARNING: Deprecated; not used."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttributeLink { pub next : * mut _xmlSchemaAttributeLink , pub attr : * mut _xmlSchemaAttribute , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttributeLink"] [:: std :: mem :: size_of :: < _xmlSchemaAttributeLink > () - 16usize] ; ["Alignment of _xmlSchemaAttributeLink"] [:: std :: mem :: align_of :: < _xmlSchemaAttributeLink > () - 8usize] ; ["Offset of field: _xmlSchemaAttributeLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeLink , next) - 0usize] ; ["Offset of field: _xmlSchemaAttributeLink::attr"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeLink , attr) - 8usize] ; } ; # [doc = " Namespace wildcard"] pub type xmlSchemaWildcardNs = _xmlSchemaWildcardNs ; pub type xmlSchemaWildcardNsPtr = * mut xmlSchemaWildcardNs ; # [doc = " Used to build a list of namespaces on wildcards."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaWildcardNs { pub next : * mut _xmlSchemaWildcardNs , pub value : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaWildcardNs"] [:: std :: mem :: size_of :: < _xmlSchemaWildcardNs > () - 16usize] ; ["Alignment of _xmlSchemaWildcardNs"] [:: std :: mem :: align_of :: < _xmlSchemaWildcardNs > () - 8usize] ; ["Offset of field: _xmlSchemaWildcardNs::next"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcardNs , next) - 0usize] ; ["Offset of field: _xmlSchemaWildcardNs::value"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcardNs , value) - 8usize] ; } ; # [doc = " Name wildcard"] pub type xmlSchemaWildcard = _xmlSchemaWildcard ; pub type xmlSchemaWildcardPtr = * mut xmlSchemaWildcard ; # [doc = " A wildcard."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaWildcard { pub type_ : xmlSchemaTypeType , pub id : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub processContents : :: std :: os :: raw :: c_int , pub any : :: std :: os :: raw :: c_int , pub nsSet : * mut xmlSchemaWildcardNs , pub negNsSet : * mut xmlSchemaWildcardNs , pub flags : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaWildcard"] [:: std :: mem :: size_of :: < _xmlSchemaWildcard > () - 72usize] ; ["Alignment of _xmlSchemaWildcard"] [:: std :: mem :: align_of :: < _xmlSchemaWildcard > () - 8usize] ; ["Offset of field: _xmlSchemaWildcard::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , type_) - 0usize] ; ["Offset of field: _xmlSchemaWildcard::id"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , id) - 8usize] ; ["Offset of field: _xmlSchemaWildcard::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , annot) - 16usize] ; ["Offset of field: _xmlSchemaWildcard::node"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , node) - 24usize] ; ["Offset of field: _xmlSchemaWildcard::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , minOccurs) - 32usize] ; ["Offset of field: _xmlSchemaWildcard::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , maxOccurs) - 36usize] ; ["Offset of field: _xmlSchemaWildcard::processContents"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , processContents) - 40usize] ; ["Offset of field: _xmlSchemaWildcard::any"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , any) - 44usize] ; ["Offset of field: _xmlSchemaWildcard::nsSet"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , nsSet) - 48usize] ; ["Offset of field: _xmlSchemaWildcard::negNsSet"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , negNsSet) - 56usize] ; ["Offset of field: _xmlSchemaWildcard::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , flags) - 64usize] ; } ; # [doc = " Attribute group"] pub type xmlSchemaAttributeGroup = _xmlSchemaAttributeGroup ; pub type xmlSchemaAttributeGroupPtr = * mut xmlSchemaAttributeGroup ; # [doc = " An attribute group definition.\n\n xmlSchemaAttribute and xmlSchemaAttributeGroup start of structures\n must be kept similar"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttributeGroup { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaAttribute , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub flags : :: std :: os :: raw :: c_int , pub attributeWildcard : * mut xmlSchemaWildcard , pub refPrefix : * const xmlChar , pub refItem : * mut xmlSchemaAttributeGroup , pub targetNamespace : * const xmlChar , pub attrUses : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttributeGroup"] [:: std :: mem :: size_of :: < _xmlSchemaAttributeGroup > () - 120usize] ; ["Alignment of _xmlSchemaAttributeGroup"] [:: std :: mem :: align_of :: < _xmlSchemaAttributeGroup > () - 8usize] ; ["Offset of field: _xmlSchemaAttributeGroup::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , type_) - 0usize] ; ["Offset of field: _xmlSchemaAttributeGroup::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , next) - 8usize] ; ["Offset of field: _xmlSchemaAttributeGroup::name"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , name) - 16usize] ; ["Offset of field: _xmlSchemaAttributeGroup::id"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , id) - 24usize] ; ["Offset of field: _xmlSchemaAttributeGroup::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , ref_) - 32usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refNs) - 40usize] ; ["Offset of field: _xmlSchemaAttributeGroup::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , annot) - 48usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attributes) - 56usize] ; ["Offset of field: _xmlSchemaAttributeGroup::node"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , node) - 64usize] ; ["Offset of field: _xmlSchemaAttributeGroup::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , flags) - 72usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attributeWildcard"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attributeWildcard) - 80usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refPrefix) - 88usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refItem"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refItem) - 96usize] ; ["Offset of field: _xmlSchemaAttributeGroup::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , targetNamespace) - 104usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attrUses"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attrUses) - 112usize] ; } ; # [doc = " Linked list of schema types"] pub type xmlSchemaTypeLink = _xmlSchemaTypeLink ; pub type xmlSchemaTypeLinkPtr = * mut xmlSchemaTypeLink ; # [doc = " Used to build a list of types (e.g. member types of\n simpleType with variety \"union\")."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaTypeLink { pub next : * mut _xmlSchemaTypeLink , pub type_ : * mut xmlSchemaType , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaTypeLink"] [:: std :: mem :: size_of :: < _xmlSchemaTypeLink > () - 16usize] ; ["Alignment of _xmlSchemaTypeLink"] [:: std :: mem :: align_of :: < _xmlSchemaTypeLink > () - 8usize] ; ["Offset of field: _xmlSchemaTypeLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaTypeLink , next) - 0usize] ; ["Offset of field: _xmlSchemaTypeLink::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaTypeLink , type_) - 8usize] ; } ; # [doc = " Linked list of schema facets"] pub type xmlSchemaFacetLink = _xmlSchemaFacetLink ; pub type xmlSchemaFacetLinkPtr = * mut xmlSchemaFacetLink ; # [doc = " Used to build a list of facets."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaFacetLink { pub next : * mut _xmlSchemaFacetLink , pub facet : * mut xmlSchemaFacet , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaFacetLink"] [:: std :: mem :: size_of :: < _xmlSchemaFacetLink > () - 16usize] ; ["Alignment of _xmlSchemaFacetLink"] [:: std :: mem :: align_of :: < _xmlSchemaFacetLink > () - 8usize] ; ["Offset of field: _xmlSchemaFacetLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaFacetLink , next) - 0usize] ; ["Offset of field: _xmlSchemaFacetLink::facet"] [:: std :: mem :: offset_of ! (_xmlSchemaFacetLink , facet) - 8usize] ; } ; # [doc = " Schemas type definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaType { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaType , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub subtypes : * mut xmlSchemaType , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub flags : :: std :: os :: raw :: c_int , pub contentType : xmlSchemaContentType , pub base : * const xmlChar , pub baseNs : * const xmlChar , pub baseType : * mut xmlSchemaType , pub facets : * mut xmlSchemaFacet , pub redef : * mut _xmlSchemaType , pub recurse : :: std :: os :: raw :: c_int , pub attributeUses : * mut * mut xmlSchemaAttributeLink , pub attributeWildcard : * mut xmlSchemaWildcard , pub builtInType : :: std :: os :: raw :: c_int , pub memberTypes : * mut xmlSchemaTypeLink , pub facetSet : * mut xmlSchemaFacetLink , pub refPrefix : * const xmlChar , pub contentTypeDef : * mut xmlSchemaType , pub contModel : * mut xmlRegexp , pub targetNamespace : * const xmlChar , pub attrUses : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaType"] [:: std :: mem :: size_of :: < _xmlSchemaType > () - 224usize] ; ["Alignment of _xmlSchemaType"] [:: std :: mem :: align_of :: < _xmlSchemaType > () - 8usize] ; ["Offset of field: _xmlSchemaType::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaType , type_) - 0usize] ; ["Offset of field: _xmlSchemaType::next"] [:: std :: mem :: offset_of ! (_xmlSchemaType , next) - 8usize] ; ["Offset of field: _xmlSchemaType::name"] [:: std :: mem :: offset_of ! (_xmlSchemaType , name) - 16usize] ; ["Offset of field: _xmlSchemaType::id"] [:: std :: mem :: offset_of ! (_xmlSchemaType , id) - 24usize] ; ["Offset of field: _xmlSchemaType::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaType , ref_) - 32usize] ; ["Offset of field: _xmlSchemaType::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , refNs) - 40usize] ; ["Offset of field: _xmlSchemaType::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaType , annot) - 48usize] ; ["Offset of field: _xmlSchemaType::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , subtypes) - 56usize] ; ["Offset of field: _xmlSchemaType::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributes) - 64usize] ; ["Offset of field: _xmlSchemaType::node"] [:: std :: mem :: offset_of ! (_xmlSchemaType , node) - 72usize] ; ["Offset of field: _xmlSchemaType::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , minOccurs) - 80usize] ; ["Offset of field: _xmlSchemaType::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , maxOccurs) - 84usize] ; ["Offset of field: _xmlSchemaType::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaType , flags) - 88usize] ; ["Offset of field: _xmlSchemaType::contentType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contentType) - 92usize] ; ["Offset of field: _xmlSchemaType::base"] [:: std :: mem :: offset_of ! (_xmlSchemaType , base) - 96usize] ; ["Offset of field: _xmlSchemaType::baseNs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , baseNs) - 104usize] ; ["Offset of field: _xmlSchemaType::baseType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , baseType) - 112usize] ; ["Offset of field: _xmlSchemaType::facets"] [:: std :: mem :: offset_of ! (_xmlSchemaType , facets) - 120usize] ; ["Offset of field: _xmlSchemaType::redef"] [:: std :: mem :: offset_of ! (_xmlSchemaType , redef) - 128usize] ; ["Offset of field: _xmlSchemaType::recurse"] [:: std :: mem :: offset_of ! (_xmlSchemaType , recurse) - 136usize] ; ["Offset of field: _xmlSchemaType::attributeUses"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributeUses) - 144usize] ; ["Offset of field: _xmlSchemaType::attributeWildcard"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributeWildcard) - 152usize] ; ["Offset of field: _xmlSchemaType::builtInType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , builtInType) - 160usize] ; ["Offset of field: _xmlSchemaType::memberTypes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , memberTypes) - 168usize] ; ["Offset of field: _xmlSchemaType::facetSet"] [:: std :: mem :: offset_of ! (_xmlSchemaType , facetSet) - 176usize] ; ["Offset of field: _xmlSchemaType::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaType , refPrefix) - 184usize] ; ["Offset of field: _xmlSchemaType::contentTypeDef"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contentTypeDef) - 192usize] ; ["Offset of field: _xmlSchemaType::contModel"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contModel) - 200usize] ; ["Offset of field: _xmlSchemaType::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaType , targetNamespace) - 208usize] ; ["Offset of field: _xmlSchemaType::attrUses"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attrUses) - 216usize] ; } ; # [doc = " Schema element definition"] pub type xmlSchemaElement = _xmlSchemaElement ; pub type xmlSchemaElementPtr = * mut xmlSchemaElement ; # [doc = " An element definition.\n\n xmlSchemaType, xmlSchemaFacet and xmlSchemaElement start of\n structures must be kept similar"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaElement { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaType , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub subtypes : * mut xmlSchemaType , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub flags : :: std :: os :: raw :: c_int , pub targetNamespace : * const xmlChar , pub namedType : * const xmlChar , pub namedTypeNs : * const xmlChar , pub substGroup : * const xmlChar , pub substGroupNs : * const xmlChar , pub scope : * const xmlChar , pub value : * const xmlChar , pub refDecl : * mut _xmlSchemaElement , pub contModel : * mut xmlRegexp , pub contentType : xmlSchemaContentType , pub refPrefix : * const xmlChar , pub defVal : * mut xmlSchemaVal , pub idcs : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaElement"] [:: std :: mem :: size_of :: < _xmlSchemaElement > () - 200usize] ; ["Alignment of _xmlSchemaElement"] [:: std :: mem :: align_of :: < _xmlSchemaElement > () - 8usize] ; ["Offset of field: _xmlSchemaElement::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , type_) - 0usize] ; ["Offset of field: _xmlSchemaElement::next"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , next) - 8usize] ; ["Offset of field: _xmlSchemaElement::name"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , name) - 16usize] ; ["Offset of field: _xmlSchemaElement::id"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , id) - 24usize] ; ["Offset of field: _xmlSchemaElement::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , ref_) - 32usize] ; ["Offset of field: _xmlSchemaElement::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refNs) - 40usize] ; ["Offset of field: _xmlSchemaElement::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , annot) - 48usize] ; ["Offset of field: _xmlSchemaElement::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , subtypes) - 56usize] ; ["Offset of field: _xmlSchemaElement::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , attributes) - 64usize] ; ["Offset of field: _xmlSchemaElement::node"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , node) - 72usize] ; ["Offset of field: _xmlSchemaElement::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , minOccurs) - 80usize] ; ["Offset of field: _xmlSchemaElement::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , maxOccurs) - 84usize] ; ["Offset of field: _xmlSchemaElement::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , flags) - 88usize] ; ["Offset of field: _xmlSchemaElement::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , targetNamespace) - 96usize] ; ["Offset of field: _xmlSchemaElement::namedType"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , namedType) - 104usize] ; ["Offset of field: _xmlSchemaElement::namedTypeNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , namedTypeNs) - 112usize] ; ["Offset of field: _xmlSchemaElement::substGroup"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , substGroup) - 120usize] ; ["Offset of field: _xmlSchemaElement::substGroupNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , substGroupNs) - 128usize] ; ["Offset of field: _xmlSchemaElement::scope"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , scope) - 136usize] ; ["Offset of field: _xmlSchemaElement::value"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , value) - 144usize] ; ["Offset of field: _xmlSchemaElement::refDecl"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refDecl) - 152usize] ; ["Offset of field: _xmlSchemaElement::contModel"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , contModel) - 160usize] ; ["Offset of field: _xmlSchemaElement::contentType"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , contentType) - 168usize] ; ["Offset of field: _xmlSchemaElement::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refPrefix) - 176usize] ; ["Offset of field: _xmlSchemaElement::defVal"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , defVal) - 184usize] ; ["Offset of field: _xmlSchemaElement::idcs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , idcs) - 192usize] ; } ; # [doc = " A facet definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaFacet { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaFacet , pub value : * const xmlChar , pub id : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub node : * mut xmlNode , pub fixed : :: std :: os :: raw :: c_int , pub whitespace : :: std :: os :: raw :: c_int , pub val : * mut xmlSchemaVal , pub regexp : * mut xmlRegexp , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaFacet"] [:: std :: mem :: size_of :: < _xmlSchemaFacet > () - 72usize] ; ["Alignment of _xmlSchemaFacet"] [:: std :: mem :: align_of :: < _xmlSchemaFacet > () - 8usize] ; ["Offset of field: _xmlSchemaFacet::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , type_) - 0usize] ; ["Offset of field: _xmlSchemaFacet::next"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , next) - 8usize] ; ["Offset of field: _xmlSchemaFacet::value"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , value) - 16usize] ; ["Offset of field: _xmlSchemaFacet::id"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , id) - 24usize] ; ["Offset of field: _xmlSchemaFacet::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , annot) - 32usize] ; ["Offset of field: _xmlSchemaFacet::node"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , node) - 40usize] ; ["Offset of field: _xmlSchemaFacet::fixed"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , fixed) - 48usize] ; ["Offset of field: _xmlSchemaFacet::whitespace"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , whitespace) - 52usize] ; ["Offset of field: _xmlSchemaFacet::val"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , val) - 56usize] ; ["Offset of field: _xmlSchemaFacet::regexp"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , regexp) - 64usize] ; } ; # [doc = " Schema notation"] pub type xmlSchemaNotation = _xmlSchemaNotation ; pub type xmlSchemaNotationPtr = * mut xmlSchemaNotation ; # [doc = " A notation definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaNotation { pub type_ : xmlSchemaTypeType , pub name : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub identifier : * const xmlChar , pub targetNamespace : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaNotation"] [:: std :: mem :: size_of :: < _xmlSchemaNotation > () - 40usize] ; ["Alignment of _xmlSchemaNotation"] [:: std :: mem :: align_of :: < _xmlSchemaNotation > () - 8usize] ; ["Offset of field: _xmlSchemaNotation::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , type_) - 0usize] ; ["Offset of field: _xmlSchemaNotation::name"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , name) - 8usize] ; ["Offset of field: _xmlSchemaNotation::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , annot) - 16usize] ; ["Offset of field: _xmlSchemaNotation::identifier"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , identifier) - 24usize] ; ["Offset of field: _xmlSchemaNotation::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , targetNamespace) - 32usize] ; } ; # [doc = " A Schemas definition"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchema { pub name : * const xmlChar , pub targetNamespace : * const xmlChar , pub version : * const xmlChar , pub id : * const xmlChar , pub doc : * mut xmlDoc , pub annot : * mut xmlSchemaAnnot , pub flags : :: std :: os :: raw :: c_int , pub typeDecl : * mut xmlHashTable , pub attrDecl : * mut xmlHashTable , pub attrgrpDecl : * mut xmlHashTable , pub elemDecl : * mut xmlHashTable , pub notaDecl : * mut xmlHashTable , pub schemasImports : * mut xmlHashTable , pub _private : * mut :: std :: os :: raw :: c_void , pub groupDecl : * mut xmlHashTable , pub dict : * mut xmlDict , pub includes : * mut :: std :: os :: raw :: c_void , pub preserve : :: std :: os :: raw :: c_int , pub counter : :: std :: os :: raw :: c_int , pub idcDef : * mut xmlHashTable , pub volatiles : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchema"] [:: std :: mem :: size_of :: < _xmlSchema > () - 160usize] ; ["Alignment of _xmlSchema"] [:: std :: mem :: align_of :: < _xmlSchema > () - 8usize] ; ["Offset of field: _xmlSchema::name"] [:: std :: mem :: offset_of ! (_xmlSchema , name) - 0usize] ; ["Offset of field: _xmlSchema::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchema , targetNamespace) - 8usize] ; ["Offset of field: _xmlSchema::version"] [:: std :: mem :: offset_of ! (_xmlSchema , version) - 16usize] ; ["Offset of field: _xmlSchema::id"] [:: std :: mem :: offset_of ! (_xmlSchema , id) - 24usize] ; ["Offset of field: _xmlSchema::doc"] [:: std :: mem :: offset_of ! (_xmlSchema , doc) - 32usize] ; ["Offset of field: _xmlSchema::annot"] [:: std :: mem :: offset_of ! (_xmlSchema , annot) - 40usize] ; ["Offset of field: _xmlSchema::flags"] [:: std :: mem :: offset_of ! (_xmlSchema , flags) - 48usize] ; ["Offset of field: _xmlSchema::typeDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , typeDecl) - 56usize] ; ["Offset of field: _xmlSchema::attrDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , attrDecl) - 64usize] ; ["Offset of field: _xmlSchema::attrgrpDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , attrgrpDecl) - 72usize] ; ["Offset of field: _xmlSchema::elemDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , elemDecl) - 80usize] ; ["Offset of field: _xmlSchema::notaDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , notaDecl) - 88usize] ; ["Offset of field: _xmlSchema::schemasImports"] [:: std :: mem :: offset_of ! (_xmlSchema , schemasImports) - 96usize] ; ["Offset of field: _xmlSchema::_private"] [:: std :: mem :: offset_of ! (_xmlSchema , _private) - 104usize] ; ["Offset of field: _xmlSchema::groupDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , groupDecl) - 112usize] ; ["Offset of field: _xmlSchema::dict"] [:: std :: mem :: offset_of ! (_xmlSchema , dict) - 120usize] ; ["Offset of field: _xmlSchema::includes"] [:: std :: mem :: offset_of ! (_xmlSchema , includes) - 128usize] ; ["Offset of field: _xmlSchema::preserve"] [:: std :: mem :: offset_of ! (_xmlSchema , preserve) - 136usize] ; ["Offset of field: _xmlSchema::counter"] [:: std :: mem :: offset_of ! (_xmlSchema , counter) - 140usize] ; ["Offset of field: _xmlSchema::idcDef"] [:: std :: mem :: offset_of ! (_xmlSchema , idcDef) - 144usize] ; ["Offset of field: _xmlSchema::volatiles"] [:: std :: mem :: offset_of ! (_xmlSchema , volatiles) - 152usize] ; } ; unsafe extern "C" { pub fn xmlSchemaFreeType (type_ : * mut xmlSchemaType) ; } unsafe extern "C" { pub fn xmlSchemaFreeWildcard (wildcard : * mut xmlSchemaWildcard) ; } pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_UNKNOWN : xmlSchemaWhitespaceValueType = 0 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_PRESERVE : xmlSchemaWhitespaceValueType = 1 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_REPLACE : xmlSchemaWhitespaceValueType = 2 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_COLLAPSE : xmlSchemaWhitespaceValueType = 3 ; # [doc = " Schema whitespace value type"] pub type xmlSchemaWhitespaceValueType = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlSchemaInitTypes () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCleanupTypes () ; } unsafe extern "C" { pub fn xmlSchemaGetPredefinedType (name : * const xmlChar , ns : * const xmlChar) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaValidatePredefinedType (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValPredefTypeNode (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal , node : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFacet (base : * mut xmlSchemaType , facet : * mut xmlSchemaFacet , value : * const xmlChar , val : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFacetWhtsp (facet : * mut xmlSchemaFacet , fws : xmlSchemaWhitespaceValueType , valType : xmlSchemaValType , value : * const xmlChar , val : * mut xmlSchemaVal , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaFreeValue (val : * mut xmlSchemaVal) ; } unsafe extern "C" { pub fn xmlSchemaNewFacet () -> * mut xmlSchemaFacet ; } unsafe extern "C" { pub fn xmlSchemaCheckFacet (facet : * mut xmlSchemaFacet , typeDecl : * mut xmlSchemaType , ctxt : * mut xmlSchemaParserCtxt , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaFreeFacet (facet : * mut xmlSchemaFacet) ; } unsafe extern "C" { pub fn xmlSchemaCompareValues (x : * mut xmlSchemaVal , y : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetBuiltInListSimpleTypeItemType (type_ : * mut xmlSchemaType) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaValidateListSimpleTypeFacet (facet : * mut xmlSchemaFacet , value : * const xmlChar , actualLen : :: std :: os :: raw :: c_ulong , expectedLen : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetBuiltInType (type_ : xmlSchemaValType) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaIsBuiltInTypeFacet (type_ : * mut xmlSchemaType , facetType : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCollapseString (value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSchemaWhiteSpaceReplace (value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSchemaGetFacetValueAsULong (facet : * mut xmlSchemaFacet) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlSchemaValidateLengthFacet (type_ : * mut xmlSchemaType , facet : * mut xmlSchemaFacet , value : * const xmlChar , val : * mut xmlSchemaVal , length : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateLengthFacetWhtsp (facet : * mut xmlSchemaFacet , valType : xmlSchemaValType , value : * const xmlChar , val : * mut xmlSchemaVal , length : * mut :: std :: os :: raw :: c_ulong , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValPredefTypeNodeNoNorm (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal , node : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetCanonValue (val : * mut xmlSchemaVal , retValue : * mut * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetCanonValueWhtsp (val : * mut xmlSchemaVal , retValue : * mut * const xmlChar , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValueAppend (prev : * mut xmlSchemaVal , cur : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValueGetNext (cur : * mut xmlSchemaVal) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaValueGetAsString (val : * mut xmlSchemaVal) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSchemaValueGetAsBoolean (val : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaNewStringValue (type_ : xmlSchemaValType , value : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaNewNOTATIONValue (name : * const xmlChar , ns : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaNewQNameValue (namespaceName : * const xmlChar , localName : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaCompareValuesWhtsp (x : * mut xmlSchemaVal , xws : xmlSchemaWhitespaceValueType , y : * mut xmlSchemaVal , yws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCopyValue (val : * mut xmlSchemaVal) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaGetValType (val : * mut xmlSchemaVal) -> xmlSchemaValType ; } pub type __builtin_va_list = [__va_list_tag ; 1usize] ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __va_list_tag { pub gp_offset : :: std :: os :: raw :: c_uint , pub fp_offset : :: std :: os :: raw :: c_uint , pub overflow_arg_area : * mut :: std :: os :: raw :: c_void , pub reg_save_area : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __va_list_tag"] [:: std :: mem :: size_of :: < __va_list_tag > () - 24usize] ; ["Alignment of __va_list_tag"] [:: std :: mem :: align_of :: < __va_list_tag > () - 8usize] ; ["Offset of field: __va_list_tag::gp_offset"] [:: std :: mem :: offset_of ! (__va_list_tag , gp_offset) - 0usize] ; ["Offset of field: __va_list_tag::fp_offset"] [:: std :: mem :: offset_of ! (__va_list_tag , fp_offset) - 4usize] ; ["Offset of field: __va_list_tag::overflow_arg_area"] [:: std :: mem :: offset_of ! (__va_list_tag , overflow_arg_area) - 8usize] ; ["Offset of field: __va_list_tag::reg_save_area"] [:: std :: mem :: offset_of ! (__va_list_tag , reg_save_area) - 16usize] ; } ; # [doc = " dict used to allocate names if any"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDict { pub _address : u8 , }
[INFO] [stdout] 3 + # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] fn extract_bit (byte : u8 , index : usize) -> bool { let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; Self :: extract_bit (byte , index) } # [inline] pub unsafe fn raw_get_bit (this : * const Self , index : usize) -> bool { debug_assert ! (index / 8 < core :: mem :: size_of ::< Storage > ()) ; let byte_index = index / 8 ; let byte = unsafe { * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) } ; Self :: extract_bit (byte , index) } # [inline] fn change_bit (byte : u8 , index : usize , val : bool) -> u8 { let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { byte | mask } else { byte & ! mask } } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; * byte = Self :: change_bit (* byte , index , val) ; } # [inline] pub unsafe fn raw_set_bit (this : * mut Self , index : usize , val : bool) { debug_assert ! (index / 8 < core :: mem :: size_of ::< Storage > ()) ; let byte_index = index / 8 ; let byte = unsafe { (core :: ptr :: addr_of_mut ! ((* this) . storage) as * mut u8) . offset (byte_index as isize) } ; unsafe { * byte = Self :: change_bit (* byte , index , val) } ; } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub unsafe fn raw_get (this : * const Self , bit_offset : usize , bit_width : u8 ,) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < core :: mem :: size_of ::< Storage > ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= core :: mem :: size_of ::< Storage > ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if unsafe { Self :: raw_get_bit (this , i + bit_offset) } { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } # [inline] pub unsafe fn raw_set (this : * mut Self , bit_offset : usize , bit_width : u8 , val : u64 ,) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < core :: mem :: size_of ::< Storage > ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= core :: mem :: size_of ::< Storage > ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; unsafe { Self :: raw_set_bit (this , index + bit_offset , val_bit_is_set) } ; } } } # [derive (PartialEq , Copy , Clone , Hash , Debug , Default)] # [repr (C)] pub struct __BindgenComplex < T > { pub re : T , pub im : T } pub const LIBXML_DOTTED_VERSION : & [u8 ; 7] = b"2.15.2\0" ; pub const LIBXML_VERSION : u32 = 21502 ; pub const LIBXML_VERSION_STRING : & [u8 ; 6] = b"21502\0" ; pub const LIBXML_VERSION_EXTRA : & [u8 ; 1] = b"\0" ; pub const LIBXML_MODULE_EXTENSION : & [u8 ; 4] = b".so\0" ; pub const _STDIO_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2Y : u32 = 0 ; pub const __GLIBC_USE_ISOC23 : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 202405 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __USE_XOPEN2K24 : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_TIME_BITS64 : u32 = 1 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const __GLIBC_USE_C23_STRTOL : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 43 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C23 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C23 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _____fpos_t_defined : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _____fpos64_t_defined : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const __struct_FILE_defined : u32 = 1 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const __cookie_io_functions_t_defined : u32 = 1 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; pub const EOF : i32 = - 1 ; pub const SEEK_SET : u32 = 0 ; pub const SEEK_CUR : u32 = 1 ; pub const SEEK_END : u32 = 2 ; pub const P_tmpdir : & [u8 ; 5] = b"/tmp\0" ; pub const L_tmpnam : u32 = 20 ; pub const TMP_MAX : u32 = 238328 ; pub const _BITS_STDIO_LIM_H : u32 = 1 ; pub const FILENAME_MAX : u32 = 4096 ; pub const L_ctermid : u32 = 9 ; pub const FOPEN_MAX : u32 = 16 ; pub const __HAVE_FLOAT128 : u32 = 1 ; pub const __HAVE_DISTINCT_FLOAT128 : u32 = 1 ; pub const __HAVE_FLOAT64X : u32 = 1 ; pub const __HAVE_FLOAT64X_LONG_DOUBLE : u32 = 1 ; pub const __HAVE_FLOAT16 : u32 = 0 ; pub const __HAVE_FLOAT32 : u32 = 1 ; pub const __HAVE_FLOAT64 : u32 = 1 ; pub const __HAVE_FLOAT32X : u32 = 1 ; pub const __HAVE_FLOAT128X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT16 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT128X : u32 = 0 ; pub const __HAVE_FLOATN_NOT_TYPEDEF : u32 = 0 ; pub const _LIBC_LIMITS_H_ : u32 = 1 ; pub const MB_LEN_MAX : u32 = 16 ; pub const _BITS_POSIX1_LIM_H : u32 = 1 ; pub const _POSIX_AIO_LISTIO_MAX : u32 = 2 ; pub const _POSIX_AIO_MAX : u32 = 1 ; pub const _POSIX_ARG_MAX : u32 = 4096 ; pub const _POSIX_CHILD_MAX : u32 = 25 ; pub const _POSIX_DELAYTIMER_MAX : u32 = 32 ; pub const _POSIX_HOST_NAME_MAX : u32 = 255 ; pub const _POSIX_LINK_MAX : u32 = 8 ; pub const _POSIX_LOGIN_NAME_MAX : u32 = 9 ; pub const _POSIX_MAX_CANON : u32 = 255 ; pub const _POSIX_MAX_INPUT : u32 = 255 ; pub const _POSIX_MQ_OPEN_MAX : u32 = 8 ; pub const _POSIX_MQ_PRIO_MAX : u32 = 32 ; pub const _POSIX_NAME_MAX : u32 = 14 ; pub const _POSIX_NGROUPS_MAX : u32 = 8 ; pub const _POSIX_OPEN_MAX : u32 = 20 ; pub const _POSIX_PATH_MAX : u32 = 256 ; pub const _POSIX_PIPE_BUF : u32 = 512 ; pub const _POSIX_RE_DUP_MAX : u32 = 255 ; pub const _POSIX_RTSIG_MAX : u32 = 8 ; pub const _POSIX_SEM_NSEMS_MAX : u32 = 256 ; pub const _POSIX_SEM_VALUE_MAX : u32 = 32767 ; pub const _POSIX_SIGQUEUE_MAX : u32 = 32 ; pub const _POSIX_SSIZE_MAX : u32 = 32767 ; pub const _POSIX_STREAM_MAX : u32 = 8 ; pub const _POSIX_SYMLINK_MAX : u32 = 255 ; pub const _POSIX_SYMLOOP_MAX : u32 = 8 ; pub const _POSIX_TIMER_MAX : u32 = 32 ; pub const _POSIX_TTY_NAME_MAX : u32 = 9 ; pub const _POSIX_TZNAME_MAX : u32 = 6 ; pub const _POSIX_CLOCKRES_MIN : u32 = 20000000 ; pub const NR_OPEN : u32 = 1024 ; pub const NGROUPS_MAX : u32 = 65536 ; pub const ARG_MAX : u32 = 131072 ; pub const LINK_MAX : u32 = 127 ; pub const MAX_CANON : u32 = 255 ; pub const MAX_INPUT : u32 = 255 ; pub const NAME_MAX : u32 = 255 ; pub const PATH_MAX : u32 = 4096 ; pub const PIPE_BUF : u32 = 4096 ; pub const XATTR_NAME_MAX : u32 = 255 ; pub const XATTR_SIZE_MAX : u32 = 65536 ; pub const XATTR_LIST_MAX : u32 = 65536 ; pub const RTSIG_MAX : u32 = 32 ; pub const _POSIX_THREAD_KEYS_MAX : u32 = 128 ; pub const PTHREAD_KEYS_MAX : u32 = 1024 ; pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const PTHREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const _POSIX_THREAD_THREADS_MAX : u32 = 64 ; pub const AIO_PRIO_DELTA_MAX : u32 = 20 ; pub const PTHREAD_STACK_MIN : u32 = 16384 ; pub const DELAYTIMER_MAX : u32 = 2147483647 ; pub const TTY_NAME_MAX : u32 = 32 ; pub const LOGIN_NAME_MAX : u32 = 256 ; pub const HOST_NAME_MAX : u32 = 64 ; pub const MQ_PRIO_MAX : u32 = 32768 ; pub const SEM_VALUE_MAX : u32 = 2147483647 ; pub const _BITS_POSIX2_LIM_H : u32 = 1 ; pub const _POSIX2_BC_BASE_MAX : u32 = 99 ; pub const _POSIX2_BC_DIM_MAX : u32 = 2048 ; pub const _POSIX2_BC_SCALE_MAX : u32 = 99 ; pub const _POSIX2_BC_STRING_MAX : u32 = 1000 ; pub const _POSIX2_COLL_WEIGHTS_MAX : u32 = 2 ; pub const _POSIX2_EXPR_NEST_MAX : u32 = 32 ; pub const _POSIX2_LINE_MAX : u32 = 2048 ; pub const _POSIX2_RE_DUP_MAX : u32 = 255 ; pub const _POSIX2_CHARCLASS_NAME_MAX : u32 = 14 ; pub const BC_BASE_MAX : u32 = 99 ; pub const BC_DIM_MAX : u32 = 2048 ; pub const BC_SCALE_MAX : u32 = 99 ; pub const BC_STRING_MAX : u32 = 1000 ; pub const COLL_WEIGHTS_MAX : u32 = 255 ; pub const EXPR_NEST_MAX : u32 = 32 ; pub const LINE_MAX : u32 = 2048 ; pub const CHARCLASS_NAME_MAX : u32 = 2048 ; pub const RE_DUP_MAX : u32 = 32767 ; pub const xmlDefaultBufferSize : u32 = 4096 ; pub const XML_DOCB_DOCUMENT_NODE : u32 = 21 ; pub const XML_DEFAULT_VERSION : & [u8 ; 4] = b"1.0\0" ; pub const XML_DETECT_IDS : u32 = 2 ; pub const XML_COMPLETE_ATTRS : u32 = 4 ; pub const XML_SKIP_IDS : u32 = 8 ; pub const XML_SAX2_MAGIC : u32 = 3740122799 ; pub const XML_SCHEMAS_ANYATTR_SKIP : u32 = 1 ; pub const XML_SCHEMAS_ANYATTR_LAX : u32 = 2 ; pub const XML_SCHEMAS_ANYATTR_STRICT : u32 = 3 ; pub const XML_SCHEMAS_ANY_SKIP : u32 = 1 ; pub const XML_SCHEMAS_ANY_LAX : u32 = 2 ; pub const XML_SCHEMAS_ANY_STRICT : u32 = 3 ; pub const XML_SCHEMAS_ATTR_USE_PROHIBITED : u32 = 0 ; pub const XML_SCHEMAS_ATTR_USE_REQUIRED : u32 = 1 ; pub const XML_SCHEMAS_ATTR_USE_OPTIONAL : u32 = 2 ; pub const XML_SCHEMAS_ATTR_GLOBAL : u32 = 1 ; pub const XML_SCHEMAS_ATTR_NSDEFAULT : u32 = 128 ; pub const XML_SCHEMAS_ATTR_INTERNAL_RESOLVED : u32 = 256 ; pub const XML_SCHEMAS_ATTR_FIXED : u32 = 512 ; pub const XML_SCHEMAS_WILDCARD_COMPLETE : u32 = 1 ; pub const XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED : u32 = 1 ; pub const XML_SCHEMAS_ATTRGROUP_GLOBAL : u32 = 2 ; pub const XML_SCHEMAS_ATTRGROUP_MARKED : u32 = 4 ; pub const XML_SCHEMAS_ATTRGROUP_REDEFINED : u32 = 8 ; pub const XML_SCHEMAS_ATTRGROUP_HAS_REFS : u32 = 16 ; pub const XML_SCHEMAS_TYPE_MIXED : u32 = 1 ; pub const XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION : u32 = 2 ; pub const XML_SCHEMAS_TYPE_DERIVATION_METHOD_RESTRICTION : u32 = 4 ; pub const XML_SCHEMAS_TYPE_GLOBAL : u32 = 8 ; pub const XML_SCHEMAS_TYPE_OWNED_ATTR_WILDCARD : u32 = 16 ; pub const XML_SCHEMAS_TYPE_VARIETY_ABSENT : u32 = 32 ; pub const XML_SCHEMAS_TYPE_VARIETY_LIST : u32 = 64 ; pub const XML_SCHEMAS_TYPE_VARIETY_UNION : u32 = 128 ; pub const XML_SCHEMAS_TYPE_VARIETY_ATOMIC : u32 = 256 ; pub const XML_SCHEMAS_TYPE_FINAL_EXTENSION : u32 = 512 ; pub const XML_SCHEMAS_TYPE_FINAL_RESTRICTION : u32 = 1024 ; pub const XML_SCHEMAS_TYPE_FINAL_LIST : u32 = 2048 ; pub const XML_SCHEMAS_TYPE_FINAL_UNION : u32 = 4096 ; pub const XML_SCHEMAS_TYPE_FINAL_DEFAULT : u32 = 8192 ; pub const XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE : u32 = 16384 ; pub const XML_SCHEMAS_TYPE_MARKED : u32 = 65536 ; pub const XML_SCHEMAS_TYPE_BLOCK_DEFAULT : u32 = 131072 ; pub const XML_SCHEMAS_TYPE_BLOCK_EXTENSION : u32 = 262144 ; pub const XML_SCHEMAS_TYPE_BLOCK_RESTRICTION : u32 = 524288 ; pub const XML_SCHEMAS_TYPE_ABSTRACT : u32 = 1048576 ; pub const XML_SCHEMAS_TYPE_FACETSNEEDVALUE : u32 = 2097152 ; pub const XML_SCHEMAS_TYPE_INTERNAL_RESOLVED : u32 = 4194304 ; pub const XML_SCHEMAS_TYPE_INTERNAL_INVALID : u32 = 8388608 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_PRESERVE : u32 = 16777216 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_REPLACE : u32 = 33554432 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_COLLAPSE : u32 = 67108864 ; pub const XML_SCHEMAS_TYPE_HAS_FACETS : u32 = 134217728 ; pub const XML_SCHEMAS_TYPE_NORMVALUENEEDED : u32 = 268435456 ; pub const XML_SCHEMAS_TYPE_FIXUP_1 : u32 = 536870912 ; pub const XML_SCHEMAS_TYPE_REDEFINED : u32 = 1073741824 ; pub const XML_SCHEMAS_ELEM_NILLABLE : u32 = 1 ; pub const XML_SCHEMAS_ELEM_GLOBAL : u32 = 2 ; pub const XML_SCHEMAS_ELEM_DEFAULT : u32 = 4 ; pub const XML_SCHEMAS_ELEM_FIXED : u32 = 8 ; pub const XML_SCHEMAS_ELEM_ABSTRACT : u32 = 16 ; pub const XML_SCHEMAS_ELEM_TOPLEVEL : u32 = 32 ; pub const XML_SCHEMAS_ELEM_REF : u32 = 64 ; pub const XML_SCHEMAS_ELEM_NSDEFAULT : u32 = 128 ; pub const XML_SCHEMAS_ELEM_INTERNAL_RESOLVED : u32 = 256 ; pub const XML_SCHEMAS_ELEM_CIRCULAR : u32 = 512 ; pub const XML_SCHEMAS_ELEM_BLOCK_ABSENT : u32 = 1024 ; pub const XML_SCHEMAS_ELEM_BLOCK_EXTENSION : u32 = 2048 ; pub const XML_SCHEMAS_ELEM_BLOCK_RESTRICTION : u32 = 4096 ; pub const XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION : u32 = 8192 ; pub const XML_SCHEMAS_ELEM_FINAL_ABSENT : u32 = 16384 ; pub const XML_SCHEMAS_ELEM_FINAL_EXTENSION : u32 = 32768 ; pub const XML_SCHEMAS_ELEM_FINAL_RESTRICTION : u32 = 65536 ; pub const XML_SCHEMAS_ELEM_SUBST_GROUP_HEAD : u32 = 131072 ; pub const XML_SCHEMAS_ELEM_INTERNAL_CHECKED : u32 = 262144 ; pub const XML_SCHEMAS_FACET_UNKNOWN : u32 = 0 ; pub const XML_SCHEMAS_FACET_PRESERVE : u32 = 1 ; pub const XML_SCHEMAS_FACET_REPLACE : u32 = 2 ; pub const XML_SCHEMAS_FACET_COLLAPSE : u32 = 3 ; pub const XML_SCHEMAS_QUALIF_ELEM : u32 = 1 ; pub const XML_SCHEMAS_QUALIF_ATTR : u32 = 2 ; pub const XML_SCHEMAS_FINAL_DEFAULT_EXTENSION : u32 = 4 ; pub const XML_SCHEMAS_FINAL_DEFAULT_RESTRICTION : u32 = 8 ; pub const XML_SCHEMAS_FINAL_DEFAULT_LIST : u32 = 16 ; pub const XML_SCHEMAS_FINAL_DEFAULT_UNION : u32 = 32 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_EXTENSION : u32 = 64 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_RESTRICTION : u32 = 128 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_SUBSTITUTION : u32 = 256 ; pub const XML_SCHEMAS_INCLUDING_CONVERT_NS : u32 = 512 ; unsafe extern "C" { pub fn xmlCheckVersion (version : :: std :: os :: raw :: c_int) ; } pub type __gnuc_va_list = __builtin_va_list ; pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [:: std :: os :: raw :: c_int ; 2usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __fsid_t"] [:: std :: mem :: size_of :: < __fsid_t > () - 8usize] ; ["Alignment of __fsid_t"] [:: std :: mem :: align_of :: < __fsid_t > () - 4usize] ; ["Offset of field: __fsid_t::__val"] [:: std :: mem :: offset_of ! (__fsid_t , __val) - 0usize] ; } ; pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __suseconds64_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Copy , Clone)] pub struct __mbstate_t { pub __count : :: std :: os :: raw :: c_int , pub __value : __mbstate_t__bindgen_ty_1 , } # [repr (C)] # [derive (Copy , Clone)] pub union __mbstate_t__bindgen_ty_1 { pub __wch : :: std :: os :: raw :: c_uint , pub __wchb : [:: std :: os :: raw :: c_char ; 4usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __mbstate_t__bindgen_ty_1"] [:: std :: mem :: size_of :: < __mbstate_t__bindgen_ty_1 > () - 4usize] ; ["Alignment of __mbstate_t__bindgen_ty_1"] [:: std :: mem :: align_of :: < __mbstate_t__bindgen_ty_1 > () - 4usize] ; ["Offset of field: __mbstate_t__bindgen_ty_1::__wch"] [:: std :: mem :: offset_of ! (__mbstate_t__bindgen_ty_1 , __wch) - 0usize] ; ["Offset of field: __mbstate_t__bindgen_ty_1::__wchb"] [:: std :: mem :: offset_of ! (__mbstate_t__bindgen_ty_1 , __wchb) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __mbstate_t"] [:: std :: mem :: size_of :: < __mbstate_t > () - 8usize] ; ["Alignment of __mbstate_t"] [:: std :: mem :: align_of :: < __mbstate_t > () - 4usize] ; ["Offset of field: __mbstate_t::__count"] [:: std :: mem :: offset_of ! (__mbstate_t , __count) - 0usize] ; ["Offset of field: __mbstate_t::__value"] [:: std :: mem :: offset_of ! (__mbstate_t , __value) - 4usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos_t { pub __pos : __off_t , pub __state : __mbstate_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _G_fpos_t"] [:: std :: mem :: size_of :: < _G_fpos_t > () - 16usize] ; ["Alignment of _G_fpos_t"] [:: std :: mem :: align_of :: < _G_fpos_t > () - 8usize] ; ["Offset of field: _G_fpos_t::__pos"] [:: std :: mem :: offset_of ! (_G_fpos_t , __pos) - 0usize] ; ["Offset of field: _G_fpos_t::__state"] [:: std :: mem :: offset_of ! (_G_fpos_t , __state) - 8usize] ; } ; pub type __fpos_t = _G_fpos_t ; # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos64_t { pub __pos : __off64_t , pub __state : __mbstate_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _G_fpos64_t"] [:: std :: mem :: size_of :: < _G_fpos64_t > () - 16usize] ; ["Alignment of _G_fpos64_t"] [:: std :: mem :: align_of :: < _G_fpos64_t > () - 8usize] ; ["Offset of field: _G_fpos64_t::__pos"] [:: std :: mem :: offset_of ! (_G_fpos64_t , __pos) - 0usize] ; ["Offset of field: _G_fpos64_t::__state"] [:: std :: mem :: offset_of ! (_G_fpos64_t , __state) - 8usize] ; } ; pub type __fpos64_t = _G_fpos64_t ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: std :: os :: raw :: c_int , pub _IO_read_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_read_end : * mut :: std :: os :: raw :: c_char , pub _IO_read_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_write_end : * mut :: std :: os :: raw :: c_char , pub _IO_buf_base : * mut :: std :: os :: raw :: c_char , pub _IO_buf_end : * mut :: std :: os :: raw :: c_char , pub _IO_save_base : * mut :: std :: os :: raw :: c_char , pub _IO_backup_base : * mut :: std :: os :: raw :: c_char , pub _IO_save_end : * mut :: std :: os :: raw :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: std :: os :: raw :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: std :: os :: raw :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: std :: os :: raw :: c_ushort , pub _vtable_offset : :: std :: os :: raw :: c_schar , pub _shortbuf : [:: std :: os :: raw :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: std :: os :: raw :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: std :: os :: raw :: c_int , pub _unused3 : :: std :: os :: raw :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: std :: os :: raw :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: std :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: std :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: std :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: std :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: std :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: std :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: std :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: std :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: std :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: std :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: std :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: std :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: std :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: std :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: std :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: std :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: std :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: std :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: std :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: std :: os :: raw :: c_int { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: std :: os :: raw :: c_int) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub unsafe fn _flags2_raw (this : * const Self) -> :: std :: os :: raw :: c_int { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 3usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 0usize , 24u8 ,) as u32) } } # [inline] pub unsafe fn set__flags2_raw (this : * mut Self , val : :: std :: os :: raw :: c_int) { unsafe { let val : u32 = i32::cast_unsigned (val) ; < __BindgenBitfieldUnit < [u8 ; 3usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 0usize , 24u8 , val as u64 ,) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: std :: os :: raw :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { :: std :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } pub type cookie_read_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_write_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_seek_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; pub type cookie_close_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_cookie_io_functions_t { pub read : cookie_read_function_t , pub write : cookie_write_function_t , pub seek : cookie_seek_function_t , pub close : cookie_close_function_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_cookie_io_functions_t"] [:: std :: mem :: size_of :: < _IO_cookie_io_functions_t > () - 32usize] ; ["Alignment of _IO_cookie_io_functions_t"] [:: std :: mem :: align_of :: < _IO_cookie_io_functions_t > () - 8usize] ; ["Offset of field: _IO_cookie_io_functions_t::read"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , read) - 0usize] ; ["Offset of field: _IO_cookie_io_functions_t::write"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , write) - 8usize] ; ["Offset of field: _IO_cookie_io_functions_t::seek"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , seek) - 16usize] ; ["Offset of field: _IO_cookie_io_functions_t::close"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , close) - 24usize] ; } ; pub type cookie_io_functions_t = _IO_cookie_io_functions_t ; pub type va_list = __gnuc_va_list ; pub type off_t = __off_t ; pub type fpos_t = __fpos_t ; unsafe extern "C" { pub static mut stdin : * mut FILE ; } unsafe extern "C" { pub static mut stdout : * mut FILE ; } unsafe extern "C" { pub static mut stderr : * mut FILE ; } unsafe extern "C" { pub fn remove (__filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn rename (__old : * const :: std :: os :: raw :: c_char , __new : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn renameat (__oldfd : :: std :: os :: raw :: c_int , __old : * const :: std :: os :: raw :: c_char , __newfd : :: std :: os :: raw :: c_int , __new : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fclose (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn tmpfile () -> * mut FILE ; } unsafe extern "C" { pub fn tmpnam (arg1 : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn tmpnam_r (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn tempnam (__dir : * const :: std :: os :: raw :: c_char , __pfx : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn fflush (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fflush_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn freopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> * mut FILE ; } unsafe extern "C" { pub fn fdopen (__fd : :: std :: os :: raw :: c_int , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn fopencookie (__magic_cookie : * mut :: std :: os :: raw :: c_void , __modes : * const :: std :: os :: raw :: c_char , __io_funcs : cookie_io_functions_t) -> * mut FILE ; } unsafe extern "C" { pub fn fmemopen (__s : * mut :: std :: os :: raw :: c_void , __len : usize , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn open_memstream (__bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize) -> * mut FILE ; } unsafe extern "C" { pub fn setbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn setvbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn setbuffer (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize) ; } unsafe extern "C" { pub fn setlinebuf (__stream : * mut FILE) ; } unsafe extern "C" { pub fn fprintf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn printf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn sprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vfprintf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vprintf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn snprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsnprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vasprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __f : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vdprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn dprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fscanf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn scanf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn sscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } pub type __cfloat128 = __BindgenComplex < u128 > ; pub type _Float128 = u128 ; pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = u128 ; unsafe extern "C" { # [link_name = "\u{1}__isoc99_fscanf"] pub fn fscanf1 (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_scanf"] pub fn scanf1 (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_sscanf"] pub fn sscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vfscanf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vscanf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vfscanf"] pub fn vfscanf1 (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vscanf"] pub fn vscanf1 (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vsscanf"] pub fn vsscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgetc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getchar () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getchar_unlocked () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgetc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fputc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putchar (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fputc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putchar_unlocked (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getw (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putw (__w : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgets (__s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn __getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn getline (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn fputs (__s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn puts (__s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ungetc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fread (__ptr : * mut :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __stream : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn fwrite (__ptr : * const :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __s : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn fread_unlocked (__ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } unsafe extern "C" { pub fn fwrite_unlocked (__ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } unsafe extern "C" { pub fn fseek (__stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ftell (__stream : * mut FILE) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn rewind (__stream : * mut FILE) ; } unsafe extern "C" { pub fn fseeko (__stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ftello (__stream : * mut FILE) -> __off_t ; } unsafe extern "C" { pub fn fgetpos (__stream : * mut FILE , __pos : * mut fpos_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fsetpos (__stream : * mut FILE , __pos : * const fpos_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn clearerr (__stream : * mut FILE) ; } unsafe extern "C" { pub fn feof (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ferror (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn clearerr_unlocked (__stream : * mut FILE) ; } unsafe extern "C" { pub fn feof_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ferror_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn perror (__s : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn fileno (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fileno_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn pclose (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn popen (__command : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn ctermid (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn flockfile (__stream : * mut FILE) ; } unsafe extern "C" { pub fn ftrylockfile (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn funlockfile (__stream : * mut FILE) ; } unsafe extern "C" { pub fn __uflow (arg1 : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __overflow (arg1 : * mut FILE , arg2 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " This is a basic byte in an UTF-8 encoded string.\n It's unsigned allowing to pinpoint case where char * are assigned\n to xmlChar * (possibly making serialization back impossible)."] pub type xmlChar = :: std :: os :: raw :: c_uchar ; unsafe extern "C" { pub fn xmlStrdup (cur : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrndup (cur : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCharStrndup (cur : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCharStrdup (cur : * const :: std :: os :: raw :: c_char) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrsub (str_ : * const xmlChar , start : :: std :: os :: raw :: c_int , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrchr (str_ : * const xmlChar , val : xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrstr (str_ : * const xmlChar , val : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrcasestr (str_ : * const xmlChar , val : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrcmp (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrncmp (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrcasecmp (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrncasecmp (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrEqual (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrQEqual (pref : * const xmlChar , name : * const xmlChar , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrlen (str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrcat (cur : * mut xmlChar , add : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrncat (cur : * mut xmlChar , add : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrncatNew (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrPrintf (buf : * mut xmlChar , len : :: std :: os :: raw :: c_int , msg : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrVPrintf (buf : * mut xmlChar , len : :: std :: os :: raw :: c_int , msg : * const :: std :: os :: raw :: c_char , ap : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetUTF8Char (utf : * const :: std :: os :: raw :: c_uchar , len : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCheckUTF8 (utf : * const :: std :: os :: raw :: c_uchar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strsize (utf : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strndup (utf : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strpos (utf : * const xmlChar , pos : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strloc (utf : * const xmlChar , utfchar : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strsub (utf : * const xmlChar , start : :: std :: os :: raw :: c_int , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strlen (utf : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Size (utf : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Charcmp (utf1 : * const xmlChar , utf2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } # [doc = " Signature for a free() implementation.\n\n @param mem  an already allocated block of memory"] pub type xmlFreeFunc = :: std :: option :: Option < unsafe extern "C" fn (mem : * mut :: std :: os :: raw :: c_void) > ; # [doc = " Signature for a malloc() implementation.\n\n @param size  the size requested in bytes\n @returns a pointer to the newly allocated block or NULL in case of error."] pub type xmlMallocFunc = :: std :: option :: Option < unsafe extern "C" fn (size : usize) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Signature for a realloc() implementation.\n\n @param mem  an already allocated block of memory\n @param size  the new size requested in bytes\n @returns a pointer to the newly reallocated block or NULL in case of error."] pub type xmlReallocFunc = :: std :: option :: Option < unsafe extern "C" fn (mem : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Signature for an strdup() implementation.\n\n @param str  a zero terminated string\n @returns the copy of the string or NULL in case of error."] pub type xmlStrdupFunc = :: std :: option :: Option < unsafe extern "C" fn (str_ : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char > ; unsafe extern "C" { # [doc = " The variable holding the libxml malloc() implementation"] pub static mut xmlMalloc : xmlMallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml malloc() implementation for atomic\n data (i.e. blocks not containing pointers), useful when using a\n garbage collecting allocator.\n\n @deprecated Use #xmlMalloc"] pub static mut xmlMallocAtomic : xmlMallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml realloc() implementation"] pub static mut xmlRealloc : xmlReallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml free() implementation"] pub static mut xmlFree : xmlFreeFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml strdup() implementation"] pub static mut xmlMemStrdup : xmlStrdupFunc ; } unsafe extern "C" { pub fn xmlMemSetup (freeFunc : xmlFreeFunc , mallocFunc : xmlMallocFunc , reallocFunc : xmlReallocFunc , strdupFunc : xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemGet (freeFunc : * mut xmlFreeFunc , mallocFunc : * mut xmlMallocFunc , reallocFunc : * mut xmlReallocFunc , strdupFunc : * mut xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGcMemSetup (freeFunc : xmlFreeFunc , mallocFunc : xmlMallocFunc , mallocAtomicFunc : xmlMallocFunc , reallocFunc : xmlReallocFunc , strdupFunc : xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGcMemGet (freeFunc : * mut xmlFreeFunc , mallocFunc : * mut xmlMallocFunc , mallocAtomicFunc : * mut xmlMallocFunc , reallocFunc : * mut xmlReallocFunc , strdupFunc : * mut xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlInitMemory () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCleanupMemory () ; } unsafe extern "C" { pub fn xmlMemSize (ptr : * mut :: std :: os :: raw :: c_void) -> usize ; } unsafe extern "C" { pub fn xmlMemUsed () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemBlocks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemDisplay (fp : * mut FILE) ; } unsafe extern "C" { pub fn xmlMemDisplayLast (fp : * mut FILE , nbBytes : :: std :: os :: raw :: c_long) ; } unsafe extern "C" { pub fn xmlMemShow (fp : * mut FILE , nr : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlMemoryDump () ; } unsafe extern "C" { pub fn xmlMemMalloc (size : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemRealloc (ptr : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemFree (ptr : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlMemoryStrdup (str_ : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlMallocLoc (size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlReallocLoc (ptr : * mut :: std :: os :: raw :: c_void , size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMallocAtomicLoc (size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemStrdupLoc (str_ : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRegexp { _unused : [u8 ; 0] , } # [doc = " A libxml regular expression"] pub type xmlRegexp = _xmlRegexp ; pub type xmlRegexpPtr = * mut xmlRegexp ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRegExecCtxt { _unused : [u8 ; 0] , } # [doc = " A libxml progressive regular expression evaluation context"] pub type xmlRegExecCtxt = _xmlRegExecCtxt ; pub type xmlRegExecCtxtPtr = * mut xmlRegExecCtxt ; unsafe extern "C" { pub fn xmlRegexpCompile (regexp : * const xmlChar) -> * mut xmlRegexp ; } unsafe extern "C" { pub fn xmlRegFreeRegexp (regexp : * mut xmlRegexp) ; } unsafe extern "C" { pub fn xmlRegexpExec (comp : * mut xmlRegexp , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegexpPrint (output : * mut FILE , regexp : * mut xmlRegexp) ; } unsafe extern "C" { pub fn xmlRegexpIsDeterminist (comp : * mut xmlRegexp) -> :: std :: os :: raw :: c_int ; } # [doc = " Callback function when doing a transition in the automata\n\n @param exec  the regular expression context\n @param token  the current token string\n @param transdata  transition data\n @param inputdata  input data"] pub type xmlRegExecCallbacks = :: std :: option :: Option < unsafe extern "C" fn (exec : * mut xmlRegExecCtxt , token : * const xmlChar , transdata : * mut :: std :: os :: raw :: c_void , inputdata : * mut :: std :: os :: raw :: c_void) > ; unsafe extern "C" { pub fn xmlRegNewExecCtxt (comp : * mut xmlRegexp , callback : xmlRegExecCallbacks , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlRegExecCtxt ; } unsafe extern "C" { pub fn xmlRegFreeExecCtxt (exec : * mut xmlRegExecCtxt) ; } unsafe extern "C" { pub fn xmlRegExecPushString (exec : * mut xmlRegExecCtxt , value : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecPushString2 (exec : * mut xmlRegExecCtxt , value : * const xmlChar , value2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecNextValues (exec : * mut xmlRegExecCtxt , nbval : * mut :: std :: os :: raw :: c_int , nbneg : * mut :: std :: os :: raw :: c_int , values : * mut * mut xmlChar , terminal : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecErrInfo (exec : * mut xmlRegExecCtxt , string : * mut * const xmlChar , nbval : * mut :: std :: os :: raw :: c_int , nbneg : * mut :: std :: os :: raw :: c_int , values : * mut * mut xmlChar , terminal : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " Parser input buffer\n\n This struct and all related functions should ultimately\n be removed from the public interface."] pub type xmlParserInputBuffer = _xmlParserInputBuffer ; pub type xmlParserInputBufferPtr = * mut xmlParserInputBuffer ; # [doc = " Output buffer"] pub type xmlOutputBuffer = _xmlOutputBuffer ; pub type xmlOutputBufferPtr = * mut xmlOutputBuffer ; # [doc = " Parser input"] pub type xmlParserInput = _xmlParserInput ; pub type xmlParserInputPtr = * mut xmlParserInput ; # [doc = " Parser context"] pub type xmlParserCtxt = _xmlParserCtxt ; pub type xmlParserCtxtPtr = * mut xmlParserCtxt ; # [doc = " SAX locator"] pub type xmlSAXLocator = _xmlSAXLocator ; pub type xmlSAXLocatorPtr = * mut xmlSAXLocator ; # [doc = " SAX handler"] pub type xmlSAXHandler = _xmlSAXHandler ; pub type xmlSAXHandlerPtr = * mut xmlSAXHandler ; # [doc = " Entity declaration"] pub type xmlEntity = _xmlEntity ; pub type xmlEntityPtr = * mut xmlEntity ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_DOUBLEIT : xmlBufferAllocationScheme = 0 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_EXACT : xmlBufferAllocationScheme = 1 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_IMMUTABLE : xmlBufferAllocationScheme = 2 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_IO : xmlBufferAllocationScheme = 3 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_HYBRID : xmlBufferAllocationScheme = 4 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_BOUNDED : xmlBufferAllocationScheme = 5 ; # [doc = " Removed, buffers always use XML_BUFFER_ALLOC_IO now."] pub type xmlBufferAllocationScheme = :: std :: os :: raw :: c_uint ; # [doc = " Buffer type"] pub type xmlBuffer = _xmlBuffer ; pub type xmlBufferPtr = * mut xmlBuffer ; # [doc = " A buffer structure, this old construct is limited to 2GB and\n is being deprecated, use API with xmlBuf instead."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlBuffer { # [doc = " @deprecated Use #xmlBufferContent\n\n The buffer content UTF8"] pub content : * mut xmlChar , # [doc = " @deprecated Use #xmlBufferLength\n\n The buffer size used"] pub use_ : :: std :: os :: raw :: c_uint , pub size : :: std :: os :: raw :: c_uint , pub alloc : xmlBufferAllocationScheme , pub contentIO : * mut xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlBuffer"] [:: std :: mem :: size_of :: < _xmlBuffer > () - 32usize] ; ["Alignment of _xmlBuffer"] [:: std :: mem :: align_of :: < _xmlBuffer > () - 8usize] ; ["Offset of field: _xmlBuffer::content"] [:: std :: mem :: offset_of ! (_xmlBuffer , content) - 0usize] ; ["Offset of field: _xmlBuffer::use_"] [:: std :: mem :: offset_of ! (_xmlBuffer , use_) - 8usize] ; ["Offset of field: _xmlBuffer::size"] [:: std :: mem :: offset_of ! (_xmlBuffer , size) - 12usize] ; ["Offset of field: _xmlBuffer::alloc"] [:: std :: mem :: offset_of ! (_xmlBuffer , alloc) - 16usize] ; ["Offset of field: _xmlBuffer::contentIO"] [:: std :: mem :: offset_of ! (_xmlBuffer , contentIO) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlBuf { _unused : [u8 ; 0] , } # [doc = " Buffer with 64-bit support"] pub type xmlBuf = _xmlBuf ; pub type xmlBufPtr = * mut xmlBuf ; # [doc = " An element.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_ELEMENT_NODE : xmlElementType = 1 ; # [doc = " An attribute.\n\n Objects of this type are an xmlAttr."] pub const xmlElementType_XML_ATTRIBUTE_NODE : xmlElementType = 2 ; # [doc = " A text node.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_TEXT_NODE : xmlElementType = 3 ; # [doc = " A CDATA section.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_CDATA_SECTION_NODE : xmlElementType = 4 ; # [doc = " An entity reference.\n\n Objects of this type are an xmlNode. The `children` member\n points to the entity declaration if available."] pub const xmlElementType_XML_ENTITY_REF_NODE : xmlElementType = 5 ; # [doc = " unused"] pub const xmlElementType_XML_ENTITY_NODE : xmlElementType = 6 ; # [doc = " A processing instruction.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_PI_NODE : xmlElementType = 7 ; # [doc = " A comment.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_COMMENT_NODE : xmlElementType = 8 ; # [doc = " A document.\n\n Objects of this type are an xmlDoc."] pub const xmlElementType_XML_DOCUMENT_NODE : xmlElementType = 9 ; # [doc = " unused"] pub const xmlElementType_XML_DOCUMENT_TYPE_NODE : xmlElementType = 10 ; # [doc = " A document fragment.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_DOCUMENT_FRAG_NODE : xmlElementType = 11 ; # [doc = " A notation, unused"] pub const xmlElementType_XML_NOTATION_NODE : xmlElementType = 12 ; # [doc = " An HTML document.\n\n Objects of this type are an xmlDoc."] pub const xmlElementType_XML_HTML_DOCUMENT_NODE : xmlElementType = 13 ; # [doc = " A document type definition.\n\n Objects of this type are an xmlDtd."] pub const xmlElementType_XML_DTD_NODE : xmlElementType = 14 ; # [doc = " An element declaration.\n\n Objects of this type are an xmlElement."] pub const xmlElementType_XML_ELEMENT_DECL : xmlElementType = 15 ; # [doc = " An attribute declaration.\n\n Objects of this type are an xmlAttribute."] pub const xmlElementType_XML_ATTRIBUTE_DECL : xmlElementType = 16 ; # [doc = " An entity declaration.\n\n Objects of this type are an xmlEntity."] pub const xmlElementType_XML_ENTITY_DECL : xmlElementType = 17 ; # [doc = " An XPath namespace node.\n\n Can only be returned by the XPath engine. Objects of this\n type are an xmlNs which has a completely different layout\n than xmlNode. The `next` member contains a pointer to the\n xmlNode element to which the namespace applies.\n\n Nodes of this type must be handled with extreme care to\n avoid type confusion bugs."] pub const xmlElementType_XML_NAMESPACE_DECL : xmlElementType = 18 ; # [doc = " An XInclude start marker.\n\n Objects of this type are an xmlNode. Inserted as preceding\n sibling of XIncluded content."] pub const xmlElementType_XML_XINCLUDE_START : xmlElementType = 19 ; # [doc = " An XInclude end marker.\n\n Objects of this type are an xmlNode. Inserted as following\n sibling of XIncluded content."] pub const xmlElementType_XML_XINCLUDE_END : xmlElementType = 20 ; # [doc = " The different element types carried by an XML tree.\n\n NOTE: This is synchronized with DOM Level 1 values.\n       See http://www.w3.org/TR/REC-DOM-Level-1/\n\n Actually this had diverged a bit, and XML_DTD_NODE is used instead\n of XML_DOCUMENT_TYPE_NODE."] pub type xmlElementType = :: std :: os :: raw :: c_uint ; # [doc = " Notation declaration"] pub type xmlNotation = _xmlNotation ; pub type xmlNotationPtr = * mut xmlNotation ; # [doc = " A DTD Notation definition.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNotation { # [doc = " Notation name"] pub name : * const xmlChar , # [doc = " Public identifier, if any"] pub PublicID : * const xmlChar , # [doc = " System identifier, if any"] pub SystemID : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNotation"] [:: std :: mem :: size_of :: < _xmlNotation > () - 24usize] ; ["Alignment of _xmlNotation"] [:: std :: mem :: align_of :: < _xmlNotation > () - 8usize] ; ["Offset of field: _xmlNotation::name"] [:: std :: mem :: offset_of ! (_xmlNotation , name) - 0usize] ; ["Offset of field: _xmlNotation::PublicID"] [:: std :: mem :: offset_of ! (_xmlNotation , PublicID) - 8usize] ; ["Offset of field: _xmlNotation::SystemID"] [:: std :: mem :: offset_of ! (_xmlNotation , SystemID) - 16usize] ; } ; pub const xmlAttributeType_XML_ATTRIBUTE_CDATA : xmlAttributeType = 1 ; pub const xmlAttributeType_XML_ATTRIBUTE_ID : xmlAttributeType = 2 ; pub const xmlAttributeType_XML_ATTRIBUTE_IDREF : xmlAttributeType = 3 ; pub const xmlAttributeType_XML_ATTRIBUTE_IDREFS : xmlAttributeType = 4 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENTITY : xmlAttributeType = 5 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENTITIES : xmlAttributeType = 6 ; pub const xmlAttributeType_XML_ATTRIBUTE_NMTOKEN : xmlAttributeType = 7 ; pub const xmlAttributeType_XML_ATTRIBUTE_NMTOKENS : xmlAttributeType = 8 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENUMERATION : xmlAttributeType = 9 ; pub const xmlAttributeType_XML_ATTRIBUTE_NOTATION : xmlAttributeType = 10 ; # [doc = " A DTD Attribute type definition."] pub type xmlAttributeType = :: std :: os :: raw :: c_uint ; pub const xmlAttributeDefault_XML_ATTRIBUTE_NONE : xmlAttributeDefault = 1 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_REQUIRED : xmlAttributeDefault = 2 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_IMPLIED : xmlAttributeDefault = 3 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_FIXED : xmlAttributeDefault = 4 ; # [doc = " A DTD Attribute default definition."] pub type xmlAttributeDefault = :: std :: os :: raw :: c_uint ; # [doc = " Enumeration in a DTD"] pub type xmlEnumeration = _xmlEnumeration ; pub type xmlEnumerationPtr = * mut xmlEnumeration ; # [doc = " List structure used when there is an enumeration in DTDs.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlEnumeration { # [doc = " next enumeration"] pub next : * mut _xmlEnumeration , # [doc = " value"] pub name : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlEnumeration"] [:: std :: mem :: size_of :: < _xmlEnumeration > () - 16usize] ; ["Alignment of _xmlEnumeration"] [:: std :: mem :: align_of :: < _xmlEnumeration > () - 8usize] ; ["Offset of field: _xmlEnumeration::next"] [:: std :: mem :: offset_of ! (_xmlEnumeration , next) - 0usize] ; ["Offset of field: _xmlEnumeration::name"] [:: std :: mem :: offset_of ! (_xmlEnumeration , name) - 8usize] ; } ; # [doc = " Attribute declaration"] pub type xmlAttribute = _xmlAttribute ; pub type xmlAttributePtr = * mut xmlAttribute ; # [doc = " An Attribute declaration in a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttribute { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ATTRIBUTE_DECL"] pub type_ : xmlElementType , # [doc = " attribute name"] pub name : * const xmlChar , # [doc = " NULL"] pub children : * mut _xmlNode , # [doc = " NULL"] pub last : * mut _xmlNode , # [doc = " DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " next in hash table"] pub nexth : * mut _xmlAttribute , # [doc = " attribute type"] pub atype : xmlAttributeType , # [doc = " attribute default"] pub def : xmlAttributeDefault , # [doc = " default value"] pub defaultValue : * mut xmlChar , # [doc = " enumeration tree if any"] pub tree : * mut xmlEnumeration , # [doc = " namespace prefix if any"] pub prefix : * const xmlChar , # [doc = " element name"] pub elem : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlAttribute"] [:: std :: mem :: size_of :: < _xmlAttribute > () - 120usize] ; ["Alignment of _xmlAttribute"] [:: std :: mem :: align_of :: < _xmlAttribute > () - 8usize] ; ["Offset of field: _xmlAttribute::_private"] [:: std :: mem :: offset_of ! (_xmlAttribute , _private) - 0usize] ; ["Offset of field: _xmlAttribute::type_"] [:: std :: mem :: offset_of ! (_xmlAttribute , type_) - 8usize] ; ["Offset of field: _xmlAttribute::name"] [:: std :: mem :: offset_of ! (_xmlAttribute , name) - 16usize] ; ["Offset of field: _xmlAttribute::children"] [:: std :: mem :: offset_of ! (_xmlAttribute , children) - 24usize] ; ["Offset of field: _xmlAttribute::last"] [:: std :: mem :: offset_of ! (_xmlAttribute , last) - 32usize] ; ["Offset of field: _xmlAttribute::parent"] [:: std :: mem :: offset_of ! (_xmlAttribute , parent) - 40usize] ; ["Offset of field: _xmlAttribute::next"] [:: std :: mem :: offset_of ! (_xmlAttribute , next) - 48usize] ; ["Offset of field: _xmlAttribute::prev"] [:: std :: mem :: offset_of ! (_xmlAttribute , prev) - 56usize] ; ["Offset of field: _xmlAttribute::doc"] [:: std :: mem :: offset_of ! (_xmlAttribute , doc) - 64usize] ; ["Offset of field: _xmlAttribute::nexth"] [:: std :: mem :: offset_of ! (_xmlAttribute , nexth) - 72usize] ; ["Offset of field: _xmlAttribute::atype"] [:: std :: mem :: offset_of ! (_xmlAttribute , atype) - 80usize] ; ["Offset of field: _xmlAttribute::def"] [:: std :: mem :: offset_of ! (_xmlAttribute , def) - 84usize] ; ["Offset of field: _xmlAttribute::defaultValue"] [:: std :: mem :: offset_of ! (_xmlAttribute , defaultValue) - 88usize] ; ["Offset of field: _xmlAttribute::tree"] [:: std :: mem :: offset_of ! (_xmlAttribute , tree) - 96usize] ; ["Offset of field: _xmlAttribute::prefix"] [:: std :: mem :: offset_of ! (_xmlAttribute , prefix) - 104usize] ; ["Offset of field: _xmlAttribute::elem"] [:: std :: mem :: offset_of ! (_xmlAttribute , elem) - 112usize] ; } ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_PCDATA : xmlElementContentType = 1 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_ELEMENT : xmlElementContentType = 2 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_SEQ : xmlElementContentType = 3 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_OR : xmlElementContentType = 4 ; # [doc = " Possible definitions of element content types."] pub type xmlElementContentType = :: std :: os :: raw :: c_uint ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_ONCE : xmlElementContentOccur = 1 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_OPT : xmlElementContentOccur = 2 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_MULT : xmlElementContentOccur = 3 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_PLUS : xmlElementContentOccur = 4 ; # [doc = " Possible definitions of element content occurrences."] pub type xmlElementContentOccur = :: std :: os :: raw :: c_uint ; # [doc = " Element content in element declarations"] pub type xmlElementContent = _xmlElementContent ; pub type xmlElementContentPtr = * mut xmlElementContent ; # [doc = " An XML Element content as stored after parsing an element definition\n in a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlElementContent { # [doc = " PCDATA, ELEMENT, SEQ or OR"] pub type_ : xmlElementContentType , # [doc = " ONCE, OPT, MULT or PLUS"] pub ocur : xmlElementContentOccur , # [doc = " element name"] pub name : * const xmlChar , # [doc = " first child"] pub c1 : * mut _xmlElementContent , # [doc = " second child"] pub c2 : * mut _xmlElementContent , # [doc = " parent"] pub parent : * mut _xmlElementContent , # [doc = " namespace prefix"] pub prefix : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlElementContent"] [:: std :: mem :: size_of :: < _xmlElementContent > () - 48usize] ; ["Alignment of _xmlElementContent"] [:: std :: mem :: align_of :: < _xmlElementContent > () - 8usize] ; ["Offset of field: _xmlElementContent::type_"] [:: std :: mem :: offset_of ! (_xmlElementContent , type_) - 0usize] ; ["Offset of field: _xmlElementContent::ocur"] [:: std :: mem :: offset_of ! (_xmlElementContent , ocur) - 4usize] ; ["Offset of field: _xmlElementContent::name"] [:: std :: mem :: offset_of ! (_xmlElementContent , name) - 8usize] ; ["Offset of field: _xmlElementContent::c1"] [:: std :: mem :: offset_of ! (_xmlElementContent , c1) - 16usize] ; ["Offset of field: _xmlElementContent::c2"] [:: std :: mem :: offset_of ! (_xmlElementContent , c2) - 24usize] ; ["Offset of field: _xmlElementContent::parent"] [:: std :: mem :: offset_of ! (_xmlElementContent , parent) - 32usize] ; ["Offset of field: _xmlElementContent::prefix"] [:: std :: mem :: offset_of ! (_xmlElementContent , prefix) - 40usize] ; } ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_UNDEFINED : xmlElementTypeVal = 0 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_EMPTY : xmlElementTypeVal = 1 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_ANY : xmlElementTypeVal = 2 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_MIXED : xmlElementTypeVal = 3 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_ELEMENT : xmlElementTypeVal = 4 ; # [doc = " The different possibilities for an element content type."] pub type xmlElementTypeVal = :: std :: os :: raw :: c_uint ; # [doc = " Element declaration"] pub type xmlElement = _xmlElement ; pub type xmlElementPtr = * mut xmlElement ; # [doc = " An XML Element declaration from a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlElement { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ELEMENT_DECL"] pub type_ : xmlElementType , # [doc = " element name"] pub name : * const xmlChar , # [doc = " NULL"] pub children : * mut _xmlNode , # [doc = " NULL"] pub last : * mut _xmlNode , # [doc = " -> DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " element type"] pub etype : xmlElementTypeVal , # [doc = " allowed element content"] pub content : * mut xmlElementContent , # [doc = " list of declared attributes"] pub attributes : * mut xmlAttribute , # [doc = " namespace prefix if any"] pub prefix : * const xmlChar , # [doc = " validating regexp"] pub contModel : * mut xmlRegexp , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlElement"] [:: std :: mem :: size_of :: < _xmlElement > () - 112usize] ; ["Alignment of _xmlElement"] [:: std :: mem :: align_of :: < _xmlElement > () - 8usize] ; ["Offset of field: _xmlElement::_private"] [:: std :: mem :: offset_of ! (_xmlElement , _private) - 0usize] ; ["Offset of field: _xmlElement::type_"] [:: std :: mem :: offset_of ! (_xmlElement , type_) - 8usize] ; ["Offset of field: _xmlElement::name"] [:: std :: mem :: offset_of ! (_xmlElement , name) - 16usize] ; ["Offset of field: _xmlElement::children"] [:: std :: mem :: offset_of ! (_xmlElement , children) - 24usize] ; ["Offset of field: _xmlElement::last"] [:: std :: mem :: offset_of ! (_xmlElement , last) - 32usize] ; ["Offset of field: _xmlElement::parent"] [:: std :: mem :: offset_of ! (_xmlElement , parent) - 40usize] ; ["Offset of field: _xmlElement::next"] [:: std :: mem :: offset_of ! (_xmlElement , next) - 48usize] ; ["Offset of field: _xmlElement::prev"] [:: std :: mem :: offset_of ! (_xmlElement , prev) - 56usize] ; ["Offset of field: _xmlElement::doc"] [:: std :: mem :: offset_of ! (_xmlElement , doc) - 64usize] ; ["Offset of field: _xmlElement::etype"] [:: std :: mem :: offset_of ! (_xmlElement , etype) - 72usize] ; ["Offset of field: _xmlElement::content"] [:: std :: mem :: offset_of ! (_xmlElement , content) - 80usize] ; ["Offset of field: _xmlElement::attributes"] [:: std :: mem :: offset_of ! (_xmlElement , attributes) - 88usize] ; ["Offset of field: _xmlElement::prefix"] [:: std :: mem :: offset_of ! (_xmlElement , prefix) - 96usize] ; ["Offset of field: _xmlElement::contModel"] [:: std :: mem :: offset_of ! (_xmlElement , contModel) - 104usize] ; } ; # [doc = " The different element types carried by an XML tree.\n\n NOTE: This is synchronized with DOM Level 1 values.\n       See http://www.w3.org/TR/REC-DOM-Level-1/\n\n Actually this had diverged a bit, and XML_DTD_NODE is used instead\n of XML_DOCUMENT_TYPE_NODE."] pub use self :: xmlElementType as xmlNsType ; # [doc = " Namespace declaration"] pub type xmlNs = _xmlNs ; pub type xmlNsPtr = * mut xmlNs ; # [doc = " An XML namespace.\n Note that prefix == NULL is valid, it defines the default namespace\n within the subtree (until overridden).\n\n xmlNsType is unified with xmlElementType.\n\n Note that the XPath engine returns XPath namespace nodes as\n xmlNs cast to xmlNode. This is a terrible design decision that\n can easily cause type confusion errors. In this case, the `next`\n member points to the xmlNode element to which the namespace\n node belongs."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNs { # [doc = " next namespace"] pub next : * mut _xmlNs , # [doc = " XML_NAMESPACE_DECL"] pub type_ : xmlNsType , # [doc = " namespace URI"] pub href : * const xmlChar , # [doc = " namespace prefix"] pub prefix : * const xmlChar , # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " normally an xmlDoc"] pub context : * mut _xmlDoc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNs"] [:: std :: mem :: size_of :: < _xmlNs > () - 48usize] ; ["Alignment of _xmlNs"] [:: std :: mem :: align_of :: < _xmlNs > () - 8usize] ; ["Offset of field: _xmlNs::next"] [:: std :: mem :: offset_of ! (_xmlNs , next) - 0usize] ; ["Offset of field: _xmlNs::type_"] [:: std :: mem :: offset_of ! (_xmlNs , type_) - 8usize] ; ["Offset of field: _xmlNs::href"] [:: std :: mem :: offset_of ! (_xmlNs , href) - 16usize] ; ["Offset of field: _xmlNs::prefix"] [:: std :: mem :: offset_of ! (_xmlNs , prefix) - 24usize] ; ["Offset of field: _xmlNs::_private"] [:: std :: mem :: offset_of ! (_xmlNs , _private) - 32usize] ; ["Offset of field: _xmlNs::context"] [:: std :: mem :: offset_of ! (_xmlNs , context) - 40usize] ; } ; # [doc = " Document type definition (DTD)"] pub type xmlDtd = _xmlDtd ; pub type xmlDtdPtr = * mut xmlDtd ; # [doc = " An XML DTD, as defined by <!DOCTYPE ... There is actually one for\n the internal subset and for the external subset.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDtd { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_DTD_NODE"] pub type_ : xmlElementType , # [doc = " name of the DTD"] pub name : * const xmlChar , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlDoc , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " hash table for notations if any"] pub notations : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for elements if any"] pub elements : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for attributes if any"] pub attributes : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for entities if any"] pub entities : * mut :: std :: os :: raw :: c_void , # [doc = " public identifier"] pub ExternalID : * mut xmlChar , # [doc = " system identifier"] pub SystemID : * mut xmlChar , # [doc = " hash table for parameter entities if any"] pub pentities : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDtd"] [:: std :: mem :: size_of :: < _xmlDtd > () - 128usize] ; ["Alignment of _xmlDtd"] [:: std :: mem :: align_of :: < _xmlDtd > () - 8usize] ; ["Offset of field: _xmlDtd::_private"] [:: std :: mem :: offset_of ! (_xmlDtd , _private) - 0usize] ; ["Offset of field: _xmlDtd::type_"] [:: std :: mem :: offset_of ! (_xmlDtd , type_) - 8usize] ; ["Offset of field: _xmlDtd::name"] [:: std :: mem :: offset_of ! (_xmlDtd , name) - 16usize] ; ["Offset of field: _xmlDtd::children"] [:: std :: mem :: offset_of ! (_xmlDtd , children) - 24usize] ; ["Offset of field: _xmlDtd::last"] [:: std :: mem :: offset_of ! (_xmlDtd , last) - 32usize] ; ["Offset of field: _xmlDtd::parent"] [:: std :: mem :: offset_of ! (_xmlDtd , parent) - 40usize] ; ["Offset of field: _xmlDtd::next"] [:: std :: mem :: offset_of ! (_xmlDtd , next) - 48usize] ; ["Offset of field: _xmlDtd::prev"] [:: std :: mem :: offset_of ! (_xmlDtd , prev) - 56usize] ; ["Offset of field: _xmlDtd::doc"] [:: std :: mem :: offset_of ! (_xmlDtd , doc) - 64usize] ; ["Offset of field: _xmlDtd::notations"] [:: std :: mem :: offset_of ! (_xmlDtd , notations) - 72usize] ; ["Offset of field: _xmlDtd::elements"] [:: std :: mem :: offset_of ! (_xmlDtd , elements) - 80usize] ; ["Offset of field: _xmlDtd::attributes"] [:: std :: mem :: offset_of ! (_xmlDtd , attributes) - 88usize] ; ["Offset of field: _xmlDtd::entities"] [:: std :: mem :: offset_of ! (_xmlDtd , entities) - 96usize] ; ["Offset of field: _xmlDtd::ExternalID"] [:: std :: mem :: offset_of ! (_xmlDtd , ExternalID) - 104usize] ; ["Offset of field: _xmlDtd::SystemID"] [:: std :: mem :: offset_of ! (_xmlDtd , SystemID) - 112usize] ; ["Offset of field: _xmlDtd::pentities"] [:: std :: mem :: offset_of ! (_xmlDtd , pentities) - 120usize] ; } ; # [doc = " Attribute of an element"] pub type xmlAttr = _xmlAttr ; pub type xmlAttrPtr = * mut xmlAttr ; # [doc = " An attribute of element."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttr { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ATTRIBUTE_NODE"] pub type_ : xmlElementType , # [doc = " local name"] pub name : * const xmlChar , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlNode , # [doc = " next sibling"] pub next : * mut _xmlAttr , # [doc = " previous sibling"] pub prev : * mut _xmlAttr , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " namespace if any"] pub ns : * mut xmlNs , # [doc = " attribute type if validating"] pub atype : xmlAttributeType , # [doc = " for type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " ID struct if any"] pub id : * mut _xmlID , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlAttr"] [:: std :: mem :: size_of :: < _xmlAttr > () - 104usize] ; ["Alignment of _xmlAttr"] [:: std :: mem :: align_of :: < _xmlAttr > () - 8usize] ; ["Offset of field: _xmlAttr::_private"] [:: std :: mem :: offset_of ! (_xmlAttr , _private) - 0usize] ; ["Offset of field: _xmlAttr::type_"] [:: std :: mem :: offset_of ! (_xmlAttr , type_) - 8usize] ; ["Offset of field: _xmlAttr::name"] [:: std :: mem :: offset_of ! (_xmlAttr , name) - 16usize] ; ["Offset of field: _xmlAttr::children"] [:: std :: mem :: offset_of ! (_xmlAttr , children) - 24usize] ; ["Offset of field: _xmlAttr::last"] [:: std :: mem :: offset_of ! (_xmlAttr , last) - 32usize] ; ["Offset of field: _xmlAttr::parent"] [:: std :: mem :: offset_of ! (_xmlAttr , parent) - 40usize] ; ["Offset of field: _xmlAttr::next"] [:: std :: mem :: offset_of ! (_xmlAttr , next) - 48usize] ; ["Offset of field: _xmlAttr::prev"] [:: std :: mem :: offset_of ! (_xmlAttr , prev) - 56usize] ; ["Offset of field: _xmlAttr::doc"] [:: std :: mem :: offset_of ! (_xmlAttr , doc) - 64usize] ; ["Offset of field: _xmlAttr::ns"] [:: std :: mem :: offset_of ! (_xmlAttr , ns) - 72usize] ; ["Offset of field: _xmlAttr::atype"] [:: std :: mem :: offset_of ! (_xmlAttr , atype) - 80usize] ; ["Offset of field: _xmlAttr::psvi"] [:: std :: mem :: offset_of ! (_xmlAttr , psvi) - 88usize] ; ["Offset of field: _xmlAttr::id"] [:: std :: mem :: offset_of ! (_xmlAttr , id) - 96usize] ; } ; # [doc = " Extra data for ID attributes"] pub type xmlID = _xmlID ; pub type xmlIDPtr = * mut xmlID ; # [doc = " An XML ID instance.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlID { pub next : * mut _xmlID , pub value : * mut xmlChar , pub attr : * mut xmlAttr , pub name : * const xmlChar , pub lineno : :: std :: os :: raw :: c_int , pub doc : * mut _xmlDoc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlID"] [:: std :: mem :: size_of :: < _xmlID > () - 48usize] ; ["Alignment of _xmlID"] [:: std :: mem :: align_of :: < _xmlID > () - 8usize] ; ["Offset of field: _xmlID::next"] [:: std :: mem :: offset_of ! (_xmlID , next) - 0usize] ; ["Offset of field: _xmlID::value"] [:: std :: mem :: offset_of ! (_xmlID , value) - 8usize] ; ["Offset of field: _xmlID::attr"] [:: std :: mem :: offset_of ! (_xmlID , attr) - 16usize] ; ["Offset of field: _xmlID::name"] [:: std :: mem :: offset_of ! (_xmlID , name) - 24usize] ; ["Offset of field: _xmlID::lineno"] [:: std :: mem :: offset_of ! (_xmlID , lineno) - 32usize] ; ["Offset of field: _xmlID::doc"] [:: std :: mem :: offset_of ! (_xmlID , doc) - 40usize] ; } ; # [doc = " @cond ignore"] pub type xmlRef = _xmlRef ; pub type xmlRefPtr = * mut xmlRef ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRef { pub next : * mut _xmlRef , pub value : * const xmlChar , pub attr : * mut xmlAttr , pub name : * const xmlChar , pub lineno : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlRef"] [:: std :: mem :: size_of :: < _xmlRef > () - 40usize] ; ["Alignment of _xmlRef"] [:: std :: mem :: align_of :: < _xmlRef > () - 8usize] ; ["Offset of field: _xmlRef::next"] [:: std :: mem :: offset_of ! (_xmlRef , next) - 0usize] ; ["Offset of field: _xmlRef::value"] [:: std :: mem :: offset_of ! (_xmlRef , value) - 8usize] ; ["Offset of field: _xmlRef::attr"] [:: std :: mem :: offset_of ! (_xmlRef , attr) - 16usize] ; ["Offset of field: _xmlRef::name"] [:: std :: mem :: offset_of ! (_xmlRef , name) - 24usize] ; ["Offset of field: _xmlRef::lineno"] [:: std :: mem :: offset_of ! (_xmlRef , lineno) - 32usize] ; } ; # [doc = " Generic node type in an XML or HTML tree"] pub type xmlNode = _xmlNode ; pub type xmlNodePtr = * mut xmlNode ; # [doc = " Generic node type in an XML or HTML tree.\n\n This is used for\n\n - XML_ELEMENT_NODE\n - XML_TEXT_NODE\n - XML_CDATA_SECTION_NODE\n - XML_ENTITY_REF_NODE\n - XML_PI_NODE\n - XML_COMMENT_NODE\n - XML_DOCUMENT_FRAG_NODE\n - XML_XINCLUDE_START_NODE\n - XML_XINCLUDE_END_NODE\n\n Other node types have a different struct layout than xmlNode,\n see xmlElementType. Except for XML_NAMESPACE_DECL all nodes\n share the following members at the same offset:\n\n - `_private`\n - `type` (also for XML_NAMESPACE_DECL)\n - `name`\n - `children`\n - `last`\n - `parent`\n - `next`\n - `prev`\n - `doc`\n\n xmlNode and xmlAttr also share the `ns` member."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNode { # [doc = " Application data. Often used by language bindings."] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " Type enum, an xmlElementType value"] pub type_ : xmlElementType , # [doc = " Name of the node.\n\n - Local name of elements or attributes. As a corner case,\n   this can also contain Names which are invalid QNames in\n   non-namespace-wellformed documents.\n - Name of entity references\n - Target of processing instructions\n - Fixed string for text and comments\n - Unused otherwise"] pub name : * const xmlChar , # [doc = " First child. Entity declaration of entity references."] pub children : * mut _xmlNode , # [doc = " Last child"] pub last : * mut _xmlNode , # [doc = " Parent node. NULL for documents or unlinked root nodes."] pub parent : * mut _xmlNode , # [doc = " Next sibling"] pub next : * mut _xmlNode , # [doc = " Previous sibling"] pub prev : * mut _xmlNode , # [doc = " Associated document.\n\n Used to access DTDs, entities, ID tables, dictionary or\n other document properties. All children of a node share the\n same document."] pub doc : * mut _xmlDoc , # [doc = " Namespace of element if any"] pub ns : * mut xmlNs , # [doc = " Content of text, comment, PI nodes.\n\n Sort index for elements after calling #xmlXPathOrderDocElems.\n Content of internal entities for entity references."] pub content : * mut xmlChar , # [doc = " First attribute of element.\n\n Also used to store small strings with XML_PARSE_COMPACT."] pub properties : * mut _xmlAttr , # [doc = " First namespace definition of element"] pub nsDef : * mut xmlNs , # [doc = " For type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " Line number"] pub line : :: std :: os :: raw :: c_ushort , # [doc = " Extra data for XPath/XSLT"] pub extra : :: std :: os :: raw :: c_ushort , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNode"] [:: std :: mem :: size_of :: < _xmlNode > () - 120usize] ; ["Alignment of _xmlNode"] [:: std :: mem :: align_of :: < _xmlNode > () - 8usize] ; ["Offset of field: _xmlNode::_private"] [:: std :: mem :: offset_of ! (_xmlNode , _private) - 0usize] ; ["Offset of field: _xmlNode::type_"] [:: std :: mem :: offset_of ! (_xmlNode , type_) - 8usize] ; ["Offset of field: _xmlNode::name"] [:: std :: mem :: offset_of ! (_xmlNode , name) - 16usize] ; ["Offset of field: _xmlNode::children"] [:: std :: mem :: offset_of ! (_xmlNode , children) - 24usize] ; ["Offset of field: _xmlNode::last"] [:: std :: mem :: offset_of ! (_xmlNode , last) - 32usize] ; ["Offset of field: _xmlNode::parent"] [:: std :: mem :: offset_of ! (_xmlNode , parent) - 40usize] ; ["Offset of field: _xmlNode::next"] [:: std :: mem :: offset_of ! (_xmlNode , next) - 48usize] ; ["Offset of field: _xmlNode::prev"] [:: std :: mem :: offset_of ! (_xmlNode , prev) - 56usize] ; ["Offset of field: _xmlNode::doc"] [:: std :: mem :: offset_of ! (_xmlNode , doc) - 64usize] ; ["Offset of field: _xmlNode::ns"] [:: std :: mem :: offset_of ! (_xmlNode , ns) - 72usize] ; ["Offset of field: _xmlNode::content"] [:: std :: mem :: offset_of ! (_xmlNode , content) - 80usize] ; ["Offset of field: _xmlNode::properties"] [:: std :: mem :: offset_of ! (_xmlNode , properties) - 88usize] ; ["Offset of field: _xmlNode::nsDef"] [:: std :: mem :: offset_of ! (_xmlNode , nsDef) - 96usize] ; ["Offset of field: _xmlNode::psvi"] [:: std :: mem :: offset_of ! (_xmlNode , psvi) - 104usize] ; ["Offset of field: _xmlNode::line"] [:: std :: mem :: offset_of ! (_xmlNode , line) - 112usize] ; ["Offset of field: _xmlNode::extra"] [:: std :: mem :: offset_of ! (_xmlNode , extra) - 114usize] ; } ; # [doc = " document is XML well formed"] pub const xmlDocProperties_XML_DOC_WELLFORMED : xmlDocProperties = 1 ; # [doc = " document is Namespace valid"] pub const xmlDocProperties_XML_DOC_NSVALID : xmlDocProperties = 2 ; # [doc = " parsed with old XML-1.0 parser"] pub const xmlDocProperties_XML_DOC_OLD10 : xmlDocProperties = 4 ; # [doc = " DTD validation was successful"] pub const xmlDocProperties_XML_DOC_DTDVALID : xmlDocProperties = 8 ; # [doc = " XInclude substitution was done"] pub const xmlDocProperties_XML_DOC_XINCLUDE : xmlDocProperties = 16 ; # [doc = " Document was built using the API and not by parsing an instance"] pub const xmlDocProperties_XML_DOC_USERBUILT : xmlDocProperties = 32 ; # [doc = " built for internal processing"] pub const xmlDocProperties_XML_DOC_INTERNAL : xmlDocProperties = 64 ; # [doc = " parsed or built HTML document"] pub const xmlDocProperties_XML_DOC_HTML : xmlDocProperties = 128 ; # [doc = " Set of properties of the document as found by the parser.\n Some of them are linked to similarly named xmlParserOption."] pub type xmlDocProperties = :: std :: os :: raw :: c_uint ; # [doc = " XML or HTML document"] pub type xmlDoc = _xmlDoc ; pub type xmlDocPtr = * mut xmlDoc ; # [doc = " An XML or HTML document."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDoc { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_DOCUMENT_NODE or XML_HTML_DOCUMENT_NODE"] pub type_ : xmlElementType , # [doc = " NULL"] pub name : * mut :: std :: os :: raw :: c_char , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlNode , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " reference to itself"] pub doc : * mut _xmlDoc , # [doc = " level of zlib compression"] pub compression : :: std :: os :: raw :: c_int , # [doc = " standalone document (no external refs)\n\n - 1 if standalone=\"yes\",\n - 0 if standalone=\"no\",\n - -1 if there is no XML declaration,\n - -2 if there is an XML declaration, but no\n   standalone attribute was specified"] pub standalone : :: std :: os :: raw :: c_int , # [doc = " internal subset"] pub intSubset : * mut _xmlDtd , # [doc = " external subset"] pub extSubset : * mut _xmlDtd , # [doc = " used to hold the XML namespace if needed"] pub oldNs : * mut _xmlNs , # [doc = " version string from XML declaration"] pub version : * mut xmlChar , # [doc = " actual encoding if any"] pub encoding : * mut xmlChar , # [doc = " hash table for ID attributes if any"] pub ids : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for IDREFs attributes if any"] pub refs : * mut :: std :: os :: raw :: c_void , # [doc = " URI of the document"] pub URL : * mut xmlChar , # [doc = " unused"] pub charset : :: std :: os :: raw :: c_int , # [doc = " dict used to allocate names if any"] pub dict : * mut _xmlDict , # [doc = " for type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " xmlParserOption enum used to parse the document"] pub parseFlags : :: std :: os :: raw :: c_int , # [doc = " xmlDocProperties of the document"] pub properties : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDoc"] [:: std :: mem :: size_of :: < _xmlDoc > () - 176usize] ; ["Alignment of _xmlDoc"] [:: std :: mem :: align_of :: < _xmlDoc > () - 8usize] ; ["Offset of field: _xmlDoc::_private"] [:: std :: mem :: offset_of ! (_xmlDoc , _private) - 0usize] ; ["Offset of field: _xmlDoc::type_"] [:: std :: mem :: offset_of ! (_xmlDoc , type_) - 8usize] ; ["Offset of field: _xmlDoc::name"] [:: std :: mem :: offset_of ! (_xmlDoc , name) - 16usize] ; ["Offset of field: _xmlDoc::children"] [:: std :: mem :: offset_of ! (_xmlDoc , children) - 24usize] ; ["Offset of field: _xmlDoc::last"] [:: std :: mem :: offset_of ! (_xmlDoc , last) - 32usize] ; ["Offset of field: _xmlDoc::parent"] [:: std :: mem :: offset_of ! (_xmlDoc , parent) - 40usize] ; ["Offset of field: _xmlDoc::next"] [:: std :: mem :: offset_of ! (_xmlDoc , next) - 48usize] ; ["Offset of field: _xmlDoc::prev"] [:: std :: mem :: offset_of ! (_xmlDoc , prev) - 56usize] ; ["Offset of field: _xmlDoc::doc"] [:: std :: mem :: offset_of ! (_xmlDoc , doc) - 64usize] ; ["Offset of field: _xmlDoc::compression"] [:: std :: mem :: offset_of ! (_xmlDoc , compression) - 72usize] ; ["Offset of field: _xmlDoc::standalone"] [:: std :: mem :: offset_of ! (_xmlDoc , standalone) - 76usize] ; ["Offset of field: _xmlDoc::intSubset"] [:: std :: mem :: offset_of ! (_xmlDoc , intSubset) - 80usize] ; ["Offset of field: _xmlDoc::extSubset"] [:: std :: mem :: offset_of ! (_xmlDoc , extSubset) - 88usize] ; ["Offset of field: _xmlDoc::oldNs"] [:: std :: mem :: offset_of ! (_xmlDoc , oldNs) - 96usize] ; ["Offset of field: _xmlDoc::version"] [:: std :: mem :: offset_of ! (_xmlDoc , version) - 104usize] ; ["Offset of field: _xmlDoc::encoding"] [:: std :: mem :: offset_of ! (_xmlDoc , encoding) - 112usize] ; ["Offset of field: _xmlDoc::ids"] [:: std :: mem :: offset_of ! (_xmlDoc , ids) - 120usize] ; ["Offset of field: _xmlDoc::refs"] [:: std :: mem :: offset_of ! (_xmlDoc , refs) - 128usize] ; ["Offset of field: _xmlDoc::URL"] [:: std :: mem :: offset_of ! (_xmlDoc , URL) - 136usize] ; ["Offset of field: _xmlDoc::charset"] [:: std :: mem :: offset_of ! (_xmlDoc , charset) - 144usize] ; ["Offset of field: _xmlDoc::dict"] [:: std :: mem :: offset_of ! (_xmlDoc , dict) - 152usize] ; ["Offset of field: _xmlDoc::psvi"] [:: std :: mem :: offset_of ! (_xmlDoc , psvi) - 160usize] ; ["Offset of field: _xmlDoc::parseFlags"] [:: std :: mem :: offset_of ! (_xmlDoc , parseFlags) - 168usize] ; ["Offset of field: _xmlDoc::properties"] [:: std :: mem :: offset_of ! (_xmlDoc , properties) - 172usize] ; } ; # [doc = " Context for DOM wrapper operations"] pub type xmlDOMWrapCtxt = _xmlDOMWrapCtxt ; pub type xmlDOMWrapCtxtPtr = * mut xmlDOMWrapCtxt ; # [doc = " A function called to acquire namespaces (xmlNs) from the wrapper.\n\n @param ctxt  a DOM wrapper context\n @param node  the context node (element or attribute)\n @param nsName  the requested namespace name\n @param nsPrefix  the requested namespace prefix\n @returns an xmlNs or NULL in case of an error."] pub type xmlDOMWrapAcquireNsFunction = :: std :: option :: Option < unsafe extern "C" fn (ctxt : * mut xmlDOMWrapCtxt , node : * mut xmlNode , nsName : * const xmlChar , nsPrefix : * const xmlChar) -> * mut xmlNs > ; # [doc = " Context for DOM wrapper-operations."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDOMWrapCtxt { pub _private : * mut :: std :: os :: raw :: c_void , pub type_ : :: std :: os :: raw :: c_int , pub namespaceMap : * mut :: std :: os :: raw :: c_void , pub getNsForNodeFunc : xmlDOMWrapAcquireNsFunction , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDOMWrapCtxt"] [:: std :: mem :: size_of :: < _xmlDOMWrapCtxt > () - 32usize] ; ["Alignment of _xmlDOMWrapCtxt"] [:: std :: mem :: align_of :: < _xmlDOMWrapCtxt > () - 8usize] ; ["Offset of field: _xmlDOMWrapCtxt::_private"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , _private) - 0usize] ; ["Offset of field: _xmlDOMWrapCtxt::type_"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , type_) - 8usize] ; ["Offset of field: _xmlDOMWrapCtxt::namespaceMap"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , namespaceMap) - 16usize] ; ["Offset of field: _xmlDOMWrapCtxt::getNsForNodeFunc"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , getNsForNodeFunc) - 24usize] ; } ; # [doc = " Signature for the registration callback of a created node\n\n @param node  the current node"] pub type xmlRegisterNodeFunc = :: std :: option :: Option < unsafe extern "C" fn (node : * mut xmlNode) > ; # [doc = " Signature for the deregistration callback of a discarded node\n\n @param node  the current node"] pub type xmlDeregisterNodeFunc = :: std :: option :: Option < unsafe extern "C" fn (node : * mut xmlNode) > ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlRegisterNodeDefaultValue () -> * mut xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn __xmlDeregisterNodeDefaultValue () -> * mut xmlDeregisterNodeFunc ; } unsafe extern "C" { # [doc = " @endcond"] pub fn xmlValidateNCName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateQName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNMToken (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBuildQName (ncname : * const xmlChar , prefix : * const xmlChar , memory : * mut xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSplitQName2 (name : * const xmlChar , prefix : * mut * mut xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSplitQName3 (name : * const xmlChar , len : * mut :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCreateIntSubset (doc : * mut xmlDoc , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlNewDtd (doc : * mut xmlDoc , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlGetIntSubset (doc : * const xmlDoc) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlFreeDtd (cur : * mut xmlDtd) ; } unsafe extern "C" { pub fn xmlNewNs (node : * mut xmlNode , href : * const xmlChar , prefix : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlFreeNs (cur : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlFreeNsList (cur : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlNewDoc (version : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlFreeDoc (cur : * mut xmlDoc) ; } unsafe extern "C" { pub fn xmlNewDocProp (doc : * mut xmlDoc , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewProp (node : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewNsPropEatName (node : * mut xmlNode , ns : * mut xmlNs , name : * mut xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlFreePropList (cur : * mut xmlAttr) ; } unsafe extern "C" { pub fn xmlFreeProp (cur : * mut xmlAttr) ; } unsafe extern "C" { pub fn xmlCopyProp (target : * mut xmlNode , cur : * mut xmlAttr) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlCopyPropList (target : * mut xmlNode , cur : * mut xmlAttr) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlCopyDtd (dtd : * mut xmlDtd) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlCopyDoc (doc : * mut xmlDoc , recursive : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlNewDocNode (doc : * mut xmlDoc , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocNodeEatName (doc : * mut xmlDoc , ns : * mut xmlNs , name : * mut xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewNode (ns : * mut xmlNs , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewNodeEatName (ns : * mut xmlNs , name : * mut xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewChild (parent : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocText (doc : * const xmlDoc , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewText (content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocPI (doc : * mut xmlDoc , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewPI (name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocTextLen (doc : * mut xmlDoc , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewTextLen (content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocComment (doc : * mut xmlDoc , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewComment (content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewCDataBlock (doc : * mut xmlDoc , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewCharRef (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewReference (doc : * const xmlDoc , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCopyNode (node : * mut xmlNode , recursive : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlDocCopyNode (node : * mut xmlNode , doc : * mut xmlDoc , recursive : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlDocCopyNodeList (doc : * mut xmlDoc , node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCopyNodeList (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewTextChild (parent : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocRawNode (doc : * mut xmlDoc , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocFragment (doc : * mut xmlDoc) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlGetLineNo (node : * const xmlNode) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn xmlGetNodePath (node : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlDocGetRootElement (doc : * const xmlDoc) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlGetLastChild (parent : * const xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeIsText (node : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsBlankNode (node : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocSetRootElement (doc : * mut xmlDoc , root : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeSetName (cur : * mut xmlNode , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlAddChild (parent : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddChildList (parent : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlReplaceNode (old : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddPrevSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddNextSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlUnlinkNode (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlTextMerge (first : * mut xmlNode , second : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlTextConcat (node : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFreeNodeList (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlFreeNode (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlSetTreeDoc (tree : * mut xmlNode , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetListDoc (list : * mut xmlNode , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSearchNs (doc : * mut xmlDoc , node : * mut xmlNode , nameSpace : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlSearchNsByHref (doc : * mut xmlDoc , node : * mut xmlNode , href : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlGetNsListSafe (doc : * const xmlDoc , node : * const xmlNode , out : * mut * mut * mut xmlNs) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetNsList (doc : * const xmlDoc , node : * const xmlNode) -> * mut * mut xmlNs ; } unsafe extern "C" { pub fn xmlSetNs (node : * mut xmlNode , ns : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlCopyNamespace (cur : * mut xmlNs) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlCopyNamespaceList (cur : * mut xmlNs) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlSetProp (node : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlSetNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNodeGetAttrValue (node : * const xmlNode , name : * const xmlChar , nsUri : * const xmlChar , out : * mut * mut xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetNoNsProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlGetProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlHasProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlHasNsProp (node : * const xmlNode , name : * const xmlChar , nameSpace : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlGetNsProp (node : * const xmlNode , name : * const xmlChar , nameSpace : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStringGetNodeList (doc : * const xmlDoc , value : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlStringLenGetNodeList (doc : * const xmlDoc , value : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeListGetString (doc : * mut xmlDoc , list : * const xmlNode , inLine : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeListGetRawString (doc : * const xmlDoc , list : * const xmlNode , inLine : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeSetContent (cur : * mut xmlNode , content : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetContentLen (cur : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeAddContent (cur : * mut xmlNode , content : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeAddContentLen (cur : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetContent (cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeBufGetContent (buffer : * mut xmlBuffer , cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufGetNodeContent (buf : * mut xmlBuf , cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetLang (cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeGetSpacePreserve (cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetLang (cur : * mut xmlNode , lang : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetSpacePreserve (cur : * mut xmlNode , val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetBaseSafe (doc : * const xmlDoc , cur : * const xmlNode , baseOut : * mut * mut xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetBase (doc : * const xmlDoc , cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeSetBase (cur : * mut xmlNode , uri : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveProp (cur : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUnsetNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUnsetProp (node : * mut xmlNode , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAttrSerializeTxtContent (buf : * mut xmlBuffer , doc : * mut xmlDoc , attr : * mut xmlAttr , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlReconciliateNs (doc : * mut xmlDoc , tree : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocDumpFormatMemory (cur : * mut xmlDoc , mem : * mut * mut xmlChar , size : * mut :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocDumpMemory (cur : * mut xmlDoc , mem : * mut * mut xmlChar , size : * mut :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocDumpMemoryEnc (out_doc : * mut xmlDoc , doc_txt_ptr : * mut * mut xmlChar , doc_txt_len : * mut :: std :: os :: raw :: c_int , txt_encoding : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlDocDumpFormatMemoryEnc (out_doc : * mut xmlDoc , doc_txt_ptr : * mut * mut xmlChar , doc_txt_len : * mut :: std :: os :: raw :: c_int , txt_encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocFormatDump (f : * mut FILE , cur : * mut xmlDoc , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocDump (f : * mut FILE , cur : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlElemDump (f : * mut FILE , doc : * mut xmlDoc , cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlSaveFile (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFormatFile (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufNodeDump (buf : * mut xmlBuf , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> usize ; } unsafe extern "C" { pub fn xmlNodeDump (buf : * mut xmlBuffer , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFileTo (buf : * mut xmlOutputBuffer , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFormatFileTo (buf : * mut xmlOutputBuffer , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeDumpOutput (buf : * mut xmlOutputBuffer , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , encoding : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlSaveFormatFileEnc (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFileEnc (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsXHTML (systemID : * const xmlChar , publicID : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetDocCompressMode (doc : * const xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetDocCompressMode (doc : * mut xmlDoc , mode : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlGetCompressMode () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetCompressMode (mode : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDOMWrapNewCtxt () -> * mut xmlDOMWrapCtxt ; } unsafe extern "C" { pub fn xmlDOMWrapFreeCtxt (ctxt : * mut xmlDOMWrapCtxt) ; } unsafe extern "C" { pub fn xmlDOMWrapReconcileNamespaces (ctxt : * mut xmlDOMWrapCtxt , elem : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapAdoptNode (ctxt : * mut xmlDOMWrapCtxt , sourceDoc : * mut xmlDoc , node : * mut xmlNode , destDoc : * mut xmlDoc , destParent : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapRemoveNode (ctxt : * mut xmlDOMWrapCtxt , doc : * mut xmlDoc , node : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapCloneNode (ctxt : * mut xmlDOMWrapCtxt , sourceDoc : * mut xmlDoc , node : * mut xmlNode , clonedNode : * mut * mut xmlNode , destDoc : * mut xmlDoc , destParent : * mut xmlNode , deep : :: std :: os :: raw :: c_int , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlChildElementCount (parent : * mut xmlNode) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlNextElementSibling (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlFirstElementChild (parent : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlLastElementChild (parent : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlPreviousElementSibling (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlRegisterNodeDefault (func : xmlRegisterNodeFunc) -> xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn xmlDeregisterNodeDefault (func : xmlDeregisterNodeFunc) -> xmlDeregisterNodeFunc ; } unsafe extern "C" { pub fn xmlThrDefRegisterNodeDefault (func : xmlRegisterNodeFunc) -> xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn xmlThrDefDeregisterNodeDefault (func : xmlDeregisterNodeFunc) -> xmlDeregisterNodeFunc ; } unsafe extern "C" { pub fn xmlSetBufferAllocationScheme (scheme : xmlBufferAllocationScheme) ; } unsafe extern "C" { pub fn xmlGetBufferAllocationScheme () -> xmlBufferAllocationScheme ; } unsafe extern "C" { pub fn xmlBufferCreate () -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferCreateSize (size : usize) -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferCreateStatic (mem : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferResize (buf : * mut xmlBuffer , size : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferFree (buf : * mut xmlBuffer) ; } unsafe extern "C" { pub fn xmlBufferDump (file : * mut FILE , buf : * mut xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferAdd (buf : * mut xmlBuffer , str_ : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferAddHead (buf : * mut xmlBuffer , str_ : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferCat (buf : * mut xmlBuffer , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferCCat (buf : * mut xmlBuffer , str_ : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferShrink (buf : * mut xmlBuffer , len : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferGrow (buf : * mut xmlBuffer , len : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferEmpty (buf : * mut xmlBuffer) ; } unsafe extern "C" { pub fn xmlBufferContent (buf : * const xmlBuffer) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlBufferDetach (buf : * mut xmlBuffer) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufferSetAllocationScheme (buf : * mut xmlBuffer , scheme : xmlBufferAllocationScheme) ; } unsafe extern "C" { pub fn xmlBufferLength (buf : * const xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferWriteCHAR (buf : * mut xmlBuffer , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlBufferWriteChar (buf : * mut xmlBuffer , string : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlBufferWriteQuotedString (buf : * mut xmlBuffer , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlBufContent (buf : * const xmlBuf) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufEnd (buf : * mut xmlBuf) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufUse (buf : * mut xmlBuf) -> usize ; } unsafe extern "C" { pub fn xmlBufShrink (buf : * mut xmlBuf , len : usize) -> usize ; } pub type wchar_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [repr (align (16))] # [derive (Debug , Copy , Clone)] pub struct max_align_t { pub __clang_max_align_nonce1 : :: std :: os :: raw :: c_longlong , pub __bindgen_padding_0 : u64 , pub __clang_max_align_nonce2 : u128 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of max_align_t"] [:: std :: mem :: size_of :: < max_align_t > () - 32usize] ; ["Alignment of max_align_t"] [:: std :: mem :: align_of :: < max_align_t > () - 16usize] ; ["Offset of field: max_align_t::__clang_max_align_nonce1"] [:: std :: mem :: offset_of ! (max_align_t , __clang_max_align_nonce1) - 0usize] ; ["Offset of field: max_align_t::__clang_max_align_nonce2"] [:: std :: mem :: offset_of ! (max_align_t , __clang_max_align_nonce2) - 16usize] ; } ; # [doc = " Dictionary (pool for interned strings)"] pub type xmlDict = _xmlDict ; pub type xmlDictPtr = * mut xmlDict ; unsafe extern "C" { pub fn xmlInitializeDict () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictCreate () -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlDictSetLimit (dict : * mut xmlDict , limit : usize) -> usize ; } unsafe extern "C" { pub fn xmlDictGetUsage (dict : * mut xmlDict) -> usize ; } unsafe extern "C" { pub fn xmlDictCreateSub (sub : * mut xmlDict) -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlDictReference (dict : * mut xmlDict) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictFree (dict : * mut xmlDict) ; } unsafe extern "C" { pub fn xmlDictLookup (dict : * mut xmlDict , name : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictExists (dict : * mut xmlDict , name : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictQLookup (dict : * mut xmlDict , prefix : * const xmlChar , name : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictOwns (dict : * mut xmlDict , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictSize (dict : * mut xmlDict) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictCleanup () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlHashTable { _unused : [u8 ; 0] , } # [doc = " Hash table mapping strings to pointers\n\n Also supports lookup using two or three strings as key."] pub type xmlHashTable = _xmlHashTable ; pub type xmlHashTablePtr = * mut xmlHashTable ; # [doc = " Callback to free data from a hash.\n\n @param payload  the data in the hash\n @param name  the name associated"] pub type xmlHashDeallocator = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback to copy data from a hash.\n\n @param payload  the data in the hash\n @param name  the name associated\n @returns a copy of the data or NULL in case of error."] pub type xmlHashCopier = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback when scanning data in a hash with the simple scanner.\n\n @param payload  the data in the hash\n @param data  extra scanner data\n @param name  the name associated"] pub type xmlHashScanner = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , data : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback when scanning data in a hash with the full scanner.\n\n @param payload  the data in the hash\n @param data  extra scanner data\n @param name  the name associated\n @param name2  the second name associated\n @param name3  the third name associated"] pub type xmlHashScannerFull = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , data : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar) > ; unsafe extern "C" { pub fn xmlHashCreate (size : :: std :: os :: raw :: c_int) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashCreateDict (size : :: std :: os :: raw :: c_int , dict : * mut xmlDict) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashFree (hash : * mut xmlHashTable , dealloc : xmlHashDeallocator) ; } unsafe extern "C" { pub fn xmlHashDefaultDeallocator (entry : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlHashAdd (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAdd2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAdd3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry (hash : * mut xmlHashTable , name : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashLookup (hash : * mut xmlHashTable , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashLookup2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashLookup3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup2 (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar , prefix2 : * const xmlChar , name2 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup3 (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar , prefix2 : * const xmlChar , name2 : * const xmlChar , prefix3 : * const xmlChar , name3 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashCopySafe (hash : * mut xmlHashTable , copy : xmlHashCopier , dealloc : xmlHashDeallocator) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashCopy (hash : * mut xmlHashTable , copy : xmlHashCopier) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashSize (hash : * mut xmlHashTable) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashScan (hash : * mut xmlHashTable , scan : xmlHashScanner , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScan3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , scan : xmlHashScanner , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScanFull (hash : * mut xmlHashTable , scan : xmlHashScannerFull , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScanFull3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , scan : xmlHashScannerFull , data : * mut :: std :: os :: raw :: c_void) ; } # [doc = " Success"] pub const xmlErrorLevel_XML_ERR_NONE : xmlErrorLevel = 0 ; # [doc = " A warning\n\n When parsing XML, warnings are only reported to error\n handlers."] pub const xmlErrorLevel_XML_ERR_WARNING : xmlErrorLevel = 1 ; # [doc = " An error\n\n When parsing XML, this is used for recoverable errors like\n\n - namespace errors\n - validity errors when validating\n - certain undeclared entities\n - ID uniqueness and xml:id errors\n\n Note that some recoverable errors in the sense of the XML\n spec are reported as warnings.\n\n In other contexts, this may be used for unrecoverable\n errors."] pub const xmlErrorLevel_XML_ERR_ERROR : xmlErrorLevel = 2 ; # [doc = " A fatal error\n\n When parsing XML, a \"fatal error\" according to the XML spec.\n This typically means that the document isn't well-formed.\n\n This also includes OOM and I/O errors, resource limit\n exhaustion, unexpected errors from other libraries and\n invalid argument errors."] pub const xmlErrorLevel_XML_ERR_FATAL : xmlErrorLevel = 3 ; # [doc = " Indicates the level of an error"] pub type xmlErrorLevel = :: std :: os :: raw :: c_uint ; # [doc = " Unknown"] pub const xmlErrorDomain_XML_FROM_NONE : xmlErrorDomain = 0 ; # [doc = " The XML parser"] pub const xmlErrorDomain_XML_FROM_PARSER : xmlErrorDomain = 1 ; # [doc = " The tree module (unused)"] pub const xmlErrorDomain_XML_FROM_TREE : xmlErrorDomain = 2 ; # [doc = " The XML Namespace module"] pub const xmlErrorDomain_XML_FROM_NAMESPACE : xmlErrorDomain = 3 ; # [doc = " The XML DTD validation with parser context"] pub const xmlErrorDomain_XML_FROM_DTD : xmlErrorDomain = 4 ; # [doc = " The HTML parser"] pub const xmlErrorDomain_XML_FROM_HTML : xmlErrorDomain = 5 ; # [doc = " The memory allocator (unused)"] pub const xmlErrorDomain_XML_FROM_MEMORY : xmlErrorDomain = 6 ; # [doc = " The serialization code"] pub const xmlErrorDomain_XML_FROM_OUTPUT : xmlErrorDomain = 7 ; # [doc = " The Input/Output stack"] pub const xmlErrorDomain_XML_FROM_IO : xmlErrorDomain = 8 ; # [doc = " The FTP module (unused)"] pub const xmlErrorDomain_XML_FROM_FTP : xmlErrorDomain = 9 ; # [doc = " The HTTP module (unused)"] pub const xmlErrorDomain_XML_FROM_HTTP : xmlErrorDomain = 10 ; # [doc = " The XInclude processing"] pub const xmlErrorDomain_XML_FROM_XINCLUDE : xmlErrorDomain = 11 ; # [doc = " The XPath module"] pub const xmlErrorDomain_XML_FROM_XPATH : xmlErrorDomain = 12 ; # [doc = " The XPointer module"] pub const xmlErrorDomain_XML_FROM_XPOINTER : xmlErrorDomain = 13 ; # [doc = " The regular expressions module"] pub const xmlErrorDomain_XML_FROM_REGEXP : xmlErrorDomain = 14 ; # [doc = " The W3C XML Schemas Datatype module"] pub const xmlErrorDomain_XML_FROM_DATATYPE : xmlErrorDomain = 15 ; # [doc = " The W3C XML Schemas parser module"] pub const xmlErrorDomain_XML_FROM_SCHEMASP : xmlErrorDomain = 16 ; # [doc = " The W3C XML Schemas validation module"] pub const xmlErrorDomain_XML_FROM_SCHEMASV : xmlErrorDomain = 17 ; # [doc = " The Relax-NG parser module"] pub const xmlErrorDomain_XML_FROM_RELAXNGP : xmlErrorDomain = 18 ; # [doc = " The Relax-NG validator module"] pub const xmlErrorDomain_XML_FROM_RELAXNGV : xmlErrorDomain = 19 ; # [doc = " The Catalog module"] pub const xmlErrorDomain_XML_FROM_CATALOG : xmlErrorDomain = 20 ; # [doc = " The Canonicalization module"] pub const xmlErrorDomain_XML_FROM_C14N : xmlErrorDomain = 21 ; # [doc = " The XSLT engine from libxslt (unused)"] pub const xmlErrorDomain_XML_FROM_XSLT : xmlErrorDomain = 22 ; # [doc = " The XML DTD validation with valid context"] pub const xmlErrorDomain_XML_FROM_VALID : xmlErrorDomain = 23 ; # [doc = " The error checking module (unused)"] pub const xmlErrorDomain_XML_FROM_CHECK : xmlErrorDomain = 24 ; # [doc = " The xmlwriter module"] pub const xmlErrorDomain_XML_FROM_WRITER : xmlErrorDomain = 25 ; # [doc = " The dynamically loaded module module (unused)"] pub const xmlErrorDomain_XML_FROM_MODULE : xmlErrorDomain = 26 ; # [doc = " The module handling character conversion (unused)"] pub const xmlErrorDomain_XML_FROM_I18N : xmlErrorDomain = 27 ; # [doc = " The Schematron validator module"] pub const xmlErrorDomain_XML_FROM_SCHEMATRONV : xmlErrorDomain = 28 ; # [doc = " The buffers module (unused)"] pub const xmlErrorDomain_XML_FROM_BUFFER : xmlErrorDomain = 29 ; # [doc = " The URI module (unused)"] pub const xmlErrorDomain_XML_FROM_URI : xmlErrorDomain = 30 ; # [doc = " Indicates where an error may have come from"] pub type xmlErrorDomain = :: std :: os :: raw :: c_uint ; # [doc = " Structured error"] pub type xmlError = _xmlError ; pub type xmlErrorPtr = * mut xmlError ; # [doc = " An object containing information about an error."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlError { # [doc = " An xmlErrorDomain value."] pub domain : :: std :: os :: raw :: c_int , # [doc = " The error code, e.g. an xmlParserErrors."] pub code : :: std :: os :: raw :: c_int , # [doc = " Human-readable error message."] pub message : * mut :: std :: os :: raw :: c_char , # [doc = " Error level."] pub level : xmlErrorLevel , # [doc = " Filename if available"] pub file : * mut :: std :: os :: raw :: c_char , # [doc = " Line number if available"] pub line : :: std :: os :: raw :: c_int , # [doc = " Extra string information."] pub str1 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra string information."] pub str2 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra string information."] pub str3 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra number information."] pub int1 : :: std :: os :: raw :: c_int , # [doc = " Column number if available."] pub int2 : :: std :: os :: raw :: c_int , # [doc = " Parser context if available"] pub ctxt : * mut :: std :: os :: raw :: c_void , # [doc = " Node if available"] pub node : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlError"] [:: std :: mem :: size_of :: < _xmlError > () - 88usize] ; ["Alignment of _xmlError"] [:: std :: mem :: align_of :: < _xmlError > () - 8usize] ; ["Offset of field: _xmlError::domain"] [:: std :: mem :: offset_of ! (_xmlError , domain) - 0usize] ; ["Offset of field: _xmlError::code"] [:: std :: mem :: offset_of ! (_xmlError , code) - 4usize] ; ["Offset of field: _xmlError::message"] [:: std :: mem :: offset_of ! (_xmlError , message) - 8usize] ; ["Offset of field: _xmlError::level"] [:: std :: mem :: offset_of ! (_xmlError , level) - 16usize] ; ["Offset of field: _xmlError::file"] [:: std :: mem :: offset_of ! (_xmlError , file) - 24usize] ; ["Offset of field: _xmlError::line"] [:: std :: mem :: offset_of ! (_xmlError , line) - 32usize] ; ["Offset of field: _xmlError::str1"] [:: std :: mem :: offset_of ! (_xmlError , str1) - 40usize] ; ["Offset of field: _xmlError::str2"] [:: std :: mem :: offset_of ! (_xmlError , str2) - 48usize] ; ["Offset of field: _xmlError::str3"] [:: std :: mem :: offset_of ! (_xmlError , str3) - 56usize] ; ["Offset of field: _xmlError::int1"] [:: std :: mem :: offset_of ! (_xmlError , int1) - 64usize] ; ["Offset of field: _xmlError::int2"] [:: std :: mem :: offset_of ! (_xmlError , int2) - 68usize] ; ["Offset of field: _xmlError::ctxt"] [:: std :: mem :: offset_of ! (_xmlError , ctxt) - 72usize] ; ["Offset of field: _xmlError::node"] [:: std :: mem :: offset_of ! (_xmlError , node) - 80usize] ; } ; # [doc = " Success."] pub const xmlParserErrors_XML_ERR_OK : xmlParserErrors = 0 ; # [doc = " Internal assertion failure."] pub const xmlParserErrors_XML_ERR_INTERNAL_ERROR : xmlParserErrors = 1 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_NO_MEMORY : xmlParserErrors = 2 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_START : xmlParserErrors = 3 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_EMPTY : xmlParserErrors = 4 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_END : xmlParserErrors = 5 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_HEX_CHARREF : xmlParserErrors = 6 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_DEC_CHARREF : xmlParserErrors = 7 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_CHARREF : xmlParserErrors = 8 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_CHAR : xmlParserErrors = 9 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_AT_EOF : xmlParserErrors = 10 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_PROLOG : xmlParserErrors = 11 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_EPILOG : xmlParserErrors = 12 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_DTD : xmlParserErrors = 13 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_AT_EOF : xmlParserErrors = 14 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_PROLOG : xmlParserErrors = 15 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_EPILOG : xmlParserErrors = 16 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_DTD : xmlParserErrors = 17 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_AT_EOF : xmlParserErrors = 18 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_PROLOG : xmlParserErrors = 19 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_EPILOG : xmlParserErrors = 20 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_INT_SUBSET : xmlParserErrors = 21 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_NO_NAME : xmlParserErrors = 22 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_SEMICOL_MISSING : xmlParserErrors = 23 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_NO_NAME : xmlParserErrors = 24 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_SEMICOL_MISSING : xmlParserErrors = 25 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNDECLARED_ENTITY : xmlParserErrors = 26 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_WAR_UNDECLARED_ENTITY : xmlParserErrors = 27 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNPARSED_ENTITY : xmlParserErrors = 28 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITY_IS_EXTERNAL : xmlParserErrors = 29 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITY_IS_PARAMETER : xmlParserErrors = 30 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNKNOWN_ENCODING : xmlParserErrors = 31 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_UNSUPPORTED_ENCODING : xmlParserErrors = 32 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STRING_NOT_STARTED : xmlParserErrors = 33 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STRING_NOT_CLOSED : xmlParserErrors = 34 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NS_DECL_ERROR : xmlParserErrors = 35 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_NOT_STARTED : xmlParserErrors = 36 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_NOT_FINISHED : xmlParserErrors = 37 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LT_IN_ATTRIBUTE : xmlParserErrors = 38 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_NOT_STARTED : xmlParserErrors = 39 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_NOT_FINISHED : xmlParserErrors = 40 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_WITHOUT_VALUE : xmlParserErrors = 41 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_REDEFINED : xmlParserErrors = 42 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LITERAL_NOT_STARTED : xmlParserErrors = 43 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LITERAL_NOT_FINISHED : xmlParserErrors = 44 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_COMMENT_NOT_FINISHED : xmlParserErrors = 45 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PI_NOT_STARTED : xmlParserErrors = 46 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PI_NOT_FINISHED : xmlParserErrors = 47 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_NOT_STARTED : xmlParserErrors = 48 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_NOT_FINISHED : xmlParserErrors = 49 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTLIST_NOT_STARTED : xmlParserErrors = 50 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTLIST_NOT_FINISHED : xmlParserErrors = 51 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MIXED_NOT_STARTED : xmlParserErrors = 52 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MIXED_NOT_FINISHED : xmlParserErrors = 53 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ELEMCONTENT_NOT_STARTED : xmlParserErrors = 54 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ELEMCONTENT_NOT_FINISHED : xmlParserErrors = 55 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_XMLDECL_NOT_STARTED : xmlParserErrors = 56 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_XMLDECL_NOT_FINISHED : xmlParserErrors = 57 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_NOT_STARTED : xmlParserErrors = 58 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_NOT_FINISHED : xmlParserErrors = 59 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXT_SUBSET_NOT_FINISHED : xmlParserErrors = 60 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_DOCTYPE_NOT_FINISHED : xmlParserErrors = 61 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MISPLACED_CDATA_END : xmlParserErrors = 62 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CDATA_NOT_FINISHED : xmlParserErrors = 63 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_RESERVED_XML_NAME : xmlParserErrors = 64 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_SPACE_REQUIRED : xmlParserErrors = 65 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_SEPARATOR_REQUIRED : xmlParserErrors = 66 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NMTOKEN_REQUIRED : xmlParserErrors = 67 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NAME_REQUIRED : xmlParserErrors = 68 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PCDATA_REQUIRED : xmlParserErrors = 69 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_URI_REQUIRED : xmlParserErrors = 70 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PUBID_REQUIRED : xmlParserErrors = 71 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LT_REQUIRED : xmlParserErrors = 72 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_GT_REQUIRED : xmlParserErrors = 73 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LTSLASH_REQUIRED : xmlParserErrors = 74 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EQUAL_REQUIRED : xmlParserErrors = 75 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_TAG_NAME_MISMATCH : xmlParserErrors = 76 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_TAG_NOT_FINISHED : xmlParserErrors = 77 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STANDALONE_VALUE : xmlParserErrors = 78 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENCODING_NAME : xmlParserErrors = 79 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_HYPHEN_IN_COMMENT : xmlParserErrors = 80 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_INVALID_ENCODING : xmlParserErrors = 81 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXT_ENTITY_STANDALONE : xmlParserErrors = 82 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_INVALID : xmlParserErrors = 83 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VALUE_REQUIRED : xmlParserErrors = 84 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOT_WELL_BALANCED : xmlParserErrors = 85 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXTRA_CONTENT : xmlParserErrors = 86 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_CHAR_ERROR : xmlParserErrors = 87 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_PE_INTERNAL : xmlParserErrors = 88 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_LOOP : xmlParserErrors = 89 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_BOUNDARY : xmlParserErrors = 90 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_INVALID_URI : xmlParserErrors = 91 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_URI_FRAGMENT : xmlParserErrors = 92 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_CATALOG_PI : xmlParserErrors = 93 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NO_DTD : xmlParserErrors = 94 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_INVALID_KEYWORD : xmlParserErrors = 95 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VERSION_MISSING : xmlParserErrors = 96 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_UNKNOWN_VERSION : xmlParserErrors = 97 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_LANG_VALUE : xmlParserErrors = 98 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_URI : xmlParserErrors = 99 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_URI_RELATIVE : xmlParserErrors = 100 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MISSING_ENCODING : xmlParserErrors = 101 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_SPACE_VALUE : xmlParserErrors = 102 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOT_STANDALONE : xmlParserErrors = 103 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_PROCESSING : xmlParserErrors = 104 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_PROCESSING : xmlParserErrors = 105 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_COLUMN : xmlParserErrors = 106 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_ENTITY_REDEFINED : xmlParserErrors = 107 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_UNKNOWN_VERSION : xmlParserErrors = 108 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VERSION_MISMATCH : xmlParserErrors = 109 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NAME_TOO_LONG : xmlParserErrors = 110 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_USER_STOP : xmlParserErrors = 111 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_COMMENT_ABRUPTLY_ENDED : xmlParserErrors = 112 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_ENCODING_MISMATCH : xmlParserErrors = 113 ; # [doc = " Internal resource limit like maximum amplification\n factor exceeded."] pub const xmlParserErrors_XML_ERR_RESOURCE_LIMIT : xmlParserErrors = 114 ; # [doc = " Invalid argument."] pub const xmlParserErrors_XML_ERR_ARGUMENT : xmlParserErrors = 115 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_SYSTEM : xmlParserErrors = 116 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_REDECL_PREDEF_ENTITY : xmlParserErrors = 117 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_INT_SUBSET_NOT_FINISHED : xmlParserErrors = 118 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_XML_NAMESPACE : xmlParserErrors = 200 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_UNDEFINED_NAMESPACE : xmlParserErrors = 201 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_QNAME : xmlParserErrors = 202 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_ATTRIBUTE_REDEFINED : xmlParserErrors = 203 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_EMPTY : xmlParserErrors = 204 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_COLON : xmlParserErrors = 205 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_DEFAULT : xmlParserErrors = 500 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_REDEFINED : xmlParserErrors = 501 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_VALUE : xmlParserErrors = 502 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_ERROR : xmlParserErrors = 503 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_MODEL : xmlParserErrors = 504 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_NOT_DETERMINIST : xmlParserErrors = 505 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_DIFFERENT_PREFIX : xmlParserErrors = 506 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_DEFAULT_NAMESPACE : xmlParserErrors = 507 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_NAMESPACE : xmlParserErrors = 508 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_REDEFINED : xmlParserErrors = 509 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_EMPTY_NOTATION : xmlParserErrors = 510 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ENTITY_TYPE : xmlParserErrors = 511 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_FIXED : xmlParserErrors = 512 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_REDEFINED : xmlParserErrors = 513 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_SUBSET : xmlParserErrors = 514 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_INVALID_CHILD : xmlParserErrors = 515 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_INVALID_DEFAULT : xmlParserErrors = 516 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_LOAD_ERROR : xmlParserErrors = 517 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MISSING_ATTRIBUTE : xmlParserErrors = 518 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MIXED_CORRUPT : xmlParserErrors = 519 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MULTIPLE_ID : xmlParserErrors = 520 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_DOC : xmlParserErrors = 521 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_DTD : xmlParserErrors = 522 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_ELEM_NAME : xmlParserErrors = 523 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_PREFIX : xmlParserErrors = 524 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_ROOT : xmlParserErrors = 525 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOTATION_REDEFINED : xmlParserErrors = 526 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOTATION_VALUE : xmlParserErrors = 527 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_EMPTY : xmlParserErrors = 528 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_PCDATA : xmlParserErrors = 529 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_STANDALONE : xmlParserErrors = 530 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ROOT_NAME : xmlParserErrors = 531 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_STANDALONE_WHITE_SPACE : xmlParserErrors = 532 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ATTRIBUTE : xmlParserErrors = 533 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ELEM : xmlParserErrors = 534 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ENTITY : xmlParserErrors = 535 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ID : xmlParserErrors = 536 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_NOTATION : xmlParserErrors = 537 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_STANDALONE_DEFAULTED : xmlParserErrors = 538 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_XMLID_VALUE : xmlParserErrors = 539 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_XMLID_TYPE : xmlParserErrors = 540 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_DUP_TOKEN : xmlParserErrors = 541 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_STRUCURE_ERROR : xmlParserErrors = 800 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_UNKNOWN_TAG : xmlParserErrors = 801 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_INCORRECTLY_OPENED_COMMENT : xmlParserErrors = 802 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ANYNAME_ATTR_ANCESTOR : xmlParserErrors = 1000 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTR_CONFLICT : xmlParserErrors = 1001 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_CHILDREN : xmlParserErrors = 1002 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_CONTENT : xmlParserErrors = 1003 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_EMPTY : xmlParserErrors = 1004 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_NOOP : xmlParserErrors = 1005 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CHOICE_CONTENT : xmlParserErrors = 1006 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CHOICE_EMPTY : xmlParserErrors = 1007 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CREATE_FAILURE : xmlParserErrors = 1008 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DATA_CONTENT : xmlParserErrors = 1009 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEF_CHOICE_AND_INTERLEAVE : xmlParserErrors = 1010 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_CREATE_FAILED : xmlParserErrors = 1011 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_EMPTY : xmlParserErrors = 1012 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_MISSING : xmlParserErrors = 1013 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_NAME_MISSING : xmlParserErrors = 1014 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_CONTENT_EMPTY : xmlParserErrors = 1015 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_CONTENT_ERROR : xmlParserErrors = 1016 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_EMPTY : xmlParserErrors = 1017 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_CONTENT : xmlParserErrors = 1018 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_NAME : xmlParserErrors = 1019 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_NO_CONTENT : xmlParserErrors = 1020 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_TEXT_CONFLICT : xmlParserErrors = 1021 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY : xmlParserErrors = 1022 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_CONSTRUCT : xmlParserErrors = 1023 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_CONTENT : xmlParserErrors = 1024 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_NOT_EMPTY : xmlParserErrors = 1025 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ERROR_TYPE_LIB : xmlParserErrors = 1026 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_EMPTY : xmlParserErrors = 1027 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_MISSING : xmlParserErrors = 1028 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_MULTIPLE : xmlParserErrors = 1029 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_NO_CONTENT : xmlParserErrors = 1030 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNALREF_EMTPY : xmlParserErrors = 1031 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNAL_REF_FAILURE : xmlParserErrors = 1032 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNALREF_RECURSE : xmlParserErrors = 1033 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_FORBIDDEN_ATTRIBUTE : xmlParserErrors = 1034 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_FOREIGN_ELEMENT : xmlParserErrors = 1035 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_CONTENT : xmlParserErrors = 1036 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_EMPTY : xmlParserErrors = 1037 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_MISSING : xmlParserErrors = 1038 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_NO_START : xmlParserErrors = 1039 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GROUP_ATTR_CONFLICT : xmlParserErrors = 1040 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_HREF_ERROR : xmlParserErrors = 1041 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_EMPTY : xmlParserErrors = 1042 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_FAILURE : xmlParserErrors = 1043 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_RECURSE : xmlParserErrors = 1044 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_ADD : xmlParserErrors = 1045 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_CREATE_FAILED : xmlParserErrors = 1046 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_EMPTY : xmlParserErrors = 1047 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_NO_CONTENT : xmlParserErrors = 1048 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_DEFINE_NAME : xmlParserErrors = 1049 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_URI : xmlParserErrors = 1050 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_VALUE : xmlParserErrors = 1051 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_MISSING_HREF : xmlParserErrors = 1052 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NAME_MISSING : xmlParserErrors = 1053 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NEED_COMBINE : xmlParserErrors = 1054 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NOTALLOWED_NOT_EMPTY : xmlParserErrors = 1055 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NSNAME_ATTR_ANCESTOR : xmlParserErrors = 1056 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NSNAME_NO_NS : xmlParserErrors = 1057 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARAM_FORBIDDEN : xmlParserErrors = 1058 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARAM_NAME_MISSING : xmlParserErrors = 1059 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_CREATE_FAILED : xmlParserErrors = 1060 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NAME_INVALID : xmlParserErrors = 1061 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NO_NAME : xmlParserErrors = 1062 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NO_PARENT : xmlParserErrors = 1063 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NOT_EMPTY : xmlParserErrors = 1064 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARSE_ERROR : xmlParserErrors = 1065 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ANYNAME_EXCEPT_ANYNAME : xmlParserErrors = 1066 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ATTR_ATTR : xmlParserErrors = 1067 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ATTR_ELEM : xmlParserErrors = 1068 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ATTR : xmlParserErrors = 1069 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ELEM : xmlParserErrors = 1070 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_EMPTY : xmlParserErrors = 1071 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_GROUP : xmlParserErrors = 1072 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_INTERLEAVE : xmlParserErrors = 1073 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_LIST : xmlParserErrors = 1074 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ONEMORE : xmlParserErrors = 1075 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_REF : xmlParserErrors = 1076 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_TEXT : xmlParserErrors = 1077 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_ATTR : xmlParserErrors = 1078 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_ELEM : xmlParserErrors = 1079 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_INTERLEAVE : xmlParserErrors = 1080 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_LIST : xmlParserErrors = 1081 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_REF : xmlParserErrors = 1082 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_TEXT : xmlParserErrors = 1083 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_NSNAME_EXCEPT_ANYNAME : xmlParserErrors = 1084 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_NSNAME_EXCEPT_NSNAME : xmlParserErrors = 1085 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ONEMORE_GROUP_ATTR : xmlParserErrors = 1086 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ONEMORE_INTERLEAVE_ATTR : xmlParserErrors = 1087 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_ATTR : xmlParserErrors = 1088 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_DATA : xmlParserErrors = 1089 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_EMPTY : xmlParserErrors = 1090 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_GROUP : xmlParserErrors = 1091 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_INTERLEAVE : xmlParserErrors = 1092 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_LIST : xmlParserErrors = 1093 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_ONEMORE : xmlParserErrors = 1094 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_TEXT : xmlParserErrors = 1095 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_VALUE : xmlParserErrors = 1096 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PREFIX_UNDEFINED : xmlParserErrors = 1097 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_CREATE_FAILED : xmlParserErrors = 1098 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_CYCLE : xmlParserErrors = 1099 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NAME_INVALID : xmlParserErrors = 1100 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NO_DEF : xmlParserErrors = 1101 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NO_NAME : xmlParserErrors = 1102 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NOT_EMPTY : xmlParserErrors = 1103 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_CHOICE_AND_INTERLEAVE : xmlParserErrors = 1104 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_CONTENT : xmlParserErrors = 1105 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_EMPTY : xmlParserErrors = 1106 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_MISSING : xmlParserErrors = 1107 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TEXT_EXPECTED : xmlParserErrors = 1108 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TEXT_HAS_CHILD : xmlParserErrors = 1109 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_MISSING : xmlParserErrors = 1110 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_NOT_FOUND : xmlParserErrors = 1111 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_VALUE : xmlParserErrors = 1112 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_ATTRIBUTE : xmlParserErrors = 1113 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_COMBINE : xmlParserErrors = 1114 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_CONSTRUCT : xmlParserErrors = 1115 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_TYPE_LIB : xmlParserErrors = 1116 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_URI_FRAGMENT : xmlParserErrors = 1117 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_URI_NOT_ABSOLUTE : xmlParserErrors = 1118 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_VALUE_EMPTY : xmlParserErrors = 1119 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_VALUE_NO_CONTENT : xmlParserErrors = 1120 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_XMLNS_NAME : xmlParserErrors = 1121 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_XML_NS : xmlParserErrors = 1122 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_EXPRESSION_OK : xmlParserErrors = 1200 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_NUMBER_ERROR : xmlParserErrors = 1201 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNFINISHED_LITERAL_ERROR : xmlParserErrors = 1202 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_START_LITERAL_ERROR : xmlParserErrors = 1203 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_VARIABLE_REF_ERROR : xmlParserErrors = 1204 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNDEF_VARIABLE_ERROR : xmlParserErrors = 1205 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_PREDICATE_ERROR : xmlParserErrors = 1206 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_EXPR_ERROR : xmlParserErrors = 1207 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNCLOSED_ERROR : xmlParserErrors = 1208 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNKNOWN_FUNC_ERROR : xmlParserErrors = 1209 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_OPERAND : xmlParserErrors = 1210 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_TYPE : xmlParserErrors = 1211 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_ARITY : xmlParserErrors = 1212 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CTXT_SIZE : xmlParserErrors = 1213 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CTXT_POSITION : xmlParserErrors = 1214 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_MEMORY_ERROR : xmlParserErrors = 1215 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_SYNTAX_ERROR : xmlParserErrors = 1216 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_RESOURCE_ERROR : xmlParserErrors = 1217 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_SUB_RESOURCE_ERROR : xmlParserErrors = 1218 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNDEF_PREFIX_ERROR : xmlParserErrors = 1219 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_ENCODING_ERROR : xmlParserErrors = 1220 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CHAR_ERROR : xmlParserErrors = 1221 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_INVALID_HEX : xmlParserErrors = 1300 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_INVALID_DEC : xmlParserErrors = 1301 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_UNTERMINATED_ENTITY : xmlParserErrors = 1302 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_NOT_UTF8 : xmlParserErrors = 1303 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_NOT_UTF8 : xmlParserErrors = 1400 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_CHAR_INVALID : xmlParserErrors = 1401 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_NO_DOCTYPE : xmlParserErrors = 1402 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_UNKNOWN_ENCODING : xmlParserErrors = 1403 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_REGEXP_COMPILE_ERROR : xmlParserErrors = 1450 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_UNKNOWN : xmlParserErrors = 1500 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EACCES : xmlParserErrors = 1501 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EAGAIN : xmlParserErrors = 1502 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBADF : xmlParserErrors = 1503 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBADMSG : xmlParserErrors = 1504 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBUSY : xmlParserErrors = 1505 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ECANCELED : xmlParserErrors = 1506 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ECHILD : xmlParserErrors = 1507 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EDEADLK : xmlParserErrors = 1508 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EDOM : xmlParserErrors = 1509 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EEXIST : xmlParserErrors = 1510 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EFAULT : xmlParserErrors = 1511 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EFBIG : xmlParserErrors = 1512 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINPROGRESS : xmlParserErrors = 1513 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINTR : xmlParserErrors = 1514 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINVAL : xmlParserErrors = 1515 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EIO : xmlParserErrors = 1516 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EISDIR : xmlParserErrors = 1517 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMFILE : xmlParserErrors = 1518 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMLINK : xmlParserErrors = 1519 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMSGSIZE : xmlParserErrors = 1520 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENAMETOOLONG : xmlParserErrors = 1521 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENFILE : xmlParserErrors = 1522 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENODEV : xmlParserErrors = 1523 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOENT : xmlParserErrors = 1524 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOEXEC : xmlParserErrors = 1525 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOLCK : xmlParserErrors = 1526 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOMEM : xmlParserErrors = 1527 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOSPC : xmlParserErrors = 1528 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOSYS : xmlParserErrors = 1529 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTDIR : xmlParserErrors = 1530 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTEMPTY : xmlParserErrors = 1531 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTSUP : xmlParserErrors = 1532 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTTY : xmlParserErrors = 1533 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENXIO : xmlParserErrors = 1534 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EPERM : xmlParserErrors = 1535 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EPIPE : xmlParserErrors = 1536 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ERANGE : xmlParserErrors = 1537 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EROFS : xmlParserErrors = 1538 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ESPIPE : xmlParserErrors = 1539 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ESRCH : xmlParserErrors = 1540 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ETIMEDOUT : xmlParserErrors = 1541 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EXDEV : xmlParserErrors = 1542 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_NETWORK_ATTEMPT : xmlParserErrors = 1543 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENCODER : xmlParserErrors = 1544 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_FLUSH : xmlParserErrors = 1545 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_WRITE : xmlParserErrors = 1546 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_NO_INPUT : xmlParserErrors = 1547 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_BUFFER_FULL : xmlParserErrors = 1548 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_LOAD_ERROR : xmlParserErrors = 1549 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTSOCK : xmlParserErrors = 1550 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EISCONN : xmlParserErrors = 1551 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ECONNREFUSED : xmlParserErrors = 1552 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENETUNREACH : xmlParserErrors = 1553 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EADDRINUSE : xmlParserErrors = 1554 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EALREADY : xmlParserErrors = 1555 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EAFNOSUPPORT : xmlParserErrors = 1556 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_UNSUPPORTED_PROTOCOL : xmlParserErrors = 1557 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_RECURSION : xmlParserErrors = 1600 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_PARSE_VALUE : xmlParserErrors = 1601 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_ENTITY_DEF_MISMATCH : xmlParserErrors = 1602 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_NO_HREF : xmlParserErrors = 1603 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_NO_FALLBACK : xmlParserErrors = 1604 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_HREF_URI : xmlParserErrors = 1605 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_TEXT_FRAGMENT : xmlParserErrors = 1606 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_TEXT_DOCUMENT : xmlParserErrors = 1607 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_INVALID_CHAR : xmlParserErrors = 1608 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_BUILD_FAILED : xmlParserErrors = 1609 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_UNKNOWN_ENCODING : xmlParserErrors = 1610 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_MULTIPLE_ROOT : xmlParserErrors = 1611 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_XPTR_FAILED : xmlParserErrors = 1612 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_XPTR_RESULT : xmlParserErrors = 1613 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_INCLUDE_IN_INCLUDE : xmlParserErrors = 1614 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FALLBACKS_IN_INCLUDE : xmlParserErrors = 1615 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FALLBACK_NOT_IN_INCLUDE : xmlParserErrors = 1616 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_DEPRECATED_NS : xmlParserErrors = 1617 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FRAGMENT_ID : xmlParserErrors = 1618 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_MISSING_ATTR : xmlParserErrors = 1650 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_ENTRY_BROKEN : xmlParserErrors = 1651 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_PREFER_VALUE : xmlParserErrors = 1652 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_NOT_CATALOG : xmlParserErrors = 1653 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_RECURSION : xmlParserErrors = 1654 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_PREFIX_UNDEFINED : xmlParserErrors = 1700 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTRFORMDEFAULT_VALUE : xmlParserErrors = 1701 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTRGRP_NONAME_NOREF : xmlParserErrors = 1702 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTR_NONAME_NOREF : xmlParserErrors = 1703 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COMPLEXTYPE_NONAME_NOREF : xmlParserErrors = 1704 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEMFORMDEFAULT_VALUE : xmlParserErrors = 1705 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEM_NONAME_NOREF : xmlParserErrors = 1706 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_EXTENSION_NO_BASE : xmlParserErrors = 1707 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FACET_NO_VALUE : xmlParserErrors = 1708 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_BUILD_IMPORT : xmlParserErrors = 1709 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_GROUP_NONAME_NOREF : xmlParserErrors = 1710 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_NAMESPACE_NOT_URI : xmlParserErrors = 1711 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_REDEFINE_NSNAME : xmlParserErrors = 1712 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_SCHEMA_NOT_URI : xmlParserErrors = 1713 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_BOOLEAN : xmlParserErrors = 1714 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ENUM : xmlParserErrors = 1715 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_FACET : xmlParserErrors = 1716 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_FACET_VALUE : xmlParserErrors = 1717 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_MAXOCCURS : xmlParserErrors = 1718 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_MINOCCURS : xmlParserErrors = 1719 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_REF_AND_SUBTYPE : xmlParserErrors = 1720 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_WHITE_SPACE : xmlParserErrors = 1721 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOATTR_NOREF : xmlParserErrors = 1722 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTATION_NO_NAME : xmlParserErrors = 1723 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTYPE_NOREF : xmlParserErrors = 1724 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REF_AND_SUBTYPE : xmlParserErrors = 1725 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_RESTRICTION_NONAME_NOREF : xmlParserErrors = 1726 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SIMPLETYPE_NONAME : xmlParserErrors = 1727 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_TYPE_AND_SUBTYPE : xmlParserErrors = 1728 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ALL_CHILD : xmlParserErrors = 1729 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ANYATTRIBUTE_CHILD : xmlParserErrors = 1730 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTR_CHILD : xmlParserErrors = 1731 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTRGRP_CHILD : xmlParserErrors = 1732 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTRIBUTE_GROUP : xmlParserErrors = 1733 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_BASE_TYPE : xmlParserErrors = 1734 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_CHOICE_CHILD : xmlParserErrors = 1735 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_COMPLEXCONTENT_CHILD : xmlParserErrors = 1736 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_COMPLEXTYPE_CHILD : xmlParserErrors = 1737 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ELEM_CHILD : xmlParserErrors = 1738 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_EXTENSION_CHILD : xmlParserErrors = 1739 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_FACET_CHILD : xmlParserErrors = 1740 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_FACET_TYPE : xmlParserErrors = 1741 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_GROUP_CHILD : xmlParserErrors = 1742 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_IMPORT_CHILD : xmlParserErrors = 1743 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_LIST_CHILD : xmlParserErrors = 1744 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_NOTATION_CHILD : xmlParserErrors = 1745 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_PROCESSCONTENT_CHILD : xmlParserErrors = 1746 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_REF : xmlParserErrors = 1747 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_RESTRICTION_CHILD : xmlParserErrors = 1748 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SCHEMAS_CHILD : xmlParserErrors = 1749 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SEQUENCE_CHILD : xmlParserErrors = 1750 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SIMPLECONTENT_CHILD : xmlParserErrors = 1751 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SIMPLETYPE_CHILD : xmlParserErrors = 1752 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_TYPE : xmlParserErrors = 1753 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_UNION_CHILD : xmlParserErrors = 1754 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEM_DEFAULT_FIXED : xmlParserErrors = 1755 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REGEXP_INVALID : xmlParserErrors = 1756 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_LOAD : xmlParserErrors = 1757 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTHING_TO_PARSE : xmlParserErrors = 1758 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOROOT : xmlParserErrors = 1759 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_GROUP : xmlParserErrors = 1760 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_TYPE : xmlParserErrors = 1761 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ELEMENT : xmlParserErrors = 1762 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ATTRGROUP : xmlParserErrors = 1763 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ATTR : xmlParserErrors = 1764 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_NOTATION : xmlParserErrors = 1765 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_PARSE : xmlParserErrors = 1766 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_PREFIX : xmlParserErrors = 1767 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DEF_AND_PREFIX : xmlParserErrors = 1768 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_INCLUDE_CHILD : xmlParserErrors = 1769 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INCLUDE_SCHEMA_NOT_URI : xmlParserErrors = 1770 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INCLUDE_SCHEMA_NO_URI : xmlParserErrors = 1771 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOT_SCHEMA : xmlParserErrors = 1772 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_MEMBER_TYPE : xmlParserErrors = 1773 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_USE : xmlParserErrors = 1774 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_RECURSIVE : xmlParserErrors = 1775 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPE : xmlParserErrors = 1776 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_COMBINATION : xmlParserErrors = 1777 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_INLINE_COMBINATION : xmlParserErrors = 1778 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MISSING_SIMPLETYPE_CHILD : xmlParserErrors = 1779 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_NAME : xmlParserErrors = 1780 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REF_AND_CONTENT : xmlParserErrors = 1781 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_1 : xmlParserErrors = 1782 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_2 : xmlParserErrors = 1783 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_3 : xmlParserErrors = 1784 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_4 : xmlParserErrors = 1785 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_5 : xmlParserErrors = 1786 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_1 : xmlParserErrors = 1787 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_1 : xmlParserErrors = 1788 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_2 : xmlParserErrors = 1789 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_2 : xmlParserErrors = 1790 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_3 : xmlParserErrors = 1791 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WILDCARD_INVALID_NS_MEMBER : xmlParserErrors = 1792 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INTERSECTION_NOT_EXPRESSIBLE : xmlParserErrors = 1793 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNION_NOT_EXPRESSIBLE : xmlParserErrors = 1794 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_3_1 : xmlParserErrors = 1795 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_3_2 : xmlParserErrors = 1796 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_1 : xmlParserErrors = 1797 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_2 : xmlParserErrors = 1798 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_3 : xmlParserErrors = 1799 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_3 : xmlParserErrors = 1800 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOROOT : xmlParserErrors = 1801 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_UNDECLAREDELEM : xmlParserErrors = 1802 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTTOPLEVEL : xmlParserErrors = 1803 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_MISSING : xmlParserErrors = 1804 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_WRONGELEM : xmlParserErrors = 1805 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTYPE : xmlParserErrors = 1806 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOROLLBACK : xmlParserErrors = 1807 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ISABSTRACT : xmlParserErrors = 1808 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTEMPTY : xmlParserErrors = 1809 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ELEMCONT : xmlParserErrors = 1810 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_HAVEDEFAULT : xmlParserErrors = 1811 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTNILLABLE : xmlParserErrors = 1812 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_EXTRACONTENT : xmlParserErrors = 1813 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INVALIDATTR : xmlParserErrors = 1814 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INVALIDELEM : xmlParserErrors = 1815 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTDETERMINIST : xmlParserErrors = 1816 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CONSTRUCT : xmlParserErrors = 1817 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INTERNAL : xmlParserErrors = 1818 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTSIMPLE : xmlParserErrors = 1819 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ATTRUNKNOWN : xmlParserErrors = 1820 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ATTRINVALID : xmlParserErrors = 1821 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_VALUE : xmlParserErrors = 1822 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_FACET : xmlParserErrors = 1823 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_1 : xmlParserErrors = 1824 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_2 : xmlParserErrors = 1825 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_3 : xmlParserErrors = 1826 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_3_1_1 : xmlParserErrors = 1827 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_3_1_2 : xmlParserErrors = 1828 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_FACET_VALID : xmlParserErrors = 1829 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_LENGTH_VALID : xmlParserErrors = 1830 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MINLENGTH_VALID : xmlParserErrors = 1831 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXLENGTH_VALID : xmlParserErrors = 1832 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MININCLUSIVE_VALID : xmlParserErrors = 1833 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXINCLUSIVE_VALID : xmlParserErrors = 1834 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MINEXCLUSIVE_VALID : xmlParserErrors = 1835 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXEXCLUSIVE_VALID : xmlParserErrors = 1836 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TOTALDIGITS_VALID : xmlParserErrors = 1837 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_FRACTIONDIGITS_VALID : xmlParserErrors = 1838 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_PATTERN_VALID : xmlParserErrors = 1839 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ENUMERATION_VALID : xmlParserErrors = 1840 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_1 : xmlParserErrors = 1841 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_2 : xmlParserErrors = 1842 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_3 : xmlParserErrors = 1843 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_4 : xmlParserErrors = 1844 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_1 : xmlParserErrors = 1845 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_2 : xmlParserErrors = 1846 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_1 : xmlParserErrors = 1847 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_2_1 : xmlParserErrors = 1848 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_2_2 : xmlParserErrors = 1849 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_1 : xmlParserErrors = 1850 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_2 : xmlParserErrors = 1851 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_3 : xmlParserErrors = 1852 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_1_1 : xmlParserErrors = 1853 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_1_2 : xmlParserErrors = 1854 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_1 : xmlParserErrors = 1855 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_1 : xmlParserErrors = 1856 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_2_1 : xmlParserErrors = 1857 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_2_2 : xmlParserErrors = 1858 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_6 : xmlParserErrors = 1859 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_7 : xmlParserErrors = 1860 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_1 : xmlParserErrors = 1861 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_2 : xmlParserErrors = 1862 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_3 : xmlParserErrors = 1863 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_4 : xmlParserErrors = 1864 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_1 : xmlParserErrors = 1865 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_1 : xmlParserErrors = 1866 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_2 : xmlParserErrors = 1867 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_4 : xmlParserErrors = 1868 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_5_1 : xmlParserErrors = 1869 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_5_2 : xmlParserErrors = 1870 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ELEMENT_CONTENT : xmlParserErrors = 1871 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_DOCUMENT_ELEMENT_MISSING : xmlParserErrors = 1872 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_1 : xmlParserErrors = 1873 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_AU : xmlParserErrors = 1874 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_1 : xmlParserErrors = 1875 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_2 : xmlParserErrors = 1876 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_IDC : xmlParserErrors = 1877 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_WILDCARD : xmlParserErrors = 1878 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_MISC : xmlParserErrors = 1879 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_UNKNOWN_SCHEME : xmlParserErrors = 1900 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_CHILDSEQ_START : xmlParserErrors = 1901 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_EVAL_FAILED : xmlParserErrors = 1902 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_EXTRA_OBJECTS : xmlParserErrors = 1903 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_CREATE_CTXT : xmlParserErrors = 1950 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_REQUIRES_UTF8 : xmlParserErrors = 1951 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_CREATE_STACK : xmlParserErrors = 1952 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_INVALID_NODE : xmlParserErrors = 1953 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_UNKNOW_NODE : xmlParserErrors = 1954 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_RELATIVE_NAMESPACE : xmlParserErrors = 1955 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_PASV_ANSWER : xmlParserErrors = 2000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_EPSV_ANSWER : xmlParserErrors = 2001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_ACCNT : xmlParserErrors = 2002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_URL_SYNTAX : xmlParserErrors = 2003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_URL_SYNTAX : xmlParserErrors = 2020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_USE_IP : xmlParserErrors = 2021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_UNKNOWN_HOST : xmlParserErrors = 2022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_1 : xmlParserErrors = 3000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_2 : xmlParserErrors = 3001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_3 : xmlParserErrors = 3002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_4 : xmlParserErrors = 3003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_RESOLVE : xmlParserErrors = 3004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE : xmlParserErrors = 3005 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE : xmlParserErrors = 3006 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPES : xmlParserErrors = 3007 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_1 : xmlParserErrors = 3008 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_2 : xmlParserErrors = 3009 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_3 : xmlParserErrors = 3010 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_1 : xmlParserErrors = 3011 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_2 : xmlParserErrors = 3012 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_3_1 : xmlParserErrors = 3013 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_3_2 : xmlParserErrors = 3014 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_1 : xmlParserErrors = 3015 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_1 : xmlParserErrors = 3016 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_2 : xmlParserErrors = 3017 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_1 : xmlParserErrors = 3018 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_2 : xmlParserErrors = 3019 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_3 : xmlParserErrors = 3020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_4 : xmlParserErrors = 3021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_5 : xmlParserErrors = 3022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_1 : xmlParserErrors = 3023 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1 : xmlParserErrors = 3024 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1_2 : xmlParserErrors = 3025 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_2 : xmlParserErrors = 3026 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_1 : xmlParserErrors = 3027 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_3 : xmlParserErrors = 3028 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_4 : xmlParserErrors = 3029 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_5 : xmlParserErrors = 3030 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_DERIVED_OK_2_1 : xmlParserErrors = 3031 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_DERIVED_OK_2_2 : xmlParserErrors = 3032 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ELEM_NOT_ALLOWED : xmlParserErrors = 3033 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ELEM_MISSING : xmlParserErrors = 3034 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_NOT_ALLOWED : xmlParserErrors = 3035 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_MISSING : xmlParserErrors = 3036 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_INVALID_VALUE : xmlParserErrors = 3037 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_1 : xmlParserErrors = 3038 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_2_1 : xmlParserErrors = 3039 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_2_2 : xmlParserErrors = 3040 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_3 : xmlParserErrors = 3041 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_1 : xmlParserErrors = 3042 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_2_1 : xmlParserErrors = 3043 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_2_2 : xmlParserErrors = 3044 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_2 : xmlParserErrors = 3045 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_3 : xmlParserErrors = 3046 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_4 : xmlParserErrors = 3047 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_5 : xmlParserErrors = 3048 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_6 : xmlParserErrors = 3049 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_INCLUDE : xmlParserErrors = 3050 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_1 : xmlParserErrors = 3051 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_2 : xmlParserErrors = 3052 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_3_1 : xmlParserErrors = 3053 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_3_2 : xmlParserErrors = 3054 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_4 : xmlParserErrors = 3055 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NO_XMLNS : xmlParserErrors = 3056 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NO_XSI : xmlParserErrors = 3057 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_1 : xmlParserErrors = 3058 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_1 : xmlParserErrors = 3059 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_2_1 : xmlParserErrors = 3060 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_2_2 : xmlParserErrors = 3061 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CVC_SIMPLE_TYPE : xmlParserErrors = 3062 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_1 : xmlParserErrors = 3063 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_1_1 : xmlParserErrors = 3064 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_1_2 : xmlParserErrors = 3065 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2 : xmlParserErrors = 3066 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2_1 : xmlParserErrors = 3067 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2_2 : xmlParserErrors = 3068 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INTERNAL : xmlParserErrors = 3069 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOT_DETERMINISTIC : xmlParserErrors = 3070 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_1 : xmlParserErrors = 3071 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_2 : xmlParserErrors = 3072 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_3 : xmlParserErrors = 3073 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MG_PROPS_CORRECT_1 : xmlParserErrors = 3074 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MG_PROPS_CORRECT_2 : xmlParserErrors = 3075 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_CT_1 : xmlParserErrors = 3076 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_3 : xmlParserErrors = 3077 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AU_PROPS_CORRECT_2 : xmlParserErrors = 3078 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_A_PROPS_CORRECT_2 : xmlParserErrors = 3079 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_C_PROPS_CORRECT : xmlParserErrors = 3080 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_REDEFINE : xmlParserErrors = 3081 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT : xmlParserErrors = 3082 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_SKIP_SCHEMA : xmlParserErrors = 3083 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_UNLOCATED_SCHEMA : xmlParserErrors = 3084 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_ATTR_REDECL_PROH : xmlParserErrors = 3085 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_ATTR_POINTLESS_PROH : xmlParserErrors = 3086 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AG_PROPS_CORRECT : xmlParserErrors = 3087 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_2 : xmlParserErrors = 3088 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AU_PROPS_CORRECT : xmlParserErrors = 3089 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_A_PROPS_CORRECT_3 : xmlParserErrors = 3090 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ALL_LIMITED : xmlParserErrors = 3091 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMATRONV_ASSERT : xmlParserErrors = 4000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMATRONV_REPORT : xmlParserErrors = 4001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_MODULE_OPEN : xmlParserErrors = 4900 ; # [doc = " File not found."] pub const xmlParserErrors_XML_MODULE_CLOSE : xmlParserErrors = 4901 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ELEMENT : xmlParserErrors = 5000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ATTRIBUTE : xmlParserErrors = 5001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_TEXT : xmlParserErrors = 5002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_CDATA : xmlParserErrors = 5003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ENTITYREF : xmlParserErrors = 5004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ENTITY : xmlParserErrors = 5005 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_PI : xmlParserErrors = 5006 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_COMMENT : xmlParserErrors = 5007 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_DOCTYPE : xmlParserErrors = 5008 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_FRAGMENT : xmlParserErrors = 5009 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_NOTATION : xmlParserErrors = 5010 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_UNKNOWN_NODE : xmlParserErrors = 5011 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_ENTITY_TYPE : xmlParserErrors = 5012 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_PARENT : xmlParserErrors = 5013 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_DOC : xmlParserErrors = 5014 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_NAME : xmlParserErrors = 5015 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_ELEM : xmlParserErrors = 5016 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_DOC : xmlParserErrors = 5017 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_PREV : xmlParserErrors = 5018 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_PREV : xmlParserErrors = 5019 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_NEXT : xmlParserErrors = 5020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_NEXT : xmlParserErrors = 5021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_DTD : xmlParserErrors = 5022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ATTR : xmlParserErrors = 5023 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ATTR_DECL : xmlParserErrors = 5024 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ELEM_DECL : xmlParserErrors = 5025 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ENTITY_DECL : xmlParserErrors = 5026 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_NS_DECL : xmlParserErrors = 5027 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_HREF : xmlParserErrors = 5028 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_PARENT : xmlParserErrors = 5029 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NS_SCOPE : xmlParserErrors = 5030 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NS_ANCESTOR : xmlParserErrors = 5031 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_UTF8 : xmlParserErrors = 5032 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_DICT : xmlParserErrors = 5033 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_NCNAME : xmlParserErrors = 5034 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_OUTSIDE_DICT : xmlParserErrors = 5035 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_NAME : xmlParserErrors = 5036 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NAME_NOT_NULL : xmlParserErrors = 5037 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_NAME : xmlParserErrors = 6000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_HANDLER : xmlParserErrors = 6001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_EXCESS_HANDLER : xmlParserErrors = 6002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_CONV_FAILED : xmlParserErrors = 6003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_OUTPUT : xmlParserErrors = 6004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_BUF_OVERFLOW : xmlParserErrors = 7000 ; # [doc = " Error codes. Note that only some codes are documented."] pub type xmlParserErrors = :: std :: os :: raw :: c_uint ; # [doc = " Generic error callback.\n\n @deprecated in favor of structured errors.\n @param ctx  user data\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlGenericErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Structured error callback receiving an xmlError.\n\n @param userData  user provided data for the error callback\n @param error  the error being raised"] pub type xmlStructuredErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (userData : * mut :: std :: os :: raw :: c_void , error : * const xmlError) > ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlLastError () -> * const xmlError ; } unsafe extern "C" { pub fn __xmlGenericError () -> * mut xmlGenericErrorFunc ; } unsafe extern "C" { pub fn __xmlGenericErrorContext () -> * mut * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn __xmlStructuredError () -> * mut xmlStructuredErrorFunc ; } unsafe extern "C" { pub fn __xmlStructuredErrorContext () -> * mut * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlSetGenericErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlGenericErrorFunc) ; } unsafe extern "C" { pub fn xmlSetStructuredErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlStructuredErrorFunc) ; } unsafe extern "C" { pub fn xmlThrDefSetGenericErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlGenericErrorFunc) ; } unsafe extern "C" { pub fn xmlThrDefSetStructuredErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlStructuredErrorFunc) ; } unsafe extern "C" { pub fn xmlParserError (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserWarning (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserValidityError (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserValidityWarning (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserPrintFileInfo (input : * mut _xmlParserInput) ; } unsafe extern "C" { pub fn xmlParserPrintFileContext (input : * mut _xmlParserInput) ; } unsafe extern "C" { pub fn xmlFormatError (err : * const xmlError , channel : xmlGenericErrorFunc , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlGetLastError () -> * const xmlError ; } unsafe extern "C" { pub fn xmlResetLastError () ; } unsafe extern "C" { pub fn xmlCtxtGetLastError (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlError ; } unsafe extern "C" { pub fn xmlCtxtResetLastError (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlResetError (err : * mut xmlError) ; } unsafe extern "C" { pub fn xmlCopyError (from : * const xmlError , to : * mut xmlError) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlLink { _unused : [u8 ; 0] , } # [doc = " Linked list item\n\n @deprecated Don't use in new code."] pub type xmlLink = _xmlLink ; pub type xmlLinkPtr = * mut xmlLink ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlList { _unused : [u8 ; 0] , } # [doc = " Linked list\n\n @deprecated Don't use in new code."] pub type xmlList = _xmlList ; pub type xmlListPtr = * mut xmlList ; # [doc = " Callback function used to free data from a list.\n\n @param lk  the data to deallocate"] pub type xmlListDeallocator = :: std :: option :: Option < unsafe extern "C" fn (lk : * mut xmlLink) > ; # [doc = " Callback function used to compare 2 data.\n\n @param data0  the first data\n @param data1  the second data\n @returns 0 is equality, -1 or 1 otherwise depending on the ordering."] pub type xmlListDataCompare = :: std :: option :: Option < unsafe extern "C" fn (data0 : * const :: std :: os :: raw :: c_void , data1 : * const :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback function used when walking a list with #xmlListWalk.\n\n @param data  the data found in the list\n @param user  extra user provided data to the walker\n @returns 0 to stop walking the list, 1 otherwise."] pub type xmlListWalker = :: std :: option :: Option < unsafe extern "C" fn (data : * const :: std :: os :: raw :: c_void , user : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; unsafe extern "C" { pub fn xmlListCreate (deallocator : xmlListDeallocator , compare : xmlListDataCompare) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlListDelete (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListSearch (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlListReverseSearch (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlListInsert (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListAppend (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveFirst (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveLast (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveAll (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListClear (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListEmpty (l : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListFront (l : * mut xmlList) -> * mut xmlLink ; } unsafe extern "C" { pub fn xmlListEnd (l : * mut xmlList) -> * mut xmlLink ; } unsafe extern "C" { pub fn xmlListSize (l : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListPopFront (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListPopBack (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListPushFront (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListPushBack (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListReverse (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListSort (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListWalk (l : * mut xmlList , walker : xmlListWalker , user : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlListReverseWalk (l : * mut xmlList , walker : xmlListWalker , user : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlListMerge (l1 : * mut xmlList , l2 : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListDup (old : * mut xmlList) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlListCopy (cur : * mut xmlList , old : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlLinkGetData (lk : * mut xmlLink) -> * mut :: std :: os :: raw :: c_void ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAutomata { _unused : [u8 ; 0] , } # [doc = " A libxml automata description\n\n It can be compiled into a regexp"] pub type xmlAutomata = _xmlAutomata ; pub type xmlAutomataPtr = * mut xmlAutomata ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAutomataState { _unused : [u8 ; 0] , } # [doc = " A state in the automata description"] pub type xmlAutomataState = _xmlAutomataState ; pub type xmlAutomataStatePtr = * mut xmlAutomataState ; unsafe extern "C" { pub fn xmlNewAutomata () -> * mut xmlAutomata ; } unsafe extern "C" { pub fn xmlFreeAutomata (am : * mut xmlAutomata) ; } unsafe extern "C" { pub fn xmlAutomataGetInitState (am : * mut xmlAutomata) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataSetFinalState (am : * mut xmlAutomata , state : * mut xmlAutomataState) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAutomataNewState (am : * mut xmlAutomata) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewTransition (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewTransition2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewNegTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountTrans2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewOnceTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewOnceTrans2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewAllTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , lax : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewEpsilon (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountedTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , counter : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCounterTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , counter : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCounter (am : * mut xmlAutomata , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAutomataCompile (am : * mut xmlAutomata) -> * mut _xmlRegexp ; } unsafe extern "C" { pub fn xmlAutomataIsDeterminist (am : * mut xmlAutomata) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlValidState { _unused : [u8 ; 0] , } pub type xmlValidState = _xmlValidState ; pub type xmlValidStatePtr = * mut xmlValidState ; # [doc = " Report a validity error.\n\n @param ctx  user data (usually an xmlValidCtxt)\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlValidityErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Report a validity warning.\n\n @param ctx  user data (usually an xmlValidCtxt)\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlValidityWarningFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " An xmlValidCtxt is used for error reporting when validating."] pub type xmlValidCtxt = _xmlValidCtxt ; pub type xmlValidCtxtPtr = * mut xmlValidCtxt ; # [doc = " An xmlValidCtxt is used for error reporting when validating."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlValidCtxt { pub userData : * mut :: std :: os :: raw :: c_void , pub error : xmlValidityErrorFunc , pub warning : xmlValidityWarningFunc , pub node : * mut xmlNode , pub nodeNr : :: std :: os :: raw :: c_int , pub nodeMax : :: std :: os :: raw :: c_int , pub nodeTab : * mut * mut xmlNode , pub flags : :: std :: os :: raw :: c_uint , pub doc : * mut xmlDoc , pub valid : :: std :: os :: raw :: c_int , pub vstate : * mut xmlValidState , pub vstateNr : :: std :: os :: raw :: c_int , pub vstateMax : :: std :: os :: raw :: c_int , pub vstateTab : * mut xmlValidState , pub am : * mut xmlAutomata , pub state : * mut xmlAutomataState , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlValidCtxt"] [:: std :: mem :: size_of :: < _xmlValidCtxt > () - 112usize] ; ["Alignment of _xmlValidCtxt"] [:: std :: mem :: align_of :: < _xmlValidCtxt > () - 8usize] ; ["Offset of field: _xmlValidCtxt::userData"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , userData) - 0usize] ; ["Offset of field: _xmlValidCtxt::error"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , error) - 8usize] ; ["Offset of field: _xmlValidCtxt::warning"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , warning) - 16usize] ; ["Offset of field: _xmlValidCtxt::node"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , node) - 24usize] ; ["Offset of field: _xmlValidCtxt::nodeNr"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeNr) - 32usize] ; ["Offset of field: _xmlValidCtxt::nodeMax"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeMax) - 36usize] ; ["Offset of field: _xmlValidCtxt::nodeTab"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeTab) - 40usize] ; ["Offset of field: _xmlValidCtxt::flags"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , flags) - 48usize] ; ["Offset of field: _xmlValidCtxt::doc"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , doc) - 56usize] ; ["Offset of field: _xmlValidCtxt::valid"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , valid) - 64usize] ; ["Offset of field: _xmlValidCtxt::vstate"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstate) - 72usize] ; ["Offset of field: _xmlValidCtxt::vstateNr"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateNr) - 80usize] ; ["Offset of field: _xmlValidCtxt::vstateMax"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateMax) - 84usize] ; ["Offset of field: _xmlValidCtxt::vstateTab"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateTab) - 88usize] ; ["Offset of field: _xmlValidCtxt::am"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , am) - 96usize] ; ["Offset of field: _xmlValidCtxt::state"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , state) - 104usize] ; } ; pub type xmlNotationTable = _xmlHashTable ; pub type xmlNotationTablePtr = * mut xmlNotationTable ; pub type xmlElementTable = _xmlHashTable ; pub type xmlElementTablePtr = * mut xmlElementTable ; pub type xmlAttributeTable = _xmlHashTable ; pub type xmlAttributeTablePtr = * mut xmlAttributeTable ; pub type xmlIDTable = _xmlHashTable ; pub type xmlIDTablePtr = * mut xmlIDTable ; pub type xmlRefTable = _xmlHashTable ; pub type xmlRefTablePtr = * mut xmlRefTable ; unsafe extern "C" { pub fn xmlAddNotationDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlNotation ; } unsafe extern "C" { pub fn xmlCopyNotationTable (table : * mut xmlNotationTable) -> * mut xmlNotationTable ; } unsafe extern "C" { pub fn xmlFreeNotationTable (table : * mut xmlNotationTable) ; } unsafe extern "C" { pub fn xmlDumpNotationDecl (buf : * mut xmlBuffer , nota : * mut xmlNotation) ; } unsafe extern "C" { pub fn xmlDumpNotationTable (buf : * mut xmlBuffer , table : * mut xmlNotationTable) ; } unsafe extern "C" { pub fn xmlNewElementContent (name : * const xmlChar , type_ : xmlElementContentType) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlCopyElementContent (content : * mut xmlElementContent) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlFreeElementContent (cur : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlNewDocElementContent (doc : * mut xmlDoc , name : * const xmlChar , type_ : xmlElementContentType) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlCopyDocElementContent (doc : * mut xmlDoc , content : * mut xmlElementContent) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlFreeDocElementContent (doc : * mut xmlDoc , cur : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlSnprintfElementContent (buf : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , content : * mut xmlElementContent , englob : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSprintfElementContent (buf : * mut :: std :: os :: raw :: c_char , content : * mut xmlElementContent , englob : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlAddElementDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , name : * const xmlChar , type_ : xmlElementTypeVal , content : * mut xmlElementContent) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlCopyElementTable (table : * mut xmlElementTable) -> * mut xmlElementTable ; } unsafe extern "C" { pub fn xmlFreeElementTable (table : * mut xmlElementTable) ; } unsafe extern "C" { pub fn xmlDumpElementTable (buf : * mut xmlBuffer , table : * mut xmlElementTable) ; } unsafe extern "C" { pub fn xmlDumpElementDecl (buf : * mut xmlBuffer , elem : * mut xmlElement) ; } unsafe extern "C" { pub fn xmlCreateEnumeration (name : * const xmlChar) -> * mut xmlEnumeration ; } unsafe extern "C" { pub fn xmlFreeEnumeration (cur : * mut xmlEnumeration) ; } unsafe extern "C" { pub fn xmlCopyEnumeration (cur : * mut xmlEnumeration) -> * mut xmlEnumeration ; } unsafe extern "C" { pub fn xmlAddAttributeDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar , ns : * const xmlChar , type_ : xmlAttributeType , def : xmlAttributeDefault , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlCopyAttributeTable (table : * mut xmlAttributeTable) -> * mut xmlAttributeTable ; } unsafe extern "C" { pub fn xmlFreeAttributeTable (table : * mut xmlAttributeTable) ; } unsafe extern "C" { pub fn xmlDumpAttributeTable (buf : * mut xmlBuffer , table : * mut xmlAttributeTable) ; } unsafe extern "C" { pub fn xmlDumpAttributeDecl (buf : * mut xmlBuffer , attr : * mut xmlAttribute) ; } unsafe extern "C" { pub fn xmlAddIDSafe (attr : * mut xmlAttr , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddID (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , value : * const xmlChar , attr : * mut xmlAttr) -> * mut xmlID ; } unsafe extern "C" { pub fn xmlFreeIDTable (table : * mut xmlIDTable) ; } unsafe extern "C" { pub fn xmlGetID (doc : * mut xmlDoc , ID : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlIsID (doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveID (doc : * mut xmlDoc , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddRef (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , value : * const xmlChar , attr : * mut xmlAttr) -> * mut xmlRef ; } unsafe extern "C" { pub fn xmlFreeRefTable (table : * mut xmlRefTable) ; } unsafe extern "C" { pub fn xmlIsRef (doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveRef (doc : * mut xmlDoc , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetRefs (doc : * mut xmlDoc , ID : * const xmlChar) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlNewValidCtxt () -> * mut xmlValidCtxt ; } unsafe extern "C" { pub fn xmlFreeValidCtxt (arg1 : * mut xmlValidCtxt) ; } unsafe extern "C" { pub fn xmlValidateRoot (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateElementDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlElement) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidNormalizeAttributeValue (doc : * mut xmlDoc , elem : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlValidCtxtNormalizeAttributeValue (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlValidateAttributeDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , attr : * mut xmlAttribute) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateAttributeValue (type_ : xmlAttributeType , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNotationDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , nota : * mut xmlNotation) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDtd (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , dtd : * mut xmlDtd) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDtdFinal (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDocument (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneAttribute (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneNamespace (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , prefix : * const xmlChar , ns : * mut xmlNs , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDocumentFinal (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNotationUse (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , notationName : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsMixedElement (doc : * mut xmlDoc , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetDtdAttrDesc (dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlGetDtdQAttrDesc (dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar , prefix : * const xmlChar) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlGetDtdNotationDesc (dtd : * mut xmlDtd , name : * const xmlChar) -> * mut xmlNotation ; } unsafe extern "C" { pub fn xmlGetDtdQElementDesc (dtd : * mut xmlDtd , name : * const xmlChar , prefix : * const xmlChar) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlGetDtdElementDesc (dtd : * mut xmlDtd , name : * const xmlChar) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlValidGetPotentialChildren (ctree : * mut xmlElementContent , names : * mut * const xmlChar , len : * mut :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidGetValidElements (prev : * mut xmlNode , next : * mut xmlNode , names : * mut * const xmlChar , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNameValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNamesValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNmtokenValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNmtokensValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidBuildContentModel (ctxt : * mut xmlValidCtxt , elem : * mut xmlElement) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePushElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , qname : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePushCData (ctxt : * mut xmlValidCtxt , data : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePopElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , qname : * const xmlChar) -> :: std :: os :: raw :: c_int ; } # [doc = " internal general entity"] pub const xmlEntityType_XML_INTERNAL_GENERAL_ENTITY : xmlEntityType = 1 ; # [doc = " external general parsed entity"] pub const xmlEntityType_XML_EXTERNAL_GENERAL_PARSED_ENTITY : xmlEntityType = 2 ; # [doc = " external general unparsed entity"] pub const xmlEntityType_XML_EXTERNAL_GENERAL_UNPARSED_ENTITY : xmlEntityType = 3 ; # [doc = " internal parameter entity"] pub const xmlEntityType_XML_INTERNAL_PARAMETER_ENTITY : xmlEntityType = 4 ; # [doc = " external parameter entity"] pub const xmlEntityType_XML_EXTERNAL_PARAMETER_ENTITY : xmlEntityType = 5 ; # [doc = " internal predefined entity"] pub const xmlEntityType_XML_INTERNAL_PREDEFINED_ENTITY : xmlEntityType = 6 ; # [doc = " The different entity types."] pub type xmlEntityType = :: std :: os :: raw :: c_uint ; # [doc = " An entity declaration"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlEntity { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ENTITY_DECL, must be second !"] pub type_ : xmlElementType , # [doc = " Entity name"] pub name : * const xmlChar , # [doc = " First child link"] pub children : * mut _xmlNode , # [doc = " Last child link"] pub last : * mut _xmlNode , # [doc = " -> DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling link"] pub next : * mut _xmlNode , # [doc = " previous sibling link"] pub prev : * mut _xmlNode , # [doc = " the containing document"] pub doc : * mut _xmlDoc , # [doc = " content without ref substitution"] pub orig : * mut xmlChar , # [doc = " content or ndata if unparsed"] pub content : * mut xmlChar , # [doc = " the content length"] pub length : :: std :: os :: raw :: c_int , # [doc = " The entity type"] pub etype : xmlEntityType , # [doc = " External identifier for PUBLIC"] pub ExternalID : * const xmlChar , # [doc = " URI for a SYSTEM or PUBLIC Entity"] pub SystemID : * const xmlChar , # [doc = " unused"] pub nexte : * mut _xmlEntity , # [doc = " the full URI as computed"] pub URI : * const xmlChar , # [doc = " unused"] pub owner : :: std :: os :: raw :: c_int , # [doc = " various flags"] pub flags : :: std :: os :: raw :: c_int , # [doc = " expanded size"] pub expandedSize : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlEntity"] [:: std :: mem :: size_of :: < _xmlEntity > () - 144usize] ; ["Alignment of _xmlEntity"] [:: std :: mem :: align_of :: < _xmlEntity > () - 8usize] ; ["Offset of field: _xmlEntity::_private"] [:: std :: mem :: offset_of ! (_xmlEntity , _private) - 0usize] ; ["Offset of field: _xmlEntity::type_"] [:: std :: mem :: offset_of ! (_xmlEntity , type_) - 8usize] ; ["Offset of field: _xmlEntity::name"] [:: std :: mem :: offset_of ! (_xmlEntity , name) - 16usize] ; ["Offset of field: _xmlEntity::children"] [:: std :: mem :: offset_of ! (_xmlEntity , children) - 24usize] ; ["Offset of field: _xmlEntity::last"] [:: std :: mem :: offset_of ! (_xmlEntity , last) - 32usize] ; ["Offset of field: _xmlEntity::parent"] [:: std :: mem :: offset_of ! (_xmlEntity , parent) - 40usize] ; ["Offset of field: _xmlEntity::next"] [:: std :: mem :: offset_of ! (_xmlEntity , next) - 48usize] ; ["Offset of field: _xmlEntity::prev"] [:: std :: mem :: offset_of ! (_xmlEntity , prev) - 56usize] ; ["Offset of field: _xmlEntity::doc"] [:: std :: mem :: offset_of ! (_xmlEntity , doc) - 64usize] ; ["Offset of field: _xmlEntity::orig"] [:: std :: mem :: offset_of ! (_xmlEntity , orig) - 72usize] ; ["Offset of field: _xmlEntity::content"] [:: std :: mem :: offset_of ! (_xmlEntity , content) - 80usize] ; ["Offset of field: _xmlEntity::length"] [:: std :: mem :: offset_of ! (_xmlEntity , length) - 88usize] ; ["Offset of field: _xmlEntity::etype"] [:: std :: mem :: offset_of ! (_xmlEntity , etype) - 92usize] ; ["Offset of field: _xmlEntity::ExternalID"] [:: std :: mem :: offset_of ! (_xmlEntity , ExternalID) - 96usize] ; ["Offset of field: _xmlEntity::SystemID"] [:: std :: mem :: offset_of ! (_xmlEntity , SystemID) - 104usize] ; ["Offset of field: _xmlEntity::nexte"] [:: std :: mem :: offset_of ! (_xmlEntity , nexte) - 112usize] ; ["Offset of field: _xmlEntity::URI"] [:: std :: mem :: offset_of ! (_xmlEntity , URI) - 120usize] ; ["Offset of field: _xmlEntity::owner"] [:: std :: mem :: offset_of ! (_xmlEntity , owner) - 128usize] ; ["Offset of field: _xmlEntity::flags"] [:: std :: mem :: offset_of ! (_xmlEntity , flags) - 132usize] ; ["Offset of field: _xmlEntity::expandedSize"] [:: std :: mem :: offset_of ! (_xmlEntity , expandedSize) - 136usize] ; } ; pub type xmlEntitiesTable = _xmlHashTable ; pub type xmlEntitiesTablePtr = * mut xmlEntitiesTable ; unsafe extern "C" { pub fn xmlNewEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlFreeEntity (entity : * mut xmlEntity) ; } unsafe extern "C" { pub fn xmlAddEntity (doc : * mut xmlDoc , extSubset : :: std :: os :: raw :: c_int , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar , out : * mut * mut xmlEntity) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddDocEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlAddDtdEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetPredefinedEntity (name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetDocEntity (doc : * const xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetDtdEntity (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetParameterEntity (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlEncodeEntitiesReentrant (doc : * mut xmlDoc , input : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlEncodeSpecialChars (doc : * const xmlDoc , input : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCreateEntitiesTable () -> * mut xmlEntitiesTable ; } unsafe extern "C" { pub fn xmlCopyEntitiesTable (table : * mut xmlEntitiesTable) -> * mut xmlEntitiesTable ; } unsafe extern "C" { pub fn xmlFreeEntitiesTable (table : * mut xmlEntitiesTable) ; } unsafe extern "C" { pub fn xmlDumpEntitiesTable (buf : * mut xmlBuffer , table : * mut xmlEntitiesTable) ; } unsafe extern "C" { pub fn xmlDumpEntityDecl (buf : * mut xmlBuffer , ent : * mut xmlEntity) ; } # [doc = " Success"] pub const xmlCharEncError_XML_ENC_ERR_SUCCESS : xmlCharEncError = 0 ; # [doc = " Internal or unclassified error"] pub const xmlCharEncError_XML_ENC_ERR_INTERNAL : xmlCharEncError = - 1 ; # [doc = " Invalid or untranslatable input sequence"] pub const xmlCharEncError_XML_ENC_ERR_INPUT : xmlCharEncError = - 2 ; # [doc = " Not enough space in output buffer"] pub const xmlCharEncError_XML_ENC_ERR_SPACE : xmlCharEncError = - 3 ; # [doc = " Out-of-memory error"] pub const xmlCharEncError_XML_ENC_ERR_MEMORY : xmlCharEncError = - 4 ; # [doc = " Encoding conversion errors"] pub type xmlCharEncError = :: std :: os :: raw :: c_int ; # [doc = " No char encoding detected"] pub const xmlCharEncoding_XML_CHAR_ENCODING_ERROR : xmlCharEncoding = - 1 ; # [doc = " No char encoding detected"] pub const xmlCharEncoding_XML_CHAR_ENCODING_NONE : xmlCharEncoding = 0 ; # [doc = " UTF-8"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF8 : xmlCharEncoding = 1 ; # [doc = " UTF-16 little endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16LE : xmlCharEncoding = 2 ; # [doc = " UTF-16 big endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16BE : xmlCharEncoding = 3 ; # [doc = " UCS-4 little endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4LE : xmlCharEncoding = 4 ; # [doc = " UCS-4 big endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4BE : xmlCharEncoding = 5 ; # [doc = " EBCDIC uh!"] pub const xmlCharEncoding_XML_CHAR_ENCODING_EBCDIC : xmlCharEncoding = 6 ; # [doc = " UCS-4 unusual ordering"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4_2143 : xmlCharEncoding = 7 ; # [doc = " UCS-4 unusual ordering"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4_3412 : xmlCharEncoding = 8 ; # [doc = " UCS-2"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS2 : xmlCharEncoding = 9 ; # [doc = " ISO-8859-1 ISO Latin 1"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_1 : xmlCharEncoding = 10 ; # [doc = " ISO-8859-2 ISO Latin 2"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_2 : xmlCharEncoding = 11 ; # [doc = " ISO-8859-3"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_3 : xmlCharEncoding = 12 ; # [doc = " ISO-8859-4"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_4 : xmlCharEncoding = 13 ; # [doc = " ISO-8859-5"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_5 : xmlCharEncoding = 14 ; # [doc = " ISO-8859-6"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_6 : xmlCharEncoding = 15 ; # [doc = " ISO-8859-7"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_7 : xmlCharEncoding = 16 ; # [doc = " ISO-8859-8"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_8 : xmlCharEncoding = 17 ; # [doc = " ISO-8859-9"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_9 : xmlCharEncoding = 18 ; # [doc = " ISO-2022-JP"] pub const xmlCharEncoding_XML_CHAR_ENCODING_2022_JP : xmlCharEncoding = 19 ; # [doc = " Shift_JIS"] pub const xmlCharEncoding_XML_CHAR_ENCODING_SHIFT_JIS : xmlCharEncoding = 20 ; # [doc = " EUC-JP"] pub const xmlCharEncoding_XML_CHAR_ENCODING_EUC_JP : xmlCharEncoding = 21 ; # [doc = " pure ASCII"] pub const xmlCharEncoding_XML_CHAR_ENCODING_ASCII : xmlCharEncoding = 22 ; # [doc = " UTF-16 native, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16 : xmlCharEncoding = 23 ; # [doc = " HTML (output only), available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_HTML : xmlCharEncoding = 24 ; # [doc = " ISO-8859-10, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_10 : xmlCharEncoding = 25 ; # [doc = " ISO-8859-11, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_11 : xmlCharEncoding = 26 ; # [doc = " ISO-8859-13, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_13 : xmlCharEncoding = 27 ; # [doc = " ISO-8859-14, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_14 : xmlCharEncoding = 28 ; # [doc = " ISO-8859-15, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_15 : xmlCharEncoding = 29 ; # [doc = " ISO-8859-16, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_16 : xmlCharEncoding = 30 ; # [doc = " windows-1252, available since 2.15"] pub const xmlCharEncoding_XML_CHAR_ENCODING_WINDOWS_1252 : xmlCharEncoding = 31 ; # [doc = " Predefined values for some standard encodings."] pub type xmlCharEncoding = :: std :: os :: raw :: c_int ; # [doc = " Create converter for input (conversion to UTF-8)"] pub const xmlCharEncFlags_XML_ENC_INPUT : xmlCharEncFlags = 1 ; # [doc = " Create converter for output (conversion from UTF-8)"] pub const xmlCharEncFlags_XML_ENC_OUTPUT : xmlCharEncFlags = 2 ; # [doc = " Use HTML5 mappings"] pub const xmlCharEncFlags_XML_ENC_HTML : xmlCharEncFlags = 4 ; # [doc = " Encoding conversion flags"] pub type xmlCharEncFlags = :: std :: os :: raw :: c_uint ; # [doc = " Convert characters to UTF-8.\n\n On success, the value of `inlen` after return is the number of\n bytes consumed and `outlen` is the number of bytes produced.\n\n @param out  a pointer to an array of bytes to store the UTF-8 result\n @param outlen  the length of `out`\n @param in  a pointer to an array of chars in the original encoding\n @param inlen  the length of `in`\n @returns the number of bytes written or an xmlCharEncError code."] pub type xmlCharEncodingInputFunc = :: std :: option :: Option < unsafe extern "C" fn (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Convert characters from UTF-8.\n\n On success, the value of `inlen` after return is the number of\n bytes consumed and `outlen` is the number of bytes produced.\n\n @param out  a pointer to an array of bytes to store the result\n @param outlen  the length of `out`\n @param in  a pointer to an array of UTF-8 chars\n @param inlen  the length of `in`\n @returns the number of bytes written or an xmlCharEncError code."] pub type xmlCharEncodingOutputFunc = :: std :: option :: Option < unsafe extern "C" fn (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Convert between character encodings.\n\n The value of `inlen` after return is the number of bytes consumed\n and `outlen` is the number of bytes produced.\n\n If the converter can consume partial multi-byte sequences, the\n `flush` flag can be used to detect truncated sequences at EOF.\n Otherwise, the flag can be ignored.\n\n @param vctxt  conversion context\n @param out  a pointer to an array of bytes to store the result\n @param outlen  the length of `out`\n @param in  a pointer to an array of input bytes\n @param inlen  the length of `in`\n @param flush  end of input\n @returns an xmlCharEncError code."] pub type xmlCharEncConvFunc = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void , out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int , flush : :: std :: os :: raw :: c_int) -> xmlCharEncError > ; # [doc = " Free a conversion context.\n\n @param vctxt  conversion context"] pub type xmlCharEncConvCtxtDtor = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void) > ; # [doc = " Character encoding converter"] pub type xmlCharEncodingHandler = _xmlCharEncodingHandler ; pub type xmlCharEncodingHandlerPtr = * mut xmlCharEncodingHandler ; # [doc = " A character encoding conversion handler for non UTF-8 encodings.\n\n This structure will be made private."] # [repr (C)] # [derive (Copy , Clone)] pub struct _xmlCharEncodingHandler { pub name : * mut :: std :: os :: raw :: c_char , pub input : _xmlCharEncodingHandler__bindgen_ty_1 , pub output : _xmlCharEncodingHandler__bindgen_ty_2 , pub inputCtxt : * mut :: std :: os :: raw :: c_void , pub outputCtxt : * mut :: std :: os :: raw :: c_void , pub ctxtDtor : xmlCharEncConvCtxtDtor , pub flags : :: std :: os :: raw :: c_int , } # [repr (C)] # [derive (Copy , Clone)] pub union _xmlCharEncodingHandler__bindgen_ty_1 { pub func : xmlCharEncConvFunc , pub legacyFunc : xmlCharEncodingInputFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler__bindgen_ty_1"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler__bindgen_ty_1 > () - 8usize] ; ["Alignment of _xmlCharEncodingHandler__bindgen_ty_1"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler__bindgen_ty_1 > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_1::func"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_1 , func) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_1::legacyFunc"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_1 , legacyFunc) - 0usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union _xmlCharEncodingHandler__bindgen_ty_2 { pub func : xmlCharEncConvFunc , pub legacyFunc : xmlCharEncodingOutputFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler__bindgen_ty_2"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler__bindgen_ty_2 > () - 8usize] ; ["Alignment of _xmlCharEncodingHandler__bindgen_ty_2"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler__bindgen_ty_2 > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_2::func"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_2 , func) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_2::legacyFunc"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_2 , legacyFunc) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler > () - 56usize] ; ["Alignment of _xmlCharEncodingHandler"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler::name"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , name) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler::input"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , input) - 8usize] ; ["Offset of field: _xmlCharEncodingHandler::output"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , output) - 16usize] ; ["Offset of field: _xmlCharEncodingHandler::inputCtxt"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , inputCtxt) - 24usize] ; ["Offset of field: _xmlCharEncodingHandler::outputCtxt"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , outputCtxt) - 32usize] ; ["Offset of field: _xmlCharEncodingHandler::ctxtDtor"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , ctxtDtor) - 40usize] ; ["Offset of field: _xmlCharEncodingHandler::flags"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , flags) - 48usize] ; } ; # [doc = " If this function returns XML_ERR_OK, it must fill the `out`\n pointer with an encoding handler. The handler can be obtained\n from #xmlCharEncNewCustomHandler.\n\n `flags` can contain XML_ENC_INPUT, XML_ENC_OUTPUT or both.\n\n @param vctxt  user data\n @param name  encoding name\n @param flags  bit mask of flags\n @param out  pointer to resulting handler\n @returns an xmlParserErrors code."] pub type xmlCharEncConvImpl = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void , name : * const :: std :: os :: raw :: c_char , flags : xmlCharEncFlags , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors > ; unsafe extern "C" { pub fn xmlInitCharEncodingHandlers () ; } unsafe extern "C" { pub fn xmlCleanupCharEncodingHandlers () ; } unsafe extern "C" { pub fn xmlRegisterCharEncodingHandler (handler : * mut xmlCharEncodingHandler) ; } unsafe extern "C" { pub fn xmlLookupCharEncodingHandler (enc : xmlCharEncoding , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlOpenCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , output : :: std :: os :: raw :: c_int , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlCreateCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , flags : xmlCharEncFlags , impl_ : xmlCharEncConvImpl , implCtxt : * mut :: std :: os :: raw :: c_void , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlGetCharEncodingHandler (enc : xmlCharEncoding) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlFindCharEncodingHandler (name : * const :: std :: os :: raw :: c_char) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlNewCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , input : xmlCharEncodingInputFunc , output : xmlCharEncodingOutputFunc) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlCharEncNewCustomHandler (name : * const :: std :: os :: raw :: c_char , input : xmlCharEncConvFunc , output : xmlCharEncConvFunc , ctxtDtor : xmlCharEncConvCtxtDtor , inputCtxt : * mut :: std :: os :: raw :: c_void , outputCtxt : * mut :: std :: os :: raw :: c_void , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlAddEncodingAlias (name : * const :: std :: os :: raw :: c_char , alias : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDelEncodingAlias (alias : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetEncodingAlias (alias : * const :: std :: os :: raw :: c_char) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlCleanupEncodingAliases () ; } unsafe extern "C" { pub fn xmlParseCharEncoding (name : * const :: std :: os :: raw :: c_char) -> xmlCharEncoding ; } unsafe extern "C" { pub fn xmlGetCharEncodingName (enc : xmlCharEncoding) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlDetectCharEncoding (in_ : * const :: std :: os :: raw :: c_uchar , len : :: std :: os :: raw :: c_int) -> xmlCharEncoding ; } unsafe extern "C" { pub fn xmlCharEncOutFunc (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncInFunc (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncFirstLine (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncCloseFunc (handler : * mut xmlCharEncodingHandler) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8ToIsolat1 (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsolat1ToUTF8 (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " Callback used in the I/O Input API to detect if the current handler\n can provide input functionality for this resource.\n\n @param filename  the filename or URI\n @returns 1 if yes and 0 if another Input module should be used"] pub type xmlInputMatchCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Input API to open the resource\n\n @param filename  the filename or URI\n @returns an Input context or NULL in case or error"] pub type xmlInputOpenCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback used in the I/O Input API to read the resource\n\n @param context  an Input context\n @param buffer  the buffer to store data read\n @param len  the length of the buffer in bytes\n @returns the number of bytes read or -1 in case of error"] pub type xmlInputReadCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Input API to close the resource\n\n @param context  an Input context\n @returns 0 or -1 in case of error"] pub type xmlInputCloseCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to detect if the current handler\n can provide output functionality for this resource.\n\n @param filename  the filename or URI\n @returns 1 if yes and 0 if another Output module should be used"] pub type xmlOutputMatchCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to open the resource\n\n @param filename  the filename or URI\n @returns an Output context or NULL in case or error"] pub type xmlOutputOpenCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback used in the I/O Output API to write to the resource\n\n @param context  an Output context\n @param buffer  the buffer of data to write\n @param len  the length of the buffer in bytes\n @returns the number of bytes written or -1 in case of error"] pub type xmlOutputWriteCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void , buffer : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to close the resource\n\n @param context  an Output context\n @returns 0 or -1 in case of error"] pub type xmlOutputCloseCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Signature for the function doing the lookup for a suitable input method\n corresponding to an URI.\n\n @param URI  the URI to read from\n @param enc  the requested source encoding\n @returns the new xmlParserInputBuffer in case of success or NULL if no\n         method was found."] pub type xmlParserInputBufferCreateFilenameFunc = :: std :: option :: Option < unsafe extern "C" fn (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer > ; # [doc = " Signature for the function doing the lookup for a suitable output method\n corresponding to an URI.\n\n @param URI  the URI to write to\n @param encoder  the requested target encoding\n @param compression  compression level\n @returns the new xmlOutputBuffer in case of success or NULL if no\n         method was found."] pub type xmlOutputBufferCreateFilenameFunc = :: std :: option :: Option < unsafe extern "C" fn (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer > ; # [doc = " Parser input buffer\n\n This struct and all related functions should ultimately\n be removed from the public interface."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserInputBuffer { pub context : * mut :: std :: os :: raw :: c_void , pub readcallback : xmlInputReadCallback , pub closecallback : xmlInputCloseCallback , pub encoder : * mut xmlCharEncodingHandler , pub buffer : * mut xmlBuf , pub raw : * mut xmlBuf , pub compressed : :: std :: os :: raw :: c_int , pub error : :: std :: os :: raw :: c_int , pub rawconsumed : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserInputBuffer"] [:: std :: mem :: size_of :: < _xmlParserInputBuffer > () - 64usize] ; ["Alignment of _xmlParserInputBuffer"] [:: std :: mem :: align_of :: < _xmlParserInputBuffer > () - 8usize] ; ["Offset of field: _xmlParserInputBuffer::context"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , context) - 0usize] ; ["Offset of field: _xmlParserInputBuffer::readcallback"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , readcallback) - 8usize] ; ["Offset of field: _xmlParserInputBuffer::closecallback"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , closecallback) - 16usize] ; ["Offset of field: _xmlParserInputBuffer::encoder"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , encoder) - 24usize] ; ["Offset of field: _xmlParserInputBuffer::buffer"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , buffer) - 32usize] ; ["Offset of field: _xmlParserInputBuffer::raw"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , raw) - 40usize] ; ["Offset of field: _xmlParserInputBuffer::compressed"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , compressed) - 48usize] ; ["Offset of field: _xmlParserInputBuffer::error"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , error) - 52usize] ; ["Offset of field: _xmlParserInputBuffer::rawconsumed"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , rawconsumed) - 56usize] ; } ; # [doc = " Output buffer"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlOutputBuffer { pub context : * mut :: std :: os :: raw :: c_void , pub writecallback : xmlOutputWriteCallback , pub closecallback : xmlOutputCloseCallback , pub encoder : * mut xmlCharEncodingHandler , pub buffer : * mut xmlBuf , pub conv : * mut xmlBuf , pub written : :: std :: os :: raw :: c_int , pub error : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlOutputBuffer"] [:: std :: mem :: size_of :: < _xmlOutputBuffer > () - 56usize] ; ["Alignment of _xmlOutputBuffer"] [:: std :: mem :: align_of :: < _xmlOutputBuffer > () - 8usize] ; ["Offset of field: _xmlOutputBuffer::context"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , context) - 0usize] ; ["Offset of field: _xmlOutputBuffer::writecallback"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , writecallback) - 8usize] ; ["Offset of field: _xmlOutputBuffer::closecallback"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , closecallback) - 16usize] ; ["Offset of field: _xmlOutputBuffer::encoder"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , encoder) - 24usize] ; ["Offset of field: _xmlOutputBuffer::buffer"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , buffer) - 32usize] ; ["Offset of field: _xmlOutputBuffer::conv"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , conv) - 40usize] ; ["Offset of field: _xmlOutputBuffer::written"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , written) - 48usize] ; ["Offset of field: _xmlOutputBuffer::error"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , error) - 52usize] ; } ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlParserInputBufferCreateFilenameValue () -> * mut xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn __xmlOutputBufferCreateFilenameValue () -> * mut xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { # [doc = " @endcond"] pub fn xmlCleanupInputCallbacks () ; } unsafe extern "C" { pub fn xmlPopInputCallbacks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterDefaultInputCallbacks () ; } unsafe extern "C" { pub fn xmlAllocParserInputBuffer (enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFile (file : * mut FILE , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFd (fd : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateMem (mem : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateStatic (mem : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateIO (ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferRead (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferGrow (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferPush (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int , buf : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFreeParserInputBuffer (in_ : * mut xmlParserInputBuffer) ; } unsafe extern "C" { pub fn xmlParserGetDirectory (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlRegisterInputCallbacks (matchFunc : xmlInputMatchCallback , openFunc : xmlInputOpenCallback , readFunc : xmlInputReadCallback , closeFunc : xmlInputCloseCallback) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlParserInputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlCleanupOutputCallbacks () ; } unsafe extern "C" { pub fn xmlPopOutputCallbacks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterDefaultOutputCallbacks () ; } unsafe extern "C" { pub fn xmlAllocOutputBuffer (encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFile (file : * mut FILE , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateBuffer (buffer : * mut xmlBuffer , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFd (fd : :: std :: os :: raw :: c_int , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateIO (iowrite : xmlOutputWriteCallback , ioclose : xmlOutputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferGetContent (out : * mut xmlOutputBuffer) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlOutputBufferGetSize (out : * mut xmlOutputBuffer) -> usize ; } unsafe extern "C" { pub fn xmlOutputBufferWrite (out : * mut xmlOutputBuffer , len : :: std :: os :: raw :: c_int , buf : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferWriteString (out : * mut xmlOutputBuffer , str_ : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferWriteEscape (out : * mut xmlOutputBuffer , str_ : * const xmlChar , escaping : xmlCharEncodingOutputFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferFlush (out : * mut xmlOutputBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferClose (out : * mut xmlOutputBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterOutputCallbacks (matchFunc : xmlOutputMatchCallback , openFunc : xmlOutputOpenCallback , writeFunc : xmlOutputWriteCallback , closeFunc : xmlOutputCloseCallback) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlOutputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlCheckHTTPInput (ctxt : * mut xmlParserCtxt , ret : * mut xmlParserInput) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNoNetExternalEntityLoader (URL : * const :: std :: os :: raw :: c_char , ID : * const :: std :: os :: raw :: c_char , ctxt : * mut xmlParserCtxt) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNormalizeWindowsPath (path : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCheckFilename (path : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileMatch (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileOpen (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlFileRead (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileClose (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [doc = " @cond IGNORE"] pub fn xmlIOHTTPMatch (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIOHTTPOpen (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlRegisterHTTPPostCallbacks () ; } unsafe extern "C" { pub fn xmlIOHTTPOpenW (post_uri : * const :: std :: os :: raw :: c_char , compression : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlIOHTTPRead (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIOHTTPClose (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFilenameDefault (func : xmlParserInputBufferCreateFilenameFunc) -> xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFilenameDefault (func : xmlOutputBufferCreateFilenameFunc) -> xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlThrDefOutputBufferCreateFilenameDefault (func : xmlOutputBufferCreateFilenameFunc) -> xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlThrDefParserInputBufferCreateFilenameDefault (func : xmlParserInputBufferCreateFilenameFunc) -> xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlSAX2GetPublicId (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSAX2GetSystemId (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSAX2SetDocumentLocator (ctx : * mut :: std :: os :: raw :: c_void , loc : * mut xmlSAXLocator) ; } unsafe extern "C" { pub fn xmlSAX2GetLineNumber (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2GetColumnNumber (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2IsStandalone (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2HasInternalSubset (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2HasExternalSubset (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2InternalSubset (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2ExternalSubset (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2GetEntity (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlSAX2GetParameterEntity (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlSAX2ResolveEntity (ctx : * mut :: std :: os :: raw :: c_void , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlSAX2EntityDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * mut xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2AttributeDecl (ctx : * mut :: std :: os :: raw :: c_void , elem : * const xmlChar , fullname : * const xmlChar , type_ : :: std :: os :: raw :: c_int , def : :: std :: os :: raw :: c_int , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) ; } unsafe extern "C" { pub fn xmlSAX2ElementDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , content : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlSAX2NotationDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2UnparsedEntityDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar , notationName : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2StartDocument (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSAX2EndDocument (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSAX2StartElement (ctx : * mut :: std :: os :: raw :: c_void , fullname : * const xmlChar , atts : * mut * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2EndElement (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2StartElementNs (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar , nb_namespaces : :: std :: os :: raw :: c_int , namespaces : * mut * const xmlChar , nb_attributes : :: std :: os :: raw :: c_int , nb_defaulted : :: std :: os :: raw :: c_int , attributes : * mut * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2EndElementNs (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Reference (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Characters (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2IgnorableWhitespace (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2ProcessingInstruction (ctx : * mut :: std :: os :: raw :: c_void , target : * const xmlChar , data : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Comment (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2CDataBlock (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAXDefaultVersion (version : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXVersion (hdlr : * mut xmlSAXHandler , version : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2InitDefaultSAXHandler (hdlr : * mut xmlSAXHandler , warning : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2InitHtmlDefaultSAXHandler (hdlr : * mut xmlSAXHandler) ; } unsafe extern "C" { pub fn htmlDefaultSAXHandlerInit () ; } unsafe extern "C" { pub fn xmlDefaultSAXHandlerInit () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlMutex { _unused : [u8 ; 0] , } # [doc = " Mutual exclusion object"] pub type xmlMutex = _xmlMutex ; pub type xmlMutexPtr = * mut xmlMutex ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRMutex { _unused : [u8 ; 0] , } # [doc = " Reentrant mutual exclusion object"] pub type xmlRMutex = _xmlRMutex ; pub type xmlRMutexPtr = * mut xmlRMutex ; unsafe extern "C" { pub fn xmlCheckThreadLocalStorage () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNewMutex () -> * mut xmlMutex ; } unsafe extern "C" { pub fn xmlMutexLock (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlMutexUnlock (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlFreeMutex (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlNewRMutex () -> * mut xmlRMutex ; } unsafe extern "C" { pub fn xmlRMutexLock (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlRMutexUnlock (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlFreeRMutex (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlInitThreads () ; } unsafe extern "C" { pub fn xmlLockLibrary () ; } unsafe extern "C" { pub fn xmlUnlockLibrary () ; } unsafe extern "C" { pub fn xmlCleanupThreads () ; } # [doc = " not well-formed"] pub const xmlParserStatus_XML_STATUS_NOT_WELL_FORMED : xmlParserStatus = 1 ; # [doc = " not namespace-well-formed"] pub const xmlParserStatus_XML_STATUS_NOT_NS_WELL_FORMED : xmlParserStatus = 2 ; # [doc = " DTD validation failed"] pub const xmlParserStatus_XML_STATUS_DTD_VALIDATION_FAILED : xmlParserStatus = 4 ; # [doc = " catastrophic failure like OOM or I/O error"] pub const xmlParserStatus_XML_STATUS_CATASTROPHIC_ERROR : xmlParserStatus = 8 ; # [doc = " Status after parsing a document"] pub type xmlParserStatus = :: std :: os :: raw :: c_uint ; # [doc = " unknown"] pub const xmlResourceType_XML_RESOURCE_UNKNOWN : xmlResourceType = 0 ; # [doc = " main document"] pub const xmlResourceType_XML_RESOURCE_MAIN_DOCUMENT : xmlResourceType = 1 ; # [doc = " external DTD"] pub const xmlResourceType_XML_RESOURCE_DTD : xmlResourceType = 2 ; # [doc = " external general entity"] pub const xmlResourceType_XML_RESOURCE_GENERAL_ENTITY : xmlResourceType = 3 ; # [doc = " external parameter entity"] pub const xmlResourceType_XML_RESOURCE_PARAMETER_ENTITY : xmlResourceType = 4 ; # [doc = " XIncluded document"] pub const xmlResourceType_XML_RESOURCE_XINCLUDE : xmlResourceType = 5 ; # [doc = " XIncluded text"] pub const xmlResourceType_XML_RESOURCE_XINCLUDE_TEXT : xmlResourceType = 6 ; # [doc = " Resource type for resource loaders"] pub type xmlResourceType = :: std :: os :: raw :: c_uint ; # [doc = " The input buffer won't be changed during parsing."] pub const xmlParserInputFlags_XML_INPUT_BUF_STATIC : xmlParserInputFlags = 2 ; # [doc = " The input buffer is zero-terminated. (Note that the zero\nbyte shouldn't be included in buffer size.)"] pub const xmlParserInputFlags_XML_INPUT_BUF_ZERO_TERMINATED : xmlParserInputFlags = 4 ; # [doc = " Uncompress gzipped file input"] pub const xmlParserInputFlags_XML_INPUT_UNZIP : xmlParserInputFlags = 8 ; # [doc = " Allow network access. Unused internally."] pub const xmlParserInputFlags_XML_INPUT_NETWORK : xmlParserInputFlags = 16 ; # [doc = " Allow system catalog to resolve URIs."] pub const xmlParserInputFlags_XML_INPUT_USE_SYS_CATALOG : xmlParserInputFlags = 32 ; # [doc = " Flags for parser input"] pub type xmlParserInputFlags = :: std :: os :: raw :: c_uint ; pub type xmlParserInputDeallocate = :: std :: option :: Option < unsafe extern "C" fn (str_ : * mut xmlChar) > ; # [doc = " Parser input"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserInput { pub buf : * mut xmlParserInputBuffer , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n The filename or URI, if any"] pub filename : * const :: std :: os :: raw :: c_char , pub directory : * const :: std :: os :: raw :: c_char , pub base : * const xmlChar , # [doc = " @deprecated Use #xmlCtxtGetInputWindow\n\n Current char being parsed"] pub cur : * const xmlChar , pub end : * const xmlChar , pub length : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n Current line"] pub line : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n Current column"] pub col : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n How many xmlChars already consumed"] pub consumed : :: std :: os :: raw :: c_ulong , pub free : xmlParserInputDeallocate , pub encoding : * const xmlChar , pub version : * const xmlChar , pub flags : :: std :: os :: raw :: c_int , pub id : :: std :: os :: raw :: c_int , pub parentConsumed : :: std :: os :: raw :: c_ulong , pub entity : * mut xmlEntity , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserInput"] [:: std :: mem :: size_of :: < _xmlParserInput > () - 120usize] ; ["Alignment of _xmlParserInput"] [:: std :: mem :: align_of :: < _xmlParserInput > () - 8usize] ; ["Offset of field: _xmlParserInput::buf"] [:: std :: mem :: offset_of ! (_xmlParserInput , buf) - 0usize] ; ["Offset of field: _xmlParserInput::filename"] [:: std :: mem :: offset_of ! (_xmlParserInput , filename) - 8usize] ; ["Offset of field: _xmlParserInput::directory"] [:: std :: mem :: offset_of ! (_xmlParserInput , directory) - 16usize] ; ["Offset of field: _xmlParserInput::base"] [:: std :: mem :: offset_of ! (_xmlParserInput , base) - 24usize] ; ["Offset of field: _xmlParserInput::cur"] [:: std :: mem :: offset_of ! (_xmlParserInput , cur) - 32usize] ; ["Offset of field: _xmlParserInput::end"] [:: std :: mem :: offset_of ! (_xmlParserInput , end) - 40usize] ; ["Offset of field: _xmlParserInput::length"] [:: std :: mem :: offset_of ! (_xmlParserInput , length) - 48usize] ; ["Offset of field: _xmlParserInput::line"] [:: std :: mem :: offset_of ! (_xmlParserInput , line) - 52usize] ; ["Offset of field: _xmlParserInput::col"] [:: std :: mem :: offset_of ! (_xmlParserInput , col) - 56usize] ; ["Offset of field: _xmlParserInput::consumed"] [:: std :: mem :: offset_of ! (_xmlParserInput , consumed) - 64usize] ; ["Offset of field: _xmlParserInput::free"] [:: std :: mem :: offset_of ! (_xmlParserInput , free) - 72usize] ; ["Offset of field: _xmlParserInput::encoding"] [:: std :: mem :: offset_of ! (_xmlParserInput , encoding) - 80usize] ; ["Offset of field: _xmlParserInput::version"] [:: std :: mem :: offset_of ! (_xmlParserInput , version) - 88usize] ; ["Offset of field: _xmlParserInput::flags"] [:: std :: mem :: offset_of ! (_xmlParserInput , flags) - 96usize] ; ["Offset of field: _xmlParserInput::id"] [:: std :: mem :: offset_of ! (_xmlParserInput , id) - 100usize] ; ["Offset of field: _xmlParserInput::parentConsumed"] [:: std :: mem :: offset_of ! (_xmlParserInput , parentConsumed) - 104usize] ; ["Offset of field: _xmlParserInput::entity"] [:: std :: mem :: offset_of ! (_xmlParserInput , entity) - 112usize] ; } ; # [doc = " @cond ignore"] pub type xmlParserNodeInfo = _xmlParserNodeInfo ; pub type xmlParserNodeInfoPtr = * mut xmlParserNodeInfo ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNodeInfo { pub node : * const _xmlNode , pub begin_pos : :: std :: os :: raw :: c_ulong , pub begin_line : :: std :: os :: raw :: c_ulong , pub end_pos : :: std :: os :: raw :: c_ulong , pub end_line : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserNodeInfo"] [:: std :: mem :: size_of :: < _xmlParserNodeInfo > () - 40usize] ; ["Alignment of _xmlParserNodeInfo"] [:: std :: mem :: align_of :: < _xmlParserNodeInfo > () - 8usize] ; ["Offset of field: _xmlParserNodeInfo::node"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , node) - 0usize] ; ["Offset of field: _xmlParserNodeInfo::begin_pos"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , begin_pos) - 8usize] ; ["Offset of field: _xmlParserNodeInfo::begin_line"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , begin_line) - 16usize] ; ["Offset of field: _xmlParserNodeInfo::end_pos"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , end_pos) - 24usize] ; ["Offset of field: _xmlParserNodeInfo::end_line"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , end_line) - 32usize] ; } ; pub type xmlParserNodeInfoSeq = _xmlParserNodeInfoSeq ; pub type xmlParserNodeInfoSeqPtr = * mut xmlParserNodeInfoSeq ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNodeInfoSeq { pub maximum : :: std :: os :: raw :: c_ulong , pub length : :: std :: os :: raw :: c_ulong , pub buffer : * mut xmlParserNodeInfo , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserNodeInfoSeq"] [:: std :: mem :: size_of :: < _xmlParserNodeInfoSeq > () - 24usize] ; ["Alignment of _xmlParserNodeInfoSeq"] [:: std :: mem :: align_of :: < _xmlParserNodeInfoSeq > () - 8usize] ; ["Offset of field: _xmlParserNodeInfoSeq::maximum"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , maximum) - 0usize] ; ["Offset of field: _xmlParserNodeInfoSeq::length"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , length) - 8usize] ; ["Offset of field: _xmlParserNodeInfoSeq::buffer"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , buffer) - 16usize] ; } ; pub const xmlParserInputState_XML_PARSER_EOF : xmlParserInputState = - 1 ; pub const xmlParserInputState_XML_PARSER_START : xmlParserInputState = 0 ; pub const xmlParserInputState_XML_PARSER_MISC : xmlParserInputState = 1 ; pub const xmlParserInputState_XML_PARSER_PI : xmlParserInputState = 2 ; pub const xmlParserInputState_XML_PARSER_DTD : xmlParserInputState = 3 ; pub const xmlParserInputState_XML_PARSER_PROLOG : xmlParserInputState = 4 ; pub const xmlParserInputState_XML_PARSER_COMMENT : xmlParserInputState = 5 ; pub const xmlParserInputState_XML_PARSER_START_TAG : xmlParserInputState = 6 ; pub const xmlParserInputState_XML_PARSER_CONTENT : xmlParserInputState = 7 ; pub const xmlParserInputState_XML_PARSER_CDATA_SECTION : xmlParserInputState = 8 ; pub const xmlParserInputState_XML_PARSER_END_TAG : xmlParserInputState = 9 ; pub const xmlParserInputState_XML_PARSER_ENTITY_DECL : xmlParserInputState = 10 ; pub const xmlParserInputState_XML_PARSER_ENTITY_VALUE : xmlParserInputState = 11 ; pub const xmlParserInputState_XML_PARSER_ATTRIBUTE_VALUE : xmlParserInputState = 12 ; pub const xmlParserInputState_XML_PARSER_SYSTEM_LITERAL : xmlParserInputState = 13 ; pub const xmlParserInputState_XML_PARSER_EPILOG : xmlParserInputState = 14 ; pub const xmlParserInputState_XML_PARSER_IGNORE : xmlParserInputState = 15 ; pub const xmlParserInputState_XML_PARSER_PUBLIC_LITERAL : xmlParserInputState = 16 ; pub const xmlParserInputState_XML_PARSER_XML_DECL : xmlParserInputState = 17 ; pub type xmlParserInputState = :: std :: os :: raw :: c_int ; pub const xmlParserMode_XML_PARSE_UNKNOWN : xmlParserMode = 0 ; pub const xmlParserMode_XML_PARSE_DOM : xmlParserMode = 1 ; pub const xmlParserMode_XML_PARSE_SAX : xmlParserMode = 2 ; pub const xmlParserMode_XML_PARSE_PUSH_DOM : xmlParserMode = 3 ; pub const xmlParserMode_XML_PARSE_PUSH_SAX : xmlParserMode = 4 ; pub const xmlParserMode_XML_PARSE_READER : xmlParserMode = 5 ; pub type xmlParserMode = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlStartTag { _unused : [u8 ; 0] , } pub type xmlStartTag = _xmlStartTag ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNsData { _unused : [u8 ; 0] , } pub type xmlParserNsData = _xmlParserNsData ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttrHashBucket { _unused : [u8 ; 0] , } pub type xmlAttrHashBucket = _xmlAttrHashBucket ; # [doc = " Callback for custom resource loaders.\n\n `flags` can contain XML_INPUT_UNZIP and XML_INPUT_NETWORK.\n\n The URL is resolved using XML catalogs before being passed to\n the callback.\n\n On success, `out` should be set to a new parser input object and\n XML_ERR_OK should be returned.\n\n @param ctxt  parser context\n @param url  URL or system ID to load\n @param publicId  publid ID from DTD (optional)\n @param type  resource type\n @param flags  flags\n @param out  result pointer\n @returns an xmlParserErrors code."] pub type xmlResourceLoader = :: std :: option :: Option < unsafe extern "C" fn (ctxt : * mut :: std :: os :: raw :: c_void , url : * const :: std :: os :: raw :: c_char , publicId : * const :: std :: os :: raw :: c_char , type_ : xmlResourceType , flags : xmlParserInputFlags , out : * mut * mut xmlParserInput) -> xmlParserErrors > ; # [doc = " Parser context"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserCtxt { # [doc = " @deprecated Use xmlCtxtGetSaxHandler() and\n xmlCtxtSetSaxHandler().\n\n the SAX handler"] pub sax : * mut _xmlSAXHandler , # [doc = " @deprecated Use #xmlCtxtGetUserData\n\n user data for SAX interface, defaults to the context itself"] pub userData : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlCtxtGetDocument()\n\n the document being built"] pub myDoc : * mut xmlDoc , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document well formed?"] pub wellFormed : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_NOENT\n\n shall we replace entities?"] pub replaceEntities : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetVersion()\n\n the XML version string"] pub version : * mut xmlChar , # [doc = " @deprecated Use xmlCtxtGetDeclaredEncoding()\n\n the declared encoding, if any"] pub encoding : * mut xmlChar , # [doc = " @deprecated Use xmlCtxtGetStandalone()\n\n standalone document"] pub standalone : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsHtml()\n\n non-zero for HTML documents, actually an htmlInsertMode"] pub html : :: std :: os :: raw :: c_int , pub input : * mut xmlParserInput , pub inputNr : :: std :: os :: raw :: c_int , pub inputMax : :: std :: os :: raw :: c_int , pub inputTab : * mut * mut xmlParserInput , # [doc = " @deprecated Use #xmlCtxtGetNode\n\n The current element."] pub node : * mut xmlNode , pub nodeNr : :: std :: os :: raw :: c_int , pub nodeMax : :: std :: os :: raw :: c_int , pub nodeTab : * mut * mut xmlNode , pub record_info : :: std :: os :: raw :: c_int , pub node_seq : xmlParserNodeInfoSeq , # [doc = " @deprecated Use xmlCtxtGetLastError()\n\n error code"] pub errNo : :: std :: os :: raw :: c_int , pub hasExternalSubset : :: std :: os :: raw :: c_int , pub hasPErefs : :: std :: os :: raw :: c_int , pub external : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document valid"] pub valid : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_DTDVALID\n\n shall we try to validate?"] pub validate : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetValidCtxt()\n\n The validity context"] pub vctxt : xmlValidCtxt , pub instate : xmlParserInputState , pub token : :: std :: os :: raw :: c_int , # [doc = " @deprecated Don't use\n\n The main document URI, if available, with its last\n component stripped."] pub directory : * mut :: std :: os :: raw :: c_char , pub name : * const xmlChar , pub nameNr : :: std :: os :: raw :: c_int , pub nameMax : :: std :: os :: raw :: c_int , pub nameTab : * mut * const xmlChar , pub nbChars : :: std :: os :: raw :: c_long , pub checkIndex : :: std :: os :: raw :: c_long , # [doc = " @deprecated Use inverted xmlParserOption XML_PARSE_NOBLANKS\n\n ugly but ..."] pub keepBlanks : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsStopped()\n\n SAX callbacks are disabled"] pub disableSAX : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsInSubset\n\n Set if DTD content is parsed.\n\n - 0: not in DTD\n - 1: in internal DTD subset\n - 2: in external DTD subset"] pub inSubset : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use the `name` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n Name of the internal subset (root element type)."] pub intSubName : * const xmlChar , # [doc = " @deprecated Use the `systemId` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n System identifier (URI) of external the subset."] pub extSubURI : * mut xmlChar , # [doc = " @deprecated Use the `publicId` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n This member is MISNAMED. It contains the *public* identifier\n of the external subset."] pub extSubSystem : * mut xmlChar , pub space : * mut :: std :: os :: raw :: c_int , pub spaceNr : :: std :: os :: raw :: c_int , pub spaceMax : :: std :: os :: raw :: c_int , pub spaceTab : * mut :: std :: os :: raw :: c_int , pub depth : :: std :: os :: raw :: c_int , pub entity : * mut xmlParserInput , pub charset : :: std :: os :: raw :: c_int , pub nodelen : :: std :: os :: raw :: c_int , pub nodemem : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_PEDANTIC\n\n signal pedantic warnings"] pub pedantic : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetPrivate() and xmlCtxtSetPrivate()\n\n For user data, libxml won't touch it"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlParserOption XML_PARSE_DTDLOAD,\n XML_PARSE_DTDATTR or XML_PARSE_SKIP_IDS.\n\n Control loading of the external subset and handling of IDs.\n Other options like `validate` can override this value.\n\n - 0: The default behavior is to process IDs and to ignore\n   the external subset.\n - XML_DETECT_IDS: Load external subset. This flag is\n   misnamed. ID handling is only controlled by XML_SKIP_IDS.\n - XML_COMPLETE_ATTRS: Load external subset and process\n   default attributes.\n - XML_SKIP_IDS: Ignore IDs."] pub loadsubset : :: std :: os :: raw :: c_int , pub linenumbers : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetCatalogs() and xmlCtxtSetCatalogs()\n\n document's own catalog"] pub catalogs : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlParserOption XML_PARSE_RECOVER\n run in recovery mode"] pub recovery : :: std :: os :: raw :: c_int , pub progressive : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetDict() and xmlCtxtSetDict()\n\n dictionary for the parser"] pub dict : * mut xmlDict , pub atts : * mut * const xmlChar , pub maxatts : :: std :: os :: raw :: c_int , pub docdict : :: std :: os :: raw :: c_int , pub str_xml : * const xmlChar , pub str_xmlns : * const xmlChar , pub str_xml_ns : * const xmlChar , pub sax2 : :: std :: os :: raw :: c_int , pub nsNr : :: std :: os :: raw :: c_int , pub nsMax : :: std :: os :: raw :: c_int , pub nsTab : * mut * const xmlChar , pub attallocs : * mut :: std :: os :: raw :: c_uint , pub pushTab : * mut xmlStartTag , pub attsDefault : * mut xmlHashTable , pub attsSpecial : * mut xmlHashTable , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document XML Namespace okay"] pub nsWellFormed : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetOptions()\n\n Extra options"] pub options : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use inverted xmlParserOption XML_PARSE_NODICT\n\n Use dictionary names for the tree"] pub dictNames : :: std :: os :: raw :: c_int , pub freeElemsNr : :: std :: os :: raw :: c_int , pub freeElems : * mut xmlNode , pub freeAttrsNr : :: std :: os :: raw :: c_int , pub freeAttrs : * mut xmlAttr , # [doc = " @deprecated Use xmlCtxtGetLastError()\n\n the complete error information for the last error."] pub lastError : xmlError , pub parseMode : xmlParserMode , pub nbentities : :: std :: os :: raw :: c_ulong , pub sizeentities : :: std :: os :: raw :: c_ulong , pub nodeInfo : * mut xmlParserNodeInfo , pub nodeInfoNr : :: std :: os :: raw :: c_int , pub nodeInfoMax : :: std :: os :: raw :: c_int , pub nodeInfoTab : * mut xmlParserNodeInfo , pub input_id : :: std :: os :: raw :: c_int , pub sizeentcopy : :: std :: os :: raw :: c_ulong , pub endCheckState : :: std :: os :: raw :: c_int , pub nbErrors : :: std :: os :: raw :: c_ushort , pub nbWarnings : :: std :: os :: raw :: c_ushort , pub maxAmpl : :: std :: os :: raw :: c_uint , pub nsdb : * mut xmlParserNsData , pub attrHashMax : :: std :: os :: raw :: c_uint , pub attrHash : * mut xmlAttrHashBucket , pub errorHandler : xmlStructuredErrorFunc , pub errorCtxt : * mut :: std :: os :: raw :: c_void , pub resourceLoader : xmlResourceLoader , pub resourceCtxt : * mut :: std :: os :: raw :: c_void , pub convImpl : xmlCharEncConvImpl , pub convCtxt : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserCtxt"] [:: std :: mem :: size_of :: < _xmlParserCtxt > () - 840usize] ; ["Alignment of _xmlParserCtxt"] [:: std :: mem :: align_of :: < _xmlParserCtxt > () - 8usize] ; ["Offset of field: _xmlParserCtxt::sax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sax) - 0usize] ; ["Offset of field: _xmlParserCtxt::userData"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , userData) - 8usize] ; ["Offset of field: _xmlParserCtxt::myDoc"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , myDoc) - 16usize] ; ["Offset of field: _xmlParserCtxt::wellFormed"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , wellFormed) - 24usize] ; ["Offset of field: _xmlParserCtxt::replaceEntities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , replaceEntities) - 28usize] ; ["Offset of field: _xmlParserCtxt::version"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , version) - 32usize] ; ["Offset of field: _xmlParserCtxt::encoding"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , encoding) - 40usize] ; ["Offset of field: _xmlParserCtxt::standalone"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , standalone) - 48usize] ; ["Offset of field: _xmlParserCtxt::html"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , html) - 52usize] ; ["Offset of field: _xmlParserCtxt::input"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , input) - 56usize] ; ["Offset of field: _xmlParserCtxt::inputNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputNr) - 64usize] ; ["Offset of field: _xmlParserCtxt::inputMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputMax) - 68usize] ; ["Offset of field: _xmlParserCtxt::inputTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputTab) - 72usize] ; ["Offset of field: _xmlParserCtxt::node"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , node) - 80usize] ; ["Offset of field: _xmlParserCtxt::nodeNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeNr) - 88usize] ; ["Offset of field: _xmlParserCtxt::nodeMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeMax) - 92usize] ; ["Offset of field: _xmlParserCtxt::nodeTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeTab) - 96usize] ; ["Offset of field: _xmlParserCtxt::record_info"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , record_info) - 104usize] ; ["Offset of field: _xmlParserCtxt::node_seq"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , node_seq) - 112usize] ; ["Offset of field: _xmlParserCtxt::errNo"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errNo) - 136usize] ; ["Offset of field: _xmlParserCtxt::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , hasExternalSubset) - 140usize] ; ["Offset of field: _xmlParserCtxt::hasPErefs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , hasPErefs) - 144usize] ; ["Offset of field: _xmlParserCtxt::external"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , external) - 148usize] ; ["Offset of field: _xmlParserCtxt::valid"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , valid) - 152usize] ; ["Offset of field: _xmlParserCtxt::validate"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , validate) - 156usize] ; ["Offset of field: _xmlParserCtxt::vctxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , vctxt) - 160usize] ; ["Offset of field: _xmlParserCtxt::instate"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , instate) - 272usize] ; ["Offset of field: _xmlParserCtxt::token"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , token) - 276usize] ; ["Offset of field: _xmlParserCtxt::directory"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , directory) - 280usize] ; ["Offset of field: _xmlParserCtxt::name"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , name) - 288usize] ; ["Offset of field: _xmlParserCtxt::nameNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameNr) - 296usize] ; ["Offset of field: _xmlParserCtxt::nameMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameMax) - 300usize] ; ["Offset of field: _xmlParserCtxt::nameTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameTab) - 304usize] ; ["Offset of field: _xmlParserCtxt::nbChars"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbChars) - 312usize] ; ["Offset of field: _xmlParserCtxt::checkIndex"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , checkIndex) - 320usize] ; ["Offset of field: _xmlParserCtxt::keepBlanks"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , keepBlanks) - 328usize] ; ["Offset of field: _xmlParserCtxt::disableSAX"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , disableSAX) - 332usize] ; ["Offset of field: _xmlParserCtxt::inSubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inSubset) - 336usize] ; ["Offset of field: _xmlParserCtxt::intSubName"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , intSubName) - 344usize] ; ["Offset of field: _xmlParserCtxt::extSubURI"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , extSubURI) - 352usize] ; ["Offset of field: _xmlParserCtxt::extSubSystem"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , extSubSystem) - 360usize] ; ["Offset of field: _xmlParserCtxt::space"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , space) - 368usize] ; ["Offset of field: _xmlParserCtxt::spaceNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceNr) - 376usize] ; ["Offset of field: _xmlParserCtxt::spaceMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceMax) - 380usize] ; ["Offset of field: _xmlParserCtxt::spaceTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceTab) - 384usize] ; ["Offset of field: _xmlParserCtxt::depth"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , depth) - 392usize] ; ["Offset of field: _xmlParserCtxt::entity"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , entity) - 400usize] ; ["Offset of field: _xmlParserCtxt::charset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , charset) - 408usize] ; ["Offset of field: _xmlParserCtxt::nodelen"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodelen) - 412usize] ; ["Offset of field: _xmlParserCtxt::nodemem"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodemem) - 416usize] ; ["Offset of field: _xmlParserCtxt::pedantic"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , pedantic) - 420usize] ; ["Offset of field: _xmlParserCtxt::_private"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , _private) - 424usize] ; ["Offset of field: _xmlParserCtxt::loadsubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , loadsubset) - 432usize] ; ["Offset of field: _xmlParserCtxt::linenumbers"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , linenumbers) - 436usize] ; ["Offset of field: _xmlParserCtxt::catalogs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , catalogs) - 440usize] ; ["Offset of field: _xmlParserCtxt::recovery"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , recovery) - 448usize] ; ["Offset of field: _xmlParserCtxt::progressive"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , progressive) - 452usize] ; ["Offset of field: _xmlParserCtxt::dict"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , dict) - 456usize] ; ["Offset of field: _xmlParserCtxt::atts"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , atts) - 464usize] ; ["Offset of field: _xmlParserCtxt::maxatts"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , maxatts) - 472usize] ; ["Offset of field: _xmlParserCtxt::docdict"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , docdict) - 476usize] ; ["Offset of field: _xmlParserCtxt::str_xml"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xml) - 480usize] ; ["Offset of field: _xmlParserCtxt::str_xmlns"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xmlns) - 488usize] ; ["Offset of field: _xmlParserCtxt::str_xml_ns"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xml_ns) - 496usize] ; ["Offset of field: _xmlParserCtxt::sax2"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sax2) - 504usize] ; ["Offset of field: _xmlParserCtxt::nsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsNr) - 508usize] ; ["Offset of field: _xmlParserCtxt::nsMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsMax) - 512usize] ; ["Offset of field: _xmlParserCtxt::nsTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsTab) - 520usize] ; ["Offset of field: _xmlParserCtxt::attallocs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attallocs) - 528usize] ; ["Offset of field: _xmlParserCtxt::pushTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , pushTab) - 536usize] ; ["Offset of field: _xmlParserCtxt::attsDefault"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attsDefault) - 544usize] ; ["Offset of field: _xmlParserCtxt::attsSpecial"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attsSpecial) - 552usize] ; ["Offset of field: _xmlParserCtxt::nsWellFormed"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsWellFormed) - 560usize] ; ["Offset of field: _xmlParserCtxt::options"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , options) - 564usize] ; ["Offset of field: _xmlParserCtxt::dictNames"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , dictNames) - 568usize] ; ["Offset of field: _xmlParserCtxt::freeElemsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeElemsNr) - 572usize] ; ["Offset of field: _xmlParserCtxt::freeElems"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeElems) - 576usize] ; ["Offset of field: _xmlParserCtxt::freeAttrsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeAttrsNr) - 584usize] ; ["Offset of field: _xmlParserCtxt::freeAttrs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeAttrs) - 592usize] ; ["Offset of field: _xmlParserCtxt::lastError"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , lastError) - 600usize] ; ["Offset of field: _xmlParserCtxt::parseMode"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , parseMode) - 688usize] ; ["Offset of field: _xmlParserCtxt::nbentities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbentities) - 696usize] ; ["Offset of field: _xmlParserCtxt::sizeentities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sizeentities) - 704usize] ; ["Offset of field: _xmlParserCtxt::nodeInfo"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfo) - 712usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoNr) - 720usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoMax) - 724usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoTab) - 728usize] ; ["Offset of field: _xmlParserCtxt::input_id"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , input_id) - 736usize] ; ["Offset of field: _xmlParserCtxt::sizeentcopy"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sizeentcopy) - 744usize] ; ["Offset of field: _xmlParserCtxt::endCheckState"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , endCheckState) - 752usize] ; ["Offset of field: _xmlParserCtxt::nbErrors"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbErrors) - 756usize] ; ["Offset of field: _xmlParserCtxt::nbWarnings"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbWarnings) - 758usize] ; ["Offset of field: _xmlParserCtxt::maxAmpl"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , maxAmpl) - 760usize] ; ["Offset of field: _xmlParserCtxt::nsdb"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsdb) - 768usize] ; ["Offset of field: _xmlParserCtxt::attrHashMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attrHashMax) - 776usize] ; ["Offset of field: _xmlParserCtxt::attrHash"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attrHash) - 784usize] ; ["Offset of field: _xmlParserCtxt::errorHandler"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errorHandler) - 792usize] ; ["Offset of field: _xmlParserCtxt::errorCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errorCtxt) - 800usize] ; ["Offset of field: _xmlParserCtxt::resourceLoader"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , resourceLoader) - 808usize] ; ["Offset of field: _xmlParserCtxt::resourceCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , resourceCtxt) - 816usize] ; ["Offset of field: _xmlParserCtxt::convImpl"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , convImpl) - 824usize] ; ["Offset of field: _xmlParserCtxt::convCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , convCtxt) - 832usize] ; } ; # [doc = " A SAX Locator."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXLocator { pub getPublicId : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar > , pub getSystemId : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar > , pub getLineNumber : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , pub getColumnNumber : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXLocator"] [:: std :: mem :: size_of :: < _xmlSAXLocator > () - 32usize] ; ["Alignment of _xmlSAXLocator"] [:: std :: mem :: align_of :: < _xmlSAXLocator > () - 8usize] ; ["Offset of field: _xmlSAXLocator::getPublicId"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getPublicId) - 0usize] ; ["Offset of field: _xmlSAXLocator::getSystemId"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getSystemId) - 8usize] ; ["Offset of field: _xmlSAXLocator::getLineNumber"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getLineNumber) - 16usize] ; ["Offset of field: _xmlSAXLocator::getColumnNumber"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getColumnNumber) - 24usize] ; } ; # [doc = " SAX callback to resolve external entities.\n\n This is only used to load DTDs. The preferred way to install\n custom resolvers is #xmlCtxtSetResourceLoader.\n\n @param ctx  the user data (XML parser context)\n @param publicId  The public identifier of the entity\n @param systemId  The system identifier of the entity (URL)\n @returns the xmlParserInput if inlined or NULL for DOM behaviour."] pub type resolveEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlParserInput > ; # [doc = " SAX callback for the internal subset.\n\n @param ctx  the user data (XML parser context)\n @param name  the root element name\n @param publicId  the public identifier\n @param systemId  the system identifier (e.g. filename or URL)"] pub type internalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback for the external subset.\n\n @param ctx  the user data (XML parser context)\n @param name  the root element name\n @param publicId  the public identifier\n @param systemId  the system identifier (e.g. filename or URL)"] pub type externalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback to look up a general entity by name.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name\n @returns the xmlEntity if found."] pub type getEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity > ; # [doc = " SAX callback to look up a parameter entity by name.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name\n @returns the xmlEntity if found."] pub type getParameterEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity > ; # [doc = " SAX callback for entity declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  the entity name\n @param type  the entity type\n @param publicId  The public ID of the entity\n @param systemId  The system ID of the entity\n @param content  the entity value (without processing)."] pub type entityDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * mut xmlChar) > ; # [doc = " SAX callback for notation declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  The name of the notation\n @param publicId  The public ID of the notation\n @param systemId  The system ID of the notation"] pub type notationDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback for attribute declarations.\n\n @param ctx  the user data (XML parser context)\n @param elem  the name of the element\n @param fullname  the attribute name\n @param type  the attribute type\n @param def  the type of default value\n @param defaultValue  the attribute default value\n @param tree  the tree of enumerated value set"] pub type attributeDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , elem : * const xmlChar , fullname : * const xmlChar , type_ : :: std :: os :: raw :: c_int , def : :: std :: os :: raw :: c_int , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) > ; # [doc = " SAX callback for element declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  the element name\n @param type  the element type\n @param content  the element value tree"] pub type elementDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , content : * mut xmlElementContent) > ; # [doc = " SAX callback for unparsed entity declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  The name of the entity\n @param publicId  The public ID of the entity\n @param systemId  The system ID of the entity\n @param notationName  the name of the notation"] pub type unparsedEntityDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar , notationName : * const xmlChar) > ; # [doc = " This callback receives the \"document locator\" at startup,\n which is always the global xmlDefaultSAXLocator.\n\n Everything is available on the context, so this is useless in\n our case.\n\n @param ctx  the user data (XML parser context)\n @param loc  A SAX Locator"] pub type setDocumentLocatorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , loc : * mut xmlSAXLocator) > ; # [doc = " SAX callback for start of document.\n\n @param ctx  the user data (XML parser context)"] pub type startDocumentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) > ; # [doc = " SAX callback for end of document.\n\n @param ctx  the user data (XML parser context)"] pub type endDocumentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) > ; # [doc = " SAX callback for start tags.\n\n @param ctx  the user data (XML parser context)\n @param name  The element name, including namespace prefix\n @param atts  An array of name/value attributes pairs, NULL terminated"] pub type startElementSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , atts : * mut * const xmlChar) > ; # [doc = " SAX callback for end tags.\n\n @param ctx  the user data (XML parser context)\n @param name  The element name"] pub type endElementSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback for attributes.\n\n @deprecated This typedef is unused.\n\n @param ctx  the user data (XML parser context)\n @param name  The attribute name, including namespace prefix\n @param value  The attribute value"] pub type attributeSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , value : * const xmlChar) > ; # [doc = " SAX callback for entity references.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name"] pub type referenceSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " SAX callback for character data.\n\n @param ctx  the user data (XML parser context)\n @param ch  a xmlChar string\n @param len  the number of xmlChar"] pub type charactersSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for \"ignorable\" whitespace.\n\n @param ctx  the user data (XML parser context)\n @param ch  a xmlChar string\n @param len  the number of xmlChar"] pub type ignorableWhitespaceSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for processing instructions.\n\n @param ctx  the user data (XML parser context)\n @param target  the target name\n @param data  the PI data's"] pub type processingInstructionSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , target : * const xmlChar , data : * const xmlChar) > ; # [doc = " SAX callback for comments.\n\n @param ctx  the user data (XML parser context)\n @param value  the comment content"] pub type commentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar) > ; # [doc = " SAX callback for CDATA sections.\n\n @param ctx  the user data (XML parser context)\n @param value  The pcdata content\n @param len  the block length"] pub type cdataBlockSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for warning messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type warningSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback for error messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type errorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback for fatal error messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type fatalErrorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback to get standalone status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type isStandaloneSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX callback to get internal subset status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type hasInternalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX callback to get external subset status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type hasExternalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX2 callback for start tags.\n\n It provides the namespace information for the element, as well as\n the new namespace declarations on the element.\n\n @param ctx  the user data (XML parser context)\n @param localname  the local name of the element\n @param prefix  the element namespace prefix if available\n @param URI  the element namespace name if available\n @param nb_namespaces  number of namespace definitions on that node\n @param namespaces  pointer to the array of prefix/URI pairs namespace definitions\n @param nb_attributes  the number of attributes on that node\n @param nb_defaulted  the number of defaulted attributes. The defaulted\n                  ones are at the end of the array\n @param attributes  pointer to the array of (localname/prefix/URI/value/end)\n               attribute values."] pub type startElementNsSAX2Func = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar , nb_namespaces : :: std :: os :: raw :: c_int , namespaces : * mut * const xmlChar , nb_attributes : :: std :: os :: raw :: c_int , nb_defaulted : :: std :: os :: raw :: c_int , attributes : * mut * const xmlChar) > ; # [doc = " SAX2 callback for end tags.\n\n It provides the namespace information for the element.\n\n @param ctx  the user data (XML parser context)\n @param localname  the local name of the element\n @param prefix  the element namespace prefix if available\n @param URI  the element namespace name if available"] pub type endElementNsSAX2Func = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar) > ; # [doc = " Callbacks for SAX parser\n\n For DTD-related handlers, it's recommended to either use the\n original libxml2 handler or set them to NULL if DTDs can be\n ignored."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXHandler { # [doc = " Called after the start of the document type declaration\n was parsed.\n\n Should typically not be modified."] pub internalSubset : internalSubsetSAXFunc , # [doc = " Standalone status. Not invoked by the parser. Not supposed\n to be changed by applications."] pub isStandalone : isStandaloneSAXFunc , # [doc = " Internal subset availability. Not invoked by the parser.\n Not supposed to be changed by applications."] pub hasInternalSubset : hasInternalSubsetSAXFunc , # [doc = " External subset availability. Not invoked by the parser.\n Not supposed to be changed by applications."] pub hasExternalSubset : hasExternalSubsetSAXFunc , # [doc = " Only called when loading external DTDs. Not called to load\n external entities.\n\n Should typically not be modified."] pub resolveEntity : resolveEntitySAXFunc , # [doc = " Called when looking up general entities.\n\n Should typically not be modified."] pub getEntity : getEntitySAXFunc , # [doc = " Called after an entity declaration was parsed.\n\n Should typically not be modified."] pub entityDecl : entityDeclSAXFunc , # [doc = " Called after a notation declaration was parsed.\n\n Should typically not be modified."] pub notationDecl : notationDeclSAXFunc , # [doc = " Called after an attribute declaration was parsed.\n\n Should typically not be modified."] pub attributeDecl : attributeDeclSAXFunc , # [doc = " Called after an element declaration was parsed.\n\n Should typically not be modified."] pub elementDecl : elementDeclSAXFunc , # [doc = " Called after an unparsed entity declaration was parsed.\n\n Should typically not be modified."] pub unparsedEntityDecl : unparsedEntityDeclSAXFunc , # [doc = " This callback receives the \"document locator\" at startup,\n which is always the global xmlDefaultSAXLocator.\n\n Everything is available on the context, so this is useless in\n our case."] pub setDocumentLocator : setDocumentLocatorSAXFunc , # [doc = " Called after the XML declaration was parsed.\n\n Use xmlCtxtGetVersion(), xmlCtxtGetDeclaredEncoding() and\n xmlCtxtGetStandalone() to get data from the XML declaration."] pub startDocument : startDocumentSAXFunc , # [doc = " Called at the end of the document."] pub endDocument : endDocumentSAXFunc , # [doc = " Legacy start tag handler\n\n `startElement` and `endElement` are only used by the legacy SAX1\n interface and should not be used in new software. If you really\n have to enable SAX1, the preferred way is set the `initialized`\n member to 1 instead of XML_SAX2_MAGIC.\n\n For backward compatibility, it's also possible to set the\n `startElementNs` and `endElementNs` handlers to NULL.\n\n You can also set the XML_PARSE_SAX1 parser option, but versions\n older than 2.12.0 will probably crash if this option is provided\n together with custom SAX callbacks."] pub startElement : startElementSAXFunc , # [doc = " See _xmlSAXHandler.startElement"] pub endElement : endElementSAXFunc , # [doc = " Called after an entity reference was parsed."] pub reference : referenceSAXFunc , # [doc = " Called after a character data was parsed."] pub characters : charactersSAXFunc , # [doc = " Called after \"ignorable\" whitespace was parsed.\n\n `ignorableWhitespace` should always be set to the same value\n as `characters`. Otherwise, the parser will try to detect\n whitespace which is unreliable."] pub ignorableWhitespace : ignorableWhitespaceSAXFunc , # [doc = " Called after a processing instruction was parsed."] pub processingInstruction : processingInstructionSAXFunc , # [doc = " Called after a comment was parsed."] pub comment : commentSAXFunc , # [doc = " Callback for warning messages."] pub warning : warningSAXFunc , # [doc = " Callback for error messages."] pub error : errorSAXFunc , # [doc = " Unused, all errors go to `error`."] pub fatalError : fatalErrorSAXFunc , # [doc = " Called when looking up parameter entities.\n\n Should typically not be modified."] pub getParameterEntity : getParameterEntitySAXFunc , # [doc = " Called after a CDATA section was parsed."] pub cdataBlock : cdataBlockSAXFunc , # [doc = " Called to parse the external subset.\n\n Should typically not be modified."] pub externalSubset : externalSubsetSAXFunc , # [doc = " Legacy magic value\n\n `initialized` should always be set to XML_SAX2_MAGIC to\n enable the modern SAX2 interface."] pub initialized : :: std :: os :: raw :: c_uint , # [doc = " Application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " Called after a start tag was parsed."] pub startElementNs : startElementNsSAX2Func , # [doc = " Called after an end tag was parsed."] pub endElementNs : endElementNsSAX2Func , # [doc = " Structured error handler.\n\n Takes precedence over `error` or `warning`, but modern code\n should use xmlCtxtSetErrorHandler()."] pub serror : xmlStructuredErrorFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXHandler"] [:: std :: mem :: size_of :: < _xmlSAXHandler > () - 256usize] ; ["Alignment of _xmlSAXHandler"] [:: std :: mem :: align_of :: < _xmlSAXHandler > () - 8usize] ; ["Offset of field: _xmlSAXHandler::internalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , internalSubset) - 0usize] ; ["Offset of field: _xmlSAXHandler::isStandalone"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , isStandalone) - 8usize] ; ["Offset of field: _xmlSAXHandler::hasInternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , hasInternalSubset) - 16usize] ; ["Offset of field: _xmlSAXHandler::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , hasExternalSubset) - 24usize] ; ["Offset of field: _xmlSAXHandler::resolveEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , resolveEntity) - 32usize] ; ["Offset of field: _xmlSAXHandler::getEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , getEntity) - 40usize] ; ["Offset of field: _xmlSAXHandler::entityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , entityDecl) - 48usize] ; ["Offset of field: _xmlSAXHandler::notationDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , notationDecl) - 56usize] ; ["Offset of field: _xmlSAXHandler::attributeDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , attributeDecl) - 64usize] ; ["Offset of field: _xmlSAXHandler::elementDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , elementDecl) - 72usize] ; ["Offset of field: _xmlSAXHandler::unparsedEntityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , unparsedEntityDecl) - 80usize] ; ["Offset of field: _xmlSAXHandler::setDocumentLocator"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , setDocumentLocator) - 88usize] ; ["Offset of field: _xmlSAXHandler::startDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startDocument) - 96usize] ; ["Offset of field: _xmlSAXHandler::endDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endDocument) - 104usize] ; ["Offset of field: _xmlSAXHandler::startElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startElement) - 112usize] ; ["Offset of field: _xmlSAXHandler::endElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endElement) - 120usize] ; ["Offset of field: _xmlSAXHandler::reference"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , reference) - 128usize] ; ["Offset of field: _xmlSAXHandler::characters"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , characters) - 136usize] ; ["Offset of field: _xmlSAXHandler::ignorableWhitespace"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , ignorableWhitespace) - 144usize] ; ["Offset of field: _xmlSAXHandler::processingInstruction"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , processingInstruction) - 152usize] ; ["Offset of field: _xmlSAXHandler::comment"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , comment) - 160usize] ; ["Offset of field: _xmlSAXHandler::warning"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , warning) - 168usize] ; ["Offset of field: _xmlSAXHandler::error"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , error) - 176usize] ; ["Offset of field: _xmlSAXHandler::fatalError"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , fatalError) - 184usize] ; ["Offset of field: _xmlSAXHandler::getParameterEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , getParameterEntity) - 192usize] ; ["Offset of field: _xmlSAXHandler::cdataBlock"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , cdataBlock) - 200usize] ; ["Offset of field: _xmlSAXHandler::externalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , externalSubset) - 208usize] ; ["Offset of field: _xmlSAXHandler::initialized"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , initialized) - 216usize] ; ["Offset of field: _xmlSAXHandler::_private"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , _private) - 224usize] ; ["Offset of field: _xmlSAXHandler::startElementNs"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startElementNs) - 232usize] ; ["Offset of field: _xmlSAXHandler::endElementNs"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endElementNs) - 240usize] ; ["Offset of field: _xmlSAXHandler::serror"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , serror) - 248usize] ; } ; # [doc = " SAX handler, version 1.\n\n @deprecated Use version 2 handlers."] pub type xmlSAXHandlerV1 = _xmlSAXHandlerV1 ; pub type xmlSAXHandlerV1Ptr = * mut xmlSAXHandlerV1 ; # [doc = " SAX handler, version 1.\n\n @deprecated Use version 2 handlers."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXHandlerV1 { pub internalSubset : internalSubsetSAXFunc , pub isStandalone : isStandaloneSAXFunc , pub hasInternalSubset : hasInternalSubsetSAXFunc , pub hasExternalSubset : hasExternalSubsetSAXFunc , pub resolveEntity : resolveEntitySAXFunc , pub getEntity : getEntitySAXFunc , pub entityDecl : entityDeclSAXFunc , pub notationDecl : notationDeclSAXFunc , pub attributeDecl : attributeDeclSAXFunc , pub elementDecl : elementDeclSAXFunc , pub unparsedEntityDecl : unparsedEntityDeclSAXFunc , pub setDocumentLocator : setDocumentLocatorSAXFunc , pub startDocument : startDocumentSAXFunc , pub endDocument : endDocumentSAXFunc , pub startElement : startElementSAXFunc , pub endElement : endElementSAXFunc , pub reference : referenceSAXFunc , pub characters : charactersSAXFunc , pub ignorableWhitespace : ignorableWhitespaceSAXFunc , pub processingInstruction : processingInstructionSAXFunc , pub comment : commentSAXFunc , pub warning : warningSAXFunc , pub error : errorSAXFunc , pub fatalError : fatalErrorSAXFunc , pub getParameterEntity : getParameterEntitySAXFunc , pub cdataBlock : cdataBlockSAXFunc , pub externalSubset : externalSubsetSAXFunc , pub initialized : :: std :: os :: raw :: c_uint , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXHandlerV1"] [:: std :: mem :: size_of :: < _xmlSAXHandlerV1 > () - 224usize] ; ["Alignment of _xmlSAXHandlerV1"] [:: std :: mem :: align_of :: < _xmlSAXHandlerV1 > () - 8usize] ; ["Offset of field: _xmlSAXHandlerV1::internalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , internalSubset) - 0usize] ; ["Offset of field: _xmlSAXHandlerV1::isStandalone"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , isStandalone) - 8usize] ; ["Offset of field: _xmlSAXHandlerV1::hasInternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , hasInternalSubset) - 16usize] ; ["Offset of field: _xmlSAXHandlerV1::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , hasExternalSubset) - 24usize] ; ["Offset of field: _xmlSAXHandlerV1::resolveEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , resolveEntity) - 32usize] ; ["Offset of field: _xmlSAXHandlerV1::getEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , getEntity) - 40usize] ; ["Offset of field: _xmlSAXHandlerV1::entityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , entityDecl) - 48usize] ; ["Offset of field: _xmlSAXHandlerV1::notationDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , notationDecl) - 56usize] ; ["Offset of field: _xmlSAXHandlerV1::attributeDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , attributeDecl) - 64usize] ; ["Offset of field: _xmlSAXHandlerV1::elementDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , elementDecl) - 72usize] ; ["Offset of field: _xmlSAXHandlerV1::unparsedEntityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , unparsedEntityDecl) - 80usize] ; ["Offset of field: _xmlSAXHandlerV1::setDocumentLocator"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , setDocumentLocator) - 88usize] ; ["Offset of field: _xmlSAXHandlerV1::startDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , startDocument) - 96usize] ; ["Offset of field: _xmlSAXHandlerV1::endDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , endDocument) - 104usize] ; ["Offset of field: _xmlSAXHandlerV1::startElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , startElement) - 112usize] ; ["Offset of field: _xmlSAXHandlerV1::endElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , endElement) - 120usize] ; ["Offset of field: _xmlSAXHandlerV1::reference"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , reference) - 128usize] ; ["Offset of field: _xmlSAXHandlerV1::characters"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , characters) - 136usize] ; ["Offset of field: _xmlSAXHandlerV1::ignorableWhitespace"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , ignorableWhitespace) - 144usize] ; ["Offset of field: _xmlSAXHandlerV1::processingInstruction"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , processingInstruction) - 152usize] ; ["Offset of field: _xmlSAXHandlerV1::comment"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , comment) - 160usize] ; ["Offset of field: _xmlSAXHandlerV1::warning"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , warning) - 168usize] ; ["Offset of field: _xmlSAXHandlerV1::error"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , error) - 176usize] ; ["Offset of field: _xmlSAXHandlerV1::fatalError"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , fatalError) - 184usize] ; ["Offset of field: _xmlSAXHandlerV1::getParameterEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , getParameterEntity) - 192usize] ; ["Offset of field: _xmlSAXHandlerV1::cdataBlock"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , cdataBlock) - 200usize] ; ["Offset of field: _xmlSAXHandlerV1::externalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , externalSubset) - 208usize] ; ["Offset of field: _xmlSAXHandlerV1::initialized"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , initialized) - 216usize] ; } ; # [doc = " Callback for external entity loader.\n\n The URL is not resolved using XML catalogs before being passed\n to the callback.\n\n @param URL  The URL or system ID of the resource requested\n @param publicId  The public ID of the resource requested (optional)\n @param context  the XML parser context\n @returns the entity input parser or NULL on error."] pub type xmlExternalEntityLoader = :: std :: option :: Option < unsafe extern "C" fn (URL : * const :: std :: os :: raw :: c_char , publicId : * const :: std :: os :: raw :: c_char , context : * mut xmlParserCtxt) -> * mut xmlParserInput > ; unsafe extern "C" { pub static xmlParserVersion : * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { # [doc = " @cond ignore"] pub static xmlDefaultSAXLocator : xmlSAXLocator ; } unsafe extern "C" { # [doc = " @deprecated Use #xmlSAXVersion or #xmlSAX2InitDefaultSAXHandler"] pub static xmlDefaultSAXHandler : xmlSAXHandlerV1 ; } unsafe extern "C" { pub fn __xmlDoValidityCheckingDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlGetWarningsDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlKeepBlanksDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlLineNumbersDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlLoadExtDtdDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlPedanticParserDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlSubstituteEntitiesDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlIndentTreeOutput () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlTreeIndentString () -> * mut * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn __xmlSaveNoEmptyTags () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlInitParser () ; } unsafe extern "C" { pub fn xmlCleanupParser () ; } unsafe extern "C" { pub fn xmlInitGlobals () ; } unsafe extern "C" { pub fn xmlCleanupGlobals () ; } unsafe extern "C" { pub fn xmlParserInputRead (in_ : * mut xmlParserInput , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputGrow (in_ : * mut xmlParserInput , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseDoc (cur : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseFile (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSubstituteEntitiesDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlKeepBlanksDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStopParser (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlPedanticParserDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlLineNumbersDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefSubstituteEntitiesDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefKeepBlanksDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefPedanticParserDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefLineNumbersDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefDoValidityCheckingDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefGetWarningsDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefLoadExtDtdDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRecoverDoc (cur : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlRecoverMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlRecoverFile (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseDocument (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseExtParsedEnt (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXUserParseFile (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXUserParseMemory (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXParseDoc (sax : * mut xmlSAXHandler , cur : * const xmlChar , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseMemory (sax : * mut xmlSAXHandler , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseMemoryWithData (sax : * mut xmlSAXHandler , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , recovery : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseFile (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseFileWithData (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char , recovery : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseEntity (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseEntity (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseDtd (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlCtxtValidateDocument (ctxt : * mut xmlParserCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtValidateDtd (ctxt : * mut xmlParserCtxt , doc : * mut xmlDoc , dtd : * mut xmlDtd) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXParseDTD (sax : * mut xmlSAXHandler , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlParseDTD (publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlIOParseDTD (sax : * mut xmlSAXHandler , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlParseBalancedChunkMemory (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , string : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseInNodeContext (node : * mut xmlNode , data : * const :: std :: os :: raw :: c_char , datalen : :: std :: os :: raw :: c_int , options : :: std :: os :: raw :: c_int , lst : * mut * mut xmlNode) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlParseBalancedChunkMemoryRecover (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , string : * const xmlChar , lst : * mut * mut xmlNode , recover : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseExternalEntity (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , URL : * const xmlChar , ID : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseCtxtExternalEntity (ctx : * mut xmlParserCtxt , URL : * const xmlChar , ID : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNewParserCtxt () -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlNewSAXParserCtxt (sax : * const xmlSAXHandler , userData : * mut :: std :: os :: raw :: c_void) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlInitParserCtxt (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlClearParserCtxt (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlFreeParserCtxt (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlSetupParserForBuffer (ctxt : * mut xmlParserCtxt , buffer : * const xmlChar , filename : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlCreateDocParserCtxt (cur : * const xmlChar) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlCreatePushParserCtxt (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , filename : * const :: std :: os :: raw :: c_char) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlParseChunk (ctxt : * mut xmlParserCtxt , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , terminate : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCreateIOParserCtxt (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , enc : xmlCharEncoding) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlNewIOInputStream (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlParserFindNodeInfo (ctxt : * mut xmlParserCtxt , node : * mut xmlNode) -> * const xmlParserNodeInfo ; } unsafe extern "C" { pub fn xmlInitNodeInfoSeq (seq : * mut xmlParserNodeInfoSeq) ; } unsafe extern "C" { pub fn xmlClearNodeInfoSeq (seq : * mut xmlParserNodeInfoSeq) ; } unsafe extern "C" { pub fn xmlParserFindNodeInfoIndex (seq : * mut xmlParserNodeInfoSeq , node : * mut xmlNode) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlParserAddNodeInfo (ctxt : * mut xmlParserCtxt , info : * mut xmlParserNodeInfo) ; } unsafe extern "C" { pub fn xmlSetExternalEntityLoader (f : xmlExternalEntityLoader) ; } unsafe extern "C" { pub fn xmlGetExternalEntityLoader () -> xmlExternalEntityLoader ; } unsafe extern "C" { pub fn xmlLoadExternalEntity (URL : * const :: std :: os :: raw :: c_char , ID : * const :: std :: os :: raw :: c_char , ctxt : * mut xmlParserCtxt) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlByteConsumed (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_long ; } # [doc = " Enable \"recovery\" mode which allows non-wellformed documents.\n How this mode behaves exactly is unspecified and may change\n without further notice. Use of this feature is DISCOURAGED.\n\n Not supported by the push parser."] pub const xmlParserOption_XML_PARSE_RECOVER : xmlParserOption = 1 ; # [doc = " Despite the confusing name, this option enables substitution\n of entities. The resulting tree won't contain any entity\n reference nodes.\n\n This option also enables loading of external entities (both\n general and parameter entities) which is dangerous. If you\n process untrusted data, it's recommended to set the\n XML_PARSE_NO_XXE option to disable loading of external\n entities."] pub const xmlParserOption_XML_PARSE_NOENT : xmlParserOption = 2 ; # [doc = " Enables loading of an external DTD and the loading and\n substitution of external parameter entities. Has no effect\n if XML_PARSE_NO_XXE is set."] pub const xmlParserOption_XML_PARSE_DTDLOAD : xmlParserOption = 4 ; # [doc = " Adds default attributes from the DTD to the result document.\n\n Implies XML_PARSE_DTDLOAD, but loading of external content\n can be disabled with XML_PARSE_NO_XXE."] pub const xmlParserOption_XML_PARSE_DTDATTR : xmlParserOption = 8 ; # [doc = " This option enables DTD validation which requires to load\n external DTDs and external entities (both general and\n parameter entities) unless XML_PARSE_NO_XXE was set.\n\n DTD validation is vulnerable to algorithmic complexity\n attacks and should never be enabled with untrusted input."] pub const xmlParserOption_XML_PARSE_DTDVALID : xmlParserOption = 16 ; # [doc = " Disable error and warning reports to the error handlers.\n Errors are still accessible with xmlCtxtGetLastError()."] pub const xmlParserOption_XML_PARSE_NOERROR : xmlParserOption = 32 ; # [doc = " Disable warning reports."] pub const xmlParserOption_XML_PARSE_NOWARNING : xmlParserOption = 64 ; # [doc = " Enable some pedantic warnings."] pub const xmlParserOption_XML_PARSE_PEDANTIC : xmlParserOption = 128 ; # [doc = " Remove some whitespace from the result document. Where to\n remove whitespace depends on DTD element declarations or a\n broken heuristic with unfixable bugs. Use of this option is\n DISCOURAGED.\n\n Not supported by the push parser."] pub const xmlParserOption_XML_PARSE_NOBLANKS : xmlParserOption = 256 ; # [doc = " Always invoke the deprecated SAX1 startElement and endElement\n handlers.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_SAX1 : xmlParserOption = 512 ; # [doc = " Enable XInclude processing. This option only affects the\n xmlTextReader and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_XINCLUDE : xmlParserOption = 1024 ; # [doc = " Disable network access with the built-in HTTP or FTP clients.\n\n After the last built-in network client was removed in 2.15,\n this option has no effect expect for being passed on to custom\n resource loaders."] pub const xmlParserOption_XML_PARSE_NONET : xmlParserOption = 2048 ; # [doc = " Create a document without interned strings, making all\n strings separate memory allocations."] pub const xmlParserOption_XML_PARSE_NODICT : xmlParserOption = 4096 ; # [doc = " Remove redundant namespace declarations from the result\n document."] pub const xmlParserOption_XML_PARSE_NSCLEAN : xmlParserOption = 8192 ; # [doc = " Output normal text nodes instead of CDATA nodes."] pub const xmlParserOption_XML_PARSE_NOCDATA : xmlParserOption = 16384 ; # [doc = " Don't generate XInclude start/end nodes when expanding\n inclusions. This option only affects the xmlTextReader\n and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_NOXINCNODE : xmlParserOption = 32768 ; # [doc = " Store small strings directly in the node struct to save\n memory."] pub const xmlParserOption_XML_PARSE_COMPACT : xmlParserOption = 65536 ; # [doc = " Use old Name productions from before XML 1.0 Fifth Edition.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_OLD10 : xmlParserOption = 131072 ; # [doc = " Don't fix up XInclude xml:base URIs. This option only affects\n the xmlTextReader and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_NOBASEFIX : xmlParserOption = 262144 ; # [doc = " Relax some internal limits.\n\n Maximum size of text nodes, tags, comments, processing instructions,\n CDATA sections, entity values\n\n normal: 10M\n huge:    1B\n\n Maximum size of names, system literals, pubid literals\n\n normal: 50K\n huge:   10M\n\n Maximum nesting depth of elements\n\n normal:  256\n huge:   2048\n\n Maximum nesting depth of entities\n\n normal: 20\n huge:   40"] pub const xmlParserOption_XML_PARSE_HUGE : xmlParserOption = 524288 ; # [doc = " Enable an unspecified legacy mode for SAX parsers.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_OLDSAX : xmlParserOption = 1048576 ; # [doc = " Ignore the encoding in the XML declaration. This option is\n mostly unneeded these days. The only effect is to enforce\n UTF-8 decoding of ASCII-like data."] pub const xmlParserOption_XML_PARSE_IGNORE_ENC : xmlParserOption = 2097152 ; # [doc = " Enable reporting of line numbers larger than 65535."] pub const xmlParserOption_XML_PARSE_BIG_LINES : xmlParserOption = 4194304 ; # [doc = " Disables loading of external DTDs or entities.\n\n @since 2.13.0"] pub const xmlParserOption_XML_PARSE_NO_XXE : xmlParserOption = 8388608 ; # [doc = " Enable input decompression. Setting this option is discouraged\n to avoid zip bombs.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_UNZIP : xmlParserOption = 16777216 ; # [doc = " Disables the global system XML catalog.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_NO_SYS_CATALOG : xmlParserOption = 33554432 ; # [doc = " Enable XML catalog processing instructions.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_CATALOG_PI : xmlParserOption = 67108864 ; # [doc = " Force the parser to ignore IDs.\n\n @since 2.15.0"] pub const xmlParserOption_XML_PARSE_SKIP_IDS : xmlParserOption = 134217728 ; # [doc = " This is the set of XML parser options that can be passed to\n #xmlReadDoc, #xmlCtxtSetOptions and other functions."] pub type xmlParserOption = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlCtxtReset (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlCtxtResetPush (ctxt : * mut xmlParserCtxt , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , filename : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetOptions (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtSetOptions (ctxt : * mut xmlParserCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtUseOptions (ctxt : * mut xmlParserCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetPrivate (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtSetPrivate (ctxt : * mut xmlParserCtxt , priv_ : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtGetCatalogs (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtSetCatalogs (ctxt : * mut xmlParserCtxt , catalogs : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtGetDict (ctxt : * mut xmlParserCtxt) -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlCtxtSetDict (ctxt : * mut xmlParserCtxt , arg1 : * mut xmlDict) ; } unsafe extern "C" { pub fn xmlCtxtGetSaxHandler (ctxt : * mut xmlParserCtxt) -> * mut xmlSAXHandler ; } unsafe extern "C" { pub fn xmlCtxtSetSaxHandler (ctxt : * mut xmlParserCtxt , sax : * const xmlSAXHandler) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetDocument (ctxt : * mut xmlParserCtxt) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtIsHtml (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtIsStopped (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtIsInSubset (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetValidCtxt (ctxt : * mut xmlParserCtxt) -> * mut xmlValidCtxt ; } unsafe extern "C" { pub fn xmlCtxtGetVersion (ctxt : * mut xmlParserCtxt) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCtxtGetDeclaredEncoding (ctxt : * mut xmlParserCtxt) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCtxtGetStandalone (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetStatus (ctxt : * mut xmlParserCtxt) -> xmlParserStatus ; } unsafe extern "C" { pub fn xmlCtxtGetUserData (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtGetNode (ctxt : * mut xmlParserCtxt) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCtxtGetDocTypeDecl (ctxt : * mut xmlParserCtxt , name : * mut * const xmlChar , systemId : * mut * const xmlChar , publicId : * mut * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetInputPosition (ctxt : * mut xmlParserCtxt , inputIndex : :: std :: os :: raw :: c_int , filname : * mut * const :: std :: os :: raw :: c_char , line : * mut :: std :: os :: raw :: c_int , col : * mut :: std :: os :: raw :: c_int , bytePos : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetInputWindow (ctxt : * mut xmlParserCtxt , inputIndex : :: std :: os :: raw :: c_int , startOut : * mut * const xmlChar , sizeInOut : * mut :: std :: os :: raw :: c_int , offsetOut : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtSetErrorHandler (ctxt : * mut xmlParserCtxt , handler : xmlStructuredErrorFunc , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetResourceLoader (ctxt : * mut xmlParserCtxt , loader : xmlResourceLoader , vctxt : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetCharEncConvImpl (ctxt : * mut xmlParserCtxt , impl_ : xmlCharEncConvImpl , vctxt : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetMaxAmplification (ctxt : * mut xmlParserCtxt , maxAmpl : :: std :: os :: raw :: c_uint) ; } unsafe extern "C" { pub fn xmlReadDoc (cur : * const xmlChar , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadFile (URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadFd (fd : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadIO (ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseDocument (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseContent (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput , node : * mut xmlNode , hasTextDecl : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCtxtReadDoc (ctxt : * mut xmlParserCtxt , cur : * const xmlChar , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadFile (ctxt : * mut xmlParserCtxt , filename : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadMemory (ctxt : * mut xmlParserCtxt , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadFd (ctxt : * mut xmlParserCtxt , fd : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadIO (ctxt : * mut xmlParserCtxt , ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlNewInputFromUrl (url : * const :: std :: os :: raw :: c_char , flags : xmlParserInputFlags , out : * mut * mut xmlParserInput) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlNewInputFromMemory (url : * const :: std :: os :: raw :: c_char , mem : * const :: std :: os :: raw :: c_void , size : usize , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromString (url : * const :: std :: os :: raw :: c_char , str_ : * const :: std :: os :: raw :: c_char , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromFd (url : * const :: std :: os :: raw :: c_char , fd : :: std :: os :: raw :: c_int , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromIO (url : * const :: std :: os :: raw :: c_char , ioRead : xmlInputReadCallback , ioClose : xmlInputCloseCallback , ioCtxt : * mut :: std :: os :: raw :: c_void , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlInputSetEncodingHandler (input : * mut xmlParserInput , handler : * mut xmlCharEncodingHandler) -> xmlParserErrors ; } # [doc = " Multithreading support"] pub const xmlFeature_XML_WITH_THREAD : xmlFeature = 1 ; # [doc = " @deprecated Always available"] pub const xmlFeature_XML_WITH_TREE : xmlFeature = 2 ; # [doc = " Serialization support"] pub const xmlFeature_XML_WITH_OUTPUT : xmlFeature = 3 ; # [doc = " Push parser"] pub const xmlFeature_XML_WITH_PUSH : xmlFeature = 4 ; # [doc = " XML Reader"] pub const xmlFeature_XML_WITH_READER : xmlFeature = 5 ; # [doc = " Streaming patterns"] pub const xmlFeature_XML_WITH_PATTERN : xmlFeature = 6 ; # [doc = " XML Writer"] pub const xmlFeature_XML_WITH_WRITER : xmlFeature = 7 ; # [doc = " Legacy SAX1 API"] pub const xmlFeature_XML_WITH_SAX1 : xmlFeature = 8 ; # [doc = " @deprecated FTP support was removed"] pub const xmlFeature_XML_WITH_FTP : xmlFeature = 9 ; # [doc = " @deprecated HTTP support was removed"] pub const xmlFeature_XML_WITH_HTTP : xmlFeature = 10 ; # [doc = " DTD validation"] pub const xmlFeature_XML_WITH_VALID : xmlFeature = 11 ; # [doc = " HTML parser"] pub const xmlFeature_XML_WITH_HTML : xmlFeature = 12 ; # [doc = " Legacy symbols"] pub const xmlFeature_XML_WITH_LEGACY : xmlFeature = 13 ; # [doc = " Canonical XML"] pub const xmlFeature_XML_WITH_C14N : xmlFeature = 14 ; # [doc = " XML Catalogs"] pub const xmlFeature_XML_WITH_CATALOG : xmlFeature = 15 ; # [doc = " XPath"] pub const xmlFeature_XML_WITH_XPATH : xmlFeature = 16 ; # [doc = " XPointer"] pub const xmlFeature_XML_WITH_XPTR : xmlFeature = 17 ; # [doc = " XInclude"] pub const xmlFeature_XML_WITH_XINCLUDE : xmlFeature = 18 ; # [doc = " iconv"] pub const xmlFeature_XML_WITH_ICONV : xmlFeature = 19 ; # [doc = " Built-in ISO-8859-X"] pub const xmlFeature_XML_WITH_ISO8859X : xmlFeature = 20 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_UNICODE : xmlFeature = 21 ; # [doc = " Regular expressions"] pub const xmlFeature_XML_WITH_REGEXP : xmlFeature = 22 ; # [doc = " @deprecated Same as XML_WITH_REGEXP"] pub const xmlFeature_XML_WITH_AUTOMATA : xmlFeature = 23 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_EXPR : xmlFeature = 24 ; # [doc = " XML Schemas"] pub const xmlFeature_XML_WITH_SCHEMAS : xmlFeature = 25 ; # [doc = " Schematron"] pub const xmlFeature_XML_WITH_SCHEMATRON : xmlFeature = 26 ; # [doc = " Loadable modules"] pub const xmlFeature_XML_WITH_MODULES : xmlFeature = 27 ; # [doc = " Debugging API"] pub const xmlFeature_XML_WITH_DEBUG : xmlFeature = 28 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_DEBUG_MEM : xmlFeature = 29 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_DEBUG_RUN : xmlFeature = 30 ; # [doc = " GZIP compression"] pub const xmlFeature_XML_WITH_ZLIB : xmlFeature = 31 ; # [doc = " ICU"] pub const xmlFeature_XML_WITH_ICU : xmlFeature = 32 ; # [doc = " @deprecated LZMA support was removed"] pub const xmlFeature_XML_WITH_LZMA : xmlFeature = 33 ; # [doc = " RELAXNG, since 2.14"] pub const xmlFeature_XML_WITH_RELAXNG : xmlFeature = 34 ; # [doc = " RELAXNG, since 2.14"] pub const xmlFeature_XML_WITH_NONE : xmlFeature = 99999 ; # [doc = " Used to examine the existence of features that can be enabled\n or disabled at compile-time.\n They used to be called XML_FEATURE_xxx but this clashed with Expat"] pub type xmlFeature = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlHasFeature (feature : xmlFeature) -> :: std :: os :: raw :: c_int ; } pub const xmlSchemaValidError_XML_SCHEMAS_ERR_OK : xmlSchemaValidError = 0 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOROOT : xmlSchemaValidError = 1 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_UNDECLAREDELEM : xmlSchemaValidError = 2 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTTOPLEVEL : xmlSchemaValidError = 3 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_MISSING : xmlSchemaValidError = 4 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_WRONGELEM : xmlSchemaValidError = 5 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTYPE : xmlSchemaValidError = 6 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOROLLBACK : xmlSchemaValidError = 7 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ISABSTRACT : xmlSchemaValidError = 8 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTEMPTY : xmlSchemaValidError = 9 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ELEMCONT : xmlSchemaValidError = 10 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_HAVEDEFAULT : xmlSchemaValidError = 11 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTNILLABLE : xmlSchemaValidError = 12 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_EXTRACONTENT : xmlSchemaValidError = 13 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INVALIDATTR : xmlSchemaValidError = 14 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INVALIDELEM : xmlSchemaValidError = 15 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTDETERMINIST : xmlSchemaValidError = 16 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_CONSTRUCT : xmlSchemaValidError = 17 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INTERNAL : xmlSchemaValidError = 18 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTSIMPLE : xmlSchemaValidError = 19 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ATTRUNKNOWN : xmlSchemaValidError = 20 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ATTRINVALID : xmlSchemaValidError = 21 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_VALUE : xmlSchemaValidError = 22 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_FACET : xmlSchemaValidError = 23 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ : xmlSchemaValidError = 24 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_XXX : xmlSchemaValidError = 25 ; # [doc = " This error codes are obsolete; not used any more."] pub type xmlSchemaValidError = :: std :: os :: raw :: c_uint ; pub const xmlSchemaValidOption_XML_SCHEMA_VAL_VC_I_CREATE : xmlSchemaValidOption = 1 ; # [doc = " This is the set of XML Schema validation options."] pub type xmlSchemaValidOption = :: std :: os :: raw :: c_uint ; # [doc = " XML schema"] pub type xmlSchema = _xmlSchema ; pub type xmlSchemaPtr = * mut xmlSchema ; # [doc = " Signature of an error callback from an XSD validation\n\n @param ctx  the validation context\n @param msg  the message\n @param ... extra arguments"] pub type xmlSchemaValidityErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Signature of a warning callback from an XSD validation\n\n @param ctx  the validation context\n @param msg  the message\n @param ... extra arguments"] pub type xmlSchemaValidityWarningFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaParserCtxt { _unused : [u8 ; 0] , } # [doc = " Schema parser context"] pub type xmlSchemaParserCtxt = _xmlSchemaParserCtxt ; pub type xmlSchemaParserCtxtPtr = * mut xmlSchemaParserCtxt ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaValidCtxt { _unused : [u8 ; 0] , } # [doc = " Schema validation context"] pub type xmlSchemaValidCtxt = _xmlSchemaValidCtxt ; pub type xmlSchemaValidCtxtPtr = * mut xmlSchemaValidCtxt ; # [doc = " A schemas validation locator, a callback called by the validator.\n This is used when file or node information are not available\n to find out what file and line number are affected\n\n @param ctx  user provided context\n @param file  returned file information\n @param line  returned line information\n @returns 0 in case of success and -1 in case of error"] pub type xmlSchemaValidityLocatorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , file : * mut * const :: std :: os :: raw :: c_char , line : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int > ; unsafe extern "C" { pub fn xmlSchemaNewParserCtxt (URL : * const :: std :: os :: raw :: c_char) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaNewMemParserCtxt (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaNewDocParserCtxt (doc : * mut xmlDoc) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaFreeParserCtxt (ctxt : * mut xmlSchemaParserCtxt) ; } unsafe extern "C" { pub fn xmlSchemaSetParserErrors (ctxt : * mut xmlSchemaParserCtxt , err : xmlSchemaValidityErrorFunc , warn : xmlSchemaValidityWarningFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaSetParserStructuredErrors (ctxt : * mut xmlSchemaParserCtxt , serror : xmlStructuredErrorFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaGetParserErrors (ctxt : * mut xmlSchemaParserCtxt , err : * mut xmlSchemaValidityErrorFunc , warn : * mut xmlSchemaValidityWarningFunc , ctx : * mut * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaSetResourceLoader (ctxt : * mut xmlSchemaParserCtxt , loader : xmlResourceLoader , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaIsValid (ctxt : * mut xmlSchemaValidCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaParse (ctxt : * mut xmlSchemaParserCtxt) -> * mut xmlSchema ; } unsafe extern "C" { pub fn xmlSchemaFree (schema : * mut xmlSchema) ; } unsafe extern "C" { pub fn xmlSchemaDump (output : * mut FILE , schema : * mut xmlSchema) ; } unsafe extern "C" { pub fn xmlSchemaSetValidErrors (ctxt : * mut xmlSchemaValidCtxt , err : xmlSchemaValidityErrorFunc , warn : xmlSchemaValidityWarningFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaSetValidStructuredErrors (ctxt : * mut xmlSchemaValidCtxt , serror : xmlStructuredErrorFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaGetValidErrors (ctxt : * mut xmlSchemaValidCtxt , err : * mut xmlSchemaValidityErrorFunc , warn : * mut xmlSchemaValidityWarningFunc , ctx : * mut * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaSetValidOptions (ctxt : * mut xmlSchemaValidCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateSetFilename (vctxt : * mut xmlSchemaValidCtxt , filename : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlSchemaValidCtxtGetOptions (ctxt : * mut xmlSchemaValidCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaNewValidCtxt (schema : * mut xmlSchema) -> * mut xmlSchemaValidCtxt ; } unsafe extern "C" { pub fn xmlSchemaFreeValidCtxt (ctxt : * mut xmlSchemaValidCtxt) ; } unsafe extern "C" { pub fn xmlSchemaValidateDoc (ctxt : * mut xmlSchemaValidCtxt , instance : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateOneElement (ctxt : * mut xmlSchemaValidCtxt , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateStream (ctxt : * mut xmlSchemaValidCtxt , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding , sax : * const xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFile (ctxt : * mut xmlSchemaValidCtxt , filename : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidCtxtGetParserCtxt (ctxt : * mut xmlSchemaValidCtxt) -> * mut xmlParserCtxt ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaSAXPlug { _unused : [u8 ; 0] , } # [doc = " Interface to insert Schemas SAX validation in a SAX stream"] pub type xmlSchemaSAXPlugStruct = _xmlSchemaSAXPlug ; pub type xmlSchemaSAXPlugPtr = * mut xmlSchemaSAXPlugStruct ; unsafe extern "C" { pub fn xmlSchemaSAXPlug (ctxt : * mut xmlSchemaValidCtxt , sax : * mut * mut xmlSAXHandler , user_data : * mut * mut :: std :: os :: raw :: c_void) -> * mut xmlSchemaSAXPlugStruct ; } unsafe extern "C" { pub fn xmlSchemaSAXUnplug (plug : * mut xmlSchemaSAXPlugStruct) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateSetLocator (vctxt : * mut xmlSchemaValidCtxt , f : xmlSchemaValidityLocatorFunc , ctxt : * mut :: std :: os :: raw :: c_void) ; } pub const xmlSchemaValType_XML_SCHEMAS_UNKNOWN : xmlSchemaValType = 0 ; pub const xmlSchemaValType_XML_SCHEMAS_STRING : xmlSchemaValType = 1 ; pub const xmlSchemaValType_XML_SCHEMAS_NORMSTRING : xmlSchemaValType = 2 ; pub const xmlSchemaValType_XML_SCHEMAS_DECIMAL : xmlSchemaValType = 3 ; pub const xmlSchemaValType_XML_SCHEMAS_TIME : xmlSchemaValType = 4 ; pub const xmlSchemaValType_XML_SCHEMAS_GDAY : xmlSchemaValType = 5 ; pub const xmlSchemaValType_XML_SCHEMAS_GMONTH : xmlSchemaValType = 6 ; pub const xmlSchemaValType_XML_SCHEMAS_GMONTHDAY : xmlSchemaValType = 7 ; pub const xmlSchemaValType_XML_SCHEMAS_GYEAR : xmlSchemaValType = 8 ; pub const xmlSchemaValType_XML_SCHEMAS_GYEARMONTH : xmlSchemaValType = 9 ; pub const xmlSchemaValType_XML_SCHEMAS_DATE : xmlSchemaValType = 10 ; pub const xmlSchemaValType_XML_SCHEMAS_DATETIME : xmlSchemaValType = 11 ; pub const xmlSchemaValType_XML_SCHEMAS_DURATION : xmlSchemaValType = 12 ; pub const xmlSchemaValType_XML_SCHEMAS_FLOAT : xmlSchemaValType = 13 ; pub const xmlSchemaValType_XML_SCHEMAS_DOUBLE : xmlSchemaValType = 14 ; pub const xmlSchemaValType_XML_SCHEMAS_BOOLEAN : xmlSchemaValType = 15 ; pub const xmlSchemaValType_XML_SCHEMAS_TOKEN : xmlSchemaValType = 16 ; pub const xmlSchemaValType_XML_SCHEMAS_LANGUAGE : xmlSchemaValType = 17 ; pub const xmlSchemaValType_XML_SCHEMAS_NMTOKEN : xmlSchemaValType = 18 ; pub const xmlSchemaValType_XML_SCHEMAS_NMTOKENS : xmlSchemaValType = 19 ; pub const xmlSchemaValType_XML_SCHEMAS_NAME : xmlSchemaValType = 20 ; pub const xmlSchemaValType_XML_SCHEMAS_QNAME : xmlSchemaValType = 21 ; pub const xmlSchemaValType_XML_SCHEMAS_NCNAME : xmlSchemaValType = 22 ; pub const xmlSchemaValType_XML_SCHEMAS_ID : xmlSchemaValType = 23 ; pub const xmlSchemaValType_XML_SCHEMAS_IDREF : xmlSchemaValType = 24 ; pub const xmlSchemaValType_XML_SCHEMAS_IDREFS : xmlSchemaValType = 25 ; pub const xmlSchemaValType_XML_SCHEMAS_ENTITY : xmlSchemaValType = 26 ; pub const xmlSchemaValType_XML_SCHEMAS_ENTITIES : xmlSchemaValType = 27 ; pub const xmlSchemaValType_XML_SCHEMAS_NOTATION : xmlSchemaValType = 28 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYURI : xmlSchemaValType = 29 ; pub const xmlSchemaValType_XML_SCHEMAS_INTEGER : xmlSchemaValType = 30 ; pub const xmlSchemaValType_XML_SCHEMAS_NPINTEGER : xmlSchemaValType = 31 ; pub const xmlSchemaValType_XML_SCHEMAS_NINTEGER : xmlSchemaValType = 32 ; pub const xmlSchemaValType_XML_SCHEMAS_NNINTEGER : xmlSchemaValType = 33 ; pub const xmlSchemaValType_XML_SCHEMAS_PINTEGER : xmlSchemaValType = 34 ; pub const xmlSchemaValType_XML_SCHEMAS_INT : xmlSchemaValType = 35 ; pub const xmlSchemaValType_XML_SCHEMAS_UINT : xmlSchemaValType = 36 ; pub const xmlSchemaValType_XML_SCHEMAS_LONG : xmlSchemaValType = 37 ; pub const xmlSchemaValType_XML_SCHEMAS_ULONG : xmlSchemaValType = 38 ; pub const xmlSchemaValType_XML_SCHEMAS_SHORT : xmlSchemaValType = 39 ; pub const xmlSchemaValType_XML_SCHEMAS_USHORT : xmlSchemaValType = 40 ; pub const xmlSchemaValType_XML_SCHEMAS_BYTE : xmlSchemaValType = 41 ; pub const xmlSchemaValType_XML_SCHEMAS_UBYTE : xmlSchemaValType = 42 ; pub const xmlSchemaValType_XML_SCHEMAS_HEXBINARY : xmlSchemaValType = 43 ; pub const xmlSchemaValType_XML_SCHEMAS_BASE64BINARY : xmlSchemaValType = 44 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYTYPE : xmlSchemaValType = 45 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYSIMPLETYPE : xmlSchemaValType = 46 ; # [doc = " Schema value type"] pub type xmlSchemaValType = :: std :: os :: raw :: c_uint ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_BASIC : xmlSchemaTypeType = 1 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ANY : xmlSchemaTypeType = 2 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_FACET : xmlSchemaTypeType = 3 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SIMPLE : xmlSchemaTypeType = 4 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_COMPLEX : xmlSchemaTypeType = 5 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SEQUENCE : xmlSchemaTypeType = 6 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_CHOICE : xmlSchemaTypeType = 7 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ALL : xmlSchemaTypeType = 8 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SIMPLE_CONTENT : xmlSchemaTypeType = 9 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_COMPLEX_CONTENT : xmlSchemaTypeType = 10 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_UR : xmlSchemaTypeType = 11 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_RESTRICTION : xmlSchemaTypeType = 12 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_EXTENSION : xmlSchemaTypeType = 13 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ELEMENT : xmlSchemaTypeType = 14 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTE : xmlSchemaTypeType = 15 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTEGROUP : xmlSchemaTypeType = 16 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_GROUP : xmlSchemaTypeType = 17 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_NOTATION : xmlSchemaTypeType = 18 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_LIST : xmlSchemaTypeType = 19 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_UNION : xmlSchemaTypeType = 20 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ANY_ATTRIBUTE : xmlSchemaTypeType = 21 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_UNIQUE : xmlSchemaTypeType = 22 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_KEY : xmlSchemaTypeType = 23 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_KEYREF : xmlSchemaTypeType = 24 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_PARTICLE : xmlSchemaTypeType = 25 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTE_USE : xmlSchemaTypeType = 26 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MININCLUSIVE : xmlSchemaTypeType = 1000 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MINEXCLUSIVE : xmlSchemaTypeType = 1001 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXINCLUSIVE : xmlSchemaTypeType = 1002 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXEXCLUSIVE : xmlSchemaTypeType = 1003 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_TOTALDIGITS : xmlSchemaTypeType = 1004 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_FRACTIONDIGITS : xmlSchemaTypeType = 1005 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_PATTERN : xmlSchemaTypeType = 1006 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_ENUMERATION : xmlSchemaTypeType = 1007 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_WHITESPACE : xmlSchemaTypeType = 1008 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_LENGTH : xmlSchemaTypeType = 1009 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXLENGTH : xmlSchemaTypeType = 1010 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MINLENGTH : xmlSchemaTypeType = 1011 ; pub const xmlSchemaTypeType_XML_SCHEMA_EXTRA_QNAMEREF : xmlSchemaTypeType = 2000 ; pub const xmlSchemaTypeType_XML_SCHEMA_EXTRA_ATTR_USE_PROHIB : xmlSchemaTypeType = 2001 ; # [doc = " XML Schemas defines multiple type of types."] pub type xmlSchemaTypeType = :: std :: os :: raw :: c_uint ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_UNKNOWN : xmlSchemaContentType = 0 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_EMPTY : xmlSchemaContentType = 1 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_ELEMENTS : xmlSchemaContentType = 2 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_MIXED : xmlSchemaContentType = 3 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_SIMPLE : xmlSchemaContentType = 4 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_MIXED_OR_ELEMENTS : xmlSchemaContentType = 5 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_BASIC : xmlSchemaContentType = 6 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_ANY : xmlSchemaContentType = 7 ; # [doc = " Schema content type"] pub type xmlSchemaContentType = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaVal { _unused : [u8 ; 0] , } # [doc = " Schema value"] pub type xmlSchemaVal = _xmlSchemaVal ; pub type xmlSchemaValPtr = * mut xmlSchemaVal ; # [doc = " Schema type"] pub type xmlSchemaType = _xmlSchemaType ; pub type xmlSchemaTypePtr = * mut xmlSchemaType ; # [doc = " Schema facet"] pub type xmlSchemaFacet = _xmlSchemaFacet ; pub type xmlSchemaFacetPtr = * mut xmlSchemaFacet ; # [doc = " Schema annotation"] pub type xmlSchemaAnnot = _xmlSchemaAnnot ; pub type xmlSchemaAnnotPtr = * mut xmlSchemaAnnot ; # [doc = " Annotation"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAnnot { pub next : * mut _xmlSchemaAnnot , pub content : * mut xmlNode , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAnnot"] [:: std :: mem :: size_of :: < _xmlSchemaAnnot > () - 16usize] ; ["Alignment of _xmlSchemaAnnot"] [:: std :: mem :: align_of :: < _xmlSchemaAnnot > () - 8usize] ; ["Offset of field: _xmlSchemaAnnot::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAnnot , next) - 0usize] ; ["Offset of field: _xmlSchemaAnnot::content"] [:: std :: mem :: offset_of ! (_xmlSchemaAnnot , content) - 8usize] ; } ; # [doc = " Schema attribute definition"] pub type xmlSchemaAttribute = _xmlSchemaAttribute ; pub type xmlSchemaAttributePtr = * mut xmlSchemaAttribute ; # [doc = " An attribute definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttribute { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaAttribute , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub typeName : * const xmlChar , pub typeNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub base : * mut xmlSchemaType , pub occurs : :: std :: os :: raw :: c_int , pub defValue : * const xmlChar , pub subtypes : * mut xmlSchemaType , pub node : * mut xmlNode , pub targetNamespace : * const xmlChar , pub flags : :: std :: os :: raw :: c_int , pub refPrefix : * const xmlChar , pub defVal : * mut xmlSchemaVal , pub refDecl : * mut xmlSchemaAttribute , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttribute"] [:: std :: mem :: size_of :: < _xmlSchemaAttribute > () - 152usize] ; ["Alignment of _xmlSchemaAttribute"] [:: std :: mem :: align_of :: < _xmlSchemaAttribute > () - 8usize] ; ["Offset of field: _xmlSchemaAttribute::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , type_) - 0usize] ; ["Offset of field: _xmlSchemaAttribute::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , next) - 8usize] ; ["Offset of field: _xmlSchemaAttribute::name"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , name) - 16usize] ; ["Offset of field: _xmlSchemaAttribute::id"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , id) - 24usize] ; ["Offset of field: _xmlSchemaAttribute::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , ref_) - 32usize] ; ["Offset of field: _xmlSchemaAttribute::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refNs) - 40usize] ; ["Offset of field: _xmlSchemaAttribute::typeName"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , typeName) - 48usize] ; ["Offset of field: _xmlSchemaAttribute::typeNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , typeNs) - 56usize] ; ["Offset of field: _xmlSchemaAttribute::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , annot) - 64usize] ; ["Offset of field: _xmlSchemaAttribute::base"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , base) - 72usize] ; ["Offset of field: _xmlSchemaAttribute::occurs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , occurs) - 80usize] ; ["Offset of field: _xmlSchemaAttribute::defValue"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , defValue) - 88usize] ; ["Offset of field: _xmlSchemaAttribute::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , subtypes) - 96usize] ; ["Offset of field: _xmlSchemaAttribute::node"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , node) - 104usize] ; ["Offset of field: _xmlSchemaAttribute::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , targetNamespace) - 112usize] ; ["Offset of field: _xmlSchemaAttribute::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , flags) - 120usize] ; ["Offset of field: _xmlSchemaAttribute::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refPrefix) - 128usize] ; ["Offset of field: _xmlSchemaAttribute::defVal"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , defVal) - 136usize] ; ["Offset of field: _xmlSchemaAttribute::refDecl"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refDecl) - 144usize] ; } ; # [doc = " Linked list of schema attributes"] pub type xmlSchemaAttributeLink = _xmlSchemaAttributeLink ; pub type xmlSchemaAttributeLinkPtr = * mut xmlSchemaAttributeLink ; # [doc = " Used to build a list of attribute uses on complexType definitions.\n WARNING: Deprecated; not used."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttributeLink { pub next : * mut _xmlSchemaAttributeLink , pub attr : * mut _xmlSchemaAttribute , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttributeLink"] [:: std :: mem :: size_of :: < _xmlSchemaAttributeLink > () - 16usize] ; ["Alignment of _xmlSchemaAttributeLink"] [:: std :: mem :: align_of :: < _xmlSchemaAttributeLink > () - 8usize] ; ["Offset of field: _xmlSchemaAttributeLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeLink , next) - 0usize] ; ["Offset of field: _xmlSchemaAttributeLink::attr"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeLink , attr) - 8usize] ; } ; # [doc = " Namespace wildcard"] pub type xmlSchemaWildcardNs = _xmlSchemaWildcardNs ; pub type xmlSchemaWildcardNsPtr = * mut xmlSchemaWildcardNs ; # [doc = " Used to build a list of namespaces on wildcards."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaWildcardNs { pub next : * mut _xmlSchemaWildcardNs , pub value : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaWildcardNs"] [:: std :: mem :: size_of :: < _xmlSchemaWildcardNs > () - 16usize] ; ["Alignment of _xmlSchemaWildcardNs"] [:: std :: mem :: align_of :: < _xmlSchemaWildcardNs > () - 8usize] ; ["Offset of field: _xmlSchemaWildcardNs::next"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcardNs , next) - 0usize] ; ["Offset of field: _xmlSchemaWildcardNs::value"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcardNs , value) - 8usize] ; } ; # [doc = " Name wildcard"] pub type xmlSchemaWildcard = _xmlSchemaWildcard ; pub type xmlSchemaWildcardPtr = * mut xmlSchemaWildcard ; # [doc = " A wildcard."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaWildcard { pub type_ : xmlSchemaTypeType , pub id : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub processContents : :: std :: os :: raw :: c_int , pub any : :: std :: os :: raw :: c_int , pub nsSet : * mut xmlSchemaWildcardNs , pub negNsSet : * mut xmlSchemaWildcardNs , pub flags : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaWildcard"] [:: std :: mem :: size_of :: < _xmlSchemaWildcard > () - 72usize] ; ["Alignment of _xmlSchemaWildcard"] [:: std :: mem :: align_of :: < _xmlSchemaWildcard > () - 8usize] ; ["Offset of field: _xmlSchemaWildcard::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , type_) - 0usize] ; ["Offset of field: _xmlSchemaWildcard::id"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , id) - 8usize] ; ["Offset of field: _xmlSchemaWildcard::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , annot) - 16usize] ; ["Offset of field: _xmlSchemaWildcard::node"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , node) - 24usize] ; ["Offset of field: _xmlSchemaWildcard::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , minOccurs) - 32usize] ; ["Offset of field: _xmlSchemaWildcard::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , maxOccurs) - 36usize] ; ["Offset of field: _xmlSchemaWildcard::processContents"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , processContents) - 40usize] ; ["Offset of field: _xmlSchemaWildcard::any"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , any) - 44usize] ; ["Offset of field: _xmlSchemaWildcard::nsSet"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , nsSet) - 48usize] ; ["Offset of field: _xmlSchemaWildcard::negNsSet"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , negNsSet) - 56usize] ; ["Offset of field: _xmlSchemaWildcard::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , flags) - 64usize] ; } ; # [doc = " Attribute group"] pub type xmlSchemaAttributeGroup = _xmlSchemaAttributeGroup ; pub type xmlSchemaAttributeGroupPtr = * mut xmlSchemaAttributeGroup ; # [doc = " An attribute group definition.\n\n xmlSchemaAttribute and xmlSchemaAttributeGroup start of structures\n must be kept similar"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttributeGroup { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaAttribute , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub flags : :: std :: os :: raw :: c_int , pub attributeWildcard : * mut xmlSchemaWildcard , pub refPrefix : * const xmlChar , pub refItem : * mut xmlSchemaAttributeGroup , pub targetNamespace : * const xmlChar , pub attrUses : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttributeGroup"] [:: std :: mem :: size_of :: < _xmlSchemaAttributeGroup > () - 120usize] ; ["Alignment of _xmlSchemaAttributeGroup"] [:: std :: mem :: align_of :: < _xmlSchemaAttributeGroup > () - 8usize] ; ["Offset of field: _xmlSchemaAttributeGroup::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , type_) - 0usize] ; ["Offset of field: _xmlSchemaAttributeGroup::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , next) - 8usize] ; ["Offset of field: _xmlSchemaAttributeGroup::name"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , name) - 16usize] ; ["Offset of field: _xmlSchemaAttributeGroup::id"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , id) - 24usize] ; ["Offset of field: _xmlSchemaAttributeGroup::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , ref_) - 32usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refNs) - 40usize] ; ["Offset of field: _xmlSchemaAttributeGroup::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , annot) - 48usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attributes) - 56usize] ; ["Offset of field: _xmlSchemaAttributeGroup::node"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , node) - 64usize] ; ["Offset of field: _xmlSchemaAttributeGroup::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , flags) - 72usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attributeWildcard"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attributeWildcard) - 80usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refPrefix) - 88usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refItem"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refItem) - 96usize] ; ["Offset of field: _xmlSchemaAttributeGroup::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , targetNamespace) - 104usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attrUses"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attrUses) - 112usize] ; } ; # [doc = " Linked list of schema types"] pub type xmlSchemaTypeLink = _xmlSchemaTypeLink ; pub type xmlSchemaTypeLinkPtr = * mut xmlSchemaTypeLink ; # [doc = " Used to build a list of types (e.g. member types of\n simpleType with variety \"union\")."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaTypeLink { pub next : * mut _xmlSchemaTypeLink , pub type_ : * mut xmlSchemaType , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaTypeLink"] [:: std :: mem :: size_of :: < _xmlSchemaTypeLink > () - 16usize] ; ["Alignment of _xmlSchemaTypeLink"] [:: std :: mem :: align_of :: < _xmlSchemaTypeLink > () - 8usize] ; ["Offset of field: _xmlSchemaTypeLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaTypeLink , next) - 0usize] ; ["Offset of field: _xmlSchemaTypeLink::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaTypeLink , type_) - 8usize] ; } ; # [doc = " Linked list of schema facets"] pub type xmlSchemaFacetLink = _xmlSchemaFacetLink ; pub type xmlSchemaFacetLinkPtr = * mut xmlSchemaFacetLink ; # [doc = " Used to build a list of facets."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaFacetLink { pub next : * mut _xmlSchemaFacetLink , pub facet : * mut xmlSchemaFacet , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaFacetLink"] [:: std :: mem :: size_of :: < _xmlSchemaFacetLink > () - 16usize] ; ["Alignment of _xmlSchemaFacetLink"] [:: std :: mem :: align_of :: < _xmlSchemaFacetLink > () - 8usize] ; ["Offset of field: _xmlSchemaFacetLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaFacetLink , next) - 0usize] ; ["Offset of field: _xmlSchemaFacetLink::facet"] [:: std :: mem :: offset_of ! (_xmlSchemaFacetLink , facet) - 8usize] ; } ; # [doc = " Schemas type definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaType { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaType , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub subtypes : * mut xmlSchemaType , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub flags : :: std :: os :: raw :: c_int , pub contentType : xmlSchemaContentType , pub base : * const xmlChar , pub baseNs : * const xmlChar , pub baseType : * mut xmlSchemaType , pub facets : * mut xmlSchemaFacet , pub redef : * mut _xmlSchemaType , pub recurse : :: std :: os :: raw :: c_int , pub attributeUses : * mut * mut xmlSchemaAttributeLink , pub attributeWildcard : * mut xmlSchemaWildcard , pub builtInType : :: std :: os :: raw :: c_int , pub memberTypes : * mut xmlSchemaTypeLink , pub facetSet : * mut xmlSchemaFacetLink , pub refPrefix : * const xmlChar , pub contentTypeDef : * mut xmlSchemaType , pub contModel : * mut xmlRegexp , pub targetNamespace : * const xmlChar , pub attrUses : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaType"] [:: std :: mem :: size_of :: < _xmlSchemaType > () - 224usize] ; ["Alignment of _xmlSchemaType"] [:: std :: mem :: align_of :: < _xmlSchemaType > () - 8usize] ; ["Offset of field: _xmlSchemaType::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaType , type_) - 0usize] ; ["Offset of field: _xmlSchemaType::next"] [:: std :: mem :: offset_of ! (_xmlSchemaType , next) - 8usize] ; ["Offset of field: _xmlSchemaType::name"] [:: std :: mem :: offset_of ! (_xmlSchemaType , name) - 16usize] ; ["Offset of field: _xmlSchemaType::id"] [:: std :: mem :: offset_of ! (_xmlSchemaType , id) - 24usize] ; ["Offset of field: _xmlSchemaType::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaType , ref_) - 32usize] ; ["Offset of field: _xmlSchemaType::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , refNs) - 40usize] ; ["Offset of field: _xmlSchemaType::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaType , annot) - 48usize] ; ["Offset of field: _xmlSchemaType::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , subtypes) - 56usize] ; ["Offset of field: _xmlSchemaType::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributes) - 64usize] ; ["Offset of field: _xmlSchemaType::node"] [:: std :: mem :: offset_of ! (_xmlSchemaType , node) - 72usize] ; ["Offset of field: _xmlSchemaType::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , minOccurs) - 80usize] ; ["Offset of field: _xmlSchemaType::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , maxOccurs) - 84usize] ; ["Offset of field: _xmlSchemaType::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaType , flags) - 88usize] ; ["Offset of field: _xmlSchemaType::contentType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contentType) - 92usize] ; ["Offset of field: _xmlSchemaType::base"] [:: std :: mem :: offset_of ! (_xmlSchemaType , base) - 96usize] ; ["Offset of field: _xmlSchemaType::baseNs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , baseNs) - 104usize] ; ["Offset of field: _xmlSchemaType::baseType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , baseType) - 112usize] ; ["Offset of field: _xmlSchemaType::facets"] [:: std :: mem :: offset_of ! (_xmlSchemaType , facets) - 120usize] ; ["Offset of field: _xmlSchemaType::redef"] [:: std :: mem :: offset_of ! (_xmlSchemaType , redef) - 128usize] ; ["Offset of field: _xmlSchemaType::recurse"] [:: std :: mem :: offset_of ! (_xmlSchemaType , recurse) - 136usize] ; ["Offset of field: _xmlSchemaType::attributeUses"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributeUses) - 144usize] ; ["Offset of field: _xmlSchemaType::attributeWildcard"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributeWildcard) - 152usize] ; ["Offset of field: _xmlSchemaType::builtInType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , builtInType) - 160usize] ; ["Offset of field: _xmlSchemaType::memberTypes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , memberTypes) - 168usize] ; ["Offset of field: _xmlSchemaType::facetSet"] [:: std :: mem :: offset_of ! (_xmlSchemaType , facetSet) - 176usize] ; ["Offset of field: _xmlSchemaType::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaType , refPrefix) - 184usize] ; ["Offset of field: _xmlSchemaType::contentTypeDef"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contentTypeDef) - 192usize] ; ["Offset of field: _xmlSchemaType::contModel"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contModel) - 200usize] ; ["Offset of field: _xmlSchemaType::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaType , targetNamespace) - 208usize] ; ["Offset of field: _xmlSchemaType::attrUses"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attrUses) - 216usize] ; } ; # [doc = " Schema element definition"] pub type xmlSchemaElement = _xmlSchemaElement ; pub type xmlSchemaElementPtr = * mut xmlSchemaElement ; # [doc = " An element definition.\n\n xmlSchemaType, xmlSchemaFacet and xmlSchemaElement start of\n structures must be kept similar"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaElement { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaType , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub subtypes : * mut xmlSchemaType , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub flags : :: std :: os :: raw :: c_int , pub targetNamespace : * const xmlChar , pub namedType : * const xmlChar , pub namedTypeNs : * const xmlChar , pub substGroup : * const xmlChar , pub substGroupNs : * const xmlChar , pub scope : * const xmlChar , pub value : * const xmlChar , pub refDecl : * mut _xmlSchemaElement , pub contModel : * mut xmlRegexp , pub contentType : xmlSchemaContentType , pub refPrefix : * const xmlChar , pub defVal : * mut xmlSchemaVal , pub idcs : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaElement"] [:: std :: mem :: size_of :: < _xmlSchemaElement > () - 200usize] ; ["Alignment of _xmlSchemaElement"] [:: std :: mem :: align_of :: < _xmlSchemaElement > () - 8usize] ; ["Offset of field: _xmlSchemaElement::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , type_) - 0usize] ; ["Offset of field: _xmlSchemaElement::next"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , next) - 8usize] ; ["Offset of field: _xmlSchemaElement::name"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , name) - 16usize] ; ["Offset of field: _xmlSchemaElement::id"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , id) - 24usize] ; ["Offset of field: _xmlSchemaElement::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , ref_) - 32usize] ; ["Offset of field: _xmlSchemaElement::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refNs) - 40usize] ; ["Offset of field: _xmlSchemaElement::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , annot) - 48usize] ; ["Offset of field: _xmlSchemaElement::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , subtypes) - 56usize] ; ["Offset of field: _xmlSchemaElement::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , attributes) - 64usize] ; ["Offset of field: _xmlSchemaElement::node"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , node) - 72usize] ; ["Offset of field: _xmlSchemaElement::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , minOccurs) - 80usize] ; ["Offset of field: _xmlSchemaElement::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , maxOccurs) - 84usize] ; ["Offset of field: _xmlSchemaElement::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , flags) - 88usize] ; ["Offset of field: _xmlSchemaElement::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , targetNamespace) - 96usize] ; ["Offset of field: _xmlSchemaElement::namedType"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , namedType) - 104usize] ; ["Offset of field: _xmlSchemaElement::namedTypeNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , namedTypeNs) - 112usize] ; ["Offset of field: _xmlSchemaElement::substGroup"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , substGroup) - 120usize] ; ["Offset of field: _xmlSchemaElement::substGroupNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , substGroupNs) - 128usize] ; ["Offset of field: _xmlSchemaElement::scope"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , scope) - 136usize] ; ["Offset of field: _xmlSchemaElement::value"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , value) - 144usize] ; ["Offset of field: _xmlSchemaElement::refDecl"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refDecl) - 152usize] ; ["Offset of field: _xmlSchemaElement::contModel"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , contModel) - 160usize] ; ["Offset of field: _xmlSchemaElement::contentType"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , contentType) - 168usize] ; ["Offset of field: _xmlSchemaElement::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refPrefix) - 176usize] ; ["Offset of field: _xmlSchemaElement::defVal"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , defVal) - 184usize] ; ["Offset of field: _xmlSchemaElement::idcs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , idcs) - 192usize] ; } ; # [doc = " A facet definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaFacet { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaFacet , pub value : * const xmlChar , pub id : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub node : * mut xmlNode , pub fixed : :: std :: os :: raw :: c_int , pub whitespace : :: std :: os :: raw :: c_int , pub val : * mut xmlSchemaVal , pub regexp : * mut xmlRegexp , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaFacet"] [:: std :: mem :: size_of :: < _xmlSchemaFacet > () - 72usize] ; ["Alignment of _xmlSchemaFacet"] [:: std :: mem :: align_of :: < _xmlSchemaFacet > () - 8usize] ; ["Offset of field: _xmlSchemaFacet::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , type_) - 0usize] ; ["Offset of field: _xmlSchemaFacet::next"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , next) - 8usize] ; ["Offset of field: _xmlSchemaFacet::value"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , value) - 16usize] ; ["Offset of field: _xmlSchemaFacet::id"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , id) - 24usize] ; ["Offset of field: _xmlSchemaFacet::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , annot) - 32usize] ; ["Offset of field: _xmlSchemaFacet::node"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , node) - 40usize] ; ["Offset of field: _xmlSchemaFacet::fixed"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , fixed) - 48usize] ; ["Offset of field: _xmlSchemaFacet::whitespace"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , whitespace) - 52usize] ; ["Offset of field: _xmlSchemaFacet::val"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , val) - 56usize] ; ["Offset of field: _xmlSchemaFacet::regexp"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , regexp) - 64usize] ; } ; # [doc = " Schema notation"] pub type xmlSchemaNotation = _xmlSchemaNotation ; pub type xmlSchemaNotationPtr = * mut xmlSchemaNotation ; # [doc = " A notation definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaNotation { pub type_ : xmlSchemaTypeType , pub name : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub identifier : * const xmlChar , pub targetNamespace : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaNotation"] [:: std :: mem :: size_of :: < _xmlSchemaNotation > () - 40usize] ; ["Alignment of _xmlSchemaNotation"] [:: std :: mem :: align_of :: < _xmlSchemaNotation > () - 8usize] ; ["Offset of field: _xmlSchemaNotation::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , type_) - 0usize] ; ["Offset of field: _xmlSchemaNotation::name"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , name) - 8usize] ; ["Offset of field: _xmlSchemaNotation::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , annot) - 16usize] ; ["Offset of field: _xmlSchemaNotation::identifier"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , identifier) - 24usize] ; ["Offset of field: _xmlSchemaNotation::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , targetNamespace) - 32usize] ; } ; # [doc = " A Schemas definition"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchema { pub name : * const xmlChar , pub targetNamespace : * const xmlChar , pub version : * const xmlChar , pub id : * const xmlChar , pub doc : * mut xmlDoc , pub annot : * mut xmlSchemaAnnot , pub flags : :: std :: os :: raw :: c_int , pub typeDecl : * mut xmlHashTable , pub attrDecl : * mut xmlHashTable , pub attrgrpDecl : * mut xmlHashTable , pub elemDecl : * mut xmlHashTable , pub notaDecl : * mut xmlHashTable , pub schemasImports : * mut xmlHashTable , pub _private : * mut :: std :: os :: raw :: c_void , pub groupDecl : * mut xmlHashTable , pub dict : * mut xmlDict , pub includes : * mut :: std :: os :: raw :: c_void , pub preserve : :: std :: os :: raw :: c_int , pub counter : :: std :: os :: raw :: c_int , pub idcDef : * mut xmlHashTable , pub volatiles : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchema"] [:: std :: mem :: size_of :: < _xmlSchema > () - 160usize] ; ["Alignment of _xmlSchema"] [:: std :: mem :: align_of :: < _xmlSchema > () - 8usize] ; ["Offset of field: _xmlSchema::name"] [:: std :: mem :: offset_of ! (_xmlSchema , name) - 0usize] ; ["Offset of field: _xmlSchema::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchema , targetNamespace) - 8usize] ; ["Offset of field: _xmlSchema::version"] [:: std :: mem :: offset_of ! (_xmlSchema , version) - 16usize] ; ["Offset of field: _xmlSchema::id"] [:: std :: mem :: offset_of ! (_xmlSchema , id) - 24usize] ; ["Offset of field: _xmlSchema::doc"] [:: std :: mem :: offset_of ! (_xmlSchema , doc) - 32usize] ; ["Offset of field: _xmlSchema::annot"] [:: std :: mem :: offset_of ! (_xmlSchema , annot) - 40usize] ; ["Offset of field: _xmlSchema::flags"] [:: std :: mem :: offset_of ! (_xmlSchema , flags) - 48usize] ; ["Offset of field: _xmlSchema::typeDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , typeDecl) - 56usize] ; ["Offset of field: _xmlSchema::attrDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , attrDecl) - 64usize] ; ["Offset of field: _xmlSchema::attrgrpDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , attrgrpDecl) - 72usize] ; ["Offset of field: _xmlSchema::elemDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , elemDecl) - 80usize] ; ["Offset of field: _xmlSchema::notaDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , notaDecl) - 88usize] ; ["Offset of field: _xmlSchema::schemasImports"] [:: std :: mem :: offset_of ! (_xmlSchema , schemasImports) - 96usize] ; ["Offset of field: _xmlSchema::_private"] [:: std :: mem :: offset_of ! (_xmlSchema , _private) - 104usize] ; ["Offset of field: _xmlSchema::groupDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , groupDecl) - 112usize] ; ["Offset of field: _xmlSchema::dict"] [:: std :: mem :: offset_of ! (_xmlSchema , dict) - 120usize] ; ["Offset of field: _xmlSchema::includes"] [:: std :: mem :: offset_of ! (_xmlSchema , includes) - 128usize] ; ["Offset of field: _xmlSchema::preserve"] [:: std :: mem :: offset_of ! (_xmlSchema , preserve) - 136usize] ; ["Offset of field: _xmlSchema::counter"] [:: std :: mem :: offset_of ! (_xmlSchema , counter) - 140usize] ; ["Offset of field: _xmlSchema::idcDef"] [:: std :: mem :: offset_of ! (_xmlSchema , idcDef) - 144usize] ; ["Offset of field: _xmlSchema::volatiles"] [:: std :: mem :: offset_of ! (_xmlSchema , volatiles) - 152usize] ; } ; unsafe extern "C" { pub fn xmlSchemaFreeType (type_ : * mut xmlSchemaType) ; } unsafe extern "C" { pub fn xmlSchemaFreeWildcard (wildcard : * mut xmlSchemaWildcard) ; } pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_UNKNOWN : xmlSchemaWhitespaceValueType = 0 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_PRESERVE : xmlSchemaWhitespaceValueType = 1 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_REPLACE : xmlSchemaWhitespaceValueType = 2 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_COLLAPSE : xmlSchemaWhitespaceValueType = 3 ; # [doc = " Schema whitespace value type"] pub type xmlSchemaWhitespaceValueType = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlSchemaInitTypes () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCleanupTypes () ; } unsafe extern "C" { pub fn xmlSchemaGetPredefinedType (name : * const xmlChar , ns : * const xmlChar) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaValidatePredefinedType (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValPredefTypeNode (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal , node : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFacet (base : * mut xmlSchemaType , facet : * mut xmlSchemaFacet , value : * const xmlChar , val : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFacetWhtsp (facet : * mut xmlSchemaFacet , fws : xmlSchemaWhitespaceValueType , valType : xmlSchemaValType , value : * const xmlChar , val : * mut xmlSchemaVal , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaFreeValue (val : * mut xmlSchemaVal) ; } unsafe extern "C" { pub fn xmlSchemaNewFacet () -> * mut xmlSchemaFacet ; } unsafe extern "C" { pub fn xmlSchemaCheckFacet (facet : * mut xmlSchemaFacet , typeDecl : * mut xmlSchemaType , ctxt : * mut xmlSchemaParserCtxt , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaFreeFacet (facet : * mut xmlSchemaFacet) ; } unsafe extern "C" { pub fn xmlSchemaCompareValues (x : * mut xmlSchemaVal , y : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetBuiltInListSimpleTypeItemType (type_ : * mut xmlSchemaType) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaValidateListSimpleTypeFacet (facet : * mut xmlSchemaFacet , value : * const xmlChar , actualLen : :: std :: os :: raw :: c_ulong , expectedLen : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetBuiltInType (type_ : xmlSchemaValType) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaIsBuiltInTypeFacet (type_ : * mut xmlSchemaType , facetType : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCollapseString (value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSchemaWhiteSpaceReplace (value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSchemaGetFacetValueAsULong (facet : * mut xmlSchemaFacet) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlSchemaValidateLengthFacet (type_ : * mut xmlSchemaType , facet : * mut xmlSchemaFacet , value : * const xmlChar , val : * mut xmlSchemaVal , length : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateLengthFacetWhtsp (facet : * mut xmlSchemaFacet , valType : xmlSchemaValType , value : * const xmlChar , val : * mut xmlSchemaVal , length : * mut :: std :: os :: raw :: c_ulong , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValPredefTypeNodeNoNorm (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal , node : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetCanonValue (val : * mut xmlSchemaVal , retValue : * mut * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetCanonValueWhtsp (val : * mut xmlSchemaVal , retValue : * mut * const xmlChar , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValueAppend (prev : * mut xmlSchemaVal , cur : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValueGetNext (cur : * mut xmlSchemaVal) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaValueGetAsString (val : * mut xmlSchemaVal) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSchemaValueGetAsBoolean (val : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaNewStringValue (type_ : xmlSchemaValType , value : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaNewNOTATIONValue (name : * const xmlChar , ns : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaNewQNameValue (namespaceName : * const xmlChar , localName : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaCompareValuesWhtsp (x : * mut xmlSchemaVal , xws : xmlSchemaWhitespaceValueType , y : * mut xmlSchemaVal , yws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCopyValue (val : * mut xmlSchemaVal) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaGetValType (val : * mut xmlSchemaVal) -> xmlSchemaValType ; } pub type __builtin_va_list = [__va_list_tag ; 1usize] ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __va_list_tag { pub gp_offset : :: std :: os :: raw :: c_uint , pub fp_offset : :: std :: os :: raw :: c_uint , pub overflow_arg_area : * mut :: std :: os :: raw :: c_void , pub reg_save_area : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __va_list_tag"] [:: std :: mem :: size_of :: < __va_list_tag > () - 24usize] ; ["Alignment of __va_list_tag"] [:: std :: mem :: align_of :: < __va_list_tag > () - 8usize] ; ["Offset of field: __va_list_tag::gp_offset"] [:: std :: mem :: offset_of ! (__va_list_tag , gp_offset) - 0usize] ; ["Offset of field: __va_list_tag::fp_offset"] [:: std :: mem :: offset_of ! (__va_list_tag , fp_offset) - 4usize] ; ["Offset of field: __va_list_tag::overflow_arg_area"] [:: std :: mem :: offset_of ! (__va_list_tag , overflow_arg_area) - 8usize] ; ["Offset of field: __va_list_tag::reg_save_area"] [:: std :: mem :: offset_of ! (__va_list_tag , reg_save_area) - 16usize] ; } ; # [doc = " dict used to allocate names if any"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDict { pub _address : u8 , }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]  --> /opt/rustwide/target/release/build/libxml2-rs-88f840c53f735f57/out/bindings.rs:3:30215
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...0usize , 24u8 , { let _flags2 : u32 = unsafe { :: std :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_uni...
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: replace this with
[INFO] [stdout]   |
[INFO] [stdout] 3 - # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] fn extract_bit (byte : u8 , index : usize) -> bool { let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; Self :: extract_bit (byte , index) } # [inline] pub unsafe fn raw_get_bit (this : * const Self , index : usize) -> bool { debug_assert ! (index / 8 < core :: mem :: size_of ::< Storage > ()) ; let byte_index = index / 8 ; let byte = unsafe { * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) } ; Self :: extract_bit (byte , index) } # [inline] fn change_bit (byte : u8 , index : usize , val : bool) -> u8 { let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { byte | mask } else { byte & ! mask } } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; * byte = Self :: change_bit (* byte , index , val) ; } # [inline] pub unsafe fn raw_set_bit (this : * mut Self , index : usize , val : bool) { debug_assert ! (index / 8 < core :: mem :: size_of ::< Storage > ()) ; let byte_index = index / 8 ; let byte = unsafe { (core :: ptr :: addr_of_mut ! ((* this) . storage) as * mut u8) . offset (byte_index as isize) } ; unsafe { * byte = Self :: change_bit (* byte , index , val) } ; } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub unsafe fn raw_get (this : * const Self , bit_offset : usize , bit_width : u8 ,) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < core :: mem :: size_of ::< Storage > ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= core :: mem :: size_of ::< Storage > ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if unsafe { Self :: raw_get_bit (this , i + bit_offset) } { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } # [inline] pub unsafe fn raw_set (this : * mut Self , bit_offset : usize , bit_width : u8 , val : u64 ,) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < core :: mem :: size_of ::< Storage > ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= core :: mem :: size_of ::< Storage > ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; unsafe { Self :: raw_set_bit (this , index + bit_offset , val_bit_is_set) } ; } } } # [derive (PartialEq , Copy , Clone , Hash , Debug , Default)] # [repr (C)] pub struct __BindgenComplex < T > { pub re : T , pub im : T } pub const LIBXML_DOTTED_VERSION : & [u8 ; 7] = b"2.15.2\0" ; pub const LIBXML_VERSION : u32 = 21502 ; pub const LIBXML_VERSION_STRING : & [u8 ; 6] = b"21502\0" ; pub const LIBXML_VERSION_EXTRA : & [u8 ; 1] = b"\0" ; pub const LIBXML_MODULE_EXTENSION : & [u8 ; 4] = b".so\0" ; pub const _STDIO_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2Y : u32 = 0 ; pub const __GLIBC_USE_ISOC23 : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 202405 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __USE_XOPEN2K24 : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_TIME_BITS64 : u32 = 1 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const __GLIBC_USE_C23_STRTOL : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 43 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C23 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C23 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _____fpos_t_defined : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _____fpos64_t_defined : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const __struct_FILE_defined : u32 = 1 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const __cookie_io_functions_t_defined : u32 = 1 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; pub const EOF : i32 = - 1 ; pub const SEEK_SET : u32 = 0 ; pub const SEEK_CUR : u32 = 1 ; pub const SEEK_END : u32 = 2 ; pub const P_tmpdir : & [u8 ; 5] = b"/tmp\0" ; pub const L_tmpnam : u32 = 20 ; pub const TMP_MAX : u32 = 238328 ; pub const _BITS_STDIO_LIM_H : u32 = 1 ; pub const FILENAME_MAX : u32 = 4096 ; pub const L_ctermid : u32 = 9 ; pub const FOPEN_MAX : u32 = 16 ; pub const __HAVE_FLOAT128 : u32 = 1 ; pub const __HAVE_DISTINCT_FLOAT128 : u32 = 1 ; pub const __HAVE_FLOAT64X : u32 = 1 ; pub const __HAVE_FLOAT64X_LONG_DOUBLE : u32 = 1 ; pub const __HAVE_FLOAT16 : u32 = 0 ; pub const __HAVE_FLOAT32 : u32 = 1 ; pub const __HAVE_FLOAT64 : u32 = 1 ; pub const __HAVE_FLOAT32X : u32 = 1 ; pub const __HAVE_FLOAT128X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT16 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT128X : u32 = 0 ; pub const __HAVE_FLOATN_NOT_TYPEDEF : u32 = 0 ; pub const _LIBC_LIMITS_H_ : u32 = 1 ; pub const MB_LEN_MAX : u32 = 16 ; pub const _BITS_POSIX1_LIM_H : u32 = 1 ; pub const _POSIX_AIO_LISTIO_MAX : u32 = 2 ; pub const _POSIX_AIO_MAX : u32 = 1 ; pub const _POSIX_ARG_MAX : u32 = 4096 ; pub const _POSIX_CHILD_MAX : u32 = 25 ; pub const _POSIX_DELAYTIMER_MAX : u32 = 32 ; pub const _POSIX_HOST_NAME_MAX : u32 = 255 ; pub const _POSIX_LINK_MAX : u32 = 8 ; pub const _POSIX_LOGIN_NAME_MAX : u32 = 9 ; pub const _POSIX_MAX_CANON : u32 = 255 ; pub const _POSIX_MAX_INPUT : u32 = 255 ; pub const _POSIX_MQ_OPEN_MAX : u32 = 8 ; pub const _POSIX_MQ_PRIO_MAX : u32 = 32 ; pub const _POSIX_NAME_MAX : u32 = 14 ; pub const _POSIX_NGROUPS_MAX : u32 = 8 ; pub const _POSIX_OPEN_MAX : u32 = 20 ; pub const _POSIX_PATH_MAX : u32 = 256 ; pub const _POSIX_PIPE_BUF : u32 = 512 ; pub const _POSIX_RE_DUP_MAX : u32 = 255 ; pub const _POSIX_RTSIG_MAX : u32 = 8 ; pub const _POSIX_SEM_NSEMS_MAX : u32 = 256 ; pub const _POSIX_SEM_VALUE_MAX : u32 = 32767 ; pub const _POSIX_SIGQUEUE_MAX : u32 = 32 ; pub const _POSIX_SSIZE_MAX : u32 = 32767 ; pub const _POSIX_STREAM_MAX : u32 = 8 ; pub const _POSIX_SYMLINK_MAX : u32 = 255 ; pub const _POSIX_SYMLOOP_MAX : u32 = 8 ; pub const _POSIX_TIMER_MAX : u32 = 32 ; pub const _POSIX_TTY_NAME_MAX : u32 = 9 ; pub const _POSIX_TZNAME_MAX : u32 = 6 ; pub const _POSIX_CLOCKRES_MIN : u32 = 20000000 ; pub const NR_OPEN : u32 = 1024 ; pub const NGROUPS_MAX : u32 = 65536 ; pub const ARG_MAX : u32 = 131072 ; pub const LINK_MAX : u32 = 127 ; pub const MAX_CANON : u32 = 255 ; pub const MAX_INPUT : u32 = 255 ; pub const NAME_MAX : u32 = 255 ; pub const PATH_MAX : u32 = 4096 ; pub const PIPE_BUF : u32 = 4096 ; pub const XATTR_NAME_MAX : u32 = 255 ; pub const XATTR_SIZE_MAX : u32 = 65536 ; pub const XATTR_LIST_MAX : u32 = 65536 ; pub const RTSIG_MAX : u32 = 32 ; pub const _POSIX_THREAD_KEYS_MAX : u32 = 128 ; pub const PTHREAD_KEYS_MAX : u32 = 1024 ; pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const PTHREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const _POSIX_THREAD_THREADS_MAX : u32 = 64 ; pub const AIO_PRIO_DELTA_MAX : u32 = 20 ; pub const PTHREAD_STACK_MIN : u32 = 16384 ; pub const DELAYTIMER_MAX : u32 = 2147483647 ; pub const TTY_NAME_MAX : u32 = 32 ; pub const LOGIN_NAME_MAX : u32 = 256 ; pub const HOST_NAME_MAX : u32 = 64 ; pub const MQ_PRIO_MAX : u32 = 32768 ; pub const SEM_VALUE_MAX : u32 = 2147483647 ; pub const _BITS_POSIX2_LIM_H : u32 = 1 ; pub const _POSIX2_BC_BASE_MAX : u32 = 99 ; pub const _POSIX2_BC_DIM_MAX : u32 = 2048 ; pub const _POSIX2_BC_SCALE_MAX : u32 = 99 ; pub const _POSIX2_BC_STRING_MAX : u32 = 1000 ; pub const _POSIX2_COLL_WEIGHTS_MAX : u32 = 2 ; pub const _POSIX2_EXPR_NEST_MAX : u32 = 32 ; pub const _POSIX2_LINE_MAX : u32 = 2048 ; pub const _POSIX2_RE_DUP_MAX : u32 = 255 ; pub const _POSIX2_CHARCLASS_NAME_MAX : u32 = 14 ; pub const BC_BASE_MAX : u32 = 99 ; pub const BC_DIM_MAX : u32 = 2048 ; pub const BC_SCALE_MAX : u32 = 99 ; pub const BC_STRING_MAX : u32 = 1000 ; pub const COLL_WEIGHTS_MAX : u32 = 255 ; pub const EXPR_NEST_MAX : u32 = 32 ; pub const LINE_MAX : u32 = 2048 ; pub const CHARCLASS_NAME_MAX : u32 = 2048 ; pub const RE_DUP_MAX : u32 = 32767 ; pub const xmlDefaultBufferSize : u32 = 4096 ; pub const XML_DOCB_DOCUMENT_NODE : u32 = 21 ; pub const XML_DEFAULT_VERSION : & [u8 ; 4] = b"1.0\0" ; pub const XML_DETECT_IDS : u32 = 2 ; pub const XML_COMPLETE_ATTRS : u32 = 4 ; pub const XML_SKIP_IDS : u32 = 8 ; pub const XML_SAX2_MAGIC : u32 = 3740122799 ; pub const XML_SCHEMAS_ANYATTR_SKIP : u32 = 1 ; pub const XML_SCHEMAS_ANYATTR_LAX : u32 = 2 ; pub const XML_SCHEMAS_ANYATTR_STRICT : u32 = 3 ; pub const XML_SCHEMAS_ANY_SKIP : u32 = 1 ; pub const XML_SCHEMAS_ANY_LAX : u32 = 2 ; pub const XML_SCHEMAS_ANY_STRICT : u32 = 3 ; pub const XML_SCHEMAS_ATTR_USE_PROHIBITED : u32 = 0 ; pub const XML_SCHEMAS_ATTR_USE_REQUIRED : u32 = 1 ; pub const XML_SCHEMAS_ATTR_USE_OPTIONAL : u32 = 2 ; pub const XML_SCHEMAS_ATTR_GLOBAL : u32 = 1 ; pub const XML_SCHEMAS_ATTR_NSDEFAULT : u32 = 128 ; pub const XML_SCHEMAS_ATTR_INTERNAL_RESOLVED : u32 = 256 ; pub const XML_SCHEMAS_ATTR_FIXED : u32 = 512 ; pub const XML_SCHEMAS_WILDCARD_COMPLETE : u32 = 1 ; pub const XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED : u32 = 1 ; pub const XML_SCHEMAS_ATTRGROUP_GLOBAL : u32 = 2 ; pub const XML_SCHEMAS_ATTRGROUP_MARKED : u32 = 4 ; pub const XML_SCHEMAS_ATTRGROUP_REDEFINED : u32 = 8 ; pub const XML_SCHEMAS_ATTRGROUP_HAS_REFS : u32 = 16 ; pub const XML_SCHEMAS_TYPE_MIXED : u32 = 1 ; pub const XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION : u32 = 2 ; pub const XML_SCHEMAS_TYPE_DERIVATION_METHOD_RESTRICTION : u32 = 4 ; pub const XML_SCHEMAS_TYPE_GLOBAL : u32 = 8 ; pub const XML_SCHEMAS_TYPE_OWNED_ATTR_WILDCARD : u32 = 16 ; pub const XML_SCHEMAS_TYPE_VARIETY_ABSENT : u32 = 32 ; pub const XML_SCHEMAS_TYPE_VARIETY_LIST : u32 = 64 ; pub const XML_SCHEMAS_TYPE_VARIETY_UNION : u32 = 128 ; pub const XML_SCHEMAS_TYPE_VARIETY_ATOMIC : u32 = 256 ; pub const XML_SCHEMAS_TYPE_FINAL_EXTENSION : u32 = 512 ; pub const XML_SCHEMAS_TYPE_FINAL_RESTRICTION : u32 = 1024 ; pub const XML_SCHEMAS_TYPE_FINAL_LIST : u32 = 2048 ; pub const XML_SCHEMAS_TYPE_FINAL_UNION : u32 = 4096 ; pub const XML_SCHEMAS_TYPE_FINAL_DEFAULT : u32 = 8192 ; pub const XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE : u32 = 16384 ; pub const XML_SCHEMAS_TYPE_MARKED : u32 = 65536 ; pub const XML_SCHEMAS_TYPE_BLOCK_DEFAULT : u32 = 131072 ; pub const XML_SCHEMAS_TYPE_BLOCK_EXTENSION : u32 = 262144 ; pub const XML_SCHEMAS_TYPE_BLOCK_RESTRICTION : u32 = 524288 ; pub const XML_SCHEMAS_TYPE_ABSTRACT : u32 = 1048576 ; pub const XML_SCHEMAS_TYPE_FACETSNEEDVALUE : u32 = 2097152 ; pub const XML_SCHEMAS_TYPE_INTERNAL_RESOLVED : u32 = 4194304 ; pub const XML_SCHEMAS_TYPE_INTERNAL_INVALID : u32 = 8388608 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_PRESERVE : u32 = 16777216 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_REPLACE : u32 = 33554432 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_COLLAPSE : u32 = 67108864 ; pub const XML_SCHEMAS_TYPE_HAS_FACETS : u32 = 134217728 ; pub const XML_SCHEMAS_TYPE_NORMVALUENEEDED : u32 = 268435456 ; pub const XML_SCHEMAS_TYPE_FIXUP_1 : u32 = 536870912 ; pub const XML_SCHEMAS_TYPE_REDEFINED : u32 = 1073741824 ; pub const XML_SCHEMAS_ELEM_NILLABLE : u32 = 1 ; pub const XML_SCHEMAS_ELEM_GLOBAL : u32 = 2 ; pub const XML_SCHEMAS_ELEM_DEFAULT : u32 = 4 ; pub const XML_SCHEMAS_ELEM_FIXED : u32 = 8 ; pub const XML_SCHEMAS_ELEM_ABSTRACT : u32 = 16 ; pub const XML_SCHEMAS_ELEM_TOPLEVEL : u32 = 32 ; pub const XML_SCHEMAS_ELEM_REF : u32 = 64 ; pub const XML_SCHEMAS_ELEM_NSDEFAULT : u32 = 128 ; pub const XML_SCHEMAS_ELEM_INTERNAL_RESOLVED : u32 = 256 ; pub const XML_SCHEMAS_ELEM_CIRCULAR : u32 = 512 ; pub const XML_SCHEMAS_ELEM_BLOCK_ABSENT : u32 = 1024 ; pub const XML_SCHEMAS_ELEM_BLOCK_EXTENSION : u32 = 2048 ; pub const XML_SCHEMAS_ELEM_BLOCK_RESTRICTION : u32 = 4096 ; pub const XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION : u32 = 8192 ; pub const XML_SCHEMAS_ELEM_FINAL_ABSENT : u32 = 16384 ; pub const XML_SCHEMAS_ELEM_FINAL_EXTENSION : u32 = 32768 ; pub const XML_SCHEMAS_ELEM_FINAL_RESTRICTION : u32 = 65536 ; pub const XML_SCHEMAS_ELEM_SUBST_GROUP_HEAD : u32 = 131072 ; pub const XML_SCHEMAS_ELEM_INTERNAL_CHECKED : u32 = 262144 ; pub const XML_SCHEMAS_FACET_UNKNOWN : u32 = 0 ; pub const XML_SCHEMAS_FACET_PRESERVE : u32 = 1 ; pub const XML_SCHEMAS_FACET_REPLACE : u32 = 2 ; pub const XML_SCHEMAS_FACET_COLLAPSE : u32 = 3 ; pub const XML_SCHEMAS_QUALIF_ELEM : u32 = 1 ; pub const XML_SCHEMAS_QUALIF_ATTR : u32 = 2 ; pub const XML_SCHEMAS_FINAL_DEFAULT_EXTENSION : u32 = 4 ; pub const XML_SCHEMAS_FINAL_DEFAULT_RESTRICTION : u32 = 8 ; pub const XML_SCHEMAS_FINAL_DEFAULT_LIST : u32 = 16 ; pub const XML_SCHEMAS_FINAL_DEFAULT_UNION : u32 = 32 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_EXTENSION : u32 = 64 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_RESTRICTION : u32 = 128 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_SUBSTITUTION : u32 = 256 ; pub const XML_SCHEMAS_INCLUDING_CONVERT_NS : u32 = 512 ; unsafe extern "C" { pub fn xmlCheckVersion (version : :: std :: os :: raw :: c_int) ; } pub type __gnuc_va_list = __builtin_va_list ; pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [:: std :: os :: raw :: c_int ; 2usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __fsid_t"] [:: std :: mem :: size_of :: < __fsid_t > () - 8usize] ; ["Alignment of __fsid_t"] [:: std :: mem :: align_of :: < __fsid_t > () - 4usize] ; ["Offset of field: __fsid_t::__val"] [:: std :: mem :: offset_of ! (__fsid_t , __val) - 0usize] ; } ; pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __suseconds64_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Copy , Clone)] pub struct __mbstate_t { pub __count : :: std :: os :: raw :: c_int , pub __value : __mbstate_t__bindgen_ty_1 , } # [repr (C)] # [derive (Copy , Clone)] pub union __mbstate_t__bindgen_ty_1 { pub __wch : :: std :: os :: raw :: c_uint , pub __wchb : [:: std :: os :: raw :: c_char ; 4usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __mbstate_t__bindgen_ty_1"] [:: std :: mem :: size_of :: < __mbstate_t__bindgen_ty_1 > () - 4usize] ; ["Alignment of __mbstate_t__bindgen_ty_1"] [:: std :: mem :: align_of :: < __mbstate_t__bindgen_ty_1 > () - 4usize] ; ["Offset of field: __mbstate_t__bindgen_ty_1::__wch"] [:: std :: mem :: offset_of ! (__mbstate_t__bindgen_ty_1 , __wch) - 0usize] ; ["Offset of field: __mbstate_t__bindgen_ty_1::__wchb"] [:: std :: mem :: offset_of ! (__mbstate_t__bindgen_ty_1 , __wchb) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __mbstate_t"] [:: std :: mem :: size_of :: < __mbstate_t > () - 8usize] ; ["Alignment of __mbstate_t"] [:: std :: mem :: align_of :: < __mbstate_t > () - 4usize] ; ["Offset of field: __mbstate_t::__count"] [:: std :: mem :: offset_of ! (__mbstate_t , __count) - 0usize] ; ["Offset of field: __mbstate_t::__value"] [:: std :: mem :: offset_of ! (__mbstate_t , __value) - 4usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos_t { pub __pos : __off_t , pub __state : __mbstate_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _G_fpos_t"] [:: std :: mem :: size_of :: < _G_fpos_t > () - 16usize] ; ["Alignment of _G_fpos_t"] [:: std :: mem :: align_of :: < _G_fpos_t > () - 8usize] ; ["Offset of field: _G_fpos_t::__pos"] [:: std :: mem :: offset_of ! (_G_fpos_t , __pos) - 0usize] ; ["Offset of field: _G_fpos_t::__state"] [:: std :: mem :: offset_of ! (_G_fpos_t , __state) - 8usize] ; } ; pub type __fpos_t = _G_fpos_t ; # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos64_t { pub __pos : __off64_t , pub __state : __mbstate_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _G_fpos64_t"] [:: std :: mem :: size_of :: < _G_fpos64_t > () - 16usize] ; ["Alignment of _G_fpos64_t"] [:: std :: mem :: align_of :: < _G_fpos64_t > () - 8usize] ; ["Offset of field: _G_fpos64_t::__pos"] [:: std :: mem :: offset_of ! (_G_fpos64_t , __pos) - 0usize] ; ["Offset of field: _G_fpos64_t::__state"] [:: std :: mem :: offset_of ! (_G_fpos64_t , __state) - 8usize] ; } ; pub type __fpos64_t = _G_fpos64_t ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: std :: os :: raw :: c_int , pub _IO_read_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_read_end : * mut :: std :: os :: raw :: c_char , pub _IO_read_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_write_end : * mut :: std :: os :: raw :: c_char , pub _IO_buf_base : * mut :: std :: os :: raw :: c_char , pub _IO_buf_end : * mut :: std :: os :: raw :: c_char , pub _IO_save_base : * mut :: std :: os :: raw :: c_char , pub _IO_backup_base : * mut :: std :: os :: raw :: c_char , pub _IO_save_end : * mut :: std :: os :: raw :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: std :: os :: raw :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: std :: os :: raw :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: std :: os :: raw :: c_ushort , pub _vtable_offset : :: std :: os :: raw :: c_schar , pub _shortbuf : [:: std :: os :: raw :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: std :: os :: raw :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: std :: os :: raw :: c_int , pub _unused3 : :: std :: os :: raw :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: std :: os :: raw :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: std :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: std :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: std :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: std :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: std :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: std :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: std :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: std :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: std :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: std :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: std :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: std :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: std :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: std :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: std :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: std :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: std :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: std :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: std :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: std :: os :: raw :: c_int { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: std :: os :: raw :: c_int) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub unsafe fn _flags2_raw (this : * const Self) -> :: std :: os :: raw :: c_int { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 3usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 0usize , 24u8 ,) as u32) } } # [inline] pub unsafe fn set__flags2_raw (this : * mut Self , val : :: std :: os :: raw :: c_int) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 3usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 0usize , 24u8 , val as u64 ,) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: std :: os :: raw :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { :: std :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } pub type cookie_read_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_write_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_seek_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; pub type cookie_close_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_cookie_io_functions_t { pub read : cookie_read_function_t , pub write : cookie_write_function_t , pub seek : cookie_seek_function_t , pub close : cookie_close_function_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_cookie_io_functions_t"] [:: std :: mem :: size_of :: < _IO_cookie_io_functions_t > () - 32usize] ; ["Alignment of _IO_cookie_io_functions_t"] [:: std :: mem :: align_of :: < _IO_cookie_io_functions_t > () - 8usize] ; ["Offset of field: _IO_cookie_io_functions_t::read"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , read) - 0usize] ; ["Offset of field: _IO_cookie_io_functions_t::write"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , write) - 8usize] ; ["Offset of field: _IO_cookie_io_functions_t::seek"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , seek) - 16usize] ; ["Offset of field: _IO_cookie_io_functions_t::close"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , close) - 24usize] ; } ; pub type cookie_io_functions_t = _IO_cookie_io_functions_t ; pub type va_list = __gnuc_va_list ; pub type off_t = __off_t ; pub type fpos_t = __fpos_t ; unsafe extern "C" { pub static mut stdin : * mut FILE ; } unsafe extern "C" { pub static mut stdout : * mut FILE ; } unsafe extern "C" { pub static mut stderr : * mut FILE ; } unsafe extern "C" { pub fn remove (__filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn rename (__old : * const :: std :: os :: raw :: c_char , __new : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn renameat (__oldfd : :: std :: os :: raw :: c_int , __old : * const :: std :: os :: raw :: c_char , __newfd : :: std :: os :: raw :: c_int , __new : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fclose (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn tmpfile () -> * mut FILE ; } unsafe extern "C" { pub fn tmpnam (arg1 : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn tmpnam_r (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn tempnam (__dir : * const :: std :: os :: raw :: c_char , __pfx : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn fflush (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fflush_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn freopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> * mut FILE ; } unsafe extern "C" { pub fn fdopen (__fd : :: std :: os :: raw :: c_int , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn fopencookie (__magic_cookie : * mut :: std :: os :: raw :: c_void , __modes : * const :: std :: os :: raw :: c_char , __io_funcs : cookie_io_functions_t) -> * mut FILE ; } unsafe extern "C" { pub fn fmemopen (__s : * mut :: std :: os :: raw :: c_void , __len : usize , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn open_memstream (__bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize) -> * mut FILE ; } unsafe extern "C" { pub fn setbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn setvbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn setbuffer (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize) ; } unsafe extern "C" { pub fn setlinebuf (__stream : * mut FILE) ; } unsafe extern "C" { pub fn fprintf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn printf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn sprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vfprintf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vprintf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn snprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsnprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vasprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __f : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vdprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn dprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fscanf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn scanf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn sscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } pub type __cfloat128 = __BindgenComplex < u128 > ; pub type _Float128 = u128 ; pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = u128 ; unsafe extern "C" { # [link_name = "\u{1}__isoc99_fscanf"] pub fn fscanf1 (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_scanf"] pub fn scanf1 (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_sscanf"] pub fn sscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vfscanf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vscanf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vfscanf"] pub fn vfscanf1 (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vscanf"] pub fn vscanf1 (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vsscanf"] pub fn vsscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgetc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getchar () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getchar_unlocked () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgetc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fputc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putchar (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fputc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putchar_unlocked (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getw (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putw (__w : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgets (__s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn __getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn getline (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn fputs (__s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn puts (__s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ungetc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fread (__ptr : * mut :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __stream : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn fwrite (__ptr : * const :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __s : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn fread_unlocked (__ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } unsafe extern "C" { pub fn fwrite_unlocked (__ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } unsafe extern "C" { pub fn fseek (__stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ftell (__stream : * mut FILE) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn rewind (__stream : * mut FILE) ; } unsafe extern "C" { pub fn fseeko (__stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ftello (__stream : * mut FILE) -> __off_t ; } unsafe extern "C" { pub fn fgetpos (__stream : * mut FILE , __pos : * mut fpos_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fsetpos (__stream : * mut FILE , __pos : * const fpos_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn clearerr (__stream : * mut FILE) ; } unsafe extern "C" { pub fn feof (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ferror (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn clearerr_unlocked (__stream : * mut FILE) ; } unsafe extern "C" { pub fn feof_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ferror_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn perror (__s : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn fileno (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fileno_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn pclose (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn popen (__command : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn ctermid (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn flockfile (__stream : * mut FILE) ; } unsafe extern "C" { pub fn ftrylockfile (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn funlockfile (__stream : * mut FILE) ; } unsafe extern "C" { pub fn __uflow (arg1 : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __overflow (arg1 : * mut FILE , arg2 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " This is a basic byte in an UTF-8 encoded string.\n It's unsigned allowing to pinpoint case where char * are assigned\n to xmlChar * (possibly making serialization back impossible)."] pub type xmlChar = :: std :: os :: raw :: c_uchar ; unsafe extern "C" { pub fn xmlStrdup (cur : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrndup (cur : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCharStrndup (cur : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCharStrdup (cur : * const :: std :: os :: raw :: c_char) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrsub (str_ : * const xmlChar , start : :: std :: os :: raw :: c_int , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrchr (str_ : * const xmlChar , val : xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrstr (str_ : * const xmlChar , val : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrcasestr (str_ : * const xmlChar , val : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrcmp (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrncmp (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrcasecmp (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrncasecmp (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrEqual (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrQEqual (pref : * const xmlChar , name : * const xmlChar , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrlen (str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrcat (cur : * mut xmlChar , add : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrncat (cur : * mut xmlChar , add : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrncatNew (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrPrintf (buf : * mut xmlChar , len : :: std :: os :: raw :: c_int , msg : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrVPrintf (buf : * mut xmlChar , len : :: std :: os :: raw :: c_int , msg : * const :: std :: os :: raw :: c_char , ap : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetUTF8Char (utf : * const :: std :: os :: raw :: c_uchar , len : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCheckUTF8 (utf : * const :: std :: os :: raw :: c_uchar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strsize (utf : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strndup (utf : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strpos (utf : * const xmlChar , pos : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strloc (utf : * const xmlChar , utfchar : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strsub (utf : * const xmlChar , start : :: std :: os :: raw :: c_int , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strlen (utf : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Size (utf : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Charcmp (utf1 : * const xmlChar , utf2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } # [doc = " Signature for a free() implementation.\n\n @param mem  an already allocated block of memory"] pub type xmlFreeFunc = :: std :: option :: Option < unsafe extern "C" fn (mem : * mut :: std :: os :: raw :: c_void) > ; # [doc = " Signature for a malloc() implementation.\n\n @param size  the size requested in bytes\n @returns a pointer to the newly allocated block or NULL in case of error."] pub type xmlMallocFunc = :: std :: option :: Option < unsafe extern "C" fn (size : usize) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Signature for a realloc() implementation.\n\n @param mem  an already allocated block of memory\n @param size  the new size requested in bytes\n @returns a pointer to the newly reallocated block or NULL in case of error."] pub type xmlReallocFunc = :: std :: option :: Option < unsafe extern "C" fn (mem : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Signature for an strdup() implementation.\n\n @param str  a zero terminated string\n @returns the copy of the string or NULL in case of error."] pub type xmlStrdupFunc = :: std :: option :: Option < unsafe extern "C" fn (str_ : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char > ; unsafe extern "C" { # [doc = " The variable holding the libxml malloc() implementation"] pub static mut xmlMalloc : xmlMallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml malloc() implementation for atomic\n data (i.e. blocks not containing pointers), useful when using a\n garbage collecting allocator.\n\n @deprecated Use #xmlMalloc"] pub static mut xmlMallocAtomic : xmlMallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml realloc() implementation"] pub static mut xmlRealloc : xmlReallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml free() implementation"] pub static mut xmlFree : xmlFreeFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml strdup() implementation"] pub static mut xmlMemStrdup : xmlStrdupFunc ; } unsafe extern "C" { pub fn xmlMemSetup (freeFunc : xmlFreeFunc , mallocFunc : xmlMallocFunc , reallocFunc : xmlReallocFunc , strdupFunc : xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemGet (freeFunc : * mut xmlFreeFunc , mallocFunc : * mut xmlMallocFunc , reallocFunc : * mut xmlReallocFunc , strdupFunc : * mut xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGcMemSetup (freeFunc : xmlFreeFunc , mallocFunc : xmlMallocFunc , mallocAtomicFunc : xmlMallocFunc , reallocFunc : xmlReallocFunc , strdupFunc : xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGcMemGet (freeFunc : * mut xmlFreeFunc , mallocFunc : * mut xmlMallocFunc , mallocAtomicFunc : * mut xmlMallocFunc , reallocFunc : * mut xmlReallocFunc , strdupFunc : * mut xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlInitMemory () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCleanupMemory () ; } unsafe extern "C" { pub fn xmlMemSize (ptr : * mut :: std :: os :: raw :: c_void) -> usize ; } unsafe extern "C" { pub fn xmlMemUsed () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemBlocks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemDisplay (fp : * mut FILE) ; } unsafe extern "C" { pub fn xmlMemDisplayLast (fp : * mut FILE , nbBytes : :: std :: os :: raw :: c_long) ; } unsafe extern "C" { pub fn xmlMemShow (fp : * mut FILE , nr : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlMemoryDump () ; } unsafe extern "C" { pub fn xmlMemMalloc (size : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemRealloc (ptr : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemFree (ptr : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlMemoryStrdup (str_ : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlMallocLoc (size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlReallocLoc (ptr : * mut :: std :: os :: raw :: c_void , size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMallocAtomicLoc (size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemStrdupLoc (str_ : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRegexp { _unused : [u8 ; 0] , } # [doc = " A libxml regular expression"] pub type xmlRegexp = _xmlRegexp ; pub type xmlRegexpPtr = * mut xmlRegexp ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRegExecCtxt { _unused : [u8 ; 0] , } # [doc = " A libxml progressive regular expression evaluation context"] pub type xmlRegExecCtxt = _xmlRegExecCtxt ; pub type xmlRegExecCtxtPtr = * mut xmlRegExecCtxt ; unsafe extern "C" { pub fn xmlRegexpCompile (regexp : * const xmlChar) -> * mut xmlRegexp ; } unsafe extern "C" { pub fn xmlRegFreeRegexp (regexp : * mut xmlRegexp) ; } unsafe extern "C" { pub fn xmlRegexpExec (comp : * mut xmlRegexp , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegexpPrint (output : * mut FILE , regexp : * mut xmlRegexp) ; } unsafe extern "C" { pub fn xmlRegexpIsDeterminist (comp : * mut xmlRegexp) -> :: std :: os :: raw :: c_int ; } # [doc = " Callback function when doing a transition in the automata\n\n @param exec  the regular expression context\n @param token  the current token string\n @param transdata  transition data\n @param inputdata  input data"] pub type xmlRegExecCallbacks = :: std :: option :: Option < unsafe extern "C" fn (exec : * mut xmlRegExecCtxt , token : * const xmlChar , transdata : * mut :: std :: os :: raw :: c_void , inputdata : * mut :: std :: os :: raw :: c_void) > ; unsafe extern "C" { pub fn xmlRegNewExecCtxt (comp : * mut xmlRegexp , callback : xmlRegExecCallbacks , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlRegExecCtxt ; } unsafe extern "C" { pub fn xmlRegFreeExecCtxt (exec : * mut xmlRegExecCtxt) ; } unsafe extern "C" { pub fn xmlRegExecPushString (exec : * mut xmlRegExecCtxt , value : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecPushString2 (exec : * mut xmlRegExecCtxt , value : * const xmlChar , value2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecNextValues (exec : * mut xmlRegExecCtxt , nbval : * mut :: std :: os :: raw :: c_int , nbneg : * mut :: std :: os :: raw :: c_int , values : * mut * mut xmlChar , terminal : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecErrInfo (exec : * mut xmlRegExecCtxt , string : * mut * const xmlChar , nbval : * mut :: std :: os :: raw :: c_int , nbneg : * mut :: std :: os :: raw :: c_int , values : * mut * mut xmlChar , terminal : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " Parser input buffer\n\n This struct and all related functions should ultimately\n be removed from the public interface."] pub type xmlParserInputBuffer = _xmlParserInputBuffer ; pub type xmlParserInputBufferPtr = * mut xmlParserInputBuffer ; # [doc = " Output buffer"] pub type xmlOutputBuffer = _xmlOutputBuffer ; pub type xmlOutputBufferPtr = * mut xmlOutputBuffer ; # [doc = " Parser input"] pub type xmlParserInput = _xmlParserInput ; pub type xmlParserInputPtr = * mut xmlParserInput ; # [doc = " Parser context"] pub type xmlParserCtxt = _xmlParserCtxt ; pub type xmlParserCtxtPtr = * mut xmlParserCtxt ; # [doc = " SAX locator"] pub type xmlSAXLocator = _xmlSAXLocator ; pub type xmlSAXLocatorPtr = * mut xmlSAXLocator ; # [doc = " SAX handler"] pub type xmlSAXHandler = _xmlSAXHandler ; pub type xmlSAXHandlerPtr = * mut xmlSAXHandler ; # [doc = " Entity declaration"] pub type xmlEntity = _xmlEntity ; pub type xmlEntityPtr = * mut xmlEntity ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_DOUBLEIT : xmlBufferAllocationScheme = 0 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_EXACT : xmlBufferAllocationScheme = 1 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_IMMUTABLE : xmlBufferAllocationScheme = 2 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_IO : xmlBufferAllocationScheme = 3 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_HYBRID : xmlBufferAllocationScheme = 4 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_BOUNDED : xmlBufferAllocationScheme = 5 ; # [doc = " Removed, buffers always use XML_BUFFER_ALLOC_IO now."] pub type xmlBufferAllocationScheme = :: std :: os :: raw :: c_uint ; # [doc = " Buffer type"] pub type xmlBuffer = _xmlBuffer ; pub type xmlBufferPtr = * mut xmlBuffer ; # [doc = " A buffer structure, this old construct is limited to 2GB and\n is being deprecated, use API with xmlBuf instead."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlBuffer { # [doc = " @deprecated Use #xmlBufferContent\n\n The buffer content UTF8"] pub content : * mut xmlChar , # [doc = " @deprecated Use #xmlBufferLength\n\n The buffer size used"] pub use_ : :: std :: os :: raw :: c_uint , pub size : :: std :: os :: raw :: c_uint , pub alloc : xmlBufferAllocationScheme , pub contentIO : * mut xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlBuffer"] [:: std :: mem :: size_of :: < _xmlBuffer > () - 32usize] ; ["Alignment of _xmlBuffer"] [:: std :: mem :: align_of :: < _xmlBuffer > () - 8usize] ; ["Offset of field: _xmlBuffer::content"] [:: std :: mem :: offset_of ! (_xmlBuffer , content) - 0usize] ; ["Offset of field: _xmlBuffer::use_"] [:: std :: mem :: offset_of ! (_xmlBuffer , use_) - 8usize] ; ["Offset of field: _xmlBuffer::size"] [:: std :: mem :: offset_of ! (_xmlBuffer , size) - 12usize] ; ["Offset of field: _xmlBuffer::alloc"] [:: std :: mem :: offset_of ! (_xmlBuffer , alloc) - 16usize] ; ["Offset of field: _xmlBuffer::contentIO"] [:: std :: mem :: offset_of ! (_xmlBuffer , contentIO) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlBuf { _unused : [u8 ; 0] , } # [doc = " Buffer with 64-bit support"] pub type xmlBuf = _xmlBuf ; pub type xmlBufPtr = * mut xmlBuf ; # [doc = " An element.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_ELEMENT_NODE : xmlElementType = 1 ; # [doc = " An attribute.\n\n Objects of this type are an xmlAttr."] pub const xmlElementType_XML_ATTRIBUTE_NODE : xmlElementType = 2 ; # [doc = " A text node.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_TEXT_NODE : xmlElementType = 3 ; # [doc = " A CDATA section.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_CDATA_SECTION_NODE : xmlElementType = 4 ; # [doc = " An entity reference.\n\n Objects of this type are an xmlNode. The `children` member\n points to the entity declaration if available."] pub const xmlElementType_XML_ENTITY_REF_NODE : xmlElementType = 5 ; # [doc = " unused"] pub const xmlElementType_XML_ENTITY_NODE : xmlElementType = 6 ; # [doc = " A processing instruction.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_PI_NODE : xmlElementType = 7 ; # [doc = " A comment.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_COMMENT_NODE : xmlElementType = 8 ; # [doc = " A document.\n\n Objects of this type are an xmlDoc."] pub const xmlElementType_XML_DOCUMENT_NODE : xmlElementType = 9 ; # [doc = " unused"] pub const xmlElementType_XML_DOCUMENT_TYPE_NODE : xmlElementType = 10 ; # [doc = " A document fragment.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_DOCUMENT_FRAG_NODE : xmlElementType = 11 ; # [doc = " A notation, unused"] pub const xmlElementType_XML_NOTATION_NODE : xmlElementType = 12 ; # [doc = " An HTML document.\n\n Objects of this type are an xmlDoc."] pub const xmlElementType_XML_HTML_DOCUMENT_NODE : xmlElementType = 13 ; # [doc = " A document type definition.\n\n Objects of this type are an xmlDtd."] pub const xmlElementType_XML_DTD_NODE : xmlElementType = 14 ; # [doc = " An element declaration.\n\n Objects of this type are an xmlElement."] pub const xmlElementType_XML_ELEMENT_DECL : xmlElementType = 15 ; # [doc = " An attribute declaration.\n\n Objects of this type are an xmlAttribute."] pub const xmlElementType_XML_ATTRIBUTE_DECL : xmlElementType = 16 ; # [doc = " An entity declaration.\n\n Objects of this type are an xmlEntity."] pub const xmlElementType_XML_ENTITY_DECL : xmlElementType = 17 ; # [doc = " An XPath namespace node.\n\n Can only be returned by the XPath engine. Objects of this\n type are an xmlNs which has a completely different layout\n than xmlNode. The `next` member contains a pointer to the\n xmlNode element to which the namespace applies.\n\n Nodes of this type must be handled with extreme care to\n avoid type confusion bugs."] pub const xmlElementType_XML_NAMESPACE_DECL : xmlElementType = 18 ; # [doc = " An XInclude start marker.\n\n Objects of this type are an xmlNode. Inserted as preceding\n sibling of XIncluded content."] pub const xmlElementType_XML_XINCLUDE_START : xmlElementType = 19 ; # [doc = " An XInclude end marker.\n\n Objects of this type are an xmlNode. Inserted as following\n sibling of XIncluded content."] pub const xmlElementType_XML_XINCLUDE_END : xmlElementType = 20 ; # [doc = " The different element types carried by an XML tree.\n\n NOTE: This is synchronized with DOM Level 1 values.\n       See http://www.w3.org/TR/REC-DOM-Level-1/\n\n Actually this had diverged a bit, and XML_DTD_NODE is used instead\n of XML_DOCUMENT_TYPE_NODE."] pub type xmlElementType = :: std :: os :: raw :: c_uint ; # [doc = " Notation declaration"] pub type xmlNotation = _xmlNotation ; pub type xmlNotationPtr = * mut xmlNotation ; # [doc = " A DTD Notation definition.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNotation { # [doc = " Notation name"] pub name : * const xmlChar , # [doc = " Public identifier, if any"] pub PublicID : * const xmlChar , # [doc = " System identifier, if any"] pub SystemID : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNotation"] [:: std :: mem :: size_of :: < _xmlNotation > () - 24usize] ; ["Alignment of _xmlNotation"] [:: std :: mem :: align_of :: < _xmlNotation > () - 8usize] ; ["Offset of field: _xmlNotation::name"] [:: std :: mem :: offset_of ! (_xmlNotation , name) - 0usize] ; ["Offset of field: _xmlNotation::PublicID"] [:: std :: mem :: offset_of ! (_xmlNotation , PublicID) - 8usize] ; ["Offset of field: _xmlNotation::SystemID"] [:: std :: mem :: offset_of ! (_xmlNotation , SystemID) - 16usize] ; } ; pub const xmlAttributeType_XML_ATTRIBUTE_CDATA : xmlAttributeType = 1 ; pub const xmlAttributeType_XML_ATTRIBUTE_ID : xmlAttributeType = 2 ; pub const xmlAttributeType_XML_ATTRIBUTE_IDREF : xmlAttributeType = 3 ; pub const xmlAttributeType_XML_ATTRIBUTE_IDREFS : xmlAttributeType = 4 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENTITY : xmlAttributeType = 5 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENTITIES : xmlAttributeType = 6 ; pub const xmlAttributeType_XML_ATTRIBUTE_NMTOKEN : xmlAttributeType = 7 ; pub const xmlAttributeType_XML_ATTRIBUTE_NMTOKENS : xmlAttributeType = 8 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENUMERATION : xmlAttributeType = 9 ; pub const xmlAttributeType_XML_ATTRIBUTE_NOTATION : xmlAttributeType = 10 ; # [doc = " A DTD Attribute type definition."] pub type xmlAttributeType = :: std :: os :: raw :: c_uint ; pub const xmlAttributeDefault_XML_ATTRIBUTE_NONE : xmlAttributeDefault = 1 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_REQUIRED : xmlAttributeDefault = 2 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_IMPLIED : xmlAttributeDefault = 3 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_FIXED : xmlAttributeDefault = 4 ; # [doc = " A DTD Attribute default definition."] pub type xmlAttributeDefault = :: std :: os :: raw :: c_uint ; # [doc = " Enumeration in a DTD"] pub type xmlEnumeration = _xmlEnumeration ; pub type xmlEnumerationPtr = * mut xmlEnumeration ; # [doc = " List structure used when there is an enumeration in DTDs.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlEnumeration { # [doc = " next enumeration"] pub next : * mut _xmlEnumeration , # [doc = " value"] pub name : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlEnumeration"] [:: std :: mem :: size_of :: < _xmlEnumeration > () - 16usize] ; ["Alignment of _xmlEnumeration"] [:: std :: mem :: align_of :: < _xmlEnumeration > () - 8usize] ; ["Offset of field: _xmlEnumeration::next"] [:: std :: mem :: offset_of ! (_xmlEnumeration , next) - 0usize] ; ["Offset of field: _xmlEnumeration::name"] [:: std :: mem :: offset_of ! (_xmlEnumeration , name) - 8usize] ; } ; # [doc = " Attribute declaration"] pub type xmlAttribute = _xmlAttribute ; pub type xmlAttributePtr = * mut xmlAttribute ; # [doc = " An Attribute declaration in a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttribute { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ATTRIBUTE_DECL"] pub type_ : xmlElementType , # [doc = " attribute name"] pub name : * const xmlChar , # [doc = " NULL"] pub children : * mut _xmlNode , # [doc = " NULL"] pub last : * mut _xmlNode , # [doc = " DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " next in hash table"] pub nexth : * mut _xmlAttribute , # [doc = " attribute type"] pub atype : xmlAttributeType , # [doc = " attribute default"] pub def : xmlAttributeDefault , # [doc = " default value"] pub defaultValue : * mut xmlChar , # [doc = " enumeration tree if any"] pub tree : * mut xmlEnumeration , # [doc = " namespace prefix if any"] pub prefix : * const xmlChar , # [doc = " element name"] pub elem : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlAttribute"] [:: std :: mem :: size_of :: < _xmlAttribute > () - 120usize] ; ["Alignment of _xmlAttribute"] [:: std :: mem :: align_of :: < _xmlAttribute > () - 8usize] ; ["Offset of field: _xmlAttribute::_private"] [:: std :: mem :: offset_of ! (_xmlAttribute , _private) - 0usize] ; ["Offset of field: _xmlAttribute::type_"] [:: std :: mem :: offset_of ! (_xmlAttribute , type_) - 8usize] ; ["Offset of field: _xmlAttribute::name"] [:: std :: mem :: offset_of ! (_xmlAttribute , name) - 16usize] ; ["Offset of field: _xmlAttribute::children"] [:: std :: mem :: offset_of ! (_xmlAttribute , children) - 24usize] ; ["Offset of field: _xmlAttribute::last"] [:: std :: mem :: offset_of ! (_xmlAttribute , last) - 32usize] ; ["Offset of field: _xmlAttribute::parent"] [:: std :: mem :: offset_of ! (_xmlAttribute , parent) - 40usize] ; ["Offset of field: _xmlAttribute::next"] [:: std :: mem :: offset_of ! (_xmlAttribute , next) - 48usize] ; ["Offset of field: _xmlAttribute::prev"] [:: std :: mem :: offset_of ! (_xmlAttribute , prev) - 56usize] ; ["Offset of field: _xmlAttribute::doc"] [:: std :: mem :: offset_of ! (_xmlAttribute , doc) - 64usize] ; ["Offset of field: _xmlAttribute::nexth"] [:: std :: mem :: offset_of ! (_xmlAttribute , nexth) - 72usize] ; ["Offset of field: _xmlAttribute::atype"] [:: std :: mem :: offset_of ! (_xmlAttribute , atype) - 80usize] ; ["Offset of field: _xmlAttribute::def"] [:: std :: mem :: offset_of ! (_xmlAttribute , def) - 84usize] ; ["Offset of field: _xmlAttribute::defaultValue"] [:: std :: mem :: offset_of ! (_xmlAttribute , defaultValue) - 88usize] ; ["Offset of field: _xmlAttribute::tree"] [:: std :: mem :: offset_of ! (_xmlAttribute , tree) - 96usize] ; ["Offset of field: _xmlAttribute::prefix"] [:: std :: mem :: offset_of ! (_xmlAttribute , prefix) - 104usize] ; ["Offset of field: _xmlAttribute::elem"] [:: std :: mem :: offset_of ! (_xmlAttribute , elem) - 112usize] ; } ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_PCDATA : xmlElementContentType = 1 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_ELEMENT : xmlElementContentType = 2 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_SEQ : xmlElementContentType = 3 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_OR : xmlElementContentType = 4 ; # [doc = " Possible definitions of element content types."] pub type xmlElementContentType = :: std :: os :: raw :: c_uint ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_ONCE : xmlElementContentOccur = 1 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_OPT : xmlElementContentOccur = 2 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_MULT : xmlElementContentOccur = 3 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_PLUS : xmlElementContentOccur = 4 ; # [doc = " Possible definitions of element content occurrences."] pub type xmlElementContentOccur = :: std :: os :: raw :: c_uint ; # [doc = " Element content in element declarations"] pub type xmlElementContent = _xmlElementContent ; pub type xmlElementContentPtr = * mut xmlElementContent ; # [doc = " An XML Element content as stored after parsing an element definition\n in a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlElementContent { # [doc = " PCDATA, ELEMENT, SEQ or OR"] pub type_ : xmlElementContentType , # [doc = " ONCE, OPT, MULT or PLUS"] pub ocur : xmlElementContentOccur , # [doc = " element name"] pub name : * const xmlChar , # [doc = " first child"] pub c1 : * mut _xmlElementContent , # [doc = " second child"] pub c2 : * mut _xmlElementContent , # [doc = " parent"] pub parent : * mut _xmlElementContent , # [doc = " namespace prefix"] pub prefix : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlElementContent"] [:: std :: mem :: size_of :: < _xmlElementContent > () - 48usize] ; ["Alignment of _xmlElementContent"] [:: std :: mem :: align_of :: < _xmlElementContent > () - 8usize] ; ["Offset of field: _xmlElementContent::type_"] [:: std :: mem :: offset_of ! (_xmlElementContent , type_) - 0usize] ; ["Offset of field: _xmlElementContent::ocur"] [:: std :: mem :: offset_of ! (_xmlElementContent , ocur) - 4usize] ; ["Offset of field: _xmlElementContent::name"] [:: std :: mem :: offset_of ! (_xmlElementContent , name) - 8usize] ; ["Offset of field: _xmlElementContent::c1"] [:: std :: mem :: offset_of ! (_xmlElementContent , c1) - 16usize] ; ["Offset of field: _xmlElementContent::c2"] [:: std :: mem :: offset_of ! (_xmlElementContent , c2) - 24usize] ; ["Offset of field: _xmlElementContent::parent"] [:: std :: mem :: offset_of ! (_xmlElementContent , parent) - 32usize] ; ["Offset of field: _xmlElementContent::prefix"] [:: std :: mem :: offset_of ! (_xmlElementContent , prefix) - 40usize] ; } ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_UNDEFINED : xmlElementTypeVal = 0 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_EMPTY : xmlElementTypeVal = 1 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_ANY : xmlElementTypeVal = 2 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_MIXED : xmlElementTypeVal = 3 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_ELEMENT : xmlElementTypeVal = 4 ; # [doc = " The different possibilities for an element content type."] pub type xmlElementTypeVal = :: std :: os :: raw :: c_uint ; # [doc = " Element declaration"] pub type xmlElement = _xmlElement ; pub type xmlElementPtr = * mut xmlElement ; # [doc = " An XML Element declaration from a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlElement { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ELEMENT_DECL"] pub type_ : xmlElementType , # [doc = " element name"] pub name : * const xmlChar , # [doc = " NULL"] pub children : * mut _xmlNode , # [doc = " NULL"] pub last : * mut _xmlNode , # [doc = " -> DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " element type"] pub etype : xmlElementTypeVal , # [doc = " allowed element content"] pub content : * mut xmlElementContent , # [doc = " list of declared attributes"] pub attributes : * mut xmlAttribute , # [doc = " namespace prefix if any"] pub prefix : * const xmlChar , # [doc = " validating regexp"] pub contModel : * mut xmlRegexp , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlElement"] [:: std :: mem :: size_of :: < _xmlElement > () - 112usize] ; ["Alignment of _xmlElement"] [:: std :: mem :: align_of :: < _xmlElement > () - 8usize] ; ["Offset of field: _xmlElement::_private"] [:: std :: mem :: offset_of ! (_xmlElement , _private) - 0usize] ; ["Offset of field: _xmlElement::type_"] [:: std :: mem :: offset_of ! (_xmlElement , type_) - 8usize] ; ["Offset of field: _xmlElement::name"] [:: std :: mem :: offset_of ! (_xmlElement , name) - 16usize] ; ["Offset of field: _xmlElement::children"] [:: std :: mem :: offset_of ! (_xmlElement , children) - 24usize] ; ["Offset of field: _xmlElement::last"] [:: std :: mem :: offset_of ! (_xmlElement , last) - 32usize] ; ["Offset of field: _xmlElement::parent"] [:: std :: mem :: offset_of ! (_xmlElement , parent) - 40usize] ; ["Offset of field: _xmlElement::next"] [:: std :: mem :: offset_of ! (_xmlElement , next) - 48usize] ; ["Offset of field: _xmlElement::prev"] [:: std :: mem :: offset_of ! (_xmlElement , prev) - 56usize] ; ["Offset of field: _xmlElement::doc"] [:: std :: mem :: offset_of ! (_xmlElement , doc) - 64usize] ; ["Offset of field: _xmlElement::etype"] [:: std :: mem :: offset_of ! (_xmlElement , etype) - 72usize] ; ["Offset of field: _xmlElement::content"] [:: std :: mem :: offset_of ! (_xmlElement , content) - 80usize] ; ["Offset of field: _xmlElement::attributes"] [:: std :: mem :: offset_of ! (_xmlElement , attributes) - 88usize] ; ["Offset of field: _xmlElement::prefix"] [:: std :: mem :: offset_of ! (_xmlElement , prefix) - 96usize] ; ["Offset of field: _xmlElement::contModel"] [:: std :: mem :: offset_of ! (_xmlElement , contModel) - 104usize] ; } ; # [doc = " The different element types carried by an XML tree.\n\n NOTE: This is synchronized with DOM Level 1 values.\n       See http://www.w3.org/TR/REC-DOM-Level-1/\n\n Actually this had diverged a bit, and XML_DTD_NODE is used instead\n of XML_DOCUMENT_TYPE_NODE."] pub use self :: xmlElementType as xmlNsType ; # [doc = " Namespace declaration"] pub type xmlNs = _xmlNs ; pub type xmlNsPtr = * mut xmlNs ; # [doc = " An XML namespace.\n Note that prefix == NULL is valid, it defines the default namespace\n within the subtree (until overridden).\n\n xmlNsType is unified with xmlElementType.\n\n Note that the XPath engine returns XPath namespace nodes as\n xmlNs cast to xmlNode. This is a terrible design decision that\n can easily cause type confusion errors. In this case, the `next`\n member points to the xmlNode element to which the namespace\n node belongs."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNs { # [doc = " next namespace"] pub next : * mut _xmlNs , # [doc = " XML_NAMESPACE_DECL"] pub type_ : xmlNsType , # [doc = " namespace URI"] pub href : * const xmlChar , # [doc = " namespace prefix"] pub prefix : * const xmlChar , # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " normally an xmlDoc"] pub context : * mut _xmlDoc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNs"] [:: std :: mem :: size_of :: < _xmlNs > () - 48usize] ; ["Alignment of _xmlNs"] [:: std :: mem :: align_of :: < _xmlNs > () - 8usize] ; ["Offset of field: _xmlNs::next"] [:: std :: mem :: offset_of ! (_xmlNs , next) - 0usize] ; ["Offset of field: _xmlNs::type_"] [:: std :: mem :: offset_of ! (_xmlNs , type_) - 8usize] ; ["Offset of field: _xmlNs::href"] [:: std :: mem :: offset_of ! (_xmlNs , href) - 16usize] ; ["Offset of field: _xmlNs::prefix"] [:: std :: mem :: offset_of ! (_xmlNs , prefix) - 24usize] ; ["Offset of field: _xmlNs::_private"] [:: std :: mem :: offset_of ! (_xmlNs , _private) - 32usize] ; ["Offset of field: _xmlNs::context"] [:: std :: mem :: offset_of ! (_xmlNs , context) - 40usize] ; } ; # [doc = " Document type definition (DTD)"] pub type xmlDtd = _xmlDtd ; pub type xmlDtdPtr = * mut xmlDtd ; # [doc = " An XML DTD, as defined by <!DOCTYPE ... There is actually one for\n the internal subset and for the external subset.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDtd { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_DTD_NODE"] pub type_ : xmlElementType , # [doc = " name of the DTD"] pub name : * const xmlChar , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlDoc , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " hash table for notations if any"] pub notations : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for elements if any"] pub elements : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for attributes if any"] pub attributes : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for entities if any"] pub entities : * mut :: std :: os :: raw :: c_void , # [doc = " public identifier"] pub ExternalID : * mut xmlChar , # [doc = " system identifier"] pub SystemID : * mut xmlChar , # [doc = " hash table for parameter entities if any"] pub pentities : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDtd"] [:: std :: mem :: size_of :: < _xmlDtd > () - 128usize] ; ["Alignment of _xmlDtd"] [:: std :: mem :: align_of :: < _xmlDtd > () - 8usize] ; ["Offset of field: _xmlDtd::_private"] [:: std :: mem :: offset_of ! (_xmlDtd , _private) - 0usize] ; ["Offset of field: _xmlDtd::type_"] [:: std :: mem :: offset_of ! (_xmlDtd , type_) - 8usize] ; ["Offset of field: _xmlDtd::name"] [:: std :: mem :: offset_of ! (_xmlDtd , name) - 16usize] ; ["Offset of field: _xmlDtd::children"] [:: std :: mem :: offset_of ! (_xmlDtd , children) - 24usize] ; ["Offset of field: _xmlDtd::last"] [:: std :: mem :: offset_of ! (_xmlDtd , last) - 32usize] ; ["Offset of field: _xmlDtd::parent"] [:: std :: mem :: offset_of ! (_xmlDtd , parent) - 40usize] ; ["Offset of field: _xmlDtd::next"] [:: std :: mem :: offset_of ! (_xmlDtd , next) - 48usize] ; ["Offset of field: _xmlDtd::prev"] [:: std :: mem :: offset_of ! (_xmlDtd , prev) - 56usize] ; ["Offset of field: _xmlDtd::doc"] [:: std :: mem :: offset_of ! (_xmlDtd , doc) - 64usize] ; ["Offset of field: _xmlDtd::notations"] [:: std :: mem :: offset_of ! (_xmlDtd , notations) - 72usize] ; ["Offset of field: _xmlDtd::elements"] [:: std :: mem :: offset_of ! (_xmlDtd , elements) - 80usize] ; ["Offset of field: _xmlDtd::attributes"] [:: std :: mem :: offset_of ! (_xmlDtd , attributes) - 88usize] ; ["Offset of field: _xmlDtd::entities"] [:: std :: mem :: offset_of ! (_xmlDtd , entities) - 96usize] ; ["Offset of field: _xmlDtd::ExternalID"] [:: std :: mem :: offset_of ! (_xmlDtd , ExternalID) - 104usize] ; ["Offset of field: _xmlDtd::SystemID"] [:: std :: mem :: offset_of ! (_xmlDtd , SystemID) - 112usize] ; ["Offset of field: _xmlDtd::pentities"] [:: std :: mem :: offset_of ! (_xmlDtd , pentities) - 120usize] ; } ; # [doc = " Attribute of an element"] pub type xmlAttr = _xmlAttr ; pub type xmlAttrPtr = * mut xmlAttr ; # [doc = " An attribute of element."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttr { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ATTRIBUTE_NODE"] pub type_ : xmlElementType , # [doc = " local name"] pub name : * const xmlChar , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlNode , # [doc = " next sibling"] pub next : * mut _xmlAttr , # [doc = " previous sibling"] pub prev : * mut _xmlAttr , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " namespace if any"] pub ns : * mut xmlNs , # [doc = " attribute type if validating"] pub atype : xmlAttributeType , # [doc = " for type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " ID struct if any"] pub id : * mut _xmlID , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlAttr"] [:: std :: mem :: size_of :: < _xmlAttr > () - 104usize] ; ["Alignment of _xmlAttr"] [:: std :: mem :: align_of :: < _xmlAttr > () - 8usize] ; ["Offset of field: _xmlAttr::_private"] [:: std :: mem :: offset_of ! (_xmlAttr , _private) - 0usize] ; ["Offset of field: _xmlAttr::type_"] [:: std :: mem :: offset_of ! (_xmlAttr , type_) - 8usize] ; ["Offset of field: _xmlAttr::name"] [:: std :: mem :: offset_of ! (_xmlAttr , name) - 16usize] ; ["Offset of field: _xmlAttr::children"] [:: std :: mem :: offset_of ! (_xmlAttr , children) - 24usize] ; ["Offset of field: _xmlAttr::last"] [:: std :: mem :: offset_of ! (_xmlAttr , last) - 32usize] ; ["Offset of field: _xmlAttr::parent"] [:: std :: mem :: offset_of ! (_xmlAttr , parent) - 40usize] ; ["Offset of field: _xmlAttr::next"] [:: std :: mem :: offset_of ! (_xmlAttr , next) - 48usize] ; ["Offset of field: _xmlAttr::prev"] [:: std :: mem :: offset_of ! (_xmlAttr , prev) - 56usize] ; ["Offset of field: _xmlAttr::doc"] [:: std :: mem :: offset_of ! (_xmlAttr , doc) - 64usize] ; ["Offset of field: _xmlAttr::ns"] [:: std :: mem :: offset_of ! (_xmlAttr , ns) - 72usize] ; ["Offset of field: _xmlAttr::atype"] [:: std :: mem :: offset_of ! (_xmlAttr , atype) - 80usize] ; ["Offset of field: _xmlAttr::psvi"] [:: std :: mem :: offset_of ! (_xmlAttr , psvi) - 88usize] ; ["Offset of field: _xmlAttr::id"] [:: std :: mem :: offset_of ! (_xmlAttr , id) - 96usize] ; } ; # [doc = " Extra data for ID attributes"] pub type xmlID = _xmlID ; pub type xmlIDPtr = * mut xmlID ; # [doc = " An XML ID instance.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlID { pub next : * mut _xmlID , pub value : * mut xmlChar , pub attr : * mut xmlAttr , pub name : * const xmlChar , pub lineno : :: std :: os :: raw :: c_int , pub doc : * mut _xmlDoc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlID"] [:: std :: mem :: size_of :: < _xmlID > () - 48usize] ; ["Alignment of _xmlID"] [:: std :: mem :: align_of :: < _xmlID > () - 8usize] ; ["Offset of field: _xmlID::next"] [:: std :: mem :: offset_of ! (_xmlID , next) - 0usize] ; ["Offset of field: _xmlID::value"] [:: std :: mem :: offset_of ! (_xmlID , value) - 8usize] ; ["Offset of field: _xmlID::attr"] [:: std :: mem :: offset_of ! (_xmlID , attr) - 16usize] ; ["Offset of field: _xmlID::name"] [:: std :: mem :: offset_of ! (_xmlID , name) - 24usize] ; ["Offset of field: _xmlID::lineno"] [:: std :: mem :: offset_of ! (_xmlID , lineno) - 32usize] ; ["Offset of field: _xmlID::doc"] [:: std :: mem :: offset_of ! (_xmlID , doc) - 40usize] ; } ; # [doc = " @cond ignore"] pub type xmlRef = _xmlRef ; pub type xmlRefPtr = * mut xmlRef ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRef { pub next : * mut _xmlRef , pub value : * const xmlChar , pub attr : * mut xmlAttr , pub name : * const xmlChar , pub lineno : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlRef"] [:: std :: mem :: size_of :: < _xmlRef > () - 40usize] ; ["Alignment of _xmlRef"] [:: std :: mem :: align_of :: < _xmlRef > () - 8usize] ; ["Offset of field: _xmlRef::next"] [:: std :: mem :: offset_of ! (_xmlRef , next) - 0usize] ; ["Offset of field: _xmlRef::value"] [:: std :: mem :: offset_of ! (_xmlRef , value) - 8usize] ; ["Offset of field: _xmlRef::attr"] [:: std :: mem :: offset_of ! (_xmlRef , attr) - 16usize] ; ["Offset of field: _xmlRef::name"] [:: std :: mem :: offset_of ! (_xmlRef , name) - 24usize] ; ["Offset of field: _xmlRef::lineno"] [:: std :: mem :: offset_of ! (_xmlRef , lineno) - 32usize] ; } ; # [doc = " Generic node type in an XML or HTML tree"] pub type xmlNode = _xmlNode ; pub type xmlNodePtr = * mut xmlNode ; # [doc = " Generic node type in an XML or HTML tree.\n\n This is used for\n\n - XML_ELEMENT_NODE\n - XML_TEXT_NODE\n - XML_CDATA_SECTION_NODE\n - XML_ENTITY_REF_NODE\n - XML_PI_NODE\n - XML_COMMENT_NODE\n - XML_DOCUMENT_FRAG_NODE\n - XML_XINCLUDE_START_NODE\n - XML_XINCLUDE_END_NODE\n\n Other node types have a different struct layout than xmlNode,\n see xmlElementType. Except for XML_NAMESPACE_DECL all nodes\n share the following members at the same offset:\n\n - `_private`\n - `type` (also for XML_NAMESPACE_DECL)\n - `name`\n - `children`\n - `last`\n - `parent`\n - `next`\n - `prev`\n - `doc`\n\n xmlNode and xmlAttr also share the `ns` member."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNode { # [doc = " Application data. Often used by language bindings."] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " Type enum, an xmlElementType value"] pub type_ : xmlElementType , # [doc = " Name of the node.\n\n - Local name of elements or attributes. As a corner case,\n   this can also contain Names which are invalid QNames in\n   non-namespace-wellformed documents.\n - Name of entity references\n - Target of processing instructions\n - Fixed string for text and comments\n - Unused otherwise"] pub name : * const xmlChar , # [doc = " First child. Entity declaration of entity references."] pub children : * mut _xmlNode , # [doc = " Last child"] pub last : * mut _xmlNode , # [doc = " Parent node. NULL for documents or unlinked root nodes."] pub parent : * mut _xmlNode , # [doc = " Next sibling"] pub next : * mut _xmlNode , # [doc = " Previous sibling"] pub prev : * mut _xmlNode , # [doc = " Associated document.\n\n Used to access DTDs, entities, ID tables, dictionary or\n other document properties. All children of a node share the\n same document."] pub doc : * mut _xmlDoc , # [doc = " Namespace of element if any"] pub ns : * mut xmlNs , # [doc = " Content of text, comment, PI nodes.\n\n Sort index for elements after calling #xmlXPathOrderDocElems.\n Content of internal entities for entity references."] pub content : * mut xmlChar , # [doc = " First attribute of element.\n\n Also used to store small strings with XML_PARSE_COMPACT."] pub properties : * mut _xmlAttr , # [doc = " First namespace definition of element"] pub nsDef : * mut xmlNs , # [doc = " For type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " Line number"] pub line : :: std :: os :: raw :: c_ushort , # [doc = " Extra data for XPath/XSLT"] pub extra : :: std :: os :: raw :: c_ushort , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNode"] [:: std :: mem :: size_of :: < _xmlNode > () - 120usize] ; ["Alignment of _xmlNode"] [:: std :: mem :: align_of :: < _xmlNode > () - 8usize] ; ["Offset of field: _xmlNode::_private"] [:: std :: mem :: offset_of ! (_xmlNode , _private) - 0usize] ; ["Offset of field: _xmlNode::type_"] [:: std :: mem :: offset_of ! (_xmlNode , type_) - 8usize] ; ["Offset of field: _xmlNode::name"] [:: std :: mem :: offset_of ! (_xmlNode , name) - 16usize] ; ["Offset of field: _xmlNode::children"] [:: std :: mem :: offset_of ! (_xmlNode , children) - 24usize] ; ["Offset of field: _xmlNode::last"] [:: std :: mem :: offset_of ! (_xmlNode , last) - 32usize] ; ["Offset of field: _xmlNode::parent"] [:: std :: mem :: offset_of ! (_xmlNode , parent) - 40usize] ; ["Offset of field: _xmlNode::next"] [:: std :: mem :: offset_of ! (_xmlNode , next) - 48usize] ; ["Offset of field: _xmlNode::prev"] [:: std :: mem :: offset_of ! (_xmlNode , prev) - 56usize] ; ["Offset of field: _xmlNode::doc"] [:: std :: mem :: offset_of ! (_xmlNode , doc) - 64usize] ; ["Offset of field: _xmlNode::ns"] [:: std :: mem :: offset_of ! (_xmlNode , ns) - 72usize] ; ["Offset of field: _xmlNode::content"] [:: std :: mem :: offset_of ! (_xmlNode , content) - 80usize] ; ["Offset of field: _xmlNode::properties"] [:: std :: mem :: offset_of ! (_xmlNode , properties) - 88usize] ; ["Offset of field: _xmlNode::nsDef"] [:: std :: mem :: offset_of ! (_xmlNode , nsDef) - 96usize] ; ["Offset of field: _xmlNode::psvi"] [:: std :: mem :: offset_of ! (_xmlNode , psvi) - 104usize] ; ["Offset of field: _xmlNode::line"] [:: std :: mem :: offset_of ! (_xmlNode , line) - 112usize] ; ["Offset of field: _xmlNode::extra"] [:: std :: mem :: offset_of ! (_xmlNode , extra) - 114usize] ; } ; # [doc = " document is XML well formed"] pub const xmlDocProperties_XML_DOC_WELLFORMED : xmlDocProperties = 1 ; # [doc = " document is Namespace valid"] pub const xmlDocProperties_XML_DOC_NSVALID : xmlDocProperties = 2 ; # [doc = " parsed with old XML-1.0 parser"] pub const xmlDocProperties_XML_DOC_OLD10 : xmlDocProperties = 4 ; # [doc = " DTD validation was successful"] pub const xmlDocProperties_XML_DOC_DTDVALID : xmlDocProperties = 8 ; # [doc = " XInclude substitution was done"] pub const xmlDocProperties_XML_DOC_XINCLUDE : xmlDocProperties = 16 ; # [doc = " Document was built using the API and not by parsing an instance"] pub const xmlDocProperties_XML_DOC_USERBUILT : xmlDocProperties = 32 ; # [doc = " built for internal processing"] pub const xmlDocProperties_XML_DOC_INTERNAL : xmlDocProperties = 64 ; # [doc = " parsed or built HTML document"] pub const xmlDocProperties_XML_DOC_HTML : xmlDocProperties = 128 ; # [doc = " Set of properties of the document as found by the parser.\n Some of them are linked to similarly named xmlParserOption."] pub type xmlDocProperties = :: std :: os :: raw :: c_uint ; # [doc = " XML or HTML document"] pub type xmlDoc = _xmlDoc ; pub type xmlDocPtr = * mut xmlDoc ; # [doc = " An XML or HTML document."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDoc { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_DOCUMENT_NODE or XML_HTML_DOCUMENT_NODE"] pub type_ : xmlElementType , # [doc = " NULL"] pub name : * mut :: std :: os :: raw :: c_char , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlNode , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " reference to itself"] pub doc : * mut _xmlDoc , # [doc = " level of zlib compression"] pub compression : :: std :: os :: raw :: c_int , # [doc = " standalone document (no external refs)\n\n - 1 if standalone=\"yes\",\n - 0 if standalone=\"no\",\n - -1 if there is no XML declaration,\n - -2 if there is an XML declaration, but no\n   standalone attribute was specified"] pub standalone : :: std :: os :: raw :: c_int , # [doc = " internal subset"] pub intSubset : * mut _xmlDtd , # [doc = " external subset"] pub extSubset : * mut _xmlDtd , # [doc = " used to hold the XML namespace if needed"] pub oldNs : * mut _xmlNs , # [doc = " version string from XML declaration"] pub version : * mut xmlChar , # [doc = " actual encoding if any"] pub encoding : * mut xmlChar , # [doc = " hash table for ID attributes if any"] pub ids : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for IDREFs attributes if any"] pub refs : * mut :: std :: os :: raw :: c_void , # [doc = " URI of the document"] pub URL : * mut xmlChar , # [doc = " unused"] pub charset : :: std :: os :: raw :: c_int , # [doc = " dict used to allocate names if any"] pub dict : * mut _xmlDict , # [doc = " for type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " xmlParserOption enum used to parse the document"] pub parseFlags : :: std :: os :: raw :: c_int , # [doc = " xmlDocProperties of the document"] pub properties : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDoc"] [:: std :: mem :: size_of :: < _xmlDoc > () - 176usize] ; ["Alignment of _xmlDoc"] [:: std :: mem :: align_of :: < _xmlDoc > () - 8usize] ; ["Offset of field: _xmlDoc::_private"] [:: std :: mem :: offset_of ! (_xmlDoc , _private) - 0usize] ; ["Offset of field: _xmlDoc::type_"] [:: std :: mem :: offset_of ! (_xmlDoc , type_) - 8usize] ; ["Offset of field: _xmlDoc::name"] [:: std :: mem :: offset_of ! (_xmlDoc , name) - 16usize] ; ["Offset of field: _xmlDoc::children"] [:: std :: mem :: offset_of ! (_xmlDoc , children) - 24usize] ; ["Offset of field: _xmlDoc::last"] [:: std :: mem :: offset_of ! (_xmlDoc , last) - 32usize] ; ["Offset of field: _xmlDoc::parent"] [:: std :: mem :: offset_of ! (_xmlDoc , parent) - 40usize] ; ["Offset of field: _xmlDoc::next"] [:: std :: mem :: offset_of ! (_xmlDoc , next) - 48usize] ; ["Offset of field: _xmlDoc::prev"] [:: std :: mem :: offset_of ! (_xmlDoc , prev) - 56usize] ; ["Offset of field: _xmlDoc::doc"] [:: std :: mem :: offset_of ! (_xmlDoc , doc) - 64usize] ; ["Offset of field: _xmlDoc::compression"] [:: std :: mem :: offset_of ! (_xmlDoc , compression) - 72usize] ; ["Offset of field: _xmlDoc::standalone"] [:: std :: mem :: offset_of ! (_xmlDoc , standalone) - 76usize] ; ["Offset of field: _xmlDoc::intSubset"] [:: std :: mem :: offset_of ! (_xmlDoc , intSubset) - 80usize] ; ["Offset of field: _xmlDoc::extSubset"] [:: std :: mem :: offset_of ! (_xmlDoc , extSubset) - 88usize] ; ["Offset of field: _xmlDoc::oldNs"] [:: std :: mem :: offset_of ! (_xmlDoc , oldNs) - 96usize] ; ["Offset of field: _xmlDoc::version"] [:: std :: mem :: offset_of ! (_xmlDoc , version) - 104usize] ; ["Offset of field: _xmlDoc::encoding"] [:: std :: mem :: offset_of ! (_xmlDoc , encoding) - 112usize] ; ["Offset of field: _xmlDoc::ids"] [:: std :: mem :: offset_of ! (_xmlDoc , ids) - 120usize] ; ["Offset of field: _xmlDoc::refs"] [:: std :: mem :: offset_of ! (_xmlDoc , refs) - 128usize] ; ["Offset of field: _xmlDoc::URL"] [:: std :: mem :: offset_of ! (_xmlDoc , URL) - 136usize] ; ["Offset of field: _xmlDoc::charset"] [:: std :: mem :: offset_of ! (_xmlDoc , charset) - 144usize] ; ["Offset of field: _xmlDoc::dict"] [:: std :: mem :: offset_of ! (_xmlDoc , dict) - 152usize] ; ["Offset of field: _xmlDoc::psvi"] [:: std :: mem :: offset_of ! (_xmlDoc , psvi) - 160usize] ; ["Offset of field: _xmlDoc::parseFlags"] [:: std :: mem :: offset_of ! (_xmlDoc , parseFlags) - 168usize] ; ["Offset of field: _xmlDoc::properties"] [:: std :: mem :: offset_of ! (_xmlDoc , properties) - 172usize] ; } ; # [doc = " Context for DOM wrapper operations"] pub type xmlDOMWrapCtxt = _xmlDOMWrapCtxt ; pub type xmlDOMWrapCtxtPtr = * mut xmlDOMWrapCtxt ; # [doc = " A function called to acquire namespaces (xmlNs) from the wrapper.\n\n @param ctxt  a DOM wrapper context\n @param node  the context node (element or attribute)\n @param nsName  the requested namespace name\n @param nsPrefix  the requested namespace prefix\n @returns an xmlNs or NULL in case of an error."] pub type xmlDOMWrapAcquireNsFunction = :: std :: option :: Option < unsafe extern "C" fn (ctxt : * mut xmlDOMWrapCtxt , node : * mut xmlNode , nsName : * const xmlChar , nsPrefix : * const xmlChar) -> * mut xmlNs > ; # [doc = " Context for DOM wrapper-operations."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDOMWrapCtxt { pub _private : * mut :: std :: os :: raw :: c_void , pub type_ : :: std :: os :: raw :: c_int , pub namespaceMap : * mut :: std :: os :: raw :: c_void , pub getNsForNodeFunc : xmlDOMWrapAcquireNsFunction , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDOMWrapCtxt"] [:: std :: mem :: size_of :: < _xmlDOMWrapCtxt > () - 32usize] ; ["Alignment of _xmlDOMWrapCtxt"] [:: std :: mem :: align_of :: < _xmlDOMWrapCtxt > () - 8usize] ; ["Offset of field: _xmlDOMWrapCtxt::_private"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , _private) - 0usize] ; ["Offset of field: _xmlDOMWrapCtxt::type_"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , type_) - 8usize] ; ["Offset of field: _xmlDOMWrapCtxt::namespaceMap"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , namespaceMap) - 16usize] ; ["Offset of field: _xmlDOMWrapCtxt::getNsForNodeFunc"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , getNsForNodeFunc) - 24usize] ; } ; # [doc = " Signature for the registration callback of a created node\n\n @param node  the current node"] pub type xmlRegisterNodeFunc = :: std :: option :: Option < unsafe extern "C" fn (node : * mut xmlNode) > ; # [doc = " Signature for the deregistration callback of a discarded node\n\n @param node  the current node"] pub type xmlDeregisterNodeFunc = :: std :: option :: Option < unsafe extern "C" fn (node : * mut xmlNode) > ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlRegisterNodeDefaultValue () -> * mut xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn __xmlDeregisterNodeDefaultValue () -> * mut xmlDeregisterNodeFunc ; } unsafe extern "C" { # [doc = " @endcond"] pub fn xmlValidateNCName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateQName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNMToken (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBuildQName (ncname : * const xmlChar , prefix : * const xmlChar , memory : * mut xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSplitQName2 (name : * const xmlChar , prefix : * mut * mut xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSplitQName3 (name : * const xmlChar , len : * mut :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCreateIntSubset (doc : * mut xmlDoc , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlNewDtd (doc : * mut xmlDoc , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlGetIntSubset (doc : * const xmlDoc) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlFreeDtd (cur : * mut xmlDtd) ; } unsafe extern "C" { pub fn xmlNewNs (node : * mut xmlNode , href : * const xmlChar , prefix : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlFreeNs (cur : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlFreeNsList (cur : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlNewDoc (version : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlFreeDoc (cur : * mut xmlDoc) ; } unsafe extern "C" { pub fn xmlNewDocProp (doc : * mut xmlDoc , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewProp (node : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewNsPropEatName (node : * mut xmlNode , ns : * mut xmlNs , name : * mut xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlFreePropList (cur : * mut xmlAttr) ; } unsafe extern "C" { pub fn xmlFreeProp (cur : * mut xmlAttr) ; } unsafe extern "C" { pub fn xmlCopyProp (target : * mut xmlNode , cur : * mut xmlAttr) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlCopyPropList (target : * mut xmlNode , cur : * mut xmlAttr) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlCopyDtd (dtd : * mut xmlDtd) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlCopyDoc (doc : * mut xmlDoc , recursive : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlNewDocNode (doc : * mut xmlDoc , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocNodeEatName (doc : * mut xmlDoc , ns : * mut xmlNs , name : * mut xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewNode (ns : * mut xmlNs , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewNodeEatName (ns : * mut xmlNs , name : * mut xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewChild (parent : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocText (doc : * const xmlDoc , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewText (content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocPI (doc : * mut xmlDoc , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewPI (name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocTextLen (doc : * mut xmlDoc , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewTextLen (content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocComment (doc : * mut xmlDoc , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewComment (content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewCDataBlock (doc : * mut xmlDoc , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewCharRef (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewReference (doc : * const xmlDoc , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCopyNode (node : * mut xmlNode , recursive : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlDocCopyNode (node : * mut xmlNode , doc : * mut xmlDoc , recursive : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlDocCopyNodeList (doc : * mut xmlDoc , node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCopyNodeList (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewTextChild (parent : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocRawNode (doc : * mut xmlDoc , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocFragment (doc : * mut xmlDoc) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlGetLineNo (node : * const xmlNode) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn xmlGetNodePath (node : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlDocGetRootElement (doc : * const xmlDoc) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlGetLastChild (parent : * const xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeIsText (node : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsBlankNode (node : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocSetRootElement (doc : * mut xmlDoc , root : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeSetName (cur : * mut xmlNode , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlAddChild (parent : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddChildList (parent : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlReplaceNode (old : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddPrevSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddNextSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlUnlinkNode (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlTextMerge (first : * mut xmlNode , second : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlTextConcat (node : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFreeNodeList (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlFreeNode (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlSetTreeDoc (tree : * mut xmlNode , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetListDoc (list : * mut xmlNode , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSearchNs (doc : * mut xmlDoc , node : * mut xmlNode , nameSpace : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlSearchNsByHref (doc : * mut xmlDoc , node : * mut xmlNode , href : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlGetNsListSafe (doc : * const xmlDoc , node : * const xmlNode , out : * mut * mut * mut xmlNs) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetNsList (doc : * const xmlDoc , node : * const xmlNode) -> * mut * mut xmlNs ; } unsafe extern "C" { pub fn xmlSetNs (node : * mut xmlNode , ns : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlCopyNamespace (cur : * mut xmlNs) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlCopyNamespaceList (cur : * mut xmlNs) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlSetProp (node : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlSetNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNodeGetAttrValue (node : * const xmlNode , name : * const xmlChar , nsUri : * const xmlChar , out : * mut * mut xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetNoNsProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlGetProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlHasProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlHasNsProp (node : * const xmlNode , name : * const xmlChar , nameSpace : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlGetNsProp (node : * const xmlNode , name : * const xmlChar , nameSpace : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStringGetNodeList (doc : * const xmlDoc , value : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlStringLenGetNodeList (doc : * const xmlDoc , value : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeListGetString (doc : * mut xmlDoc , list : * const xmlNode , inLine : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeListGetRawString (doc : * const xmlDoc , list : * const xmlNode , inLine : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeSetContent (cur : * mut xmlNode , content : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetContentLen (cur : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeAddContent (cur : * mut xmlNode , content : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeAddContentLen (cur : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetContent (cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeBufGetContent (buffer : * mut xmlBuffer , cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufGetNodeContent (buf : * mut xmlBuf , cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetLang (cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeGetSpacePreserve (cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetLang (cur : * mut xmlNode , lang : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetSpacePreserve (cur : * mut xmlNode , val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetBaseSafe (doc : * const xmlDoc , cur : * const xmlNode , baseOut : * mut * mut xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetBase (doc : * const xmlDoc , cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeSetBase (cur : * mut xmlNode , uri : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveProp (cur : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUnsetNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUnsetProp (node : * mut xmlNode , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAttrSerializeTxtContent (buf : * mut xmlBuffer , doc : * mut xmlDoc , attr : * mut xmlAttr , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlReconciliateNs (doc : * mut xmlDoc , tree : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocDumpFormatMemory (cur : * mut xmlDoc , mem : * mut * mut xmlChar , size : * mut :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocDumpMemory (cur : * mut xmlDoc , mem : * mut * mut xmlChar , size : * mut :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocDumpMemoryEnc (out_doc : * mut xmlDoc , doc_txt_ptr : * mut * mut xmlChar , doc_txt_len : * mut :: std :: os :: raw :: c_int , txt_encoding : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlDocDumpFormatMemoryEnc (out_doc : * mut xmlDoc , doc_txt_ptr : * mut * mut xmlChar , doc_txt_len : * mut :: std :: os :: raw :: c_int , txt_encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocFormatDump (f : * mut FILE , cur : * mut xmlDoc , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocDump (f : * mut FILE , cur : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlElemDump (f : * mut FILE , doc : * mut xmlDoc , cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlSaveFile (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFormatFile (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufNodeDump (buf : * mut xmlBuf , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> usize ; } unsafe extern "C" { pub fn xmlNodeDump (buf : * mut xmlBuffer , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFileTo (buf : * mut xmlOutputBuffer , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFormatFileTo (buf : * mut xmlOutputBuffer , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeDumpOutput (buf : * mut xmlOutputBuffer , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , encoding : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlSaveFormatFileEnc (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFileEnc (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsXHTML (systemID : * const xmlChar , publicID : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetDocCompressMode (doc : * const xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetDocCompressMode (doc : * mut xmlDoc , mode : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlGetCompressMode () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetCompressMode (mode : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDOMWrapNewCtxt () -> * mut xmlDOMWrapCtxt ; } unsafe extern "C" { pub fn xmlDOMWrapFreeCtxt (ctxt : * mut xmlDOMWrapCtxt) ; } unsafe extern "C" { pub fn xmlDOMWrapReconcileNamespaces (ctxt : * mut xmlDOMWrapCtxt , elem : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapAdoptNode (ctxt : * mut xmlDOMWrapCtxt , sourceDoc : * mut xmlDoc , node : * mut xmlNode , destDoc : * mut xmlDoc , destParent : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapRemoveNode (ctxt : * mut xmlDOMWrapCtxt , doc : * mut xmlDoc , node : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapCloneNode (ctxt : * mut xmlDOMWrapCtxt , sourceDoc : * mut xmlDoc , node : * mut xmlNode , clonedNode : * mut * mut xmlNode , destDoc : * mut xmlDoc , destParent : * mut xmlNode , deep : :: std :: os :: raw :: c_int , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlChildElementCount (parent : * mut xmlNode) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlNextElementSibling (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlFirstElementChild (parent : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlLastElementChild (parent : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlPreviousElementSibling (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlRegisterNodeDefault (func : xmlRegisterNodeFunc) -> xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn xmlDeregisterNodeDefault (func : xmlDeregisterNodeFunc) -> xmlDeregisterNodeFunc ; } unsafe extern "C" { pub fn xmlThrDefRegisterNodeDefault (func : xmlRegisterNodeFunc) -> xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn xmlThrDefDeregisterNodeDefault (func : xmlDeregisterNodeFunc) -> xmlDeregisterNodeFunc ; } unsafe extern "C" { pub fn xmlSetBufferAllocationScheme (scheme : xmlBufferAllocationScheme) ; } unsafe extern "C" { pub fn xmlGetBufferAllocationScheme () -> xmlBufferAllocationScheme ; } unsafe extern "C" { pub fn xmlBufferCreate () -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferCreateSize (size : usize) -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferCreateStatic (mem : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferResize (buf : * mut xmlBuffer , size : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferFree (buf : * mut xmlBuffer) ; } unsafe extern "C" { pub fn xmlBufferDump (file : * mut FILE , buf : * mut xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferAdd (buf : * mut xmlBuffer , str_ : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferAddHead (buf : * mut xmlBuffer , str_ : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferCat (buf : * mut xmlBuffer , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferCCat (buf : * mut xmlBuffer , str_ : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferShrink (buf : * mut xmlBuffer , len : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferGrow (buf : * mut xmlBuffer , len : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferEmpty (buf : * mut xmlBuffer) ; } unsafe extern "C" { pub fn xmlBufferContent (buf : * const xmlBuffer) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlBufferDetach (buf : * mut xmlBuffer) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufferSetAllocationScheme (buf : * mut xmlBuffer , scheme : xmlBufferAllocationScheme) ; } unsafe extern "C" { pub fn xmlBufferLength (buf : * const xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferWriteCHAR (buf : * mut xmlBuffer , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlBufferWriteChar (buf : * mut xmlBuffer , string : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlBufferWriteQuotedString (buf : * mut xmlBuffer , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlBufContent (buf : * const xmlBuf) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufEnd (buf : * mut xmlBuf) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufUse (buf : * mut xmlBuf) -> usize ; } unsafe extern "C" { pub fn xmlBufShrink (buf : * mut xmlBuf , len : usize) -> usize ; } pub type wchar_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [repr (align (16))] # [derive (Debug , Copy , Clone)] pub struct max_align_t { pub __clang_max_align_nonce1 : :: std :: os :: raw :: c_longlong , pub __bindgen_padding_0 : u64 , pub __clang_max_align_nonce2 : u128 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of max_align_t"] [:: std :: mem :: size_of :: < max_align_t > () - 32usize] ; ["Alignment of max_align_t"] [:: std :: mem :: align_of :: < max_align_t > () - 16usize] ; ["Offset of field: max_align_t::__clang_max_align_nonce1"] [:: std :: mem :: offset_of ! (max_align_t , __clang_max_align_nonce1) - 0usize] ; ["Offset of field: max_align_t::__clang_max_align_nonce2"] [:: std :: mem :: offset_of ! (max_align_t , __clang_max_align_nonce2) - 16usize] ; } ; # [doc = " Dictionary (pool for interned strings)"] pub type xmlDict = _xmlDict ; pub type xmlDictPtr = * mut xmlDict ; unsafe extern "C" { pub fn xmlInitializeDict () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictCreate () -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlDictSetLimit (dict : * mut xmlDict , limit : usize) -> usize ; } unsafe extern "C" { pub fn xmlDictGetUsage (dict : * mut xmlDict) -> usize ; } unsafe extern "C" { pub fn xmlDictCreateSub (sub : * mut xmlDict) -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlDictReference (dict : * mut xmlDict) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictFree (dict : * mut xmlDict) ; } unsafe extern "C" { pub fn xmlDictLookup (dict : * mut xmlDict , name : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictExists (dict : * mut xmlDict , name : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictQLookup (dict : * mut xmlDict , prefix : * const xmlChar , name : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictOwns (dict : * mut xmlDict , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictSize (dict : * mut xmlDict) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictCleanup () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlHashTable { _unused : [u8 ; 0] , } # [doc = " Hash table mapping strings to pointers\n\n Also supports lookup using two or three strings as key."] pub type xmlHashTable = _xmlHashTable ; pub type xmlHashTablePtr = * mut xmlHashTable ; # [doc = " Callback to free data from a hash.\n\n @param payload  the data in the hash\n @param name  the name associated"] pub type xmlHashDeallocator = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback to copy data from a hash.\n\n @param payload  the data in the hash\n @param name  the name associated\n @returns a copy of the data or NULL in case of error."] pub type xmlHashCopier = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback when scanning data in a hash with the simple scanner.\n\n @param payload  the data in the hash\n @param data  extra scanner data\n @param name  the name associated"] pub type xmlHashScanner = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , data : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback when scanning data in a hash with the full scanner.\n\n @param payload  the data in the hash\n @param data  extra scanner data\n @param name  the name associated\n @param name2  the second name associated\n @param name3  the third name associated"] pub type xmlHashScannerFull = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , data : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar) > ; unsafe extern "C" { pub fn xmlHashCreate (size : :: std :: os :: raw :: c_int) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashCreateDict (size : :: std :: os :: raw :: c_int , dict : * mut xmlDict) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashFree (hash : * mut xmlHashTable , dealloc : xmlHashDeallocator) ; } unsafe extern "C" { pub fn xmlHashDefaultDeallocator (entry : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlHashAdd (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAdd2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAdd3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry (hash : * mut xmlHashTable , name : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashLookup (hash : * mut xmlHashTable , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashLookup2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashLookup3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup2 (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar , prefix2 : * const xmlChar , name2 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup3 (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar , prefix2 : * const xmlChar , name2 : * const xmlChar , prefix3 : * const xmlChar , name3 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashCopySafe (hash : * mut xmlHashTable , copy : xmlHashCopier , dealloc : xmlHashDeallocator) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashCopy (hash : * mut xmlHashTable , copy : xmlHashCopier) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashSize (hash : * mut xmlHashTable) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashScan (hash : * mut xmlHashTable , scan : xmlHashScanner , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScan3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , scan : xmlHashScanner , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScanFull (hash : * mut xmlHashTable , scan : xmlHashScannerFull , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScanFull3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , scan : xmlHashScannerFull , data : * mut :: std :: os :: raw :: c_void) ; } # [doc = " Success"] pub const xmlErrorLevel_XML_ERR_NONE : xmlErrorLevel = 0 ; # [doc = " A warning\n\n When parsing XML, warnings are only reported to error\n handlers."] pub const xmlErrorLevel_XML_ERR_WARNING : xmlErrorLevel = 1 ; # [doc = " An error\n\n When parsing XML, this is used for recoverable errors like\n\n - namespace errors\n - validity errors when validating\n - certain undeclared entities\n - ID uniqueness and xml:id errors\n\n Note that some recoverable errors in the sense of the XML\n spec are reported as warnings.\n\n In other contexts, this may be used for unrecoverable\n errors."] pub const xmlErrorLevel_XML_ERR_ERROR : xmlErrorLevel = 2 ; # [doc = " A fatal error\n\n When parsing XML, a \"fatal error\" according to the XML spec.\n This typically means that the document isn't well-formed.\n\n This also includes OOM and I/O errors, resource limit\n exhaustion, unexpected errors from other libraries and\n invalid argument errors."] pub const xmlErrorLevel_XML_ERR_FATAL : xmlErrorLevel = 3 ; # [doc = " Indicates the level of an error"] pub type xmlErrorLevel = :: std :: os :: raw :: c_uint ; # [doc = " Unknown"] pub const xmlErrorDomain_XML_FROM_NONE : xmlErrorDomain = 0 ; # [doc = " The XML parser"] pub const xmlErrorDomain_XML_FROM_PARSER : xmlErrorDomain = 1 ; # [doc = " The tree module (unused)"] pub const xmlErrorDomain_XML_FROM_TREE : xmlErrorDomain = 2 ; # [doc = " The XML Namespace module"] pub const xmlErrorDomain_XML_FROM_NAMESPACE : xmlErrorDomain = 3 ; # [doc = " The XML DTD validation with parser context"] pub const xmlErrorDomain_XML_FROM_DTD : xmlErrorDomain = 4 ; # [doc = " The HTML parser"] pub const xmlErrorDomain_XML_FROM_HTML : xmlErrorDomain = 5 ; # [doc = " The memory allocator (unused)"] pub const xmlErrorDomain_XML_FROM_MEMORY : xmlErrorDomain = 6 ; # [doc = " The serialization code"] pub const xmlErrorDomain_XML_FROM_OUTPUT : xmlErrorDomain = 7 ; # [doc = " The Input/Output stack"] pub const xmlErrorDomain_XML_FROM_IO : xmlErrorDomain = 8 ; # [doc = " The FTP module (unused)"] pub const xmlErrorDomain_XML_FROM_FTP : xmlErrorDomain = 9 ; # [doc = " The HTTP module (unused)"] pub const xmlErrorDomain_XML_FROM_HTTP : xmlErrorDomain = 10 ; # [doc = " The XInclude processing"] pub const xmlErrorDomain_XML_FROM_XINCLUDE : xmlErrorDomain = 11 ; # [doc = " The XPath module"] pub const xmlErrorDomain_XML_FROM_XPATH : xmlErrorDomain = 12 ; # [doc = " The XPointer module"] pub const xmlErrorDomain_XML_FROM_XPOINTER : xmlErrorDomain = 13 ; # [doc = " The regular expressions module"] pub const xmlErrorDomain_XML_FROM_REGEXP : xmlErrorDomain = 14 ; # [doc = " The W3C XML Schemas Datatype module"] pub const xmlErrorDomain_XML_FROM_DATATYPE : xmlErrorDomain = 15 ; # [doc = " The W3C XML Schemas parser module"] pub const xmlErrorDomain_XML_FROM_SCHEMASP : xmlErrorDomain = 16 ; # [doc = " The W3C XML Schemas validation module"] pub const xmlErrorDomain_XML_FROM_SCHEMASV : xmlErrorDomain = 17 ; # [doc = " The Relax-NG parser module"] pub const xmlErrorDomain_XML_FROM_RELAXNGP : xmlErrorDomain = 18 ; # [doc = " The Relax-NG validator module"] pub const xmlErrorDomain_XML_FROM_RELAXNGV : xmlErrorDomain = 19 ; # [doc = " The Catalog module"] pub const xmlErrorDomain_XML_FROM_CATALOG : xmlErrorDomain = 20 ; # [doc = " The Canonicalization module"] pub const xmlErrorDomain_XML_FROM_C14N : xmlErrorDomain = 21 ; # [doc = " The XSLT engine from libxslt (unused)"] pub const xmlErrorDomain_XML_FROM_XSLT : xmlErrorDomain = 22 ; # [doc = " The XML DTD validation with valid context"] pub const xmlErrorDomain_XML_FROM_VALID : xmlErrorDomain = 23 ; # [doc = " The error checking module (unused)"] pub const xmlErrorDomain_XML_FROM_CHECK : xmlErrorDomain = 24 ; # [doc = " The xmlwriter module"] pub const xmlErrorDomain_XML_FROM_WRITER : xmlErrorDomain = 25 ; # [doc = " The dynamically loaded module module (unused)"] pub const xmlErrorDomain_XML_FROM_MODULE : xmlErrorDomain = 26 ; # [doc = " The module handling character conversion (unused)"] pub const xmlErrorDomain_XML_FROM_I18N : xmlErrorDomain = 27 ; # [doc = " The Schematron validator module"] pub const xmlErrorDomain_XML_FROM_SCHEMATRONV : xmlErrorDomain = 28 ; # [doc = " The buffers module (unused)"] pub const xmlErrorDomain_XML_FROM_BUFFER : xmlErrorDomain = 29 ; # [doc = " The URI module (unused)"] pub const xmlErrorDomain_XML_FROM_URI : xmlErrorDomain = 30 ; # [doc = " Indicates where an error may have come from"] pub type xmlErrorDomain = :: std :: os :: raw :: c_uint ; # [doc = " Structured error"] pub type xmlError = _xmlError ; pub type xmlErrorPtr = * mut xmlError ; # [doc = " An object containing information about an error."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlError { # [doc = " An xmlErrorDomain value."] pub domain : :: std :: os :: raw :: c_int , # [doc = " The error code, e.g. an xmlParserErrors."] pub code : :: std :: os :: raw :: c_int , # [doc = " Human-readable error message."] pub message : * mut :: std :: os :: raw :: c_char , # [doc = " Error level."] pub level : xmlErrorLevel , # [doc = " Filename if available"] pub file : * mut :: std :: os :: raw :: c_char , # [doc = " Line number if available"] pub line : :: std :: os :: raw :: c_int , # [doc = " Extra string information."] pub str1 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra string information."] pub str2 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra string information."] pub str3 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra number information."] pub int1 : :: std :: os :: raw :: c_int , # [doc = " Column number if available."] pub int2 : :: std :: os :: raw :: c_int , # [doc = " Parser context if available"] pub ctxt : * mut :: std :: os :: raw :: c_void , # [doc = " Node if available"] pub node : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlError"] [:: std :: mem :: size_of :: < _xmlError > () - 88usize] ; ["Alignment of _xmlError"] [:: std :: mem :: align_of :: < _xmlError > () - 8usize] ; ["Offset of field: _xmlError::domain"] [:: std :: mem :: offset_of ! (_xmlError , domain) - 0usize] ; ["Offset of field: _xmlError::code"] [:: std :: mem :: offset_of ! (_xmlError , code) - 4usize] ; ["Offset of field: _xmlError::message"] [:: std :: mem :: offset_of ! (_xmlError , message) - 8usize] ; ["Offset of field: _xmlError::level"] [:: std :: mem :: offset_of ! (_xmlError , level) - 16usize] ; ["Offset of field: _xmlError::file"] [:: std :: mem :: offset_of ! (_xmlError , file) - 24usize] ; ["Offset of field: _xmlError::line"] [:: std :: mem :: offset_of ! (_xmlError , line) - 32usize] ; ["Offset of field: _xmlError::str1"] [:: std :: mem :: offset_of ! (_xmlError , str1) - 40usize] ; ["Offset of field: _xmlError::str2"] [:: std :: mem :: offset_of ! (_xmlError , str2) - 48usize] ; ["Offset of field: _xmlError::str3"] [:: std :: mem :: offset_of ! (_xmlError , str3) - 56usize] ; ["Offset of field: _xmlError::int1"] [:: std :: mem :: offset_of ! (_xmlError , int1) - 64usize] ; ["Offset of field: _xmlError::int2"] [:: std :: mem :: offset_of ! (_xmlError , int2) - 68usize] ; ["Offset of field: _xmlError::ctxt"] [:: std :: mem :: offset_of ! (_xmlError , ctxt) - 72usize] ; ["Offset of field: _xmlError::node"] [:: std :: mem :: offset_of ! (_xmlError , node) - 80usize] ; } ; # [doc = " Success."] pub const xmlParserErrors_XML_ERR_OK : xmlParserErrors = 0 ; # [doc = " Internal assertion failure."] pub const xmlParserErrors_XML_ERR_INTERNAL_ERROR : xmlParserErrors = 1 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_NO_MEMORY : xmlParserErrors = 2 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_START : xmlParserErrors = 3 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_EMPTY : xmlParserErrors = 4 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_END : xmlParserErrors = 5 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_HEX_CHARREF : xmlParserErrors = 6 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_DEC_CHARREF : xmlParserErrors = 7 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_CHARREF : xmlParserErrors = 8 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_CHAR : xmlParserErrors = 9 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_AT_EOF : xmlParserErrors = 10 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_PROLOG : xmlParserErrors = 11 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_EPILOG : xmlParserErrors = 12 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_DTD : xmlParserErrors = 13 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_AT_EOF : xmlParserErrors = 14 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_PROLOG : xmlParserErrors = 15 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_EPILOG : xmlParserErrors = 16 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_DTD : xmlParserErrors = 17 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_AT_EOF : xmlParserErrors = 18 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_PROLOG : xmlParserErrors = 19 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_EPILOG : xmlParserErrors = 20 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_INT_SUBSET : xmlParserErrors = 21 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_NO_NAME : xmlParserErrors = 22 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_SEMICOL_MISSING : xmlParserErrors = 23 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_NO_NAME : xmlParserErrors = 24 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_SEMICOL_MISSING : xmlParserErrors = 25 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNDECLARED_ENTITY : xmlParserErrors = 26 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_WAR_UNDECLARED_ENTITY : xmlParserErrors = 27 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNPARSED_ENTITY : xmlParserErrors = 28 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITY_IS_EXTERNAL : xmlParserErrors = 29 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITY_IS_PARAMETER : xmlParserErrors = 30 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNKNOWN_ENCODING : xmlParserErrors = 31 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_UNSUPPORTED_ENCODING : xmlParserErrors = 32 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STRING_NOT_STARTED : xmlParserErrors = 33 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STRING_NOT_CLOSED : xmlParserErrors = 34 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NS_DECL_ERROR : xmlParserErrors = 35 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_NOT_STARTED : xmlParserErrors = 36 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_NOT_FINISHED : xmlParserErrors = 37 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LT_IN_ATTRIBUTE : xmlParserErrors = 38 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_NOT_STARTED : xmlParserErrors = 39 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_NOT_FINISHED : xmlParserErrors = 40 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_WITHOUT_VALUE : xmlParserErrors = 41 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_REDEFINED : xmlParserErrors = 42 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LITERAL_NOT_STARTED : xmlParserErrors = 43 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LITERAL_NOT_FINISHED : xmlParserErrors = 44 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_COMMENT_NOT_FINISHED : xmlParserErrors = 45 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PI_NOT_STARTED : xmlParserErrors = 46 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PI_NOT_FINISHED : xmlParserErrors = 47 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_NOT_STARTED : xmlParserErrors = 48 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_NOT_FINISHED : xmlParserErrors = 49 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTLIST_NOT_STARTED : xmlParserErrors = 50 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTLIST_NOT_FINISHED : xmlParserErrors = 51 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MIXED_NOT_STARTED : xmlParserErrors = 52 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MIXED_NOT_FINISHED : xmlParserErrors = 53 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ELEMCONTENT_NOT_STARTED : xmlParserErrors = 54 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ELEMCONTENT_NOT_FINISHED : xmlParserErrors = 55 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_XMLDECL_NOT_STARTED : xmlParserErrors = 56 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_XMLDECL_NOT_FINISHED : xmlParserErrors = 57 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_NOT_STARTED : xmlParserErrors = 58 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_NOT_FINISHED : xmlParserErrors = 59 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXT_SUBSET_NOT_FINISHED : xmlParserErrors = 60 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_DOCTYPE_NOT_FINISHED : xmlParserErrors = 61 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MISPLACED_CDATA_END : xmlParserErrors = 62 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CDATA_NOT_FINISHED : xmlParserErrors = 63 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_RESERVED_XML_NAME : xmlParserErrors = 64 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_SPACE_REQUIRED : xmlParserErrors = 65 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_SEPARATOR_REQUIRED : xmlParserErrors = 66 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NMTOKEN_REQUIRED : xmlParserErrors = 67 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NAME_REQUIRED : xmlParserErrors = 68 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PCDATA_REQUIRED : xmlParserErrors = 69 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_URI_REQUIRED : xmlParserErrors = 70 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PUBID_REQUIRED : xmlParserErrors = 71 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LT_REQUIRED : xmlParserErrors = 72 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_GT_REQUIRED : xmlParserErrors = 73 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LTSLASH_REQUIRED : xmlParserErrors = 74 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EQUAL_REQUIRED : xmlParserErrors = 75 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_TAG_NAME_MISMATCH : xmlParserErrors = 76 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_TAG_NOT_FINISHED : xmlParserErrors = 77 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STANDALONE_VALUE : xmlParserErrors = 78 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENCODING_NAME : xmlParserErrors = 79 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_HYPHEN_IN_COMMENT : xmlParserErrors = 80 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_INVALID_ENCODING : xmlParserErrors = 81 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXT_ENTITY_STANDALONE : xmlParserErrors = 82 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_INVALID : xmlParserErrors = 83 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VALUE_REQUIRED : xmlParserErrors = 84 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOT_WELL_BALANCED : xmlParserErrors = 85 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXTRA_CONTENT : xmlParserErrors = 86 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_CHAR_ERROR : xmlParserErrors = 87 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_PE_INTERNAL : xmlParserErrors = 88 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_LOOP : xmlParserErrors = 89 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_BOUNDARY : xmlParserErrors = 90 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_INVALID_URI : xmlParserErrors = 91 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_URI_FRAGMENT : xmlParserErrors = 92 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_CATALOG_PI : xmlParserErrors = 93 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NO_DTD : xmlParserErrors = 94 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_INVALID_KEYWORD : xmlParserErrors = 95 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VERSION_MISSING : xmlParserErrors = 96 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_UNKNOWN_VERSION : xmlParserErrors = 97 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_LANG_VALUE : xmlParserErrors = 98 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_URI : xmlParserErrors = 99 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_URI_RELATIVE : xmlParserErrors = 100 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MISSING_ENCODING : xmlParserErrors = 101 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_SPACE_VALUE : xmlParserErrors = 102 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOT_STANDALONE : xmlParserErrors = 103 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_PROCESSING : xmlParserErrors = 104 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_PROCESSING : xmlParserErrors = 105 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_COLUMN : xmlParserErrors = 106 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_ENTITY_REDEFINED : xmlParserErrors = 107 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_UNKNOWN_VERSION : xmlParserErrors = 108 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VERSION_MISMATCH : xmlParserErrors = 109 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NAME_TOO_LONG : xmlParserErrors = 110 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_USER_STOP : xmlParserErrors = 111 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_COMMENT_ABRUPTLY_ENDED : xmlParserErrors = 112 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_ENCODING_MISMATCH : xmlParserErrors = 113 ; # [doc = " Internal resource limit like maximum amplification\n factor exceeded."] pub const xmlParserErrors_XML_ERR_RESOURCE_LIMIT : xmlParserErrors = 114 ; # [doc = " Invalid argument."] pub const xmlParserErrors_XML_ERR_ARGUMENT : xmlParserErrors = 115 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_SYSTEM : xmlParserErrors = 116 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_REDECL_PREDEF_ENTITY : xmlParserErrors = 117 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_INT_SUBSET_NOT_FINISHED : xmlParserErrors = 118 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_XML_NAMESPACE : xmlParserErrors = 200 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_UNDEFINED_NAMESPACE : xmlParserErrors = 201 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_QNAME : xmlParserErrors = 202 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_ATTRIBUTE_REDEFINED : xmlParserErrors = 203 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_EMPTY : xmlParserErrors = 204 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_COLON : xmlParserErrors = 205 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_DEFAULT : xmlParserErrors = 500 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_REDEFINED : xmlParserErrors = 501 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_VALUE : xmlParserErrors = 502 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_ERROR : xmlParserErrors = 503 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_MODEL : xmlParserErrors = 504 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_NOT_DETERMINIST : xmlParserErrors = 505 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_DIFFERENT_PREFIX : xmlParserErrors = 506 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_DEFAULT_NAMESPACE : xmlParserErrors = 507 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_NAMESPACE : xmlParserErrors = 508 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_REDEFINED : xmlParserErrors = 509 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_EMPTY_NOTATION : xmlParserErrors = 510 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ENTITY_TYPE : xmlParserErrors = 511 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_FIXED : xmlParserErrors = 512 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_REDEFINED : xmlParserErrors = 513 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_SUBSET : xmlParserErrors = 514 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_INVALID_CHILD : xmlParserErrors = 515 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_INVALID_DEFAULT : xmlParserErrors = 516 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_LOAD_ERROR : xmlParserErrors = 517 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MISSING_ATTRIBUTE : xmlParserErrors = 518 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MIXED_CORRUPT : xmlParserErrors = 519 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MULTIPLE_ID : xmlParserErrors = 520 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_DOC : xmlParserErrors = 521 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_DTD : xmlParserErrors = 522 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_ELEM_NAME : xmlParserErrors = 523 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_PREFIX : xmlParserErrors = 524 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_ROOT : xmlParserErrors = 525 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOTATION_REDEFINED : xmlParserErrors = 526 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOTATION_VALUE : xmlParserErrors = 527 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_EMPTY : xmlParserErrors = 528 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_PCDATA : xmlParserErrors = 529 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_STANDALONE : xmlParserErrors = 530 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ROOT_NAME : xmlParserErrors = 531 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_STANDALONE_WHITE_SPACE : xmlParserErrors = 532 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ATTRIBUTE : xmlParserErrors = 533 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ELEM : xmlParserErrors = 534 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ENTITY : xmlParserErrors = 535 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ID : xmlParserErrors = 536 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_NOTATION : xmlParserErrors = 537 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_STANDALONE_DEFAULTED : xmlParserErrors = 538 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_XMLID_VALUE : xmlParserErrors = 539 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_XMLID_TYPE : xmlParserErrors = 540 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_DUP_TOKEN : xmlParserErrors = 541 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_STRUCURE_ERROR : xmlParserErrors = 800 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_UNKNOWN_TAG : xmlParserErrors = 801 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_INCORRECTLY_OPENED_COMMENT : xmlParserErrors = 802 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ANYNAME_ATTR_ANCESTOR : xmlParserErrors = 1000 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTR_CONFLICT : xmlParserErrors = 1001 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_CHILDREN : xmlParserErrors = 1002 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_CONTENT : xmlParserErrors = 1003 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_EMPTY : xmlParserErrors = 1004 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_NOOP : xmlParserErrors = 1005 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CHOICE_CONTENT : xmlParserErrors = 1006 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CHOICE_EMPTY : xmlParserErrors = 1007 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CREATE_FAILURE : xmlParserErrors = 1008 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DATA_CONTENT : xmlParserErrors = 1009 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEF_CHOICE_AND_INTERLEAVE : xmlParserErrors = 1010 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_CREATE_FAILED : xmlParserErrors = 1011 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_EMPTY : xmlParserErrors = 1012 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_MISSING : xmlParserErrors = 1013 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_NAME_MISSING : xmlParserErrors = 1014 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_CONTENT_EMPTY : xmlParserErrors = 1015 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_CONTENT_ERROR : xmlParserErrors = 1016 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_EMPTY : xmlParserErrors = 1017 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_CONTENT : xmlParserErrors = 1018 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_NAME : xmlParserErrors = 1019 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_NO_CONTENT : xmlParserErrors = 1020 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_TEXT_CONFLICT : xmlParserErrors = 1021 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY : xmlParserErrors = 1022 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_CONSTRUCT : xmlParserErrors = 1023 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_CONTENT : xmlParserErrors = 1024 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_NOT_EMPTY : xmlParserErrors = 1025 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ERROR_TYPE_LIB : xmlParserErrors = 1026 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_EMPTY : xmlParserErrors = 1027 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_MISSING : xmlParserErrors = 1028 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_MULTIPLE : xmlParserErrors = 1029 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_NO_CONTENT : xmlParserErrors = 1030 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNALREF_EMTPY : xmlParserErrors = 1031 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNAL_REF_FAILURE : xmlParserErrors = 1032 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNALREF_RECURSE : xmlParserErrors = 1033 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_FORBIDDEN_ATTRIBUTE : xmlParserErrors = 1034 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_FOREIGN_ELEMENT : xmlParserErrors = 1035 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_CONTENT : xmlParserErrors = 1036 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_EMPTY : xmlParserErrors = 1037 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_MISSING : xmlParserErrors = 1038 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_NO_START : xmlParserErrors = 1039 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GROUP_ATTR_CONFLICT : xmlParserErrors = 1040 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_HREF_ERROR : xmlParserErrors = 1041 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_EMPTY : xmlParserErrors = 1042 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_FAILURE : xmlParserErrors = 1043 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_RECURSE : xmlParserErrors = 1044 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_ADD : xmlParserErrors = 1045 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_CREATE_FAILED : xmlParserErrors = 1046 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_EMPTY : xmlParserErrors = 1047 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_NO_CONTENT : xmlParserErrors = 1048 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_DEFINE_NAME : xmlParserErrors = 1049 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_URI : xmlParserErrors = 1050 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_VALUE : xmlParserErrors = 1051 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_MISSING_HREF : xmlParserErrors = 1052 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NAME_MISSING : xmlParserErrors = 1053 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NEED_COMBINE : xmlParserErrors = 1054 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NOTALLOWED_NOT_EMPTY : xmlParserErrors = 1055 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NSNAME_ATTR_ANCESTOR : xmlParserErrors = 1056 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NSNAME_NO_NS : xmlParserErrors = 1057 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARAM_FORBIDDEN : xmlParserErrors = 1058 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARAM_NAME_MISSING : xmlParserErrors = 1059 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_CREATE_FAILED : xmlParserErrors = 1060 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NAME_INVALID : xmlParserErrors = 1061 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NO_NAME : xmlParserErrors = 1062 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NO_PARENT : xmlParserErrors = 1063 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NOT_EMPTY : xmlParserErrors = 1064 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARSE_ERROR : xmlParserErrors = 1065 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ANYNAME_EXCEPT_ANYNAME : xmlParserErrors = 1066 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ATTR_ATTR : xmlParserErrors = 1067 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ATTR_ELEM : xmlParserErrors = 1068 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ATTR : xmlParserErrors = 1069 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ELEM : xmlParserErrors = 1070 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_EMPTY : xmlParserErrors = 1071 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_GROUP : xmlParserErrors = 1072 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_INTERLEAVE : xmlParserErrors = 1073 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_LIST : xmlParserErrors = 1074 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ONEMORE : xmlParserErrors = 1075 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_REF : xmlParserErrors = 1076 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_TEXT : xmlParserErrors = 1077 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_ATTR : xmlParserErrors = 1078 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_ELEM : xmlParserErrors = 1079 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_INTERLEAVE : xmlParserErrors = 1080 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_LIST : xmlParserErrors = 1081 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_REF : xmlParserErrors = 1082 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_TEXT : xmlParserErrors = 1083 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_NSNAME_EXCEPT_ANYNAME : xmlParserErrors = 1084 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_NSNAME_EXCEPT_NSNAME : xmlParserErrors = 1085 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ONEMORE_GROUP_ATTR : xmlParserErrors = 1086 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ONEMORE_INTERLEAVE_ATTR : xmlParserErrors = 1087 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_ATTR : xmlParserErrors = 1088 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_DATA : xmlParserErrors = 1089 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_EMPTY : xmlParserErrors = 1090 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_GROUP : xmlParserErrors = 1091 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_INTERLEAVE : xmlParserErrors = 1092 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_LIST : xmlParserErrors = 1093 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_ONEMORE : xmlParserErrors = 1094 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_TEXT : xmlParserErrors = 1095 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_VALUE : xmlParserErrors = 1096 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PREFIX_UNDEFINED : xmlParserErrors = 1097 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_CREATE_FAILED : xmlParserErrors = 1098 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_CYCLE : xmlParserErrors = 1099 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NAME_INVALID : xmlParserErrors = 1100 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NO_DEF : xmlParserErrors = 1101 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NO_NAME : xmlParserErrors = 1102 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NOT_EMPTY : xmlParserErrors = 1103 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_CHOICE_AND_INTERLEAVE : xmlParserErrors = 1104 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_CONTENT : xmlParserErrors = 1105 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_EMPTY : xmlParserErrors = 1106 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_MISSING : xmlParserErrors = 1107 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TEXT_EXPECTED : xmlParserErrors = 1108 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TEXT_HAS_CHILD : xmlParserErrors = 1109 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_MISSING : xmlParserErrors = 1110 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_NOT_FOUND : xmlParserErrors = 1111 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_VALUE : xmlParserErrors = 1112 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_ATTRIBUTE : xmlParserErrors = 1113 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_COMBINE : xmlParserErrors = 1114 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_CONSTRUCT : xmlParserErrors = 1115 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_TYPE_LIB : xmlParserErrors = 1116 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_URI_FRAGMENT : xmlParserErrors = 1117 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_URI_NOT_ABSOLUTE : xmlParserErrors = 1118 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_VALUE_EMPTY : xmlParserErrors = 1119 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_VALUE_NO_CONTENT : xmlParserErrors = 1120 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_XMLNS_NAME : xmlParserErrors = 1121 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_XML_NS : xmlParserErrors = 1122 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_EXPRESSION_OK : xmlParserErrors = 1200 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_NUMBER_ERROR : xmlParserErrors = 1201 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNFINISHED_LITERAL_ERROR : xmlParserErrors = 1202 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_START_LITERAL_ERROR : xmlParserErrors = 1203 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_VARIABLE_REF_ERROR : xmlParserErrors = 1204 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNDEF_VARIABLE_ERROR : xmlParserErrors = 1205 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_PREDICATE_ERROR : xmlParserErrors = 1206 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_EXPR_ERROR : xmlParserErrors = 1207 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNCLOSED_ERROR : xmlParserErrors = 1208 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNKNOWN_FUNC_ERROR : xmlParserErrors = 1209 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_OPERAND : xmlParserErrors = 1210 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_TYPE : xmlParserErrors = 1211 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_ARITY : xmlParserErrors = 1212 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CTXT_SIZE : xmlParserErrors = 1213 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CTXT_POSITION : xmlParserErrors = 1214 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_MEMORY_ERROR : xmlParserErrors = 1215 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_SYNTAX_ERROR : xmlParserErrors = 1216 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_RESOURCE_ERROR : xmlParserErrors = 1217 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_SUB_RESOURCE_ERROR : xmlParserErrors = 1218 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNDEF_PREFIX_ERROR : xmlParserErrors = 1219 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_ENCODING_ERROR : xmlParserErrors = 1220 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CHAR_ERROR : xmlParserErrors = 1221 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_INVALID_HEX : xmlParserErrors = 1300 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_INVALID_DEC : xmlParserErrors = 1301 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_UNTERMINATED_ENTITY : xmlParserErrors = 1302 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_NOT_UTF8 : xmlParserErrors = 1303 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_NOT_UTF8 : xmlParserErrors = 1400 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_CHAR_INVALID : xmlParserErrors = 1401 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_NO_DOCTYPE : xmlParserErrors = 1402 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_UNKNOWN_ENCODING : xmlParserErrors = 1403 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_REGEXP_COMPILE_ERROR : xmlParserErrors = 1450 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_UNKNOWN : xmlParserErrors = 1500 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EACCES : xmlParserErrors = 1501 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EAGAIN : xmlParserErrors = 1502 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBADF : xmlParserErrors = 1503 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBADMSG : xmlParserErrors = 1504 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBUSY : xmlParserErrors = 1505 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ECANCELED : xmlParserErrors = 1506 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ECHILD : xmlParserErrors = 1507 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EDEADLK : xmlParserErrors = 1508 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EDOM : xmlParserErrors = 1509 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EEXIST : xmlParserErrors = 1510 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EFAULT : xmlParserErrors = 1511 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EFBIG : xmlParserErrors = 1512 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINPROGRESS : xmlParserErrors = 1513 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINTR : xmlParserErrors = 1514 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINVAL : xmlParserErrors = 1515 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EIO : xmlParserErrors = 1516 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EISDIR : xmlParserErrors = 1517 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMFILE : xmlParserErrors = 1518 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMLINK : xmlParserErrors = 1519 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMSGSIZE : xmlParserErrors = 1520 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENAMETOOLONG : xmlParserErrors = 1521 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENFILE : xmlParserErrors = 1522 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENODEV : xmlParserErrors = 1523 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOENT : xmlParserErrors = 1524 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOEXEC : xmlParserErrors = 1525 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOLCK : xmlParserErrors = 1526 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOMEM : xmlParserErrors = 1527 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOSPC : xmlParserErrors = 1528 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOSYS : xmlParserErrors = 1529 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTDIR : xmlParserErrors = 1530 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTEMPTY : xmlParserErrors = 1531 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTSUP : xmlParserErrors = 1532 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTTY : xmlParserErrors = 1533 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENXIO : xmlParserErrors = 1534 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EPERM : xmlParserErrors = 1535 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EPIPE : xmlParserErrors = 1536 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ERANGE : xmlParserErrors = 1537 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EROFS : xmlParserErrors = 1538 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ESPIPE : xmlParserErrors = 1539 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ESRCH : xmlParserErrors = 1540 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ETIMEDOUT : xmlParserErrors = 1541 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EXDEV : xmlParserErrors = 1542 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_NETWORK_ATTEMPT : xmlParserErrors = 1543 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENCODER : xmlParserErrors = 1544 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_FLUSH : xmlParserErrors = 1545 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_WRITE : xmlParserErrors = 1546 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_NO_INPUT : xmlParserErrors = 1547 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_BUFFER_FULL : xmlParserErrors = 1548 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_LOAD_ERROR : xmlParserErrors = 1549 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTSOCK : xmlParserErrors = 1550 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EISCONN : xmlParserErrors = 1551 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ECONNREFUSED : xmlParserErrors = 1552 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENETUNREACH : xmlParserErrors = 1553 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EADDRINUSE : xmlParserErrors = 1554 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EALREADY : xmlParserErrors = 1555 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EAFNOSUPPORT : xmlParserErrors = 1556 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_UNSUPPORTED_PROTOCOL : xmlParserErrors = 1557 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_RECURSION : xmlParserErrors = 1600 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_PARSE_VALUE : xmlParserErrors = 1601 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_ENTITY_DEF_MISMATCH : xmlParserErrors = 1602 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_NO_HREF : xmlParserErrors = 1603 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_NO_FALLBACK : xmlParserErrors = 1604 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_HREF_URI : xmlParserErrors = 1605 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_TEXT_FRAGMENT : xmlParserErrors = 1606 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_TEXT_DOCUMENT : xmlParserErrors = 1607 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_INVALID_CHAR : xmlParserErrors = 1608 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_BUILD_FAILED : xmlParserErrors = 1609 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_UNKNOWN_ENCODING : xmlParserErrors = 1610 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_MULTIPLE_ROOT : xmlParserErrors = 1611 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_XPTR_FAILED : xmlParserErrors = 1612 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_XPTR_RESULT : xmlParserErrors = 1613 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_INCLUDE_IN_INCLUDE : xmlParserErrors = 1614 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FALLBACKS_IN_INCLUDE : xmlParserErrors = 1615 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FALLBACK_NOT_IN_INCLUDE : xmlParserErrors = 1616 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_DEPRECATED_NS : xmlParserErrors = 1617 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FRAGMENT_ID : xmlParserErrors = 1618 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_MISSING_ATTR : xmlParserErrors = 1650 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_ENTRY_BROKEN : xmlParserErrors = 1651 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_PREFER_VALUE : xmlParserErrors = 1652 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_NOT_CATALOG : xmlParserErrors = 1653 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_RECURSION : xmlParserErrors = 1654 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_PREFIX_UNDEFINED : xmlParserErrors = 1700 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTRFORMDEFAULT_VALUE : xmlParserErrors = 1701 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTRGRP_NONAME_NOREF : xmlParserErrors = 1702 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTR_NONAME_NOREF : xmlParserErrors = 1703 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COMPLEXTYPE_NONAME_NOREF : xmlParserErrors = 1704 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEMFORMDEFAULT_VALUE : xmlParserErrors = 1705 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEM_NONAME_NOREF : xmlParserErrors = 1706 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_EXTENSION_NO_BASE : xmlParserErrors = 1707 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FACET_NO_VALUE : xmlParserErrors = 1708 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_BUILD_IMPORT : xmlParserErrors = 1709 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_GROUP_NONAME_NOREF : xmlParserErrors = 1710 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_NAMESPACE_NOT_URI : xmlParserErrors = 1711 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_REDEFINE_NSNAME : xmlParserErrors = 1712 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_SCHEMA_NOT_URI : xmlParserErrors = 1713 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_BOOLEAN : xmlParserErrors = 1714 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ENUM : xmlParserErrors = 1715 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_FACET : xmlParserErrors = 1716 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_FACET_VALUE : xmlParserErrors = 1717 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_MAXOCCURS : xmlParserErrors = 1718 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_MINOCCURS : xmlParserErrors = 1719 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_REF_AND_SUBTYPE : xmlParserErrors = 1720 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_WHITE_SPACE : xmlParserErrors = 1721 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOATTR_NOREF : xmlParserErrors = 1722 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTATION_NO_NAME : xmlParserErrors = 1723 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTYPE_NOREF : xmlParserErrors = 1724 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REF_AND_SUBTYPE : xmlParserErrors = 1725 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_RESTRICTION_NONAME_NOREF : xmlParserErrors = 1726 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SIMPLETYPE_NONAME : xmlParserErrors = 1727 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_TYPE_AND_SUBTYPE : xmlParserErrors = 1728 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ALL_CHILD : xmlParserErrors = 1729 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ANYATTRIBUTE_CHILD : xmlParserErrors = 1730 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTR_CHILD : xmlParserErrors = 1731 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTRGRP_CHILD : xmlParserErrors = 1732 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTRIBUTE_GROUP : xmlParserErrors = 1733 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_BASE_TYPE : xmlParserErrors = 1734 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_CHOICE_CHILD : xmlParserErrors = 1735 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_COMPLEXCONTENT_CHILD : xmlParserErrors = 1736 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_COMPLEXTYPE_CHILD : xmlParserErrors = 1737 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ELEM_CHILD : xmlParserErrors = 1738 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_EXTENSION_CHILD : xmlParserErrors = 1739 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_FACET_CHILD : xmlParserErrors = 1740 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_FACET_TYPE : xmlParserErrors = 1741 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_GROUP_CHILD : xmlParserErrors = 1742 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_IMPORT_CHILD : xmlParserErrors = 1743 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_LIST_CHILD : xmlParserErrors = 1744 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_NOTATION_CHILD : xmlParserErrors = 1745 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_PROCESSCONTENT_CHILD : xmlParserErrors = 1746 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_REF : xmlParserErrors = 1747 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_RESTRICTION_CHILD : xmlParserErrors = 1748 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SCHEMAS_CHILD : xmlParserErrors = 1749 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SEQUENCE_CHILD : xmlParserErrors = 1750 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SIMPLECONTENT_CHILD : xmlParserErrors = 1751 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SIMPLETYPE_CHILD : xmlParserErrors = 1752 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_TYPE : xmlParserErrors = 1753 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_UNION_CHILD : xmlParserErrors = 1754 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEM_DEFAULT_FIXED : xmlParserErrors = 1755 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REGEXP_INVALID : xmlParserErrors = 1756 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_LOAD : xmlParserErrors = 1757 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTHING_TO_PARSE : xmlParserErrors = 1758 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOROOT : xmlParserErrors = 1759 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_GROUP : xmlParserErrors = 1760 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_TYPE : xmlParserErrors = 1761 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ELEMENT : xmlParserErrors = 1762 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ATTRGROUP : xmlParserErrors = 1763 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ATTR : xmlParserErrors = 1764 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_NOTATION : xmlParserErrors = 1765 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_PARSE : xmlParserErrors = 1766 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_PREFIX : xmlParserErrors = 1767 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DEF_AND_PREFIX : xmlParserErrors = 1768 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_INCLUDE_CHILD : xmlParserErrors = 1769 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INCLUDE_SCHEMA_NOT_URI : xmlParserErrors = 1770 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INCLUDE_SCHEMA_NO_URI : xmlParserErrors = 1771 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOT_SCHEMA : xmlParserErrors = 1772 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_MEMBER_TYPE : xmlParserErrors = 1773 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_USE : xmlParserErrors = 1774 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_RECURSIVE : xmlParserErrors = 1775 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPE : xmlParserErrors = 1776 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_COMBINATION : xmlParserErrors = 1777 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_INLINE_COMBINATION : xmlParserErrors = 1778 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MISSING_SIMPLETYPE_CHILD : xmlParserErrors = 1779 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_NAME : xmlParserErrors = 1780 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REF_AND_CONTENT : xmlParserErrors = 1781 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_1 : xmlParserErrors = 1782 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_2 : xmlParserErrors = 1783 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_3 : xmlParserErrors = 1784 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_4 : xmlParserErrors = 1785 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_5 : xmlParserErrors = 1786 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_1 : xmlParserErrors = 1787 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_1 : xmlParserErrors = 1788 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_2 : xmlParserErrors = 1789 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_2 : xmlParserErrors = 1790 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_3 : xmlParserErrors = 1791 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WILDCARD_INVALID_NS_MEMBER : xmlParserErrors = 1792 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INTERSECTION_NOT_EXPRESSIBLE : xmlParserErrors = 1793 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNION_NOT_EXPRESSIBLE : xmlParserErrors = 1794 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_3_1 : xmlParserErrors = 1795 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_3_2 : xmlParserErrors = 1796 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_1 : xmlParserErrors = 1797 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_2 : xmlParserErrors = 1798 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_3 : xmlParserErrors = 1799 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_3 : xmlParserErrors = 1800 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOROOT : xmlParserErrors = 1801 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_UNDECLAREDELEM : xmlParserErrors = 1802 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTTOPLEVEL : xmlParserErrors = 1803 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_MISSING : xmlParserErrors = 1804 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_WRONGELEM : xmlParserErrors = 1805 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTYPE : xmlParserErrors = 1806 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOROLLBACK : xmlParserErrors = 1807 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ISABSTRACT : xmlParserErrors = 1808 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTEMPTY : xmlParserErrors = 1809 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ELEMCONT : xmlParserErrors = 1810 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_HAVEDEFAULT : xmlParserErrors = 1811 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTNILLABLE : xmlParserErrors = 1812 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_EXTRACONTENT : xmlParserErrors = 1813 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INVALIDATTR : xmlParserErrors = 1814 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INVALIDELEM : xmlParserErrors = 1815 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTDETERMINIST : xmlParserErrors = 1816 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CONSTRUCT : xmlParserErrors = 1817 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INTERNAL : xmlParserErrors = 1818 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTSIMPLE : xmlParserErrors = 1819 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ATTRUNKNOWN : xmlParserErrors = 1820 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ATTRINVALID : xmlParserErrors = 1821 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_VALUE : xmlParserErrors = 1822 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_FACET : xmlParserErrors = 1823 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_1 : xmlParserErrors = 1824 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_2 : xmlParserErrors = 1825 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_3 : xmlParserErrors = 1826 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_3_1_1 : xmlParserErrors = 1827 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_3_1_2 : xmlParserErrors = 1828 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_FACET_VALID : xmlParserErrors = 1829 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_LENGTH_VALID : xmlParserErrors = 1830 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MINLENGTH_VALID : xmlParserErrors = 1831 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXLENGTH_VALID : xmlParserErrors = 1832 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MININCLUSIVE_VALID : xmlParserErrors = 1833 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXINCLUSIVE_VALID : xmlParserErrors = 1834 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MINEXCLUSIVE_VALID : xmlParserErrors = 1835 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXEXCLUSIVE_VALID : xmlParserErrors = 1836 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TOTALDIGITS_VALID : xmlParserErrors = 1837 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_FRACTIONDIGITS_VALID : xmlParserErrors = 1838 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_PATTERN_VALID : xmlParserErrors = 1839 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ENUMERATION_VALID : xmlParserErrors = 1840 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_1 : xmlParserErrors = 1841 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_2 : xmlParserErrors = 1842 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_3 : xmlParserErrors = 1843 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_4 : xmlParserErrors = 1844 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_1 : xmlParserErrors = 1845 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_2 : xmlParserErrors = 1846 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_1 : xmlParserErrors = 1847 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_2_1 : xmlParserErrors = 1848 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_2_2 : xmlParserErrors = 1849 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_1 : xmlParserErrors = 1850 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_2 : xmlParserErrors = 1851 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_3 : xmlParserErrors = 1852 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_1_1 : xmlParserErrors = 1853 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_1_2 : xmlParserErrors = 1854 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_1 : xmlParserErrors = 1855 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_1 : xmlParserErrors = 1856 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_2_1 : xmlParserErrors = 1857 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_2_2 : xmlParserErrors = 1858 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_6 : xmlParserErrors = 1859 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_7 : xmlParserErrors = 1860 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_1 : xmlParserErrors = 1861 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_2 : xmlParserErrors = 1862 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_3 : xmlParserErrors = 1863 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_4 : xmlParserErrors = 1864 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_1 : xmlParserErrors = 1865 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_1 : xmlParserErrors = 1866 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_2 : xmlParserErrors = 1867 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_4 : xmlParserErrors = 1868 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_5_1 : xmlParserErrors = 1869 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_5_2 : xmlParserErrors = 1870 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ELEMENT_CONTENT : xmlParserErrors = 1871 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_DOCUMENT_ELEMENT_MISSING : xmlParserErrors = 1872 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_1 : xmlParserErrors = 1873 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_AU : xmlParserErrors = 1874 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_1 : xmlParserErrors = 1875 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_2 : xmlParserErrors = 1876 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_IDC : xmlParserErrors = 1877 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_WILDCARD : xmlParserErrors = 1878 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_MISC : xmlParserErrors = 1879 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_UNKNOWN_SCHEME : xmlParserErrors = 1900 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_CHILDSEQ_START : xmlParserErrors = 1901 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_EVAL_FAILED : xmlParserErrors = 1902 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_EXTRA_OBJECTS : xmlParserErrors = 1903 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_CREATE_CTXT : xmlParserErrors = 1950 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_REQUIRES_UTF8 : xmlParserErrors = 1951 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_CREATE_STACK : xmlParserErrors = 1952 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_INVALID_NODE : xmlParserErrors = 1953 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_UNKNOW_NODE : xmlParserErrors = 1954 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_RELATIVE_NAMESPACE : xmlParserErrors = 1955 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_PASV_ANSWER : xmlParserErrors = 2000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_EPSV_ANSWER : xmlParserErrors = 2001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_ACCNT : xmlParserErrors = 2002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_URL_SYNTAX : xmlParserErrors = 2003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_URL_SYNTAX : xmlParserErrors = 2020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_USE_IP : xmlParserErrors = 2021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_UNKNOWN_HOST : xmlParserErrors = 2022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_1 : xmlParserErrors = 3000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_2 : xmlParserErrors = 3001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_3 : xmlParserErrors = 3002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_4 : xmlParserErrors = 3003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_RESOLVE : xmlParserErrors = 3004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE : xmlParserErrors = 3005 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE : xmlParserErrors = 3006 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPES : xmlParserErrors = 3007 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_1 : xmlParserErrors = 3008 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_2 : xmlParserErrors = 3009 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_3 : xmlParserErrors = 3010 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_1 : xmlParserErrors = 3011 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_2 : xmlParserErrors = 3012 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_3_1 : xmlParserErrors = 3013 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_3_2 : xmlParserErrors = 3014 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_1 : xmlParserErrors = 3015 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_1 : xmlParserErrors = 3016 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_2 : xmlParserErrors = 3017 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_1 : xmlParserErrors = 3018 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_2 : xmlParserErrors = 3019 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_3 : xmlParserErrors = 3020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_4 : xmlParserErrors = 3021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_5 : xmlParserErrors = 3022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_1 : xmlParserErrors = 3023 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1 : xmlParserErrors = 3024 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1_2 : xmlParserErrors = 3025 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_2 : xmlParserErrors = 3026 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_1 : xmlParserErrors = 3027 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_3 : xmlParserErrors = 3028 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_4 : xmlParserErrors = 3029 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_5 : xmlParserErrors = 3030 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_DERIVED_OK_2_1 : xmlParserErrors = 3031 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_DERIVED_OK_2_2 : xmlParserErrors = 3032 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ELEM_NOT_ALLOWED : xmlParserErrors = 3033 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ELEM_MISSING : xmlParserErrors = 3034 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_NOT_ALLOWED : xmlParserErrors = 3035 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_MISSING : xmlParserErrors = 3036 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_INVALID_VALUE : xmlParserErrors = 3037 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_1 : xmlParserErrors = 3038 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_2_1 : xmlParserErrors = 3039 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_2_2 : xmlParserErrors = 3040 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_3 : xmlParserErrors = 3041 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_1 : xmlParserErrors = 3042 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_2_1 : xmlParserErrors = 3043 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_2_2 : xmlParserErrors = 3044 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_2 : xmlParserErrors = 3045 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_3 : xmlParserErrors = 3046 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_4 : xmlParserErrors = 3047 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_5 : xmlParserErrors = 3048 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_6 : xmlParserErrors = 3049 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_INCLUDE : xmlParserErrors = 3050 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_1 : xmlParserErrors = 3051 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_2 : xmlParserErrors = 3052 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_3_1 : xmlParserErrors = 3053 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_3_2 : xmlParserErrors = 3054 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_4 : xmlParserErrors = 3055 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NO_XMLNS : xmlParserErrors = 3056 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NO_XSI : xmlParserErrors = 3057 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_1 : xmlParserErrors = 3058 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_1 : xmlParserErrors = 3059 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_2_1 : xmlParserErrors = 3060 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_2_2 : xmlParserErrors = 3061 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CVC_SIMPLE_TYPE : xmlParserErrors = 3062 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_1 : xmlParserErrors = 3063 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_1_1 : xmlParserErrors = 3064 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_1_2 : xmlParserErrors = 3065 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2 : xmlParserErrors = 3066 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2_1 : xmlParserErrors = 3067 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2_2 : xmlParserErrors = 3068 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INTERNAL : xmlParserErrors = 3069 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOT_DETERMINISTIC : xmlParserErrors = 3070 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_1 : xmlParserErrors = 3071 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_2 : xmlParserErrors = 3072 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_3 : xmlParserErrors = 3073 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MG_PROPS_CORRECT_1 : xmlParserErrors = 3074 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MG_PROPS_CORRECT_2 : xmlParserErrors = 3075 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_CT_1 : xmlParserErrors = 3076 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_3 : xmlParserErrors = 3077 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AU_PROPS_CORRECT_2 : xmlParserErrors = 3078 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_A_PROPS_CORRECT_2 : xmlParserErrors = 3079 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_C_PROPS_CORRECT : xmlParserErrors = 3080 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_REDEFINE : xmlParserErrors = 3081 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT : xmlParserErrors = 3082 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_SKIP_SCHEMA : xmlParserErrors = 3083 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_UNLOCATED_SCHEMA : xmlParserErrors = 3084 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_ATTR_REDECL_PROH : xmlParserErrors = 3085 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_ATTR_POINTLESS_PROH : xmlParserErrors = 3086 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AG_PROPS_CORRECT : xmlParserErrors = 3087 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_2 : xmlParserErrors = 3088 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AU_PROPS_CORRECT : xmlParserErrors = 3089 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_A_PROPS_CORRECT_3 : xmlParserErrors = 3090 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ALL_LIMITED : xmlParserErrors = 3091 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMATRONV_ASSERT : xmlParserErrors = 4000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMATRONV_REPORT : xmlParserErrors = 4001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_MODULE_OPEN : xmlParserErrors = 4900 ; # [doc = " File not found."] pub const xmlParserErrors_XML_MODULE_CLOSE : xmlParserErrors = 4901 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ELEMENT : xmlParserErrors = 5000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ATTRIBUTE : xmlParserErrors = 5001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_TEXT : xmlParserErrors = 5002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_CDATA : xmlParserErrors = 5003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ENTITYREF : xmlParserErrors = 5004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ENTITY : xmlParserErrors = 5005 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_PI : xmlParserErrors = 5006 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_COMMENT : xmlParserErrors = 5007 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_DOCTYPE : xmlParserErrors = 5008 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_FRAGMENT : xmlParserErrors = 5009 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_NOTATION : xmlParserErrors = 5010 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_UNKNOWN_NODE : xmlParserErrors = 5011 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_ENTITY_TYPE : xmlParserErrors = 5012 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_PARENT : xmlParserErrors = 5013 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_DOC : xmlParserErrors = 5014 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_NAME : xmlParserErrors = 5015 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_ELEM : xmlParserErrors = 5016 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_DOC : xmlParserErrors = 5017 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_PREV : xmlParserErrors = 5018 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_PREV : xmlParserErrors = 5019 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_NEXT : xmlParserErrors = 5020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_NEXT : xmlParserErrors = 5021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_DTD : xmlParserErrors = 5022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ATTR : xmlParserErrors = 5023 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ATTR_DECL : xmlParserErrors = 5024 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ELEM_DECL : xmlParserErrors = 5025 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ENTITY_DECL : xmlParserErrors = 5026 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_NS_DECL : xmlParserErrors = 5027 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_HREF : xmlParserErrors = 5028 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_PARENT : xmlParserErrors = 5029 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NS_SCOPE : xmlParserErrors = 5030 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NS_ANCESTOR : xmlParserErrors = 5031 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_UTF8 : xmlParserErrors = 5032 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_DICT : xmlParserErrors = 5033 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_NCNAME : xmlParserErrors = 5034 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_OUTSIDE_DICT : xmlParserErrors = 5035 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_NAME : xmlParserErrors = 5036 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NAME_NOT_NULL : xmlParserErrors = 5037 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_NAME : xmlParserErrors = 6000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_HANDLER : xmlParserErrors = 6001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_EXCESS_HANDLER : xmlParserErrors = 6002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_CONV_FAILED : xmlParserErrors = 6003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_OUTPUT : xmlParserErrors = 6004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_BUF_OVERFLOW : xmlParserErrors = 7000 ; # [doc = " Error codes. Note that only some codes are documented."] pub type xmlParserErrors = :: std :: os :: raw :: c_uint ; # [doc = " Generic error callback.\n\n @deprecated in favor of structured errors.\n @param ctx  user data\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlGenericErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Structured error callback receiving an xmlError.\n\n @param userData  user provided data for the error callback\n @param error  the error being raised"] pub type xmlStructuredErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (userData : * mut :: std :: os :: raw :: c_void , error : * const xmlError) > ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlLastError () -> * const xmlError ; } unsafe extern "C" { pub fn __xmlGenericError () -> * mut xmlGenericErrorFunc ; } unsafe extern "C" { pub fn __xmlGenericErrorContext () -> * mut * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn __xmlStructuredError () -> * mut xmlStructuredErrorFunc ; } unsafe extern "C" { pub fn __xmlStructuredErrorContext () -> * mut * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlSetGenericErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlGenericErrorFunc) ; } unsafe extern "C" { pub fn xmlSetStructuredErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlStructuredErrorFunc) ; } unsafe extern "C" { pub fn xmlThrDefSetGenericErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlGenericErrorFunc) ; } unsafe extern "C" { pub fn xmlThrDefSetStructuredErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlStructuredErrorFunc) ; } unsafe extern "C" { pub fn xmlParserError (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserWarning (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserValidityError (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserValidityWarning (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserPrintFileInfo (input : * mut _xmlParserInput) ; } unsafe extern "C" { pub fn xmlParserPrintFileContext (input : * mut _xmlParserInput) ; } unsafe extern "C" { pub fn xmlFormatError (err : * const xmlError , channel : xmlGenericErrorFunc , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlGetLastError () -> * const xmlError ; } unsafe extern "C" { pub fn xmlResetLastError () ; } unsafe extern "C" { pub fn xmlCtxtGetLastError (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlError ; } unsafe extern "C" { pub fn xmlCtxtResetLastError (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlResetError (err : * mut xmlError) ; } unsafe extern "C" { pub fn xmlCopyError (from : * const xmlError , to : * mut xmlError) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlLink { _unused : [u8 ; 0] , } # [doc = " Linked list item\n\n @deprecated Don't use in new code."] pub type xmlLink = _xmlLink ; pub type xmlLinkPtr = * mut xmlLink ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlList { _unused : [u8 ; 0] , } # [doc = " Linked list\n\n @deprecated Don't use in new code."] pub type xmlList = _xmlList ; pub type xmlListPtr = * mut xmlList ; # [doc = " Callback function used to free data from a list.\n\n @param lk  the data to deallocate"] pub type xmlListDeallocator = :: std :: option :: Option < unsafe extern "C" fn (lk : * mut xmlLink) > ; # [doc = " Callback function used to compare 2 data.\n\n @param data0  the first data\n @param data1  the second data\n @returns 0 is equality, -1 or 1 otherwise depending on the ordering."] pub type xmlListDataCompare = :: std :: option :: Option < unsafe extern "C" fn (data0 : * const :: std :: os :: raw :: c_void , data1 : * const :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback function used when walking a list with #xmlListWalk.\n\n @param data  the data found in the list\n @param user  extra user provided data to the walker\n @returns 0 to stop walking the list, 1 otherwise."] pub type xmlListWalker = :: std :: option :: Option < unsafe extern "C" fn (data : * const :: std :: os :: raw :: c_void , user : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; unsafe extern "C" { pub fn xmlListCreate (deallocator : xmlListDeallocator , compare : xmlListDataCompare) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlListDelete (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListSearch (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlListReverseSearch (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlListInsert (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListAppend (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveFirst (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveLast (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveAll (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListClear (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListEmpty (l : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListFront (l : * mut xmlList) -> * mut xmlLink ; } unsafe extern "C" { pub fn xmlListEnd (l : * mut xmlList) -> * mut xmlLink ; } unsafe extern "C" { pub fn xmlListSize (l : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListPopFront (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListPopBack (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListPushFront (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListPushBack (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListReverse (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListSort (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListWalk (l : * mut xmlList , walker : xmlListWalker , user : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlListReverseWalk (l : * mut xmlList , walker : xmlListWalker , user : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlListMerge (l1 : * mut xmlList , l2 : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListDup (old : * mut xmlList) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlListCopy (cur : * mut xmlList , old : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlLinkGetData (lk : * mut xmlLink) -> * mut :: std :: os :: raw :: c_void ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAutomata { _unused : [u8 ; 0] , } # [doc = " A libxml automata description\n\n It can be compiled into a regexp"] pub type xmlAutomata = _xmlAutomata ; pub type xmlAutomataPtr = * mut xmlAutomata ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAutomataState { _unused : [u8 ; 0] , } # [doc = " A state in the automata description"] pub type xmlAutomataState = _xmlAutomataState ; pub type xmlAutomataStatePtr = * mut xmlAutomataState ; unsafe extern "C" { pub fn xmlNewAutomata () -> * mut xmlAutomata ; } unsafe extern "C" { pub fn xmlFreeAutomata (am : * mut xmlAutomata) ; } unsafe extern "C" { pub fn xmlAutomataGetInitState (am : * mut xmlAutomata) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataSetFinalState (am : * mut xmlAutomata , state : * mut xmlAutomataState) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAutomataNewState (am : * mut xmlAutomata) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewTransition (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewTransition2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewNegTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountTrans2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewOnceTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewOnceTrans2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewAllTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , lax : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewEpsilon (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountedTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , counter : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCounterTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , counter : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCounter (am : * mut xmlAutomata , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAutomataCompile (am : * mut xmlAutomata) -> * mut _xmlRegexp ; } unsafe extern "C" { pub fn xmlAutomataIsDeterminist (am : * mut xmlAutomata) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlValidState { _unused : [u8 ; 0] , } pub type xmlValidState = _xmlValidState ; pub type xmlValidStatePtr = * mut xmlValidState ; # [doc = " Report a validity error.\n\n @param ctx  user data (usually an xmlValidCtxt)\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlValidityErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Report a validity warning.\n\n @param ctx  user data (usually an xmlValidCtxt)\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlValidityWarningFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " An xmlValidCtxt is used for error reporting when validating."] pub type xmlValidCtxt = _xmlValidCtxt ; pub type xmlValidCtxtPtr = * mut xmlValidCtxt ; # [doc = " An xmlValidCtxt is used for error reporting when validating."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlValidCtxt { pub userData : * mut :: std :: os :: raw :: c_void , pub error : xmlValidityErrorFunc , pub warning : xmlValidityWarningFunc , pub node : * mut xmlNode , pub nodeNr : :: std :: os :: raw :: c_int , pub nodeMax : :: std :: os :: raw :: c_int , pub nodeTab : * mut * mut xmlNode , pub flags : :: std :: os :: raw :: c_uint , pub doc : * mut xmlDoc , pub valid : :: std :: os :: raw :: c_int , pub vstate : * mut xmlValidState , pub vstateNr : :: std :: os :: raw :: c_int , pub vstateMax : :: std :: os :: raw :: c_int , pub vstateTab : * mut xmlValidState , pub am : * mut xmlAutomata , pub state : * mut xmlAutomataState , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlValidCtxt"] [:: std :: mem :: size_of :: < _xmlValidCtxt > () - 112usize] ; ["Alignment of _xmlValidCtxt"] [:: std :: mem :: align_of :: < _xmlValidCtxt > () - 8usize] ; ["Offset of field: _xmlValidCtxt::userData"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , userData) - 0usize] ; ["Offset of field: _xmlValidCtxt::error"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , error) - 8usize] ; ["Offset of field: _xmlValidCtxt::warning"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , warning) - 16usize] ; ["Offset of field: _xmlValidCtxt::node"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , node) - 24usize] ; ["Offset of field: _xmlValidCtxt::nodeNr"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeNr) - 32usize] ; ["Offset of field: _xmlValidCtxt::nodeMax"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeMax) - 36usize] ; ["Offset of field: _xmlValidCtxt::nodeTab"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeTab) - 40usize] ; ["Offset of field: _xmlValidCtxt::flags"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , flags) - 48usize] ; ["Offset of field: _xmlValidCtxt::doc"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , doc) - 56usize] ; ["Offset of field: _xmlValidCtxt::valid"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , valid) - 64usize] ; ["Offset of field: _xmlValidCtxt::vstate"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstate) - 72usize] ; ["Offset of field: _xmlValidCtxt::vstateNr"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateNr) - 80usize] ; ["Offset of field: _xmlValidCtxt::vstateMax"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateMax) - 84usize] ; ["Offset of field: _xmlValidCtxt::vstateTab"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateTab) - 88usize] ; ["Offset of field: _xmlValidCtxt::am"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , am) - 96usize] ; ["Offset of field: _xmlValidCtxt::state"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , state) - 104usize] ; } ; pub type xmlNotationTable = _xmlHashTable ; pub type xmlNotationTablePtr = * mut xmlNotationTable ; pub type xmlElementTable = _xmlHashTable ; pub type xmlElementTablePtr = * mut xmlElementTable ; pub type xmlAttributeTable = _xmlHashTable ; pub type xmlAttributeTablePtr = * mut xmlAttributeTable ; pub type xmlIDTable = _xmlHashTable ; pub type xmlIDTablePtr = * mut xmlIDTable ; pub type xmlRefTable = _xmlHashTable ; pub type xmlRefTablePtr = * mut xmlRefTable ; unsafe extern "C" { pub fn xmlAddNotationDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlNotation ; } unsafe extern "C" { pub fn xmlCopyNotationTable (table : * mut xmlNotationTable) -> * mut xmlNotationTable ; } unsafe extern "C" { pub fn xmlFreeNotationTable (table : * mut xmlNotationTable) ; } unsafe extern "C" { pub fn xmlDumpNotationDecl (buf : * mut xmlBuffer , nota : * mut xmlNotation) ; } unsafe extern "C" { pub fn xmlDumpNotationTable (buf : * mut xmlBuffer , table : * mut xmlNotationTable) ; } unsafe extern "C" { pub fn xmlNewElementContent (name : * const xmlChar , type_ : xmlElementContentType) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlCopyElementContent (content : * mut xmlElementContent) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlFreeElementContent (cur : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlNewDocElementContent (doc : * mut xmlDoc , name : * const xmlChar , type_ : xmlElementContentType) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlCopyDocElementContent (doc : * mut xmlDoc , content : * mut xmlElementContent) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlFreeDocElementContent (doc : * mut xmlDoc , cur : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlSnprintfElementContent (buf : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , content : * mut xmlElementContent , englob : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSprintfElementContent (buf : * mut :: std :: os :: raw :: c_char , content : * mut xmlElementContent , englob : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlAddElementDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , name : * const xmlChar , type_ : xmlElementTypeVal , content : * mut xmlElementContent) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlCopyElementTable (table : * mut xmlElementTable) -> * mut xmlElementTable ; } unsafe extern "C" { pub fn xmlFreeElementTable (table : * mut xmlElementTable) ; } unsafe extern "C" { pub fn xmlDumpElementTable (buf : * mut xmlBuffer , table : * mut xmlElementTable) ; } unsafe extern "C" { pub fn xmlDumpElementDecl (buf : * mut xmlBuffer , elem : * mut xmlElement) ; } unsafe extern "C" { pub fn xmlCreateEnumeration (name : * const xmlChar) -> * mut xmlEnumeration ; } unsafe extern "C" { pub fn xmlFreeEnumeration (cur : * mut xmlEnumeration) ; } unsafe extern "C" { pub fn xmlCopyEnumeration (cur : * mut xmlEnumeration) -> * mut xmlEnumeration ; } unsafe extern "C" { pub fn xmlAddAttributeDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar , ns : * const xmlChar , type_ : xmlAttributeType , def : xmlAttributeDefault , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlCopyAttributeTable (table : * mut xmlAttributeTable) -> * mut xmlAttributeTable ; } unsafe extern "C" { pub fn xmlFreeAttributeTable (table : * mut xmlAttributeTable) ; } unsafe extern "C" { pub fn xmlDumpAttributeTable (buf : * mut xmlBuffer , table : * mut xmlAttributeTable) ; } unsafe extern "C" { pub fn xmlDumpAttributeDecl (buf : * mut xmlBuffer , attr : * mut xmlAttribute) ; } unsafe extern "C" { pub fn xmlAddIDSafe (attr : * mut xmlAttr , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddID (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , value : * const xmlChar , attr : * mut xmlAttr) -> * mut xmlID ; } unsafe extern "C" { pub fn xmlFreeIDTable (table : * mut xmlIDTable) ; } unsafe extern "C" { pub fn xmlGetID (doc : * mut xmlDoc , ID : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlIsID (doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveID (doc : * mut xmlDoc , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddRef (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , value : * const xmlChar , attr : * mut xmlAttr) -> * mut xmlRef ; } unsafe extern "C" { pub fn xmlFreeRefTable (table : * mut xmlRefTable) ; } unsafe extern "C" { pub fn xmlIsRef (doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveRef (doc : * mut xmlDoc , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetRefs (doc : * mut xmlDoc , ID : * const xmlChar) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlNewValidCtxt () -> * mut xmlValidCtxt ; } unsafe extern "C" { pub fn xmlFreeValidCtxt (arg1 : * mut xmlValidCtxt) ; } unsafe extern "C" { pub fn xmlValidateRoot (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateElementDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlElement) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidNormalizeAttributeValue (doc : * mut xmlDoc , elem : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlValidCtxtNormalizeAttributeValue (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlValidateAttributeDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , attr : * mut xmlAttribute) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateAttributeValue (type_ : xmlAttributeType , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNotationDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , nota : * mut xmlNotation) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDtd (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , dtd : * mut xmlDtd) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDtdFinal (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDocument (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneAttribute (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneNamespace (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , prefix : * const xmlChar , ns : * mut xmlNs , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDocumentFinal (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNotationUse (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , notationName : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsMixedElement (doc : * mut xmlDoc , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetDtdAttrDesc (dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlGetDtdQAttrDesc (dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar , prefix : * const xmlChar) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlGetDtdNotationDesc (dtd : * mut xmlDtd , name : * const xmlChar) -> * mut xmlNotation ; } unsafe extern "C" { pub fn xmlGetDtdQElementDesc (dtd : * mut xmlDtd , name : * const xmlChar , prefix : * const xmlChar) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlGetDtdElementDesc (dtd : * mut xmlDtd , name : * const xmlChar) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlValidGetPotentialChildren (ctree : * mut xmlElementContent , names : * mut * const xmlChar , len : * mut :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidGetValidElements (prev : * mut xmlNode , next : * mut xmlNode , names : * mut * const xmlChar , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNameValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNamesValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNmtokenValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNmtokensValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidBuildContentModel (ctxt : * mut xmlValidCtxt , elem : * mut xmlElement) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePushElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , qname : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePushCData (ctxt : * mut xmlValidCtxt , data : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePopElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , qname : * const xmlChar) -> :: std :: os :: raw :: c_int ; } # [doc = " internal general entity"] pub const xmlEntityType_XML_INTERNAL_GENERAL_ENTITY : xmlEntityType = 1 ; # [doc = " external general parsed entity"] pub const xmlEntityType_XML_EXTERNAL_GENERAL_PARSED_ENTITY : xmlEntityType = 2 ; # [doc = " external general unparsed entity"] pub const xmlEntityType_XML_EXTERNAL_GENERAL_UNPARSED_ENTITY : xmlEntityType = 3 ; # [doc = " internal parameter entity"] pub const xmlEntityType_XML_INTERNAL_PARAMETER_ENTITY : xmlEntityType = 4 ; # [doc = " external parameter entity"] pub const xmlEntityType_XML_EXTERNAL_PARAMETER_ENTITY : xmlEntityType = 5 ; # [doc = " internal predefined entity"] pub const xmlEntityType_XML_INTERNAL_PREDEFINED_ENTITY : xmlEntityType = 6 ; # [doc = " The different entity types."] pub type xmlEntityType = :: std :: os :: raw :: c_uint ; # [doc = " An entity declaration"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlEntity { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ENTITY_DECL, must be second !"] pub type_ : xmlElementType , # [doc = " Entity name"] pub name : * const xmlChar , # [doc = " First child link"] pub children : * mut _xmlNode , # [doc = " Last child link"] pub last : * mut _xmlNode , # [doc = " -> DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling link"] pub next : * mut _xmlNode , # [doc = " previous sibling link"] pub prev : * mut _xmlNode , # [doc = " the containing document"] pub doc : * mut _xmlDoc , # [doc = " content without ref substitution"] pub orig : * mut xmlChar , # [doc = " content or ndata if unparsed"] pub content : * mut xmlChar , # [doc = " the content length"] pub length : :: std :: os :: raw :: c_int , # [doc = " The entity type"] pub etype : xmlEntityType , # [doc = " External identifier for PUBLIC"] pub ExternalID : * const xmlChar , # [doc = " URI for a SYSTEM or PUBLIC Entity"] pub SystemID : * const xmlChar , # [doc = " unused"] pub nexte : * mut _xmlEntity , # [doc = " the full URI as computed"] pub URI : * const xmlChar , # [doc = " unused"] pub owner : :: std :: os :: raw :: c_int , # [doc = " various flags"] pub flags : :: std :: os :: raw :: c_int , # [doc = " expanded size"] pub expandedSize : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlEntity"] [:: std :: mem :: size_of :: < _xmlEntity > () - 144usize] ; ["Alignment of _xmlEntity"] [:: std :: mem :: align_of :: < _xmlEntity > () - 8usize] ; ["Offset of field: _xmlEntity::_private"] [:: std :: mem :: offset_of ! (_xmlEntity , _private) - 0usize] ; ["Offset of field: _xmlEntity::type_"] [:: std :: mem :: offset_of ! (_xmlEntity , type_) - 8usize] ; ["Offset of field: _xmlEntity::name"] [:: std :: mem :: offset_of ! (_xmlEntity , name) - 16usize] ; ["Offset of field: _xmlEntity::children"] [:: std :: mem :: offset_of ! (_xmlEntity , children) - 24usize] ; ["Offset of field: _xmlEntity::last"] [:: std :: mem :: offset_of ! (_xmlEntity , last) - 32usize] ; ["Offset of field: _xmlEntity::parent"] [:: std :: mem :: offset_of ! (_xmlEntity , parent) - 40usize] ; ["Offset of field: _xmlEntity::next"] [:: std :: mem :: offset_of ! (_xmlEntity , next) - 48usize] ; ["Offset of field: _xmlEntity::prev"] [:: std :: mem :: offset_of ! (_xmlEntity , prev) - 56usize] ; ["Offset of field: _xmlEntity::doc"] [:: std :: mem :: offset_of ! (_xmlEntity , doc) - 64usize] ; ["Offset of field: _xmlEntity::orig"] [:: std :: mem :: offset_of ! (_xmlEntity , orig) - 72usize] ; ["Offset of field: _xmlEntity::content"] [:: std :: mem :: offset_of ! (_xmlEntity , content) - 80usize] ; ["Offset of field: _xmlEntity::length"] [:: std :: mem :: offset_of ! (_xmlEntity , length) - 88usize] ; ["Offset of field: _xmlEntity::etype"] [:: std :: mem :: offset_of ! (_xmlEntity , etype) - 92usize] ; ["Offset of field: _xmlEntity::ExternalID"] [:: std :: mem :: offset_of ! (_xmlEntity , ExternalID) - 96usize] ; ["Offset of field: _xmlEntity::SystemID"] [:: std :: mem :: offset_of ! (_xmlEntity , SystemID) - 104usize] ; ["Offset of field: _xmlEntity::nexte"] [:: std :: mem :: offset_of ! (_xmlEntity , nexte) - 112usize] ; ["Offset of field: _xmlEntity::URI"] [:: std :: mem :: offset_of ! (_xmlEntity , URI) - 120usize] ; ["Offset of field: _xmlEntity::owner"] [:: std :: mem :: offset_of ! (_xmlEntity , owner) - 128usize] ; ["Offset of field: _xmlEntity::flags"] [:: std :: mem :: offset_of ! (_xmlEntity , flags) - 132usize] ; ["Offset of field: _xmlEntity::expandedSize"] [:: std :: mem :: offset_of ! (_xmlEntity , expandedSize) - 136usize] ; } ; pub type xmlEntitiesTable = _xmlHashTable ; pub type xmlEntitiesTablePtr = * mut xmlEntitiesTable ; unsafe extern "C" { pub fn xmlNewEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlFreeEntity (entity : * mut xmlEntity) ; } unsafe extern "C" { pub fn xmlAddEntity (doc : * mut xmlDoc , extSubset : :: std :: os :: raw :: c_int , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar , out : * mut * mut xmlEntity) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddDocEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlAddDtdEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetPredefinedEntity (name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetDocEntity (doc : * const xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetDtdEntity (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetParameterEntity (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlEncodeEntitiesReentrant (doc : * mut xmlDoc , input : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlEncodeSpecialChars (doc : * const xmlDoc , input : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCreateEntitiesTable () -> * mut xmlEntitiesTable ; } unsafe extern "C" { pub fn xmlCopyEntitiesTable (table : * mut xmlEntitiesTable) -> * mut xmlEntitiesTable ; } unsafe extern "C" { pub fn xmlFreeEntitiesTable (table : * mut xmlEntitiesTable) ; } unsafe extern "C" { pub fn xmlDumpEntitiesTable (buf : * mut xmlBuffer , table : * mut xmlEntitiesTable) ; } unsafe extern "C" { pub fn xmlDumpEntityDecl (buf : * mut xmlBuffer , ent : * mut xmlEntity) ; } # [doc = " Success"] pub const xmlCharEncError_XML_ENC_ERR_SUCCESS : xmlCharEncError = 0 ; # [doc = " Internal or unclassified error"] pub const xmlCharEncError_XML_ENC_ERR_INTERNAL : xmlCharEncError = - 1 ; # [doc = " Invalid or untranslatable input sequence"] pub const xmlCharEncError_XML_ENC_ERR_INPUT : xmlCharEncError = - 2 ; # [doc = " Not enough space in output buffer"] pub const xmlCharEncError_XML_ENC_ERR_SPACE : xmlCharEncError = - 3 ; # [doc = " Out-of-memory error"] pub const xmlCharEncError_XML_ENC_ERR_MEMORY : xmlCharEncError = - 4 ; # [doc = " Encoding conversion errors"] pub type xmlCharEncError = :: std :: os :: raw :: c_int ; # [doc = " No char encoding detected"] pub const xmlCharEncoding_XML_CHAR_ENCODING_ERROR : xmlCharEncoding = - 1 ; # [doc = " No char encoding detected"] pub const xmlCharEncoding_XML_CHAR_ENCODING_NONE : xmlCharEncoding = 0 ; # [doc = " UTF-8"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF8 : xmlCharEncoding = 1 ; # [doc = " UTF-16 little endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16LE : xmlCharEncoding = 2 ; # [doc = " UTF-16 big endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16BE : xmlCharEncoding = 3 ; # [doc = " UCS-4 little endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4LE : xmlCharEncoding = 4 ; # [doc = " UCS-4 big endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4BE : xmlCharEncoding = 5 ; # [doc = " EBCDIC uh!"] pub const xmlCharEncoding_XML_CHAR_ENCODING_EBCDIC : xmlCharEncoding = 6 ; # [doc = " UCS-4 unusual ordering"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4_2143 : xmlCharEncoding = 7 ; # [doc = " UCS-4 unusual ordering"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4_3412 : xmlCharEncoding = 8 ; # [doc = " UCS-2"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS2 : xmlCharEncoding = 9 ; # [doc = " ISO-8859-1 ISO Latin 1"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_1 : xmlCharEncoding = 10 ; # [doc = " ISO-8859-2 ISO Latin 2"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_2 : xmlCharEncoding = 11 ; # [doc = " ISO-8859-3"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_3 : xmlCharEncoding = 12 ; # [doc = " ISO-8859-4"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_4 : xmlCharEncoding = 13 ; # [doc = " ISO-8859-5"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_5 : xmlCharEncoding = 14 ; # [doc = " ISO-8859-6"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_6 : xmlCharEncoding = 15 ; # [doc = " ISO-8859-7"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_7 : xmlCharEncoding = 16 ; # [doc = " ISO-8859-8"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_8 : xmlCharEncoding = 17 ; # [doc = " ISO-8859-9"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_9 : xmlCharEncoding = 18 ; # [doc = " ISO-2022-JP"] pub const xmlCharEncoding_XML_CHAR_ENCODING_2022_JP : xmlCharEncoding = 19 ; # [doc = " Shift_JIS"] pub const xmlCharEncoding_XML_CHAR_ENCODING_SHIFT_JIS : xmlCharEncoding = 20 ; # [doc = " EUC-JP"] pub const xmlCharEncoding_XML_CHAR_ENCODING_EUC_JP : xmlCharEncoding = 21 ; # [doc = " pure ASCII"] pub const xmlCharEncoding_XML_CHAR_ENCODING_ASCII : xmlCharEncoding = 22 ; # [doc = " UTF-16 native, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16 : xmlCharEncoding = 23 ; # [doc = " HTML (output only), available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_HTML : xmlCharEncoding = 24 ; # [doc = " ISO-8859-10, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_10 : xmlCharEncoding = 25 ; # [doc = " ISO-8859-11, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_11 : xmlCharEncoding = 26 ; # [doc = " ISO-8859-13, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_13 : xmlCharEncoding = 27 ; # [doc = " ISO-8859-14, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_14 : xmlCharEncoding = 28 ; # [doc = " ISO-8859-15, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_15 : xmlCharEncoding = 29 ; # [doc = " ISO-8859-16, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_16 : xmlCharEncoding = 30 ; # [doc = " windows-1252, available since 2.15"] pub const xmlCharEncoding_XML_CHAR_ENCODING_WINDOWS_1252 : xmlCharEncoding = 31 ; # [doc = " Predefined values for some standard encodings."] pub type xmlCharEncoding = :: std :: os :: raw :: c_int ; # [doc = " Create converter for input (conversion to UTF-8)"] pub const xmlCharEncFlags_XML_ENC_INPUT : xmlCharEncFlags = 1 ; # [doc = " Create converter for output (conversion from UTF-8)"] pub const xmlCharEncFlags_XML_ENC_OUTPUT : xmlCharEncFlags = 2 ; # [doc = " Use HTML5 mappings"] pub const xmlCharEncFlags_XML_ENC_HTML : xmlCharEncFlags = 4 ; # [doc = " Encoding conversion flags"] pub type xmlCharEncFlags = :: std :: os :: raw :: c_uint ; # [doc = " Convert characters to UTF-8.\n\n On success, the value of `inlen` after return is the number of\n bytes consumed and `outlen` is the number of bytes produced.\n\n @param out  a pointer to an array of bytes to store the UTF-8 result\n @param outlen  the length of `out`\n @param in  a pointer to an array of chars in the original encoding\n @param inlen  the length of `in`\n @returns the number of bytes written or an xmlCharEncError code."] pub type xmlCharEncodingInputFunc = :: std :: option :: Option < unsafe extern "C" fn (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Convert characters from UTF-8.\n\n On success, the value of `inlen` after return is the number of\n bytes consumed and `outlen` is the number of bytes produced.\n\n @param out  a pointer to an array of bytes to store the result\n @param outlen  the length of `out`\n @param in  a pointer to an array of UTF-8 chars\n @param inlen  the length of `in`\n @returns the number of bytes written or an xmlCharEncError code."] pub type xmlCharEncodingOutputFunc = :: std :: option :: Option < unsafe extern "C" fn (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Convert between character encodings.\n\n The value of `inlen` after return is the number of bytes consumed\n and `outlen` is the number of bytes produced.\n\n If the converter can consume partial multi-byte sequences, the\n `flush` flag can be used to detect truncated sequences at EOF.\n Otherwise, the flag can be ignored.\n\n @param vctxt  conversion context\n @param out  a pointer to an array of bytes to store the result\n @param outlen  the length of `out`\n @param in  a pointer to an array of input bytes\n @param inlen  the length of `in`\n @param flush  end of input\n @returns an xmlCharEncError code."] pub type xmlCharEncConvFunc = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void , out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int , flush : :: std :: os :: raw :: c_int) -> xmlCharEncError > ; # [doc = " Free a conversion context.\n\n @param vctxt  conversion context"] pub type xmlCharEncConvCtxtDtor = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void) > ; # [doc = " Character encoding converter"] pub type xmlCharEncodingHandler = _xmlCharEncodingHandler ; pub type xmlCharEncodingHandlerPtr = * mut xmlCharEncodingHandler ; # [doc = " A character encoding conversion handler for non UTF-8 encodings.\n\n This structure will be made private."] # [repr (C)] # [derive (Copy , Clone)] pub struct _xmlCharEncodingHandler { pub name : * mut :: std :: os :: raw :: c_char , pub input : _xmlCharEncodingHandler__bindgen_ty_1 , pub output : _xmlCharEncodingHandler__bindgen_ty_2 , pub inputCtxt : * mut :: std :: os :: raw :: c_void , pub outputCtxt : * mut :: std :: os :: raw :: c_void , pub ctxtDtor : xmlCharEncConvCtxtDtor , pub flags : :: std :: os :: raw :: c_int , } # [repr (C)] # [derive (Copy , Clone)] pub union _xmlCharEncodingHandler__bindgen_ty_1 { pub func : xmlCharEncConvFunc , pub legacyFunc : xmlCharEncodingInputFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler__bindgen_ty_1"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler__bindgen_ty_1 > () - 8usize] ; ["Alignment of _xmlCharEncodingHandler__bindgen_ty_1"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler__bindgen_ty_1 > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_1::func"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_1 , func) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_1::legacyFunc"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_1 , legacyFunc) - 0usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union _xmlCharEncodingHandler__bindgen_ty_2 { pub func : xmlCharEncConvFunc , pub legacyFunc : xmlCharEncodingOutputFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler__bindgen_ty_2"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler__bindgen_ty_2 > () - 8usize] ; ["Alignment of _xmlCharEncodingHandler__bindgen_ty_2"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler__bindgen_ty_2 > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_2::func"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_2 , func) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_2::legacyFunc"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_2 , legacyFunc) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler > () - 56usize] ; ["Alignment of _xmlCharEncodingHandler"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler::name"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , name) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler::input"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , input) - 8usize] ; ["Offset of field: _xmlCharEncodingHandler::output"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , output) - 16usize] ; ["Offset of field: _xmlCharEncodingHandler::inputCtxt"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , inputCtxt) - 24usize] ; ["Offset of field: _xmlCharEncodingHandler::outputCtxt"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , outputCtxt) - 32usize] ; ["Offset of field: _xmlCharEncodingHandler::ctxtDtor"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , ctxtDtor) - 40usize] ; ["Offset of field: _xmlCharEncodingHandler::flags"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , flags) - 48usize] ; } ; # [doc = " If this function returns XML_ERR_OK, it must fill the `out`\n pointer with an encoding handler. The handler can be obtained\n from #xmlCharEncNewCustomHandler.\n\n `flags` can contain XML_ENC_INPUT, XML_ENC_OUTPUT or both.\n\n @param vctxt  user data\n @param name  encoding name\n @param flags  bit mask of flags\n @param out  pointer to resulting handler\n @returns an xmlParserErrors code."] pub type xmlCharEncConvImpl = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void , name : * const :: std :: os :: raw :: c_char , flags : xmlCharEncFlags , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors > ; unsafe extern "C" { pub fn xmlInitCharEncodingHandlers () ; } unsafe extern "C" { pub fn xmlCleanupCharEncodingHandlers () ; } unsafe extern "C" { pub fn xmlRegisterCharEncodingHandler (handler : * mut xmlCharEncodingHandler) ; } unsafe extern "C" { pub fn xmlLookupCharEncodingHandler (enc : xmlCharEncoding , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlOpenCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , output : :: std :: os :: raw :: c_int , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlCreateCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , flags : xmlCharEncFlags , impl_ : xmlCharEncConvImpl , implCtxt : * mut :: std :: os :: raw :: c_void , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlGetCharEncodingHandler (enc : xmlCharEncoding) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlFindCharEncodingHandler (name : * const :: std :: os :: raw :: c_char) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlNewCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , input : xmlCharEncodingInputFunc , output : xmlCharEncodingOutputFunc) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlCharEncNewCustomHandler (name : * const :: std :: os :: raw :: c_char , input : xmlCharEncConvFunc , output : xmlCharEncConvFunc , ctxtDtor : xmlCharEncConvCtxtDtor , inputCtxt : * mut :: std :: os :: raw :: c_void , outputCtxt : * mut :: std :: os :: raw :: c_void , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlAddEncodingAlias (name : * const :: std :: os :: raw :: c_char , alias : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDelEncodingAlias (alias : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetEncodingAlias (alias : * const :: std :: os :: raw :: c_char) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlCleanupEncodingAliases () ; } unsafe extern "C" { pub fn xmlParseCharEncoding (name : * const :: std :: os :: raw :: c_char) -> xmlCharEncoding ; } unsafe extern "C" { pub fn xmlGetCharEncodingName (enc : xmlCharEncoding) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlDetectCharEncoding (in_ : * const :: std :: os :: raw :: c_uchar , len : :: std :: os :: raw :: c_int) -> xmlCharEncoding ; } unsafe extern "C" { pub fn xmlCharEncOutFunc (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncInFunc (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncFirstLine (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncCloseFunc (handler : * mut xmlCharEncodingHandler) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8ToIsolat1 (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsolat1ToUTF8 (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " Callback used in the I/O Input API to detect if the current handler\n can provide input functionality for this resource.\n\n @param filename  the filename or URI\n @returns 1 if yes and 0 if another Input module should be used"] pub type xmlInputMatchCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Input API to open the resource\n\n @param filename  the filename or URI\n @returns an Input context or NULL in case or error"] pub type xmlInputOpenCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback used in the I/O Input API to read the resource\n\n @param context  an Input context\n @param buffer  the buffer to store data read\n @param len  the length of the buffer in bytes\n @returns the number of bytes read or -1 in case of error"] pub type xmlInputReadCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Input API to close the resource\n\n @param context  an Input context\n @returns 0 or -1 in case of error"] pub type xmlInputCloseCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to detect if the current handler\n can provide output functionality for this resource.\n\n @param filename  the filename or URI\n @returns 1 if yes and 0 if another Output module should be used"] pub type xmlOutputMatchCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to open the resource\n\n @param filename  the filename or URI\n @returns an Output context or NULL in case or error"] pub type xmlOutputOpenCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback used in the I/O Output API to write to the resource\n\n @param context  an Output context\n @param buffer  the buffer of data to write\n @param len  the length of the buffer in bytes\n @returns the number of bytes written or -1 in case of error"] pub type xmlOutputWriteCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void , buffer : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to close the resource\n\n @param context  an Output context\n @returns 0 or -1 in case of error"] pub type xmlOutputCloseCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Signature for the function doing the lookup for a suitable input method\n corresponding to an URI.\n\n @param URI  the URI to read from\n @param enc  the requested source encoding\n @returns the new xmlParserInputBuffer in case of success or NULL if no\n         method was found."] pub type xmlParserInputBufferCreateFilenameFunc = :: std :: option :: Option < unsafe extern "C" fn (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer > ; # [doc = " Signature for the function doing the lookup for a suitable output method\n corresponding to an URI.\n\n @param URI  the URI to write to\n @param encoder  the requested target encoding\n @param compression  compression level\n @returns the new xmlOutputBuffer in case of success or NULL if no\n         method was found."] pub type xmlOutputBufferCreateFilenameFunc = :: std :: option :: Option < unsafe extern "C" fn (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer > ; # [doc = " Parser input buffer\n\n This struct and all related functions should ultimately\n be removed from the public interface."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserInputBuffer { pub context : * mut :: std :: os :: raw :: c_void , pub readcallback : xmlInputReadCallback , pub closecallback : xmlInputCloseCallback , pub encoder : * mut xmlCharEncodingHandler , pub buffer : * mut xmlBuf , pub raw : * mut xmlBuf , pub compressed : :: std :: os :: raw :: c_int , pub error : :: std :: os :: raw :: c_int , pub rawconsumed : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserInputBuffer"] [:: std :: mem :: size_of :: < _xmlParserInputBuffer > () - 64usize] ; ["Alignment of _xmlParserInputBuffer"] [:: std :: mem :: align_of :: < _xmlParserInputBuffer > () - 8usize] ; ["Offset of field: _xmlParserInputBuffer::context"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , context) - 0usize] ; ["Offset of field: _xmlParserInputBuffer::readcallback"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , readcallback) - 8usize] ; ["Offset of field: _xmlParserInputBuffer::closecallback"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , closecallback) - 16usize] ; ["Offset of field: _xmlParserInputBuffer::encoder"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , encoder) - 24usize] ; ["Offset of field: _xmlParserInputBuffer::buffer"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , buffer) - 32usize] ; ["Offset of field: _xmlParserInputBuffer::raw"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , raw) - 40usize] ; ["Offset of field: _xmlParserInputBuffer::compressed"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , compressed) - 48usize] ; ["Offset of field: _xmlParserInputBuffer::error"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , error) - 52usize] ; ["Offset of field: _xmlParserInputBuffer::rawconsumed"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , rawconsumed) - 56usize] ; } ; # [doc = " Output buffer"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlOutputBuffer { pub context : * mut :: std :: os :: raw :: c_void , pub writecallback : xmlOutputWriteCallback , pub closecallback : xmlOutputCloseCallback , pub encoder : * mut xmlCharEncodingHandler , pub buffer : * mut xmlBuf , pub conv : * mut xmlBuf , pub written : :: std :: os :: raw :: c_int , pub error : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlOutputBuffer"] [:: std :: mem :: size_of :: < _xmlOutputBuffer > () - 56usize] ; ["Alignment of _xmlOutputBuffer"] [:: std :: mem :: align_of :: < _xmlOutputBuffer > () - 8usize] ; ["Offset of field: _xmlOutputBuffer::context"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , context) - 0usize] ; ["Offset of field: _xmlOutputBuffer::writecallback"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , writecallback) - 8usize] ; ["Offset of field: _xmlOutputBuffer::closecallback"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , closecallback) - 16usize] ; ["Offset of field: _xmlOutputBuffer::encoder"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , encoder) - 24usize] ; ["Offset of field: _xmlOutputBuffer::buffer"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , buffer) - 32usize] ; ["Offset of field: _xmlOutputBuffer::conv"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , conv) - 40usize] ; ["Offset of field: _xmlOutputBuffer::written"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , written) - 48usize] ; ["Offset of field: _xmlOutputBuffer::error"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , error) - 52usize] ; } ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlParserInputBufferCreateFilenameValue () -> * mut xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn __xmlOutputBufferCreateFilenameValue () -> * mut xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { # [doc = " @endcond"] pub fn xmlCleanupInputCallbacks () ; } unsafe extern "C" { pub fn xmlPopInputCallbacks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterDefaultInputCallbacks () ; } unsafe extern "C" { pub fn xmlAllocParserInputBuffer (enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFile (file : * mut FILE , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFd (fd : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateMem (mem : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateStatic (mem : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateIO (ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferRead (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferGrow (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferPush (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int , buf : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFreeParserInputBuffer (in_ : * mut xmlParserInputBuffer) ; } unsafe extern "C" { pub fn xmlParserGetDirectory (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlRegisterInputCallbacks (matchFunc : xmlInputMatchCallback , openFunc : xmlInputOpenCallback , readFunc : xmlInputReadCallback , closeFunc : xmlInputCloseCallback) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlParserInputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlCleanupOutputCallbacks () ; } unsafe extern "C" { pub fn xmlPopOutputCallbacks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterDefaultOutputCallbacks () ; } unsafe extern "C" { pub fn xmlAllocOutputBuffer (encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFile (file : * mut FILE , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateBuffer (buffer : * mut xmlBuffer , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFd (fd : :: std :: os :: raw :: c_int , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateIO (iowrite : xmlOutputWriteCallback , ioclose : xmlOutputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferGetContent (out : * mut xmlOutputBuffer) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlOutputBufferGetSize (out : * mut xmlOutputBuffer) -> usize ; } unsafe extern "C" { pub fn xmlOutputBufferWrite (out : * mut xmlOutputBuffer , len : :: std :: os :: raw :: c_int , buf : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferWriteString (out : * mut xmlOutputBuffer , str_ : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferWriteEscape (out : * mut xmlOutputBuffer , str_ : * const xmlChar , escaping : xmlCharEncodingOutputFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferFlush (out : * mut xmlOutputBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferClose (out : * mut xmlOutputBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterOutputCallbacks (matchFunc : xmlOutputMatchCallback , openFunc : xmlOutputOpenCallback , writeFunc : xmlOutputWriteCallback , closeFunc : xmlOutputCloseCallback) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlOutputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlCheckHTTPInput (ctxt : * mut xmlParserCtxt , ret : * mut xmlParserInput) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNoNetExternalEntityLoader (URL : * const :: std :: os :: raw :: c_char , ID : * const :: std :: os :: raw :: c_char , ctxt : * mut xmlParserCtxt) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNormalizeWindowsPath (path : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCheckFilename (path : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileMatch (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileOpen (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlFileRead (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileClose (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [doc = " @cond IGNORE"] pub fn xmlIOHTTPMatch (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIOHTTPOpen (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlRegisterHTTPPostCallbacks () ; } unsafe extern "C" { pub fn xmlIOHTTPOpenW (post_uri : * const :: std :: os :: raw :: c_char , compression : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlIOHTTPRead (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIOHTTPClose (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFilenameDefault (func : xmlParserInputBufferCreateFilenameFunc) -> xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFilenameDefault (func : xmlOutputBufferCreateFilenameFunc) -> xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlThrDefOutputBufferCreateFilenameDefault (func : xmlOutputBufferCreateFilenameFunc) -> xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlThrDefParserInputBufferCreateFilenameDefault (func : xmlParserInputBufferCreateFilenameFunc) -> xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlSAX2GetPublicId (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSAX2GetSystemId (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSAX2SetDocumentLocator (ctx : * mut :: std :: os :: raw :: c_void , loc : * mut xmlSAXLocator) ; } unsafe extern "C" { pub fn xmlSAX2GetLineNumber (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2GetColumnNumber (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2IsStandalone (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2HasInternalSubset (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2HasExternalSubset (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2InternalSubset (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2ExternalSubset (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2GetEntity (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlSAX2GetParameterEntity (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlSAX2ResolveEntity (ctx : * mut :: std :: os :: raw :: c_void , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlSAX2EntityDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * mut xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2AttributeDecl (ctx : * mut :: std :: os :: raw :: c_void , elem : * const xmlChar , fullname : * const xmlChar , type_ : :: std :: os :: raw :: c_int , def : :: std :: os :: raw :: c_int , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) ; } unsafe extern "C" { pub fn xmlSAX2ElementDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , content : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlSAX2NotationDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2UnparsedEntityDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar , notationName : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2StartDocument (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSAX2EndDocument (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSAX2StartElement (ctx : * mut :: std :: os :: raw :: c_void , fullname : * const xmlChar , atts : * mut * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2EndElement (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2StartElementNs (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar , nb_namespaces : :: std :: os :: raw :: c_int , namespaces : * mut * const xmlChar , nb_attributes : :: std :: os :: raw :: c_int , nb_defaulted : :: std :: os :: raw :: c_int , attributes : * mut * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2EndElementNs (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Reference (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Characters (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2IgnorableWhitespace (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2ProcessingInstruction (ctx : * mut :: std :: os :: raw :: c_void , target : * const xmlChar , data : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Comment (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2CDataBlock (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAXDefaultVersion (version : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXVersion (hdlr : * mut xmlSAXHandler , version : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2InitDefaultSAXHandler (hdlr : * mut xmlSAXHandler , warning : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2InitHtmlDefaultSAXHandler (hdlr : * mut xmlSAXHandler) ; } unsafe extern "C" { pub fn htmlDefaultSAXHandlerInit () ; } unsafe extern "C" { pub fn xmlDefaultSAXHandlerInit () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlMutex { _unused : [u8 ; 0] , } # [doc = " Mutual exclusion object"] pub type xmlMutex = _xmlMutex ; pub type xmlMutexPtr = * mut xmlMutex ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRMutex { _unused : [u8 ; 0] , } # [doc = " Reentrant mutual exclusion object"] pub type xmlRMutex = _xmlRMutex ; pub type xmlRMutexPtr = * mut xmlRMutex ; unsafe extern "C" { pub fn xmlCheckThreadLocalStorage () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNewMutex () -> * mut xmlMutex ; } unsafe extern "C" { pub fn xmlMutexLock (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlMutexUnlock (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlFreeMutex (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlNewRMutex () -> * mut xmlRMutex ; } unsafe extern "C" { pub fn xmlRMutexLock (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlRMutexUnlock (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlFreeRMutex (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlInitThreads () ; } unsafe extern "C" { pub fn xmlLockLibrary () ; } unsafe extern "C" { pub fn xmlUnlockLibrary () ; } unsafe extern "C" { pub fn xmlCleanupThreads () ; } # [doc = " not well-formed"] pub const xmlParserStatus_XML_STATUS_NOT_WELL_FORMED : xmlParserStatus = 1 ; # [doc = " not namespace-well-formed"] pub const xmlParserStatus_XML_STATUS_NOT_NS_WELL_FORMED : xmlParserStatus = 2 ; # [doc = " DTD validation failed"] pub const xmlParserStatus_XML_STATUS_DTD_VALIDATION_FAILED : xmlParserStatus = 4 ; # [doc = " catastrophic failure like OOM or I/O error"] pub const xmlParserStatus_XML_STATUS_CATASTROPHIC_ERROR : xmlParserStatus = 8 ; # [doc = " Status after parsing a document"] pub type xmlParserStatus = :: std :: os :: raw :: c_uint ; # [doc = " unknown"] pub const xmlResourceType_XML_RESOURCE_UNKNOWN : xmlResourceType = 0 ; # [doc = " main document"] pub const xmlResourceType_XML_RESOURCE_MAIN_DOCUMENT : xmlResourceType = 1 ; # [doc = " external DTD"] pub const xmlResourceType_XML_RESOURCE_DTD : xmlResourceType = 2 ; # [doc = " external general entity"] pub const xmlResourceType_XML_RESOURCE_GENERAL_ENTITY : xmlResourceType = 3 ; # [doc = " external parameter entity"] pub const xmlResourceType_XML_RESOURCE_PARAMETER_ENTITY : xmlResourceType = 4 ; # [doc = " XIncluded document"] pub const xmlResourceType_XML_RESOURCE_XINCLUDE : xmlResourceType = 5 ; # [doc = " XIncluded text"] pub const xmlResourceType_XML_RESOURCE_XINCLUDE_TEXT : xmlResourceType = 6 ; # [doc = " Resource type for resource loaders"] pub type xmlResourceType = :: std :: os :: raw :: c_uint ; # [doc = " The input buffer won't be changed during parsing."] pub const xmlParserInputFlags_XML_INPUT_BUF_STATIC : xmlParserInputFlags = 2 ; # [doc = " The input buffer is zero-terminated. (Note that the zero\nbyte shouldn't be included in buffer size.)"] pub const xmlParserInputFlags_XML_INPUT_BUF_ZERO_TERMINATED : xmlParserInputFlags = 4 ; # [doc = " Uncompress gzipped file input"] pub const xmlParserInputFlags_XML_INPUT_UNZIP : xmlParserInputFlags = 8 ; # [doc = " Allow network access. Unused internally."] pub const xmlParserInputFlags_XML_INPUT_NETWORK : xmlParserInputFlags = 16 ; # [doc = " Allow system catalog to resolve URIs."] pub const xmlParserInputFlags_XML_INPUT_USE_SYS_CATALOG : xmlParserInputFlags = 32 ; # [doc = " Flags for parser input"] pub type xmlParserInputFlags = :: std :: os :: raw :: c_uint ; pub type xmlParserInputDeallocate = :: std :: option :: Option < unsafe extern "C" fn (str_ : * mut xmlChar) > ; # [doc = " Parser input"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserInput { pub buf : * mut xmlParserInputBuffer , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n The filename or URI, if any"] pub filename : * const :: std :: os :: raw :: c_char , pub directory : * const :: std :: os :: raw :: c_char , pub base : * const xmlChar , # [doc = " @deprecated Use #xmlCtxtGetInputWindow\n\n Current char being parsed"] pub cur : * const xmlChar , pub end : * const xmlChar , pub length : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n Current line"] pub line : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n Current column"] pub col : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n How many xmlChars already consumed"] pub consumed : :: std :: os :: raw :: c_ulong , pub free : xmlParserInputDeallocate , pub encoding : * const xmlChar , pub version : * const xmlChar , pub flags : :: std :: os :: raw :: c_int , pub id : :: std :: os :: raw :: c_int , pub parentConsumed : :: std :: os :: raw :: c_ulong , pub entity : * mut xmlEntity , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserInput"] [:: std :: mem :: size_of :: < _xmlParserInput > () - 120usize] ; ["Alignment of _xmlParserInput"] [:: std :: mem :: align_of :: < _xmlParserInput > () - 8usize] ; ["Offset of field: _xmlParserInput::buf"] [:: std :: mem :: offset_of ! (_xmlParserInput , buf) - 0usize] ; ["Offset of field: _xmlParserInput::filename"] [:: std :: mem :: offset_of ! (_xmlParserInput , filename) - 8usize] ; ["Offset of field: _xmlParserInput::directory"] [:: std :: mem :: offset_of ! (_xmlParserInput , directory) - 16usize] ; ["Offset of field: _xmlParserInput::base"] [:: std :: mem :: offset_of ! (_xmlParserInput , base) - 24usize] ; ["Offset of field: _xmlParserInput::cur"] [:: std :: mem :: offset_of ! (_xmlParserInput , cur) - 32usize] ; ["Offset of field: _xmlParserInput::end"] [:: std :: mem :: offset_of ! (_xmlParserInput , end) - 40usize] ; ["Offset of field: _xmlParserInput::length"] [:: std :: mem :: offset_of ! (_xmlParserInput , length) - 48usize] ; ["Offset of field: _xmlParserInput::line"] [:: std :: mem :: offset_of ! (_xmlParserInput , line) - 52usize] ; ["Offset of field: _xmlParserInput::col"] [:: std :: mem :: offset_of ! (_xmlParserInput , col) - 56usize] ; ["Offset of field: _xmlParserInput::consumed"] [:: std :: mem :: offset_of ! (_xmlParserInput , consumed) - 64usize] ; ["Offset of field: _xmlParserInput::free"] [:: std :: mem :: offset_of ! (_xmlParserInput , free) - 72usize] ; ["Offset of field: _xmlParserInput::encoding"] [:: std :: mem :: offset_of ! (_xmlParserInput , encoding) - 80usize] ; ["Offset of field: _xmlParserInput::version"] [:: std :: mem :: offset_of ! (_xmlParserInput , version) - 88usize] ; ["Offset of field: _xmlParserInput::flags"] [:: std :: mem :: offset_of ! (_xmlParserInput , flags) - 96usize] ; ["Offset of field: _xmlParserInput::id"] [:: std :: mem :: offset_of ! (_xmlParserInput , id) - 100usize] ; ["Offset of field: _xmlParserInput::parentConsumed"] [:: std :: mem :: offset_of ! (_xmlParserInput , parentConsumed) - 104usize] ; ["Offset of field: _xmlParserInput::entity"] [:: std :: mem :: offset_of ! (_xmlParserInput , entity) - 112usize] ; } ; # [doc = " @cond ignore"] pub type xmlParserNodeInfo = _xmlParserNodeInfo ; pub type xmlParserNodeInfoPtr = * mut xmlParserNodeInfo ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNodeInfo { pub node : * const _xmlNode , pub begin_pos : :: std :: os :: raw :: c_ulong , pub begin_line : :: std :: os :: raw :: c_ulong , pub end_pos : :: std :: os :: raw :: c_ulong , pub end_line : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserNodeInfo"] [:: std :: mem :: size_of :: < _xmlParserNodeInfo > () - 40usize] ; ["Alignment of _xmlParserNodeInfo"] [:: std :: mem :: align_of :: < _xmlParserNodeInfo > () - 8usize] ; ["Offset of field: _xmlParserNodeInfo::node"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , node) - 0usize] ; ["Offset of field: _xmlParserNodeInfo::begin_pos"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , begin_pos) - 8usize] ; ["Offset of field: _xmlParserNodeInfo::begin_line"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , begin_line) - 16usize] ; ["Offset of field: _xmlParserNodeInfo::end_pos"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , end_pos) - 24usize] ; ["Offset of field: _xmlParserNodeInfo::end_line"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , end_line) - 32usize] ; } ; pub type xmlParserNodeInfoSeq = _xmlParserNodeInfoSeq ; pub type xmlParserNodeInfoSeqPtr = * mut xmlParserNodeInfoSeq ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNodeInfoSeq { pub maximum : :: std :: os :: raw :: c_ulong , pub length : :: std :: os :: raw :: c_ulong , pub buffer : * mut xmlParserNodeInfo , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserNodeInfoSeq"] [:: std :: mem :: size_of :: < _xmlParserNodeInfoSeq > () - 24usize] ; ["Alignment of _xmlParserNodeInfoSeq"] [:: std :: mem :: align_of :: < _xmlParserNodeInfoSeq > () - 8usize] ; ["Offset of field: _xmlParserNodeInfoSeq::maximum"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , maximum) - 0usize] ; ["Offset of field: _xmlParserNodeInfoSeq::length"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , length) - 8usize] ; ["Offset of field: _xmlParserNodeInfoSeq::buffer"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , buffer) - 16usize] ; } ; pub const xmlParserInputState_XML_PARSER_EOF : xmlParserInputState = - 1 ; pub const xmlParserInputState_XML_PARSER_START : xmlParserInputState = 0 ; pub const xmlParserInputState_XML_PARSER_MISC : xmlParserInputState = 1 ; pub const xmlParserInputState_XML_PARSER_PI : xmlParserInputState = 2 ; pub const xmlParserInputState_XML_PARSER_DTD : xmlParserInputState = 3 ; pub const xmlParserInputState_XML_PARSER_PROLOG : xmlParserInputState = 4 ; pub const xmlParserInputState_XML_PARSER_COMMENT : xmlParserInputState = 5 ; pub const xmlParserInputState_XML_PARSER_START_TAG : xmlParserInputState = 6 ; pub const xmlParserInputState_XML_PARSER_CONTENT : xmlParserInputState = 7 ; pub const xmlParserInputState_XML_PARSER_CDATA_SECTION : xmlParserInputState = 8 ; pub const xmlParserInputState_XML_PARSER_END_TAG : xmlParserInputState = 9 ; pub const xmlParserInputState_XML_PARSER_ENTITY_DECL : xmlParserInputState = 10 ; pub const xmlParserInputState_XML_PARSER_ENTITY_VALUE : xmlParserInputState = 11 ; pub const xmlParserInputState_XML_PARSER_ATTRIBUTE_VALUE : xmlParserInputState = 12 ; pub const xmlParserInputState_XML_PARSER_SYSTEM_LITERAL : xmlParserInputState = 13 ; pub const xmlParserInputState_XML_PARSER_EPILOG : xmlParserInputState = 14 ; pub const xmlParserInputState_XML_PARSER_IGNORE : xmlParserInputState = 15 ; pub const xmlParserInputState_XML_PARSER_PUBLIC_LITERAL : xmlParserInputState = 16 ; pub const xmlParserInputState_XML_PARSER_XML_DECL : xmlParserInputState = 17 ; pub type xmlParserInputState = :: std :: os :: raw :: c_int ; pub const xmlParserMode_XML_PARSE_UNKNOWN : xmlParserMode = 0 ; pub const xmlParserMode_XML_PARSE_DOM : xmlParserMode = 1 ; pub const xmlParserMode_XML_PARSE_SAX : xmlParserMode = 2 ; pub const xmlParserMode_XML_PARSE_PUSH_DOM : xmlParserMode = 3 ; pub const xmlParserMode_XML_PARSE_PUSH_SAX : xmlParserMode = 4 ; pub const xmlParserMode_XML_PARSE_READER : xmlParserMode = 5 ; pub type xmlParserMode = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlStartTag { _unused : [u8 ; 0] , } pub type xmlStartTag = _xmlStartTag ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNsData { _unused : [u8 ; 0] , } pub type xmlParserNsData = _xmlParserNsData ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttrHashBucket { _unused : [u8 ; 0] , } pub type xmlAttrHashBucket = _xmlAttrHashBucket ; # [doc = " Callback for custom resource loaders.\n\n `flags` can contain XML_INPUT_UNZIP and XML_INPUT_NETWORK.\n\n The URL is resolved using XML catalogs before being passed to\n the callback.\n\n On success, `out` should be set to a new parser input object and\n XML_ERR_OK should be returned.\n\n @param ctxt  parser context\n @param url  URL or system ID to load\n @param publicId  publid ID from DTD (optional)\n @param type  resource type\n @param flags  flags\n @param out  result pointer\n @returns an xmlParserErrors code."] pub type xmlResourceLoader = :: std :: option :: Option < unsafe extern "C" fn (ctxt : * mut :: std :: os :: raw :: c_void , url : * const :: std :: os :: raw :: c_char , publicId : * const :: std :: os :: raw :: c_char , type_ : xmlResourceType , flags : xmlParserInputFlags , out : * mut * mut xmlParserInput) -> xmlParserErrors > ; # [doc = " Parser context"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserCtxt { # [doc = " @deprecated Use xmlCtxtGetSaxHandler() and\n xmlCtxtSetSaxHandler().\n\n the SAX handler"] pub sax : * mut _xmlSAXHandler , # [doc = " @deprecated Use #xmlCtxtGetUserData\n\n user data for SAX interface, defaults to the context itself"] pub userData : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlCtxtGetDocument()\n\n the document being built"] pub myDoc : * mut xmlDoc , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document well formed?"] pub wellFormed : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_NOENT\n\n shall we replace entities?"] pub replaceEntities : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetVersion()\n\n the XML version string"] pub version : * mut xmlChar , # [doc = " @deprecated Use xmlCtxtGetDeclaredEncoding()\n\n the declared encoding, if any"] pub encoding : * mut xmlChar , # [doc = " @deprecated Use xmlCtxtGetStandalone()\n\n standalone document"] pub standalone : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsHtml()\n\n non-zero for HTML documents, actually an htmlInsertMode"] pub html : :: std :: os :: raw :: c_int , pub input : * mut xmlParserInput , pub inputNr : :: std :: os :: raw :: c_int , pub inputMax : :: std :: os :: raw :: c_int , pub inputTab : * mut * mut xmlParserInput , # [doc = " @deprecated Use #xmlCtxtGetNode\n\n The current element."] pub node : * mut xmlNode , pub nodeNr : :: std :: os :: raw :: c_int , pub nodeMax : :: std :: os :: raw :: c_int , pub nodeTab : * mut * mut xmlNode , pub record_info : :: std :: os :: raw :: c_int , pub node_seq : xmlParserNodeInfoSeq , # [doc = " @deprecated Use xmlCtxtGetLastError()\n\n error code"] pub errNo : :: std :: os :: raw :: c_int , pub hasExternalSubset : :: std :: os :: raw :: c_int , pub hasPErefs : :: std :: os :: raw :: c_int , pub external : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document valid"] pub valid : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_DTDVALID\n\n shall we try to validate?"] pub validate : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetValidCtxt()\n\n The validity context"] pub vctxt : xmlValidCtxt , pub instate : xmlParserInputState , pub token : :: std :: os :: raw :: c_int , # [doc = " @deprecated Don't use\n\n The main document URI, if available, with its last\n component stripped."] pub directory : * mut :: std :: os :: raw :: c_char , pub name : * const xmlChar , pub nameNr : :: std :: os :: raw :: c_int , pub nameMax : :: std :: os :: raw :: c_int , pub nameTab : * mut * const xmlChar , pub nbChars : :: std :: os :: raw :: c_long , pub checkIndex : :: std :: os :: raw :: c_long , # [doc = " @deprecated Use inverted xmlParserOption XML_PARSE_NOBLANKS\n\n ugly but ..."] pub keepBlanks : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsStopped()\n\n SAX callbacks are disabled"] pub disableSAX : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsInSubset\n\n Set if DTD content is parsed.\n\n - 0: not in DTD\n - 1: in internal DTD subset\n - 2: in external DTD subset"] pub inSubset : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use the `name` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n Name of the internal subset (root element type)."] pub intSubName : * const xmlChar , # [doc = " @deprecated Use the `systemId` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n System identifier (URI) of external the subset."] pub extSubURI : * mut xmlChar , # [doc = " @deprecated Use the `publicId` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n This member is MISNAMED. It contains the *public* identifier\n of the external subset."] pub extSubSystem : * mut xmlChar , pub space : * mut :: std :: os :: raw :: c_int , pub spaceNr : :: std :: os :: raw :: c_int , pub spaceMax : :: std :: os :: raw :: c_int , pub spaceTab : * mut :: std :: os :: raw :: c_int , pub depth : :: std :: os :: raw :: c_int , pub entity : * mut xmlParserInput , pub charset : :: std :: os :: raw :: c_int , pub nodelen : :: std :: os :: raw :: c_int , pub nodemem : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_PEDANTIC\n\n signal pedantic warnings"] pub pedantic : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetPrivate() and xmlCtxtSetPrivate()\n\n For user data, libxml won't touch it"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlParserOption XML_PARSE_DTDLOAD,\n XML_PARSE_DTDATTR or XML_PARSE_SKIP_IDS.\n\n Control loading of the external subset and handling of IDs.\n Other options like `validate` can override this value.\n\n - 0: The default behavior is to process IDs and to ignore\n   the external subset.\n - XML_DETECT_IDS: Load external subset. This flag is\n   misnamed. ID handling is only controlled by XML_SKIP_IDS.\n - XML_COMPLETE_ATTRS: Load external subset and process\n   default attributes.\n - XML_SKIP_IDS: Ignore IDs."] pub loadsubset : :: std :: os :: raw :: c_int , pub linenumbers : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetCatalogs() and xmlCtxtSetCatalogs()\n\n document's own catalog"] pub catalogs : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlParserOption XML_PARSE_RECOVER\n run in recovery mode"] pub recovery : :: std :: os :: raw :: c_int , pub progressive : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetDict() and xmlCtxtSetDict()\n\n dictionary for the parser"] pub dict : * mut xmlDict , pub atts : * mut * const xmlChar , pub maxatts : :: std :: os :: raw :: c_int , pub docdict : :: std :: os :: raw :: c_int , pub str_xml : * const xmlChar , pub str_xmlns : * const xmlChar , pub str_xml_ns : * const xmlChar , pub sax2 : :: std :: os :: raw :: c_int , pub nsNr : :: std :: os :: raw :: c_int , pub nsMax : :: std :: os :: raw :: c_int , pub nsTab : * mut * const xmlChar , pub attallocs : * mut :: std :: os :: raw :: c_uint , pub pushTab : * mut xmlStartTag , pub attsDefault : * mut xmlHashTable , pub attsSpecial : * mut xmlHashTable , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document XML Namespace okay"] pub nsWellFormed : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetOptions()\n\n Extra options"] pub options : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use inverted xmlParserOption XML_PARSE_NODICT\n\n Use dictionary names for the tree"] pub dictNames : :: std :: os :: raw :: c_int , pub freeElemsNr : :: std :: os :: raw :: c_int , pub freeElems : * mut xmlNode , pub freeAttrsNr : :: std :: os :: raw :: c_int , pub freeAttrs : * mut xmlAttr , # [doc = " @deprecated Use xmlCtxtGetLastError()\n\n the complete error information for the last error."] pub lastError : xmlError , pub parseMode : xmlParserMode , pub nbentities : :: std :: os :: raw :: c_ulong , pub sizeentities : :: std :: os :: raw :: c_ulong , pub nodeInfo : * mut xmlParserNodeInfo , pub nodeInfoNr : :: std :: os :: raw :: c_int , pub nodeInfoMax : :: std :: os :: raw :: c_int , pub nodeInfoTab : * mut xmlParserNodeInfo , pub input_id : :: std :: os :: raw :: c_int , pub sizeentcopy : :: std :: os :: raw :: c_ulong , pub endCheckState : :: std :: os :: raw :: c_int , pub nbErrors : :: std :: os :: raw :: c_ushort , pub nbWarnings : :: std :: os :: raw :: c_ushort , pub maxAmpl : :: std :: os :: raw :: c_uint , pub nsdb : * mut xmlParserNsData , pub attrHashMax : :: std :: os :: raw :: c_uint , pub attrHash : * mut xmlAttrHashBucket , pub errorHandler : xmlStructuredErrorFunc , pub errorCtxt : * mut :: std :: os :: raw :: c_void , pub resourceLoader : xmlResourceLoader , pub resourceCtxt : * mut :: std :: os :: raw :: c_void , pub convImpl : xmlCharEncConvImpl , pub convCtxt : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserCtxt"] [:: std :: mem :: size_of :: < _xmlParserCtxt > () - 840usize] ; ["Alignment of _xmlParserCtxt"] [:: std :: mem :: align_of :: < _xmlParserCtxt > () - 8usize] ; ["Offset of field: _xmlParserCtxt::sax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sax) - 0usize] ; ["Offset of field: _xmlParserCtxt::userData"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , userData) - 8usize] ; ["Offset of field: _xmlParserCtxt::myDoc"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , myDoc) - 16usize] ; ["Offset of field: _xmlParserCtxt::wellFormed"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , wellFormed) - 24usize] ; ["Offset of field: _xmlParserCtxt::replaceEntities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , replaceEntities) - 28usize] ; ["Offset of field: _xmlParserCtxt::version"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , version) - 32usize] ; ["Offset of field: _xmlParserCtxt::encoding"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , encoding) - 40usize] ; ["Offset of field: _xmlParserCtxt::standalone"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , standalone) - 48usize] ; ["Offset of field: _xmlParserCtxt::html"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , html) - 52usize] ; ["Offset of field: _xmlParserCtxt::input"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , input) - 56usize] ; ["Offset of field: _xmlParserCtxt::inputNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputNr) - 64usize] ; ["Offset of field: _xmlParserCtxt::inputMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputMax) - 68usize] ; ["Offset of field: _xmlParserCtxt::inputTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputTab) - 72usize] ; ["Offset of field: _xmlParserCtxt::node"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , node) - 80usize] ; ["Offset of field: _xmlParserCtxt::nodeNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeNr) - 88usize] ; ["Offset of field: _xmlParserCtxt::nodeMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeMax) - 92usize] ; ["Offset of field: _xmlParserCtxt::nodeTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeTab) - 96usize] ; ["Offset of field: _xmlParserCtxt::record_info"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , record_info) - 104usize] ; ["Offset of field: _xmlParserCtxt::node_seq"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , node_seq) - 112usize] ; ["Offset of field: _xmlParserCtxt::errNo"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errNo) - 136usize] ; ["Offset of field: _xmlParserCtxt::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , hasExternalSubset) - 140usize] ; ["Offset of field: _xmlParserCtxt::hasPErefs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , hasPErefs) - 144usize] ; ["Offset of field: _xmlParserCtxt::external"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , external) - 148usize] ; ["Offset of field: _xmlParserCtxt::valid"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , valid) - 152usize] ; ["Offset of field: _xmlParserCtxt::validate"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , validate) - 156usize] ; ["Offset of field: _xmlParserCtxt::vctxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , vctxt) - 160usize] ; ["Offset of field: _xmlParserCtxt::instate"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , instate) - 272usize] ; ["Offset of field: _xmlParserCtxt::token"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , token) - 276usize] ; ["Offset of field: _xmlParserCtxt::directory"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , directory) - 280usize] ; ["Offset of field: _xmlParserCtxt::name"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , name) - 288usize] ; ["Offset of field: _xmlParserCtxt::nameNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameNr) - 296usize] ; ["Offset of field: _xmlParserCtxt::nameMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameMax) - 300usize] ; ["Offset of field: _xmlParserCtxt::nameTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameTab) - 304usize] ; ["Offset of field: _xmlParserCtxt::nbChars"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbChars) - 312usize] ; ["Offset of field: _xmlParserCtxt::checkIndex"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , checkIndex) - 320usize] ; ["Offset of field: _xmlParserCtxt::keepBlanks"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , keepBlanks) - 328usize] ; ["Offset of field: _xmlParserCtxt::disableSAX"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , disableSAX) - 332usize] ; ["Offset of field: _xmlParserCtxt::inSubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inSubset) - 336usize] ; ["Offset of field: _xmlParserCtxt::intSubName"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , intSubName) - 344usize] ; ["Offset of field: _xmlParserCtxt::extSubURI"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , extSubURI) - 352usize] ; ["Offset of field: _xmlParserCtxt::extSubSystem"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , extSubSystem) - 360usize] ; ["Offset of field: _xmlParserCtxt::space"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , space) - 368usize] ; ["Offset of field: _xmlParserCtxt::spaceNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceNr) - 376usize] ; ["Offset of field: _xmlParserCtxt::spaceMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceMax) - 380usize] ; ["Offset of field: _xmlParserCtxt::spaceTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceTab) - 384usize] ; ["Offset of field: _xmlParserCtxt::depth"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , depth) - 392usize] ; ["Offset of field: _xmlParserCtxt::entity"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , entity) - 400usize] ; ["Offset of field: _xmlParserCtxt::charset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , charset) - 408usize] ; ["Offset of field: _xmlParserCtxt::nodelen"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodelen) - 412usize] ; ["Offset of field: _xmlParserCtxt::nodemem"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodemem) - 416usize] ; ["Offset of field: _xmlParserCtxt::pedantic"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , pedantic) - 420usize] ; ["Offset of field: _xmlParserCtxt::_private"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , _private) - 424usize] ; ["Offset of field: _xmlParserCtxt::loadsubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , loadsubset) - 432usize] ; ["Offset of field: _xmlParserCtxt::linenumbers"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , linenumbers) - 436usize] ; ["Offset of field: _xmlParserCtxt::catalogs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , catalogs) - 440usize] ; ["Offset of field: _xmlParserCtxt::recovery"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , recovery) - 448usize] ; ["Offset of field: _xmlParserCtxt::progressive"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , progressive) - 452usize] ; ["Offset of field: _xmlParserCtxt::dict"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , dict) - 456usize] ; ["Offset of field: _xmlParserCtxt::atts"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , atts) - 464usize] ; ["Offset of field: _xmlParserCtxt::maxatts"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , maxatts) - 472usize] ; ["Offset of field: _xmlParserCtxt::docdict"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , docdict) - 476usize] ; ["Offset of field: _xmlParserCtxt::str_xml"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xml) - 480usize] ; ["Offset of field: _xmlParserCtxt::str_xmlns"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xmlns) - 488usize] ; ["Offset of field: _xmlParserCtxt::str_xml_ns"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xml_ns) - 496usize] ; ["Offset of field: _xmlParserCtxt::sax2"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sax2) - 504usize] ; ["Offset of field: _xmlParserCtxt::nsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsNr) - 508usize] ; ["Offset of field: _xmlParserCtxt::nsMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsMax) - 512usize] ; ["Offset of field: _xmlParserCtxt::nsTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsTab) - 520usize] ; ["Offset of field: _xmlParserCtxt::attallocs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attallocs) - 528usize] ; ["Offset of field: _xmlParserCtxt::pushTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , pushTab) - 536usize] ; ["Offset of field: _xmlParserCtxt::attsDefault"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attsDefault) - 544usize] ; ["Offset of field: _xmlParserCtxt::attsSpecial"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attsSpecial) - 552usize] ; ["Offset of field: _xmlParserCtxt::nsWellFormed"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsWellFormed) - 560usize] ; ["Offset of field: _xmlParserCtxt::options"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , options) - 564usize] ; ["Offset of field: _xmlParserCtxt::dictNames"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , dictNames) - 568usize] ; ["Offset of field: _xmlParserCtxt::freeElemsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeElemsNr) - 572usize] ; ["Offset of field: _xmlParserCtxt::freeElems"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeElems) - 576usize] ; ["Offset of field: _xmlParserCtxt::freeAttrsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeAttrsNr) - 584usize] ; ["Offset of field: _xmlParserCtxt::freeAttrs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeAttrs) - 592usize] ; ["Offset of field: _xmlParserCtxt::lastError"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , lastError) - 600usize] ; ["Offset of field: _xmlParserCtxt::parseMode"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , parseMode) - 688usize] ; ["Offset of field: _xmlParserCtxt::nbentities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbentities) - 696usize] ; ["Offset of field: _xmlParserCtxt::sizeentities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sizeentities) - 704usize] ; ["Offset of field: _xmlParserCtxt::nodeInfo"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfo) - 712usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoNr) - 720usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoMax) - 724usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoTab) - 728usize] ; ["Offset of field: _xmlParserCtxt::input_id"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , input_id) - 736usize] ; ["Offset of field: _xmlParserCtxt::sizeentcopy"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sizeentcopy) - 744usize] ; ["Offset of field: _xmlParserCtxt::endCheckState"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , endCheckState) - 752usize] ; ["Offset of field: _xmlParserCtxt::nbErrors"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbErrors) - 756usize] ; ["Offset of field: _xmlParserCtxt::nbWarnings"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbWarnings) - 758usize] ; ["Offset of field: _xmlParserCtxt::maxAmpl"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , maxAmpl) - 760usize] ; ["Offset of field: _xmlParserCtxt::nsdb"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsdb) - 768usize] ; ["Offset of field: _xmlParserCtxt::attrHashMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attrHashMax) - 776usize] ; ["Offset of field: _xmlParserCtxt::attrHash"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attrHash) - 784usize] ; ["Offset of field: _xmlParserCtxt::errorHandler"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errorHandler) - 792usize] ; ["Offset of field: _xmlParserCtxt::errorCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errorCtxt) - 800usize] ; ["Offset of field: _xmlParserCtxt::resourceLoader"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , resourceLoader) - 808usize] ; ["Offset of field: _xmlParserCtxt::resourceCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , resourceCtxt) - 816usize] ; ["Offset of field: _xmlParserCtxt::convImpl"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , convImpl) - 824usize] ; ["Offset of field: _xmlParserCtxt::convCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , convCtxt) - 832usize] ; } ; # [doc = " A SAX Locator."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXLocator { pub getPublicId : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar > , pub getSystemId : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar > , pub getLineNumber : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , pub getColumnNumber : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXLocator"] [:: std :: mem :: size_of :: < _xmlSAXLocator > () - 32usize] ; ["Alignment of _xmlSAXLocator"] [:: std :: mem :: align_of :: < _xmlSAXLocator > () - 8usize] ; ["Offset of field: _xmlSAXLocator::getPublicId"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getPublicId) - 0usize] ; ["Offset of field: _xmlSAXLocator::getSystemId"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getSystemId) - 8usize] ; ["Offset of field: _xmlSAXLocator::getLineNumber"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getLineNumber) - 16usize] ; ["Offset of field: _xmlSAXLocator::getColumnNumber"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getColumnNumber) - 24usize] ; } ; # [doc = " SAX callback to resolve external entities.\n\n This is only used to load DTDs. The preferred way to install\n custom resolvers is #xmlCtxtSetResourceLoader.\n\n @param ctx  the user data (XML parser context)\n @param publicId  The public identifier of the entity\n @param systemId  The system identifier of the entity (URL)\n @returns the xmlParserInput if inlined or NULL for DOM behaviour."] pub type resolveEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlParserInput > ; # [doc = " SAX callback for the internal subset.\n\n @param ctx  the user data (XML parser context)\n @param name  the root element name\n @param publicId  the public identifier\n @param systemId  the system identifier (e.g. filename or URL)"] pub type internalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback for the external subset.\n\n @param ctx  the user data (XML parser context)\n @param name  the root element name\n @param publicId  the public identifier\n @param systemId  the system identifier (e.g. filename or URL)"] pub type externalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback to look up a general entity by name.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name\n @returns the xmlEntity if found."] pub type getEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity > ; # [doc = " SAX callback to look up a parameter entity by name.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name\n @returns the xmlEntity if found."] pub type getParameterEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity > ; # [doc = " SAX callback for entity declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  the entity name\n @param type  the entity type\n @param publicId  The public ID of the entity\n @param systemId  The system ID of the entity\n @param content  the entity value (without processing)."] pub type entityDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * mut xmlChar) > ; # [doc = " SAX callback for notation declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  The name of the notation\n @param publicId  The public ID of the notation\n @param systemId  The system ID of the notation"] pub type notationDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback for attribute declarations.\n\n @param ctx  the user data (XML parser context)\n @param elem  the name of the element\n @param fullname  the attribute name\n @param type  the attribute type\n @param def  the type of default value\n @param defaultValue  the attribute default value\n @param tree  the tree of enumerated value set"] pub type attributeDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , elem : * const xmlChar , fullname : * const xmlChar , type_ : :: std :: os :: raw :: c_int , def : :: std :: os :: raw :: c_int , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) > ; # [doc = " SAX callback for element declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  the element name\n @param type  the element type\n @param content  the element value tree"] pub type elementDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , content : * mut xmlElementContent) > ; # [doc = " SAX callback for unparsed entity declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  The name of the entity\n @param publicId  The public ID of the entity\n @param systemId  The system ID of the entity\n @param notationName  the name of the notation"] pub type unparsedEntityDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar , notationName : * const xmlChar) > ; # [doc = " This callback receives the \"document locator\" at startup,\n which is always the global xmlDefaultSAXLocator.\n\n Everything is available on the context, so this is useless in\n our case.\n\n @param ctx  the user data (XML parser context)\n @param loc  A SAX Locator"] pub type setDocumentLocatorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , loc : * mut xmlSAXLocator) > ; # [doc = " SAX callback for start of document.\n\n @param ctx  the user data (XML parser context)"] pub type startDocumentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) > ; # [doc = " SAX callback for end of document.\n\n @param ctx  the user data (XML parser context)"] pub type endDocumentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) > ; # [doc = " SAX callback for start tags.\n\n @param ctx  the user data (XML parser context)\n @param name  The element name, including namespace prefix\n @param atts  An array of name/value attributes pairs, NULL terminated"] pub type startElementSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , atts : * mut * const xmlChar) > ; # [doc = " SAX callback for end tags.\n\n @param ctx  the user data (XML parser context)\n @param name  The element name"] pub type endElementSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback for attributes.\n\n @deprecated This typedef is unused.\n\n @param ctx  the user data (XML parser context)\n @param name  The attribute name, including namespace prefix\n @param value  The attribute value"] pub type attributeSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , value : * const xmlChar) > ; # [doc = " SAX callback for entity references.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name"] pub type referenceSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " SAX callback for character data.\n\n @param ctx  the user data (XML parser context)\n @param ch  a xmlChar string\n @param len  the number of xmlChar"] pub type charactersSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for \"ignorable\" whitespace.\n\n @param ctx  the user data (XML parser context)\n @param ch  a xmlChar string\n @param len  the number of xmlChar"] pub type ignorableWhitespaceSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for processing instructions.\n\n @param ctx  the user data (XML parser context)\n @param target  the target name\n @param data  the PI data's"] pub type processingInstructionSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , target : * const xmlChar , data : * const xmlChar) > ; # [doc = " SAX callback for comments.\n\n @param ctx  the user data (XML parser context)\n @param value  the comment content"] pub type commentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar) > ; # [doc = " SAX callback for CDATA sections.\n\n @param ctx  the user data (XML parser context)\n @param value  The pcdata content\n @param len  the block length"] pub type cdataBlockSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for warning messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type warningSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback for error messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type errorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback for fatal error messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type fatalErrorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback to get standalone status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type isStandaloneSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX callback to get internal subset status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type hasInternalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX callback to get external subset status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type hasExternalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX2 callback for start tags.\n\n It provides the namespace information for the element, as well as\n the new namespace declarations on the element.\n\n @param ctx  the user data (XML parser context)\n @param localname  the local name of the element\n @param prefix  the element namespace prefix if available\n @param URI  the element namespace name if available\n @param nb_namespaces  number of namespace definitions on that node\n @param namespaces  pointer to the array of prefix/URI pairs namespace definitions\n @param nb_attributes  the number of attributes on that node\n @param nb_defaulted  the number of defaulted attributes. The defaulted\n                  ones are at the end of the array\n @param attributes  pointer to the array of (localname/prefix/URI/value/end)\n               attribute values."] pub type startElementNsSAX2Func = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar , nb_namespaces : :: std :: os :: raw :: c_int , namespaces : * mut * const xmlChar , nb_attributes : :: std :: os :: raw :: c_int , nb_defaulted : :: std :: os :: raw :: c_int , attributes : * mut * const xmlChar) > ; # [doc = " SAX2 callback for end tags.\n\n It provides the namespace information for the element.\n\n @param ctx  the user data (XML parser context)\n @param localname  the local name of the element\n @param prefix  the element namespace prefix if available\n @param URI  the element namespace name if available"] pub type endElementNsSAX2Func = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar) > ; # [doc = " Callbacks for SAX parser\n\n For DTD-related handlers, it's recommended to either use the\n original libxml2 handler or set them to NULL if DTDs can be\n ignored."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXHandler { # [doc = " Called after the start of the document type declaration\n was parsed.\n\n Should typically not be modified."] pub internalSubset : internalSubsetSAXFunc , # [doc = " Standalone status. Not invoked by the parser. Not supposed\n to be changed by applications."] pub isStandalone : isStandaloneSAXFunc , # [doc = " Internal subset availability. Not invoked by the parser.\n Not supposed to be changed by applications."] pub hasInternalSubset : hasInternalSubsetSAXFunc , # [doc = " External subset availability. Not invoked by the parser.\n Not supposed to be changed by applications."] pub hasExternalSubset : hasExternalSubsetSAXFunc , # [doc = " Only called when loading external DTDs. Not called to load\n external entities.\n\n Should typically not be modified."] pub resolveEntity : resolveEntitySAXFunc , # [doc = " Called when looking up general entities.\n\n Should typically not be modified."] pub getEntity : getEntitySAXFunc , # [doc = " Called after an entity declaration was parsed.\n\n Should typically not be modified."] pub entityDecl : entityDeclSAXFunc , # [doc = " Called after a notation declaration was parsed.\n\n Should typically not be modified."] pub notationDecl : notationDeclSAXFunc , # [doc = " Called after an attribute declaration was parsed.\n\n Should typically not be modified."] pub attributeDecl : attributeDeclSAXFunc , # [doc = " Called after an element declaration was parsed.\n\n Should typically not be modified."] pub elementDecl : elementDeclSAXFunc , # [doc = " Called after an unparsed entity declaration was parsed.\n\n Should typically not be modified."] pub unparsedEntityDecl : unparsedEntityDeclSAXFunc , # [doc = " This callback receives the \"document locator\" at startup,\n which is always the global xmlDefaultSAXLocator.\n\n Everything is available on the context, so this is useless in\n our case."] pub setDocumentLocator : setDocumentLocatorSAXFunc , # [doc = " Called after the XML declaration was parsed.\n\n Use xmlCtxtGetVersion(), xmlCtxtGetDeclaredEncoding() and\n xmlCtxtGetStandalone() to get data from the XML declaration."] pub startDocument : startDocumentSAXFunc , # [doc = " Called at the end of the document."] pub endDocument : endDocumentSAXFunc , # [doc = " Legacy start tag handler\n\n `startElement` and `endElement` are only used by the legacy SAX1\n interface and should not be used in new software. If you really\n have to enable SAX1, the preferred way is set the `initialized`\n member to 1 instead of XML_SAX2_MAGIC.\n\n For backward compatibility, it's also possible to set the\n `startElementNs` and `endElementNs` handlers to NULL.\n\n You can also set the XML_PARSE_SAX1 parser option, but versions\n older than 2.12.0 will probably crash if this option is provided\n together with custom SAX callbacks."] pub startElement : startElementSAXFunc , # [doc = " See _xmlSAXHandler.startElement"] pub endElement : endElementSAXFunc , # [doc = " Called after an entity reference was parsed."] pub reference : referenceSAXFunc , # [doc = " Called after a character data was parsed."] pub characters : charactersSAXFunc , # [doc = " Called after \"ignorable\" whitespace was parsed.\n\n `ignorableWhitespace` should always be set to the same value\n as `characters`. Otherwise, the parser will try to detect\n whitespace which is unreliable."] pub ignorableWhitespace : ignorableWhitespaceSAXFunc , # [doc = " Called after a processing instruction was parsed."] pub processingInstruction : processingInstructionSAXFunc , # [doc = " Called after a comment was parsed."] pub comment : commentSAXFunc , # [doc = " Callback for warning messages."] pub warning : warningSAXFunc , # [doc = " Callback for error messages."] pub error : errorSAXFunc , # [doc = " Unused, all errors go to `error`."] pub fatalError : fatalErrorSAXFunc , # [doc = " Called when looking up parameter entities.\n\n Should typically not be modified."] pub getParameterEntity : getParameterEntitySAXFunc , # [doc = " Called after a CDATA section was parsed."] pub cdataBlock : cdataBlockSAXFunc , # [doc = " Called to parse the external subset.\n\n Should typically not be modified."] pub externalSubset : externalSubsetSAXFunc , # [doc = " Legacy magic value\n\n `initialized` should always be set to XML_SAX2_MAGIC to\n enable the modern SAX2 interface."] pub initialized : :: std :: os :: raw :: c_uint , # [doc = " Application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " Called after a start tag was parsed."] pub startElementNs : startElementNsSAX2Func , # [doc = " Called after an end tag was parsed."] pub endElementNs : endElementNsSAX2Func , # [doc = " Structured error handler.\n\n Takes precedence over `error` or `warning`, but modern code\n should use xmlCtxtSetErrorHandler()."] pub serror : xmlStructuredErrorFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXHandler"] [:: std :: mem :: size_of :: < _xmlSAXHandler > () - 256usize] ; ["Alignment of _xmlSAXHandler"] [:: std :: mem :: align_of :: < _xmlSAXHandler > () - 8usize] ; ["Offset of field: _xmlSAXHandler::internalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , internalSubset) - 0usize] ; ["Offset of field: _xmlSAXHandler::isStandalone"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , isStandalone) - 8usize] ; ["Offset of field: _xmlSAXHandler::hasInternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , hasInternalSubset) - 16usize] ; ["Offset of field: _xmlSAXHandler::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , hasExternalSubset) - 24usize] ; ["Offset of field: _xmlSAXHandler::resolveEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , resolveEntity) - 32usize] ; ["Offset of field: _xmlSAXHandler::getEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , getEntity) - 40usize] ; ["Offset of field: _xmlSAXHandler::entityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , entityDecl) - 48usize] ; ["Offset of field: _xmlSAXHandler::notationDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , notationDecl) - 56usize] ; ["Offset of field: _xmlSAXHandler::attributeDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , attributeDecl) - 64usize] ; ["Offset of field: _xmlSAXHandler::elementDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , elementDecl) - 72usize] ; ["Offset of field: _xmlSAXHandler::unparsedEntityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , unparsedEntityDecl) - 80usize] ; ["Offset of field: _xmlSAXHandler::setDocumentLocator"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , setDocumentLocator) - 88usize] ; ["Offset of field: _xmlSAXHandler::startDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startDocument) - 96usize] ; ["Offset of field: _xmlSAXHandler::endDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endDocument) - 104usize] ; ["Offset of field: _xmlSAXHandler::startElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startElement) - 112usize] ; ["Offset of field: _xmlSAXHandler::endElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endElement) - 120usize] ; ["Offset of field: _xmlSAXHandler::reference"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , reference) - 128usize] ; ["Offset of field: _xmlSAXHandler::characters"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , characters) - 136usize] ; ["Offset of field: _xmlSAXHandler::ignorableWhitespace"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , ignorableWhitespace) - 144usize] ; ["Offset of field: _xmlSAXHandler::processingInstruction"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , processingInstruction) - 152usize] ; ["Offset of field: _xmlSAXHandler::comment"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , comment) - 160usize] ; ["Offset of field: _xmlSAXHandler::warning"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , warning) - 168usize] ; ["Offset of field: _xmlSAXHandler::error"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , error) - 176usize] ; ["Offset of field: _xmlSAXHandler::fatalError"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , fatalError) - 184usize] ; ["Offset of field: _xmlSAXHandler::getParameterEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , getParameterEntity) - 192usize] ; ["Offset of field: _xmlSAXHandler::cdataBlock"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , cdataBlock) - 200usize] ; ["Offset of field: _xmlSAXHandler::externalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , externalSubset) - 208usize] ; ["Offset of field: _xmlSAXHandler::initialized"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , initialized) - 216usize] ; ["Offset of field: _xmlSAXHandler::_private"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , _private) - 224usize] ; ["Offset of field: _xmlSAXHandler::startElementNs"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startElementNs) - 232usize] ; ["Offset of field: _xmlSAXHandler::endElementNs"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endElementNs) - 240usize] ; ["Offset of field: _xmlSAXHandler::serror"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , serror) - 248usize] ; } ; # [doc = " SAX handler, version 1.\n\n @deprecated Use version 2 handlers."] pub type xmlSAXHandlerV1 = _xmlSAXHandlerV1 ; pub type xmlSAXHandlerV1Ptr = * mut xmlSAXHandlerV1 ; # [doc = " SAX handler, version 1.\n\n @deprecated Use version 2 handlers."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXHandlerV1 { pub internalSubset : internalSubsetSAXFunc , pub isStandalone : isStandaloneSAXFunc , pub hasInternalSubset : hasInternalSubsetSAXFunc , pub hasExternalSubset : hasExternalSubsetSAXFunc , pub resolveEntity : resolveEntitySAXFunc , pub getEntity : getEntitySAXFunc , pub entityDecl : entityDeclSAXFunc , pub notationDecl : notationDeclSAXFunc , pub attributeDecl : attributeDeclSAXFunc , pub elementDecl : elementDeclSAXFunc , pub unparsedEntityDecl : unparsedEntityDeclSAXFunc , pub setDocumentLocator : setDocumentLocatorSAXFunc , pub startDocument : startDocumentSAXFunc , pub endDocument : endDocumentSAXFunc , pub startElement : startElementSAXFunc , pub endElement : endElementSAXFunc , pub reference : referenceSAXFunc , pub characters : charactersSAXFunc , pub ignorableWhitespace : ignorableWhitespaceSAXFunc , pub processingInstruction : processingInstructionSAXFunc , pub comment : commentSAXFunc , pub warning : warningSAXFunc , pub error : errorSAXFunc , pub fatalError : fatalErrorSAXFunc , pub getParameterEntity : getParameterEntitySAXFunc , pub cdataBlock : cdataBlockSAXFunc , pub externalSubset : externalSubsetSAXFunc , pub initialized : :: std :: os :: raw :: c_uint , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXHandlerV1"] [:: std :: mem :: size_of :: < _xmlSAXHandlerV1 > () - 224usize] ; ["Alignment of _xmlSAXHandlerV1"] [:: std :: mem :: align_of :: < _xmlSAXHandlerV1 > () - 8usize] ; ["Offset of field: _xmlSAXHandlerV1::internalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , internalSubset) - 0usize] ; ["Offset of field: _xmlSAXHandlerV1::isStandalone"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , isStandalone) - 8usize] ; ["Offset of field: _xmlSAXHandlerV1::hasInternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , hasInternalSubset) - 16usize] ; ["Offset of field: _xmlSAXHandlerV1::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , hasExternalSubset) - 24usize] ; ["Offset of field: _xmlSAXHandlerV1::resolveEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , resolveEntity) - 32usize] ; ["Offset of field: _xmlSAXHandlerV1::getEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , getEntity) - 40usize] ; ["Offset of field: _xmlSAXHandlerV1::entityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , entityDecl) - 48usize] ; ["Offset of field: _xmlSAXHandlerV1::notationDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , notationDecl) - 56usize] ; ["Offset of field: _xmlSAXHandlerV1::attributeDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , attributeDecl) - 64usize] ; ["Offset of field: _xmlSAXHandlerV1::elementDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , elementDecl) - 72usize] ; ["Offset of field: _xmlSAXHandlerV1::unparsedEntityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , unparsedEntityDecl) - 80usize] ; ["Offset of field: _xmlSAXHandlerV1::setDocumentLocator"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , setDocumentLocator) - 88usize] ; ["Offset of field: _xmlSAXHandlerV1::startDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , startDocument) - 96usize] ; ["Offset of field: _xmlSAXHandlerV1::endDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , endDocument) - 104usize] ; ["Offset of field: _xmlSAXHandlerV1::startElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , startElement) - 112usize] ; ["Offset of field: _xmlSAXHandlerV1::endElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , endElement) - 120usize] ; ["Offset of field: _xmlSAXHandlerV1::reference"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , reference) - 128usize] ; ["Offset of field: _xmlSAXHandlerV1::characters"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , characters) - 136usize] ; ["Offset of field: _xmlSAXHandlerV1::ignorableWhitespace"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , ignorableWhitespace) - 144usize] ; ["Offset of field: _xmlSAXHandlerV1::processingInstruction"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , processingInstruction) - 152usize] ; ["Offset of field: _xmlSAXHandlerV1::comment"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , comment) - 160usize] ; ["Offset of field: _xmlSAXHandlerV1::warning"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , warning) - 168usize] ; ["Offset of field: _xmlSAXHandlerV1::error"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , error) - 176usize] ; ["Offset of field: _xmlSAXHandlerV1::fatalError"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , fatalError) - 184usize] ; ["Offset of field: _xmlSAXHandlerV1::getParameterEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , getParameterEntity) - 192usize] ; ["Offset of field: _xmlSAXHandlerV1::cdataBlock"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , cdataBlock) - 200usize] ; ["Offset of field: _xmlSAXHandlerV1::externalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , externalSubset) - 208usize] ; ["Offset of field: _xmlSAXHandlerV1::initialized"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , initialized) - 216usize] ; } ; # [doc = " Callback for external entity loader.\n\n The URL is not resolved using XML catalogs before being passed\n to the callback.\n\n @param URL  The URL or system ID of the resource requested\n @param publicId  The public ID of the resource requested (optional)\n @param context  the XML parser context\n @returns the entity input parser or NULL on error."] pub type xmlExternalEntityLoader = :: std :: option :: Option < unsafe extern "C" fn (URL : * const :: std :: os :: raw :: c_char , publicId : * const :: std :: os :: raw :: c_char , context : * mut xmlParserCtxt) -> * mut xmlParserInput > ; unsafe extern "C" { pub static xmlParserVersion : * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { # [doc = " @cond ignore"] pub static xmlDefaultSAXLocator : xmlSAXLocator ; } unsafe extern "C" { # [doc = " @deprecated Use #xmlSAXVersion or #xmlSAX2InitDefaultSAXHandler"] pub static xmlDefaultSAXHandler : xmlSAXHandlerV1 ; } unsafe extern "C" { pub fn __xmlDoValidityCheckingDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlGetWarningsDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlKeepBlanksDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlLineNumbersDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlLoadExtDtdDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlPedanticParserDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlSubstituteEntitiesDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlIndentTreeOutput () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlTreeIndentString () -> * mut * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn __xmlSaveNoEmptyTags () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlInitParser () ; } unsafe extern "C" { pub fn xmlCleanupParser () ; } unsafe extern "C" { pub fn xmlInitGlobals () ; } unsafe extern "C" { pub fn xmlCleanupGlobals () ; } unsafe extern "C" { pub fn xmlParserInputRead (in_ : * mut xmlParserInput , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputGrow (in_ : * mut xmlParserInput , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseDoc (cur : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseFile (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSubstituteEntitiesDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlKeepBlanksDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStopParser (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlPedanticParserDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlLineNumbersDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefSubstituteEntitiesDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefKeepBlanksDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefPedanticParserDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefLineNumbersDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefDoValidityCheckingDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefGetWarningsDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefLoadExtDtdDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRecoverDoc (cur : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlRecoverMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlRecoverFile (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseDocument (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseExtParsedEnt (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXUserParseFile (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXUserParseMemory (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXParseDoc (sax : * mut xmlSAXHandler , cur : * const xmlChar , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseMemory (sax : * mut xmlSAXHandler , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseMemoryWithData (sax : * mut xmlSAXHandler , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , recovery : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseFile (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseFileWithData (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char , recovery : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseEntity (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseEntity (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseDtd (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlCtxtValidateDocument (ctxt : * mut xmlParserCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtValidateDtd (ctxt : * mut xmlParserCtxt , doc : * mut xmlDoc , dtd : * mut xmlDtd) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXParseDTD (sax : * mut xmlSAXHandler , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlParseDTD (publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlIOParseDTD (sax : * mut xmlSAXHandler , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlParseBalancedChunkMemory (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , string : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseInNodeContext (node : * mut xmlNode , data : * const :: std :: os :: raw :: c_char , datalen : :: std :: os :: raw :: c_int , options : :: std :: os :: raw :: c_int , lst : * mut * mut xmlNode) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlParseBalancedChunkMemoryRecover (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , string : * const xmlChar , lst : * mut * mut xmlNode , recover : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseExternalEntity (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , URL : * const xmlChar , ID : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseCtxtExternalEntity (ctx : * mut xmlParserCtxt , URL : * const xmlChar , ID : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNewParserCtxt () -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlNewSAXParserCtxt (sax : * const xmlSAXHandler , userData : * mut :: std :: os :: raw :: c_void) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlInitParserCtxt (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlClearParserCtxt (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlFreeParserCtxt (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlSetupParserForBuffer (ctxt : * mut xmlParserCtxt , buffer : * const xmlChar , filename : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlCreateDocParserCtxt (cur : * const xmlChar) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlCreatePushParserCtxt (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , filename : * const :: std :: os :: raw :: c_char) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlParseChunk (ctxt : * mut xmlParserCtxt , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , terminate : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCreateIOParserCtxt (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , enc : xmlCharEncoding) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlNewIOInputStream (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlParserFindNodeInfo (ctxt : * mut xmlParserCtxt , node : * mut xmlNode) -> * const xmlParserNodeInfo ; } unsafe extern "C" { pub fn xmlInitNodeInfoSeq (seq : * mut xmlParserNodeInfoSeq) ; } unsafe extern "C" { pub fn xmlClearNodeInfoSeq (seq : * mut xmlParserNodeInfoSeq) ; } unsafe extern "C" { pub fn xmlParserFindNodeInfoIndex (seq : * mut xmlParserNodeInfoSeq , node : * mut xmlNode) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlParserAddNodeInfo (ctxt : * mut xmlParserCtxt , info : * mut xmlParserNodeInfo) ; } unsafe extern "C" { pub fn xmlSetExternalEntityLoader (f : xmlExternalEntityLoader) ; } unsafe extern "C" { pub fn xmlGetExternalEntityLoader () -> xmlExternalEntityLoader ; } unsafe extern "C" { pub fn xmlLoadExternalEntity (URL : * const :: std :: os :: raw :: c_char , ID : * const :: std :: os :: raw :: c_char , ctxt : * mut xmlParserCtxt) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlByteConsumed (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_long ; } # [doc = " Enable \"recovery\" mode which allows non-wellformed documents.\n How this mode behaves exactly is unspecified and may change\n without further notice. Use of this feature is DISCOURAGED.\n\n Not supported by the push parser."] pub const xmlParserOption_XML_PARSE_RECOVER : xmlParserOption = 1 ; # [doc = " Despite the confusing name, this option enables substitution\n of entities. The resulting tree won't contain any entity\n reference nodes.\n\n This option also enables loading of external entities (both\n general and parameter entities) which is dangerous. If you\n process untrusted data, it's recommended to set the\n XML_PARSE_NO_XXE option to disable loading of external\n entities."] pub const xmlParserOption_XML_PARSE_NOENT : xmlParserOption = 2 ; # [doc = " Enables loading of an external DTD and the loading and\n substitution of external parameter entities. Has no effect\n if XML_PARSE_NO_XXE is set."] pub const xmlParserOption_XML_PARSE_DTDLOAD : xmlParserOption = 4 ; # [doc = " Adds default attributes from the DTD to the result document.\n\n Implies XML_PARSE_DTDLOAD, but loading of external content\n can be disabled with XML_PARSE_NO_XXE."] pub const xmlParserOption_XML_PARSE_DTDATTR : xmlParserOption = 8 ; # [doc = " This option enables DTD validation which requires to load\n external DTDs and external entities (both general and\n parameter entities) unless XML_PARSE_NO_XXE was set.\n\n DTD validation is vulnerable to algorithmic complexity\n attacks and should never be enabled with untrusted input."] pub const xmlParserOption_XML_PARSE_DTDVALID : xmlParserOption = 16 ; # [doc = " Disable error and warning reports to the error handlers.\n Errors are still accessible with xmlCtxtGetLastError()."] pub const xmlParserOption_XML_PARSE_NOERROR : xmlParserOption = 32 ; # [doc = " Disable warning reports."] pub const xmlParserOption_XML_PARSE_NOWARNING : xmlParserOption = 64 ; # [doc = " Enable some pedantic warnings."] pub const xmlParserOption_XML_PARSE_PEDANTIC : xmlParserOption = 128 ; # [doc = " Remove some whitespace from the result document. Where to\n remove whitespace depends on DTD element declarations or a\n broken heuristic with unfixable bugs. Use of this option is\n DISCOURAGED.\n\n Not supported by the push parser."] pub const xmlParserOption_XML_PARSE_NOBLANKS : xmlParserOption = 256 ; # [doc = " Always invoke the deprecated SAX1 startElement and endElement\n handlers.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_SAX1 : xmlParserOption = 512 ; # [doc = " Enable XInclude processing. This option only affects the\n xmlTextReader and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_XINCLUDE : xmlParserOption = 1024 ; # [doc = " Disable network access with the built-in HTTP or FTP clients.\n\n After the last built-in network client was removed in 2.15,\n this option has no effect expect for being passed on to custom\n resource loaders."] pub const xmlParserOption_XML_PARSE_NONET : xmlParserOption = 2048 ; # [doc = " Create a document without interned strings, making all\n strings separate memory allocations."] pub const xmlParserOption_XML_PARSE_NODICT : xmlParserOption = 4096 ; # [doc = " Remove redundant namespace declarations from the result\n document."] pub const xmlParserOption_XML_PARSE_NSCLEAN : xmlParserOption = 8192 ; # [doc = " Output normal text nodes instead of CDATA nodes."] pub const xmlParserOption_XML_PARSE_NOCDATA : xmlParserOption = 16384 ; # [doc = " Don't generate XInclude start/end nodes when expanding\n inclusions. This option only affects the xmlTextReader\n and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_NOXINCNODE : xmlParserOption = 32768 ; # [doc = " Store small strings directly in the node struct to save\n memory."] pub const xmlParserOption_XML_PARSE_COMPACT : xmlParserOption = 65536 ; # [doc = " Use old Name productions from before XML 1.0 Fifth Edition.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_OLD10 : xmlParserOption = 131072 ; # [doc = " Don't fix up XInclude xml:base URIs. This option only affects\n the xmlTextReader and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_NOBASEFIX : xmlParserOption = 262144 ; # [doc = " Relax some internal limits.\n\n Maximum size of text nodes, tags, comments, processing instructions,\n CDATA sections, entity values\n\n normal: 10M\n huge:    1B\n\n Maximum size of names, system literals, pubid literals\n\n normal: 50K\n huge:   10M\n\n Maximum nesting depth of elements\n\n normal:  256\n huge:   2048\n\n Maximum nesting depth of entities\n\n normal: 20\n huge:   40"] pub const xmlParserOption_XML_PARSE_HUGE : xmlParserOption = 524288 ; # [doc = " Enable an unspecified legacy mode for SAX parsers.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_OLDSAX : xmlParserOption = 1048576 ; # [doc = " Ignore the encoding in the XML declaration. This option is\n mostly unneeded these days. The only effect is to enforce\n UTF-8 decoding of ASCII-like data."] pub const xmlParserOption_XML_PARSE_IGNORE_ENC : xmlParserOption = 2097152 ; # [doc = " Enable reporting of line numbers larger than 65535."] pub const xmlParserOption_XML_PARSE_BIG_LINES : xmlParserOption = 4194304 ; # [doc = " Disables loading of external DTDs or entities.\n\n @since 2.13.0"] pub const xmlParserOption_XML_PARSE_NO_XXE : xmlParserOption = 8388608 ; # [doc = " Enable input decompression. Setting this option is discouraged\n to avoid zip bombs.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_UNZIP : xmlParserOption = 16777216 ; # [doc = " Disables the global system XML catalog.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_NO_SYS_CATALOG : xmlParserOption = 33554432 ; # [doc = " Enable XML catalog processing instructions.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_CATALOG_PI : xmlParserOption = 67108864 ; # [doc = " Force the parser to ignore IDs.\n\n @since 2.15.0"] pub const xmlParserOption_XML_PARSE_SKIP_IDS : xmlParserOption = 134217728 ; # [doc = " This is the set of XML parser options that can be passed to\n #xmlReadDoc, #xmlCtxtSetOptions and other functions."] pub type xmlParserOption = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlCtxtReset (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlCtxtResetPush (ctxt : * mut xmlParserCtxt , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , filename : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetOptions (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtSetOptions (ctxt : * mut xmlParserCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtUseOptions (ctxt : * mut xmlParserCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetPrivate (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtSetPrivate (ctxt : * mut xmlParserCtxt , priv_ : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtGetCatalogs (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtSetCatalogs (ctxt : * mut xmlParserCtxt , catalogs : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtGetDict (ctxt : * mut xmlParserCtxt) -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlCtxtSetDict (ctxt : * mut xmlParserCtxt , arg1 : * mut xmlDict) ; } unsafe extern "C" { pub fn xmlCtxtGetSaxHandler (ctxt : * mut xmlParserCtxt) -> * mut xmlSAXHandler ; } unsafe extern "C" { pub fn xmlCtxtSetSaxHandler (ctxt : * mut xmlParserCtxt , sax : * const xmlSAXHandler) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetDocument (ctxt : * mut xmlParserCtxt) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtIsHtml (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtIsStopped (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtIsInSubset (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetValidCtxt (ctxt : * mut xmlParserCtxt) -> * mut xmlValidCtxt ; } unsafe extern "C" { pub fn xmlCtxtGetVersion (ctxt : * mut xmlParserCtxt) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCtxtGetDeclaredEncoding (ctxt : * mut xmlParserCtxt) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCtxtGetStandalone (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetStatus (ctxt : * mut xmlParserCtxt) -> xmlParserStatus ; } unsafe extern "C" { pub fn xmlCtxtGetUserData (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtGetNode (ctxt : * mut xmlParserCtxt) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCtxtGetDocTypeDecl (ctxt : * mut xmlParserCtxt , name : * mut * const xmlChar , systemId : * mut * const xmlChar , publicId : * mut * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetInputPosition (ctxt : * mut xmlParserCtxt , inputIndex : :: std :: os :: raw :: c_int , filname : * mut * const :: std :: os :: raw :: c_char , line : * mut :: std :: os :: raw :: c_int , col : * mut :: std :: os :: raw :: c_int , bytePos : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetInputWindow (ctxt : * mut xmlParserCtxt , inputIndex : :: std :: os :: raw :: c_int , startOut : * mut * const xmlChar , sizeInOut : * mut :: std :: os :: raw :: c_int , offsetOut : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtSetErrorHandler (ctxt : * mut xmlParserCtxt , handler : xmlStructuredErrorFunc , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetResourceLoader (ctxt : * mut xmlParserCtxt , loader : xmlResourceLoader , vctxt : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetCharEncConvImpl (ctxt : * mut xmlParserCtxt , impl_ : xmlCharEncConvImpl , vctxt : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetMaxAmplification (ctxt : * mut xmlParserCtxt , maxAmpl : :: std :: os :: raw :: c_uint) ; } unsafe extern "C" { pub fn xmlReadDoc (cur : * const xmlChar , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadFile (URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadFd (fd : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadIO (ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseDocument (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseContent (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput , node : * mut xmlNode , hasTextDecl : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCtxtReadDoc (ctxt : * mut xmlParserCtxt , cur : * const xmlChar , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadFile (ctxt : * mut xmlParserCtxt , filename : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadMemory (ctxt : * mut xmlParserCtxt , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadFd (ctxt : * mut xmlParserCtxt , fd : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadIO (ctxt : * mut xmlParserCtxt , ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlNewInputFromUrl (url : * const :: std :: os :: raw :: c_char , flags : xmlParserInputFlags , out : * mut * mut xmlParserInput) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlNewInputFromMemory (url : * const :: std :: os :: raw :: c_char , mem : * const :: std :: os :: raw :: c_void , size : usize , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromString (url : * const :: std :: os :: raw :: c_char , str_ : * const :: std :: os :: raw :: c_char , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromFd (url : * const :: std :: os :: raw :: c_char , fd : :: std :: os :: raw :: c_int , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromIO (url : * const :: std :: os :: raw :: c_char , ioRead : xmlInputReadCallback , ioClose : xmlInputCloseCallback , ioCtxt : * mut :: std :: os :: raw :: c_void , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlInputSetEncodingHandler (input : * mut xmlParserInput , handler : * mut xmlCharEncodingHandler) -> xmlParserErrors ; } # [doc = " Multithreading support"] pub const xmlFeature_XML_WITH_THREAD : xmlFeature = 1 ; # [doc = " @deprecated Always available"] pub const xmlFeature_XML_WITH_TREE : xmlFeature = 2 ; # [doc = " Serialization support"] pub const xmlFeature_XML_WITH_OUTPUT : xmlFeature = 3 ; # [doc = " Push parser"] pub const xmlFeature_XML_WITH_PUSH : xmlFeature = 4 ; # [doc = " XML Reader"] pub const xmlFeature_XML_WITH_READER : xmlFeature = 5 ; # [doc = " Streaming patterns"] pub const xmlFeature_XML_WITH_PATTERN : xmlFeature = 6 ; # [doc = " XML Writer"] pub const xmlFeature_XML_WITH_WRITER : xmlFeature = 7 ; # [doc = " Legacy SAX1 API"] pub const xmlFeature_XML_WITH_SAX1 : xmlFeature = 8 ; # [doc = " @deprecated FTP support was removed"] pub const xmlFeature_XML_WITH_FTP : xmlFeature = 9 ; # [doc = " @deprecated HTTP support was removed"] pub const xmlFeature_XML_WITH_HTTP : xmlFeature = 10 ; # [doc = " DTD validation"] pub const xmlFeature_XML_WITH_VALID : xmlFeature = 11 ; # [doc = " HTML parser"] pub const xmlFeature_XML_WITH_HTML : xmlFeature = 12 ; # [doc = " Legacy symbols"] pub const xmlFeature_XML_WITH_LEGACY : xmlFeature = 13 ; # [doc = " Canonical XML"] pub const xmlFeature_XML_WITH_C14N : xmlFeature = 14 ; # [doc = " XML Catalogs"] pub const xmlFeature_XML_WITH_CATALOG : xmlFeature = 15 ; # [doc = " XPath"] pub const xmlFeature_XML_WITH_XPATH : xmlFeature = 16 ; # [doc = " XPointer"] pub const xmlFeature_XML_WITH_XPTR : xmlFeature = 17 ; # [doc = " XInclude"] pub const xmlFeature_XML_WITH_XINCLUDE : xmlFeature = 18 ; # [doc = " iconv"] pub const xmlFeature_XML_WITH_ICONV : xmlFeature = 19 ; # [doc = " Built-in ISO-8859-X"] pub const xmlFeature_XML_WITH_ISO8859X : xmlFeature = 20 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_UNICODE : xmlFeature = 21 ; # [doc = " Regular expressions"] pub const xmlFeature_XML_WITH_REGEXP : xmlFeature = 22 ; # [doc = " @deprecated Same as XML_WITH_REGEXP"] pub const xmlFeature_XML_WITH_AUTOMATA : xmlFeature = 23 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_EXPR : xmlFeature = 24 ; # [doc = " XML Schemas"] pub const xmlFeature_XML_WITH_SCHEMAS : xmlFeature = 25 ; # [doc = " Schematron"] pub const xmlFeature_XML_WITH_SCHEMATRON : xmlFeature = 26 ; # [doc = " Loadable modules"] pub const xmlFeature_XML_WITH_MODULES : xmlFeature = 27 ; # [doc = " Debugging API"] pub const xmlFeature_XML_WITH_DEBUG : xmlFeature = 28 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_DEBUG_MEM : xmlFeature = 29 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_DEBUG_RUN : xmlFeature = 30 ; # [doc = " GZIP compression"] pub const xmlFeature_XML_WITH_ZLIB : xmlFeature = 31 ; # [doc = " ICU"] pub const xmlFeature_XML_WITH_ICU : xmlFeature = 32 ; # [doc = " @deprecated LZMA support was removed"] pub const xmlFeature_XML_WITH_LZMA : xmlFeature = 33 ; # [doc = " RELAXNG, since 2.14"] pub const xmlFeature_XML_WITH_RELAXNG : xmlFeature = 34 ; # [doc = " RELAXNG, since 2.14"] pub const xmlFeature_XML_WITH_NONE : xmlFeature = 99999 ; # [doc = " Used to examine the existence of features that can be enabled\n or disabled at compile-time.\n They used to be called XML_FEATURE_xxx but this clashed with Expat"] pub type xmlFeature = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlHasFeature (feature : xmlFeature) -> :: std :: os :: raw :: c_int ; } pub const xmlSchemaValidError_XML_SCHEMAS_ERR_OK : xmlSchemaValidError = 0 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOROOT : xmlSchemaValidError = 1 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_UNDECLAREDELEM : xmlSchemaValidError = 2 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTTOPLEVEL : xmlSchemaValidError = 3 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_MISSING : xmlSchemaValidError = 4 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_WRONGELEM : xmlSchemaValidError = 5 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTYPE : xmlSchemaValidError = 6 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOROLLBACK : xmlSchemaValidError = 7 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ISABSTRACT : xmlSchemaValidError = 8 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTEMPTY : xmlSchemaValidError = 9 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ELEMCONT : xmlSchemaValidError = 10 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_HAVEDEFAULT : xmlSchemaValidError = 11 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTNILLABLE : xmlSchemaValidError = 12 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_EXTRACONTENT : xmlSchemaValidError = 13 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INVALIDATTR : xmlSchemaValidError = 14 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INVALIDELEM : xmlSchemaValidError = 15 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTDETERMINIST : xmlSchemaValidError = 16 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_CONSTRUCT : xmlSchemaValidError = 17 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INTERNAL : xmlSchemaValidError = 18 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTSIMPLE : xmlSchemaValidError = 19 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ATTRUNKNOWN : xmlSchemaValidError = 20 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ATTRINVALID : xmlSchemaValidError = 21 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_VALUE : xmlSchemaValidError = 22 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_FACET : xmlSchemaValidError = 23 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ : xmlSchemaValidError = 24 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_XXX : xmlSchemaValidError = 25 ; # [doc = " This error codes are obsolete; not used any more."] pub type xmlSchemaValidError = :: std :: os :: raw :: c_uint ; pub const xmlSchemaValidOption_XML_SCHEMA_VAL_VC_I_CREATE : xmlSchemaValidOption = 1 ; # [doc = " This is the set of XML Schema validation options."] pub type xmlSchemaValidOption = :: std :: os :: raw :: c_uint ; # [doc = " XML schema"] pub type xmlSchema = _xmlSchema ; pub type xmlSchemaPtr = * mut xmlSchema ; # [doc = " Signature of an error callback from an XSD validation\n\n @param ctx  the validation context\n @param msg  the message\n @param ... extra arguments"] pub type xmlSchemaValidityErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Signature of a warning callback from an XSD validation\n\n @param ctx  the validation context\n @param msg  the message\n @param ... extra arguments"] pub type xmlSchemaValidityWarningFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaParserCtxt { _unused : [u8 ; 0] , } # [doc = " Schema parser context"] pub type xmlSchemaParserCtxt = _xmlSchemaParserCtxt ; pub type xmlSchemaParserCtxtPtr = * mut xmlSchemaParserCtxt ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaValidCtxt { _unused : [u8 ; 0] , } # [doc = " Schema validation context"] pub type xmlSchemaValidCtxt = _xmlSchemaValidCtxt ; pub type xmlSchemaValidCtxtPtr = * mut xmlSchemaValidCtxt ; # [doc = " A schemas validation locator, a callback called by the validator.\n This is used when file or node information are not available\n to find out what file and line number are affected\n\n @param ctx  user provided context\n @param file  returned file information\n @param line  returned line information\n @returns 0 in case of success and -1 in case of error"] pub type xmlSchemaValidityLocatorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , file : * mut * const :: std :: os :: raw :: c_char , line : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int > ; unsafe extern "C" { pub fn xmlSchemaNewParserCtxt (URL : * const :: std :: os :: raw :: c_char) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaNewMemParserCtxt (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaNewDocParserCtxt (doc : * mut xmlDoc) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaFreeParserCtxt (ctxt : * mut xmlSchemaParserCtxt) ; } unsafe extern "C" { pub fn xmlSchemaSetParserErrors (ctxt : * mut xmlSchemaParserCtxt , err : xmlSchemaValidityErrorFunc , warn : xmlSchemaValidityWarningFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaSetParserStructuredErrors (ctxt : * mut xmlSchemaParserCtxt , serror : xmlStructuredErrorFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaGetParserErrors (ctxt : * mut xmlSchemaParserCtxt , err : * mut xmlSchemaValidityErrorFunc , warn : * mut xmlSchemaValidityWarningFunc , ctx : * mut * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaSetResourceLoader (ctxt : * mut xmlSchemaParserCtxt , loader : xmlResourceLoader , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaIsValid (ctxt : * mut xmlSchemaValidCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaParse (ctxt : * mut xmlSchemaParserCtxt) -> * mut xmlSchema ; } unsafe extern "C" { pub fn xmlSchemaFree (schema : * mut xmlSchema) ; } unsafe extern "C" { pub fn xmlSchemaDump (output : * mut FILE , schema : * mut xmlSchema) ; } unsafe extern "C" { pub fn xmlSchemaSetValidErrors (ctxt : * mut xmlSchemaValidCtxt , err : xmlSchemaValidityErrorFunc , warn : xmlSchemaValidityWarningFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaSetValidStructuredErrors (ctxt : * mut xmlSchemaValidCtxt , serror : xmlStructuredErrorFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaGetValidErrors (ctxt : * mut xmlSchemaValidCtxt , err : * mut xmlSchemaValidityErrorFunc , warn : * mut xmlSchemaValidityWarningFunc , ctx : * mut * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaSetValidOptions (ctxt : * mut xmlSchemaValidCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateSetFilename (vctxt : * mut xmlSchemaValidCtxt , filename : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlSchemaValidCtxtGetOptions (ctxt : * mut xmlSchemaValidCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaNewValidCtxt (schema : * mut xmlSchema) -> * mut xmlSchemaValidCtxt ; } unsafe extern "C" { pub fn xmlSchemaFreeValidCtxt (ctxt : * mut xmlSchemaValidCtxt) ; } unsafe extern "C" { pub fn xmlSchemaValidateDoc (ctxt : * mut xmlSchemaValidCtxt , instance : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateOneElement (ctxt : * mut xmlSchemaValidCtxt , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateStream (ctxt : * mut xmlSchemaValidCtxt , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding , sax : * const xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFile (ctxt : * mut xmlSchemaValidCtxt , filename : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidCtxtGetParserCtxt (ctxt : * mut xmlSchemaValidCtxt) -> * mut xmlParserCtxt ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaSAXPlug { _unused : [u8 ; 0] , } # [doc = " Interface to insert Schemas SAX validation in a SAX stream"] pub type xmlSchemaSAXPlugStruct = _xmlSchemaSAXPlug ; pub type xmlSchemaSAXPlugPtr = * mut xmlSchemaSAXPlugStruct ; unsafe extern "C" { pub fn xmlSchemaSAXPlug (ctxt : * mut xmlSchemaValidCtxt , sax : * mut * mut xmlSAXHandler , user_data : * mut * mut :: std :: os :: raw :: c_void) -> * mut xmlSchemaSAXPlugStruct ; } unsafe extern "C" { pub fn xmlSchemaSAXUnplug (plug : * mut xmlSchemaSAXPlugStruct) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateSetLocator (vctxt : * mut xmlSchemaValidCtxt , f : xmlSchemaValidityLocatorFunc , ctxt : * mut :: std :: os :: raw :: c_void) ; } pub const xmlSchemaValType_XML_SCHEMAS_UNKNOWN : xmlSchemaValType = 0 ; pub const xmlSchemaValType_XML_SCHEMAS_STRING : xmlSchemaValType = 1 ; pub const xmlSchemaValType_XML_SCHEMAS_NORMSTRING : xmlSchemaValType = 2 ; pub const xmlSchemaValType_XML_SCHEMAS_DECIMAL : xmlSchemaValType = 3 ; pub const xmlSchemaValType_XML_SCHEMAS_TIME : xmlSchemaValType = 4 ; pub const xmlSchemaValType_XML_SCHEMAS_GDAY : xmlSchemaValType = 5 ; pub const xmlSchemaValType_XML_SCHEMAS_GMONTH : xmlSchemaValType = 6 ; pub const xmlSchemaValType_XML_SCHEMAS_GMONTHDAY : xmlSchemaValType = 7 ; pub const xmlSchemaValType_XML_SCHEMAS_GYEAR : xmlSchemaValType = 8 ; pub const xmlSchemaValType_XML_SCHEMAS_GYEARMONTH : xmlSchemaValType = 9 ; pub const xmlSchemaValType_XML_SCHEMAS_DATE : xmlSchemaValType = 10 ; pub const xmlSchemaValType_XML_SCHEMAS_DATETIME : xmlSchemaValType = 11 ; pub const xmlSchemaValType_XML_SCHEMAS_DURATION : xmlSchemaValType = 12 ; pub const xmlSchemaValType_XML_SCHEMAS_FLOAT : xmlSchemaValType = 13 ; pub const xmlSchemaValType_XML_SCHEMAS_DOUBLE : xmlSchemaValType = 14 ; pub const xmlSchemaValType_XML_SCHEMAS_BOOLEAN : xmlSchemaValType = 15 ; pub const xmlSchemaValType_XML_SCHEMAS_TOKEN : xmlSchemaValType = 16 ; pub const xmlSchemaValType_XML_SCHEMAS_LANGUAGE : xmlSchemaValType = 17 ; pub const xmlSchemaValType_XML_SCHEMAS_NMTOKEN : xmlSchemaValType = 18 ; pub const xmlSchemaValType_XML_SCHEMAS_NMTOKENS : xmlSchemaValType = 19 ; pub const xmlSchemaValType_XML_SCHEMAS_NAME : xmlSchemaValType = 20 ; pub const xmlSchemaValType_XML_SCHEMAS_QNAME : xmlSchemaValType = 21 ; pub const xmlSchemaValType_XML_SCHEMAS_NCNAME : xmlSchemaValType = 22 ; pub const xmlSchemaValType_XML_SCHEMAS_ID : xmlSchemaValType = 23 ; pub const xmlSchemaValType_XML_SCHEMAS_IDREF : xmlSchemaValType = 24 ; pub const xmlSchemaValType_XML_SCHEMAS_IDREFS : xmlSchemaValType = 25 ; pub const xmlSchemaValType_XML_SCHEMAS_ENTITY : xmlSchemaValType = 26 ; pub const xmlSchemaValType_XML_SCHEMAS_ENTITIES : xmlSchemaValType = 27 ; pub const xmlSchemaValType_XML_SCHEMAS_NOTATION : xmlSchemaValType = 28 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYURI : xmlSchemaValType = 29 ; pub const xmlSchemaValType_XML_SCHEMAS_INTEGER : xmlSchemaValType = 30 ; pub const xmlSchemaValType_XML_SCHEMAS_NPINTEGER : xmlSchemaValType = 31 ; pub const xmlSchemaValType_XML_SCHEMAS_NINTEGER : xmlSchemaValType = 32 ; pub const xmlSchemaValType_XML_SCHEMAS_NNINTEGER : xmlSchemaValType = 33 ; pub const xmlSchemaValType_XML_SCHEMAS_PINTEGER : xmlSchemaValType = 34 ; pub const xmlSchemaValType_XML_SCHEMAS_INT : xmlSchemaValType = 35 ; pub const xmlSchemaValType_XML_SCHEMAS_UINT : xmlSchemaValType = 36 ; pub const xmlSchemaValType_XML_SCHEMAS_LONG : xmlSchemaValType = 37 ; pub const xmlSchemaValType_XML_SCHEMAS_ULONG : xmlSchemaValType = 38 ; pub const xmlSchemaValType_XML_SCHEMAS_SHORT : xmlSchemaValType = 39 ; pub const xmlSchemaValType_XML_SCHEMAS_USHORT : xmlSchemaValType = 40 ; pub const xmlSchemaValType_XML_SCHEMAS_BYTE : xmlSchemaValType = 41 ; pub const xmlSchemaValType_XML_SCHEMAS_UBYTE : xmlSchemaValType = 42 ; pub const xmlSchemaValType_XML_SCHEMAS_HEXBINARY : xmlSchemaValType = 43 ; pub const xmlSchemaValType_XML_SCHEMAS_BASE64BINARY : xmlSchemaValType = 44 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYTYPE : xmlSchemaValType = 45 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYSIMPLETYPE : xmlSchemaValType = 46 ; # [doc = " Schema value type"] pub type xmlSchemaValType = :: std :: os :: raw :: c_uint ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_BASIC : xmlSchemaTypeType = 1 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ANY : xmlSchemaTypeType = 2 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_FACET : xmlSchemaTypeType = 3 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SIMPLE : xmlSchemaTypeType = 4 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_COMPLEX : xmlSchemaTypeType = 5 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SEQUENCE : xmlSchemaTypeType = 6 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_CHOICE : xmlSchemaTypeType = 7 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ALL : xmlSchemaTypeType = 8 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SIMPLE_CONTENT : xmlSchemaTypeType = 9 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_COMPLEX_CONTENT : xmlSchemaTypeType = 10 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_UR : xmlSchemaTypeType = 11 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_RESTRICTION : xmlSchemaTypeType = 12 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_EXTENSION : xmlSchemaTypeType = 13 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ELEMENT : xmlSchemaTypeType = 14 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTE : xmlSchemaTypeType = 15 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTEGROUP : xmlSchemaTypeType = 16 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_GROUP : xmlSchemaTypeType = 17 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_NOTATION : xmlSchemaTypeType = 18 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_LIST : xmlSchemaTypeType = 19 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_UNION : xmlSchemaTypeType = 20 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ANY_ATTRIBUTE : xmlSchemaTypeType = 21 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_UNIQUE : xmlSchemaTypeType = 22 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_KEY : xmlSchemaTypeType = 23 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_KEYREF : xmlSchemaTypeType = 24 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_PARTICLE : xmlSchemaTypeType = 25 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTE_USE : xmlSchemaTypeType = 26 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MININCLUSIVE : xmlSchemaTypeType = 1000 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MINEXCLUSIVE : xmlSchemaTypeType = 1001 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXINCLUSIVE : xmlSchemaTypeType = 1002 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXEXCLUSIVE : xmlSchemaTypeType = 1003 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_TOTALDIGITS : xmlSchemaTypeType = 1004 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_FRACTIONDIGITS : xmlSchemaTypeType = 1005 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_PATTERN : xmlSchemaTypeType = 1006 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_ENUMERATION : xmlSchemaTypeType = 1007 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_WHITESPACE : xmlSchemaTypeType = 1008 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_LENGTH : xmlSchemaTypeType = 1009 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXLENGTH : xmlSchemaTypeType = 1010 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MINLENGTH : xmlSchemaTypeType = 1011 ; pub const xmlSchemaTypeType_XML_SCHEMA_EXTRA_QNAMEREF : xmlSchemaTypeType = 2000 ; pub const xmlSchemaTypeType_XML_SCHEMA_EXTRA_ATTR_USE_PROHIB : xmlSchemaTypeType = 2001 ; # [doc = " XML Schemas defines multiple type of types."] pub type xmlSchemaTypeType = :: std :: os :: raw :: c_uint ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_UNKNOWN : xmlSchemaContentType = 0 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_EMPTY : xmlSchemaContentType = 1 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_ELEMENTS : xmlSchemaContentType = 2 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_MIXED : xmlSchemaContentType = 3 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_SIMPLE : xmlSchemaContentType = 4 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_MIXED_OR_ELEMENTS : xmlSchemaContentType = 5 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_BASIC : xmlSchemaContentType = 6 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_ANY : xmlSchemaContentType = 7 ; # [doc = " Schema content type"] pub type xmlSchemaContentType = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaVal { _unused : [u8 ; 0] , } # [doc = " Schema value"] pub type xmlSchemaVal = _xmlSchemaVal ; pub type xmlSchemaValPtr = * mut xmlSchemaVal ; # [doc = " Schema type"] pub type xmlSchemaType = _xmlSchemaType ; pub type xmlSchemaTypePtr = * mut xmlSchemaType ; # [doc = " Schema facet"] pub type xmlSchemaFacet = _xmlSchemaFacet ; pub type xmlSchemaFacetPtr = * mut xmlSchemaFacet ; # [doc = " Schema annotation"] pub type xmlSchemaAnnot = _xmlSchemaAnnot ; pub type xmlSchemaAnnotPtr = * mut xmlSchemaAnnot ; # [doc = " Annotation"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAnnot { pub next : * mut _xmlSchemaAnnot , pub content : * mut xmlNode , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAnnot"] [:: std :: mem :: size_of :: < _xmlSchemaAnnot > () - 16usize] ; ["Alignment of _xmlSchemaAnnot"] [:: std :: mem :: align_of :: < _xmlSchemaAnnot > () - 8usize] ; ["Offset of field: _xmlSchemaAnnot::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAnnot , next) - 0usize] ; ["Offset of field: _xmlSchemaAnnot::content"] [:: std :: mem :: offset_of ! (_xmlSchemaAnnot , content) - 8usize] ; } ; # [doc = " Schema attribute definition"] pub type xmlSchemaAttribute = _xmlSchemaAttribute ; pub type xmlSchemaAttributePtr = * mut xmlSchemaAttribute ; # [doc = " An attribute definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttribute { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaAttribute , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub typeName : * const xmlChar , pub typeNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub base : * mut xmlSchemaType , pub occurs : :: std :: os :: raw :: c_int , pub defValue : * const xmlChar , pub subtypes : * mut xmlSchemaType , pub node : * mut xmlNode , pub targetNamespace : * const xmlChar , pub flags : :: std :: os :: raw :: c_int , pub refPrefix : * const xmlChar , pub defVal : * mut xmlSchemaVal , pub refDecl : * mut xmlSchemaAttribute , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttribute"] [:: std :: mem :: size_of :: < _xmlSchemaAttribute > () - 152usize] ; ["Alignment of _xmlSchemaAttribute"] [:: std :: mem :: align_of :: < _xmlSchemaAttribute > () - 8usize] ; ["Offset of field: _xmlSchemaAttribute::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , type_) - 0usize] ; ["Offset of field: _xmlSchemaAttribute::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , next) - 8usize] ; ["Offset of field: _xmlSchemaAttribute::name"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , name) - 16usize] ; ["Offset of field: _xmlSchemaAttribute::id"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , id) - 24usize] ; ["Offset of field: _xmlSchemaAttribute::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , ref_) - 32usize] ; ["Offset of field: _xmlSchemaAttribute::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refNs) - 40usize] ; ["Offset of field: _xmlSchemaAttribute::typeName"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , typeName) - 48usize] ; ["Offset of field: _xmlSchemaAttribute::typeNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , typeNs) - 56usize] ; ["Offset of field: _xmlSchemaAttribute::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , annot) - 64usize] ; ["Offset of field: _xmlSchemaAttribute::base"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , base) - 72usize] ; ["Offset of field: _xmlSchemaAttribute::occurs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , occurs) - 80usize] ; ["Offset of field: _xmlSchemaAttribute::defValue"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , defValue) - 88usize] ; ["Offset of field: _xmlSchemaAttribute::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , subtypes) - 96usize] ; ["Offset of field: _xmlSchemaAttribute::node"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , node) - 104usize] ; ["Offset of field: _xmlSchemaAttribute::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , targetNamespace) - 112usize] ; ["Offset of field: _xmlSchemaAttribute::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , flags) - 120usize] ; ["Offset of field: _xmlSchemaAttribute::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refPrefix) - 128usize] ; ["Offset of field: _xmlSchemaAttribute::defVal"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , defVal) - 136usize] ; ["Offset of field: _xmlSchemaAttribute::refDecl"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refDecl) - 144usize] ; } ; # [doc = " Linked list of schema attributes"] pub type xmlSchemaAttributeLink = _xmlSchemaAttributeLink ; pub type xmlSchemaAttributeLinkPtr = * mut xmlSchemaAttributeLink ; # [doc = " Used to build a list of attribute uses on complexType definitions.\n WARNING: Deprecated; not used."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttributeLink { pub next : * mut _xmlSchemaAttributeLink , pub attr : * mut _xmlSchemaAttribute , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttributeLink"] [:: std :: mem :: size_of :: < _xmlSchemaAttributeLink > () - 16usize] ; ["Alignment of _xmlSchemaAttributeLink"] [:: std :: mem :: align_of :: < _xmlSchemaAttributeLink > () - 8usize] ; ["Offset of field: _xmlSchemaAttributeLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeLink , next) - 0usize] ; ["Offset of field: _xmlSchemaAttributeLink::attr"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeLink , attr) - 8usize] ; } ; # [doc = " Namespace wildcard"] pub type xmlSchemaWildcardNs = _xmlSchemaWildcardNs ; pub type xmlSchemaWildcardNsPtr = * mut xmlSchemaWildcardNs ; # [doc = " Used to build a list of namespaces on wildcards."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaWildcardNs { pub next : * mut _xmlSchemaWildcardNs , pub value : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaWildcardNs"] [:: std :: mem :: size_of :: < _xmlSchemaWildcardNs > () - 16usize] ; ["Alignment of _xmlSchemaWildcardNs"] [:: std :: mem :: align_of :: < _xmlSchemaWildcardNs > () - 8usize] ; ["Offset of field: _xmlSchemaWildcardNs::next"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcardNs , next) - 0usize] ; ["Offset of field: _xmlSchemaWildcardNs::value"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcardNs , value) - 8usize] ; } ; # [doc = " Name wildcard"] pub type xmlSchemaWildcard = _xmlSchemaWildcard ; pub type xmlSchemaWildcardPtr = * mut xmlSchemaWildcard ; # [doc = " A wildcard."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaWildcard { pub type_ : xmlSchemaTypeType , pub id : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub processContents : :: std :: os :: raw :: c_int , pub any : :: std :: os :: raw :: c_int , pub nsSet : * mut xmlSchemaWildcardNs , pub negNsSet : * mut xmlSchemaWildcardNs , pub flags : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaWildcard"] [:: std :: mem :: size_of :: < _xmlSchemaWildcard > () - 72usize] ; ["Alignment of _xmlSchemaWildcard"] [:: std :: mem :: align_of :: < _xmlSchemaWildcard > () - 8usize] ; ["Offset of field: _xmlSchemaWildcard::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , type_) - 0usize] ; ["Offset of field: _xmlSchemaWildcard::id"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , id) - 8usize] ; ["Offset of field: _xmlSchemaWildcard::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , annot) - 16usize] ; ["Offset of field: _xmlSchemaWildcard::node"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , node) - 24usize] ; ["Offset of field: _xmlSchemaWildcard::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , minOccurs) - 32usize] ; ["Offset of field: _xmlSchemaWildcard::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , maxOccurs) - 36usize] ; ["Offset of field: _xmlSchemaWildcard::processContents"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , processContents) - 40usize] ; ["Offset of field: _xmlSchemaWildcard::any"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , any) - 44usize] ; ["Offset of field: _xmlSchemaWildcard::nsSet"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , nsSet) - 48usize] ; ["Offset of field: _xmlSchemaWildcard::negNsSet"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , negNsSet) - 56usize] ; ["Offset of field: _xmlSchemaWildcard::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , flags) - 64usize] ; } ; # [doc = " Attribute group"] pub type xmlSchemaAttributeGroup = _xmlSchemaAttributeGroup ; pub type xmlSchemaAttributeGroupPtr = * mut xmlSchemaAttributeGroup ; # [doc = " An attribute group definition.\n\n xmlSchemaAttribute and xmlSchemaAttributeGroup start of structures\n must be kept similar"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttributeGroup { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaAttribute , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub flags : :: std :: os :: raw :: c_int , pub attributeWildcard : * mut xmlSchemaWildcard , pub refPrefix : * const xmlChar , pub refItem : * mut xmlSchemaAttributeGroup , pub targetNamespace : * const xmlChar , pub attrUses : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttributeGroup"] [:: std :: mem :: size_of :: < _xmlSchemaAttributeGroup > () - 120usize] ; ["Alignment of _xmlSchemaAttributeGroup"] [:: std :: mem :: align_of :: < _xmlSchemaAttributeGroup > () - 8usize] ; ["Offset of field: _xmlSchemaAttributeGroup::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , type_) - 0usize] ; ["Offset of field: _xmlSchemaAttributeGroup::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , next) - 8usize] ; ["Offset of field: _xmlSchemaAttributeGroup::name"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , name) - 16usize] ; ["Offset of field: _xmlSchemaAttributeGroup::id"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , id) - 24usize] ; ["Offset of field: _xmlSchemaAttributeGroup::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , ref_) - 32usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refNs) - 40usize] ; ["Offset of field: _xmlSchemaAttributeGroup::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , annot) - 48usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attributes) - 56usize] ; ["Offset of field: _xmlSchemaAttributeGroup::node"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , node) - 64usize] ; ["Offset of field: _xmlSchemaAttributeGroup::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , flags) - 72usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attributeWildcard"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attributeWildcard) - 80usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refPrefix) - 88usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refItem"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refItem) - 96usize] ; ["Offset of field: _xmlSchemaAttributeGroup::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , targetNamespace) - 104usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attrUses"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attrUses) - 112usize] ; } ; # [doc = " Linked list of schema types"] pub type xmlSchemaTypeLink = _xmlSchemaTypeLink ; pub type xmlSchemaTypeLinkPtr = * mut xmlSchemaTypeLink ; # [doc = " Used to build a list of types (e.g. member types of\n simpleType with variety \"union\")."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaTypeLink { pub next : * mut _xmlSchemaTypeLink , pub type_ : * mut xmlSchemaType , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaTypeLink"] [:: std :: mem :: size_of :: < _xmlSchemaTypeLink > () - 16usize] ; ["Alignment of _xmlSchemaTypeLink"] [:: std :: mem :: align_of :: < _xmlSchemaTypeLink > () - 8usize] ; ["Offset of field: _xmlSchemaTypeLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaTypeLink , next) - 0usize] ; ["Offset of field: _xmlSchemaTypeLink::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaTypeLink , type_) - 8usize] ; } ; # [doc = " Linked list of schema facets"] pub type xmlSchemaFacetLink = _xmlSchemaFacetLink ; pub type xmlSchemaFacetLinkPtr = * mut xmlSchemaFacetLink ; # [doc = " Used to build a list of facets."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaFacetLink { pub next : * mut _xmlSchemaFacetLink , pub facet : * mut xmlSchemaFacet , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaFacetLink"] [:: std :: mem :: size_of :: < _xmlSchemaFacetLink > () - 16usize] ; ["Alignment of _xmlSchemaFacetLink"] [:: std :: mem :: align_of :: < _xmlSchemaFacetLink > () - 8usize] ; ["Offset of field: _xmlSchemaFacetLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaFacetLink , next) - 0usize] ; ["Offset of field: _xmlSchemaFacetLink::facet"] [:: std :: mem :: offset_of ! (_xmlSchemaFacetLink , facet) - 8usize] ; } ; # [doc = " Schemas type definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaType { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaType , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub subtypes : * mut xmlSchemaType , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub flags : :: std :: os :: raw :: c_int , pub contentType : xmlSchemaContentType , pub base : * const xmlChar , pub baseNs : * const xmlChar , pub baseType : * mut xmlSchemaType , pub facets : * mut xmlSchemaFacet , pub redef : * mut _xmlSchemaType , pub recurse : :: std :: os :: raw :: c_int , pub attributeUses : * mut * mut xmlSchemaAttributeLink , pub attributeWildcard : * mut xmlSchemaWildcard , pub builtInType : :: std :: os :: raw :: c_int , pub memberTypes : * mut xmlSchemaTypeLink , pub facetSet : * mut xmlSchemaFacetLink , pub refPrefix : * const xmlChar , pub contentTypeDef : * mut xmlSchemaType , pub contModel : * mut xmlRegexp , pub targetNamespace : * const xmlChar , pub attrUses : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaType"] [:: std :: mem :: size_of :: < _xmlSchemaType > () - 224usize] ; ["Alignment of _xmlSchemaType"] [:: std :: mem :: align_of :: < _xmlSchemaType > () - 8usize] ; ["Offset of field: _xmlSchemaType::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaType , type_) - 0usize] ; ["Offset of field: _xmlSchemaType::next"] [:: std :: mem :: offset_of ! (_xmlSchemaType , next) - 8usize] ; ["Offset of field: _xmlSchemaType::name"] [:: std :: mem :: offset_of ! (_xmlSchemaType , name) - 16usize] ; ["Offset of field: _xmlSchemaType::id"] [:: std :: mem :: offset_of ! (_xmlSchemaType , id) - 24usize] ; ["Offset of field: _xmlSchemaType::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaType , ref_) - 32usize] ; ["Offset of field: _xmlSchemaType::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , refNs) - 40usize] ; ["Offset of field: _xmlSchemaType::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaType , annot) - 48usize] ; ["Offset of field: _xmlSchemaType::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , subtypes) - 56usize] ; ["Offset of field: _xmlSchemaType::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributes) - 64usize] ; ["Offset of field: _xmlSchemaType::node"] [:: std :: mem :: offset_of ! (_xmlSchemaType , node) - 72usize] ; ["Offset of field: _xmlSchemaType::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , minOccurs) - 80usize] ; ["Offset of field: _xmlSchemaType::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , maxOccurs) - 84usize] ; ["Offset of field: _xmlSchemaType::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaType , flags) - 88usize] ; ["Offset of field: _xmlSchemaType::contentType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contentType) - 92usize] ; ["Offset of field: _xmlSchemaType::base"] [:: std :: mem :: offset_of ! (_xmlSchemaType , base) - 96usize] ; ["Offset of field: _xmlSchemaType::baseNs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , baseNs) - 104usize] ; ["Offset of field: _xmlSchemaType::baseType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , baseType) - 112usize] ; ["Offset of field: _xmlSchemaType::facets"] [:: std :: mem :: offset_of ! (_xmlSchemaType , facets) - 120usize] ; ["Offset of field: _xmlSchemaType::redef"] [:: std :: mem :: offset_of ! (_xmlSchemaType , redef) - 128usize] ; ["Offset of field: _xmlSchemaType::recurse"] [:: std :: mem :: offset_of ! (_xmlSchemaType , recurse) - 136usize] ; ["Offset of field: _xmlSchemaType::attributeUses"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributeUses) - 144usize] ; ["Offset of field: _xmlSchemaType::attributeWildcard"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributeWildcard) - 152usize] ; ["Offset of field: _xmlSchemaType::builtInType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , builtInType) - 160usize] ; ["Offset of field: _xmlSchemaType::memberTypes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , memberTypes) - 168usize] ; ["Offset of field: _xmlSchemaType::facetSet"] [:: std :: mem :: offset_of ! (_xmlSchemaType , facetSet) - 176usize] ; ["Offset of field: _xmlSchemaType::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaType , refPrefix) - 184usize] ; ["Offset of field: _xmlSchemaType::contentTypeDef"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contentTypeDef) - 192usize] ; ["Offset of field: _xmlSchemaType::contModel"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contModel) - 200usize] ; ["Offset of field: _xmlSchemaType::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaType , targetNamespace) - 208usize] ; ["Offset of field: _xmlSchemaType::attrUses"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attrUses) - 216usize] ; } ; # [doc = " Schema element definition"] pub type xmlSchemaElement = _xmlSchemaElement ; pub type xmlSchemaElementPtr = * mut xmlSchemaElement ; # [doc = " An element definition.\n\n xmlSchemaType, xmlSchemaFacet and xmlSchemaElement start of\n structures must be kept similar"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaElement { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaType , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub subtypes : * mut xmlSchemaType , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub flags : :: std :: os :: raw :: c_int , pub targetNamespace : * const xmlChar , pub namedType : * const xmlChar , pub namedTypeNs : * const xmlChar , pub substGroup : * const xmlChar , pub substGroupNs : * const xmlChar , pub scope : * const xmlChar , pub value : * const xmlChar , pub refDecl : * mut _xmlSchemaElement , pub contModel : * mut xmlRegexp , pub contentType : xmlSchemaContentType , pub refPrefix : * const xmlChar , pub defVal : * mut xmlSchemaVal , pub idcs : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaElement"] [:: std :: mem :: size_of :: < _xmlSchemaElement > () - 200usize] ; ["Alignment of _xmlSchemaElement"] [:: std :: mem :: align_of :: < _xmlSchemaElement > () - 8usize] ; ["Offset of field: _xmlSchemaElement::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , type_) - 0usize] ; ["Offset of field: _xmlSchemaElement::next"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , next) - 8usize] ; ["Offset of field: _xmlSchemaElement::name"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , name) - 16usize] ; ["Offset of field: _xmlSchemaElement::id"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , id) - 24usize] ; ["Offset of field: _xmlSchemaElement::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , ref_) - 32usize] ; ["Offset of field: _xmlSchemaElement::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refNs) - 40usize] ; ["Offset of field: _xmlSchemaElement::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , annot) - 48usize] ; ["Offset of field: _xmlSchemaElement::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , subtypes) - 56usize] ; ["Offset of field: _xmlSchemaElement::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , attributes) - 64usize] ; ["Offset of field: _xmlSchemaElement::node"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , node) - 72usize] ; ["Offset of field: _xmlSchemaElement::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , minOccurs) - 80usize] ; ["Offset of field: _xmlSchemaElement::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , maxOccurs) - 84usize] ; ["Offset of field: _xmlSchemaElement::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , flags) - 88usize] ; ["Offset of field: _xmlSchemaElement::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , targetNamespace) - 96usize] ; ["Offset of field: _xmlSchemaElement::namedType"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , namedType) - 104usize] ; ["Offset of field: _xmlSchemaElement::namedTypeNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , namedTypeNs) - 112usize] ; ["Offset of field: _xmlSchemaElement::substGroup"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , substGroup) - 120usize] ; ["Offset of field: _xmlSchemaElement::substGroupNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , substGroupNs) - 128usize] ; ["Offset of field: _xmlSchemaElement::scope"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , scope) - 136usize] ; ["Offset of field: _xmlSchemaElement::value"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , value) - 144usize] ; ["Offset of field: _xmlSchemaElement::refDecl"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refDecl) - 152usize] ; ["Offset of field: _xmlSchemaElement::contModel"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , contModel) - 160usize] ; ["Offset of field: _xmlSchemaElement::contentType"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , contentType) - 168usize] ; ["Offset of field: _xmlSchemaElement::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refPrefix) - 176usize] ; ["Offset of field: _xmlSchemaElement::defVal"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , defVal) - 184usize] ; ["Offset of field: _xmlSchemaElement::idcs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , idcs) - 192usize] ; } ; # [doc = " A facet definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaFacet { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaFacet , pub value : * const xmlChar , pub id : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub node : * mut xmlNode , pub fixed : :: std :: os :: raw :: c_int , pub whitespace : :: std :: os :: raw :: c_int , pub val : * mut xmlSchemaVal , pub regexp : * mut xmlRegexp , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaFacet"] [:: std :: mem :: size_of :: < _xmlSchemaFacet > () - 72usize] ; ["Alignment of _xmlSchemaFacet"] [:: std :: mem :: align_of :: < _xmlSchemaFacet > () - 8usize] ; ["Offset of field: _xmlSchemaFacet::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , type_) - 0usize] ; ["Offset of field: _xmlSchemaFacet::next"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , next) - 8usize] ; ["Offset of field: _xmlSchemaFacet::value"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , value) - 16usize] ; ["Offset of field: _xmlSchemaFacet::id"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , id) - 24usize] ; ["Offset of field: _xmlSchemaFacet::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , annot) - 32usize] ; ["Offset of field: _xmlSchemaFacet::node"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , node) - 40usize] ; ["Offset of field: _xmlSchemaFacet::fixed"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , fixed) - 48usize] ; ["Offset of field: _xmlSchemaFacet::whitespace"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , whitespace) - 52usize] ; ["Offset of field: _xmlSchemaFacet::val"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , val) - 56usize] ; ["Offset of field: _xmlSchemaFacet::regexp"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , regexp) - 64usize] ; } ; # [doc = " Schema notation"] pub type xmlSchemaNotation = _xmlSchemaNotation ; pub type xmlSchemaNotationPtr = * mut xmlSchemaNotation ; # [doc = " A notation definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaNotation { pub type_ : xmlSchemaTypeType , pub name : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub identifier : * const xmlChar , pub targetNamespace : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaNotation"] [:: std :: mem :: size_of :: < _xmlSchemaNotation > () - 40usize] ; ["Alignment of _xmlSchemaNotation"] [:: std :: mem :: align_of :: < _xmlSchemaNotation > () - 8usize] ; ["Offset of field: _xmlSchemaNotation::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , type_) - 0usize] ; ["Offset of field: _xmlSchemaNotation::name"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , name) - 8usize] ; ["Offset of field: _xmlSchemaNotation::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , annot) - 16usize] ; ["Offset of field: _xmlSchemaNotation::identifier"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , identifier) - 24usize] ; ["Offset of field: _xmlSchemaNotation::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , targetNamespace) - 32usize] ; } ; # [doc = " A Schemas definition"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchema { pub name : * const xmlChar , pub targetNamespace : * const xmlChar , pub version : * const xmlChar , pub id : * const xmlChar , pub doc : * mut xmlDoc , pub annot : * mut xmlSchemaAnnot , pub flags : :: std :: os :: raw :: c_int , pub typeDecl : * mut xmlHashTable , pub attrDecl : * mut xmlHashTable , pub attrgrpDecl : * mut xmlHashTable , pub elemDecl : * mut xmlHashTable , pub notaDecl : * mut xmlHashTable , pub schemasImports : * mut xmlHashTable , pub _private : * mut :: std :: os :: raw :: c_void , pub groupDecl : * mut xmlHashTable , pub dict : * mut xmlDict , pub includes : * mut :: std :: os :: raw :: c_void , pub preserve : :: std :: os :: raw :: c_int , pub counter : :: std :: os :: raw :: c_int , pub idcDef : * mut xmlHashTable , pub volatiles : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchema"] [:: std :: mem :: size_of :: < _xmlSchema > () - 160usize] ; ["Alignment of _xmlSchema"] [:: std :: mem :: align_of :: < _xmlSchema > () - 8usize] ; ["Offset of field: _xmlSchema::name"] [:: std :: mem :: offset_of ! (_xmlSchema , name) - 0usize] ; ["Offset of field: _xmlSchema::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchema , targetNamespace) - 8usize] ; ["Offset of field: _xmlSchema::version"] [:: std :: mem :: offset_of ! (_xmlSchema , version) - 16usize] ; ["Offset of field: _xmlSchema::id"] [:: std :: mem :: offset_of ! (_xmlSchema , id) - 24usize] ; ["Offset of field: _xmlSchema::doc"] [:: std :: mem :: offset_of ! (_xmlSchema , doc) - 32usize] ; ["Offset of field: _xmlSchema::annot"] [:: std :: mem :: offset_of ! (_xmlSchema , annot) - 40usize] ; ["Offset of field: _xmlSchema::flags"] [:: std :: mem :: offset_of ! (_xmlSchema , flags) - 48usize] ; ["Offset of field: _xmlSchema::typeDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , typeDecl) - 56usize] ; ["Offset of field: _xmlSchema::attrDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , attrDecl) - 64usize] ; ["Offset of field: _xmlSchema::attrgrpDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , attrgrpDecl) - 72usize] ; ["Offset of field: _xmlSchema::elemDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , elemDecl) - 80usize] ; ["Offset of field: _xmlSchema::notaDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , notaDecl) - 88usize] ; ["Offset of field: _xmlSchema::schemasImports"] [:: std :: mem :: offset_of ! (_xmlSchema , schemasImports) - 96usize] ; ["Offset of field: _xmlSchema::_private"] [:: std :: mem :: offset_of ! (_xmlSchema , _private) - 104usize] ; ["Offset of field: _xmlSchema::groupDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , groupDecl) - 112usize] ; ["Offset of field: _xmlSchema::dict"] [:: std :: mem :: offset_of ! (_xmlSchema , dict) - 120usize] ; ["Offset of field: _xmlSchema::includes"] [:: std :: mem :: offset_of ! (_xmlSchema , includes) - 128usize] ; ["Offset of field: _xmlSchema::preserve"] [:: std :: mem :: offset_of ! (_xmlSchema , preserve) - 136usize] ; ["Offset of field: _xmlSchema::counter"] [:: std :: mem :: offset_of ! (_xmlSchema , counter) - 140usize] ; ["Offset of field: _xmlSchema::idcDef"] [:: std :: mem :: offset_of ! (_xmlSchema , idcDef) - 144usize] ; ["Offset of field: _xmlSchema::volatiles"] [:: std :: mem :: offset_of ! (_xmlSchema , volatiles) - 152usize] ; } ; unsafe extern "C" { pub fn xmlSchemaFreeType (type_ : * mut xmlSchemaType) ; } unsafe extern "C" { pub fn xmlSchemaFreeWildcard (wildcard : * mut xmlSchemaWildcard) ; } pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_UNKNOWN : xmlSchemaWhitespaceValueType = 0 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_PRESERVE : xmlSchemaWhitespaceValueType = 1 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_REPLACE : xmlSchemaWhitespaceValueType = 2 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_COLLAPSE : xmlSchemaWhitespaceValueType = 3 ; # [doc = " Schema whitespace value type"] pub type xmlSchemaWhitespaceValueType = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlSchemaInitTypes () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCleanupTypes () ; } unsafe extern "C" { pub fn xmlSchemaGetPredefinedType (name : * const xmlChar , ns : * const xmlChar) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaValidatePredefinedType (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValPredefTypeNode (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal , node : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFacet (base : * mut xmlSchemaType , facet : * mut xmlSchemaFacet , value : * const xmlChar , val : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFacetWhtsp (facet : * mut xmlSchemaFacet , fws : xmlSchemaWhitespaceValueType , valType : xmlSchemaValType , value : * const xmlChar , val : * mut xmlSchemaVal , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaFreeValue (val : * mut xmlSchemaVal) ; } unsafe extern "C" { pub fn xmlSchemaNewFacet () -> * mut xmlSchemaFacet ; } unsafe extern "C" { pub fn xmlSchemaCheckFacet (facet : * mut xmlSchemaFacet , typeDecl : * mut xmlSchemaType , ctxt : * mut xmlSchemaParserCtxt , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaFreeFacet (facet : * mut xmlSchemaFacet) ; } unsafe extern "C" { pub fn xmlSchemaCompareValues (x : * mut xmlSchemaVal , y : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetBuiltInListSimpleTypeItemType (type_ : * mut xmlSchemaType) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaValidateListSimpleTypeFacet (facet : * mut xmlSchemaFacet , value : * const xmlChar , actualLen : :: std :: os :: raw :: c_ulong , expectedLen : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetBuiltInType (type_ : xmlSchemaValType) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaIsBuiltInTypeFacet (type_ : * mut xmlSchemaType , facetType : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCollapseString (value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSchemaWhiteSpaceReplace (value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSchemaGetFacetValueAsULong (facet : * mut xmlSchemaFacet) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlSchemaValidateLengthFacet (type_ : * mut xmlSchemaType , facet : * mut xmlSchemaFacet , value : * const xmlChar , val : * mut xmlSchemaVal , length : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateLengthFacetWhtsp (facet : * mut xmlSchemaFacet , valType : xmlSchemaValType , value : * const xmlChar , val : * mut xmlSchemaVal , length : * mut :: std :: os :: raw :: c_ulong , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValPredefTypeNodeNoNorm (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal , node : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetCanonValue (val : * mut xmlSchemaVal , retValue : * mut * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetCanonValueWhtsp (val : * mut xmlSchemaVal , retValue : * mut * const xmlChar , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValueAppend (prev : * mut xmlSchemaVal , cur : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValueGetNext (cur : * mut xmlSchemaVal) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaValueGetAsString (val : * mut xmlSchemaVal) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSchemaValueGetAsBoolean (val : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaNewStringValue (type_ : xmlSchemaValType , value : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaNewNOTATIONValue (name : * const xmlChar , ns : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaNewQNameValue (namespaceName : * const xmlChar , localName : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaCompareValuesWhtsp (x : * mut xmlSchemaVal , xws : xmlSchemaWhitespaceValueType , y : * mut xmlSchemaVal , yws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCopyValue (val : * mut xmlSchemaVal) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaGetValType (val : * mut xmlSchemaVal) -> xmlSchemaValType ; } pub type __builtin_va_list = [__va_list_tag ; 1usize] ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __va_list_tag { pub gp_offset : :: std :: os :: raw :: c_uint , pub fp_offset : :: std :: os :: raw :: c_uint , pub overflow_arg_area : * mut :: std :: os :: raw :: c_void , pub reg_save_area : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __va_list_tag"] [:: std :: mem :: size_of :: < __va_list_tag > () - 24usize] ; ["Alignment of __va_list_tag"] [:: std :: mem :: align_of :: < __va_list_tag > () - 8usize] ; ["Offset of field: __va_list_tag::gp_offset"] [:: std :: mem :: offset_of ! (__va_list_tag , gp_offset) - 0usize] ; ["Offset of field: __va_list_tag::fp_offset"] [:: std :: mem :: offset_of ! (__va_list_tag , fp_offset) - 4usize] ; ["Offset of field: __va_list_tag::overflow_arg_area"] [:: std :: mem :: offset_of ! (__va_list_tag , overflow_arg_area) - 8usize] ; ["Offset of field: __va_list_tag::reg_save_area"] [:: std :: mem :: offset_of ! (__va_list_tag , reg_save_area) - 16usize] ; } ; # [doc = " dict used to allocate names if any"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDict { pub _address : u8 , }
[INFO] [stdout] 3 + # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] fn extract_bit (byte : u8 , index : usize) -> bool { let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; Self :: extract_bit (byte , index) } # [inline] pub unsafe fn raw_get_bit (this : * const Self , index : usize) -> bool { debug_assert ! (index / 8 < core :: mem :: size_of ::< Storage > ()) ; let byte_index = index / 8 ; let byte = unsafe { * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) } ; Self :: extract_bit (byte , index) } # [inline] fn change_bit (byte : u8 , index : usize , val : bool) -> u8 { let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { byte | mask } else { byte & ! mask } } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; * byte = Self :: change_bit (* byte , index , val) ; } # [inline] pub unsafe fn raw_set_bit (this : * mut Self , index : usize , val : bool) { debug_assert ! (index / 8 < core :: mem :: size_of ::< Storage > ()) ; let byte_index = index / 8 ; let byte = unsafe { (core :: ptr :: addr_of_mut ! ((* this) . storage) as * mut u8) . offset (byte_index as isize) } ; unsafe { * byte = Self :: change_bit (* byte , index , val) } ; } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub unsafe fn raw_get (this : * const Self , bit_offset : usize , bit_width : u8 ,) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < core :: mem :: size_of ::< Storage > ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= core :: mem :: size_of ::< Storage > ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if unsafe { Self :: raw_get_bit (this , i + bit_offset) } { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } # [inline] pub unsafe fn raw_set (this : * mut Self , bit_offset : usize , bit_width : u8 , val : u64 ,) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < core :: mem :: size_of ::< Storage > ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= core :: mem :: size_of ::< Storage > ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; unsafe { Self :: raw_set_bit (this , index + bit_offset , val_bit_is_set) } ; } } } # [derive (PartialEq , Copy , Clone , Hash , Debug , Default)] # [repr (C)] pub struct __BindgenComplex < T > { pub re : T , pub im : T } pub const LIBXML_DOTTED_VERSION : & [u8 ; 7] = b"2.15.2\0" ; pub const LIBXML_VERSION : u32 = 21502 ; pub const LIBXML_VERSION_STRING : & [u8 ; 6] = b"21502\0" ; pub const LIBXML_VERSION_EXTRA : & [u8 ; 1] = b"\0" ; pub const LIBXML_MODULE_EXTENSION : & [u8 ; 4] = b".so\0" ; pub const _STDIO_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2Y : u32 = 0 ; pub const __GLIBC_USE_ISOC23 : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 202405 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __USE_XOPEN2K24 : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_TIME_BITS64 : u32 = 1 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const __GLIBC_USE_C23_STRTOL : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 43 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C23 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C23 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _____fpos_t_defined : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _____fpos64_t_defined : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const __struct_FILE_defined : u32 = 1 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const __cookie_io_functions_t_defined : u32 = 1 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; pub const EOF : i32 = - 1 ; pub const SEEK_SET : u32 = 0 ; pub const SEEK_CUR : u32 = 1 ; pub const SEEK_END : u32 = 2 ; pub const P_tmpdir : & [u8 ; 5] = b"/tmp\0" ; pub const L_tmpnam : u32 = 20 ; pub const TMP_MAX : u32 = 238328 ; pub const _BITS_STDIO_LIM_H : u32 = 1 ; pub const FILENAME_MAX : u32 = 4096 ; pub const L_ctermid : u32 = 9 ; pub const FOPEN_MAX : u32 = 16 ; pub const __HAVE_FLOAT128 : u32 = 1 ; pub const __HAVE_DISTINCT_FLOAT128 : u32 = 1 ; pub const __HAVE_FLOAT64X : u32 = 1 ; pub const __HAVE_FLOAT64X_LONG_DOUBLE : u32 = 1 ; pub const __HAVE_FLOAT16 : u32 = 0 ; pub const __HAVE_FLOAT32 : u32 = 1 ; pub const __HAVE_FLOAT64 : u32 = 1 ; pub const __HAVE_FLOAT32X : u32 = 1 ; pub const __HAVE_FLOAT128X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT16 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT128X : u32 = 0 ; pub const __HAVE_FLOATN_NOT_TYPEDEF : u32 = 0 ; pub const _LIBC_LIMITS_H_ : u32 = 1 ; pub const MB_LEN_MAX : u32 = 16 ; pub const _BITS_POSIX1_LIM_H : u32 = 1 ; pub const _POSIX_AIO_LISTIO_MAX : u32 = 2 ; pub const _POSIX_AIO_MAX : u32 = 1 ; pub const _POSIX_ARG_MAX : u32 = 4096 ; pub const _POSIX_CHILD_MAX : u32 = 25 ; pub const _POSIX_DELAYTIMER_MAX : u32 = 32 ; pub const _POSIX_HOST_NAME_MAX : u32 = 255 ; pub const _POSIX_LINK_MAX : u32 = 8 ; pub const _POSIX_LOGIN_NAME_MAX : u32 = 9 ; pub const _POSIX_MAX_CANON : u32 = 255 ; pub const _POSIX_MAX_INPUT : u32 = 255 ; pub const _POSIX_MQ_OPEN_MAX : u32 = 8 ; pub const _POSIX_MQ_PRIO_MAX : u32 = 32 ; pub const _POSIX_NAME_MAX : u32 = 14 ; pub const _POSIX_NGROUPS_MAX : u32 = 8 ; pub const _POSIX_OPEN_MAX : u32 = 20 ; pub const _POSIX_PATH_MAX : u32 = 256 ; pub const _POSIX_PIPE_BUF : u32 = 512 ; pub const _POSIX_RE_DUP_MAX : u32 = 255 ; pub const _POSIX_RTSIG_MAX : u32 = 8 ; pub const _POSIX_SEM_NSEMS_MAX : u32 = 256 ; pub const _POSIX_SEM_VALUE_MAX : u32 = 32767 ; pub const _POSIX_SIGQUEUE_MAX : u32 = 32 ; pub const _POSIX_SSIZE_MAX : u32 = 32767 ; pub const _POSIX_STREAM_MAX : u32 = 8 ; pub const _POSIX_SYMLINK_MAX : u32 = 255 ; pub const _POSIX_SYMLOOP_MAX : u32 = 8 ; pub const _POSIX_TIMER_MAX : u32 = 32 ; pub const _POSIX_TTY_NAME_MAX : u32 = 9 ; pub const _POSIX_TZNAME_MAX : u32 = 6 ; pub const _POSIX_CLOCKRES_MIN : u32 = 20000000 ; pub const NR_OPEN : u32 = 1024 ; pub const NGROUPS_MAX : u32 = 65536 ; pub const ARG_MAX : u32 = 131072 ; pub const LINK_MAX : u32 = 127 ; pub const MAX_CANON : u32 = 255 ; pub const MAX_INPUT : u32 = 255 ; pub const NAME_MAX : u32 = 255 ; pub const PATH_MAX : u32 = 4096 ; pub const PIPE_BUF : u32 = 4096 ; pub const XATTR_NAME_MAX : u32 = 255 ; pub const XATTR_SIZE_MAX : u32 = 65536 ; pub const XATTR_LIST_MAX : u32 = 65536 ; pub const RTSIG_MAX : u32 = 32 ; pub const _POSIX_THREAD_KEYS_MAX : u32 = 128 ; pub const PTHREAD_KEYS_MAX : u32 = 1024 ; pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const PTHREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const _POSIX_THREAD_THREADS_MAX : u32 = 64 ; pub const AIO_PRIO_DELTA_MAX : u32 = 20 ; pub const PTHREAD_STACK_MIN : u32 = 16384 ; pub const DELAYTIMER_MAX : u32 = 2147483647 ; pub const TTY_NAME_MAX : u32 = 32 ; pub const LOGIN_NAME_MAX : u32 = 256 ; pub const HOST_NAME_MAX : u32 = 64 ; pub const MQ_PRIO_MAX : u32 = 32768 ; pub const SEM_VALUE_MAX : u32 = 2147483647 ; pub const _BITS_POSIX2_LIM_H : u32 = 1 ; pub const _POSIX2_BC_BASE_MAX : u32 = 99 ; pub const _POSIX2_BC_DIM_MAX : u32 = 2048 ; pub const _POSIX2_BC_SCALE_MAX : u32 = 99 ; pub const _POSIX2_BC_STRING_MAX : u32 = 1000 ; pub const _POSIX2_COLL_WEIGHTS_MAX : u32 = 2 ; pub const _POSIX2_EXPR_NEST_MAX : u32 = 32 ; pub const _POSIX2_LINE_MAX : u32 = 2048 ; pub const _POSIX2_RE_DUP_MAX : u32 = 255 ; pub const _POSIX2_CHARCLASS_NAME_MAX : u32 = 14 ; pub const BC_BASE_MAX : u32 = 99 ; pub const BC_DIM_MAX : u32 = 2048 ; pub const BC_SCALE_MAX : u32 = 99 ; pub const BC_STRING_MAX : u32 = 1000 ; pub const COLL_WEIGHTS_MAX : u32 = 255 ; pub const EXPR_NEST_MAX : u32 = 32 ; pub const LINE_MAX : u32 = 2048 ; pub const CHARCLASS_NAME_MAX : u32 = 2048 ; pub const RE_DUP_MAX : u32 = 32767 ; pub const xmlDefaultBufferSize : u32 = 4096 ; pub const XML_DOCB_DOCUMENT_NODE : u32 = 21 ; pub const XML_DEFAULT_VERSION : & [u8 ; 4] = b"1.0\0" ; pub const XML_DETECT_IDS : u32 = 2 ; pub const XML_COMPLETE_ATTRS : u32 = 4 ; pub const XML_SKIP_IDS : u32 = 8 ; pub const XML_SAX2_MAGIC : u32 = 3740122799 ; pub const XML_SCHEMAS_ANYATTR_SKIP : u32 = 1 ; pub const XML_SCHEMAS_ANYATTR_LAX : u32 = 2 ; pub const XML_SCHEMAS_ANYATTR_STRICT : u32 = 3 ; pub const XML_SCHEMAS_ANY_SKIP : u32 = 1 ; pub const XML_SCHEMAS_ANY_LAX : u32 = 2 ; pub const XML_SCHEMAS_ANY_STRICT : u32 = 3 ; pub const XML_SCHEMAS_ATTR_USE_PROHIBITED : u32 = 0 ; pub const XML_SCHEMAS_ATTR_USE_REQUIRED : u32 = 1 ; pub const XML_SCHEMAS_ATTR_USE_OPTIONAL : u32 = 2 ; pub const XML_SCHEMAS_ATTR_GLOBAL : u32 = 1 ; pub const XML_SCHEMAS_ATTR_NSDEFAULT : u32 = 128 ; pub const XML_SCHEMAS_ATTR_INTERNAL_RESOLVED : u32 = 256 ; pub const XML_SCHEMAS_ATTR_FIXED : u32 = 512 ; pub const XML_SCHEMAS_WILDCARD_COMPLETE : u32 = 1 ; pub const XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED : u32 = 1 ; pub const XML_SCHEMAS_ATTRGROUP_GLOBAL : u32 = 2 ; pub const XML_SCHEMAS_ATTRGROUP_MARKED : u32 = 4 ; pub const XML_SCHEMAS_ATTRGROUP_REDEFINED : u32 = 8 ; pub const XML_SCHEMAS_ATTRGROUP_HAS_REFS : u32 = 16 ; pub const XML_SCHEMAS_TYPE_MIXED : u32 = 1 ; pub const XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION : u32 = 2 ; pub const XML_SCHEMAS_TYPE_DERIVATION_METHOD_RESTRICTION : u32 = 4 ; pub const XML_SCHEMAS_TYPE_GLOBAL : u32 = 8 ; pub const XML_SCHEMAS_TYPE_OWNED_ATTR_WILDCARD : u32 = 16 ; pub const XML_SCHEMAS_TYPE_VARIETY_ABSENT : u32 = 32 ; pub const XML_SCHEMAS_TYPE_VARIETY_LIST : u32 = 64 ; pub const XML_SCHEMAS_TYPE_VARIETY_UNION : u32 = 128 ; pub const XML_SCHEMAS_TYPE_VARIETY_ATOMIC : u32 = 256 ; pub const XML_SCHEMAS_TYPE_FINAL_EXTENSION : u32 = 512 ; pub const XML_SCHEMAS_TYPE_FINAL_RESTRICTION : u32 = 1024 ; pub const XML_SCHEMAS_TYPE_FINAL_LIST : u32 = 2048 ; pub const XML_SCHEMAS_TYPE_FINAL_UNION : u32 = 4096 ; pub const XML_SCHEMAS_TYPE_FINAL_DEFAULT : u32 = 8192 ; pub const XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE : u32 = 16384 ; pub const XML_SCHEMAS_TYPE_MARKED : u32 = 65536 ; pub const XML_SCHEMAS_TYPE_BLOCK_DEFAULT : u32 = 131072 ; pub const XML_SCHEMAS_TYPE_BLOCK_EXTENSION : u32 = 262144 ; pub const XML_SCHEMAS_TYPE_BLOCK_RESTRICTION : u32 = 524288 ; pub const XML_SCHEMAS_TYPE_ABSTRACT : u32 = 1048576 ; pub const XML_SCHEMAS_TYPE_FACETSNEEDVALUE : u32 = 2097152 ; pub const XML_SCHEMAS_TYPE_INTERNAL_RESOLVED : u32 = 4194304 ; pub const XML_SCHEMAS_TYPE_INTERNAL_INVALID : u32 = 8388608 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_PRESERVE : u32 = 16777216 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_REPLACE : u32 = 33554432 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_COLLAPSE : u32 = 67108864 ; pub const XML_SCHEMAS_TYPE_HAS_FACETS : u32 = 134217728 ; pub const XML_SCHEMAS_TYPE_NORMVALUENEEDED : u32 = 268435456 ; pub const XML_SCHEMAS_TYPE_FIXUP_1 : u32 = 536870912 ; pub const XML_SCHEMAS_TYPE_REDEFINED : u32 = 1073741824 ; pub const XML_SCHEMAS_ELEM_NILLABLE : u32 = 1 ; pub const XML_SCHEMAS_ELEM_GLOBAL : u32 = 2 ; pub const XML_SCHEMAS_ELEM_DEFAULT : u32 = 4 ; pub const XML_SCHEMAS_ELEM_FIXED : u32 = 8 ; pub const XML_SCHEMAS_ELEM_ABSTRACT : u32 = 16 ; pub const XML_SCHEMAS_ELEM_TOPLEVEL : u32 = 32 ; pub const XML_SCHEMAS_ELEM_REF : u32 = 64 ; pub const XML_SCHEMAS_ELEM_NSDEFAULT : u32 = 128 ; pub const XML_SCHEMAS_ELEM_INTERNAL_RESOLVED : u32 = 256 ; pub const XML_SCHEMAS_ELEM_CIRCULAR : u32 = 512 ; pub const XML_SCHEMAS_ELEM_BLOCK_ABSENT : u32 = 1024 ; pub const XML_SCHEMAS_ELEM_BLOCK_EXTENSION : u32 = 2048 ; pub const XML_SCHEMAS_ELEM_BLOCK_RESTRICTION : u32 = 4096 ; pub const XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION : u32 = 8192 ; pub const XML_SCHEMAS_ELEM_FINAL_ABSENT : u32 = 16384 ; pub const XML_SCHEMAS_ELEM_FINAL_EXTENSION : u32 = 32768 ; pub const XML_SCHEMAS_ELEM_FINAL_RESTRICTION : u32 = 65536 ; pub const XML_SCHEMAS_ELEM_SUBST_GROUP_HEAD : u32 = 131072 ; pub const XML_SCHEMAS_ELEM_INTERNAL_CHECKED : u32 = 262144 ; pub const XML_SCHEMAS_FACET_UNKNOWN : u32 = 0 ; pub const XML_SCHEMAS_FACET_PRESERVE : u32 = 1 ; pub const XML_SCHEMAS_FACET_REPLACE : u32 = 2 ; pub const XML_SCHEMAS_FACET_COLLAPSE : u32 = 3 ; pub const XML_SCHEMAS_QUALIF_ELEM : u32 = 1 ; pub const XML_SCHEMAS_QUALIF_ATTR : u32 = 2 ; pub const XML_SCHEMAS_FINAL_DEFAULT_EXTENSION : u32 = 4 ; pub const XML_SCHEMAS_FINAL_DEFAULT_RESTRICTION : u32 = 8 ; pub const XML_SCHEMAS_FINAL_DEFAULT_LIST : u32 = 16 ; pub const XML_SCHEMAS_FINAL_DEFAULT_UNION : u32 = 32 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_EXTENSION : u32 = 64 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_RESTRICTION : u32 = 128 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_SUBSTITUTION : u32 = 256 ; pub const XML_SCHEMAS_INCLUDING_CONVERT_NS : u32 = 512 ; unsafe extern "C" { pub fn xmlCheckVersion (version : :: std :: os :: raw :: c_int) ; } pub type __gnuc_va_list = __builtin_va_list ; pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [:: std :: os :: raw :: c_int ; 2usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __fsid_t"] [:: std :: mem :: size_of :: < __fsid_t > () - 8usize] ; ["Alignment of __fsid_t"] [:: std :: mem :: align_of :: < __fsid_t > () - 4usize] ; ["Offset of field: __fsid_t::__val"] [:: std :: mem :: offset_of ! (__fsid_t , __val) - 0usize] ; } ; pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __suseconds64_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Copy , Clone)] pub struct __mbstate_t { pub __count : :: std :: os :: raw :: c_int , pub __value : __mbstate_t__bindgen_ty_1 , } # [repr (C)] # [derive (Copy , Clone)] pub union __mbstate_t__bindgen_ty_1 { pub __wch : :: std :: os :: raw :: c_uint , pub __wchb : [:: std :: os :: raw :: c_char ; 4usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __mbstate_t__bindgen_ty_1"] [:: std :: mem :: size_of :: < __mbstate_t__bindgen_ty_1 > () - 4usize] ; ["Alignment of __mbstate_t__bindgen_ty_1"] [:: std :: mem :: align_of :: < __mbstate_t__bindgen_ty_1 > () - 4usize] ; ["Offset of field: __mbstate_t__bindgen_ty_1::__wch"] [:: std :: mem :: offset_of ! (__mbstate_t__bindgen_ty_1 , __wch) - 0usize] ; ["Offset of field: __mbstate_t__bindgen_ty_1::__wchb"] [:: std :: mem :: offset_of ! (__mbstate_t__bindgen_ty_1 , __wchb) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __mbstate_t"] [:: std :: mem :: size_of :: < __mbstate_t > () - 8usize] ; ["Alignment of __mbstate_t"] [:: std :: mem :: align_of :: < __mbstate_t > () - 4usize] ; ["Offset of field: __mbstate_t::__count"] [:: std :: mem :: offset_of ! (__mbstate_t , __count) - 0usize] ; ["Offset of field: __mbstate_t::__value"] [:: std :: mem :: offset_of ! (__mbstate_t , __value) - 4usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos_t { pub __pos : __off_t , pub __state : __mbstate_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _G_fpos_t"] [:: std :: mem :: size_of :: < _G_fpos_t > () - 16usize] ; ["Alignment of _G_fpos_t"] [:: std :: mem :: align_of :: < _G_fpos_t > () - 8usize] ; ["Offset of field: _G_fpos_t::__pos"] [:: std :: mem :: offset_of ! (_G_fpos_t , __pos) - 0usize] ; ["Offset of field: _G_fpos_t::__state"] [:: std :: mem :: offset_of ! (_G_fpos_t , __state) - 8usize] ; } ; pub type __fpos_t = _G_fpos_t ; # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos64_t { pub __pos : __off64_t , pub __state : __mbstate_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _G_fpos64_t"] [:: std :: mem :: size_of :: < _G_fpos64_t > () - 16usize] ; ["Alignment of _G_fpos64_t"] [:: std :: mem :: align_of :: < _G_fpos64_t > () - 8usize] ; ["Offset of field: _G_fpos64_t::__pos"] [:: std :: mem :: offset_of ! (_G_fpos64_t , __pos) - 0usize] ; ["Offset of field: _G_fpos64_t::__state"] [:: std :: mem :: offset_of ! (_G_fpos64_t , __state) - 8usize] ; } ; pub type __fpos64_t = _G_fpos64_t ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: std :: os :: raw :: c_int , pub _IO_read_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_read_end : * mut :: std :: os :: raw :: c_char , pub _IO_read_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_write_end : * mut :: std :: os :: raw :: c_char , pub _IO_buf_base : * mut :: std :: os :: raw :: c_char , pub _IO_buf_end : * mut :: std :: os :: raw :: c_char , pub _IO_save_base : * mut :: std :: os :: raw :: c_char , pub _IO_backup_base : * mut :: std :: os :: raw :: c_char , pub _IO_save_end : * mut :: std :: os :: raw :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: std :: os :: raw :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: std :: os :: raw :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: std :: os :: raw :: c_ushort , pub _vtable_offset : :: std :: os :: raw :: c_schar , pub _shortbuf : [:: std :: os :: raw :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: std :: os :: raw :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: std :: os :: raw :: c_int , pub _unused3 : :: std :: os :: raw :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: std :: os :: raw :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: std :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: std :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: std :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: std :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: std :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: std :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: std :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: std :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: std :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: std :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: std :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: std :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: std :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: std :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: std :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: std :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: std :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: std :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: std :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: std :: os :: raw :: c_int { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: std :: os :: raw :: c_int) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub unsafe fn _flags2_raw (this : * const Self) -> :: std :: os :: raw :: c_int { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 3usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 0usize , 24u8 ,) as u32) } } # [inline] pub unsafe fn set__flags2_raw (this : * mut Self , val : :: std :: os :: raw :: c_int) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 3usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 0usize , 24u8 , val as u64 ,) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: std :: os :: raw :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { i32::cast_unsigned (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } pub type cookie_read_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_write_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_seek_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; pub type cookie_close_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_cookie_io_functions_t { pub read : cookie_read_function_t , pub write : cookie_write_function_t , pub seek : cookie_seek_function_t , pub close : cookie_close_function_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_cookie_io_functions_t"] [:: std :: mem :: size_of :: < _IO_cookie_io_functions_t > () - 32usize] ; ["Alignment of _IO_cookie_io_functions_t"] [:: std :: mem :: align_of :: < _IO_cookie_io_functions_t > () - 8usize] ; ["Offset of field: _IO_cookie_io_functions_t::read"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , read) - 0usize] ; ["Offset of field: _IO_cookie_io_functions_t::write"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , write) - 8usize] ; ["Offset of field: _IO_cookie_io_functions_t::seek"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , seek) - 16usize] ; ["Offset of field: _IO_cookie_io_functions_t::close"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , close) - 24usize] ; } ; pub type cookie_io_functions_t = _IO_cookie_io_functions_t ; pub type va_list = __gnuc_va_list ; pub type off_t = __off_t ; pub type fpos_t = __fpos_t ; unsafe extern "C" { pub static mut stdin : * mut FILE ; } unsafe extern "C" { pub static mut stdout : * mut FILE ; } unsafe extern "C" { pub static mut stderr : * mut FILE ; } unsafe extern "C" { pub fn remove (__filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn rename (__old : * const :: std :: os :: raw :: c_char , __new : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn renameat (__oldfd : :: std :: os :: raw :: c_int , __old : * const :: std :: os :: raw :: c_char , __newfd : :: std :: os :: raw :: c_int , __new : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fclose (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn tmpfile () -> * mut FILE ; } unsafe extern "C" { pub fn tmpnam (arg1 : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn tmpnam_r (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn tempnam (__dir : * const :: std :: os :: raw :: c_char , __pfx : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn fflush (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fflush_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn freopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> * mut FILE ; } unsafe extern "C" { pub fn fdopen (__fd : :: std :: os :: raw :: c_int , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn fopencookie (__magic_cookie : * mut :: std :: os :: raw :: c_void , __modes : * const :: std :: os :: raw :: c_char , __io_funcs : cookie_io_functions_t) -> * mut FILE ; } unsafe extern "C" { pub fn fmemopen (__s : * mut :: std :: os :: raw :: c_void , __len : usize , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn open_memstream (__bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize) -> * mut FILE ; } unsafe extern "C" { pub fn setbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn setvbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn setbuffer (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize) ; } unsafe extern "C" { pub fn setlinebuf (__stream : * mut FILE) ; } unsafe extern "C" { pub fn fprintf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn printf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn sprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vfprintf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vprintf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn snprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsnprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vasprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __f : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vdprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn dprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fscanf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn scanf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn sscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } pub type __cfloat128 = __BindgenComplex < u128 > ; pub type _Float128 = u128 ; pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = u128 ; unsafe extern "C" { # [link_name = "\u{1}__isoc99_fscanf"] pub fn fscanf1 (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_scanf"] pub fn scanf1 (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_sscanf"] pub fn sscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vfscanf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vscanf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vfscanf"] pub fn vfscanf1 (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vscanf"] pub fn vscanf1 (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vsscanf"] pub fn vsscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgetc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getchar () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getchar_unlocked () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgetc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fputc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putchar (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fputc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putchar_unlocked (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getw (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putw (__w : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgets (__s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn __getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn getline (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn fputs (__s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn puts (__s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ungetc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fread (__ptr : * mut :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __stream : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn fwrite (__ptr : * const :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __s : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn fread_unlocked (__ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } unsafe extern "C" { pub fn fwrite_unlocked (__ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } unsafe extern "C" { pub fn fseek (__stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ftell (__stream : * mut FILE) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn rewind (__stream : * mut FILE) ; } unsafe extern "C" { pub fn fseeko (__stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ftello (__stream : * mut FILE) -> __off_t ; } unsafe extern "C" { pub fn fgetpos (__stream : * mut FILE , __pos : * mut fpos_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fsetpos (__stream : * mut FILE , __pos : * const fpos_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn clearerr (__stream : * mut FILE) ; } unsafe extern "C" { pub fn feof (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ferror (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn clearerr_unlocked (__stream : * mut FILE) ; } unsafe extern "C" { pub fn feof_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ferror_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn perror (__s : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn fileno (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fileno_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn pclose (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn popen (__command : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn ctermid (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn flockfile (__stream : * mut FILE) ; } unsafe extern "C" { pub fn ftrylockfile (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn funlockfile (__stream : * mut FILE) ; } unsafe extern "C" { pub fn __uflow (arg1 : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __overflow (arg1 : * mut FILE , arg2 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " This is a basic byte in an UTF-8 encoded string.\n It's unsigned allowing to pinpoint case where char * are assigned\n to xmlChar * (possibly making serialization back impossible)."] pub type xmlChar = :: std :: os :: raw :: c_uchar ; unsafe extern "C" { pub fn xmlStrdup (cur : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrndup (cur : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCharStrndup (cur : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCharStrdup (cur : * const :: std :: os :: raw :: c_char) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrsub (str_ : * const xmlChar , start : :: std :: os :: raw :: c_int , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrchr (str_ : * const xmlChar , val : xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrstr (str_ : * const xmlChar , val : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrcasestr (str_ : * const xmlChar , val : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrcmp (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrncmp (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrcasecmp (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrncasecmp (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrEqual (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrQEqual (pref : * const xmlChar , name : * const xmlChar , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrlen (str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrcat (cur : * mut xmlChar , add : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrncat (cur : * mut xmlChar , add : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrncatNew (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrPrintf (buf : * mut xmlChar , len : :: std :: os :: raw :: c_int , msg : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrVPrintf (buf : * mut xmlChar , len : :: std :: os :: raw :: c_int , msg : * const :: std :: os :: raw :: c_char , ap : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetUTF8Char (utf : * const :: std :: os :: raw :: c_uchar , len : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCheckUTF8 (utf : * const :: std :: os :: raw :: c_uchar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strsize (utf : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strndup (utf : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strpos (utf : * const xmlChar , pos : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strloc (utf : * const xmlChar , utfchar : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strsub (utf : * const xmlChar , start : :: std :: os :: raw :: c_int , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strlen (utf : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Size (utf : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Charcmp (utf1 : * const xmlChar , utf2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } # [doc = " Signature for a free() implementation.\n\n @param mem  an already allocated block of memory"] pub type xmlFreeFunc = :: std :: option :: Option < unsafe extern "C" fn (mem : * mut :: std :: os :: raw :: c_void) > ; # [doc = " Signature for a malloc() implementation.\n\n @param size  the size requested in bytes\n @returns a pointer to the newly allocated block or NULL in case of error."] pub type xmlMallocFunc = :: std :: option :: Option < unsafe extern "C" fn (size : usize) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Signature for a realloc() implementation.\n\n @param mem  an already allocated block of memory\n @param size  the new size requested in bytes\n @returns a pointer to the newly reallocated block or NULL in case of error."] pub type xmlReallocFunc = :: std :: option :: Option < unsafe extern "C" fn (mem : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Signature for an strdup() implementation.\n\n @param str  a zero terminated string\n @returns the copy of the string or NULL in case of error."] pub type xmlStrdupFunc = :: std :: option :: Option < unsafe extern "C" fn (str_ : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char > ; unsafe extern "C" { # [doc = " The variable holding the libxml malloc() implementation"] pub static mut xmlMalloc : xmlMallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml malloc() implementation for atomic\n data (i.e. blocks not containing pointers), useful when using a\n garbage collecting allocator.\n\n @deprecated Use #xmlMalloc"] pub static mut xmlMallocAtomic : xmlMallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml realloc() implementation"] pub static mut xmlRealloc : xmlReallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml free() implementation"] pub static mut xmlFree : xmlFreeFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml strdup() implementation"] pub static mut xmlMemStrdup : xmlStrdupFunc ; } unsafe extern "C" { pub fn xmlMemSetup (freeFunc : xmlFreeFunc , mallocFunc : xmlMallocFunc , reallocFunc : xmlReallocFunc , strdupFunc : xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemGet (freeFunc : * mut xmlFreeFunc , mallocFunc : * mut xmlMallocFunc , reallocFunc : * mut xmlReallocFunc , strdupFunc : * mut xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGcMemSetup (freeFunc : xmlFreeFunc , mallocFunc : xmlMallocFunc , mallocAtomicFunc : xmlMallocFunc , reallocFunc : xmlReallocFunc , strdupFunc : xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGcMemGet (freeFunc : * mut xmlFreeFunc , mallocFunc : * mut xmlMallocFunc , mallocAtomicFunc : * mut xmlMallocFunc , reallocFunc : * mut xmlReallocFunc , strdupFunc : * mut xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlInitMemory () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCleanupMemory () ; } unsafe extern "C" { pub fn xmlMemSize (ptr : * mut :: std :: os :: raw :: c_void) -> usize ; } unsafe extern "C" { pub fn xmlMemUsed () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemBlocks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemDisplay (fp : * mut FILE) ; } unsafe extern "C" { pub fn xmlMemDisplayLast (fp : * mut FILE , nbBytes : :: std :: os :: raw :: c_long) ; } unsafe extern "C" { pub fn xmlMemShow (fp : * mut FILE , nr : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlMemoryDump () ; } unsafe extern "C" { pub fn xmlMemMalloc (size : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemRealloc (ptr : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemFree (ptr : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlMemoryStrdup (str_ : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlMallocLoc (size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlReallocLoc (ptr : * mut :: std :: os :: raw :: c_void , size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMallocAtomicLoc (size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemStrdupLoc (str_ : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRegexp { _unused : [u8 ; 0] , } # [doc = " A libxml regular expression"] pub type xmlRegexp = _xmlRegexp ; pub type xmlRegexpPtr = * mut xmlRegexp ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRegExecCtxt { _unused : [u8 ; 0] , } # [doc = " A libxml progressive regular expression evaluation context"] pub type xmlRegExecCtxt = _xmlRegExecCtxt ; pub type xmlRegExecCtxtPtr = * mut xmlRegExecCtxt ; unsafe extern "C" { pub fn xmlRegexpCompile (regexp : * const xmlChar) -> * mut xmlRegexp ; } unsafe extern "C" { pub fn xmlRegFreeRegexp (regexp : * mut xmlRegexp) ; } unsafe extern "C" { pub fn xmlRegexpExec (comp : * mut xmlRegexp , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegexpPrint (output : * mut FILE , regexp : * mut xmlRegexp) ; } unsafe extern "C" { pub fn xmlRegexpIsDeterminist (comp : * mut xmlRegexp) -> :: std :: os :: raw :: c_int ; } # [doc = " Callback function when doing a transition in the automata\n\n @param exec  the regular expression context\n @param token  the current token string\n @param transdata  transition data\n @param inputdata  input data"] pub type xmlRegExecCallbacks = :: std :: option :: Option < unsafe extern "C" fn (exec : * mut xmlRegExecCtxt , token : * const xmlChar , transdata : * mut :: std :: os :: raw :: c_void , inputdata : * mut :: std :: os :: raw :: c_void) > ; unsafe extern "C" { pub fn xmlRegNewExecCtxt (comp : * mut xmlRegexp , callback : xmlRegExecCallbacks , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlRegExecCtxt ; } unsafe extern "C" { pub fn xmlRegFreeExecCtxt (exec : * mut xmlRegExecCtxt) ; } unsafe extern "C" { pub fn xmlRegExecPushString (exec : * mut xmlRegExecCtxt , value : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecPushString2 (exec : * mut xmlRegExecCtxt , value : * const xmlChar , value2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecNextValues (exec : * mut xmlRegExecCtxt , nbval : * mut :: std :: os :: raw :: c_int , nbneg : * mut :: std :: os :: raw :: c_int , values : * mut * mut xmlChar , terminal : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecErrInfo (exec : * mut xmlRegExecCtxt , string : * mut * const xmlChar , nbval : * mut :: std :: os :: raw :: c_int , nbneg : * mut :: std :: os :: raw :: c_int , values : * mut * mut xmlChar , terminal : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " Parser input buffer\n\n This struct and all related functions should ultimately\n be removed from the public interface."] pub type xmlParserInputBuffer = _xmlParserInputBuffer ; pub type xmlParserInputBufferPtr = * mut xmlParserInputBuffer ; # [doc = " Output buffer"] pub type xmlOutputBuffer = _xmlOutputBuffer ; pub type xmlOutputBufferPtr = * mut xmlOutputBuffer ; # [doc = " Parser input"] pub type xmlParserInput = _xmlParserInput ; pub type xmlParserInputPtr = * mut xmlParserInput ; # [doc = " Parser context"] pub type xmlParserCtxt = _xmlParserCtxt ; pub type xmlParserCtxtPtr = * mut xmlParserCtxt ; # [doc = " SAX locator"] pub type xmlSAXLocator = _xmlSAXLocator ; pub type xmlSAXLocatorPtr = * mut xmlSAXLocator ; # [doc = " SAX handler"] pub type xmlSAXHandler = _xmlSAXHandler ; pub type xmlSAXHandlerPtr = * mut xmlSAXHandler ; # [doc = " Entity declaration"] pub type xmlEntity = _xmlEntity ; pub type xmlEntityPtr = * mut xmlEntity ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_DOUBLEIT : xmlBufferAllocationScheme = 0 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_EXACT : xmlBufferAllocationScheme = 1 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_IMMUTABLE : xmlBufferAllocationScheme = 2 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_IO : xmlBufferAllocationScheme = 3 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_HYBRID : xmlBufferAllocationScheme = 4 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_BOUNDED : xmlBufferAllocationScheme = 5 ; # [doc = " Removed, buffers always use XML_BUFFER_ALLOC_IO now."] pub type xmlBufferAllocationScheme = :: std :: os :: raw :: c_uint ; # [doc = " Buffer type"] pub type xmlBuffer = _xmlBuffer ; pub type xmlBufferPtr = * mut xmlBuffer ; # [doc = " A buffer structure, this old construct is limited to 2GB and\n is being deprecated, use API with xmlBuf instead."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlBuffer { # [doc = " @deprecated Use #xmlBufferContent\n\n The buffer content UTF8"] pub content : * mut xmlChar , # [doc = " @deprecated Use #xmlBufferLength\n\n The buffer size used"] pub use_ : :: std :: os :: raw :: c_uint , pub size : :: std :: os :: raw :: c_uint , pub alloc : xmlBufferAllocationScheme , pub contentIO : * mut xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlBuffer"] [:: std :: mem :: size_of :: < _xmlBuffer > () - 32usize] ; ["Alignment of _xmlBuffer"] [:: std :: mem :: align_of :: < _xmlBuffer > () - 8usize] ; ["Offset of field: _xmlBuffer::content"] [:: std :: mem :: offset_of ! (_xmlBuffer , content) - 0usize] ; ["Offset of field: _xmlBuffer::use_"] [:: std :: mem :: offset_of ! (_xmlBuffer , use_) - 8usize] ; ["Offset of field: _xmlBuffer::size"] [:: std :: mem :: offset_of ! (_xmlBuffer , size) - 12usize] ; ["Offset of field: _xmlBuffer::alloc"] [:: std :: mem :: offset_of ! (_xmlBuffer , alloc) - 16usize] ; ["Offset of field: _xmlBuffer::contentIO"] [:: std :: mem :: offset_of ! (_xmlBuffer , contentIO) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlBuf { _unused : [u8 ; 0] , } # [doc = " Buffer with 64-bit support"] pub type xmlBuf = _xmlBuf ; pub type xmlBufPtr = * mut xmlBuf ; # [doc = " An element.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_ELEMENT_NODE : xmlElementType = 1 ; # [doc = " An attribute.\n\n Objects of this type are an xmlAttr."] pub const xmlElementType_XML_ATTRIBUTE_NODE : xmlElementType = 2 ; # [doc = " A text node.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_TEXT_NODE : xmlElementType = 3 ; # [doc = " A CDATA section.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_CDATA_SECTION_NODE : xmlElementType = 4 ; # [doc = " An entity reference.\n\n Objects of this type are an xmlNode. The `children` member\n points to the entity declaration if available."] pub const xmlElementType_XML_ENTITY_REF_NODE : xmlElementType = 5 ; # [doc = " unused"] pub const xmlElementType_XML_ENTITY_NODE : xmlElementType = 6 ; # [doc = " A processing instruction.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_PI_NODE : xmlElementType = 7 ; # [doc = " A comment.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_COMMENT_NODE : xmlElementType = 8 ; # [doc = " A document.\n\n Objects of this type are an xmlDoc."] pub const xmlElementType_XML_DOCUMENT_NODE : xmlElementType = 9 ; # [doc = " unused"] pub const xmlElementType_XML_DOCUMENT_TYPE_NODE : xmlElementType = 10 ; # [doc = " A document fragment.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_DOCUMENT_FRAG_NODE : xmlElementType = 11 ; # [doc = " A notation, unused"] pub const xmlElementType_XML_NOTATION_NODE : xmlElementType = 12 ; # [doc = " An HTML document.\n\n Objects of this type are an xmlDoc."] pub const xmlElementType_XML_HTML_DOCUMENT_NODE : xmlElementType = 13 ; # [doc = " A document type definition.\n\n Objects of this type are an xmlDtd."] pub const xmlElementType_XML_DTD_NODE : xmlElementType = 14 ; # [doc = " An element declaration.\n\n Objects of this type are an xmlElement."] pub const xmlElementType_XML_ELEMENT_DECL : xmlElementType = 15 ; # [doc = " An attribute declaration.\n\n Objects of this type are an xmlAttribute."] pub const xmlElementType_XML_ATTRIBUTE_DECL : xmlElementType = 16 ; # [doc = " An entity declaration.\n\n Objects of this type are an xmlEntity."] pub const xmlElementType_XML_ENTITY_DECL : xmlElementType = 17 ; # [doc = " An XPath namespace node.\n\n Can only be returned by the XPath engine. Objects of this\n type are an xmlNs which has a completely different layout\n than xmlNode. The `next` member contains a pointer to the\n xmlNode element to which the namespace applies.\n\n Nodes of this type must be handled with extreme care to\n avoid type confusion bugs."] pub const xmlElementType_XML_NAMESPACE_DECL : xmlElementType = 18 ; # [doc = " An XInclude start marker.\n\n Objects of this type are an xmlNode. Inserted as preceding\n sibling of XIncluded content."] pub const xmlElementType_XML_XINCLUDE_START : xmlElementType = 19 ; # [doc = " An XInclude end marker.\n\n Objects of this type are an xmlNode. Inserted as following\n sibling of XIncluded content."] pub const xmlElementType_XML_XINCLUDE_END : xmlElementType = 20 ; # [doc = " The different element types carried by an XML tree.\n\n NOTE: This is synchronized with DOM Level 1 values.\n       See http://www.w3.org/TR/REC-DOM-Level-1/\n\n Actually this had diverged a bit, and XML_DTD_NODE is used instead\n of XML_DOCUMENT_TYPE_NODE."] pub type xmlElementType = :: std :: os :: raw :: c_uint ; # [doc = " Notation declaration"] pub type xmlNotation = _xmlNotation ; pub type xmlNotationPtr = * mut xmlNotation ; # [doc = " A DTD Notation definition.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNotation { # [doc = " Notation name"] pub name : * const xmlChar , # [doc = " Public identifier, if any"] pub PublicID : * const xmlChar , # [doc = " System identifier, if any"] pub SystemID : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNotation"] [:: std :: mem :: size_of :: < _xmlNotation > () - 24usize] ; ["Alignment of _xmlNotation"] [:: std :: mem :: align_of :: < _xmlNotation > () - 8usize] ; ["Offset of field: _xmlNotation::name"] [:: std :: mem :: offset_of ! (_xmlNotation , name) - 0usize] ; ["Offset of field: _xmlNotation::PublicID"] [:: std :: mem :: offset_of ! (_xmlNotation , PublicID) - 8usize] ; ["Offset of field: _xmlNotation::SystemID"] [:: std :: mem :: offset_of ! (_xmlNotation , SystemID) - 16usize] ; } ; pub const xmlAttributeType_XML_ATTRIBUTE_CDATA : xmlAttributeType = 1 ; pub const xmlAttributeType_XML_ATTRIBUTE_ID : xmlAttributeType = 2 ; pub const xmlAttributeType_XML_ATTRIBUTE_IDREF : xmlAttributeType = 3 ; pub const xmlAttributeType_XML_ATTRIBUTE_IDREFS : xmlAttributeType = 4 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENTITY : xmlAttributeType = 5 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENTITIES : xmlAttributeType = 6 ; pub const xmlAttributeType_XML_ATTRIBUTE_NMTOKEN : xmlAttributeType = 7 ; pub const xmlAttributeType_XML_ATTRIBUTE_NMTOKENS : xmlAttributeType = 8 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENUMERATION : xmlAttributeType = 9 ; pub const xmlAttributeType_XML_ATTRIBUTE_NOTATION : xmlAttributeType = 10 ; # [doc = " A DTD Attribute type definition."] pub type xmlAttributeType = :: std :: os :: raw :: c_uint ; pub const xmlAttributeDefault_XML_ATTRIBUTE_NONE : xmlAttributeDefault = 1 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_REQUIRED : xmlAttributeDefault = 2 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_IMPLIED : xmlAttributeDefault = 3 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_FIXED : xmlAttributeDefault = 4 ; # [doc = " A DTD Attribute default definition."] pub type xmlAttributeDefault = :: std :: os :: raw :: c_uint ; # [doc = " Enumeration in a DTD"] pub type xmlEnumeration = _xmlEnumeration ; pub type xmlEnumerationPtr = * mut xmlEnumeration ; # [doc = " List structure used when there is an enumeration in DTDs.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlEnumeration { # [doc = " next enumeration"] pub next : * mut _xmlEnumeration , # [doc = " value"] pub name : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlEnumeration"] [:: std :: mem :: size_of :: < _xmlEnumeration > () - 16usize] ; ["Alignment of _xmlEnumeration"] [:: std :: mem :: align_of :: < _xmlEnumeration > () - 8usize] ; ["Offset of field: _xmlEnumeration::next"] [:: std :: mem :: offset_of ! (_xmlEnumeration , next) - 0usize] ; ["Offset of field: _xmlEnumeration::name"] [:: std :: mem :: offset_of ! (_xmlEnumeration , name) - 8usize] ; } ; # [doc = " Attribute declaration"] pub type xmlAttribute = _xmlAttribute ; pub type xmlAttributePtr = * mut xmlAttribute ; # [doc = " An Attribute declaration in a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttribute { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ATTRIBUTE_DECL"] pub type_ : xmlElementType , # [doc = " attribute name"] pub name : * const xmlChar , # [doc = " NULL"] pub children : * mut _xmlNode , # [doc = " NULL"] pub last : * mut _xmlNode , # [doc = " DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " next in hash table"] pub nexth : * mut _xmlAttribute , # [doc = " attribute type"] pub atype : xmlAttributeType , # [doc = " attribute default"] pub def : xmlAttributeDefault , # [doc = " default value"] pub defaultValue : * mut xmlChar , # [doc = " enumeration tree if any"] pub tree : * mut xmlEnumeration , # [doc = " namespace prefix if any"] pub prefix : * const xmlChar , # [doc = " element name"] pub elem : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlAttribute"] [:: std :: mem :: size_of :: < _xmlAttribute > () - 120usize] ; ["Alignment of _xmlAttribute"] [:: std :: mem :: align_of :: < _xmlAttribute > () - 8usize] ; ["Offset of field: _xmlAttribute::_private"] [:: std :: mem :: offset_of ! (_xmlAttribute , _private) - 0usize] ; ["Offset of field: _xmlAttribute::type_"] [:: std :: mem :: offset_of ! (_xmlAttribute , type_) - 8usize] ; ["Offset of field: _xmlAttribute::name"] [:: std :: mem :: offset_of ! (_xmlAttribute , name) - 16usize] ; ["Offset of field: _xmlAttribute::children"] [:: std :: mem :: offset_of ! (_xmlAttribute , children) - 24usize] ; ["Offset of field: _xmlAttribute::last"] [:: std :: mem :: offset_of ! (_xmlAttribute , last) - 32usize] ; ["Offset of field: _xmlAttribute::parent"] [:: std :: mem :: offset_of ! (_xmlAttribute , parent) - 40usize] ; ["Offset of field: _xmlAttribute::next"] [:: std :: mem :: offset_of ! (_xmlAttribute , next) - 48usize] ; ["Offset of field: _xmlAttribute::prev"] [:: std :: mem :: offset_of ! (_xmlAttribute , prev) - 56usize] ; ["Offset of field: _xmlAttribute::doc"] [:: std :: mem :: offset_of ! (_xmlAttribute , doc) - 64usize] ; ["Offset of field: _xmlAttribute::nexth"] [:: std :: mem :: offset_of ! (_xmlAttribute , nexth) - 72usize] ; ["Offset of field: _xmlAttribute::atype"] [:: std :: mem :: offset_of ! (_xmlAttribute , atype) - 80usize] ; ["Offset of field: _xmlAttribute::def"] [:: std :: mem :: offset_of ! (_xmlAttribute , def) - 84usize] ; ["Offset of field: _xmlAttribute::defaultValue"] [:: std :: mem :: offset_of ! (_xmlAttribute , defaultValue) - 88usize] ; ["Offset of field: _xmlAttribute::tree"] [:: std :: mem :: offset_of ! (_xmlAttribute , tree) - 96usize] ; ["Offset of field: _xmlAttribute::prefix"] [:: std :: mem :: offset_of ! (_xmlAttribute , prefix) - 104usize] ; ["Offset of field: _xmlAttribute::elem"] [:: std :: mem :: offset_of ! (_xmlAttribute , elem) - 112usize] ; } ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_PCDATA : xmlElementContentType = 1 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_ELEMENT : xmlElementContentType = 2 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_SEQ : xmlElementContentType = 3 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_OR : xmlElementContentType = 4 ; # [doc = " Possible definitions of element content types."] pub type xmlElementContentType = :: std :: os :: raw :: c_uint ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_ONCE : xmlElementContentOccur = 1 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_OPT : xmlElementContentOccur = 2 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_MULT : xmlElementContentOccur = 3 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_PLUS : xmlElementContentOccur = 4 ; # [doc = " Possible definitions of element content occurrences."] pub type xmlElementContentOccur = :: std :: os :: raw :: c_uint ; # [doc = " Element content in element declarations"] pub type xmlElementContent = _xmlElementContent ; pub type xmlElementContentPtr = * mut xmlElementContent ; # [doc = " An XML Element content as stored after parsing an element definition\n in a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlElementContent { # [doc = " PCDATA, ELEMENT, SEQ or OR"] pub type_ : xmlElementContentType , # [doc = " ONCE, OPT, MULT or PLUS"] pub ocur : xmlElementContentOccur , # [doc = " element name"] pub name : * const xmlChar , # [doc = " first child"] pub c1 : * mut _xmlElementContent , # [doc = " second child"] pub c2 : * mut _xmlElementContent , # [doc = " parent"] pub parent : * mut _xmlElementContent , # [doc = " namespace prefix"] pub prefix : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlElementContent"] [:: std :: mem :: size_of :: < _xmlElementContent > () - 48usize] ; ["Alignment of _xmlElementContent"] [:: std :: mem :: align_of :: < _xmlElementContent > () - 8usize] ; ["Offset of field: _xmlElementContent::type_"] [:: std :: mem :: offset_of ! (_xmlElementContent , type_) - 0usize] ; ["Offset of field: _xmlElementContent::ocur"] [:: std :: mem :: offset_of ! (_xmlElementContent , ocur) - 4usize] ; ["Offset of field: _xmlElementContent::name"] [:: std :: mem :: offset_of ! (_xmlElementContent , name) - 8usize] ; ["Offset of field: _xmlElementContent::c1"] [:: std :: mem :: offset_of ! (_xmlElementContent , c1) - 16usize] ; ["Offset of field: _xmlElementContent::c2"] [:: std :: mem :: offset_of ! (_xmlElementContent , c2) - 24usize] ; ["Offset of field: _xmlElementContent::parent"] [:: std :: mem :: offset_of ! (_xmlElementContent , parent) - 32usize] ; ["Offset of field: _xmlElementContent::prefix"] [:: std :: mem :: offset_of ! (_xmlElementContent , prefix) - 40usize] ; } ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_UNDEFINED : xmlElementTypeVal = 0 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_EMPTY : xmlElementTypeVal = 1 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_ANY : xmlElementTypeVal = 2 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_MIXED : xmlElementTypeVal = 3 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_ELEMENT : xmlElementTypeVal = 4 ; # [doc = " The different possibilities for an element content type."] pub type xmlElementTypeVal = :: std :: os :: raw :: c_uint ; # [doc = " Element declaration"] pub type xmlElement = _xmlElement ; pub type xmlElementPtr = * mut xmlElement ; # [doc = " An XML Element declaration from a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlElement { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ELEMENT_DECL"] pub type_ : xmlElementType , # [doc = " element name"] pub name : * const xmlChar , # [doc = " NULL"] pub children : * mut _xmlNode , # [doc = " NULL"] pub last : * mut _xmlNode , # [doc = " -> DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " element type"] pub etype : xmlElementTypeVal , # [doc = " allowed element content"] pub content : * mut xmlElementContent , # [doc = " list of declared attributes"] pub attributes : * mut xmlAttribute , # [doc = " namespace prefix if any"] pub prefix : * const xmlChar , # [doc = " validating regexp"] pub contModel : * mut xmlRegexp , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlElement"] [:: std :: mem :: size_of :: < _xmlElement > () - 112usize] ; ["Alignment of _xmlElement"] [:: std :: mem :: align_of :: < _xmlElement > () - 8usize] ; ["Offset of field: _xmlElement::_private"] [:: std :: mem :: offset_of ! (_xmlElement , _private) - 0usize] ; ["Offset of field: _xmlElement::type_"] [:: std :: mem :: offset_of ! (_xmlElement , type_) - 8usize] ; ["Offset of field: _xmlElement::name"] [:: std :: mem :: offset_of ! (_xmlElement , name) - 16usize] ; ["Offset of field: _xmlElement::children"] [:: std :: mem :: offset_of ! (_xmlElement , children) - 24usize] ; ["Offset of field: _xmlElement::last"] [:: std :: mem :: offset_of ! (_xmlElement , last) - 32usize] ; ["Offset of field: _xmlElement::parent"] [:: std :: mem :: offset_of ! (_xmlElement , parent) - 40usize] ; ["Offset of field: _xmlElement::next"] [:: std :: mem :: offset_of ! (_xmlElement , next) - 48usize] ; ["Offset of field: _xmlElement::prev"] [:: std :: mem :: offset_of ! (_xmlElement , prev) - 56usize] ; ["Offset of field: _xmlElement::doc"] [:: std :: mem :: offset_of ! (_xmlElement , doc) - 64usize] ; ["Offset of field: _xmlElement::etype"] [:: std :: mem :: offset_of ! (_xmlElement , etype) - 72usize] ; ["Offset of field: _xmlElement::content"] [:: std :: mem :: offset_of ! (_xmlElement , content) - 80usize] ; ["Offset of field: _xmlElement::attributes"] [:: std :: mem :: offset_of ! (_xmlElement , attributes) - 88usize] ; ["Offset of field: _xmlElement::prefix"] [:: std :: mem :: offset_of ! (_xmlElement , prefix) - 96usize] ; ["Offset of field: _xmlElement::contModel"] [:: std :: mem :: offset_of ! (_xmlElement , contModel) - 104usize] ; } ; # [doc = " The different element types carried by an XML tree.\n\n NOTE: This is synchronized with DOM Level 1 values.\n       See http://www.w3.org/TR/REC-DOM-Level-1/\n\n Actually this had diverged a bit, and XML_DTD_NODE is used instead\n of XML_DOCUMENT_TYPE_NODE."] pub use self :: xmlElementType as xmlNsType ; # [doc = " Namespace declaration"] pub type xmlNs = _xmlNs ; pub type xmlNsPtr = * mut xmlNs ; # [doc = " An XML namespace.\n Note that prefix == NULL is valid, it defines the default namespace\n within the subtree (until overridden).\n\n xmlNsType is unified with xmlElementType.\n\n Note that the XPath engine returns XPath namespace nodes as\n xmlNs cast to xmlNode. This is a terrible design decision that\n can easily cause type confusion errors. In this case, the `next`\n member points to the xmlNode element to which the namespace\n node belongs."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNs { # [doc = " next namespace"] pub next : * mut _xmlNs , # [doc = " XML_NAMESPACE_DECL"] pub type_ : xmlNsType , # [doc = " namespace URI"] pub href : * const xmlChar , # [doc = " namespace prefix"] pub prefix : * const xmlChar , # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " normally an xmlDoc"] pub context : * mut _xmlDoc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNs"] [:: std :: mem :: size_of :: < _xmlNs > () - 48usize] ; ["Alignment of _xmlNs"] [:: std :: mem :: align_of :: < _xmlNs > () - 8usize] ; ["Offset of field: _xmlNs::next"] [:: std :: mem :: offset_of ! (_xmlNs , next) - 0usize] ; ["Offset of field: _xmlNs::type_"] [:: std :: mem :: offset_of ! (_xmlNs , type_) - 8usize] ; ["Offset of field: _xmlNs::href"] [:: std :: mem :: offset_of ! (_xmlNs , href) - 16usize] ; ["Offset of field: _xmlNs::prefix"] [:: std :: mem :: offset_of ! (_xmlNs , prefix) - 24usize] ; ["Offset of field: _xmlNs::_private"] [:: std :: mem :: offset_of ! (_xmlNs , _private) - 32usize] ; ["Offset of field: _xmlNs::context"] [:: std :: mem :: offset_of ! (_xmlNs , context) - 40usize] ; } ; # [doc = " Document type definition (DTD)"] pub type xmlDtd = _xmlDtd ; pub type xmlDtdPtr = * mut xmlDtd ; # [doc = " An XML DTD, as defined by <!DOCTYPE ... There is actually one for\n the internal subset and for the external subset.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDtd { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_DTD_NODE"] pub type_ : xmlElementType , # [doc = " name of the DTD"] pub name : * const xmlChar , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlDoc , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " hash table for notations if any"] pub notations : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for elements if any"] pub elements : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for attributes if any"] pub attributes : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for entities if any"] pub entities : * mut :: std :: os :: raw :: c_void , # [doc = " public identifier"] pub ExternalID : * mut xmlChar , # [doc = " system identifier"] pub SystemID : * mut xmlChar , # [doc = " hash table for parameter entities if any"] pub pentities : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDtd"] [:: std :: mem :: size_of :: < _xmlDtd > () - 128usize] ; ["Alignment of _xmlDtd"] [:: std :: mem :: align_of :: < _xmlDtd > () - 8usize] ; ["Offset of field: _xmlDtd::_private"] [:: std :: mem :: offset_of ! (_xmlDtd , _private) - 0usize] ; ["Offset of field: _xmlDtd::type_"] [:: std :: mem :: offset_of ! (_xmlDtd , type_) - 8usize] ; ["Offset of field: _xmlDtd::name"] [:: std :: mem :: offset_of ! (_xmlDtd , name) - 16usize] ; ["Offset of field: _xmlDtd::children"] [:: std :: mem :: offset_of ! (_xmlDtd , children) - 24usize] ; ["Offset of field: _xmlDtd::last"] [:: std :: mem :: offset_of ! (_xmlDtd , last) - 32usize] ; ["Offset of field: _xmlDtd::parent"] [:: std :: mem :: offset_of ! (_xmlDtd , parent) - 40usize] ; ["Offset of field: _xmlDtd::next"] [:: std :: mem :: offset_of ! (_xmlDtd , next) - 48usize] ; ["Offset of field: _xmlDtd::prev"] [:: std :: mem :: offset_of ! (_xmlDtd , prev) - 56usize] ; ["Offset of field: _xmlDtd::doc"] [:: std :: mem :: offset_of ! (_xmlDtd , doc) - 64usize] ; ["Offset of field: _xmlDtd::notations"] [:: std :: mem :: offset_of ! (_xmlDtd , notations) - 72usize] ; ["Offset of field: _xmlDtd::elements"] [:: std :: mem :: offset_of ! (_xmlDtd , elements) - 80usize] ; ["Offset of field: _xmlDtd::attributes"] [:: std :: mem :: offset_of ! (_xmlDtd , attributes) - 88usize] ; ["Offset of field: _xmlDtd::entities"] [:: std :: mem :: offset_of ! (_xmlDtd , entities) - 96usize] ; ["Offset of field: _xmlDtd::ExternalID"] [:: std :: mem :: offset_of ! (_xmlDtd , ExternalID) - 104usize] ; ["Offset of field: _xmlDtd::SystemID"] [:: std :: mem :: offset_of ! (_xmlDtd , SystemID) - 112usize] ; ["Offset of field: _xmlDtd::pentities"] [:: std :: mem :: offset_of ! (_xmlDtd , pentities) - 120usize] ; } ; # [doc = " Attribute of an element"] pub type xmlAttr = _xmlAttr ; pub type xmlAttrPtr = * mut xmlAttr ; # [doc = " An attribute of element."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttr { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ATTRIBUTE_NODE"] pub type_ : xmlElementType , # [doc = " local name"] pub name : * const xmlChar , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlNode , # [doc = " next sibling"] pub next : * mut _xmlAttr , # [doc = " previous sibling"] pub prev : * mut _xmlAttr , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " namespace if any"] pub ns : * mut xmlNs , # [doc = " attribute type if validating"] pub atype : xmlAttributeType , # [doc = " for type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " ID struct if any"] pub id : * mut _xmlID , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlAttr"] [:: std :: mem :: size_of :: < _xmlAttr > () - 104usize] ; ["Alignment of _xmlAttr"] [:: std :: mem :: align_of :: < _xmlAttr > () - 8usize] ; ["Offset of field: _xmlAttr::_private"] [:: std :: mem :: offset_of ! (_xmlAttr , _private) - 0usize] ; ["Offset of field: _xmlAttr::type_"] [:: std :: mem :: offset_of ! (_xmlAttr , type_) - 8usize] ; ["Offset of field: _xmlAttr::name"] [:: std :: mem :: offset_of ! (_xmlAttr , name) - 16usize] ; ["Offset of field: _xmlAttr::children"] [:: std :: mem :: offset_of ! (_xmlAttr , children) - 24usize] ; ["Offset of field: _xmlAttr::last"] [:: std :: mem :: offset_of ! (_xmlAttr , last) - 32usize] ; ["Offset of field: _xmlAttr::parent"] [:: std :: mem :: offset_of ! (_xmlAttr , parent) - 40usize] ; ["Offset of field: _xmlAttr::next"] [:: std :: mem :: offset_of ! (_xmlAttr , next) - 48usize] ; ["Offset of field: _xmlAttr::prev"] [:: std :: mem :: offset_of ! (_xmlAttr , prev) - 56usize] ; ["Offset of field: _xmlAttr::doc"] [:: std :: mem :: offset_of ! (_xmlAttr , doc) - 64usize] ; ["Offset of field: _xmlAttr::ns"] [:: std :: mem :: offset_of ! (_xmlAttr , ns) - 72usize] ; ["Offset of field: _xmlAttr::atype"] [:: std :: mem :: offset_of ! (_xmlAttr , atype) - 80usize] ; ["Offset of field: _xmlAttr::psvi"] [:: std :: mem :: offset_of ! (_xmlAttr , psvi) - 88usize] ; ["Offset of field: _xmlAttr::id"] [:: std :: mem :: offset_of ! (_xmlAttr , id) - 96usize] ; } ; # [doc = " Extra data for ID attributes"] pub type xmlID = _xmlID ; pub type xmlIDPtr = * mut xmlID ; # [doc = " An XML ID instance.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlID { pub next : * mut _xmlID , pub value : * mut xmlChar , pub attr : * mut xmlAttr , pub name : * const xmlChar , pub lineno : :: std :: os :: raw :: c_int , pub doc : * mut _xmlDoc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlID"] [:: std :: mem :: size_of :: < _xmlID > () - 48usize] ; ["Alignment of _xmlID"] [:: std :: mem :: align_of :: < _xmlID > () - 8usize] ; ["Offset of field: _xmlID::next"] [:: std :: mem :: offset_of ! (_xmlID , next) - 0usize] ; ["Offset of field: _xmlID::value"] [:: std :: mem :: offset_of ! (_xmlID , value) - 8usize] ; ["Offset of field: _xmlID::attr"] [:: std :: mem :: offset_of ! (_xmlID , attr) - 16usize] ; ["Offset of field: _xmlID::name"] [:: std :: mem :: offset_of ! (_xmlID , name) - 24usize] ; ["Offset of field: _xmlID::lineno"] [:: std :: mem :: offset_of ! (_xmlID , lineno) - 32usize] ; ["Offset of field: _xmlID::doc"] [:: std :: mem :: offset_of ! (_xmlID , doc) - 40usize] ; } ; # [doc = " @cond ignore"] pub type xmlRef = _xmlRef ; pub type xmlRefPtr = * mut xmlRef ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRef { pub next : * mut _xmlRef , pub value : * const xmlChar , pub attr : * mut xmlAttr , pub name : * const xmlChar , pub lineno : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlRef"] [:: std :: mem :: size_of :: < _xmlRef > () - 40usize] ; ["Alignment of _xmlRef"] [:: std :: mem :: align_of :: < _xmlRef > () - 8usize] ; ["Offset of field: _xmlRef::next"] [:: std :: mem :: offset_of ! (_xmlRef , next) - 0usize] ; ["Offset of field: _xmlRef::value"] [:: std :: mem :: offset_of ! (_xmlRef , value) - 8usize] ; ["Offset of field: _xmlRef::attr"] [:: std :: mem :: offset_of ! (_xmlRef , attr) - 16usize] ; ["Offset of field: _xmlRef::name"] [:: std :: mem :: offset_of ! (_xmlRef , name) - 24usize] ; ["Offset of field: _xmlRef::lineno"] [:: std :: mem :: offset_of ! (_xmlRef , lineno) - 32usize] ; } ; # [doc = " Generic node type in an XML or HTML tree"] pub type xmlNode = _xmlNode ; pub type xmlNodePtr = * mut xmlNode ; # [doc = " Generic node type in an XML or HTML tree.\n\n This is used for\n\n - XML_ELEMENT_NODE\n - XML_TEXT_NODE\n - XML_CDATA_SECTION_NODE\n - XML_ENTITY_REF_NODE\n - XML_PI_NODE\n - XML_COMMENT_NODE\n - XML_DOCUMENT_FRAG_NODE\n - XML_XINCLUDE_START_NODE\n - XML_XINCLUDE_END_NODE\n\n Other node types have a different struct layout than xmlNode,\n see xmlElementType. Except for XML_NAMESPACE_DECL all nodes\n share the following members at the same offset:\n\n - `_private`\n - `type` (also for XML_NAMESPACE_DECL)\n - `name`\n - `children`\n - `last`\n - `parent`\n - `next`\n - `prev`\n - `doc`\n\n xmlNode and xmlAttr also share the `ns` member."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNode { # [doc = " Application data. Often used by language bindings."] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " Type enum, an xmlElementType value"] pub type_ : xmlElementType , # [doc = " Name of the node.\n\n - Local name of elements or attributes. As a corner case,\n   this can also contain Names which are invalid QNames in\n   non-namespace-wellformed documents.\n - Name of entity references\n - Target of processing instructions\n - Fixed string for text and comments\n - Unused otherwise"] pub name : * const xmlChar , # [doc = " First child. Entity declaration of entity references."] pub children : * mut _xmlNode , # [doc = " Last child"] pub last : * mut _xmlNode , # [doc = " Parent node. NULL for documents or unlinked root nodes."] pub parent : * mut _xmlNode , # [doc = " Next sibling"] pub next : * mut _xmlNode , # [doc = " Previous sibling"] pub prev : * mut _xmlNode , # [doc = " Associated document.\n\n Used to access DTDs, entities, ID tables, dictionary or\n other document properties. All children of a node share the\n same document."] pub doc : * mut _xmlDoc , # [doc = " Namespace of element if any"] pub ns : * mut xmlNs , # [doc = " Content of text, comment, PI nodes.\n\n Sort index for elements after calling #xmlXPathOrderDocElems.\n Content of internal entities for entity references."] pub content : * mut xmlChar , # [doc = " First attribute of element.\n\n Also used to store small strings with XML_PARSE_COMPACT."] pub properties : * mut _xmlAttr , # [doc = " First namespace definition of element"] pub nsDef : * mut xmlNs , # [doc = " For type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " Line number"] pub line : :: std :: os :: raw :: c_ushort , # [doc = " Extra data for XPath/XSLT"] pub extra : :: std :: os :: raw :: c_ushort , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNode"] [:: std :: mem :: size_of :: < _xmlNode > () - 120usize] ; ["Alignment of _xmlNode"] [:: std :: mem :: align_of :: < _xmlNode > () - 8usize] ; ["Offset of field: _xmlNode::_private"] [:: std :: mem :: offset_of ! (_xmlNode , _private) - 0usize] ; ["Offset of field: _xmlNode::type_"] [:: std :: mem :: offset_of ! (_xmlNode , type_) - 8usize] ; ["Offset of field: _xmlNode::name"] [:: std :: mem :: offset_of ! (_xmlNode , name) - 16usize] ; ["Offset of field: _xmlNode::children"] [:: std :: mem :: offset_of ! (_xmlNode , children) - 24usize] ; ["Offset of field: _xmlNode::last"] [:: std :: mem :: offset_of ! (_xmlNode , last) - 32usize] ; ["Offset of field: _xmlNode::parent"] [:: std :: mem :: offset_of ! (_xmlNode , parent) - 40usize] ; ["Offset of field: _xmlNode::next"] [:: std :: mem :: offset_of ! (_xmlNode , next) - 48usize] ; ["Offset of field: _xmlNode::prev"] [:: std :: mem :: offset_of ! (_xmlNode , prev) - 56usize] ; ["Offset of field: _xmlNode::doc"] [:: std :: mem :: offset_of ! (_xmlNode , doc) - 64usize] ; ["Offset of field: _xmlNode::ns"] [:: std :: mem :: offset_of ! (_xmlNode , ns) - 72usize] ; ["Offset of field: _xmlNode::content"] [:: std :: mem :: offset_of ! (_xmlNode , content) - 80usize] ; ["Offset of field: _xmlNode::properties"] [:: std :: mem :: offset_of ! (_xmlNode , properties) - 88usize] ; ["Offset of field: _xmlNode::nsDef"] [:: std :: mem :: offset_of ! (_xmlNode , nsDef) - 96usize] ; ["Offset of field: _xmlNode::psvi"] [:: std :: mem :: offset_of ! (_xmlNode , psvi) - 104usize] ; ["Offset of field: _xmlNode::line"] [:: std :: mem :: offset_of ! (_xmlNode , line) - 112usize] ; ["Offset of field: _xmlNode::extra"] [:: std :: mem :: offset_of ! (_xmlNode , extra) - 114usize] ; } ; # [doc = " document is XML well formed"] pub const xmlDocProperties_XML_DOC_WELLFORMED : xmlDocProperties = 1 ; # [doc = " document is Namespace valid"] pub const xmlDocProperties_XML_DOC_NSVALID : xmlDocProperties = 2 ; # [doc = " parsed with old XML-1.0 parser"] pub const xmlDocProperties_XML_DOC_OLD10 : xmlDocProperties = 4 ; # [doc = " DTD validation was successful"] pub const xmlDocProperties_XML_DOC_DTDVALID : xmlDocProperties = 8 ; # [doc = " XInclude substitution was done"] pub const xmlDocProperties_XML_DOC_XINCLUDE : xmlDocProperties = 16 ; # [doc = " Document was built using the API and not by parsing an instance"] pub const xmlDocProperties_XML_DOC_USERBUILT : xmlDocProperties = 32 ; # [doc = " built for internal processing"] pub const xmlDocProperties_XML_DOC_INTERNAL : xmlDocProperties = 64 ; # [doc = " parsed or built HTML document"] pub const xmlDocProperties_XML_DOC_HTML : xmlDocProperties = 128 ; # [doc = " Set of properties of the document as found by the parser.\n Some of them are linked to similarly named xmlParserOption."] pub type xmlDocProperties = :: std :: os :: raw :: c_uint ; # [doc = " XML or HTML document"] pub type xmlDoc = _xmlDoc ; pub type xmlDocPtr = * mut xmlDoc ; # [doc = " An XML or HTML document."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDoc { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_DOCUMENT_NODE or XML_HTML_DOCUMENT_NODE"] pub type_ : xmlElementType , # [doc = " NULL"] pub name : * mut :: std :: os :: raw :: c_char , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlNode , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " reference to itself"] pub doc : * mut _xmlDoc , # [doc = " level of zlib compression"] pub compression : :: std :: os :: raw :: c_int , # [doc = " standalone document (no external refs)\n\n - 1 if standalone=\"yes\",\n - 0 if standalone=\"no\",\n - -1 if there is no XML declaration,\n - -2 if there is an XML declaration, but no\n   standalone attribute was specified"] pub standalone : :: std :: os :: raw :: c_int , # [doc = " internal subset"] pub intSubset : * mut _xmlDtd , # [doc = " external subset"] pub extSubset : * mut _xmlDtd , # [doc = " used to hold the XML namespace if needed"] pub oldNs : * mut _xmlNs , # [doc = " version string from XML declaration"] pub version : * mut xmlChar , # [doc = " actual encoding if any"] pub encoding : * mut xmlChar , # [doc = " hash table for ID attributes if any"] pub ids : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for IDREFs attributes if any"] pub refs : * mut :: std :: os :: raw :: c_void , # [doc = " URI of the document"] pub URL : * mut xmlChar , # [doc = " unused"] pub charset : :: std :: os :: raw :: c_int , # [doc = " dict used to allocate names if any"] pub dict : * mut _xmlDict , # [doc = " for type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " xmlParserOption enum used to parse the document"] pub parseFlags : :: std :: os :: raw :: c_int , # [doc = " xmlDocProperties of the document"] pub properties : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDoc"] [:: std :: mem :: size_of :: < _xmlDoc > () - 176usize] ; ["Alignment of _xmlDoc"] [:: std :: mem :: align_of :: < _xmlDoc > () - 8usize] ; ["Offset of field: _xmlDoc::_private"] [:: std :: mem :: offset_of ! (_xmlDoc , _private) - 0usize] ; ["Offset of field: _xmlDoc::type_"] [:: std :: mem :: offset_of ! (_xmlDoc , type_) - 8usize] ; ["Offset of field: _xmlDoc::name"] [:: std :: mem :: offset_of ! (_xmlDoc , name) - 16usize] ; ["Offset of field: _xmlDoc::children"] [:: std :: mem :: offset_of ! (_xmlDoc , children) - 24usize] ; ["Offset of field: _xmlDoc::last"] [:: std :: mem :: offset_of ! (_xmlDoc , last) - 32usize] ; ["Offset of field: _xmlDoc::parent"] [:: std :: mem :: offset_of ! (_xmlDoc , parent) - 40usize] ; ["Offset of field: _xmlDoc::next"] [:: std :: mem :: offset_of ! (_xmlDoc , next) - 48usize] ; ["Offset of field: _xmlDoc::prev"] [:: std :: mem :: offset_of ! (_xmlDoc , prev) - 56usize] ; ["Offset of field: _xmlDoc::doc"] [:: std :: mem :: offset_of ! (_xmlDoc , doc) - 64usize] ; ["Offset of field: _xmlDoc::compression"] [:: std :: mem :: offset_of ! (_xmlDoc , compression) - 72usize] ; ["Offset of field: _xmlDoc::standalone"] [:: std :: mem :: offset_of ! (_xmlDoc , standalone) - 76usize] ; ["Offset of field: _xmlDoc::intSubset"] [:: std :: mem :: offset_of ! (_xmlDoc , intSubset) - 80usize] ; ["Offset of field: _xmlDoc::extSubset"] [:: std :: mem :: offset_of ! (_xmlDoc , extSubset) - 88usize] ; ["Offset of field: _xmlDoc::oldNs"] [:: std :: mem :: offset_of ! (_xmlDoc , oldNs) - 96usize] ; ["Offset of field: _xmlDoc::version"] [:: std :: mem :: offset_of ! (_xmlDoc , version) - 104usize] ; ["Offset of field: _xmlDoc::encoding"] [:: std :: mem :: offset_of ! (_xmlDoc , encoding) - 112usize] ; ["Offset of field: _xmlDoc::ids"] [:: std :: mem :: offset_of ! (_xmlDoc , ids) - 120usize] ; ["Offset of field: _xmlDoc::refs"] [:: std :: mem :: offset_of ! (_xmlDoc , refs) - 128usize] ; ["Offset of field: _xmlDoc::URL"] [:: std :: mem :: offset_of ! (_xmlDoc , URL) - 136usize] ; ["Offset of field: _xmlDoc::charset"] [:: std :: mem :: offset_of ! (_xmlDoc , charset) - 144usize] ; ["Offset of field: _xmlDoc::dict"] [:: std :: mem :: offset_of ! (_xmlDoc , dict) - 152usize] ; ["Offset of field: _xmlDoc::psvi"] [:: std :: mem :: offset_of ! (_xmlDoc , psvi) - 160usize] ; ["Offset of field: _xmlDoc::parseFlags"] [:: std :: mem :: offset_of ! (_xmlDoc , parseFlags) - 168usize] ; ["Offset of field: _xmlDoc::properties"] [:: std :: mem :: offset_of ! (_xmlDoc , properties) - 172usize] ; } ; # [doc = " Context for DOM wrapper operations"] pub type xmlDOMWrapCtxt = _xmlDOMWrapCtxt ; pub type xmlDOMWrapCtxtPtr = * mut xmlDOMWrapCtxt ; # [doc = " A function called to acquire namespaces (xmlNs) from the wrapper.\n\n @param ctxt  a DOM wrapper context\n @param node  the context node (element or attribute)\n @param nsName  the requested namespace name\n @param nsPrefix  the requested namespace prefix\n @returns an xmlNs or NULL in case of an error."] pub type xmlDOMWrapAcquireNsFunction = :: std :: option :: Option < unsafe extern "C" fn (ctxt : * mut xmlDOMWrapCtxt , node : * mut xmlNode , nsName : * const xmlChar , nsPrefix : * const xmlChar) -> * mut xmlNs > ; # [doc = " Context for DOM wrapper-operations."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDOMWrapCtxt { pub _private : * mut :: std :: os :: raw :: c_void , pub type_ : :: std :: os :: raw :: c_int , pub namespaceMap : * mut :: std :: os :: raw :: c_void , pub getNsForNodeFunc : xmlDOMWrapAcquireNsFunction , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDOMWrapCtxt"] [:: std :: mem :: size_of :: < _xmlDOMWrapCtxt > () - 32usize] ; ["Alignment of _xmlDOMWrapCtxt"] [:: std :: mem :: align_of :: < _xmlDOMWrapCtxt > () - 8usize] ; ["Offset of field: _xmlDOMWrapCtxt::_private"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , _private) - 0usize] ; ["Offset of field: _xmlDOMWrapCtxt::type_"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , type_) - 8usize] ; ["Offset of field: _xmlDOMWrapCtxt::namespaceMap"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , namespaceMap) - 16usize] ; ["Offset of field: _xmlDOMWrapCtxt::getNsForNodeFunc"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , getNsForNodeFunc) - 24usize] ; } ; # [doc = " Signature for the registration callback of a created node\n\n @param node  the current node"] pub type xmlRegisterNodeFunc = :: std :: option :: Option < unsafe extern "C" fn (node : * mut xmlNode) > ; # [doc = " Signature for the deregistration callback of a discarded node\n\n @param node  the current node"] pub type xmlDeregisterNodeFunc = :: std :: option :: Option < unsafe extern "C" fn (node : * mut xmlNode) > ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlRegisterNodeDefaultValue () -> * mut xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn __xmlDeregisterNodeDefaultValue () -> * mut xmlDeregisterNodeFunc ; } unsafe extern "C" { # [doc = " @endcond"] pub fn xmlValidateNCName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateQName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNMToken (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBuildQName (ncname : * const xmlChar , prefix : * const xmlChar , memory : * mut xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSplitQName2 (name : * const xmlChar , prefix : * mut * mut xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSplitQName3 (name : * const xmlChar , len : * mut :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCreateIntSubset (doc : * mut xmlDoc , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlNewDtd (doc : * mut xmlDoc , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlGetIntSubset (doc : * const xmlDoc) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlFreeDtd (cur : * mut xmlDtd) ; } unsafe extern "C" { pub fn xmlNewNs (node : * mut xmlNode , href : * const xmlChar , prefix : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlFreeNs (cur : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlFreeNsList (cur : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlNewDoc (version : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlFreeDoc (cur : * mut xmlDoc) ; } unsafe extern "C" { pub fn xmlNewDocProp (doc : * mut xmlDoc , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewProp (node : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewNsPropEatName (node : * mut xmlNode , ns : * mut xmlNs , name : * mut xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlFreePropList (cur : * mut xmlAttr) ; } unsafe extern "C" { pub fn xmlFreeProp (cur : * mut xmlAttr) ; } unsafe extern "C" { pub fn xmlCopyProp (target : * mut xmlNode , cur : * mut xmlAttr) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlCopyPropList (target : * mut xmlNode , cur : * mut xmlAttr) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlCopyDtd (dtd : * mut xmlDtd) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlCopyDoc (doc : * mut xmlDoc , recursive : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlNewDocNode (doc : * mut xmlDoc , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocNodeEatName (doc : * mut xmlDoc , ns : * mut xmlNs , name : * mut xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewNode (ns : * mut xmlNs , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewNodeEatName (ns : * mut xmlNs , name : * mut xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewChild (parent : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocText (doc : * const xmlDoc , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewText (content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocPI (doc : * mut xmlDoc , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewPI (name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocTextLen (doc : * mut xmlDoc , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewTextLen (content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocComment (doc : * mut xmlDoc , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewComment (content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewCDataBlock (doc : * mut xmlDoc , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewCharRef (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewReference (doc : * const xmlDoc , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCopyNode (node : * mut xmlNode , recursive : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlDocCopyNode (node : * mut xmlNode , doc : * mut xmlDoc , recursive : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlDocCopyNodeList (doc : * mut xmlDoc , node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCopyNodeList (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewTextChild (parent : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocRawNode (doc : * mut xmlDoc , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocFragment (doc : * mut xmlDoc) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlGetLineNo (node : * const xmlNode) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn xmlGetNodePath (node : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlDocGetRootElement (doc : * const xmlDoc) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlGetLastChild (parent : * const xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeIsText (node : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsBlankNode (node : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocSetRootElement (doc : * mut xmlDoc , root : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeSetName (cur : * mut xmlNode , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlAddChild (parent : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddChildList (parent : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlReplaceNode (old : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddPrevSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddNextSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlUnlinkNode (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlTextMerge (first : * mut xmlNode , second : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlTextConcat (node : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFreeNodeList (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlFreeNode (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlSetTreeDoc (tree : * mut xmlNode , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetListDoc (list : * mut xmlNode , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSearchNs (doc : * mut xmlDoc , node : * mut xmlNode , nameSpace : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlSearchNsByHref (doc : * mut xmlDoc , node : * mut xmlNode , href : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlGetNsListSafe (doc : * const xmlDoc , node : * const xmlNode , out : * mut * mut * mut xmlNs) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetNsList (doc : * const xmlDoc , node : * const xmlNode) -> * mut * mut xmlNs ; } unsafe extern "C" { pub fn xmlSetNs (node : * mut xmlNode , ns : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlCopyNamespace (cur : * mut xmlNs) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlCopyNamespaceList (cur : * mut xmlNs) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlSetProp (node : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlSetNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNodeGetAttrValue (node : * const xmlNode , name : * const xmlChar , nsUri : * const xmlChar , out : * mut * mut xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetNoNsProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlGetProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlHasProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlHasNsProp (node : * const xmlNode , name : * const xmlChar , nameSpace : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlGetNsProp (node : * const xmlNode , name : * const xmlChar , nameSpace : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStringGetNodeList (doc : * const xmlDoc , value : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlStringLenGetNodeList (doc : * const xmlDoc , value : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeListGetString (doc : * mut xmlDoc , list : * const xmlNode , inLine : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeListGetRawString (doc : * const xmlDoc , list : * const xmlNode , inLine : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeSetContent (cur : * mut xmlNode , content : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetContentLen (cur : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeAddContent (cur : * mut xmlNode , content : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeAddContentLen (cur : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetContent (cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeBufGetContent (buffer : * mut xmlBuffer , cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufGetNodeContent (buf : * mut xmlBuf , cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetLang (cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeGetSpacePreserve (cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetLang (cur : * mut xmlNode , lang : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetSpacePreserve (cur : * mut xmlNode , val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetBaseSafe (doc : * const xmlDoc , cur : * const xmlNode , baseOut : * mut * mut xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetBase (doc : * const xmlDoc , cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeSetBase (cur : * mut xmlNode , uri : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveProp (cur : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUnsetNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUnsetProp (node : * mut xmlNode , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAttrSerializeTxtContent (buf : * mut xmlBuffer , doc : * mut xmlDoc , attr : * mut xmlAttr , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlReconciliateNs (doc : * mut xmlDoc , tree : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocDumpFormatMemory (cur : * mut xmlDoc , mem : * mut * mut xmlChar , size : * mut :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocDumpMemory (cur : * mut xmlDoc , mem : * mut * mut xmlChar , size : * mut :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocDumpMemoryEnc (out_doc : * mut xmlDoc , doc_txt_ptr : * mut * mut xmlChar , doc_txt_len : * mut :: std :: os :: raw :: c_int , txt_encoding : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlDocDumpFormatMemoryEnc (out_doc : * mut xmlDoc , doc_txt_ptr : * mut * mut xmlChar , doc_txt_len : * mut :: std :: os :: raw :: c_int , txt_encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocFormatDump (f : * mut FILE , cur : * mut xmlDoc , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocDump (f : * mut FILE , cur : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlElemDump (f : * mut FILE , doc : * mut xmlDoc , cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlSaveFile (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFormatFile (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufNodeDump (buf : * mut xmlBuf , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> usize ; } unsafe extern "C" { pub fn xmlNodeDump (buf : * mut xmlBuffer , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFileTo (buf : * mut xmlOutputBuffer , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFormatFileTo (buf : * mut xmlOutputBuffer , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeDumpOutput (buf : * mut xmlOutputBuffer , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , encoding : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlSaveFormatFileEnc (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFileEnc (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsXHTML (systemID : * const xmlChar , publicID : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetDocCompressMode (doc : * const xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetDocCompressMode (doc : * mut xmlDoc , mode : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlGetCompressMode () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetCompressMode (mode : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDOMWrapNewCtxt () -> * mut xmlDOMWrapCtxt ; } unsafe extern "C" { pub fn xmlDOMWrapFreeCtxt (ctxt : * mut xmlDOMWrapCtxt) ; } unsafe extern "C" { pub fn xmlDOMWrapReconcileNamespaces (ctxt : * mut xmlDOMWrapCtxt , elem : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapAdoptNode (ctxt : * mut xmlDOMWrapCtxt , sourceDoc : * mut xmlDoc , node : * mut xmlNode , destDoc : * mut xmlDoc , destParent : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapRemoveNode (ctxt : * mut xmlDOMWrapCtxt , doc : * mut xmlDoc , node : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapCloneNode (ctxt : * mut xmlDOMWrapCtxt , sourceDoc : * mut xmlDoc , node : * mut xmlNode , clonedNode : * mut * mut xmlNode , destDoc : * mut xmlDoc , destParent : * mut xmlNode , deep : :: std :: os :: raw :: c_int , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlChildElementCount (parent : * mut xmlNode) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlNextElementSibling (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlFirstElementChild (parent : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlLastElementChild (parent : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlPreviousElementSibling (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlRegisterNodeDefault (func : xmlRegisterNodeFunc) -> xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn xmlDeregisterNodeDefault (func : xmlDeregisterNodeFunc) -> xmlDeregisterNodeFunc ; } unsafe extern "C" { pub fn xmlThrDefRegisterNodeDefault (func : xmlRegisterNodeFunc) -> xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn xmlThrDefDeregisterNodeDefault (func : xmlDeregisterNodeFunc) -> xmlDeregisterNodeFunc ; } unsafe extern "C" { pub fn xmlSetBufferAllocationScheme (scheme : xmlBufferAllocationScheme) ; } unsafe extern "C" { pub fn xmlGetBufferAllocationScheme () -> xmlBufferAllocationScheme ; } unsafe extern "C" { pub fn xmlBufferCreate () -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferCreateSize (size : usize) -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferCreateStatic (mem : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferResize (buf : * mut xmlBuffer , size : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferFree (buf : * mut xmlBuffer) ; } unsafe extern "C" { pub fn xmlBufferDump (file : * mut FILE , buf : * mut xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferAdd (buf : * mut xmlBuffer , str_ : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferAddHead (buf : * mut xmlBuffer , str_ : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferCat (buf : * mut xmlBuffer , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferCCat (buf : * mut xmlBuffer , str_ : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferShrink (buf : * mut xmlBuffer , len : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferGrow (buf : * mut xmlBuffer , len : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferEmpty (buf : * mut xmlBuffer) ; } unsafe extern "C" { pub fn xmlBufferContent (buf : * const xmlBuffer) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlBufferDetach (buf : * mut xmlBuffer) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufferSetAllocationScheme (buf : * mut xmlBuffer , scheme : xmlBufferAllocationScheme) ; } unsafe extern "C" { pub fn xmlBufferLength (buf : * const xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferWriteCHAR (buf : * mut xmlBuffer , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlBufferWriteChar (buf : * mut xmlBuffer , string : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlBufferWriteQuotedString (buf : * mut xmlBuffer , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlBufContent (buf : * const xmlBuf) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufEnd (buf : * mut xmlBuf) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufUse (buf : * mut xmlBuf) -> usize ; } unsafe extern "C" { pub fn xmlBufShrink (buf : * mut xmlBuf , len : usize) -> usize ; } pub type wchar_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [repr (align (16))] # [derive (Debug , Copy , Clone)] pub struct max_align_t { pub __clang_max_align_nonce1 : :: std :: os :: raw :: c_longlong , pub __bindgen_padding_0 : u64 , pub __clang_max_align_nonce2 : u128 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of max_align_t"] [:: std :: mem :: size_of :: < max_align_t > () - 32usize] ; ["Alignment of max_align_t"] [:: std :: mem :: align_of :: < max_align_t > () - 16usize] ; ["Offset of field: max_align_t::__clang_max_align_nonce1"] [:: std :: mem :: offset_of ! (max_align_t , __clang_max_align_nonce1) - 0usize] ; ["Offset of field: max_align_t::__clang_max_align_nonce2"] [:: std :: mem :: offset_of ! (max_align_t , __clang_max_align_nonce2) - 16usize] ; } ; # [doc = " Dictionary (pool for interned strings)"] pub type xmlDict = _xmlDict ; pub type xmlDictPtr = * mut xmlDict ; unsafe extern "C" { pub fn xmlInitializeDict () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictCreate () -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlDictSetLimit (dict : * mut xmlDict , limit : usize) -> usize ; } unsafe extern "C" { pub fn xmlDictGetUsage (dict : * mut xmlDict) -> usize ; } unsafe extern "C" { pub fn xmlDictCreateSub (sub : * mut xmlDict) -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlDictReference (dict : * mut xmlDict) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictFree (dict : * mut xmlDict) ; } unsafe extern "C" { pub fn xmlDictLookup (dict : * mut xmlDict , name : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictExists (dict : * mut xmlDict , name : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictQLookup (dict : * mut xmlDict , prefix : * const xmlChar , name : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictOwns (dict : * mut xmlDict , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictSize (dict : * mut xmlDict) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictCleanup () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlHashTable { _unused : [u8 ; 0] , } # [doc = " Hash table mapping strings to pointers\n\n Also supports lookup using two or three strings as key."] pub type xmlHashTable = _xmlHashTable ; pub type xmlHashTablePtr = * mut xmlHashTable ; # [doc = " Callback to free data from a hash.\n\n @param payload  the data in the hash\n @param name  the name associated"] pub type xmlHashDeallocator = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback to copy data from a hash.\n\n @param payload  the data in the hash\n @param name  the name associated\n @returns a copy of the data or NULL in case of error."] pub type xmlHashCopier = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback when scanning data in a hash with the simple scanner.\n\n @param payload  the data in the hash\n @param data  extra scanner data\n @param name  the name associated"] pub type xmlHashScanner = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , data : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback when scanning data in a hash with the full scanner.\n\n @param payload  the data in the hash\n @param data  extra scanner data\n @param name  the name associated\n @param name2  the second name associated\n @param name3  the third name associated"] pub type xmlHashScannerFull = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , data : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar) > ; unsafe extern "C" { pub fn xmlHashCreate (size : :: std :: os :: raw :: c_int) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashCreateDict (size : :: std :: os :: raw :: c_int , dict : * mut xmlDict) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashFree (hash : * mut xmlHashTable , dealloc : xmlHashDeallocator) ; } unsafe extern "C" { pub fn xmlHashDefaultDeallocator (entry : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlHashAdd (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAdd2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAdd3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry (hash : * mut xmlHashTable , name : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashLookup (hash : * mut xmlHashTable , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashLookup2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashLookup3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup2 (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar , prefix2 : * const xmlChar , name2 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup3 (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar , prefix2 : * const xmlChar , name2 : * const xmlChar , prefix3 : * const xmlChar , name3 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashCopySafe (hash : * mut xmlHashTable , copy : xmlHashCopier , dealloc : xmlHashDeallocator) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashCopy (hash : * mut xmlHashTable , copy : xmlHashCopier) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashSize (hash : * mut xmlHashTable) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashScan (hash : * mut xmlHashTable , scan : xmlHashScanner , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScan3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , scan : xmlHashScanner , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScanFull (hash : * mut xmlHashTable , scan : xmlHashScannerFull , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScanFull3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , scan : xmlHashScannerFull , data : * mut :: std :: os :: raw :: c_void) ; } # [doc = " Success"] pub const xmlErrorLevel_XML_ERR_NONE : xmlErrorLevel = 0 ; # [doc = " A warning\n\n When parsing XML, warnings are only reported to error\n handlers."] pub const xmlErrorLevel_XML_ERR_WARNING : xmlErrorLevel = 1 ; # [doc = " An error\n\n When parsing XML, this is used for recoverable errors like\n\n - namespace errors\n - validity errors when validating\n - certain undeclared entities\n - ID uniqueness and xml:id errors\n\n Note that some recoverable errors in the sense of the XML\n spec are reported as warnings.\n\n In other contexts, this may be used for unrecoverable\n errors."] pub const xmlErrorLevel_XML_ERR_ERROR : xmlErrorLevel = 2 ; # [doc = " A fatal error\n\n When parsing XML, a \"fatal error\" according to the XML spec.\n This typically means that the document isn't well-formed.\n\n This also includes OOM and I/O errors, resource limit\n exhaustion, unexpected errors from other libraries and\n invalid argument errors."] pub const xmlErrorLevel_XML_ERR_FATAL : xmlErrorLevel = 3 ; # [doc = " Indicates the level of an error"] pub type xmlErrorLevel = :: std :: os :: raw :: c_uint ; # [doc = " Unknown"] pub const xmlErrorDomain_XML_FROM_NONE : xmlErrorDomain = 0 ; # [doc = " The XML parser"] pub const xmlErrorDomain_XML_FROM_PARSER : xmlErrorDomain = 1 ; # [doc = " The tree module (unused)"] pub const xmlErrorDomain_XML_FROM_TREE : xmlErrorDomain = 2 ; # [doc = " The XML Namespace module"] pub const xmlErrorDomain_XML_FROM_NAMESPACE : xmlErrorDomain = 3 ; # [doc = " The XML DTD validation with parser context"] pub const xmlErrorDomain_XML_FROM_DTD : xmlErrorDomain = 4 ; # [doc = " The HTML parser"] pub const xmlErrorDomain_XML_FROM_HTML : xmlErrorDomain = 5 ; # [doc = " The memory allocator (unused)"] pub const xmlErrorDomain_XML_FROM_MEMORY : xmlErrorDomain = 6 ; # [doc = " The serialization code"] pub const xmlErrorDomain_XML_FROM_OUTPUT : xmlErrorDomain = 7 ; # [doc = " The Input/Output stack"] pub const xmlErrorDomain_XML_FROM_IO : xmlErrorDomain = 8 ; # [doc = " The FTP module (unused)"] pub const xmlErrorDomain_XML_FROM_FTP : xmlErrorDomain = 9 ; # [doc = " The HTTP module (unused)"] pub const xmlErrorDomain_XML_FROM_HTTP : xmlErrorDomain = 10 ; # [doc = " The XInclude processing"] pub const xmlErrorDomain_XML_FROM_XINCLUDE : xmlErrorDomain = 11 ; # [doc = " The XPath module"] pub const xmlErrorDomain_XML_FROM_XPATH : xmlErrorDomain = 12 ; # [doc = " The XPointer module"] pub const xmlErrorDomain_XML_FROM_XPOINTER : xmlErrorDomain = 13 ; # [doc = " The regular expressions module"] pub const xmlErrorDomain_XML_FROM_REGEXP : xmlErrorDomain = 14 ; # [doc = " The W3C XML Schemas Datatype module"] pub const xmlErrorDomain_XML_FROM_DATATYPE : xmlErrorDomain = 15 ; # [doc = " The W3C XML Schemas parser module"] pub const xmlErrorDomain_XML_FROM_SCHEMASP : xmlErrorDomain = 16 ; # [doc = " The W3C XML Schemas validation module"] pub const xmlErrorDomain_XML_FROM_SCHEMASV : xmlErrorDomain = 17 ; # [doc = " The Relax-NG parser module"] pub const xmlErrorDomain_XML_FROM_RELAXNGP : xmlErrorDomain = 18 ; # [doc = " The Relax-NG validator module"] pub const xmlErrorDomain_XML_FROM_RELAXNGV : xmlErrorDomain = 19 ; # [doc = " The Catalog module"] pub const xmlErrorDomain_XML_FROM_CATALOG : xmlErrorDomain = 20 ; # [doc = " The Canonicalization module"] pub const xmlErrorDomain_XML_FROM_C14N : xmlErrorDomain = 21 ; # [doc = " The XSLT engine from libxslt (unused)"] pub const xmlErrorDomain_XML_FROM_XSLT : xmlErrorDomain = 22 ; # [doc = " The XML DTD validation with valid context"] pub const xmlErrorDomain_XML_FROM_VALID : xmlErrorDomain = 23 ; # [doc = " The error checking module (unused)"] pub const xmlErrorDomain_XML_FROM_CHECK : xmlErrorDomain = 24 ; # [doc = " The xmlwriter module"] pub const xmlErrorDomain_XML_FROM_WRITER : xmlErrorDomain = 25 ; # [doc = " The dynamically loaded module module (unused)"] pub const xmlErrorDomain_XML_FROM_MODULE : xmlErrorDomain = 26 ; # [doc = " The module handling character conversion (unused)"] pub const xmlErrorDomain_XML_FROM_I18N : xmlErrorDomain = 27 ; # [doc = " The Schematron validator module"] pub const xmlErrorDomain_XML_FROM_SCHEMATRONV : xmlErrorDomain = 28 ; # [doc = " The buffers module (unused)"] pub const xmlErrorDomain_XML_FROM_BUFFER : xmlErrorDomain = 29 ; # [doc = " The URI module (unused)"] pub const xmlErrorDomain_XML_FROM_URI : xmlErrorDomain = 30 ; # [doc = " Indicates where an error may have come from"] pub type xmlErrorDomain = :: std :: os :: raw :: c_uint ; # [doc = " Structured error"] pub type xmlError = _xmlError ; pub type xmlErrorPtr = * mut xmlError ; # [doc = " An object containing information about an error."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlError { # [doc = " An xmlErrorDomain value."] pub domain : :: std :: os :: raw :: c_int , # [doc = " The error code, e.g. an xmlParserErrors."] pub code : :: std :: os :: raw :: c_int , # [doc = " Human-readable error message."] pub message : * mut :: std :: os :: raw :: c_char , # [doc = " Error level."] pub level : xmlErrorLevel , # [doc = " Filename if available"] pub file : * mut :: std :: os :: raw :: c_char , # [doc = " Line number if available"] pub line : :: std :: os :: raw :: c_int , # [doc = " Extra string information."] pub str1 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra string information."] pub str2 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra string information."] pub str3 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra number information."] pub int1 : :: std :: os :: raw :: c_int , # [doc = " Column number if available."] pub int2 : :: std :: os :: raw :: c_int , # [doc = " Parser context if available"] pub ctxt : * mut :: std :: os :: raw :: c_void , # [doc = " Node if available"] pub node : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlError"] [:: std :: mem :: size_of :: < _xmlError > () - 88usize] ; ["Alignment of _xmlError"] [:: std :: mem :: align_of :: < _xmlError > () - 8usize] ; ["Offset of field: _xmlError::domain"] [:: std :: mem :: offset_of ! (_xmlError , domain) - 0usize] ; ["Offset of field: _xmlError::code"] [:: std :: mem :: offset_of ! (_xmlError , code) - 4usize] ; ["Offset of field: _xmlError::message"] [:: std :: mem :: offset_of ! (_xmlError , message) - 8usize] ; ["Offset of field: _xmlError::level"] [:: std :: mem :: offset_of ! (_xmlError , level) - 16usize] ; ["Offset of field: _xmlError::file"] [:: std :: mem :: offset_of ! (_xmlError , file) - 24usize] ; ["Offset of field: _xmlError::line"] [:: std :: mem :: offset_of ! (_xmlError , line) - 32usize] ; ["Offset of field: _xmlError::str1"] [:: std :: mem :: offset_of ! (_xmlError , str1) - 40usize] ; ["Offset of field: _xmlError::str2"] [:: std :: mem :: offset_of ! (_xmlError , str2) - 48usize] ; ["Offset of field: _xmlError::str3"] [:: std :: mem :: offset_of ! (_xmlError , str3) - 56usize] ; ["Offset of field: _xmlError::int1"] [:: std :: mem :: offset_of ! (_xmlError , int1) - 64usize] ; ["Offset of field: _xmlError::int2"] [:: std :: mem :: offset_of ! (_xmlError , int2) - 68usize] ; ["Offset of field: _xmlError::ctxt"] [:: std :: mem :: offset_of ! (_xmlError , ctxt) - 72usize] ; ["Offset of field: _xmlError::node"] [:: std :: mem :: offset_of ! (_xmlError , node) - 80usize] ; } ; # [doc = " Success."] pub const xmlParserErrors_XML_ERR_OK : xmlParserErrors = 0 ; # [doc = " Internal assertion failure."] pub const xmlParserErrors_XML_ERR_INTERNAL_ERROR : xmlParserErrors = 1 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_NO_MEMORY : xmlParserErrors = 2 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_START : xmlParserErrors = 3 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_EMPTY : xmlParserErrors = 4 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_END : xmlParserErrors = 5 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_HEX_CHARREF : xmlParserErrors = 6 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_DEC_CHARREF : xmlParserErrors = 7 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_CHARREF : xmlParserErrors = 8 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_CHAR : xmlParserErrors = 9 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_AT_EOF : xmlParserErrors = 10 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_PROLOG : xmlParserErrors = 11 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_EPILOG : xmlParserErrors = 12 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_DTD : xmlParserErrors = 13 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_AT_EOF : xmlParserErrors = 14 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_PROLOG : xmlParserErrors = 15 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_EPILOG : xmlParserErrors = 16 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_DTD : xmlParserErrors = 17 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_AT_EOF : xmlParserErrors = 18 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_PROLOG : xmlParserErrors = 19 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_EPILOG : xmlParserErrors = 20 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_INT_SUBSET : xmlParserErrors = 21 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_NO_NAME : xmlParserErrors = 22 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_SEMICOL_MISSING : xmlParserErrors = 23 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_NO_NAME : xmlParserErrors = 24 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_SEMICOL_MISSING : xmlParserErrors = 25 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNDECLARED_ENTITY : xmlParserErrors = 26 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_WAR_UNDECLARED_ENTITY : xmlParserErrors = 27 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNPARSED_ENTITY : xmlParserErrors = 28 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITY_IS_EXTERNAL : xmlParserErrors = 29 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITY_IS_PARAMETER : xmlParserErrors = 30 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNKNOWN_ENCODING : xmlParserErrors = 31 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_UNSUPPORTED_ENCODING : xmlParserErrors = 32 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STRING_NOT_STARTED : xmlParserErrors = 33 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STRING_NOT_CLOSED : xmlParserErrors = 34 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NS_DECL_ERROR : xmlParserErrors = 35 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_NOT_STARTED : xmlParserErrors = 36 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_NOT_FINISHED : xmlParserErrors = 37 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LT_IN_ATTRIBUTE : xmlParserErrors = 38 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_NOT_STARTED : xmlParserErrors = 39 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_NOT_FINISHED : xmlParserErrors = 40 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_WITHOUT_VALUE : xmlParserErrors = 41 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_REDEFINED : xmlParserErrors = 42 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LITERAL_NOT_STARTED : xmlParserErrors = 43 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LITERAL_NOT_FINISHED : xmlParserErrors = 44 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_COMMENT_NOT_FINISHED : xmlParserErrors = 45 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PI_NOT_STARTED : xmlParserErrors = 46 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PI_NOT_FINISHED : xmlParserErrors = 47 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_NOT_STARTED : xmlParserErrors = 48 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_NOT_FINISHED : xmlParserErrors = 49 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTLIST_NOT_STARTED : xmlParserErrors = 50 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTLIST_NOT_FINISHED : xmlParserErrors = 51 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MIXED_NOT_STARTED : xmlParserErrors = 52 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MIXED_NOT_FINISHED : xmlParserErrors = 53 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ELEMCONTENT_NOT_STARTED : xmlParserErrors = 54 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ELEMCONTENT_NOT_FINISHED : xmlParserErrors = 55 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_XMLDECL_NOT_STARTED : xmlParserErrors = 56 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_XMLDECL_NOT_FINISHED : xmlParserErrors = 57 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_NOT_STARTED : xmlParserErrors = 58 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_NOT_FINISHED : xmlParserErrors = 59 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXT_SUBSET_NOT_FINISHED : xmlParserErrors = 60 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_DOCTYPE_NOT_FINISHED : xmlParserErrors = 61 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MISPLACED_CDATA_END : xmlParserErrors = 62 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CDATA_NOT_FINISHED : xmlParserErrors = 63 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_RESERVED_XML_NAME : xmlParserErrors = 64 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_SPACE_REQUIRED : xmlParserErrors = 65 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_SEPARATOR_REQUIRED : xmlParserErrors = 66 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NMTOKEN_REQUIRED : xmlParserErrors = 67 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NAME_REQUIRED : xmlParserErrors = 68 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PCDATA_REQUIRED : xmlParserErrors = 69 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_URI_REQUIRED : xmlParserErrors = 70 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PUBID_REQUIRED : xmlParserErrors = 71 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LT_REQUIRED : xmlParserErrors = 72 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_GT_REQUIRED : xmlParserErrors = 73 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LTSLASH_REQUIRED : xmlParserErrors = 74 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EQUAL_REQUIRED : xmlParserErrors = 75 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_TAG_NAME_MISMATCH : xmlParserErrors = 76 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_TAG_NOT_FINISHED : xmlParserErrors = 77 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STANDALONE_VALUE : xmlParserErrors = 78 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENCODING_NAME : xmlParserErrors = 79 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_HYPHEN_IN_COMMENT : xmlParserErrors = 80 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_INVALID_ENCODING : xmlParserErrors = 81 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXT_ENTITY_STANDALONE : xmlParserErrors = 82 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_INVALID : xmlParserErrors = 83 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VALUE_REQUIRED : xmlParserErrors = 84 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOT_WELL_BALANCED : xmlParserErrors = 85 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXTRA_CONTENT : xmlParserErrors = 86 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_CHAR_ERROR : xmlParserErrors = 87 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_PE_INTERNAL : xmlParserErrors = 88 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_LOOP : xmlParserErrors = 89 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_BOUNDARY : xmlParserErrors = 90 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_INVALID_URI : xmlParserErrors = 91 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_URI_FRAGMENT : xmlParserErrors = 92 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_CATALOG_PI : xmlParserErrors = 93 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NO_DTD : xmlParserErrors = 94 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_INVALID_KEYWORD : xmlParserErrors = 95 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VERSION_MISSING : xmlParserErrors = 96 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_UNKNOWN_VERSION : xmlParserErrors = 97 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_LANG_VALUE : xmlParserErrors = 98 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_URI : xmlParserErrors = 99 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_URI_RELATIVE : xmlParserErrors = 100 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MISSING_ENCODING : xmlParserErrors = 101 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_SPACE_VALUE : xmlParserErrors = 102 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOT_STANDALONE : xmlParserErrors = 103 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_PROCESSING : xmlParserErrors = 104 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_PROCESSING : xmlParserErrors = 105 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_COLUMN : xmlParserErrors = 106 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_ENTITY_REDEFINED : xmlParserErrors = 107 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_UNKNOWN_VERSION : xmlParserErrors = 108 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VERSION_MISMATCH : xmlParserErrors = 109 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NAME_TOO_LONG : xmlParserErrors = 110 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_USER_STOP : xmlParserErrors = 111 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_COMMENT_ABRUPTLY_ENDED : xmlParserErrors = 112 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_ENCODING_MISMATCH : xmlParserErrors = 113 ; # [doc = " Internal resource limit like maximum amplification\n factor exceeded."] pub const xmlParserErrors_XML_ERR_RESOURCE_LIMIT : xmlParserErrors = 114 ; # [doc = " Invalid argument."] pub const xmlParserErrors_XML_ERR_ARGUMENT : xmlParserErrors = 115 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_SYSTEM : xmlParserErrors = 116 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_REDECL_PREDEF_ENTITY : xmlParserErrors = 117 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_INT_SUBSET_NOT_FINISHED : xmlParserErrors = 118 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_XML_NAMESPACE : xmlParserErrors = 200 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_UNDEFINED_NAMESPACE : xmlParserErrors = 201 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_QNAME : xmlParserErrors = 202 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_ATTRIBUTE_REDEFINED : xmlParserErrors = 203 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_EMPTY : xmlParserErrors = 204 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_COLON : xmlParserErrors = 205 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_DEFAULT : xmlParserErrors = 500 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_REDEFINED : xmlParserErrors = 501 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_VALUE : xmlParserErrors = 502 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_ERROR : xmlParserErrors = 503 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_MODEL : xmlParserErrors = 504 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_NOT_DETERMINIST : xmlParserErrors = 505 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_DIFFERENT_PREFIX : xmlParserErrors = 506 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_DEFAULT_NAMESPACE : xmlParserErrors = 507 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_NAMESPACE : xmlParserErrors = 508 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_REDEFINED : xmlParserErrors = 509 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_EMPTY_NOTATION : xmlParserErrors = 510 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ENTITY_TYPE : xmlParserErrors = 511 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_FIXED : xmlParserErrors = 512 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_REDEFINED : xmlParserErrors = 513 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_SUBSET : xmlParserErrors = 514 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_INVALID_CHILD : xmlParserErrors = 515 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_INVALID_DEFAULT : xmlParserErrors = 516 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_LOAD_ERROR : xmlParserErrors = 517 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MISSING_ATTRIBUTE : xmlParserErrors = 518 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MIXED_CORRUPT : xmlParserErrors = 519 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MULTIPLE_ID : xmlParserErrors = 520 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_DOC : xmlParserErrors = 521 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_DTD : xmlParserErrors = 522 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_ELEM_NAME : xmlParserErrors = 523 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_PREFIX : xmlParserErrors = 524 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_ROOT : xmlParserErrors = 525 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOTATION_REDEFINED : xmlParserErrors = 526 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOTATION_VALUE : xmlParserErrors = 527 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_EMPTY : xmlParserErrors = 528 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_PCDATA : xmlParserErrors = 529 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_STANDALONE : xmlParserErrors = 530 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ROOT_NAME : xmlParserErrors = 531 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_STANDALONE_WHITE_SPACE : xmlParserErrors = 532 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ATTRIBUTE : xmlParserErrors = 533 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ELEM : xmlParserErrors = 534 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ENTITY : xmlParserErrors = 535 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ID : xmlParserErrors = 536 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_NOTATION : xmlParserErrors = 537 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_STANDALONE_DEFAULTED : xmlParserErrors = 538 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_XMLID_VALUE : xmlParserErrors = 539 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_XMLID_TYPE : xmlParserErrors = 540 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_DUP_TOKEN : xmlParserErrors = 541 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_STRUCURE_ERROR : xmlParserErrors = 800 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_UNKNOWN_TAG : xmlParserErrors = 801 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_INCORRECTLY_OPENED_COMMENT : xmlParserErrors = 802 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ANYNAME_ATTR_ANCESTOR : xmlParserErrors = 1000 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTR_CONFLICT : xmlParserErrors = 1001 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_CHILDREN : xmlParserErrors = 1002 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_CONTENT : xmlParserErrors = 1003 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_EMPTY : xmlParserErrors = 1004 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_NOOP : xmlParserErrors = 1005 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CHOICE_CONTENT : xmlParserErrors = 1006 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CHOICE_EMPTY : xmlParserErrors = 1007 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CREATE_FAILURE : xmlParserErrors = 1008 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DATA_CONTENT : xmlParserErrors = 1009 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEF_CHOICE_AND_INTERLEAVE : xmlParserErrors = 1010 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_CREATE_FAILED : xmlParserErrors = 1011 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_EMPTY : xmlParserErrors = 1012 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_MISSING : xmlParserErrors = 1013 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_NAME_MISSING : xmlParserErrors = 1014 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_CONTENT_EMPTY : xmlParserErrors = 1015 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_CONTENT_ERROR : xmlParserErrors = 1016 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_EMPTY : xmlParserErrors = 1017 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_CONTENT : xmlParserErrors = 1018 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_NAME : xmlParserErrors = 1019 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_NO_CONTENT : xmlParserErrors = 1020 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_TEXT_CONFLICT : xmlParserErrors = 1021 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY : xmlParserErrors = 1022 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_CONSTRUCT : xmlParserErrors = 1023 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_CONTENT : xmlParserErrors = 1024 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_NOT_EMPTY : xmlParserErrors = 1025 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ERROR_TYPE_LIB : xmlParserErrors = 1026 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_EMPTY : xmlParserErrors = 1027 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_MISSING : xmlParserErrors = 1028 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_MULTIPLE : xmlParserErrors = 1029 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_NO_CONTENT : xmlParserErrors = 1030 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNALREF_EMTPY : xmlParserErrors = 1031 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNAL_REF_FAILURE : xmlParserErrors = 1032 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNALREF_RECURSE : xmlParserErrors = 1033 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_FORBIDDEN_ATTRIBUTE : xmlParserErrors = 1034 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_FOREIGN_ELEMENT : xmlParserErrors = 1035 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_CONTENT : xmlParserErrors = 1036 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_EMPTY : xmlParserErrors = 1037 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_MISSING : xmlParserErrors = 1038 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_NO_START : xmlParserErrors = 1039 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GROUP_ATTR_CONFLICT : xmlParserErrors = 1040 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_HREF_ERROR : xmlParserErrors = 1041 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_EMPTY : xmlParserErrors = 1042 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_FAILURE : xmlParserErrors = 1043 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_RECURSE : xmlParserErrors = 1044 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_ADD : xmlParserErrors = 1045 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_CREATE_FAILED : xmlParserErrors = 1046 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_EMPTY : xmlParserErrors = 1047 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_NO_CONTENT : xmlParserErrors = 1048 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_DEFINE_NAME : xmlParserErrors = 1049 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_URI : xmlParserErrors = 1050 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_VALUE : xmlParserErrors = 1051 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_MISSING_HREF : xmlParserErrors = 1052 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NAME_MISSING : xmlParserErrors = 1053 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NEED_COMBINE : xmlParserErrors = 1054 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NOTALLOWED_NOT_EMPTY : xmlParserErrors = 1055 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NSNAME_ATTR_ANCESTOR : xmlParserErrors = 1056 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NSNAME_NO_NS : xmlParserErrors = 1057 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARAM_FORBIDDEN : xmlParserErrors = 1058 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARAM_NAME_MISSING : xmlParserErrors = 1059 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_CREATE_FAILED : xmlParserErrors = 1060 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NAME_INVALID : xmlParserErrors = 1061 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NO_NAME : xmlParserErrors = 1062 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NO_PARENT : xmlParserErrors = 1063 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NOT_EMPTY : xmlParserErrors = 1064 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARSE_ERROR : xmlParserErrors = 1065 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ANYNAME_EXCEPT_ANYNAME : xmlParserErrors = 1066 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ATTR_ATTR : xmlParserErrors = 1067 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ATTR_ELEM : xmlParserErrors = 1068 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ATTR : xmlParserErrors = 1069 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ELEM : xmlParserErrors = 1070 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_EMPTY : xmlParserErrors = 1071 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_GROUP : xmlParserErrors = 1072 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_INTERLEAVE : xmlParserErrors = 1073 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_LIST : xmlParserErrors = 1074 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ONEMORE : xmlParserErrors = 1075 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_REF : xmlParserErrors = 1076 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_TEXT : xmlParserErrors = 1077 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_ATTR : xmlParserErrors = 1078 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_ELEM : xmlParserErrors = 1079 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_INTERLEAVE : xmlParserErrors = 1080 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_LIST : xmlParserErrors = 1081 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_REF : xmlParserErrors = 1082 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_TEXT : xmlParserErrors = 1083 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_NSNAME_EXCEPT_ANYNAME : xmlParserErrors = 1084 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_NSNAME_EXCEPT_NSNAME : xmlParserErrors = 1085 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ONEMORE_GROUP_ATTR : xmlParserErrors = 1086 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ONEMORE_INTERLEAVE_ATTR : xmlParserErrors = 1087 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_ATTR : xmlParserErrors = 1088 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_DATA : xmlParserErrors = 1089 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_EMPTY : xmlParserErrors = 1090 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_GROUP : xmlParserErrors = 1091 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_INTERLEAVE : xmlParserErrors = 1092 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_LIST : xmlParserErrors = 1093 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_ONEMORE : xmlParserErrors = 1094 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_TEXT : xmlParserErrors = 1095 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_VALUE : xmlParserErrors = 1096 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PREFIX_UNDEFINED : xmlParserErrors = 1097 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_CREATE_FAILED : xmlParserErrors = 1098 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_CYCLE : xmlParserErrors = 1099 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NAME_INVALID : xmlParserErrors = 1100 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NO_DEF : xmlParserErrors = 1101 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NO_NAME : xmlParserErrors = 1102 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NOT_EMPTY : xmlParserErrors = 1103 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_CHOICE_AND_INTERLEAVE : xmlParserErrors = 1104 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_CONTENT : xmlParserErrors = 1105 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_EMPTY : xmlParserErrors = 1106 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_MISSING : xmlParserErrors = 1107 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TEXT_EXPECTED : xmlParserErrors = 1108 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TEXT_HAS_CHILD : xmlParserErrors = 1109 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_MISSING : xmlParserErrors = 1110 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_NOT_FOUND : xmlParserErrors = 1111 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_VALUE : xmlParserErrors = 1112 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_ATTRIBUTE : xmlParserErrors = 1113 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_COMBINE : xmlParserErrors = 1114 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_CONSTRUCT : xmlParserErrors = 1115 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_TYPE_LIB : xmlParserErrors = 1116 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_URI_FRAGMENT : xmlParserErrors = 1117 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_URI_NOT_ABSOLUTE : xmlParserErrors = 1118 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_VALUE_EMPTY : xmlParserErrors = 1119 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_VALUE_NO_CONTENT : xmlParserErrors = 1120 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_XMLNS_NAME : xmlParserErrors = 1121 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_XML_NS : xmlParserErrors = 1122 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_EXPRESSION_OK : xmlParserErrors = 1200 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_NUMBER_ERROR : xmlParserErrors = 1201 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNFINISHED_LITERAL_ERROR : xmlParserErrors = 1202 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_START_LITERAL_ERROR : xmlParserErrors = 1203 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_VARIABLE_REF_ERROR : xmlParserErrors = 1204 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNDEF_VARIABLE_ERROR : xmlParserErrors = 1205 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_PREDICATE_ERROR : xmlParserErrors = 1206 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_EXPR_ERROR : xmlParserErrors = 1207 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNCLOSED_ERROR : xmlParserErrors = 1208 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNKNOWN_FUNC_ERROR : xmlParserErrors = 1209 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_OPERAND : xmlParserErrors = 1210 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_TYPE : xmlParserErrors = 1211 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_ARITY : xmlParserErrors = 1212 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CTXT_SIZE : xmlParserErrors = 1213 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CTXT_POSITION : xmlParserErrors = 1214 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_MEMORY_ERROR : xmlParserErrors = 1215 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_SYNTAX_ERROR : xmlParserErrors = 1216 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_RESOURCE_ERROR : xmlParserErrors = 1217 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_SUB_RESOURCE_ERROR : xmlParserErrors = 1218 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNDEF_PREFIX_ERROR : xmlParserErrors = 1219 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_ENCODING_ERROR : xmlParserErrors = 1220 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CHAR_ERROR : xmlParserErrors = 1221 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_INVALID_HEX : xmlParserErrors = 1300 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_INVALID_DEC : xmlParserErrors = 1301 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_UNTERMINATED_ENTITY : xmlParserErrors = 1302 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_NOT_UTF8 : xmlParserErrors = 1303 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_NOT_UTF8 : xmlParserErrors = 1400 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_CHAR_INVALID : xmlParserErrors = 1401 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_NO_DOCTYPE : xmlParserErrors = 1402 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_UNKNOWN_ENCODING : xmlParserErrors = 1403 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_REGEXP_COMPILE_ERROR : xmlParserErrors = 1450 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_UNKNOWN : xmlParserErrors = 1500 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EACCES : xmlParserErrors = 1501 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EAGAIN : xmlParserErrors = 1502 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBADF : xmlParserErrors = 1503 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBADMSG : xmlParserErrors = 1504 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBUSY : xmlParserErrors = 1505 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ECANCELED : xmlParserErrors = 1506 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ECHILD : xmlParserErrors = 1507 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EDEADLK : xmlParserErrors = 1508 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EDOM : xmlParserErrors = 1509 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EEXIST : xmlParserErrors = 1510 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EFAULT : xmlParserErrors = 1511 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EFBIG : xmlParserErrors = 1512 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINPROGRESS : xmlParserErrors = 1513 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINTR : xmlParserErrors = 1514 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINVAL : xmlParserErrors = 1515 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EIO : xmlParserErrors = 1516 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EISDIR : xmlParserErrors = 1517 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMFILE : xmlParserErrors = 1518 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMLINK : xmlParserErrors = 1519 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMSGSIZE : xmlParserErrors = 1520 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENAMETOOLONG : xmlParserErrors = 1521 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENFILE : xmlParserErrors = 1522 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENODEV : xmlParserErrors = 1523 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOENT : xmlParserErrors = 1524 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOEXEC : xmlParserErrors = 1525 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOLCK : xmlParserErrors = 1526 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOMEM : xmlParserErrors = 1527 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOSPC : xmlParserErrors = 1528 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOSYS : xmlParserErrors = 1529 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTDIR : xmlParserErrors = 1530 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTEMPTY : xmlParserErrors = 1531 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTSUP : xmlParserErrors = 1532 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTTY : xmlParserErrors = 1533 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENXIO : xmlParserErrors = 1534 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EPERM : xmlParserErrors = 1535 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EPIPE : xmlParserErrors = 1536 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ERANGE : xmlParserErrors = 1537 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EROFS : xmlParserErrors = 1538 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ESPIPE : xmlParserErrors = 1539 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ESRCH : xmlParserErrors = 1540 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ETIMEDOUT : xmlParserErrors = 1541 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EXDEV : xmlParserErrors = 1542 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_NETWORK_ATTEMPT : xmlParserErrors = 1543 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENCODER : xmlParserErrors = 1544 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_FLUSH : xmlParserErrors = 1545 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_WRITE : xmlParserErrors = 1546 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_NO_INPUT : xmlParserErrors = 1547 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_BUFFER_FULL : xmlParserErrors = 1548 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_LOAD_ERROR : xmlParserErrors = 1549 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTSOCK : xmlParserErrors = 1550 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EISCONN : xmlParserErrors = 1551 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ECONNREFUSED : xmlParserErrors = 1552 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENETUNREACH : xmlParserErrors = 1553 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EADDRINUSE : xmlParserErrors = 1554 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EALREADY : xmlParserErrors = 1555 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EAFNOSUPPORT : xmlParserErrors = 1556 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_UNSUPPORTED_PROTOCOL : xmlParserErrors = 1557 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_RECURSION : xmlParserErrors = 1600 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_PARSE_VALUE : xmlParserErrors = 1601 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_ENTITY_DEF_MISMATCH : xmlParserErrors = 1602 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_NO_HREF : xmlParserErrors = 1603 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_NO_FALLBACK : xmlParserErrors = 1604 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_HREF_URI : xmlParserErrors = 1605 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_TEXT_FRAGMENT : xmlParserErrors = 1606 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_TEXT_DOCUMENT : xmlParserErrors = 1607 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_INVALID_CHAR : xmlParserErrors = 1608 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_BUILD_FAILED : xmlParserErrors = 1609 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_UNKNOWN_ENCODING : xmlParserErrors = 1610 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_MULTIPLE_ROOT : xmlParserErrors = 1611 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_XPTR_FAILED : xmlParserErrors = 1612 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_XPTR_RESULT : xmlParserErrors = 1613 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_INCLUDE_IN_INCLUDE : xmlParserErrors = 1614 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FALLBACKS_IN_INCLUDE : xmlParserErrors = 1615 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FALLBACK_NOT_IN_INCLUDE : xmlParserErrors = 1616 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_DEPRECATED_NS : xmlParserErrors = 1617 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FRAGMENT_ID : xmlParserErrors = 1618 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_MISSING_ATTR : xmlParserErrors = 1650 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_ENTRY_BROKEN : xmlParserErrors = 1651 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_PREFER_VALUE : xmlParserErrors = 1652 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_NOT_CATALOG : xmlParserErrors = 1653 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_RECURSION : xmlParserErrors = 1654 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_PREFIX_UNDEFINED : xmlParserErrors = 1700 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTRFORMDEFAULT_VALUE : xmlParserErrors = 1701 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTRGRP_NONAME_NOREF : xmlParserErrors = 1702 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTR_NONAME_NOREF : xmlParserErrors = 1703 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COMPLEXTYPE_NONAME_NOREF : xmlParserErrors = 1704 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEMFORMDEFAULT_VALUE : xmlParserErrors = 1705 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEM_NONAME_NOREF : xmlParserErrors = 1706 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_EXTENSION_NO_BASE : xmlParserErrors = 1707 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FACET_NO_VALUE : xmlParserErrors = 1708 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_BUILD_IMPORT : xmlParserErrors = 1709 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_GROUP_NONAME_NOREF : xmlParserErrors = 1710 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_NAMESPACE_NOT_URI : xmlParserErrors = 1711 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_REDEFINE_NSNAME : xmlParserErrors = 1712 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_SCHEMA_NOT_URI : xmlParserErrors = 1713 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_BOOLEAN : xmlParserErrors = 1714 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ENUM : xmlParserErrors = 1715 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_FACET : xmlParserErrors = 1716 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_FACET_VALUE : xmlParserErrors = 1717 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_MAXOCCURS : xmlParserErrors = 1718 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_MINOCCURS : xmlParserErrors = 1719 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_REF_AND_SUBTYPE : xmlParserErrors = 1720 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_WHITE_SPACE : xmlParserErrors = 1721 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOATTR_NOREF : xmlParserErrors = 1722 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTATION_NO_NAME : xmlParserErrors = 1723 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTYPE_NOREF : xmlParserErrors = 1724 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REF_AND_SUBTYPE : xmlParserErrors = 1725 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_RESTRICTION_NONAME_NOREF : xmlParserErrors = 1726 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SIMPLETYPE_NONAME : xmlParserErrors = 1727 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_TYPE_AND_SUBTYPE : xmlParserErrors = 1728 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ALL_CHILD : xmlParserErrors = 1729 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ANYATTRIBUTE_CHILD : xmlParserErrors = 1730 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTR_CHILD : xmlParserErrors = 1731 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTRGRP_CHILD : xmlParserErrors = 1732 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTRIBUTE_GROUP : xmlParserErrors = 1733 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_BASE_TYPE : xmlParserErrors = 1734 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_CHOICE_CHILD : xmlParserErrors = 1735 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_COMPLEXCONTENT_CHILD : xmlParserErrors = 1736 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_COMPLEXTYPE_CHILD : xmlParserErrors = 1737 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ELEM_CHILD : xmlParserErrors = 1738 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_EXTENSION_CHILD : xmlParserErrors = 1739 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_FACET_CHILD : xmlParserErrors = 1740 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_FACET_TYPE : xmlParserErrors = 1741 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_GROUP_CHILD : xmlParserErrors = 1742 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_IMPORT_CHILD : xmlParserErrors = 1743 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_LIST_CHILD : xmlParserErrors = 1744 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_NOTATION_CHILD : xmlParserErrors = 1745 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_PROCESSCONTENT_CHILD : xmlParserErrors = 1746 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_REF : xmlParserErrors = 1747 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_RESTRICTION_CHILD : xmlParserErrors = 1748 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SCHEMAS_CHILD : xmlParserErrors = 1749 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SEQUENCE_CHILD : xmlParserErrors = 1750 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SIMPLECONTENT_CHILD : xmlParserErrors = 1751 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SIMPLETYPE_CHILD : xmlParserErrors = 1752 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_TYPE : xmlParserErrors = 1753 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_UNION_CHILD : xmlParserErrors = 1754 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEM_DEFAULT_FIXED : xmlParserErrors = 1755 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REGEXP_INVALID : xmlParserErrors = 1756 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_LOAD : xmlParserErrors = 1757 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTHING_TO_PARSE : xmlParserErrors = 1758 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOROOT : xmlParserErrors = 1759 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_GROUP : xmlParserErrors = 1760 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_TYPE : xmlParserErrors = 1761 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ELEMENT : xmlParserErrors = 1762 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ATTRGROUP : xmlParserErrors = 1763 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ATTR : xmlParserErrors = 1764 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_NOTATION : xmlParserErrors = 1765 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_PARSE : xmlParserErrors = 1766 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_PREFIX : xmlParserErrors = 1767 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DEF_AND_PREFIX : xmlParserErrors = 1768 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_INCLUDE_CHILD : xmlParserErrors = 1769 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INCLUDE_SCHEMA_NOT_URI : xmlParserErrors = 1770 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INCLUDE_SCHEMA_NO_URI : xmlParserErrors = 1771 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOT_SCHEMA : xmlParserErrors = 1772 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_MEMBER_TYPE : xmlParserErrors = 1773 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_USE : xmlParserErrors = 1774 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_RECURSIVE : xmlParserErrors = 1775 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPE : xmlParserErrors = 1776 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_COMBINATION : xmlParserErrors = 1777 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_INLINE_COMBINATION : xmlParserErrors = 1778 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MISSING_SIMPLETYPE_CHILD : xmlParserErrors = 1779 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_NAME : xmlParserErrors = 1780 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REF_AND_CONTENT : xmlParserErrors = 1781 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_1 : xmlParserErrors = 1782 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_2 : xmlParserErrors = 1783 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_3 : xmlParserErrors = 1784 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_4 : xmlParserErrors = 1785 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_5 : xmlParserErrors = 1786 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_1 : xmlParserErrors = 1787 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_1 : xmlParserErrors = 1788 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_2 : xmlParserErrors = 1789 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_2 : xmlParserErrors = 1790 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_3 : xmlParserErrors = 1791 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WILDCARD_INVALID_NS_MEMBER : xmlParserErrors = 1792 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INTERSECTION_NOT_EXPRESSIBLE : xmlParserErrors = 1793 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNION_NOT_EXPRESSIBLE : xmlParserErrors = 1794 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_3_1 : xmlParserErrors = 1795 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_3_2 : xmlParserErrors = 1796 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_1 : xmlParserErrors = 1797 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_2 : xmlParserErrors = 1798 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_3 : xmlParserErrors = 1799 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_3 : xmlParserErrors = 1800 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOROOT : xmlParserErrors = 1801 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_UNDECLAREDELEM : xmlParserErrors = 1802 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTTOPLEVEL : xmlParserErrors = 1803 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_MISSING : xmlParserErrors = 1804 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_WRONGELEM : xmlParserErrors = 1805 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTYPE : xmlParserErrors = 1806 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOROLLBACK : xmlParserErrors = 1807 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ISABSTRACT : xmlParserErrors = 1808 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTEMPTY : xmlParserErrors = 1809 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ELEMCONT : xmlParserErrors = 1810 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_HAVEDEFAULT : xmlParserErrors = 1811 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTNILLABLE : xmlParserErrors = 1812 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_EXTRACONTENT : xmlParserErrors = 1813 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INVALIDATTR : xmlParserErrors = 1814 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INVALIDELEM : xmlParserErrors = 1815 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTDETERMINIST : xmlParserErrors = 1816 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CONSTRUCT : xmlParserErrors = 1817 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INTERNAL : xmlParserErrors = 1818 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTSIMPLE : xmlParserErrors = 1819 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ATTRUNKNOWN : xmlParserErrors = 1820 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ATTRINVALID : xmlParserErrors = 1821 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_VALUE : xmlParserErrors = 1822 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_FACET : xmlParserErrors = 1823 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_1 : xmlParserErrors = 1824 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_2 : xmlParserErrors = 1825 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_3 : xmlParserErrors = 1826 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_3_1_1 : xmlParserErrors = 1827 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_3_1_2 : xmlParserErrors = 1828 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_FACET_VALID : xmlParserErrors = 1829 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_LENGTH_VALID : xmlParserErrors = 1830 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MINLENGTH_VALID : xmlParserErrors = 1831 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXLENGTH_VALID : xmlParserErrors = 1832 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MININCLUSIVE_VALID : xmlParserErrors = 1833 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXINCLUSIVE_VALID : xmlParserErrors = 1834 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MINEXCLUSIVE_VALID : xmlParserErrors = 1835 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXEXCLUSIVE_VALID : xmlParserErrors = 1836 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TOTALDIGITS_VALID : xmlParserErrors = 1837 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_FRACTIONDIGITS_VALID : xmlParserErrors = 1838 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_PATTERN_VALID : xmlParserErrors = 1839 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ENUMERATION_VALID : xmlParserErrors = 1840 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_1 : xmlParserErrors = 1841 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_2 : xmlParserErrors = 1842 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_3 : xmlParserErrors = 1843 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_4 : xmlParserErrors = 1844 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_1 : xmlParserErrors = 1845 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_2 : xmlParserErrors = 1846 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_1 : xmlParserErrors = 1847 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_2_1 : xmlParserErrors = 1848 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_2_2 : xmlParserErrors = 1849 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_1 : xmlParserErrors = 1850 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_2 : xmlParserErrors = 1851 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_3 : xmlParserErrors = 1852 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_1_1 : xmlParserErrors = 1853 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_1_2 : xmlParserErrors = 1854 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_1 : xmlParserErrors = 1855 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_1 : xmlParserErrors = 1856 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_2_1 : xmlParserErrors = 1857 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_2_2 : xmlParserErrors = 1858 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_6 : xmlParserErrors = 1859 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_7 : xmlParserErrors = 1860 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_1 : xmlParserErrors = 1861 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_2 : xmlParserErrors = 1862 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_3 : xmlParserErrors = 1863 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_4 : xmlParserErrors = 1864 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_1 : xmlParserErrors = 1865 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_1 : xmlParserErrors = 1866 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_2 : xmlParserErrors = 1867 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_4 : xmlParserErrors = 1868 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_5_1 : xmlParserErrors = 1869 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_5_2 : xmlParserErrors = 1870 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ELEMENT_CONTENT : xmlParserErrors = 1871 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_DOCUMENT_ELEMENT_MISSING : xmlParserErrors = 1872 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_1 : xmlParserErrors = 1873 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_AU : xmlParserErrors = 1874 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_1 : xmlParserErrors = 1875 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_2 : xmlParserErrors = 1876 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_IDC : xmlParserErrors = 1877 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_WILDCARD : xmlParserErrors = 1878 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_MISC : xmlParserErrors = 1879 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_UNKNOWN_SCHEME : xmlParserErrors = 1900 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_CHILDSEQ_START : xmlParserErrors = 1901 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_EVAL_FAILED : xmlParserErrors = 1902 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_EXTRA_OBJECTS : xmlParserErrors = 1903 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_CREATE_CTXT : xmlParserErrors = 1950 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_REQUIRES_UTF8 : xmlParserErrors = 1951 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_CREATE_STACK : xmlParserErrors = 1952 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_INVALID_NODE : xmlParserErrors = 1953 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_UNKNOW_NODE : xmlParserErrors = 1954 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_RELATIVE_NAMESPACE : xmlParserErrors = 1955 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_PASV_ANSWER : xmlParserErrors = 2000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_EPSV_ANSWER : xmlParserErrors = 2001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_ACCNT : xmlParserErrors = 2002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_URL_SYNTAX : xmlParserErrors = 2003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_URL_SYNTAX : xmlParserErrors = 2020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_USE_IP : xmlParserErrors = 2021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_UNKNOWN_HOST : xmlParserErrors = 2022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_1 : xmlParserErrors = 3000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_2 : xmlParserErrors = 3001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_3 : xmlParserErrors = 3002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_4 : xmlParserErrors = 3003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_RESOLVE : xmlParserErrors = 3004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE : xmlParserErrors = 3005 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE : xmlParserErrors = 3006 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPES : xmlParserErrors = 3007 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_1 : xmlParserErrors = 3008 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_2 : xmlParserErrors = 3009 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_3 : xmlParserErrors = 3010 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_1 : xmlParserErrors = 3011 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_2 : xmlParserErrors = 3012 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_3_1 : xmlParserErrors = 3013 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_3_2 : xmlParserErrors = 3014 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_1 : xmlParserErrors = 3015 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_1 : xmlParserErrors = 3016 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_2 : xmlParserErrors = 3017 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_1 : xmlParserErrors = 3018 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_2 : xmlParserErrors = 3019 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_3 : xmlParserErrors = 3020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_4 : xmlParserErrors = 3021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_5 : xmlParserErrors = 3022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_1 : xmlParserErrors = 3023 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1 : xmlParserErrors = 3024 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1_2 : xmlParserErrors = 3025 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_2 : xmlParserErrors = 3026 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_1 : xmlParserErrors = 3027 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_3 : xmlParserErrors = 3028 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_4 : xmlParserErrors = 3029 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_5 : xmlParserErrors = 3030 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_DERIVED_OK_2_1 : xmlParserErrors = 3031 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_DERIVED_OK_2_2 : xmlParserErrors = 3032 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ELEM_NOT_ALLOWED : xmlParserErrors = 3033 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ELEM_MISSING : xmlParserErrors = 3034 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_NOT_ALLOWED : xmlParserErrors = 3035 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_MISSING : xmlParserErrors = 3036 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_INVALID_VALUE : xmlParserErrors = 3037 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_1 : xmlParserErrors = 3038 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_2_1 : xmlParserErrors = 3039 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_2_2 : xmlParserErrors = 3040 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_3 : xmlParserErrors = 3041 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_1 : xmlParserErrors = 3042 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_2_1 : xmlParserErrors = 3043 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_2_2 : xmlParserErrors = 3044 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_2 : xmlParserErrors = 3045 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_3 : xmlParserErrors = 3046 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_4 : xmlParserErrors = 3047 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_5 : xmlParserErrors = 3048 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_6 : xmlParserErrors = 3049 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_INCLUDE : xmlParserErrors = 3050 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_1 : xmlParserErrors = 3051 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_2 : xmlParserErrors = 3052 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_3_1 : xmlParserErrors = 3053 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_3_2 : xmlParserErrors = 3054 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_4 : xmlParserErrors = 3055 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NO_XMLNS : xmlParserErrors = 3056 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NO_XSI : xmlParserErrors = 3057 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_1 : xmlParserErrors = 3058 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_1 : xmlParserErrors = 3059 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_2_1 : xmlParserErrors = 3060 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_2_2 : xmlParserErrors = 3061 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CVC_SIMPLE_TYPE : xmlParserErrors = 3062 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_1 : xmlParserErrors = 3063 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_1_1 : xmlParserErrors = 3064 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_1_2 : xmlParserErrors = 3065 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2 : xmlParserErrors = 3066 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2_1 : xmlParserErrors = 3067 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2_2 : xmlParserErrors = 3068 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INTERNAL : xmlParserErrors = 3069 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOT_DETERMINISTIC : xmlParserErrors = 3070 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_1 : xmlParserErrors = 3071 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_2 : xmlParserErrors = 3072 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_3 : xmlParserErrors = 3073 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MG_PROPS_CORRECT_1 : xmlParserErrors = 3074 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MG_PROPS_CORRECT_2 : xmlParserErrors = 3075 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_CT_1 : xmlParserErrors = 3076 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_3 : xmlParserErrors = 3077 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AU_PROPS_CORRECT_2 : xmlParserErrors = 3078 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_A_PROPS_CORRECT_2 : xmlParserErrors = 3079 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_C_PROPS_CORRECT : xmlParserErrors = 3080 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_REDEFINE : xmlParserErrors = 3081 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT : xmlParserErrors = 3082 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_SKIP_SCHEMA : xmlParserErrors = 3083 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_UNLOCATED_SCHEMA : xmlParserErrors = 3084 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_ATTR_REDECL_PROH : xmlParserErrors = 3085 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_ATTR_POINTLESS_PROH : xmlParserErrors = 3086 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AG_PROPS_CORRECT : xmlParserErrors = 3087 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_2 : xmlParserErrors = 3088 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AU_PROPS_CORRECT : xmlParserErrors = 3089 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_A_PROPS_CORRECT_3 : xmlParserErrors = 3090 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ALL_LIMITED : xmlParserErrors = 3091 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMATRONV_ASSERT : xmlParserErrors = 4000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMATRONV_REPORT : xmlParserErrors = 4001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_MODULE_OPEN : xmlParserErrors = 4900 ; # [doc = " File not found."] pub const xmlParserErrors_XML_MODULE_CLOSE : xmlParserErrors = 4901 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ELEMENT : xmlParserErrors = 5000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ATTRIBUTE : xmlParserErrors = 5001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_TEXT : xmlParserErrors = 5002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_CDATA : xmlParserErrors = 5003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ENTITYREF : xmlParserErrors = 5004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ENTITY : xmlParserErrors = 5005 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_PI : xmlParserErrors = 5006 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_COMMENT : xmlParserErrors = 5007 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_DOCTYPE : xmlParserErrors = 5008 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_FRAGMENT : xmlParserErrors = 5009 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_NOTATION : xmlParserErrors = 5010 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_UNKNOWN_NODE : xmlParserErrors = 5011 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_ENTITY_TYPE : xmlParserErrors = 5012 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_PARENT : xmlParserErrors = 5013 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_DOC : xmlParserErrors = 5014 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_NAME : xmlParserErrors = 5015 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_ELEM : xmlParserErrors = 5016 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_DOC : xmlParserErrors = 5017 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_PREV : xmlParserErrors = 5018 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_PREV : xmlParserErrors = 5019 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_NEXT : xmlParserErrors = 5020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_NEXT : xmlParserErrors = 5021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_DTD : xmlParserErrors = 5022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ATTR : xmlParserErrors = 5023 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ATTR_DECL : xmlParserErrors = 5024 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ELEM_DECL : xmlParserErrors = 5025 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ENTITY_DECL : xmlParserErrors = 5026 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_NS_DECL : xmlParserErrors = 5027 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_HREF : xmlParserErrors = 5028 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_PARENT : xmlParserErrors = 5029 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NS_SCOPE : xmlParserErrors = 5030 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NS_ANCESTOR : xmlParserErrors = 5031 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_UTF8 : xmlParserErrors = 5032 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_DICT : xmlParserErrors = 5033 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_NCNAME : xmlParserErrors = 5034 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_OUTSIDE_DICT : xmlParserErrors = 5035 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_NAME : xmlParserErrors = 5036 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NAME_NOT_NULL : xmlParserErrors = 5037 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_NAME : xmlParserErrors = 6000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_HANDLER : xmlParserErrors = 6001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_EXCESS_HANDLER : xmlParserErrors = 6002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_CONV_FAILED : xmlParserErrors = 6003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_OUTPUT : xmlParserErrors = 6004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_BUF_OVERFLOW : xmlParserErrors = 7000 ; # [doc = " Error codes. Note that only some codes are documented."] pub type xmlParserErrors = :: std :: os :: raw :: c_uint ; # [doc = " Generic error callback.\n\n @deprecated in favor of structured errors.\n @param ctx  user data\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlGenericErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Structured error callback receiving an xmlError.\n\n @param userData  user provided data for the error callback\n @param error  the error being raised"] pub type xmlStructuredErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (userData : * mut :: std :: os :: raw :: c_void , error : * const xmlError) > ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlLastError () -> * const xmlError ; } unsafe extern "C" { pub fn __xmlGenericError () -> * mut xmlGenericErrorFunc ; } unsafe extern "C" { pub fn __xmlGenericErrorContext () -> * mut * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn __xmlStructuredError () -> * mut xmlStructuredErrorFunc ; } unsafe extern "C" { pub fn __xmlStructuredErrorContext () -> * mut * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlSetGenericErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlGenericErrorFunc) ; } unsafe extern "C" { pub fn xmlSetStructuredErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlStructuredErrorFunc) ; } unsafe extern "C" { pub fn xmlThrDefSetGenericErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlGenericErrorFunc) ; } unsafe extern "C" { pub fn xmlThrDefSetStructuredErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlStructuredErrorFunc) ; } unsafe extern "C" { pub fn xmlParserError (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserWarning (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserValidityError (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserValidityWarning (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserPrintFileInfo (input : * mut _xmlParserInput) ; } unsafe extern "C" { pub fn xmlParserPrintFileContext (input : * mut _xmlParserInput) ; } unsafe extern "C" { pub fn xmlFormatError (err : * const xmlError , channel : xmlGenericErrorFunc , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlGetLastError () -> * const xmlError ; } unsafe extern "C" { pub fn xmlResetLastError () ; } unsafe extern "C" { pub fn xmlCtxtGetLastError (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlError ; } unsafe extern "C" { pub fn xmlCtxtResetLastError (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlResetError (err : * mut xmlError) ; } unsafe extern "C" { pub fn xmlCopyError (from : * const xmlError , to : * mut xmlError) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlLink { _unused : [u8 ; 0] , } # [doc = " Linked list item\n\n @deprecated Don't use in new code."] pub type xmlLink = _xmlLink ; pub type xmlLinkPtr = * mut xmlLink ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlList { _unused : [u8 ; 0] , } # [doc = " Linked list\n\n @deprecated Don't use in new code."] pub type xmlList = _xmlList ; pub type xmlListPtr = * mut xmlList ; # [doc = " Callback function used to free data from a list.\n\n @param lk  the data to deallocate"] pub type xmlListDeallocator = :: std :: option :: Option < unsafe extern "C" fn (lk : * mut xmlLink) > ; # [doc = " Callback function used to compare 2 data.\n\n @param data0  the first data\n @param data1  the second data\n @returns 0 is equality, -1 or 1 otherwise depending on the ordering."] pub type xmlListDataCompare = :: std :: option :: Option < unsafe extern "C" fn (data0 : * const :: std :: os :: raw :: c_void , data1 : * const :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback function used when walking a list with #xmlListWalk.\n\n @param data  the data found in the list\n @param user  extra user provided data to the walker\n @returns 0 to stop walking the list, 1 otherwise."] pub type xmlListWalker = :: std :: option :: Option < unsafe extern "C" fn (data : * const :: std :: os :: raw :: c_void , user : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; unsafe extern "C" { pub fn xmlListCreate (deallocator : xmlListDeallocator , compare : xmlListDataCompare) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlListDelete (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListSearch (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlListReverseSearch (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlListInsert (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListAppend (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveFirst (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveLast (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveAll (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListClear (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListEmpty (l : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListFront (l : * mut xmlList) -> * mut xmlLink ; } unsafe extern "C" { pub fn xmlListEnd (l : * mut xmlList) -> * mut xmlLink ; } unsafe extern "C" { pub fn xmlListSize (l : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListPopFront (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListPopBack (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListPushFront (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListPushBack (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListReverse (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListSort (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListWalk (l : * mut xmlList , walker : xmlListWalker , user : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlListReverseWalk (l : * mut xmlList , walker : xmlListWalker , user : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlListMerge (l1 : * mut xmlList , l2 : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListDup (old : * mut xmlList) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlListCopy (cur : * mut xmlList , old : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlLinkGetData (lk : * mut xmlLink) -> * mut :: std :: os :: raw :: c_void ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAutomata { _unused : [u8 ; 0] , } # [doc = " A libxml automata description\n\n It can be compiled into a regexp"] pub type xmlAutomata = _xmlAutomata ; pub type xmlAutomataPtr = * mut xmlAutomata ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAutomataState { _unused : [u8 ; 0] , } # [doc = " A state in the automata description"] pub type xmlAutomataState = _xmlAutomataState ; pub type xmlAutomataStatePtr = * mut xmlAutomataState ; unsafe extern "C" { pub fn xmlNewAutomata () -> * mut xmlAutomata ; } unsafe extern "C" { pub fn xmlFreeAutomata (am : * mut xmlAutomata) ; } unsafe extern "C" { pub fn xmlAutomataGetInitState (am : * mut xmlAutomata) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataSetFinalState (am : * mut xmlAutomata , state : * mut xmlAutomataState) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAutomataNewState (am : * mut xmlAutomata) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewTransition (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewTransition2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewNegTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountTrans2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewOnceTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewOnceTrans2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewAllTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , lax : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewEpsilon (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountedTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , counter : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCounterTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , counter : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCounter (am : * mut xmlAutomata , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAutomataCompile (am : * mut xmlAutomata) -> * mut _xmlRegexp ; } unsafe extern "C" { pub fn xmlAutomataIsDeterminist (am : * mut xmlAutomata) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlValidState { _unused : [u8 ; 0] , } pub type xmlValidState = _xmlValidState ; pub type xmlValidStatePtr = * mut xmlValidState ; # [doc = " Report a validity error.\n\n @param ctx  user data (usually an xmlValidCtxt)\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlValidityErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Report a validity warning.\n\n @param ctx  user data (usually an xmlValidCtxt)\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlValidityWarningFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " An xmlValidCtxt is used for error reporting when validating."] pub type xmlValidCtxt = _xmlValidCtxt ; pub type xmlValidCtxtPtr = * mut xmlValidCtxt ; # [doc = " An xmlValidCtxt is used for error reporting when validating."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlValidCtxt { pub userData : * mut :: std :: os :: raw :: c_void , pub error : xmlValidityErrorFunc , pub warning : xmlValidityWarningFunc , pub node : * mut xmlNode , pub nodeNr : :: std :: os :: raw :: c_int , pub nodeMax : :: std :: os :: raw :: c_int , pub nodeTab : * mut * mut xmlNode , pub flags : :: std :: os :: raw :: c_uint , pub doc : * mut xmlDoc , pub valid : :: std :: os :: raw :: c_int , pub vstate : * mut xmlValidState , pub vstateNr : :: std :: os :: raw :: c_int , pub vstateMax : :: std :: os :: raw :: c_int , pub vstateTab : * mut xmlValidState , pub am : * mut xmlAutomata , pub state : * mut xmlAutomataState , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlValidCtxt"] [:: std :: mem :: size_of :: < _xmlValidCtxt > () - 112usize] ; ["Alignment of _xmlValidCtxt"] [:: std :: mem :: align_of :: < _xmlValidCtxt > () - 8usize] ; ["Offset of field: _xmlValidCtxt::userData"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , userData) - 0usize] ; ["Offset of field: _xmlValidCtxt::error"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , error) - 8usize] ; ["Offset of field: _xmlValidCtxt::warning"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , warning) - 16usize] ; ["Offset of field: _xmlValidCtxt::node"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , node) - 24usize] ; ["Offset of field: _xmlValidCtxt::nodeNr"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeNr) - 32usize] ; ["Offset of field: _xmlValidCtxt::nodeMax"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeMax) - 36usize] ; ["Offset of field: _xmlValidCtxt::nodeTab"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeTab) - 40usize] ; ["Offset of field: _xmlValidCtxt::flags"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , flags) - 48usize] ; ["Offset of field: _xmlValidCtxt::doc"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , doc) - 56usize] ; ["Offset of field: _xmlValidCtxt::valid"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , valid) - 64usize] ; ["Offset of field: _xmlValidCtxt::vstate"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstate) - 72usize] ; ["Offset of field: _xmlValidCtxt::vstateNr"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateNr) - 80usize] ; ["Offset of field: _xmlValidCtxt::vstateMax"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateMax) - 84usize] ; ["Offset of field: _xmlValidCtxt::vstateTab"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateTab) - 88usize] ; ["Offset of field: _xmlValidCtxt::am"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , am) - 96usize] ; ["Offset of field: _xmlValidCtxt::state"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , state) - 104usize] ; } ; pub type xmlNotationTable = _xmlHashTable ; pub type xmlNotationTablePtr = * mut xmlNotationTable ; pub type xmlElementTable = _xmlHashTable ; pub type xmlElementTablePtr = * mut xmlElementTable ; pub type xmlAttributeTable = _xmlHashTable ; pub type xmlAttributeTablePtr = * mut xmlAttributeTable ; pub type xmlIDTable = _xmlHashTable ; pub type xmlIDTablePtr = * mut xmlIDTable ; pub type xmlRefTable = _xmlHashTable ; pub type xmlRefTablePtr = * mut xmlRefTable ; unsafe extern "C" { pub fn xmlAddNotationDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlNotation ; } unsafe extern "C" { pub fn xmlCopyNotationTable (table : * mut xmlNotationTable) -> * mut xmlNotationTable ; } unsafe extern "C" { pub fn xmlFreeNotationTable (table : * mut xmlNotationTable) ; } unsafe extern "C" { pub fn xmlDumpNotationDecl (buf : * mut xmlBuffer , nota : * mut xmlNotation) ; } unsafe extern "C" { pub fn xmlDumpNotationTable (buf : * mut xmlBuffer , table : * mut xmlNotationTable) ; } unsafe extern "C" { pub fn xmlNewElementContent (name : * const xmlChar , type_ : xmlElementContentType) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlCopyElementContent (content : * mut xmlElementContent) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlFreeElementContent (cur : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlNewDocElementContent (doc : * mut xmlDoc , name : * const xmlChar , type_ : xmlElementContentType) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlCopyDocElementContent (doc : * mut xmlDoc , content : * mut xmlElementContent) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlFreeDocElementContent (doc : * mut xmlDoc , cur : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlSnprintfElementContent (buf : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , content : * mut xmlElementContent , englob : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSprintfElementContent (buf : * mut :: std :: os :: raw :: c_char , content : * mut xmlElementContent , englob : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlAddElementDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , name : * const xmlChar , type_ : xmlElementTypeVal , content : * mut xmlElementContent) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlCopyElementTable (table : * mut xmlElementTable) -> * mut xmlElementTable ; } unsafe extern "C" { pub fn xmlFreeElementTable (table : * mut xmlElementTable) ; } unsafe extern "C" { pub fn xmlDumpElementTable (buf : * mut xmlBuffer , table : * mut xmlElementTable) ; } unsafe extern "C" { pub fn xmlDumpElementDecl (buf : * mut xmlBuffer , elem : * mut xmlElement) ; } unsafe extern "C" { pub fn xmlCreateEnumeration (name : * const xmlChar) -> * mut xmlEnumeration ; } unsafe extern "C" { pub fn xmlFreeEnumeration (cur : * mut xmlEnumeration) ; } unsafe extern "C" { pub fn xmlCopyEnumeration (cur : * mut xmlEnumeration) -> * mut xmlEnumeration ; } unsafe extern "C" { pub fn xmlAddAttributeDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar , ns : * const xmlChar , type_ : xmlAttributeType , def : xmlAttributeDefault , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlCopyAttributeTable (table : * mut xmlAttributeTable) -> * mut xmlAttributeTable ; } unsafe extern "C" { pub fn xmlFreeAttributeTable (table : * mut xmlAttributeTable) ; } unsafe extern "C" { pub fn xmlDumpAttributeTable (buf : * mut xmlBuffer , table : * mut xmlAttributeTable) ; } unsafe extern "C" { pub fn xmlDumpAttributeDecl (buf : * mut xmlBuffer , attr : * mut xmlAttribute) ; } unsafe extern "C" { pub fn xmlAddIDSafe (attr : * mut xmlAttr , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddID (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , value : * const xmlChar , attr : * mut xmlAttr) -> * mut xmlID ; } unsafe extern "C" { pub fn xmlFreeIDTable (table : * mut xmlIDTable) ; } unsafe extern "C" { pub fn xmlGetID (doc : * mut xmlDoc , ID : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlIsID (doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveID (doc : * mut xmlDoc , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddRef (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , value : * const xmlChar , attr : * mut xmlAttr) -> * mut xmlRef ; } unsafe extern "C" { pub fn xmlFreeRefTable (table : * mut xmlRefTable) ; } unsafe extern "C" { pub fn xmlIsRef (doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveRef (doc : * mut xmlDoc , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetRefs (doc : * mut xmlDoc , ID : * const xmlChar) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlNewValidCtxt () -> * mut xmlValidCtxt ; } unsafe extern "C" { pub fn xmlFreeValidCtxt (arg1 : * mut xmlValidCtxt) ; } unsafe extern "C" { pub fn xmlValidateRoot (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateElementDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlElement) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidNormalizeAttributeValue (doc : * mut xmlDoc , elem : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlValidCtxtNormalizeAttributeValue (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlValidateAttributeDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , attr : * mut xmlAttribute) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateAttributeValue (type_ : xmlAttributeType , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNotationDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , nota : * mut xmlNotation) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDtd (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , dtd : * mut xmlDtd) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDtdFinal (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDocument (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneAttribute (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneNamespace (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , prefix : * const xmlChar , ns : * mut xmlNs , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDocumentFinal (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNotationUse (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , notationName : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsMixedElement (doc : * mut xmlDoc , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetDtdAttrDesc (dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlGetDtdQAttrDesc (dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar , prefix : * const xmlChar) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlGetDtdNotationDesc (dtd : * mut xmlDtd , name : * const xmlChar) -> * mut xmlNotation ; } unsafe extern "C" { pub fn xmlGetDtdQElementDesc (dtd : * mut xmlDtd , name : * const xmlChar , prefix : * const xmlChar) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlGetDtdElementDesc (dtd : * mut xmlDtd , name : * const xmlChar) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlValidGetPotentialChildren (ctree : * mut xmlElementContent , names : * mut * const xmlChar , len : * mut :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidGetValidElements (prev : * mut xmlNode , next : * mut xmlNode , names : * mut * const xmlChar , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNameValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNamesValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNmtokenValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNmtokensValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidBuildContentModel (ctxt : * mut xmlValidCtxt , elem : * mut xmlElement) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePushElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , qname : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePushCData (ctxt : * mut xmlValidCtxt , data : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePopElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , qname : * const xmlChar) -> :: std :: os :: raw :: c_int ; } # [doc = " internal general entity"] pub const xmlEntityType_XML_INTERNAL_GENERAL_ENTITY : xmlEntityType = 1 ; # [doc = " external general parsed entity"] pub const xmlEntityType_XML_EXTERNAL_GENERAL_PARSED_ENTITY : xmlEntityType = 2 ; # [doc = " external general unparsed entity"] pub const xmlEntityType_XML_EXTERNAL_GENERAL_UNPARSED_ENTITY : xmlEntityType = 3 ; # [doc = " internal parameter entity"] pub const xmlEntityType_XML_INTERNAL_PARAMETER_ENTITY : xmlEntityType = 4 ; # [doc = " external parameter entity"] pub const xmlEntityType_XML_EXTERNAL_PARAMETER_ENTITY : xmlEntityType = 5 ; # [doc = " internal predefined entity"] pub const xmlEntityType_XML_INTERNAL_PREDEFINED_ENTITY : xmlEntityType = 6 ; # [doc = " The different entity types."] pub type xmlEntityType = :: std :: os :: raw :: c_uint ; # [doc = " An entity declaration"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlEntity { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ENTITY_DECL, must be second !"] pub type_ : xmlElementType , # [doc = " Entity name"] pub name : * const xmlChar , # [doc = " First child link"] pub children : * mut _xmlNode , # [doc = " Last child link"] pub last : * mut _xmlNode , # [doc = " -> DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling link"] pub next : * mut _xmlNode , # [doc = " previous sibling link"] pub prev : * mut _xmlNode , # [doc = " the containing document"] pub doc : * mut _xmlDoc , # [doc = " content without ref substitution"] pub orig : * mut xmlChar , # [doc = " content or ndata if unparsed"] pub content : * mut xmlChar , # [doc = " the content length"] pub length : :: std :: os :: raw :: c_int , # [doc = " The entity type"] pub etype : xmlEntityType , # [doc = " External identifier for PUBLIC"] pub ExternalID : * const xmlChar , # [doc = " URI for a SYSTEM or PUBLIC Entity"] pub SystemID : * const xmlChar , # [doc = " unused"] pub nexte : * mut _xmlEntity , # [doc = " the full URI as computed"] pub URI : * const xmlChar , # [doc = " unused"] pub owner : :: std :: os :: raw :: c_int , # [doc = " various flags"] pub flags : :: std :: os :: raw :: c_int , # [doc = " expanded size"] pub expandedSize : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlEntity"] [:: std :: mem :: size_of :: < _xmlEntity > () - 144usize] ; ["Alignment of _xmlEntity"] [:: std :: mem :: align_of :: < _xmlEntity > () - 8usize] ; ["Offset of field: _xmlEntity::_private"] [:: std :: mem :: offset_of ! (_xmlEntity , _private) - 0usize] ; ["Offset of field: _xmlEntity::type_"] [:: std :: mem :: offset_of ! (_xmlEntity , type_) - 8usize] ; ["Offset of field: _xmlEntity::name"] [:: std :: mem :: offset_of ! (_xmlEntity , name) - 16usize] ; ["Offset of field: _xmlEntity::children"] [:: std :: mem :: offset_of ! (_xmlEntity , children) - 24usize] ; ["Offset of field: _xmlEntity::last"] [:: std :: mem :: offset_of ! (_xmlEntity , last) - 32usize] ; ["Offset of field: _xmlEntity::parent"] [:: std :: mem :: offset_of ! (_xmlEntity , parent) - 40usize] ; ["Offset of field: _xmlEntity::next"] [:: std :: mem :: offset_of ! (_xmlEntity , next) - 48usize] ; ["Offset of field: _xmlEntity::prev"] [:: std :: mem :: offset_of ! (_xmlEntity , prev) - 56usize] ; ["Offset of field: _xmlEntity::doc"] [:: std :: mem :: offset_of ! (_xmlEntity , doc) - 64usize] ; ["Offset of field: _xmlEntity::orig"] [:: std :: mem :: offset_of ! (_xmlEntity , orig) - 72usize] ; ["Offset of field: _xmlEntity::content"] [:: std :: mem :: offset_of ! (_xmlEntity , content) - 80usize] ; ["Offset of field: _xmlEntity::length"] [:: std :: mem :: offset_of ! (_xmlEntity , length) - 88usize] ; ["Offset of field: _xmlEntity::etype"] [:: std :: mem :: offset_of ! (_xmlEntity , etype) - 92usize] ; ["Offset of field: _xmlEntity::ExternalID"] [:: std :: mem :: offset_of ! (_xmlEntity , ExternalID) - 96usize] ; ["Offset of field: _xmlEntity::SystemID"] [:: std :: mem :: offset_of ! (_xmlEntity , SystemID) - 104usize] ; ["Offset of field: _xmlEntity::nexte"] [:: std :: mem :: offset_of ! (_xmlEntity , nexte) - 112usize] ; ["Offset of field: _xmlEntity::URI"] [:: std :: mem :: offset_of ! (_xmlEntity , URI) - 120usize] ; ["Offset of field: _xmlEntity::owner"] [:: std :: mem :: offset_of ! (_xmlEntity , owner) - 128usize] ; ["Offset of field: _xmlEntity::flags"] [:: std :: mem :: offset_of ! (_xmlEntity , flags) - 132usize] ; ["Offset of field: _xmlEntity::expandedSize"] [:: std :: mem :: offset_of ! (_xmlEntity , expandedSize) - 136usize] ; } ; pub type xmlEntitiesTable = _xmlHashTable ; pub type xmlEntitiesTablePtr = * mut xmlEntitiesTable ; unsafe extern "C" { pub fn xmlNewEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlFreeEntity (entity : * mut xmlEntity) ; } unsafe extern "C" { pub fn xmlAddEntity (doc : * mut xmlDoc , extSubset : :: std :: os :: raw :: c_int , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar , out : * mut * mut xmlEntity) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddDocEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlAddDtdEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetPredefinedEntity (name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetDocEntity (doc : * const xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetDtdEntity (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetParameterEntity (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlEncodeEntitiesReentrant (doc : * mut xmlDoc , input : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlEncodeSpecialChars (doc : * const xmlDoc , input : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCreateEntitiesTable () -> * mut xmlEntitiesTable ; } unsafe extern "C" { pub fn xmlCopyEntitiesTable (table : * mut xmlEntitiesTable) -> * mut xmlEntitiesTable ; } unsafe extern "C" { pub fn xmlFreeEntitiesTable (table : * mut xmlEntitiesTable) ; } unsafe extern "C" { pub fn xmlDumpEntitiesTable (buf : * mut xmlBuffer , table : * mut xmlEntitiesTable) ; } unsafe extern "C" { pub fn xmlDumpEntityDecl (buf : * mut xmlBuffer , ent : * mut xmlEntity) ; } # [doc = " Success"] pub const xmlCharEncError_XML_ENC_ERR_SUCCESS : xmlCharEncError = 0 ; # [doc = " Internal or unclassified error"] pub const xmlCharEncError_XML_ENC_ERR_INTERNAL : xmlCharEncError = - 1 ; # [doc = " Invalid or untranslatable input sequence"] pub const xmlCharEncError_XML_ENC_ERR_INPUT : xmlCharEncError = - 2 ; # [doc = " Not enough space in output buffer"] pub const xmlCharEncError_XML_ENC_ERR_SPACE : xmlCharEncError = - 3 ; # [doc = " Out-of-memory error"] pub const xmlCharEncError_XML_ENC_ERR_MEMORY : xmlCharEncError = - 4 ; # [doc = " Encoding conversion errors"] pub type xmlCharEncError = :: std :: os :: raw :: c_int ; # [doc = " No char encoding detected"] pub const xmlCharEncoding_XML_CHAR_ENCODING_ERROR : xmlCharEncoding = - 1 ; # [doc = " No char encoding detected"] pub const xmlCharEncoding_XML_CHAR_ENCODING_NONE : xmlCharEncoding = 0 ; # [doc = " UTF-8"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF8 : xmlCharEncoding = 1 ; # [doc = " UTF-16 little endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16LE : xmlCharEncoding = 2 ; # [doc = " UTF-16 big endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16BE : xmlCharEncoding = 3 ; # [doc = " UCS-4 little endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4LE : xmlCharEncoding = 4 ; # [doc = " UCS-4 big endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4BE : xmlCharEncoding = 5 ; # [doc = " EBCDIC uh!"] pub const xmlCharEncoding_XML_CHAR_ENCODING_EBCDIC : xmlCharEncoding = 6 ; # [doc = " UCS-4 unusual ordering"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4_2143 : xmlCharEncoding = 7 ; # [doc = " UCS-4 unusual ordering"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4_3412 : xmlCharEncoding = 8 ; # [doc = " UCS-2"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS2 : xmlCharEncoding = 9 ; # [doc = " ISO-8859-1 ISO Latin 1"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_1 : xmlCharEncoding = 10 ; # [doc = " ISO-8859-2 ISO Latin 2"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_2 : xmlCharEncoding = 11 ; # [doc = " ISO-8859-3"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_3 : xmlCharEncoding = 12 ; # [doc = " ISO-8859-4"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_4 : xmlCharEncoding = 13 ; # [doc = " ISO-8859-5"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_5 : xmlCharEncoding = 14 ; # [doc = " ISO-8859-6"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_6 : xmlCharEncoding = 15 ; # [doc = " ISO-8859-7"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_7 : xmlCharEncoding = 16 ; # [doc = " ISO-8859-8"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_8 : xmlCharEncoding = 17 ; # [doc = " ISO-8859-9"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_9 : xmlCharEncoding = 18 ; # [doc = " ISO-2022-JP"] pub const xmlCharEncoding_XML_CHAR_ENCODING_2022_JP : xmlCharEncoding = 19 ; # [doc = " Shift_JIS"] pub const xmlCharEncoding_XML_CHAR_ENCODING_SHIFT_JIS : xmlCharEncoding = 20 ; # [doc = " EUC-JP"] pub const xmlCharEncoding_XML_CHAR_ENCODING_EUC_JP : xmlCharEncoding = 21 ; # [doc = " pure ASCII"] pub const xmlCharEncoding_XML_CHAR_ENCODING_ASCII : xmlCharEncoding = 22 ; # [doc = " UTF-16 native, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16 : xmlCharEncoding = 23 ; # [doc = " HTML (output only), available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_HTML : xmlCharEncoding = 24 ; # [doc = " ISO-8859-10, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_10 : xmlCharEncoding = 25 ; # [doc = " ISO-8859-11, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_11 : xmlCharEncoding = 26 ; # [doc = " ISO-8859-13, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_13 : xmlCharEncoding = 27 ; # [doc = " ISO-8859-14, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_14 : xmlCharEncoding = 28 ; # [doc = " ISO-8859-15, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_15 : xmlCharEncoding = 29 ; # [doc = " ISO-8859-16, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_16 : xmlCharEncoding = 30 ; # [doc = " windows-1252, available since 2.15"] pub const xmlCharEncoding_XML_CHAR_ENCODING_WINDOWS_1252 : xmlCharEncoding = 31 ; # [doc = " Predefined values for some standard encodings."] pub type xmlCharEncoding = :: std :: os :: raw :: c_int ; # [doc = " Create converter for input (conversion to UTF-8)"] pub const xmlCharEncFlags_XML_ENC_INPUT : xmlCharEncFlags = 1 ; # [doc = " Create converter for output (conversion from UTF-8)"] pub const xmlCharEncFlags_XML_ENC_OUTPUT : xmlCharEncFlags = 2 ; # [doc = " Use HTML5 mappings"] pub const xmlCharEncFlags_XML_ENC_HTML : xmlCharEncFlags = 4 ; # [doc = " Encoding conversion flags"] pub type xmlCharEncFlags = :: std :: os :: raw :: c_uint ; # [doc = " Convert characters to UTF-8.\n\n On success, the value of `inlen` after return is the number of\n bytes consumed and `outlen` is the number of bytes produced.\n\n @param out  a pointer to an array of bytes to store the UTF-8 result\n @param outlen  the length of `out`\n @param in  a pointer to an array of chars in the original encoding\n @param inlen  the length of `in`\n @returns the number of bytes written or an xmlCharEncError code."] pub type xmlCharEncodingInputFunc = :: std :: option :: Option < unsafe extern "C" fn (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Convert characters from UTF-8.\n\n On success, the value of `inlen` after return is the number of\n bytes consumed and `outlen` is the number of bytes produced.\n\n @param out  a pointer to an array of bytes to store the result\n @param outlen  the length of `out`\n @param in  a pointer to an array of UTF-8 chars\n @param inlen  the length of `in`\n @returns the number of bytes written or an xmlCharEncError code."] pub type xmlCharEncodingOutputFunc = :: std :: option :: Option < unsafe extern "C" fn (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Convert between character encodings.\n\n The value of `inlen` after return is the number of bytes consumed\n and `outlen` is the number of bytes produced.\n\n If the converter can consume partial multi-byte sequences, the\n `flush` flag can be used to detect truncated sequences at EOF.\n Otherwise, the flag can be ignored.\n\n @param vctxt  conversion context\n @param out  a pointer to an array of bytes to store the result\n @param outlen  the length of `out`\n @param in  a pointer to an array of input bytes\n @param inlen  the length of `in`\n @param flush  end of input\n @returns an xmlCharEncError code."] pub type xmlCharEncConvFunc = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void , out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int , flush : :: std :: os :: raw :: c_int) -> xmlCharEncError > ; # [doc = " Free a conversion context.\n\n @param vctxt  conversion context"] pub type xmlCharEncConvCtxtDtor = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void) > ; # [doc = " Character encoding converter"] pub type xmlCharEncodingHandler = _xmlCharEncodingHandler ; pub type xmlCharEncodingHandlerPtr = * mut xmlCharEncodingHandler ; # [doc = " A character encoding conversion handler for non UTF-8 encodings.\n\n This structure will be made private."] # [repr (C)] # [derive (Copy , Clone)] pub struct _xmlCharEncodingHandler { pub name : * mut :: std :: os :: raw :: c_char , pub input : _xmlCharEncodingHandler__bindgen_ty_1 , pub output : _xmlCharEncodingHandler__bindgen_ty_2 , pub inputCtxt : * mut :: std :: os :: raw :: c_void , pub outputCtxt : * mut :: std :: os :: raw :: c_void , pub ctxtDtor : xmlCharEncConvCtxtDtor , pub flags : :: std :: os :: raw :: c_int , } # [repr (C)] # [derive (Copy , Clone)] pub union _xmlCharEncodingHandler__bindgen_ty_1 { pub func : xmlCharEncConvFunc , pub legacyFunc : xmlCharEncodingInputFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler__bindgen_ty_1"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler__bindgen_ty_1 > () - 8usize] ; ["Alignment of _xmlCharEncodingHandler__bindgen_ty_1"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler__bindgen_ty_1 > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_1::func"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_1 , func) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_1::legacyFunc"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_1 , legacyFunc) - 0usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union _xmlCharEncodingHandler__bindgen_ty_2 { pub func : xmlCharEncConvFunc , pub legacyFunc : xmlCharEncodingOutputFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler__bindgen_ty_2"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler__bindgen_ty_2 > () - 8usize] ; ["Alignment of _xmlCharEncodingHandler__bindgen_ty_2"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler__bindgen_ty_2 > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_2::func"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_2 , func) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_2::legacyFunc"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_2 , legacyFunc) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler > () - 56usize] ; ["Alignment of _xmlCharEncodingHandler"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler::name"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , name) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler::input"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , input) - 8usize] ; ["Offset of field: _xmlCharEncodingHandler::output"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , output) - 16usize] ; ["Offset of field: _xmlCharEncodingHandler::inputCtxt"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , inputCtxt) - 24usize] ; ["Offset of field: _xmlCharEncodingHandler::outputCtxt"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , outputCtxt) - 32usize] ; ["Offset of field: _xmlCharEncodingHandler::ctxtDtor"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , ctxtDtor) - 40usize] ; ["Offset of field: _xmlCharEncodingHandler::flags"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , flags) - 48usize] ; } ; # [doc = " If this function returns XML_ERR_OK, it must fill the `out`\n pointer with an encoding handler. The handler can be obtained\n from #xmlCharEncNewCustomHandler.\n\n `flags` can contain XML_ENC_INPUT, XML_ENC_OUTPUT or both.\n\n @param vctxt  user data\n @param name  encoding name\n @param flags  bit mask of flags\n @param out  pointer to resulting handler\n @returns an xmlParserErrors code."] pub type xmlCharEncConvImpl = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void , name : * const :: std :: os :: raw :: c_char , flags : xmlCharEncFlags , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors > ; unsafe extern "C" { pub fn xmlInitCharEncodingHandlers () ; } unsafe extern "C" { pub fn xmlCleanupCharEncodingHandlers () ; } unsafe extern "C" { pub fn xmlRegisterCharEncodingHandler (handler : * mut xmlCharEncodingHandler) ; } unsafe extern "C" { pub fn xmlLookupCharEncodingHandler (enc : xmlCharEncoding , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlOpenCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , output : :: std :: os :: raw :: c_int , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlCreateCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , flags : xmlCharEncFlags , impl_ : xmlCharEncConvImpl , implCtxt : * mut :: std :: os :: raw :: c_void , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlGetCharEncodingHandler (enc : xmlCharEncoding) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlFindCharEncodingHandler (name : * const :: std :: os :: raw :: c_char) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlNewCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , input : xmlCharEncodingInputFunc , output : xmlCharEncodingOutputFunc) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlCharEncNewCustomHandler (name : * const :: std :: os :: raw :: c_char , input : xmlCharEncConvFunc , output : xmlCharEncConvFunc , ctxtDtor : xmlCharEncConvCtxtDtor , inputCtxt : * mut :: std :: os :: raw :: c_void , outputCtxt : * mut :: std :: os :: raw :: c_void , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlAddEncodingAlias (name : * const :: std :: os :: raw :: c_char , alias : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDelEncodingAlias (alias : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetEncodingAlias (alias : * const :: std :: os :: raw :: c_char) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlCleanupEncodingAliases () ; } unsafe extern "C" { pub fn xmlParseCharEncoding (name : * const :: std :: os :: raw :: c_char) -> xmlCharEncoding ; } unsafe extern "C" { pub fn xmlGetCharEncodingName (enc : xmlCharEncoding) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlDetectCharEncoding (in_ : * const :: std :: os :: raw :: c_uchar , len : :: std :: os :: raw :: c_int) -> xmlCharEncoding ; } unsafe extern "C" { pub fn xmlCharEncOutFunc (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncInFunc (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncFirstLine (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncCloseFunc (handler : * mut xmlCharEncodingHandler) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8ToIsolat1 (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsolat1ToUTF8 (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " Callback used in the I/O Input API to detect if the current handler\n can provide input functionality for this resource.\n\n @param filename  the filename or URI\n @returns 1 if yes and 0 if another Input module should be used"] pub type xmlInputMatchCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Input API to open the resource\n\n @param filename  the filename or URI\n @returns an Input context or NULL in case or error"] pub type xmlInputOpenCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback used in the I/O Input API to read the resource\n\n @param context  an Input context\n @param buffer  the buffer to store data read\n @param len  the length of the buffer in bytes\n @returns the number of bytes read or -1 in case of error"] pub type xmlInputReadCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Input API to close the resource\n\n @param context  an Input context\n @returns 0 or -1 in case of error"] pub type xmlInputCloseCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to detect if the current handler\n can provide output functionality for this resource.\n\n @param filename  the filename or URI\n @returns 1 if yes and 0 if another Output module should be used"] pub type xmlOutputMatchCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to open the resource\n\n @param filename  the filename or URI\n @returns an Output context or NULL in case or error"] pub type xmlOutputOpenCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback used in the I/O Output API to write to the resource\n\n @param context  an Output context\n @param buffer  the buffer of data to write\n @param len  the length of the buffer in bytes\n @returns the number of bytes written or -1 in case of error"] pub type xmlOutputWriteCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void , buffer : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to close the resource\n\n @param context  an Output context\n @returns 0 or -1 in case of error"] pub type xmlOutputCloseCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Signature for the function doing the lookup for a suitable input method\n corresponding to an URI.\n\n @param URI  the URI to read from\n @param enc  the requested source encoding\n @returns the new xmlParserInputBuffer in case of success or NULL if no\n         method was found."] pub type xmlParserInputBufferCreateFilenameFunc = :: std :: option :: Option < unsafe extern "C" fn (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer > ; # [doc = " Signature for the function doing the lookup for a suitable output method\n corresponding to an URI.\n\n @param URI  the URI to write to\n @param encoder  the requested target encoding\n @param compression  compression level\n @returns the new xmlOutputBuffer in case of success or NULL if no\n         method was found."] pub type xmlOutputBufferCreateFilenameFunc = :: std :: option :: Option < unsafe extern "C" fn (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer > ; # [doc = " Parser input buffer\n\n This struct and all related functions should ultimately\n be removed from the public interface."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserInputBuffer { pub context : * mut :: std :: os :: raw :: c_void , pub readcallback : xmlInputReadCallback , pub closecallback : xmlInputCloseCallback , pub encoder : * mut xmlCharEncodingHandler , pub buffer : * mut xmlBuf , pub raw : * mut xmlBuf , pub compressed : :: std :: os :: raw :: c_int , pub error : :: std :: os :: raw :: c_int , pub rawconsumed : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserInputBuffer"] [:: std :: mem :: size_of :: < _xmlParserInputBuffer > () - 64usize] ; ["Alignment of _xmlParserInputBuffer"] [:: std :: mem :: align_of :: < _xmlParserInputBuffer > () - 8usize] ; ["Offset of field: _xmlParserInputBuffer::context"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , context) - 0usize] ; ["Offset of field: _xmlParserInputBuffer::readcallback"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , readcallback) - 8usize] ; ["Offset of field: _xmlParserInputBuffer::closecallback"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , closecallback) - 16usize] ; ["Offset of field: _xmlParserInputBuffer::encoder"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , encoder) - 24usize] ; ["Offset of field: _xmlParserInputBuffer::buffer"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , buffer) - 32usize] ; ["Offset of field: _xmlParserInputBuffer::raw"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , raw) - 40usize] ; ["Offset of field: _xmlParserInputBuffer::compressed"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , compressed) - 48usize] ; ["Offset of field: _xmlParserInputBuffer::error"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , error) - 52usize] ; ["Offset of field: _xmlParserInputBuffer::rawconsumed"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , rawconsumed) - 56usize] ; } ; # [doc = " Output buffer"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlOutputBuffer { pub context : * mut :: std :: os :: raw :: c_void , pub writecallback : xmlOutputWriteCallback , pub closecallback : xmlOutputCloseCallback , pub encoder : * mut xmlCharEncodingHandler , pub buffer : * mut xmlBuf , pub conv : * mut xmlBuf , pub written : :: std :: os :: raw :: c_int , pub error : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlOutputBuffer"] [:: std :: mem :: size_of :: < _xmlOutputBuffer > () - 56usize] ; ["Alignment of _xmlOutputBuffer"] [:: std :: mem :: align_of :: < _xmlOutputBuffer > () - 8usize] ; ["Offset of field: _xmlOutputBuffer::context"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , context) - 0usize] ; ["Offset of field: _xmlOutputBuffer::writecallback"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , writecallback) - 8usize] ; ["Offset of field: _xmlOutputBuffer::closecallback"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , closecallback) - 16usize] ; ["Offset of field: _xmlOutputBuffer::encoder"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , encoder) - 24usize] ; ["Offset of field: _xmlOutputBuffer::buffer"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , buffer) - 32usize] ; ["Offset of field: _xmlOutputBuffer::conv"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , conv) - 40usize] ; ["Offset of field: _xmlOutputBuffer::written"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , written) - 48usize] ; ["Offset of field: _xmlOutputBuffer::error"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , error) - 52usize] ; } ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlParserInputBufferCreateFilenameValue () -> * mut xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn __xmlOutputBufferCreateFilenameValue () -> * mut xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { # [doc = " @endcond"] pub fn xmlCleanupInputCallbacks () ; } unsafe extern "C" { pub fn xmlPopInputCallbacks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterDefaultInputCallbacks () ; } unsafe extern "C" { pub fn xmlAllocParserInputBuffer (enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFile (file : * mut FILE , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFd (fd : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateMem (mem : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateStatic (mem : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateIO (ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferRead (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferGrow (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferPush (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int , buf : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFreeParserInputBuffer (in_ : * mut xmlParserInputBuffer) ; } unsafe extern "C" { pub fn xmlParserGetDirectory (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlRegisterInputCallbacks (matchFunc : xmlInputMatchCallback , openFunc : xmlInputOpenCallback , readFunc : xmlInputReadCallback , closeFunc : xmlInputCloseCallback) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlParserInputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlCleanupOutputCallbacks () ; } unsafe extern "C" { pub fn xmlPopOutputCallbacks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterDefaultOutputCallbacks () ; } unsafe extern "C" { pub fn xmlAllocOutputBuffer (encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFile (file : * mut FILE , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateBuffer (buffer : * mut xmlBuffer , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFd (fd : :: std :: os :: raw :: c_int , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateIO (iowrite : xmlOutputWriteCallback , ioclose : xmlOutputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferGetContent (out : * mut xmlOutputBuffer) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlOutputBufferGetSize (out : * mut xmlOutputBuffer) -> usize ; } unsafe extern "C" { pub fn xmlOutputBufferWrite (out : * mut xmlOutputBuffer , len : :: std :: os :: raw :: c_int , buf : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferWriteString (out : * mut xmlOutputBuffer , str_ : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferWriteEscape (out : * mut xmlOutputBuffer , str_ : * const xmlChar , escaping : xmlCharEncodingOutputFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferFlush (out : * mut xmlOutputBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferClose (out : * mut xmlOutputBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterOutputCallbacks (matchFunc : xmlOutputMatchCallback , openFunc : xmlOutputOpenCallback , writeFunc : xmlOutputWriteCallback , closeFunc : xmlOutputCloseCallback) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlOutputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlCheckHTTPInput (ctxt : * mut xmlParserCtxt , ret : * mut xmlParserInput) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNoNetExternalEntityLoader (URL : * const :: std :: os :: raw :: c_char , ID : * const :: std :: os :: raw :: c_char , ctxt : * mut xmlParserCtxt) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNormalizeWindowsPath (path : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCheckFilename (path : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileMatch (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileOpen (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlFileRead (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileClose (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [doc = " @cond IGNORE"] pub fn xmlIOHTTPMatch (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIOHTTPOpen (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlRegisterHTTPPostCallbacks () ; } unsafe extern "C" { pub fn xmlIOHTTPOpenW (post_uri : * const :: std :: os :: raw :: c_char , compression : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlIOHTTPRead (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIOHTTPClose (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFilenameDefault (func : xmlParserInputBufferCreateFilenameFunc) -> xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFilenameDefault (func : xmlOutputBufferCreateFilenameFunc) -> xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlThrDefOutputBufferCreateFilenameDefault (func : xmlOutputBufferCreateFilenameFunc) -> xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlThrDefParserInputBufferCreateFilenameDefault (func : xmlParserInputBufferCreateFilenameFunc) -> xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlSAX2GetPublicId (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSAX2GetSystemId (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSAX2SetDocumentLocator (ctx : * mut :: std :: os :: raw :: c_void , loc : * mut xmlSAXLocator) ; } unsafe extern "C" { pub fn xmlSAX2GetLineNumber (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2GetColumnNumber (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2IsStandalone (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2HasInternalSubset (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2HasExternalSubset (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2InternalSubset (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2ExternalSubset (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2GetEntity (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlSAX2GetParameterEntity (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlSAX2ResolveEntity (ctx : * mut :: std :: os :: raw :: c_void , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlSAX2EntityDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * mut xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2AttributeDecl (ctx : * mut :: std :: os :: raw :: c_void , elem : * const xmlChar , fullname : * const xmlChar , type_ : :: std :: os :: raw :: c_int , def : :: std :: os :: raw :: c_int , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) ; } unsafe extern "C" { pub fn xmlSAX2ElementDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , content : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlSAX2NotationDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2UnparsedEntityDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar , notationName : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2StartDocument (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSAX2EndDocument (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSAX2StartElement (ctx : * mut :: std :: os :: raw :: c_void , fullname : * const xmlChar , atts : * mut * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2EndElement (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2StartElementNs (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar , nb_namespaces : :: std :: os :: raw :: c_int , namespaces : * mut * const xmlChar , nb_attributes : :: std :: os :: raw :: c_int , nb_defaulted : :: std :: os :: raw :: c_int , attributes : * mut * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2EndElementNs (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Reference (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Characters (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2IgnorableWhitespace (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2ProcessingInstruction (ctx : * mut :: std :: os :: raw :: c_void , target : * const xmlChar , data : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Comment (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2CDataBlock (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAXDefaultVersion (version : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXVersion (hdlr : * mut xmlSAXHandler , version : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2InitDefaultSAXHandler (hdlr : * mut xmlSAXHandler , warning : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2InitHtmlDefaultSAXHandler (hdlr : * mut xmlSAXHandler) ; } unsafe extern "C" { pub fn htmlDefaultSAXHandlerInit () ; } unsafe extern "C" { pub fn xmlDefaultSAXHandlerInit () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlMutex { _unused : [u8 ; 0] , } # [doc = " Mutual exclusion object"] pub type xmlMutex = _xmlMutex ; pub type xmlMutexPtr = * mut xmlMutex ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRMutex { _unused : [u8 ; 0] , } # [doc = " Reentrant mutual exclusion object"] pub type xmlRMutex = _xmlRMutex ; pub type xmlRMutexPtr = * mut xmlRMutex ; unsafe extern "C" { pub fn xmlCheckThreadLocalStorage () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNewMutex () -> * mut xmlMutex ; } unsafe extern "C" { pub fn xmlMutexLock (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlMutexUnlock (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlFreeMutex (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlNewRMutex () -> * mut xmlRMutex ; } unsafe extern "C" { pub fn xmlRMutexLock (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlRMutexUnlock (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlFreeRMutex (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlInitThreads () ; } unsafe extern "C" { pub fn xmlLockLibrary () ; } unsafe extern "C" { pub fn xmlUnlockLibrary () ; } unsafe extern "C" { pub fn xmlCleanupThreads () ; } # [doc = " not well-formed"] pub const xmlParserStatus_XML_STATUS_NOT_WELL_FORMED : xmlParserStatus = 1 ; # [doc = " not namespace-well-formed"] pub const xmlParserStatus_XML_STATUS_NOT_NS_WELL_FORMED : xmlParserStatus = 2 ; # [doc = " DTD validation failed"] pub const xmlParserStatus_XML_STATUS_DTD_VALIDATION_FAILED : xmlParserStatus = 4 ; # [doc = " catastrophic failure like OOM or I/O error"] pub const xmlParserStatus_XML_STATUS_CATASTROPHIC_ERROR : xmlParserStatus = 8 ; # [doc = " Status after parsing a document"] pub type xmlParserStatus = :: std :: os :: raw :: c_uint ; # [doc = " unknown"] pub const xmlResourceType_XML_RESOURCE_UNKNOWN : xmlResourceType = 0 ; # [doc = " main document"] pub const xmlResourceType_XML_RESOURCE_MAIN_DOCUMENT : xmlResourceType = 1 ; # [doc = " external DTD"] pub const xmlResourceType_XML_RESOURCE_DTD : xmlResourceType = 2 ; # [doc = " external general entity"] pub const xmlResourceType_XML_RESOURCE_GENERAL_ENTITY : xmlResourceType = 3 ; # [doc = " external parameter entity"] pub const xmlResourceType_XML_RESOURCE_PARAMETER_ENTITY : xmlResourceType = 4 ; # [doc = " XIncluded document"] pub const xmlResourceType_XML_RESOURCE_XINCLUDE : xmlResourceType = 5 ; # [doc = " XIncluded text"] pub const xmlResourceType_XML_RESOURCE_XINCLUDE_TEXT : xmlResourceType = 6 ; # [doc = " Resource type for resource loaders"] pub type xmlResourceType = :: std :: os :: raw :: c_uint ; # [doc = " The input buffer won't be changed during parsing."] pub const xmlParserInputFlags_XML_INPUT_BUF_STATIC : xmlParserInputFlags = 2 ; # [doc = " The input buffer is zero-terminated. (Note that the zero\nbyte shouldn't be included in buffer size.)"] pub const xmlParserInputFlags_XML_INPUT_BUF_ZERO_TERMINATED : xmlParserInputFlags = 4 ; # [doc = " Uncompress gzipped file input"] pub const xmlParserInputFlags_XML_INPUT_UNZIP : xmlParserInputFlags = 8 ; # [doc = " Allow network access. Unused internally."] pub const xmlParserInputFlags_XML_INPUT_NETWORK : xmlParserInputFlags = 16 ; # [doc = " Allow system catalog to resolve URIs."] pub const xmlParserInputFlags_XML_INPUT_USE_SYS_CATALOG : xmlParserInputFlags = 32 ; # [doc = " Flags for parser input"] pub type xmlParserInputFlags = :: std :: os :: raw :: c_uint ; pub type xmlParserInputDeallocate = :: std :: option :: Option < unsafe extern "C" fn (str_ : * mut xmlChar) > ; # [doc = " Parser input"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserInput { pub buf : * mut xmlParserInputBuffer , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n The filename or URI, if any"] pub filename : * const :: std :: os :: raw :: c_char , pub directory : * const :: std :: os :: raw :: c_char , pub base : * const xmlChar , # [doc = " @deprecated Use #xmlCtxtGetInputWindow\n\n Current char being parsed"] pub cur : * const xmlChar , pub end : * const xmlChar , pub length : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n Current line"] pub line : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n Current column"] pub col : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n How many xmlChars already consumed"] pub consumed : :: std :: os :: raw :: c_ulong , pub free : xmlParserInputDeallocate , pub encoding : * const xmlChar , pub version : * const xmlChar , pub flags : :: std :: os :: raw :: c_int , pub id : :: std :: os :: raw :: c_int , pub parentConsumed : :: std :: os :: raw :: c_ulong , pub entity : * mut xmlEntity , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserInput"] [:: std :: mem :: size_of :: < _xmlParserInput > () - 120usize] ; ["Alignment of _xmlParserInput"] [:: std :: mem :: align_of :: < _xmlParserInput > () - 8usize] ; ["Offset of field: _xmlParserInput::buf"] [:: std :: mem :: offset_of ! (_xmlParserInput , buf) - 0usize] ; ["Offset of field: _xmlParserInput::filename"] [:: std :: mem :: offset_of ! (_xmlParserInput , filename) - 8usize] ; ["Offset of field: _xmlParserInput::directory"] [:: std :: mem :: offset_of ! (_xmlParserInput , directory) - 16usize] ; ["Offset of field: _xmlParserInput::base"] [:: std :: mem :: offset_of ! (_xmlParserInput , base) - 24usize] ; ["Offset of field: _xmlParserInput::cur"] [:: std :: mem :: offset_of ! (_xmlParserInput , cur) - 32usize] ; ["Offset of field: _xmlParserInput::end"] [:: std :: mem :: offset_of ! (_xmlParserInput , end) - 40usize] ; ["Offset of field: _xmlParserInput::length"] [:: std :: mem :: offset_of ! (_xmlParserInput , length) - 48usize] ; ["Offset of field: _xmlParserInput::line"] [:: std :: mem :: offset_of ! (_xmlParserInput , line) - 52usize] ; ["Offset of field: _xmlParserInput::col"] [:: std :: mem :: offset_of ! (_xmlParserInput , col) - 56usize] ; ["Offset of field: _xmlParserInput::consumed"] [:: std :: mem :: offset_of ! (_xmlParserInput , consumed) - 64usize] ; ["Offset of field: _xmlParserInput::free"] [:: std :: mem :: offset_of ! (_xmlParserInput , free) - 72usize] ; ["Offset of field: _xmlParserInput::encoding"] [:: std :: mem :: offset_of ! (_xmlParserInput , encoding) - 80usize] ; ["Offset of field: _xmlParserInput::version"] [:: std :: mem :: offset_of ! (_xmlParserInput , version) - 88usize] ; ["Offset of field: _xmlParserInput::flags"] [:: std :: mem :: offset_of ! (_xmlParserInput , flags) - 96usize] ; ["Offset of field: _xmlParserInput::id"] [:: std :: mem :: offset_of ! (_xmlParserInput , id) - 100usize] ; ["Offset of field: _xmlParserInput::parentConsumed"] [:: std :: mem :: offset_of ! (_xmlParserInput , parentConsumed) - 104usize] ; ["Offset of field: _xmlParserInput::entity"] [:: std :: mem :: offset_of ! (_xmlParserInput , entity) - 112usize] ; } ; # [doc = " @cond ignore"] pub type xmlParserNodeInfo = _xmlParserNodeInfo ; pub type xmlParserNodeInfoPtr = * mut xmlParserNodeInfo ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNodeInfo { pub node : * const _xmlNode , pub begin_pos : :: std :: os :: raw :: c_ulong , pub begin_line : :: std :: os :: raw :: c_ulong , pub end_pos : :: std :: os :: raw :: c_ulong , pub end_line : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserNodeInfo"] [:: std :: mem :: size_of :: < _xmlParserNodeInfo > () - 40usize] ; ["Alignment of _xmlParserNodeInfo"] [:: std :: mem :: align_of :: < _xmlParserNodeInfo > () - 8usize] ; ["Offset of field: _xmlParserNodeInfo::node"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , node) - 0usize] ; ["Offset of field: _xmlParserNodeInfo::begin_pos"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , begin_pos) - 8usize] ; ["Offset of field: _xmlParserNodeInfo::begin_line"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , begin_line) - 16usize] ; ["Offset of field: _xmlParserNodeInfo::end_pos"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , end_pos) - 24usize] ; ["Offset of field: _xmlParserNodeInfo::end_line"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , end_line) - 32usize] ; } ; pub type xmlParserNodeInfoSeq = _xmlParserNodeInfoSeq ; pub type xmlParserNodeInfoSeqPtr = * mut xmlParserNodeInfoSeq ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNodeInfoSeq { pub maximum : :: std :: os :: raw :: c_ulong , pub length : :: std :: os :: raw :: c_ulong , pub buffer : * mut xmlParserNodeInfo , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserNodeInfoSeq"] [:: std :: mem :: size_of :: < _xmlParserNodeInfoSeq > () - 24usize] ; ["Alignment of _xmlParserNodeInfoSeq"] [:: std :: mem :: align_of :: < _xmlParserNodeInfoSeq > () - 8usize] ; ["Offset of field: _xmlParserNodeInfoSeq::maximum"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , maximum) - 0usize] ; ["Offset of field: _xmlParserNodeInfoSeq::length"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , length) - 8usize] ; ["Offset of field: _xmlParserNodeInfoSeq::buffer"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , buffer) - 16usize] ; } ; pub const xmlParserInputState_XML_PARSER_EOF : xmlParserInputState = - 1 ; pub const xmlParserInputState_XML_PARSER_START : xmlParserInputState = 0 ; pub const xmlParserInputState_XML_PARSER_MISC : xmlParserInputState = 1 ; pub const xmlParserInputState_XML_PARSER_PI : xmlParserInputState = 2 ; pub const xmlParserInputState_XML_PARSER_DTD : xmlParserInputState = 3 ; pub const xmlParserInputState_XML_PARSER_PROLOG : xmlParserInputState = 4 ; pub const xmlParserInputState_XML_PARSER_COMMENT : xmlParserInputState = 5 ; pub const xmlParserInputState_XML_PARSER_START_TAG : xmlParserInputState = 6 ; pub const xmlParserInputState_XML_PARSER_CONTENT : xmlParserInputState = 7 ; pub const xmlParserInputState_XML_PARSER_CDATA_SECTION : xmlParserInputState = 8 ; pub const xmlParserInputState_XML_PARSER_END_TAG : xmlParserInputState = 9 ; pub const xmlParserInputState_XML_PARSER_ENTITY_DECL : xmlParserInputState = 10 ; pub const xmlParserInputState_XML_PARSER_ENTITY_VALUE : xmlParserInputState = 11 ; pub const xmlParserInputState_XML_PARSER_ATTRIBUTE_VALUE : xmlParserInputState = 12 ; pub const xmlParserInputState_XML_PARSER_SYSTEM_LITERAL : xmlParserInputState = 13 ; pub const xmlParserInputState_XML_PARSER_EPILOG : xmlParserInputState = 14 ; pub const xmlParserInputState_XML_PARSER_IGNORE : xmlParserInputState = 15 ; pub const xmlParserInputState_XML_PARSER_PUBLIC_LITERAL : xmlParserInputState = 16 ; pub const xmlParserInputState_XML_PARSER_XML_DECL : xmlParserInputState = 17 ; pub type xmlParserInputState = :: std :: os :: raw :: c_int ; pub const xmlParserMode_XML_PARSE_UNKNOWN : xmlParserMode = 0 ; pub const xmlParserMode_XML_PARSE_DOM : xmlParserMode = 1 ; pub const xmlParserMode_XML_PARSE_SAX : xmlParserMode = 2 ; pub const xmlParserMode_XML_PARSE_PUSH_DOM : xmlParserMode = 3 ; pub const xmlParserMode_XML_PARSE_PUSH_SAX : xmlParserMode = 4 ; pub const xmlParserMode_XML_PARSE_READER : xmlParserMode = 5 ; pub type xmlParserMode = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlStartTag { _unused : [u8 ; 0] , } pub type xmlStartTag = _xmlStartTag ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNsData { _unused : [u8 ; 0] , } pub type xmlParserNsData = _xmlParserNsData ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttrHashBucket { _unused : [u8 ; 0] , } pub type xmlAttrHashBucket = _xmlAttrHashBucket ; # [doc = " Callback for custom resource loaders.\n\n `flags` can contain XML_INPUT_UNZIP and XML_INPUT_NETWORK.\n\n The URL is resolved using XML catalogs before being passed to\n the callback.\n\n On success, `out` should be set to a new parser input object and\n XML_ERR_OK should be returned.\n\n @param ctxt  parser context\n @param url  URL or system ID to load\n @param publicId  publid ID from DTD (optional)\n @param type  resource type\n @param flags  flags\n @param out  result pointer\n @returns an xmlParserErrors code."] pub type xmlResourceLoader = :: std :: option :: Option < unsafe extern "C" fn (ctxt : * mut :: std :: os :: raw :: c_void , url : * const :: std :: os :: raw :: c_char , publicId : * const :: std :: os :: raw :: c_char , type_ : xmlResourceType , flags : xmlParserInputFlags , out : * mut * mut xmlParserInput) -> xmlParserErrors > ; # [doc = " Parser context"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserCtxt { # [doc = " @deprecated Use xmlCtxtGetSaxHandler() and\n xmlCtxtSetSaxHandler().\n\n the SAX handler"] pub sax : * mut _xmlSAXHandler , # [doc = " @deprecated Use #xmlCtxtGetUserData\n\n user data for SAX interface, defaults to the context itself"] pub userData : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlCtxtGetDocument()\n\n the document being built"] pub myDoc : * mut xmlDoc , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document well formed?"] pub wellFormed : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_NOENT\n\n shall we replace entities?"] pub replaceEntities : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetVersion()\n\n the XML version string"] pub version : * mut xmlChar , # [doc = " @deprecated Use xmlCtxtGetDeclaredEncoding()\n\n the declared encoding, if any"] pub encoding : * mut xmlChar , # [doc = " @deprecated Use xmlCtxtGetStandalone()\n\n standalone document"] pub standalone : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsHtml()\n\n non-zero for HTML documents, actually an htmlInsertMode"] pub html : :: std :: os :: raw :: c_int , pub input : * mut xmlParserInput , pub inputNr : :: std :: os :: raw :: c_int , pub inputMax : :: std :: os :: raw :: c_int , pub inputTab : * mut * mut xmlParserInput , # [doc = " @deprecated Use #xmlCtxtGetNode\n\n The current element."] pub node : * mut xmlNode , pub nodeNr : :: std :: os :: raw :: c_int , pub nodeMax : :: std :: os :: raw :: c_int , pub nodeTab : * mut * mut xmlNode , pub record_info : :: std :: os :: raw :: c_int , pub node_seq : xmlParserNodeInfoSeq , # [doc = " @deprecated Use xmlCtxtGetLastError()\n\n error code"] pub errNo : :: std :: os :: raw :: c_int , pub hasExternalSubset : :: std :: os :: raw :: c_int , pub hasPErefs : :: std :: os :: raw :: c_int , pub external : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document valid"] pub valid : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_DTDVALID\n\n shall we try to validate?"] pub validate : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetValidCtxt()\n\n The validity context"] pub vctxt : xmlValidCtxt , pub instate : xmlParserInputState , pub token : :: std :: os :: raw :: c_int , # [doc = " @deprecated Don't use\n\n The main document URI, if available, with its last\n component stripped."] pub directory : * mut :: std :: os :: raw :: c_char , pub name : * const xmlChar , pub nameNr : :: std :: os :: raw :: c_int , pub nameMax : :: std :: os :: raw :: c_int , pub nameTab : * mut * const xmlChar , pub nbChars : :: std :: os :: raw :: c_long , pub checkIndex : :: std :: os :: raw :: c_long , # [doc = " @deprecated Use inverted xmlParserOption XML_PARSE_NOBLANKS\n\n ugly but ..."] pub keepBlanks : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsStopped()\n\n SAX callbacks are disabled"] pub disableSAX : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsInSubset\n\n Set if DTD content is parsed.\n\n - 0: not in DTD\n - 1: in internal DTD subset\n - 2: in external DTD subset"] pub inSubset : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use the `name` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n Name of the internal subset (root element type)."] pub intSubName : * const xmlChar , # [doc = " @deprecated Use the `systemId` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n System identifier (URI) of external the subset."] pub extSubURI : * mut xmlChar , # [doc = " @deprecated Use the `publicId` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n This member is MISNAMED. It contains the *public* identifier\n of the external subset."] pub extSubSystem : * mut xmlChar , pub space : * mut :: std :: os :: raw :: c_int , pub spaceNr : :: std :: os :: raw :: c_int , pub spaceMax : :: std :: os :: raw :: c_int , pub spaceTab : * mut :: std :: os :: raw :: c_int , pub depth : :: std :: os :: raw :: c_int , pub entity : * mut xmlParserInput , pub charset : :: std :: os :: raw :: c_int , pub nodelen : :: std :: os :: raw :: c_int , pub nodemem : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_PEDANTIC\n\n signal pedantic warnings"] pub pedantic : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetPrivate() and xmlCtxtSetPrivate()\n\n For user data, libxml won't touch it"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlParserOption XML_PARSE_DTDLOAD,\n XML_PARSE_DTDATTR or XML_PARSE_SKIP_IDS.\n\n Control loading of the external subset and handling of IDs.\n Other options like `validate` can override this value.\n\n - 0: The default behavior is to process IDs and to ignore\n   the external subset.\n - XML_DETECT_IDS: Load external subset. This flag is\n   misnamed. ID handling is only controlled by XML_SKIP_IDS.\n - XML_COMPLETE_ATTRS: Load external subset and process\n   default attributes.\n - XML_SKIP_IDS: Ignore IDs."] pub loadsubset : :: std :: os :: raw :: c_int , pub linenumbers : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetCatalogs() and xmlCtxtSetCatalogs()\n\n document's own catalog"] pub catalogs : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlParserOption XML_PARSE_RECOVER\n run in recovery mode"] pub recovery : :: std :: os :: raw :: c_int , pub progressive : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetDict() and xmlCtxtSetDict()\n\n dictionary for the parser"] pub dict : * mut xmlDict , pub atts : * mut * const xmlChar , pub maxatts : :: std :: os :: raw :: c_int , pub docdict : :: std :: os :: raw :: c_int , pub str_xml : * const xmlChar , pub str_xmlns : * const xmlChar , pub str_xml_ns : * const xmlChar , pub sax2 : :: std :: os :: raw :: c_int , pub nsNr : :: std :: os :: raw :: c_int , pub nsMax : :: std :: os :: raw :: c_int , pub nsTab : * mut * const xmlChar , pub attallocs : * mut :: std :: os :: raw :: c_uint , pub pushTab : * mut xmlStartTag , pub attsDefault : * mut xmlHashTable , pub attsSpecial : * mut xmlHashTable , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document XML Namespace okay"] pub nsWellFormed : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetOptions()\n\n Extra options"] pub options : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use inverted xmlParserOption XML_PARSE_NODICT\n\n Use dictionary names for the tree"] pub dictNames : :: std :: os :: raw :: c_int , pub freeElemsNr : :: std :: os :: raw :: c_int , pub freeElems : * mut xmlNode , pub freeAttrsNr : :: std :: os :: raw :: c_int , pub freeAttrs : * mut xmlAttr , # [doc = " @deprecated Use xmlCtxtGetLastError()\n\n the complete error information for the last error."] pub lastError : xmlError , pub parseMode : xmlParserMode , pub nbentities : :: std :: os :: raw :: c_ulong , pub sizeentities : :: std :: os :: raw :: c_ulong , pub nodeInfo : * mut xmlParserNodeInfo , pub nodeInfoNr : :: std :: os :: raw :: c_int , pub nodeInfoMax : :: std :: os :: raw :: c_int , pub nodeInfoTab : * mut xmlParserNodeInfo , pub input_id : :: std :: os :: raw :: c_int , pub sizeentcopy : :: std :: os :: raw :: c_ulong , pub endCheckState : :: std :: os :: raw :: c_int , pub nbErrors : :: std :: os :: raw :: c_ushort , pub nbWarnings : :: std :: os :: raw :: c_ushort , pub maxAmpl : :: std :: os :: raw :: c_uint , pub nsdb : * mut xmlParserNsData , pub attrHashMax : :: std :: os :: raw :: c_uint , pub attrHash : * mut xmlAttrHashBucket , pub errorHandler : xmlStructuredErrorFunc , pub errorCtxt : * mut :: std :: os :: raw :: c_void , pub resourceLoader : xmlResourceLoader , pub resourceCtxt : * mut :: std :: os :: raw :: c_void , pub convImpl : xmlCharEncConvImpl , pub convCtxt : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserCtxt"] [:: std :: mem :: size_of :: < _xmlParserCtxt > () - 840usize] ; ["Alignment of _xmlParserCtxt"] [:: std :: mem :: align_of :: < _xmlParserCtxt > () - 8usize] ; ["Offset of field: _xmlParserCtxt::sax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sax) - 0usize] ; ["Offset of field: _xmlParserCtxt::userData"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , userData) - 8usize] ; ["Offset of field: _xmlParserCtxt::myDoc"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , myDoc) - 16usize] ; ["Offset of field: _xmlParserCtxt::wellFormed"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , wellFormed) - 24usize] ; ["Offset of field: _xmlParserCtxt::replaceEntities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , replaceEntities) - 28usize] ; ["Offset of field: _xmlParserCtxt::version"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , version) - 32usize] ; ["Offset of field: _xmlParserCtxt::encoding"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , encoding) - 40usize] ; ["Offset of field: _xmlParserCtxt::standalone"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , standalone) - 48usize] ; ["Offset of field: _xmlParserCtxt::html"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , html) - 52usize] ; ["Offset of field: _xmlParserCtxt::input"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , input) - 56usize] ; ["Offset of field: _xmlParserCtxt::inputNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputNr) - 64usize] ; ["Offset of field: _xmlParserCtxt::inputMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputMax) - 68usize] ; ["Offset of field: _xmlParserCtxt::inputTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputTab) - 72usize] ; ["Offset of field: _xmlParserCtxt::node"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , node) - 80usize] ; ["Offset of field: _xmlParserCtxt::nodeNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeNr) - 88usize] ; ["Offset of field: _xmlParserCtxt::nodeMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeMax) - 92usize] ; ["Offset of field: _xmlParserCtxt::nodeTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeTab) - 96usize] ; ["Offset of field: _xmlParserCtxt::record_info"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , record_info) - 104usize] ; ["Offset of field: _xmlParserCtxt::node_seq"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , node_seq) - 112usize] ; ["Offset of field: _xmlParserCtxt::errNo"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errNo) - 136usize] ; ["Offset of field: _xmlParserCtxt::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , hasExternalSubset) - 140usize] ; ["Offset of field: _xmlParserCtxt::hasPErefs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , hasPErefs) - 144usize] ; ["Offset of field: _xmlParserCtxt::external"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , external) - 148usize] ; ["Offset of field: _xmlParserCtxt::valid"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , valid) - 152usize] ; ["Offset of field: _xmlParserCtxt::validate"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , validate) - 156usize] ; ["Offset of field: _xmlParserCtxt::vctxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , vctxt) - 160usize] ; ["Offset of field: _xmlParserCtxt::instate"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , instate) - 272usize] ; ["Offset of field: _xmlParserCtxt::token"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , token) - 276usize] ; ["Offset of field: _xmlParserCtxt::directory"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , directory) - 280usize] ; ["Offset of field: _xmlParserCtxt::name"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , name) - 288usize] ; ["Offset of field: _xmlParserCtxt::nameNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameNr) - 296usize] ; ["Offset of field: _xmlParserCtxt::nameMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameMax) - 300usize] ; ["Offset of field: _xmlParserCtxt::nameTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameTab) - 304usize] ; ["Offset of field: _xmlParserCtxt::nbChars"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbChars) - 312usize] ; ["Offset of field: _xmlParserCtxt::checkIndex"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , checkIndex) - 320usize] ; ["Offset of field: _xmlParserCtxt::keepBlanks"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , keepBlanks) - 328usize] ; ["Offset of field: _xmlParserCtxt::disableSAX"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , disableSAX) - 332usize] ; ["Offset of field: _xmlParserCtxt::inSubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inSubset) - 336usize] ; ["Offset of field: _xmlParserCtxt::intSubName"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , intSubName) - 344usize] ; ["Offset of field: _xmlParserCtxt::extSubURI"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , extSubURI) - 352usize] ; ["Offset of field: _xmlParserCtxt::extSubSystem"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , extSubSystem) - 360usize] ; ["Offset of field: _xmlParserCtxt::space"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , space) - 368usize] ; ["Offset of field: _xmlParserCtxt::spaceNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceNr) - 376usize] ; ["Offset of field: _xmlParserCtxt::spaceMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceMax) - 380usize] ; ["Offset of field: _xmlParserCtxt::spaceTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceTab) - 384usize] ; ["Offset of field: _xmlParserCtxt::depth"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , depth) - 392usize] ; ["Offset of field: _xmlParserCtxt::entity"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , entity) - 400usize] ; ["Offset of field: _xmlParserCtxt::charset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , charset) - 408usize] ; ["Offset of field: _xmlParserCtxt::nodelen"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodelen) - 412usize] ; ["Offset of field: _xmlParserCtxt::nodemem"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodemem) - 416usize] ; ["Offset of field: _xmlParserCtxt::pedantic"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , pedantic) - 420usize] ; ["Offset of field: _xmlParserCtxt::_private"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , _private) - 424usize] ; ["Offset of field: _xmlParserCtxt::loadsubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , loadsubset) - 432usize] ; ["Offset of field: _xmlParserCtxt::linenumbers"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , linenumbers) - 436usize] ; ["Offset of field: _xmlParserCtxt::catalogs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , catalogs) - 440usize] ; ["Offset of field: _xmlParserCtxt::recovery"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , recovery) - 448usize] ; ["Offset of field: _xmlParserCtxt::progressive"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , progressive) - 452usize] ; ["Offset of field: _xmlParserCtxt::dict"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , dict) - 456usize] ; ["Offset of field: _xmlParserCtxt::atts"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , atts) - 464usize] ; ["Offset of field: _xmlParserCtxt::maxatts"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , maxatts) - 472usize] ; ["Offset of field: _xmlParserCtxt::docdict"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , docdict) - 476usize] ; ["Offset of field: _xmlParserCtxt::str_xml"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xml) - 480usize] ; ["Offset of field: _xmlParserCtxt::str_xmlns"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xmlns) - 488usize] ; ["Offset of field: _xmlParserCtxt::str_xml_ns"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xml_ns) - 496usize] ; ["Offset of field: _xmlParserCtxt::sax2"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sax2) - 504usize] ; ["Offset of field: _xmlParserCtxt::nsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsNr) - 508usize] ; ["Offset of field: _xmlParserCtxt::nsMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsMax) - 512usize] ; ["Offset of field: _xmlParserCtxt::nsTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsTab) - 520usize] ; ["Offset of field: _xmlParserCtxt::attallocs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attallocs) - 528usize] ; ["Offset of field: _xmlParserCtxt::pushTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , pushTab) - 536usize] ; ["Offset of field: _xmlParserCtxt::attsDefault"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attsDefault) - 544usize] ; ["Offset of field: _xmlParserCtxt::attsSpecial"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attsSpecial) - 552usize] ; ["Offset of field: _xmlParserCtxt::nsWellFormed"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsWellFormed) - 560usize] ; ["Offset of field: _xmlParserCtxt::options"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , options) - 564usize] ; ["Offset of field: _xmlParserCtxt::dictNames"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , dictNames) - 568usize] ; ["Offset of field: _xmlParserCtxt::freeElemsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeElemsNr) - 572usize] ; ["Offset of field: _xmlParserCtxt::freeElems"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeElems) - 576usize] ; ["Offset of field: _xmlParserCtxt::freeAttrsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeAttrsNr) - 584usize] ; ["Offset of field: _xmlParserCtxt::freeAttrs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeAttrs) - 592usize] ; ["Offset of field: _xmlParserCtxt::lastError"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , lastError) - 600usize] ; ["Offset of field: _xmlParserCtxt::parseMode"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , parseMode) - 688usize] ; ["Offset of field: _xmlParserCtxt::nbentities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbentities) - 696usize] ; ["Offset of field: _xmlParserCtxt::sizeentities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sizeentities) - 704usize] ; ["Offset of field: _xmlParserCtxt::nodeInfo"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfo) - 712usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoNr) - 720usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoMax) - 724usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoTab) - 728usize] ; ["Offset of field: _xmlParserCtxt::input_id"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , input_id) - 736usize] ; ["Offset of field: _xmlParserCtxt::sizeentcopy"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sizeentcopy) - 744usize] ; ["Offset of field: _xmlParserCtxt::endCheckState"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , endCheckState) - 752usize] ; ["Offset of field: _xmlParserCtxt::nbErrors"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbErrors) - 756usize] ; ["Offset of field: _xmlParserCtxt::nbWarnings"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbWarnings) - 758usize] ; ["Offset of field: _xmlParserCtxt::maxAmpl"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , maxAmpl) - 760usize] ; ["Offset of field: _xmlParserCtxt::nsdb"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsdb) - 768usize] ; ["Offset of field: _xmlParserCtxt::attrHashMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attrHashMax) - 776usize] ; ["Offset of field: _xmlParserCtxt::attrHash"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attrHash) - 784usize] ; ["Offset of field: _xmlParserCtxt::errorHandler"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errorHandler) - 792usize] ; ["Offset of field: _xmlParserCtxt::errorCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errorCtxt) - 800usize] ; ["Offset of field: _xmlParserCtxt::resourceLoader"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , resourceLoader) - 808usize] ; ["Offset of field: _xmlParserCtxt::resourceCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , resourceCtxt) - 816usize] ; ["Offset of field: _xmlParserCtxt::convImpl"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , convImpl) - 824usize] ; ["Offset of field: _xmlParserCtxt::convCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , convCtxt) - 832usize] ; } ; # [doc = " A SAX Locator."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXLocator { pub getPublicId : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar > , pub getSystemId : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar > , pub getLineNumber : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , pub getColumnNumber : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXLocator"] [:: std :: mem :: size_of :: < _xmlSAXLocator > () - 32usize] ; ["Alignment of _xmlSAXLocator"] [:: std :: mem :: align_of :: < _xmlSAXLocator > () - 8usize] ; ["Offset of field: _xmlSAXLocator::getPublicId"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getPublicId) - 0usize] ; ["Offset of field: _xmlSAXLocator::getSystemId"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getSystemId) - 8usize] ; ["Offset of field: _xmlSAXLocator::getLineNumber"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getLineNumber) - 16usize] ; ["Offset of field: _xmlSAXLocator::getColumnNumber"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getColumnNumber) - 24usize] ; } ; # [doc = " SAX callback to resolve external entities.\n\n This is only used to load DTDs. The preferred way to install\n custom resolvers is #xmlCtxtSetResourceLoader.\n\n @param ctx  the user data (XML parser context)\n @param publicId  The public identifier of the entity\n @param systemId  The system identifier of the entity (URL)\n @returns the xmlParserInput if inlined or NULL for DOM behaviour."] pub type resolveEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlParserInput > ; # [doc = " SAX callback for the internal subset.\n\n @param ctx  the user data (XML parser context)\n @param name  the root element name\n @param publicId  the public identifier\n @param systemId  the system identifier (e.g. filename or URL)"] pub type internalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback for the external subset.\n\n @param ctx  the user data (XML parser context)\n @param name  the root element name\n @param publicId  the public identifier\n @param systemId  the system identifier (e.g. filename or URL)"] pub type externalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback to look up a general entity by name.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name\n @returns the xmlEntity if found."] pub type getEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity > ; # [doc = " SAX callback to look up a parameter entity by name.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name\n @returns the xmlEntity if found."] pub type getParameterEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity > ; # [doc = " SAX callback for entity declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  the entity name\n @param type  the entity type\n @param publicId  The public ID of the entity\n @param systemId  The system ID of the entity\n @param content  the entity value (without processing)."] pub type entityDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * mut xmlChar) > ; # [doc = " SAX callback for notation declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  The name of the notation\n @param publicId  The public ID of the notation\n @param systemId  The system ID of the notation"] pub type notationDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback for attribute declarations.\n\n @param ctx  the user data (XML parser context)\n @param elem  the name of the element\n @param fullname  the attribute name\n @param type  the attribute type\n @param def  the type of default value\n @param defaultValue  the attribute default value\n @param tree  the tree of enumerated value set"] pub type attributeDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , elem : * const xmlChar , fullname : * const xmlChar , type_ : :: std :: os :: raw :: c_int , def : :: std :: os :: raw :: c_int , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) > ; # [doc = " SAX callback for element declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  the element name\n @param type  the element type\n @param content  the element value tree"] pub type elementDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , content : * mut xmlElementContent) > ; # [doc = " SAX callback for unparsed entity declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  The name of the entity\n @param publicId  The public ID of the entity\n @param systemId  The system ID of the entity\n @param notationName  the name of the notation"] pub type unparsedEntityDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar , notationName : * const xmlChar) > ; # [doc = " This callback receives the \"document locator\" at startup,\n which is always the global xmlDefaultSAXLocator.\n\n Everything is available on the context, so this is useless in\n our case.\n\n @param ctx  the user data (XML parser context)\n @param loc  A SAX Locator"] pub type setDocumentLocatorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , loc : * mut xmlSAXLocator) > ; # [doc = " SAX callback for start of document.\n\n @param ctx  the user data (XML parser context)"] pub type startDocumentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) > ; # [doc = " SAX callback for end of document.\n\n @param ctx  the user data (XML parser context)"] pub type endDocumentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) > ; # [doc = " SAX callback for start tags.\n\n @param ctx  the user data (XML parser context)\n @param name  The element name, including namespace prefix\n @param atts  An array of name/value attributes pairs, NULL terminated"] pub type startElementSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , atts : * mut * const xmlChar) > ; # [doc = " SAX callback for end tags.\n\n @param ctx  the user data (XML parser context)\n @param name  The element name"] pub type endElementSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback for attributes.\n\n @deprecated This typedef is unused.\n\n @param ctx  the user data (XML parser context)\n @param name  The attribute name, including namespace prefix\n @param value  The attribute value"] pub type attributeSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , value : * const xmlChar) > ; # [doc = " SAX callback for entity references.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name"] pub type referenceSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " SAX callback for character data.\n\n @param ctx  the user data (XML parser context)\n @param ch  a xmlChar string\n @param len  the number of xmlChar"] pub type charactersSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for \"ignorable\" whitespace.\n\n @param ctx  the user data (XML parser context)\n @param ch  a xmlChar string\n @param len  the number of xmlChar"] pub type ignorableWhitespaceSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for processing instructions.\n\n @param ctx  the user data (XML parser context)\n @param target  the target name\n @param data  the PI data's"] pub type processingInstructionSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , target : * const xmlChar , data : * const xmlChar) > ; # [doc = " SAX callback for comments.\n\n @param ctx  the user data (XML parser context)\n @param value  the comment content"] pub type commentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar) > ; # [doc = " SAX callback for CDATA sections.\n\n @param ctx  the user data (XML parser context)\n @param value  The pcdata content\n @param len  the block length"] pub type cdataBlockSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for warning messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type warningSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback for error messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type errorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback for fatal error messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type fatalErrorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback to get standalone status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type isStandaloneSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX callback to get internal subset status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type hasInternalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX callback to get external subset status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type hasExternalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX2 callback for start tags.\n\n It provides the namespace information for the element, as well as\n the new namespace declarations on the element.\n\n @param ctx  the user data (XML parser context)\n @param localname  the local name of the element\n @param prefix  the element namespace prefix if available\n @param URI  the element namespace name if available\n @param nb_namespaces  number of namespace definitions on that node\n @param namespaces  pointer to the array of prefix/URI pairs namespace definitions\n @param nb_attributes  the number of attributes on that node\n @param nb_defaulted  the number of defaulted attributes. The defaulted\n                  ones are at the end of the array\n @param attributes  pointer to the array of (localname/prefix/URI/value/end)\n               attribute values."] pub type startElementNsSAX2Func = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar , nb_namespaces : :: std :: os :: raw :: c_int , namespaces : * mut * const xmlChar , nb_attributes : :: std :: os :: raw :: c_int , nb_defaulted : :: std :: os :: raw :: c_int , attributes : * mut * const xmlChar) > ; # [doc = " SAX2 callback for end tags.\n\n It provides the namespace information for the element.\n\n @param ctx  the user data (XML parser context)\n @param localname  the local name of the element\n @param prefix  the element namespace prefix if available\n @param URI  the element namespace name if available"] pub type endElementNsSAX2Func = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar) > ; # [doc = " Callbacks for SAX parser\n\n For DTD-related handlers, it's recommended to either use the\n original libxml2 handler or set them to NULL if DTDs can be\n ignored."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXHandler { # [doc = " Called after the start of the document type declaration\n was parsed.\n\n Should typically not be modified."] pub internalSubset : internalSubsetSAXFunc , # [doc = " Standalone status. Not invoked by the parser. Not supposed\n to be changed by applications."] pub isStandalone : isStandaloneSAXFunc , # [doc = " Internal subset availability. Not invoked by the parser.\n Not supposed to be changed by applications."] pub hasInternalSubset : hasInternalSubsetSAXFunc , # [doc = " External subset availability. Not invoked by the parser.\n Not supposed to be changed by applications."] pub hasExternalSubset : hasExternalSubsetSAXFunc , # [doc = " Only called when loading external DTDs. Not called to load\n external entities.\n\n Should typically not be modified."] pub resolveEntity : resolveEntitySAXFunc , # [doc = " Called when looking up general entities.\n\n Should typically not be modified."] pub getEntity : getEntitySAXFunc , # [doc = " Called after an entity declaration was parsed.\n\n Should typically not be modified."] pub entityDecl : entityDeclSAXFunc , # [doc = " Called after a notation declaration was parsed.\n\n Should typically not be modified."] pub notationDecl : notationDeclSAXFunc , # [doc = " Called after an attribute declaration was parsed.\n\n Should typically not be modified."] pub attributeDecl : attributeDeclSAXFunc , # [doc = " Called after an element declaration was parsed.\n\n Should typically not be modified."] pub elementDecl : elementDeclSAXFunc , # [doc = " Called after an unparsed entity declaration was parsed.\n\n Should typically not be modified."] pub unparsedEntityDecl : unparsedEntityDeclSAXFunc , # [doc = " This callback receives the \"document locator\" at startup,\n which is always the global xmlDefaultSAXLocator.\n\n Everything is available on the context, so this is useless in\n our case."] pub setDocumentLocator : setDocumentLocatorSAXFunc , # [doc = " Called after the XML declaration was parsed.\n\n Use xmlCtxtGetVersion(), xmlCtxtGetDeclaredEncoding() and\n xmlCtxtGetStandalone() to get data from the XML declaration."] pub startDocument : startDocumentSAXFunc , # [doc = " Called at the end of the document."] pub endDocument : endDocumentSAXFunc , # [doc = " Legacy start tag handler\n\n `startElement` and `endElement` are only used by the legacy SAX1\n interface and should not be used in new software. If you really\n have to enable SAX1, the preferred way is set the `initialized`\n member to 1 instead of XML_SAX2_MAGIC.\n\n For backward compatibility, it's also possible to set the\n `startElementNs` and `endElementNs` handlers to NULL.\n\n You can also set the XML_PARSE_SAX1 parser option, but versions\n older than 2.12.0 will probably crash if this option is provided\n together with custom SAX callbacks."] pub startElement : startElementSAXFunc , # [doc = " See _xmlSAXHandler.startElement"] pub endElement : endElementSAXFunc , # [doc = " Called after an entity reference was parsed."] pub reference : referenceSAXFunc , # [doc = " Called after a character data was parsed."] pub characters : charactersSAXFunc , # [doc = " Called after \"ignorable\" whitespace was parsed.\n\n `ignorableWhitespace` should always be set to the same value\n as `characters`. Otherwise, the parser will try to detect\n whitespace which is unreliable."] pub ignorableWhitespace : ignorableWhitespaceSAXFunc , # [doc = " Called after a processing instruction was parsed."] pub processingInstruction : processingInstructionSAXFunc , # [doc = " Called after a comment was parsed."] pub comment : commentSAXFunc , # [doc = " Callback for warning messages."] pub warning : warningSAXFunc , # [doc = " Callback for error messages."] pub error : errorSAXFunc , # [doc = " Unused, all errors go to `error`."] pub fatalError : fatalErrorSAXFunc , # [doc = " Called when looking up parameter entities.\n\n Should typically not be modified."] pub getParameterEntity : getParameterEntitySAXFunc , # [doc = " Called after a CDATA section was parsed."] pub cdataBlock : cdataBlockSAXFunc , # [doc = " Called to parse the external subset.\n\n Should typically not be modified."] pub externalSubset : externalSubsetSAXFunc , # [doc = " Legacy magic value\n\n `initialized` should always be set to XML_SAX2_MAGIC to\n enable the modern SAX2 interface."] pub initialized : :: std :: os :: raw :: c_uint , # [doc = " Application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " Called after a start tag was parsed."] pub startElementNs : startElementNsSAX2Func , # [doc = " Called after an end tag was parsed."] pub endElementNs : endElementNsSAX2Func , # [doc = " Structured error handler.\n\n Takes precedence over `error` or `warning`, but modern code\n should use xmlCtxtSetErrorHandler()."] pub serror : xmlStructuredErrorFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXHandler"] [:: std :: mem :: size_of :: < _xmlSAXHandler > () - 256usize] ; ["Alignment of _xmlSAXHandler"] [:: std :: mem :: align_of :: < _xmlSAXHandler > () - 8usize] ; ["Offset of field: _xmlSAXHandler::internalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , internalSubset) - 0usize] ; ["Offset of field: _xmlSAXHandler::isStandalone"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , isStandalone) - 8usize] ; ["Offset of field: _xmlSAXHandler::hasInternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , hasInternalSubset) - 16usize] ; ["Offset of field: _xmlSAXHandler::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , hasExternalSubset) - 24usize] ; ["Offset of field: _xmlSAXHandler::resolveEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , resolveEntity) - 32usize] ; ["Offset of field: _xmlSAXHandler::getEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , getEntity) - 40usize] ; ["Offset of field: _xmlSAXHandler::entityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , entityDecl) - 48usize] ; ["Offset of field: _xmlSAXHandler::notationDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , notationDecl) - 56usize] ; ["Offset of field: _xmlSAXHandler::attributeDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , attributeDecl) - 64usize] ; ["Offset of field: _xmlSAXHandler::elementDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , elementDecl) - 72usize] ; ["Offset of field: _xmlSAXHandler::unparsedEntityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , unparsedEntityDecl) - 80usize] ; ["Offset of field: _xmlSAXHandler::setDocumentLocator"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , setDocumentLocator) - 88usize] ; ["Offset of field: _xmlSAXHandler::startDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startDocument) - 96usize] ; ["Offset of field: _xmlSAXHandler::endDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endDocument) - 104usize] ; ["Offset of field: _xmlSAXHandler::startElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startElement) - 112usize] ; ["Offset of field: _xmlSAXHandler::endElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endElement) - 120usize] ; ["Offset of field: _xmlSAXHandler::reference"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , reference) - 128usize] ; ["Offset of field: _xmlSAXHandler::characters"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , characters) - 136usize] ; ["Offset of field: _xmlSAXHandler::ignorableWhitespace"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , ignorableWhitespace) - 144usize] ; ["Offset of field: _xmlSAXHandler::processingInstruction"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , processingInstruction) - 152usize] ; ["Offset of field: _xmlSAXHandler::comment"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , comment) - 160usize] ; ["Offset of field: _xmlSAXHandler::warning"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , warning) - 168usize] ; ["Offset of field: _xmlSAXHandler::error"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , error) - 176usize] ; ["Offset of field: _xmlSAXHandler::fatalError"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , fatalError) - 184usize] ; ["Offset of field: _xmlSAXHandler::getParameterEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , getParameterEntity) - 192usize] ; ["Offset of field: _xmlSAXHandler::cdataBlock"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , cdataBlock) - 200usize] ; ["Offset of field: _xmlSAXHandler::externalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , externalSubset) - 208usize] ; ["Offset of field: _xmlSAXHandler::initialized"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , initialized) - 216usize] ; ["Offset of field: _xmlSAXHandler::_private"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , _private) - 224usize] ; ["Offset of field: _xmlSAXHandler::startElementNs"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startElementNs) - 232usize] ; ["Offset of field: _xmlSAXHandler::endElementNs"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endElementNs) - 240usize] ; ["Offset of field: _xmlSAXHandler::serror"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , serror) - 248usize] ; } ; # [doc = " SAX handler, version 1.\n\n @deprecated Use version 2 handlers."] pub type xmlSAXHandlerV1 = _xmlSAXHandlerV1 ; pub type xmlSAXHandlerV1Ptr = * mut xmlSAXHandlerV1 ; # [doc = " SAX handler, version 1.\n\n @deprecated Use version 2 handlers."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXHandlerV1 { pub internalSubset : internalSubsetSAXFunc , pub isStandalone : isStandaloneSAXFunc , pub hasInternalSubset : hasInternalSubsetSAXFunc , pub hasExternalSubset : hasExternalSubsetSAXFunc , pub resolveEntity : resolveEntitySAXFunc , pub getEntity : getEntitySAXFunc , pub entityDecl : entityDeclSAXFunc , pub notationDecl : notationDeclSAXFunc , pub attributeDecl : attributeDeclSAXFunc , pub elementDecl : elementDeclSAXFunc , pub unparsedEntityDecl : unparsedEntityDeclSAXFunc , pub setDocumentLocator : setDocumentLocatorSAXFunc , pub startDocument : startDocumentSAXFunc , pub endDocument : endDocumentSAXFunc , pub startElement : startElementSAXFunc , pub endElement : endElementSAXFunc , pub reference : referenceSAXFunc , pub characters : charactersSAXFunc , pub ignorableWhitespace : ignorableWhitespaceSAXFunc , pub processingInstruction : processingInstructionSAXFunc , pub comment : commentSAXFunc , pub warning : warningSAXFunc , pub error : errorSAXFunc , pub fatalError : fatalErrorSAXFunc , pub getParameterEntity : getParameterEntitySAXFunc , pub cdataBlock : cdataBlockSAXFunc , pub externalSubset : externalSubsetSAXFunc , pub initialized : :: std :: os :: raw :: c_uint , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXHandlerV1"] [:: std :: mem :: size_of :: < _xmlSAXHandlerV1 > () - 224usize] ; ["Alignment of _xmlSAXHandlerV1"] [:: std :: mem :: align_of :: < _xmlSAXHandlerV1 > () - 8usize] ; ["Offset of field: _xmlSAXHandlerV1::internalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , internalSubset) - 0usize] ; ["Offset of field: _xmlSAXHandlerV1::isStandalone"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , isStandalone) - 8usize] ; ["Offset of field: _xmlSAXHandlerV1::hasInternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , hasInternalSubset) - 16usize] ; ["Offset of field: _xmlSAXHandlerV1::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , hasExternalSubset) - 24usize] ; ["Offset of field: _xmlSAXHandlerV1::resolveEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , resolveEntity) - 32usize] ; ["Offset of field: _xmlSAXHandlerV1::getEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , getEntity) - 40usize] ; ["Offset of field: _xmlSAXHandlerV1::entityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , entityDecl) - 48usize] ; ["Offset of field: _xmlSAXHandlerV1::notationDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , notationDecl) - 56usize] ; ["Offset of field: _xmlSAXHandlerV1::attributeDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , attributeDecl) - 64usize] ; ["Offset of field: _xmlSAXHandlerV1::elementDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , elementDecl) - 72usize] ; ["Offset of field: _xmlSAXHandlerV1::unparsedEntityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , unparsedEntityDecl) - 80usize] ; ["Offset of field: _xmlSAXHandlerV1::setDocumentLocator"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , setDocumentLocator) - 88usize] ; ["Offset of field: _xmlSAXHandlerV1::startDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , startDocument) - 96usize] ; ["Offset of field: _xmlSAXHandlerV1::endDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , endDocument) - 104usize] ; ["Offset of field: _xmlSAXHandlerV1::startElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , startElement) - 112usize] ; ["Offset of field: _xmlSAXHandlerV1::endElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , endElement) - 120usize] ; ["Offset of field: _xmlSAXHandlerV1::reference"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , reference) - 128usize] ; ["Offset of field: _xmlSAXHandlerV1::characters"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , characters) - 136usize] ; ["Offset of field: _xmlSAXHandlerV1::ignorableWhitespace"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , ignorableWhitespace) - 144usize] ; ["Offset of field: _xmlSAXHandlerV1::processingInstruction"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , processingInstruction) - 152usize] ; ["Offset of field: _xmlSAXHandlerV1::comment"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , comment) - 160usize] ; ["Offset of field: _xmlSAXHandlerV1::warning"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , warning) - 168usize] ; ["Offset of field: _xmlSAXHandlerV1::error"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , error) - 176usize] ; ["Offset of field: _xmlSAXHandlerV1::fatalError"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , fatalError) - 184usize] ; ["Offset of field: _xmlSAXHandlerV1::getParameterEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , getParameterEntity) - 192usize] ; ["Offset of field: _xmlSAXHandlerV1::cdataBlock"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , cdataBlock) - 200usize] ; ["Offset of field: _xmlSAXHandlerV1::externalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , externalSubset) - 208usize] ; ["Offset of field: _xmlSAXHandlerV1::initialized"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , initialized) - 216usize] ; } ; # [doc = " Callback for external entity loader.\n\n The URL is not resolved using XML catalogs before being passed\n to the callback.\n\n @param URL  The URL or system ID of the resource requested\n @param publicId  The public ID of the resource requested (optional)\n @param context  the XML parser context\n @returns the entity input parser or NULL on error."] pub type xmlExternalEntityLoader = :: std :: option :: Option < unsafe extern "C" fn (URL : * const :: std :: os :: raw :: c_char , publicId : * const :: std :: os :: raw :: c_char , context : * mut xmlParserCtxt) -> * mut xmlParserInput > ; unsafe extern "C" { pub static xmlParserVersion : * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { # [doc = " @cond ignore"] pub static xmlDefaultSAXLocator : xmlSAXLocator ; } unsafe extern "C" { # [doc = " @deprecated Use #xmlSAXVersion or #xmlSAX2InitDefaultSAXHandler"] pub static xmlDefaultSAXHandler : xmlSAXHandlerV1 ; } unsafe extern "C" { pub fn __xmlDoValidityCheckingDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlGetWarningsDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlKeepBlanksDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlLineNumbersDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlLoadExtDtdDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlPedanticParserDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlSubstituteEntitiesDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlIndentTreeOutput () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlTreeIndentString () -> * mut * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn __xmlSaveNoEmptyTags () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlInitParser () ; } unsafe extern "C" { pub fn xmlCleanupParser () ; } unsafe extern "C" { pub fn xmlInitGlobals () ; } unsafe extern "C" { pub fn xmlCleanupGlobals () ; } unsafe extern "C" { pub fn xmlParserInputRead (in_ : * mut xmlParserInput , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputGrow (in_ : * mut xmlParserInput , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseDoc (cur : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseFile (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSubstituteEntitiesDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlKeepBlanksDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStopParser (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlPedanticParserDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlLineNumbersDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefSubstituteEntitiesDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefKeepBlanksDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefPedanticParserDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefLineNumbersDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefDoValidityCheckingDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefGetWarningsDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefLoadExtDtdDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRecoverDoc (cur : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlRecoverMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlRecoverFile (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseDocument (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseExtParsedEnt (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXUserParseFile (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXUserParseMemory (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXParseDoc (sax : * mut xmlSAXHandler , cur : * const xmlChar , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseMemory (sax : * mut xmlSAXHandler , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseMemoryWithData (sax : * mut xmlSAXHandler , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , recovery : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseFile (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseFileWithData (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char , recovery : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseEntity (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseEntity (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseDtd (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlCtxtValidateDocument (ctxt : * mut xmlParserCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtValidateDtd (ctxt : * mut xmlParserCtxt , doc : * mut xmlDoc , dtd : * mut xmlDtd) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXParseDTD (sax : * mut xmlSAXHandler , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlParseDTD (publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlIOParseDTD (sax : * mut xmlSAXHandler , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlParseBalancedChunkMemory (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , string : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseInNodeContext (node : * mut xmlNode , data : * const :: std :: os :: raw :: c_char , datalen : :: std :: os :: raw :: c_int , options : :: std :: os :: raw :: c_int , lst : * mut * mut xmlNode) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlParseBalancedChunkMemoryRecover (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , string : * const xmlChar , lst : * mut * mut xmlNode , recover : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseExternalEntity (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , URL : * const xmlChar , ID : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseCtxtExternalEntity (ctx : * mut xmlParserCtxt , URL : * const xmlChar , ID : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNewParserCtxt () -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlNewSAXParserCtxt (sax : * const xmlSAXHandler , userData : * mut :: std :: os :: raw :: c_void) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlInitParserCtxt (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlClearParserCtxt (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlFreeParserCtxt (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlSetupParserForBuffer (ctxt : * mut xmlParserCtxt , buffer : * const xmlChar , filename : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlCreateDocParserCtxt (cur : * const xmlChar) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlCreatePushParserCtxt (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , filename : * const :: std :: os :: raw :: c_char) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlParseChunk (ctxt : * mut xmlParserCtxt , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , terminate : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCreateIOParserCtxt (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , enc : xmlCharEncoding) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlNewIOInputStream (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlParserFindNodeInfo (ctxt : * mut xmlParserCtxt , node : * mut xmlNode) -> * const xmlParserNodeInfo ; } unsafe extern "C" { pub fn xmlInitNodeInfoSeq (seq : * mut xmlParserNodeInfoSeq) ; } unsafe extern "C" { pub fn xmlClearNodeInfoSeq (seq : * mut xmlParserNodeInfoSeq) ; } unsafe extern "C" { pub fn xmlParserFindNodeInfoIndex (seq : * mut xmlParserNodeInfoSeq , node : * mut xmlNode) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlParserAddNodeInfo (ctxt : * mut xmlParserCtxt , info : * mut xmlParserNodeInfo) ; } unsafe extern "C" { pub fn xmlSetExternalEntityLoader (f : xmlExternalEntityLoader) ; } unsafe extern "C" { pub fn xmlGetExternalEntityLoader () -> xmlExternalEntityLoader ; } unsafe extern "C" { pub fn xmlLoadExternalEntity (URL : * const :: std :: os :: raw :: c_char , ID : * const :: std :: os :: raw :: c_char , ctxt : * mut xmlParserCtxt) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlByteConsumed (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_long ; } # [doc = " Enable \"recovery\" mode which allows non-wellformed documents.\n How this mode behaves exactly is unspecified and may change\n without further notice. Use of this feature is DISCOURAGED.\n\n Not supported by the push parser."] pub const xmlParserOption_XML_PARSE_RECOVER : xmlParserOption = 1 ; # [doc = " Despite the confusing name, this option enables substitution\n of entities. The resulting tree won't contain any entity\n reference nodes.\n\n This option also enables loading of external entities (both\n general and parameter entities) which is dangerous. If you\n process untrusted data, it's recommended to set the\n XML_PARSE_NO_XXE option to disable loading of external\n entities."] pub const xmlParserOption_XML_PARSE_NOENT : xmlParserOption = 2 ; # [doc = " Enables loading of an external DTD and the loading and\n substitution of external parameter entities. Has no effect\n if XML_PARSE_NO_XXE is set."] pub const xmlParserOption_XML_PARSE_DTDLOAD : xmlParserOption = 4 ; # [doc = " Adds default attributes from the DTD to the result document.\n\n Implies XML_PARSE_DTDLOAD, but loading of external content\n can be disabled with XML_PARSE_NO_XXE."] pub const xmlParserOption_XML_PARSE_DTDATTR : xmlParserOption = 8 ; # [doc = " This option enables DTD validation which requires to load\n external DTDs and external entities (both general and\n parameter entities) unless XML_PARSE_NO_XXE was set.\n\n DTD validation is vulnerable to algorithmic complexity\n attacks and should never be enabled with untrusted input."] pub const xmlParserOption_XML_PARSE_DTDVALID : xmlParserOption = 16 ; # [doc = " Disable error and warning reports to the error handlers.\n Errors are still accessible with xmlCtxtGetLastError()."] pub const xmlParserOption_XML_PARSE_NOERROR : xmlParserOption = 32 ; # [doc = " Disable warning reports."] pub const xmlParserOption_XML_PARSE_NOWARNING : xmlParserOption = 64 ; # [doc = " Enable some pedantic warnings."] pub const xmlParserOption_XML_PARSE_PEDANTIC : xmlParserOption = 128 ; # [doc = " Remove some whitespace from the result document. Where to\n remove whitespace depends on DTD element declarations or a\n broken heuristic with unfixable bugs. Use of this option is\n DISCOURAGED.\n\n Not supported by the push parser."] pub const xmlParserOption_XML_PARSE_NOBLANKS : xmlParserOption = 256 ; # [doc = " Always invoke the deprecated SAX1 startElement and endElement\n handlers.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_SAX1 : xmlParserOption = 512 ; # [doc = " Enable XInclude processing. This option only affects the\n xmlTextReader and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_XINCLUDE : xmlParserOption = 1024 ; # [doc = " Disable network access with the built-in HTTP or FTP clients.\n\n After the last built-in network client was removed in 2.15,\n this option has no effect expect for being passed on to custom\n resource loaders."] pub const xmlParserOption_XML_PARSE_NONET : xmlParserOption = 2048 ; # [doc = " Create a document without interned strings, making all\n strings separate memory allocations."] pub const xmlParserOption_XML_PARSE_NODICT : xmlParserOption = 4096 ; # [doc = " Remove redundant namespace declarations from the result\n document."] pub const xmlParserOption_XML_PARSE_NSCLEAN : xmlParserOption = 8192 ; # [doc = " Output normal text nodes instead of CDATA nodes."] pub const xmlParserOption_XML_PARSE_NOCDATA : xmlParserOption = 16384 ; # [doc = " Don't generate XInclude start/end nodes when expanding\n inclusions. This option only affects the xmlTextReader\n and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_NOXINCNODE : xmlParserOption = 32768 ; # [doc = " Store small strings directly in the node struct to save\n memory."] pub const xmlParserOption_XML_PARSE_COMPACT : xmlParserOption = 65536 ; # [doc = " Use old Name productions from before XML 1.0 Fifth Edition.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_OLD10 : xmlParserOption = 131072 ; # [doc = " Don't fix up XInclude xml:base URIs. This option only affects\n the xmlTextReader and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_NOBASEFIX : xmlParserOption = 262144 ; # [doc = " Relax some internal limits.\n\n Maximum size of text nodes, tags, comments, processing instructions,\n CDATA sections, entity values\n\n normal: 10M\n huge:    1B\n\n Maximum size of names, system literals, pubid literals\n\n normal: 50K\n huge:   10M\n\n Maximum nesting depth of elements\n\n normal:  256\n huge:   2048\n\n Maximum nesting depth of entities\n\n normal: 20\n huge:   40"] pub const xmlParserOption_XML_PARSE_HUGE : xmlParserOption = 524288 ; # [doc = " Enable an unspecified legacy mode for SAX parsers.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_OLDSAX : xmlParserOption = 1048576 ; # [doc = " Ignore the encoding in the XML declaration. This option is\n mostly unneeded these days. The only effect is to enforce\n UTF-8 decoding of ASCII-like data."] pub const xmlParserOption_XML_PARSE_IGNORE_ENC : xmlParserOption = 2097152 ; # [doc = " Enable reporting of line numbers larger than 65535."] pub const xmlParserOption_XML_PARSE_BIG_LINES : xmlParserOption = 4194304 ; # [doc = " Disables loading of external DTDs or entities.\n\n @since 2.13.0"] pub const xmlParserOption_XML_PARSE_NO_XXE : xmlParserOption = 8388608 ; # [doc = " Enable input decompression. Setting this option is discouraged\n to avoid zip bombs.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_UNZIP : xmlParserOption = 16777216 ; # [doc = " Disables the global system XML catalog.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_NO_SYS_CATALOG : xmlParserOption = 33554432 ; # [doc = " Enable XML catalog processing instructions.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_CATALOG_PI : xmlParserOption = 67108864 ; # [doc = " Force the parser to ignore IDs.\n\n @since 2.15.0"] pub const xmlParserOption_XML_PARSE_SKIP_IDS : xmlParserOption = 134217728 ; # [doc = " This is the set of XML parser options that can be passed to\n #xmlReadDoc, #xmlCtxtSetOptions and other functions."] pub type xmlParserOption = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlCtxtReset (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlCtxtResetPush (ctxt : * mut xmlParserCtxt , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , filename : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetOptions (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtSetOptions (ctxt : * mut xmlParserCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtUseOptions (ctxt : * mut xmlParserCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetPrivate (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtSetPrivate (ctxt : * mut xmlParserCtxt , priv_ : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtGetCatalogs (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtSetCatalogs (ctxt : * mut xmlParserCtxt , catalogs : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtGetDict (ctxt : * mut xmlParserCtxt) -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlCtxtSetDict (ctxt : * mut xmlParserCtxt , arg1 : * mut xmlDict) ; } unsafe extern "C" { pub fn xmlCtxtGetSaxHandler (ctxt : * mut xmlParserCtxt) -> * mut xmlSAXHandler ; } unsafe extern "C" { pub fn xmlCtxtSetSaxHandler (ctxt : * mut xmlParserCtxt , sax : * const xmlSAXHandler) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetDocument (ctxt : * mut xmlParserCtxt) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtIsHtml (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtIsStopped (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtIsInSubset (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetValidCtxt (ctxt : * mut xmlParserCtxt) -> * mut xmlValidCtxt ; } unsafe extern "C" { pub fn xmlCtxtGetVersion (ctxt : * mut xmlParserCtxt) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCtxtGetDeclaredEncoding (ctxt : * mut xmlParserCtxt) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCtxtGetStandalone (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetStatus (ctxt : * mut xmlParserCtxt) -> xmlParserStatus ; } unsafe extern "C" { pub fn xmlCtxtGetUserData (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtGetNode (ctxt : * mut xmlParserCtxt) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCtxtGetDocTypeDecl (ctxt : * mut xmlParserCtxt , name : * mut * const xmlChar , systemId : * mut * const xmlChar , publicId : * mut * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetInputPosition (ctxt : * mut xmlParserCtxt , inputIndex : :: std :: os :: raw :: c_int , filname : * mut * const :: std :: os :: raw :: c_char , line : * mut :: std :: os :: raw :: c_int , col : * mut :: std :: os :: raw :: c_int , bytePos : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetInputWindow (ctxt : * mut xmlParserCtxt , inputIndex : :: std :: os :: raw :: c_int , startOut : * mut * const xmlChar , sizeInOut : * mut :: std :: os :: raw :: c_int , offsetOut : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtSetErrorHandler (ctxt : * mut xmlParserCtxt , handler : xmlStructuredErrorFunc , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetResourceLoader (ctxt : * mut xmlParserCtxt , loader : xmlResourceLoader , vctxt : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetCharEncConvImpl (ctxt : * mut xmlParserCtxt , impl_ : xmlCharEncConvImpl , vctxt : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetMaxAmplification (ctxt : * mut xmlParserCtxt , maxAmpl : :: std :: os :: raw :: c_uint) ; } unsafe extern "C" { pub fn xmlReadDoc (cur : * const xmlChar , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadFile (URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadFd (fd : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadIO (ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseDocument (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseContent (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput , node : * mut xmlNode , hasTextDecl : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCtxtReadDoc (ctxt : * mut xmlParserCtxt , cur : * const xmlChar , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadFile (ctxt : * mut xmlParserCtxt , filename : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadMemory (ctxt : * mut xmlParserCtxt , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadFd (ctxt : * mut xmlParserCtxt , fd : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadIO (ctxt : * mut xmlParserCtxt , ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlNewInputFromUrl (url : * const :: std :: os :: raw :: c_char , flags : xmlParserInputFlags , out : * mut * mut xmlParserInput) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlNewInputFromMemory (url : * const :: std :: os :: raw :: c_char , mem : * const :: std :: os :: raw :: c_void , size : usize , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromString (url : * const :: std :: os :: raw :: c_char , str_ : * const :: std :: os :: raw :: c_char , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromFd (url : * const :: std :: os :: raw :: c_char , fd : :: std :: os :: raw :: c_int , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromIO (url : * const :: std :: os :: raw :: c_char , ioRead : xmlInputReadCallback , ioClose : xmlInputCloseCallback , ioCtxt : * mut :: std :: os :: raw :: c_void , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlInputSetEncodingHandler (input : * mut xmlParserInput , handler : * mut xmlCharEncodingHandler) -> xmlParserErrors ; } # [doc = " Multithreading support"] pub const xmlFeature_XML_WITH_THREAD : xmlFeature = 1 ; # [doc = " @deprecated Always available"] pub const xmlFeature_XML_WITH_TREE : xmlFeature = 2 ; # [doc = " Serialization support"] pub const xmlFeature_XML_WITH_OUTPUT : xmlFeature = 3 ; # [doc = " Push parser"] pub const xmlFeature_XML_WITH_PUSH : xmlFeature = 4 ; # [doc = " XML Reader"] pub const xmlFeature_XML_WITH_READER : xmlFeature = 5 ; # [doc = " Streaming patterns"] pub const xmlFeature_XML_WITH_PATTERN : xmlFeature = 6 ; # [doc = " XML Writer"] pub const xmlFeature_XML_WITH_WRITER : xmlFeature = 7 ; # [doc = " Legacy SAX1 API"] pub const xmlFeature_XML_WITH_SAX1 : xmlFeature = 8 ; # [doc = " @deprecated FTP support was removed"] pub const xmlFeature_XML_WITH_FTP : xmlFeature = 9 ; # [doc = " @deprecated HTTP support was removed"] pub const xmlFeature_XML_WITH_HTTP : xmlFeature = 10 ; # [doc = " DTD validation"] pub const xmlFeature_XML_WITH_VALID : xmlFeature = 11 ; # [doc = " HTML parser"] pub const xmlFeature_XML_WITH_HTML : xmlFeature = 12 ; # [doc = " Legacy symbols"] pub const xmlFeature_XML_WITH_LEGACY : xmlFeature = 13 ; # [doc = " Canonical XML"] pub const xmlFeature_XML_WITH_C14N : xmlFeature = 14 ; # [doc = " XML Catalogs"] pub const xmlFeature_XML_WITH_CATALOG : xmlFeature = 15 ; # [doc = " XPath"] pub const xmlFeature_XML_WITH_XPATH : xmlFeature = 16 ; # [doc = " XPointer"] pub const xmlFeature_XML_WITH_XPTR : xmlFeature = 17 ; # [doc = " XInclude"] pub const xmlFeature_XML_WITH_XINCLUDE : xmlFeature = 18 ; # [doc = " iconv"] pub const xmlFeature_XML_WITH_ICONV : xmlFeature = 19 ; # [doc = " Built-in ISO-8859-X"] pub const xmlFeature_XML_WITH_ISO8859X : xmlFeature = 20 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_UNICODE : xmlFeature = 21 ; # [doc = " Regular expressions"] pub const xmlFeature_XML_WITH_REGEXP : xmlFeature = 22 ; # [doc = " @deprecated Same as XML_WITH_REGEXP"] pub const xmlFeature_XML_WITH_AUTOMATA : xmlFeature = 23 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_EXPR : xmlFeature = 24 ; # [doc = " XML Schemas"] pub const xmlFeature_XML_WITH_SCHEMAS : xmlFeature = 25 ; # [doc = " Schematron"] pub const xmlFeature_XML_WITH_SCHEMATRON : xmlFeature = 26 ; # [doc = " Loadable modules"] pub const xmlFeature_XML_WITH_MODULES : xmlFeature = 27 ; # [doc = " Debugging API"] pub const xmlFeature_XML_WITH_DEBUG : xmlFeature = 28 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_DEBUG_MEM : xmlFeature = 29 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_DEBUG_RUN : xmlFeature = 30 ; # [doc = " GZIP compression"] pub const xmlFeature_XML_WITH_ZLIB : xmlFeature = 31 ; # [doc = " ICU"] pub const xmlFeature_XML_WITH_ICU : xmlFeature = 32 ; # [doc = " @deprecated LZMA support was removed"] pub const xmlFeature_XML_WITH_LZMA : xmlFeature = 33 ; # [doc = " RELAXNG, since 2.14"] pub const xmlFeature_XML_WITH_RELAXNG : xmlFeature = 34 ; # [doc = " RELAXNG, since 2.14"] pub const xmlFeature_XML_WITH_NONE : xmlFeature = 99999 ; # [doc = " Used to examine the existence of features that can be enabled\n or disabled at compile-time.\n They used to be called XML_FEATURE_xxx but this clashed with Expat"] pub type xmlFeature = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlHasFeature (feature : xmlFeature) -> :: std :: os :: raw :: c_int ; } pub const xmlSchemaValidError_XML_SCHEMAS_ERR_OK : xmlSchemaValidError = 0 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOROOT : xmlSchemaValidError = 1 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_UNDECLAREDELEM : xmlSchemaValidError = 2 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTTOPLEVEL : xmlSchemaValidError = 3 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_MISSING : xmlSchemaValidError = 4 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_WRONGELEM : xmlSchemaValidError = 5 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTYPE : xmlSchemaValidError = 6 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOROLLBACK : xmlSchemaValidError = 7 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ISABSTRACT : xmlSchemaValidError = 8 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTEMPTY : xmlSchemaValidError = 9 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ELEMCONT : xmlSchemaValidError = 10 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_HAVEDEFAULT : xmlSchemaValidError = 11 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTNILLABLE : xmlSchemaValidError = 12 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_EXTRACONTENT : xmlSchemaValidError = 13 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INVALIDATTR : xmlSchemaValidError = 14 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INVALIDELEM : xmlSchemaValidError = 15 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTDETERMINIST : xmlSchemaValidError = 16 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_CONSTRUCT : xmlSchemaValidError = 17 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INTERNAL : xmlSchemaValidError = 18 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTSIMPLE : xmlSchemaValidError = 19 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ATTRUNKNOWN : xmlSchemaValidError = 20 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ATTRINVALID : xmlSchemaValidError = 21 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_VALUE : xmlSchemaValidError = 22 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_FACET : xmlSchemaValidError = 23 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ : xmlSchemaValidError = 24 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_XXX : xmlSchemaValidError = 25 ; # [doc = " This error codes are obsolete; not used any more."] pub type xmlSchemaValidError = :: std :: os :: raw :: c_uint ; pub const xmlSchemaValidOption_XML_SCHEMA_VAL_VC_I_CREATE : xmlSchemaValidOption = 1 ; # [doc = " This is the set of XML Schema validation options."] pub type xmlSchemaValidOption = :: std :: os :: raw :: c_uint ; # [doc = " XML schema"] pub type xmlSchema = _xmlSchema ; pub type xmlSchemaPtr = * mut xmlSchema ; # [doc = " Signature of an error callback from an XSD validation\n\n @param ctx  the validation context\n @param msg  the message\n @param ... extra arguments"] pub type xmlSchemaValidityErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Signature of a warning callback from an XSD validation\n\n @param ctx  the validation context\n @param msg  the message\n @param ... extra arguments"] pub type xmlSchemaValidityWarningFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaParserCtxt { _unused : [u8 ; 0] , } # [doc = " Schema parser context"] pub type xmlSchemaParserCtxt = _xmlSchemaParserCtxt ; pub type xmlSchemaParserCtxtPtr = * mut xmlSchemaParserCtxt ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaValidCtxt { _unused : [u8 ; 0] , } # [doc = " Schema validation context"] pub type xmlSchemaValidCtxt = _xmlSchemaValidCtxt ; pub type xmlSchemaValidCtxtPtr = * mut xmlSchemaValidCtxt ; # [doc = " A schemas validation locator, a callback called by the validator.\n This is used when file or node information are not available\n to find out what file and line number are affected\n\n @param ctx  user provided context\n @param file  returned file information\n @param line  returned line information\n @returns 0 in case of success and -1 in case of error"] pub type xmlSchemaValidityLocatorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , file : * mut * const :: std :: os :: raw :: c_char , line : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int > ; unsafe extern "C" { pub fn xmlSchemaNewParserCtxt (URL : * const :: std :: os :: raw :: c_char) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaNewMemParserCtxt (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaNewDocParserCtxt (doc : * mut xmlDoc) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaFreeParserCtxt (ctxt : * mut xmlSchemaParserCtxt) ; } unsafe extern "C" { pub fn xmlSchemaSetParserErrors (ctxt : * mut xmlSchemaParserCtxt , err : xmlSchemaValidityErrorFunc , warn : xmlSchemaValidityWarningFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaSetParserStructuredErrors (ctxt : * mut xmlSchemaParserCtxt , serror : xmlStructuredErrorFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaGetParserErrors (ctxt : * mut xmlSchemaParserCtxt , err : * mut xmlSchemaValidityErrorFunc , warn : * mut xmlSchemaValidityWarningFunc , ctx : * mut * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaSetResourceLoader (ctxt : * mut xmlSchemaParserCtxt , loader : xmlResourceLoader , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaIsValid (ctxt : * mut xmlSchemaValidCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaParse (ctxt : * mut xmlSchemaParserCtxt) -> * mut xmlSchema ; } unsafe extern "C" { pub fn xmlSchemaFree (schema : * mut xmlSchema) ; } unsafe extern "C" { pub fn xmlSchemaDump (output : * mut FILE , schema : * mut xmlSchema) ; } unsafe extern "C" { pub fn xmlSchemaSetValidErrors (ctxt : * mut xmlSchemaValidCtxt , err : xmlSchemaValidityErrorFunc , warn : xmlSchemaValidityWarningFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaSetValidStructuredErrors (ctxt : * mut xmlSchemaValidCtxt , serror : xmlStructuredErrorFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaGetValidErrors (ctxt : * mut xmlSchemaValidCtxt , err : * mut xmlSchemaValidityErrorFunc , warn : * mut xmlSchemaValidityWarningFunc , ctx : * mut * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaSetValidOptions (ctxt : * mut xmlSchemaValidCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateSetFilename (vctxt : * mut xmlSchemaValidCtxt , filename : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlSchemaValidCtxtGetOptions (ctxt : * mut xmlSchemaValidCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaNewValidCtxt (schema : * mut xmlSchema) -> * mut xmlSchemaValidCtxt ; } unsafe extern "C" { pub fn xmlSchemaFreeValidCtxt (ctxt : * mut xmlSchemaValidCtxt) ; } unsafe extern "C" { pub fn xmlSchemaValidateDoc (ctxt : * mut xmlSchemaValidCtxt , instance : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateOneElement (ctxt : * mut xmlSchemaValidCtxt , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateStream (ctxt : * mut xmlSchemaValidCtxt , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding , sax : * const xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFile (ctxt : * mut xmlSchemaValidCtxt , filename : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidCtxtGetParserCtxt (ctxt : * mut xmlSchemaValidCtxt) -> * mut xmlParserCtxt ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaSAXPlug { _unused : [u8 ; 0] , } # [doc = " Interface to insert Schemas SAX validation in a SAX stream"] pub type xmlSchemaSAXPlugStruct = _xmlSchemaSAXPlug ; pub type xmlSchemaSAXPlugPtr = * mut xmlSchemaSAXPlugStruct ; unsafe extern "C" { pub fn xmlSchemaSAXPlug (ctxt : * mut xmlSchemaValidCtxt , sax : * mut * mut xmlSAXHandler , user_data : * mut * mut :: std :: os :: raw :: c_void) -> * mut xmlSchemaSAXPlugStruct ; } unsafe extern "C" { pub fn xmlSchemaSAXUnplug (plug : * mut xmlSchemaSAXPlugStruct) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateSetLocator (vctxt : * mut xmlSchemaValidCtxt , f : xmlSchemaValidityLocatorFunc , ctxt : * mut :: std :: os :: raw :: c_void) ; } pub const xmlSchemaValType_XML_SCHEMAS_UNKNOWN : xmlSchemaValType = 0 ; pub const xmlSchemaValType_XML_SCHEMAS_STRING : xmlSchemaValType = 1 ; pub const xmlSchemaValType_XML_SCHEMAS_NORMSTRING : xmlSchemaValType = 2 ; pub const xmlSchemaValType_XML_SCHEMAS_DECIMAL : xmlSchemaValType = 3 ; pub const xmlSchemaValType_XML_SCHEMAS_TIME : xmlSchemaValType = 4 ; pub const xmlSchemaValType_XML_SCHEMAS_GDAY : xmlSchemaValType = 5 ; pub const xmlSchemaValType_XML_SCHEMAS_GMONTH : xmlSchemaValType = 6 ; pub const xmlSchemaValType_XML_SCHEMAS_GMONTHDAY : xmlSchemaValType = 7 ; pub const xmlSchemaValType_XML_SCHEMAS_GYEAR : xmlSchemaValType = 8 ; pub const xmlSchemaValType_XML_SCHEMAS_GYEARMONTH : xmlSchemaValType = 9 ; pub const xmlSchemaValType_XML_SCHEMAS_DATE : xmlSchemaValType = 10 ; pub const xmlSchemaValType_XML_SCHEMAS_DATETIME : xmlSchemaValType = 11 ; pub const xmlSchemaValType_XML_SCHEMAS_DURATION : xmlSchemaValType = 12 ; pub const xmlSchemaValType_XML_SCHEMAS_FLOAT : xmlSchemaValType = 13 ; pub const xmlSchemaValType_XML_SCHEMAS_DOUBLE : xmlSchemaValType = 14 ; pub const xmlSchemaValType_XML_SCHEMAS_BOOLEAN : xmlSchemaValType = 15 ; pub const xmlSchemaValType_XML_SCHEMAS_TOKEN : xmlSchemaValType = 16 ; pub const xmlSchemaValType_XML_SCHEMAS_LANGUAGE : xmlSchemaValType = 17 ; pub const xmlSchemaValType_XML_SCHEMAS_NMTOKEN : xmlSchemaValType = 18 ; pub const xmlSchemaValType_XML_SCHEMAS_NMTOKENS : xmlSchemaValType = 19 ; pub const xmlSchemaValType_XML_SCHEMAS_NAME : xmlSchemaValType = 20 ; pub const xmlSchemaValType_XML_SCHEMAS_QNAME : xmlSchemaValType = 21 ; pub const xmlSchemaValType_XML_SCHEMAS_NCNAME : xmlSchemaValType = 22 ; pub const xmlSchemaValType_XML_SCHEMAS_ID : xmlSchemaValType = 23 ; pub const xmlSchemaValType_XML_SCHEMAS_IDREF : xmlSchemaValType = 24 ; pub const xmlSchemaValType_XML_SCHEMAS_IDREFS : xmlSchemaValType = 25 ; pub const xmlSchemaValType_XML_SCHEMAS_ENTITY : xmlSchemaValType = 26 ; pub const xmlSchemaValType_XML_SCHEMAS_ENTITIES : xmlSchemaValType = 27 ; pub const xmlSchemaValType_XML_SCHEMAS_NOTATION : xmlSchemaValType = 28 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYURI : xmlSchemaValType = 29 ; pub const xmlSchemaValType_XML_SCHEMAS_INTEGER : xmlSchemaValType = 30 ; pub const xmlSchemaValType_XML_SCHEMAS_NPINTEGER : xmlSchemaValType = 31 ; pub const xmlSchemaValType_XML_SCHEMAS_NINTEGER : xmlSchemaValType = 32 ; pub const xmlSchemaValType_XML_SCHEMAS_NNINTEGER : xmlSchemaValType = 33 ; pub const xmlSchemaValType_XML_SCHEMAS_PINTEGER : xmlSchemaValType = 34 ; pub const xmlSchemaValType_XML_SCHEMAS_INT : xmlSchemaValType = 35 ; pub const xmlSchemaValType_XML_SCHEMAS_UINT : xmlSchemaValType = 36 ; pub const xmlSchemaValType_XML_SCHEMAS_LONG : xmlSchemaValType = 37 ; pub const xmlSchemaValType_XML_SCHEMAS_ULONG : xmlSchemaValType = 38 ; pub const xmlSchemaValType_XML_SCHEMAS_SHORT : xmlSchemaValType = 39 ; pub const xmlSchemaValType_XML_SCHEMAS_USHORT : xmlSchemaValType = 40 ; pub const xmlSchemaValType_XML_SCHEMAS_BYTE : xmlSchemaValType = 41 ; pub const xmlSchemaValType_XML_SCHEMAS_UBYTE : xmlSchemaValType = 42 ; pub const xmlSchemaValType_XML_SCHEMAS_HEXBINARY : xmlSchemaValType = 43 ; pub const xmlSchemaValType_XML_SCHEMAS_BASE64BINARY : xmlSchemaValType = 44 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYTYPE : xmlSchemaValType = 45 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYSIMPLETYPE : xmlSchemaValType = 46 ; # [doc = " Schema value type"] pub type xmlSchemaValType = :: std :: os :: raw :: c_uint ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_BASIC : xmlSchemaTypeType = 1 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ANY : xmlSchemaTypeType = 2 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_FACET : xmlSchemaTypeType = 3 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SIMPLE : xmlSchemaTypeType = 4 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_COMPLEX : xmlSchemaTypeType = 5 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SEQUENCE : xmlSchemaTypeType = 6 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_CHOICE : xmlSchemaTypeType = 7 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ALL : xmlSchemaTypeType = 8 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SIMPLE_CONTENT : xmlSchemaTypeType = 9 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_COMPLEX_CONTENT : xmlSchemaTypeType = 10 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_UR : xmlSchemaTypeType = 11 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_RESTRICTION : xmlSchemaTypeType = 12 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_EXTENSION : xmlSchemaTypeType = 13 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ELEMENT : xmlSchemaTypeType = 14 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTE : xmlSchemaTypeType = 15 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTEGROUP : xmlSchemaTypeType = 16 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_GROUP : xmlSchemaTypeType = 17 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_NOTATION : xmlSchemaTypeType = 18 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_LIST : xmlSchemaTypeType = 19 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_UNION : xmlSchemaTypeType = 20 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ANY_ATTRIBUTE : xmlSchemaTypeType = 21 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_UNIQUE : xmlSchemaTypeType = 22 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_KEY : xmlSchemaTypeType = 23 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_KEYREF : xmlSchemaTypeType = 24 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_PARTICLE : xmlSchemaTypeType = 25 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTE_USE : xmlSchemaTypeType = 26 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MININCLUSIVE : xmlSchemaTypeType = 1000 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MINEXCLUSIVE : xmlSchemaTypeType = 1001 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXINCLUSIVE : xmlSchemaTypeType = 1002 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXEXCLUSIVE : xmlSchemaTypeType = 1003 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_TOTALDIGITS : xmlSchemaTypeType = 1004 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_FRACTIONDIGITS : xmlSchemaTypeType = 1005 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_PATTERN : xmlSchemaTypeType = 1006 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_ENUMERATION : xmlSchemaTypeType = 1007 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_WHITESPACE : xmlSchemaTypeType = 1008 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_LENGTH : xmlSchemaTypeType = 1009 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXLENGTH : xmlSchemaTypeType = 1010 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MINLENGTH : xmlSchemaTypeType = 1011 ; pub const xmlSchemaTypeType_XML_SCHEMA_EXTRA_QNAMEREF : xmlSchemaTypeType = 2000 ; pub const xmlSchemaTypeType_XML_SCHEMA_EXTRA_ATTR_USE_PROHIB : xmlSchemaTypeType = 2001 ; # [doc = " XML Schemas defines multiple type of types."] pub type xmlSchemaTypeType = :: std :: os :: raw :: c_uint ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_UNKNOWN : xmlSchemaContentType = 0 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_EMPTY : xmlSchemaContentType = 1 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_ELEMENTS : xmlSchemaContentType = 2 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_MIXED : xmlSchemaContentType = 3 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_SIMPLE : xmlSchemaContentType = 4 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_MIXED_OR_ELEMENTS : xmlSchemaContentType = 5 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_BASIC : xmlSchemaContentType = 6 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_ANY : xmlSchemaContentType = 7 ; # [doc = " Schema content type"] pub type xmlSchemaContentType = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaVal { _unused : [u8 ; 0] , } # [doc = " Schema value"] pub type xmlSchemaVal = _xmlSchemaVal ; pub type xmlSchemaValPtr = * mut xmlSchemaVal ; # [doc = " Schema type"] pub type xmlSchemaType = _xmlSchemaType ; pub type xmlSchemaTypePtr = * mut xmlSchemaType ; # [doc = " Schema facet"] pub type xmlSchemaFacet = _xmlSchemaFacet ; pub type xmlSchemaFacetPtr = * mut xmlSchemaFacet ; # [doc = " Schema annotation"] pub type xmlSchemaAnnot = _xmlSchemaAnnot ; pub type xmlSchemaAnnotPtr = * mut xmlSchemaAnnot ; # [doc = " Annotation"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAnnot { pub next : * mut _xmlSchemaAnnot , pub content : * mut xmlNode , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAnnot"] [:: std :: mem :: size_of :: < _xmlSchemaAnnot > () - 16usize] ; ["Alignment of _xmlSchemaAnnot"] [:: std :: mem :: align_of :: < _xmlSchemaAnnot > () - 8usize] ; ["Offset of field: _xmlSchemaAnnot::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAnnot , next) - 0usize] ; ["Offset of field: _xmlSchemaAnnot::content"] [:: std :: mem :: offset_of ! (_xmlSchemaAnnot , content) - 8usize] ; } ; # [doc = " Schema attribute definition"] pub type xmlSchemaAttribute = _xmlSchemaAttribute ; pub type xmlSchemaAttributePtr = * mut xmlSchemaAttribute ; # [doc = " An attribute definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttribute { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaAttribute , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub typeName : * const xmlChar , pub typeNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub base : * mut xmlSchemaType , pub occurs : :: std :: os :: raw :: c_int , pub defValue : * const xmlChar , pub subtypes : * mut xmlSchemaType , pub node : * mut xmlNode , pub targetNamespace : * const xmlChar , pub flags : :: std :: os :: raw :: c_int , pub refPrefix : * const xmlChar , pub defVal : * mut xmlSchemaVal , pub refDecl : * mut xmlSchemaAttribute , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttribute"] [:: std :: mem :: size_of :: < _xmlSchemaAttribute > () - 152usize] ; ["Alignment of _xmlSchemaAttribute"] [:: std :: mem :: align_of :: < _xmlSchemaAttribute > () - 8usize] ; ["Offset of field: _xmlSchemaAttribute::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , type_) - 0usize] ; ["Offset of field: _xmlSchemaAttribute::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , next) - 8usize] ; ["Offset of field: _xmlSchemaAttribute::name"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , name) - 16usize] ; ["Offset of field: _xmlSchemaAttribute::id"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , id) - 24usize] ; ["Offset of field: _xmlSchemaAttribute::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , ref_) - 32usize] ; ["Offset of field: _xmlSchemaAttribute::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refNs) - 40usize] ; ["Offset of field: _xmlSchemaAttribute::typeName"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , typeName) - 48usize] ; ["Offset of field: _xmlSchemaAttribute::typeNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , typeNs) - 56usize] ; ["Offset of field: _xmlSchemaAttribute::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , annot) - 64usize] ; ["Offset of field: _xmlSchemaAttribute::base"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , base) - 72usize] ; ["Offset of field: _xmlSchemaAttribute::occurs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , occurs) - 80usize] ; ["Offset of field: _xmlSchemaAttribute::defValue"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , defValue) - 88usize] ; ["Offset of field: _xmlSchemaAttribute::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , subtypes) - 96usize] ; ["Offset of field: _xmlSchemaAttribute::node"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , node) - 104usize] ; ["Offset of field: _xmlSchemaAttribute::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , targetNamespace) - 112usize] ; ["Offset of field: _xmlSchemaAttribute::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , flags) - 120usize] ; ["Offset of field: _xmlSchemaAttribute::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refPrefix) - 128usize] ; ["Offset of field: _xmlSchemaAttribute::defVal"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , defVal) - 136usize] ; ["Offset of field: _xmlSchemaAttribute::refDecl"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refDecl) - 144usize] ; } ; # [doc = " Linked list of schema attributes"] pub type xmlSchemaAttributeLink = _xmlSchemaAttributeLink ; pub type xmlSchemaAttributeLinkPtr = * mut xmlSchemaAttributeLink ; # [doc = " Used to build a list of attribute uses on complexType definitions.\n WARNING: Deprecated; not used."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttributeLink { pub next : * mut _xmlSchemaAttributeLink , pub attr : * mut _xmlSchemaAttribute , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttributeLink"] [:: std :: mem :: size_of :: < _xmlSchemaAttributeLink > () - 16usize] ; ["Alignment of _xmlSchemaAttributeLink"] [:: std :: mem :: align_of :: < _xmlSchemaAttributeLink > () - 8usize] ; ["Offset of field: _xmlSchemaAttributeLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeLink , next) - 0usize] ; ["Offset of field: _xmlSchemaAttributeLink::attr"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeLink , attr) - 8usize] ; } ; # [doc = " Namespace wildcard"] pub type xmlSchemaWildcardNs = _xmlSchemaWildcardNs ; pub type xmlSchemaWildcardNsPtr = * mut xmlSchemaWildcardNs ; # [doc = " Used to build a list of namespaces on wildcards."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaWildcardNs { pub next : * mut _xmlSchemaWildcardNs , pub value : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaWildcardNs"] [:: std :: mem :: size_of :: < _xmlSchemaWildcardNs > () - 16usize] ; ["Alignment of _xmlSchemaWildcardNs"] [:: std :: mem :: align_of :: < _xmlSchemaWildcardNs > () - 8usize] ; ["Offset of field: _xmlSchemaWildcardNs::next"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcardNs , next) - 0usize] ; ["Offset of field: _xmlSchemaWildcardNs::value"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcardNs , value) - 8usize] ; } ; # [doc = " Name wildcard"] pub type xmlSchemaWildcard = _xmlSchemaWildcard ; pub type xmlSchemaWildcardPtr = * mut xmlSchemaWildcard ; # [doc = " A wildcard."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaWildcard { pub type_ : xmlSchemaTypeType , pub id : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub processContents : :: std :: os :: raw :: c_int , pub any : :: std :: os :: raw :: c_int , pub nsSet : * mut xmlSchemaWildcardNs , pub negNsSet : * mut xmlSchemaWildcardNs , pub flags : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaWildcard"] [:: std :: mem :: size_of :: < _xmlSchemaWildcard > () - 72usize] ; ["Alignment of _xmlSchemaWildcard"] [:: std :: mem :: align_of :: < _xmlSchemaWildcard > () - 8usize] ; ["Offset of field: _xmlSchemaWildcard::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , type_) - 0usize] ; ["Offset of field: _xmlSchemaWildcard::id"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , id) - 8usize] ; ["Offset of field: _xmlSchemaWildcard::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , annot) - 16usize] ; ["Offset of field: _xmlSchemaWildcard::node"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , node) - 24usize] ; ["Offset of field: _xmlSchemaWildcard::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , minOccurs) - 32usize] ; ["Offset of field: _xmlSchemaWildcard::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , maxOccurs) - 36usize] ; ["Offset of field: _xmlSchemaWildcard::processContents"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , processContents) - 40usize] ; ["Offset of field: _xmlSchemaWildcard::any"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , any) - 44usize] ; ["Offset of field: _xmlSchemaWildcard::nsSet"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , nsSet) - 48usize] ; ["Offset of field: _xmlSchemaWildcard::negNsSet"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , negNsSet) - 56usize] ; ["Offset of field: _xmlSchemaWildcard::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , flags) - 64usize] ; } ; # [doc = " Attribute group"] pub type xmlSchemaAttributeGroup = _xmlSchemaAttributeGroup ; pub type xmlSchemaAttributeGroupPtr = * mut xmlSchemaAttributeGroup ; # [doc = " An attribute group definition.\n\n xmlSchemaAttribute and xmlSchemaAttributeGroup start of structures\n must be kept similar"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttributeGroup { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaAttribute , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub flags : :: std :: os :: raw :: c_int , pub attributeWildcard : * mut xmlSchemaWildcard , pub refPrefix : * const xmlChar , pub refItem : * mut xmlSchemaAttributeGroup , pub targetNamespace : * const xmlChar , pub attrUses : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttributeGroup"] [:: std :: mem :: size_of :: < _xmlSchemaAttributeGroup > () - 120usize] ; ["Alignment of _xmlSchemaAttributeGroup"] [:: std :: mem :: align_of :: < _xmlSchemaAttributeGroup > () - 8usize] ; ["Offset of field: _xmlSchemaAttributeGroup::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , type_) - 0usize] ; ["Offset of field: _xmlSchemaAttributeGroup::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , next) - 8usize] ; ["Offset of field: _xmlSchemaAttributeGroup::name"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , name) - 16usize] ; ["Offset of field: _xmlSchemaAttributeGroup::id"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , id) - 24usize] ; ["Offset of field: _xmlSchemaAttributeGroup::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , ref_) - 32usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refNs) - 40usize] ; ["Offset of field: _xmlSchemaAttributeGroup::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , annot) - 48usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attributes) - 56usize] ; ["Offset of field: _xmlSchemaAttributeGroup::node"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , node) - 64usize] ; ["Offset of field: _xmlSchemaAttributeGroup::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , flags) - 72usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attributeWildcard"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attributeWildcard) - 80usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refPrefix) - 88usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refItem"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refItem) - 96usize] ; ["Offset of field: _xmlSchemaAttributeGroup::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , targetNamespace) - 104usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attrUses"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attrUses) - 112usize] ; } ; # [doc = " Linked list of schema types"] pub type xmlSchemaTypeLink = _xmlSchemaTypeLink ; pub type xmlSchemaTypeLinkPtr = * mut xmlSchemaTypeLink ; # [doc = " Used to build a list of types (e.g. member types of\n simpleType with variety \"union\")."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaTypeLink { pub next : * mut _xmlSchemaTypeLink , pub type_ : * mut xmlSchemaType , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaTypeLink"] [:: std :: mem :: size_of :: < _xmlSchemaTypeLink > () - 16usize] ; ["Alignment of _xmlSchemaTypeLink"] [:: std :: mem :: align_of :: < _xmlSchemaTypeLink > () - 8usize] ; ["Offset of field: _xmlSchemaTypeLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaTypeLink , next) - 0usize] ; ["Offset of field: _xmlSchemaTypeLink::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaTypeLink , type_) - 8usize] ; } ; # [doc = " Linked list of schema facets"] pub type xmlSchemaFacetLink = _xmlSchemaFacetLink ; pub type xmlSchemaFacetLinkPtr = * mut xmlSchemaFacetLink ; # [doc = " Used to build a list of facets."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaFacetLink { pub next : * mut _xmlSchemaFacetLink , pub facet : * mut xmlSchemaFacet , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaFacetLink"] [:: std :: mem :: size_of :: < _xmlSchemaFacetLink > () - 16usize] ; ["Alignment of _xmlSchemaFacetLink"] [:: std :: mem :: align_of :: < _xmlSchemaFacetLink > () - 8usize] ; ["Offset of field: _xmlSchemaFacetLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaFacetLink , next) - 0usize] ; ["Offset of field: _xmlSchemaFacetLink::facet"] [:: std :: mem :: offset_of ! (_xmlSchemaFacetLink , facet) - 8usize] ; } ; # [doc = " Schemas type definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaType { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaType , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub subtypes : * mut xmlSchemaType , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub flags : :: std :: os :: raw :: c_int , pub contentType : xmlSchemaContentType , pub base : * const xmlChar , pub baseNs : * const xmlChar , pub baseType : * mut xmlSchemaType , pub facets : * mut xmlSchemaFacet , pub redef : * mut _xmlSchemaType , pub recurse : :: std :: os :: raw :: c_int , pub attributeUses : * mut * mut xmlSchemaAttributeLink , pub attributeWildcard : * mut xmlSchemaWildcard , pub builtInType : :: std :: os :: raw :: c_int , pub memberTypes : * mut xmlSchemaTypeLink , pub facetSet : * mut xmlSchemaFacetLink , pub refPrefix : * const xmlChar , pub contentTypeDef : * mut xmlSchemaType , pub contModel : * mut xmlRegexp , pub targetNamespace : * const xmlChar , pub attrUses : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaType"] [:: std :: mem :: size_of :: < _xmlSchemaType > () - 224usize] ; ["Alignment of _xmlSchemaType"] [:: std :: mem :: align_of :: < _xmlSchemaType > () - 8usize] ; ["Offset of field: _xmlSchemaType::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaType , type_) - 0usize] ; ["Offset of field: _xmlSchemaType::next"] [:: std :: mem :: offset_of ! (_xmlSchemaType , next) - 8usize] ; ["Offset of field: _xmlSchemaType::name"] [:: std :: mem :: offset_of ! (_xmlSchemaType , name) - 16usize] ; ["Offset of field: _xmlSchemaType::id"] [:: std :: mem :: offset_of ! (_xmlSchemaType , id) - 24usize] ; ["Offset of field: _xmlSchemaType::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaType , ref_) - 32usize] ; ["Offset of field: _xmlSchemaType::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , refNs) - 40usize] ; ["Offset of field: _xmlSchemaType::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaType , annot) - 48usize] ; ["Offset of field: _xmlSchemaType::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , subtypes) - 56usize] ; ["Offset of field: _xmlSchemaType::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributes) - 64usize] ; ["Offset of field: _xmlSchemaType::node"] [:: std :: mem :: offset_of ! (_xmlSchemaType , node) - 72usize] ; ["Offset of field: _xmlSchemaType::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , minOccurs) - 80usize] ; ["Offset of field: _xmlSchemaType::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , maxOccurs) - 84usize] ; ["Offset of field: _xmlSchemaType::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaType , flags) - 88usize] ; ["Offset of field: _xmlSchemaType::contentType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contentType) - 92usize] ; ["Offset of field: _xmlSchemaType::base"] [:: std :: mem :: offset_of ! (_xmlSchemaType , base) - 96usize] ; ["Offset of field: _xmlSchemaType::baseNs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , baseNs) - 104usize] ; ["Offset of field: _xmlSchemaType::baseType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , baseType) - 112usize] ; ["Offset of field: _xmlSchemaType::facets"] [:: std :: mem :: offset_of ! (_xmlSchemaType , facets) - 120usize] ; ["Offset of field: _xmlSchemaType::redef"] [:: std :: mem :: offset_of ! (_xmlSchemaType , redef) - 128usize] ; ["Offset of field: _xmlSchemaType::recurse"] [:: std :: mem :: offset_of ! (_xmlSchemaType , recurse) - 136usize] ; ["Offset of field: _xmlSchemaType::attributeUses"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributeUses) - 144usize] ; ["Offset of field: _xmlSchemaType::attributeWildcard"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributeWildcard) - 152usize] ; ["Offset of field: _xmlSchemaType::builtInType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , builtInType) - 160usize] ; ["Offset of field: _xmlSchemaType::memberTypes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , memberTypes) - 168usize] ; ["Offset of field: _xmlSchemaType::facetSet"] [:: std :: mem :: offset_of ! (_xmlSchemaType , facetSet) - 176usize] ; ["Offset of field: _xmlSchemaType::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaType , refPrefix) - 184usize] ; ["Offset of field: _xmlSchemaType::contentTypeDef"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contentTypeDef) - 192usize] ; ["Offset of field: _xmlSchemaType::contModel"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contModel) - 200usize] ; ["Offset of field: _xmlSchemaType::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaType , targetNamespace) - 208usize] ; ["Offset of field: _xmlSchemaType::attrUses"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attrUses) - 216usize] ; } ; # [doc = " Schema element definition"] pub type xmlSchemaElement = _xmlSchemaElement ; pub type xmlSchemaElementPtr = * mut xmlSchemaElement ; # [doc = " An element definition.\n\n xmlSchemaType, xmlSchemaFacet and xmlSchemaElement start of\n structures must be kept similar"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaElement { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaType , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub subtypes : * mut xmlSchemaType , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub flags : :: std :: os :: raw :: c_int , pub targetNamespace : * const xmlChar , pub namedType : * const xmlChar , pub namedTypeNs : * const xmlChar , pub substGroup : * const xmlChar , pub substGroupNs : * const xmlChar , pub scope : * const xmlChar , pub value : * const xmlChar , pub refDecl : * mut _xmlSchemaElement , pub contModel : * mut xmlRegexp , pub contentType : xmlSchemaContentType , pub refPrefix : * const xmlChar , pub defVal : * mut xmlSchemaVal , pub idcs : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaElement"] [:: std :: mem :: size_of :: < _xmlSchemaElement > () - 200usize] ; ["Alignment of _xmlSchemaElement"] [:: std :: mem :: align_of :: < _xmlSchemaElement > () - 8usize] ; ["Offset of field: _xmlSchemaElement::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , type_) - 0usize] ; ["Offset of field: _xmlSchemaElement::next"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , next) - 8usize] ; ["Offset of field: _xmlSchemaElement::name"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , name) - 16usize] ; ["Offset of field: _xmlSchemaElement::id"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , id) - 24usize] ; ["Offset of field: _xmlSchemaElement::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , ref_) - 32usize] ; ["Offset of field: _xmlSchemaElement::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refNs) - 40usize] ; ["Offset of field: _xmlSchemaElement::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , annot) - 48usize] ; ["Offset of field: _xmlSchemaElement::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , subtypes) - 56usize] ; ["Offset of field: _xmlSchemaElement::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , attributes) - 64usize] ; ["Offset of field: _xmlSchemaElement::node"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , node) - 72usize] ; ["Offset of field: _xmlSchemaElement::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , minOccurs) - 80usize] ; ["Offset of field: _xmlSchemaElement::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , maxOccurs) - 84usize] ; ["Offset of field: _xmlSchemaElement::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , flags) - 88usize] ; ["Offset of field: _xmlSchemaElement::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , targetNamespace) - 96usize] ; ["Offset of field: _xmlSchemaElement::namedType"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , namedType) - 104usize] ; ["Offset of field: _xmlSchemaElement::namedTypeNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , namedTypeNs) - 112usize] ; ["Offset of field: _xmlSchemaElement::substGroup"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , substGroup) - 120usize] ; ["Offset of field: _xmlSchemaElement::substGroupNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , substGroupNs) - 128usize] ; ["Offset of field: _xmlSchemaElement::scope"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , scope) - 136usize] ; ["Offset of field: _xmlSchemaElement::value"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , value) - 144usize] ; ["Offset of field: _xmlSchemaElement::refDecl"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refDecl) - 152usize] ; ["Offset of field: _xmlSchemaElement::contModel"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , contModel) - 160usize] ; ["Offset of field: _xmlSchemaElement::contentType"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , contentType) - 168usize] ; ["Offset of field: _xmlSchemaElement::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refPrefix) - 176usize] ; ["Offset of field: _xmlSchemaElement::defVal"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , defVal) - 184usize] ; ["Offset of field: _xmlSchemaElement::idcs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , idcs) - 192usize] ; } ; # [doc = " A facet definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaFacet { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaFacet , pub value : * const xmlChar , pub id : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub node : * mut xmlNode , pub fixed : :: std :: os :: raw :: c_int , pub whitespace : :: std :: os :: raw :: c_int , pub val : * mut xmlSchemaVal , pub regexp : * mut xmlRegexp , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaFacet"] [:: std :: mem :: size_of :: < _xmlSchemaFacet > () - 72usize] ; ["Alignment of _xmlSchemaFacet"] [:: std :: mem :: align_of :: < _xmlSchemaFacet > () - 8usize] ; ["Offset of field: _xmlSchemaFacet::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , type_) - 0usize] ; ["Offset of field: _xmlSchemaFacet::next"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , next) - 8usize] ; ["Offset of field: _xmlSchemaFacet::value"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , value) - 16usize] ; ["Offset of field: _xmlSchemaFacet::id"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , id) - 24usize] ; ["Offset of field: _xmlSchemaFacet::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , annot) - 32usize] ; ["Offset of field: _xmlSchemaFacet::node"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , node) - 40usize] ; ["Offset of field: _xmlSchemaFacet::fixed"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , fixed) - 48usize] ; ["Offset of field: _xmlSchemaFacet::whitespace"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , whitespace) - 52usize] ; ["Offset of field: _xmlSchemaFacet::val"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , val) - 56usize] ; ["Offset of field: _xmlSchemaFacet::regexp"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , regexp) - 64usize] ; } ; # [doc = " Schema notation"] pub type xmlSchemaNotation = _xmlSchemaNotation ; pub type xmlSchemaNotationPtr = * mut xmlSchemaNotation ; # [doc = " A notation definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaNotation { pub type_ : xmlSchemaTypeType , pub name : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub identifier : * const xmlChar , pub targetNamespace : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaNotation"] [:: std :: mem :: size_of :: < _xmlSchemaNotation > () - 40usize] ; ["Alignment of _xmlSchemaNotation"] [:: std :: mem :: align_of :: < _xmlSchemaNotation > () - 8usize] ; ["Offset of field: _xmlSchemaNotation::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , type_) - 0usize] ; ["Offset of field: _xmlSchemaNotation::name"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , name) - 8usize] ; ["Offset of field: _xmlSchemaNotation::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , annot) - 16usize] ; ["Offset of field: _xmlSchemaNotation::identifier"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , identifier) - 24usize] ; ["Offset of field: _xmlSchemaNotation::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , targetNamespace) - 32usize] ; } ; # [doc = " A Schemas definition"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchema { pub name : * const xmlChar , pub targetNamespace : * const xmlChar , pub version : * const xmlChar , pub id : * const xmlChar , pub doc : * mut xmlDoc , pub annot : * mut xmlSchemaAnnot , pub flags : :: std :: os :: raw :: c_int , pub typeDecl : * mut xmlHashTable , pub attrDecl : * mut xmlHashTable , pub attrgrpDecl : * mut xmlHashTable , pub elemDecl : * mut xmlHashTable , pub notaDecl : * mut xmlHashTable , pub schemasImports : * mut xmlHashTable , pub _private : * mut :: std :: os :: raw :: c_void , pub groupDecl : * mut xmlHashTable , pub dict : * mut xmlDict , pub includes : * mut :: std :: os :: raw :: c_void , pub preserve : :: std :: os :: raw :: c_int , pub counter : :: std :: os :: raw :: c_int , pub idcDef : * mut xmlHashTable , pub volatiles : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchema"] [:: std :: mem :: size_of :: < _xmlSchema > () - 160usize] ; ["Alignment of _xmlSchema"] [:: std :: mem :: align_of :: < _xmlSchema > () - 8usize] ; ["Offset of field: _xmlSchema::name"] [:: std :: mem :: offset_of ! (_xmlSchema , name) - 0usize] ; ["Offset of field: _xmlSchema::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchema , targetNamespace) - 8usize] ; ["Offset of field: _xmlSchema::version"] [:: std :: mem :: offset_of ! (_xmlSchema , version) - 16usize] ; ["Offset of field: _xmlSchema::id"] [:: std :: mem :: offset_of ! (_xmlSchema , id) - 24usize] ; ["Offset of field: _xmlSchema::doc"] [:: std :: mem :: offset_of ! (_xmlSchema , doc) - 32usize] ; ["Offset of field: _xmlSchema::annot"] [:: std :: mem :: offset_of ! (_xmlSchema , annot) - 40usize] ; ["Offset of field: _xmlSchema::flags"] [:: std :: mem :: offset_of ! (_xmlSchema , flags) - 48usize] ; ["Offset of field: _xmlSchema::typeDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , typeDecl) - 56usize] ; ["Offset of field: _xmlSchema::attrDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , attrDecl) - 64usize] ; ["Offset of field: _xmlSchema::attrgrpDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , attrgrpDecl) - 72usize] ; ["Offset of field: _xmlSchema::elemDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , elemDecl) - 80usize] ; ["Offset of field: _xmlSchema::notaDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , notaDecl) - 88usize] ; ["Offset of field: _xmlSchema::schemasImports"] [:: std :: mem :: offset_of ! (_xmlSchema , schemasImports) - 96usize] ; ["Offset of field: _xmlSchema::_private"] [:: std :: mem :: offset_of ! (_xmlSchema , _private) - 104usize] ; ["Offset of field: _xmlSchema::groupDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , groupDecl) - 112usize] ; ["Offset of field: _xmlSchema::dict"] [:: std :: mem :: offset_of ! (_xmlSchema , dict) - 120usize] ; ["Offset of field: _xmlSchema::includes"] [:: std :: mem :: offset_of ! (_xmlSchema , includes) - 128usize] ; ["Offset of field: _xmlSchema::preserve"] [:: std :: mem :: offset_of ! (_xmlSchema , preserve) - 136usize] ; ["Offset of field: _xmlSchema::counter"] [:: std :: mem :: offset_of ! (_xmlSchema , counter) - 140usize] ; ["Offset of field: _xmlSchema::idcDef"] [:: std :: mem :: offset_of ! (_xmlSchema , idcDef) - 144usize] ; ["Offset of field: _xmlSchema::volatiles"] [:: std :: mem :: offset_of ! (_xmlSchema , volatiles) - 152usize] ; } ; unsafe extern "C" { pub fn xmlSchemaFreeType (type_ : * mut xmlSchemaType) ; } unsafe extern "C" { pub fn xmlSchemaFreeWildcard (wildcard : * mut xmlSchemaWildcard) ; } pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_UNKNOWN : xmlSchemaWhitespaceValueType = 0 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_PRESERVE : xmlSchemaWhitespaceValueType = 1 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_REPLACE : xmlSchemaWhitespaceValueType = 2 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_COLLAPSE : xmlSchemaWhitespaceValueType = 3 ; # [doc = " Schema whitespace value type"] pub type xmlSchemaWhitespaceValueType = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlSchemaInitTypes () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCleanupTypes () ; } unsafe extern "C" { pub fn xmlSchemaGetPredefinedType (name : * const xmlChar , ns : * const xmlChar) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaValidatePredefinedType (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValPredefTypeNode (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal , node : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFacet (base : * mut xmlSchemaType , facet : * mut xmlSchemaFacet , value : * const xmlChar , val : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFacetWhtsp (facet : * mut xmlSchemaFacet , fws : xmlSchemaWhitespaceValueType , valType : xmlSchemaValType , value : * const xmlChar , val : * mut xmlSchemaVal , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaFreeValue (val : * mut xmlSchemaVal) ; } unsafe extern "C" { pub fn xmlSchemaNewFacet () -> * mut xmlSchemaFacet ; } unsafe extern "C" { pub fn xmlSchemaCheckFacet (facet : * mut xmlSchemaFacet , typeDecl : * mut xmlSchemaType , ctxt : * mut xmlSchemaParserCtxt , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaFreeFacet (facet : * mut xmlSchemaFacet) ; } unsafe extern "C" { pub fn xmlSchemaCompareValues (x : * mut xmlSchemaVal , y : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetBuiltInListSimpleTypeItemType (type_ : * mut xmlSchemaType) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaValidateListSimpleTypeFacet (facet : * mut xmlSchemaFacet , value : * const xmlChar , actualLen : :: std :: os :: raw :: c_ulong , expectedLen : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetBuiltInType (type_ : xmlSchemaValType) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaIsBuiltInTypeFacet (type_ : * mut xmlSchemaType , facetType : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCollapseString (value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSchemaWhiteSpaceReplace (value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSchemaGetFacetValueAsULong (facet : * mut xmlSchemaFacet) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlSchemaValidateLengthFacet (type_ : * mut xmlSchemaType , facet : * mut xmlSchemaFacet , value : * const xmlChar , val : * mut xmlSchemaVal , length : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateLengthFacetWhtsp (facet : * mut xmlSchemaFacet , valType : xmlSchemaValType , value : * const xmlChar , val : * mut xmlSchemaVal , length : * mut :: std :: os :: raw :: c_ulong , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValPredefTypeNodeNoNorm (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal , node : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetCanonValue (val : * mut xmlSchemaVal , retValue : * mut * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetCanonValueWhtsp (val : * mut xmlSchemaVal , retValue : * mut * const xmlChar , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValueAppend (prev : * mut xmlSchemaVal , cur : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValueGetNext (cur : * mut xmlSchemaVal) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaValueGetAsString (val : * mut xmlSchemaVal) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSchemaValueGetAsBoolean (val : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaNewStringValue (type_ : xmlSchemaValType , value : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaNewNOTATIONValue (name : * const xmlChar , ns : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaNewQNameValue (namespaceName : * const xmlChar , localName : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaCompareValuesWhtsp (x : * mut xmlSchemaVal , xws : xmlSchemaWhitespaceValueType , y : * mut xmlSchemaVal , yws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCopyValue (val : * mut xmlSchemaVal) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaGetValType (val : * mut xmlSchemaVal) -> xmlSchemaValType ; } pub type __builtin_va_list = [__va_list_tag ; 1usize] ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __va_list_tag { pub gp_offset : :: std :: os :: raw :: c_uint , pub fp_offset : :: std :: os :: raw :: c_uint , pub overflow_arg_area : * mut :: std :: os :: raw :: c_void , pub reg_save_area : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __va_list_tag"] [:: std :: mem :: size_of :: < __va_list_tag > () - 24usize] ; ["Alignment of __va_list_tag"] [:: std :: mem :: align_of :: < __va_list_tag > () - 8usize] ; ["Offset of field: __va_list_tag::gp_offset"] [:: std :: mem :: offset_of ! (__va_list_tag , gp_offset) - 0usize] ; ["Offset of field: __va_list_tag::fp_offset"] [:: std :: mem :: offset_of ! (__va_list_tag , fp_offset) - 4usize] ; ["Offset of field: __va_list_tag::overflow_arg_area"] [:: std :: mem :: offset_of ! (__va_list_tag , overflow_arg_area) - 8usize] ; ["Offset of field: __va_list_tag::reg_save_area"] [:: std :: mem :: offset_of ! (__va_list_tag , reg_save_area) - 16usize] ; } ; # [doc = " dict used to allocate names if any"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDict { pub _address : u8 , }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 37.70s
[INFO] running `Command { std: "docker" "inspect" "6699e2e9e18be2beb41bf598df61b6c011e606b854dfd61553f5e491a0aa607e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6699e2e9e18be2beb41bf598df61b6c011e606b854dfd61553f5e491a0aa607e" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling dtor-proc-macro v0.0.6
[INFO] [stderr]    Compiling serial_test_derive v3.2.0
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling dtor v0.1.0
[INFO] [stderr]    Compiling get_dir v0.5.0
[INFO] [stderr]    Compiling ctor-proc-macro v0.0.6
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]  --> /opt/rustwide/target/release/build/libxml2-rs-88f840c53f735f57/out/bindings.rs:3:29060
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...:: raw :: c_int { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set_...
[INFO] [stdout]   |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]   |
[INFO] [stdout] 3 - # [repr (C)] # [derive (Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd)] pub struct __BindgenBitfieldUnit < Storage > { storage : Storage , } impl < Storage > __BindgenBitfieldUnit < Storage > { # [inline] pub const fn new (storage : Storage) -> Self { Self { storage } } } impl < Storage > __BindgenBitfieldUnit < Storage > where Storage : AsRef < [u8] > + AsMut < [u8] >, { # [inline] fn extract_bit (byte : u8 , index : usize) -> bool { let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [inline] pub fn get_bit (& self , index : usize) -> bool { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = self . storage . as_ref () [byte_index] ; Self :: extract_bit (byte , index) } # [inline] pub unsafe fn raw_get_bit (this : * const Self , index : usize) -> bool { debug_assert ! (index / 8 < core :: mem :: size_of ::< Storage > ()) ; let byte_index = index / 8 ; let byte = unsafe { * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) } ; Self :: extract_bit (byte , index) } # [inline] fn change_bit (byte : u8 , index : usize , val : bool) -> u8 { let bit_index = if cfg ! (target_endian = "big") { 7 - (index % 8) } else { index % 8 } ; let mask = 1 << bit_index ; if val { byte | mask } else { byte & ! mask } } # [inline] pub fn set_bit (& mut self , index : usize , val : bool) { debug_assert ! (index / 8 < self . storage . as_ref () . len ()) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut () [byte_index] ; * byte = Self :: change_bit (* byte , index , val) ; } # [inline] pub unsafe fn raw_set_bit (this : * mut Self , index : usize , val : bool) { debug_assert ! (index / 8 < core :: mem :: size_of ::< Storage > ()) ; let byte_index = index / 8 ; let byte = unsafe { (core :: ptr :: addr_of_mut ! ((* this) . storage) as * mut u8) . offset (byte_index as isize) } ; unsafe { * byte = Self :: change_bit (* byte , index , val) } ; } # [inline] pub fn get (& self , bit_offset : usize , bit_width : u8) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if self . get_bit (i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub unsafe fn raw_get (this : * const Self , bit_offset : usize , bit_width : u8 ,) -> u64 { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < core :: mem :: size_of ::< Storage > ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= core :: mem :: size_of ::< Storage > ()) ; let mut val = 0 ; for i in 0 .. (bit_width as usize) { if unsafe { Self :: raw_get_bit (this , i + bit_offset) } { let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [inline] pub fn set (& mut self , bit_offset : usize , bit_width : u8 , val : u64) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < self . storage . as_ref () . len ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= self . storage . as_ref () . len ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; self . set_bit (index + bit_offset , val_bit_is_set) ; } } # [inline] pub unsafe fn raw_set (this : * mut Self , bit_offset : usize , bit_width : u8 , val : u64 ,) { debug_assert ! (bit_width <= 64) ; debug_assert ! (bit_offset / 8 < core :: mem :: size_of ::< Storage > ()) ; debug_assert ! ((bit_offset + (bit_width as usize)) / 8 <= core :: mem :: size_of ::< Storage > ()) ; for i in 0 .. (bit_width as usize) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! (target_endian = "big") { bit_width as usize - 1 - i } else { i } ; unsafe { Self :: raw_set_bit (this , index + bit_offset , val_bit_is_set) } ; } } } # [derive (PartialEq , Copy , Clone , Hash , Debug , Default)] # [repr (C)] pub struct __BindgenComplex < T > { pub re : T , pub im : T } pub const LIBXML_DOTTED_VERSION : & [u8 ; 7] = b"2.15.2\0" ; pub const LIBXML_VERSION : u32 = 21502 ; pub const LIBXML_VERSION_STRING : & [u8 ; 6] = b"21502\0" ; pub const LIBXML_VERSION_EXTRA : & [u8 ; 1] = b"\0" ; pub const LIBXML_MODULE_EXTENSION : & [u8 ; 4] = b".so\0" ; pub const _STDIO_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2Y : u32 = 0 ; pub const __GLIBC_USE_ISOC23 : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 202405 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __USE_XOPEN2K24 : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_TIME_BITS64 : u32 = 1 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const __GLIBC_USE_C23_STRTOL : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 43 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C23 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C23 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _____fpos_t_defined : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _____fpos64_t_defined : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const __struct_FILE_defined : u32 = 1 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const __cookie_io_functions_t_defined : u32 = 1 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; pub const EOF : i32 = - 1 ; pub const SEEK_SET : u32 = 0 ; pub const SEEK_CUR : u32 = 1 ; pub const SEEK_END : u32 = 2 ; pub const P_tmpdir : & [u8 ; 5] = b"/tmp\0" ; pub const L_tmpnam : u32 = 20 ; pub const TMP_MAX : u32 = 238328 ; pub const _BITS_STDIO_LIM_H : u32 = 1 ; pub const FILENAME_MAX : u32 = 4096 ; pub const L_ctermid : u32 = 9 ; pub const FOPEN_MAX : u32 = 16 ; pub const __HAVE_FLOAT128 : u32 = 1 ; pub const __HAVE_DISTINCT_FLOAT128 : u32 = 1 ; pub const __HAVE_FLOAT64X : u32 = 1 ; pub const __HAVE_FLOAT64X_LONG_DOUBLE : u32 = 1 ; pub const __HAVE_FLOAT16 : u32 = 0 ; pub const __HAVE_FLOAT32 : u32 = 1 ; pub const __HAVE_FLOAT64 : u32 = 1 ; pub const __HAVE_FLOAT32X : u32 = 1 ; pub const __HAVE_FLOAT128X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT16 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT128X : u32 = 0 ; pub const __HAVE_FLOATN_NOT_TYPEDEF : u32 = 0 ; pub const _LIBC_LIMITS_H_ : u32 = 1 ; pub const MB_LEN_MAX : u32 = 16 ; pub const _BITS_POSIX1_LIM_H : u32 = 1 ; pub const _POSIX_AIO_LISTIO_MAX : u32 = 2 ; pub const _POSIX_AIO_MAX : u32 = 1 ; pub const _POSIX_ARG_MAX : u32 = 4096 ; pub const _POSIX_CHILD_MAX : u32 = 25 ; pub const _POSIX_DELAYTIMER_MAX : u32 = 32 ; pub const _POSIX_HOST_NAME_MAX : u32 = 255 ; pub const _POSIX_LINK_MAX : u32 = 8 ; pub const _POSIX_LOGIN_NAME_MAX : u32 = 9 ; pub const _POSIX_MAX_CANON : u32 = 255 ; pub const _POSIX_MAX_INPUT : u32 = 255 ; pub const _POSIX_MQ_OPEN_MAX : u32 = 8 ; pub const _POSIX_MQ_PRIO_MAX : u32 = 32 ; pub const _POSIX_NAME_MAX : u32 = 14 ; pub const _POSIX_NGROUPS_MAX : u32 = 8 ; pub const _POSIX_OPEN_MAX : u32 = 20 ; pub const _POSIX_PATH_MAX : u32 = 256 ; pub const _POSIX_PIPE_BUF : u32 = 512 ; pub const _POSIX_RE_DUP_MAX : u32 = 255 ; pub const _POSIX_RTSIG_MAX : u32 = 8 ; pub const _POSIX_SEM_NSEMS_MAX : u32 = 256 ; pub const _POSIX_SEM_VALUE_MAX : u32 = 32767 ; pub const _POSIX_SIGQUEUE_MAX : u32 = 32 ; pub const _POSIX_SSIZE_MAX : u32 = 32767 ; pub const _POSIX_STREAM_MAX : u32 = 8 ; pub const _POSIX_SYMLINK_MAX : u32 = 255 ; pub const _POSIX_SYMLOOP_MAX : u32 = 8 ; pub const _POSIX_TIMER_MAX : u32 = 32 ; pub const _POSIX_TTY_NAME_MAX : u32 = 9 ; pub const _POSIX_TZNAME_MAX : u32 = 6 ; pub const _POSIX_CLOCKRES_MIN : u32 = 20000000 ; pub const NR_OPEN : u32 = 1024 ; pub const NGROUPS_MAX : u32 = 65536 ; pub const ARG_MAX : u32 = 131072 ; pub const LINK_MAX : u32 = 127 ; pub const MAX_CANON : u32 = 255 ; pub const MAX_INPUT : u32 = 255 ; pub const NAME_MAX : u32 = 255 ; pub const PATH_MAX : u32 = 4096 ; pub const PIPE_BUF : u32 = 4096 ; pub const XATTR_NAME_MAX : u32 = 255 ; pub const XATTR_SIZE_MAX : u32 = 65536 ; pub const XATTR_LIST_MAX : u32 = 65536 ; pub const RTSIG_MAX : u32 = 32 ; pub const _POSIX_THREAD_KEYS_MAX : u32 = 128 ; pub const PTHREAD_KEYS_MAX : u32 = 1024 ; pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const PTHREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const _POSIX_THREAD_THREADS_MAX : u32 = 64 ; pub const AIO_PRIO_DELTA_MAX : u32 = 20 ; pub const PTHREAD_STACK_MIN : u32 = 16384 ; pub const DELAYTIMER_MAX : u32 = 2147483647 ; pub const TTY_NAME_MAX : u32 = 32 ; pub const LOGIN_NAME_MAX : u32 = 256 ; pub const HOST_NAME_MAX : u32 = 64 ; pub const MQ_PRIO_MAX : u32 = 32768 ; pub const SEM_VALUE_MAX : u32 = 2147483647 ; pub const _BITS_POSIX2_LIM_H : u32 = 1 ; pub const _POSIX2_BC_BASE_MAX : u32 = 99 ; pub const _POSIX2_BC_DIM_MAX : u32 = 2048 ; pub const _POSIX2_BC_SCALE_MAX : u32 = 99 ; pub const _POSIX2_BC_STRING_MAX : u32 = 1000 ; pub const _POSIX2_COLL_WEIGHTS_MAX : u32 = 2 ; pub const _POSIX2_EXPR_NEST_MAX : u32 = 32 ; pub const _POSIX2_LINE_MAX : u32 = 2048 ; pub const _POSIX2_RE_DUP_MAX : u32 = 255 ; pub const _POSIX2_CHARCLASS_NAME_MAX : u32 = 14 ; pub const BC_BASE_MAX : u32 = 99 ; pub const BC_DIM_MAX : u32 = 2048 ; pub const BC_SCALE_MAX : u32 = 99 ; pub const BC_STRING_MAX : u32 = 1000 ; pub const COLL_WEIGHTS_MAX : u32 = 255 ; pub const EXPR_NEST_MAX : u32 = 32 ; pub const LINE_MAX : u32 = 2048 ; pub const CHARCLASS_NAME_MAX : u32 = 2048 ; pub const RE_DUP_MAX : u32 = 32767 ; pub const xmlDefaultBufferSize : u32 = 4096 ; pub const XML_DOCB_DOCUMENT_NODE : u32 = 21 ; pub const XML_DEFAULT_VERSION : & [u8 ; 4] = b"1.0\0" ; pub const XML_DETECT_IDS : u32 = 2 ; pub const XML_COMPLETE_ATTRS : u32 = 4 ; pub const XML_SKIP_IDS : u32 = 8 ; pub const XML_SAX2_MAGIC : u32 = 3740122799 ; pub const XML_SCHEMAS_ANYATTR_SKIP : u32 = 1 ; pub const XML_SCHEMAS_ANYATTR_LAX : u32 = 2 ; pub const XML_SCHEMAS_ANYATTR_STRICT : u32 = 3 ; pub const XML_SCHEMAS_ANY_SKIP : u32 = 1 ; pub const XML_SCHEMAS_ANY_LAX : u32 = 2 ; pub const XML_SCHEMAS_ANY_STRICT : u32 = 3 ; pub const XML_SCHEMAS_ATTR_USE_PROHIBITED : u32 = 0 ; pub const XML_SCHEMAS_ATTR_USE_REQUIRED : u32 = 1 ; pub const XML_SCHEMAS_ATTR_USE_OPTIONAL : u32 = 2 ; pub const XML_SCHEMAS_ATTR_GLOBAL : u32 = 1 ; pub const XML_SCHEMAS_ATTR_NSDEFAULT : u32 = 128 ; pub const XML_SCHEMAS_ATTR_INTERNAL_RESOLVED : u32 = 256 ; pub const XML_SCHEMAS_ATTR_FIXED : u32 = 512 ; pub const XML_SCHEMAS_WILDCARD_COMPLETE : u32 = 1 ; pub const XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED : u32 = 1 ; pub const XML_SCHEMAS_ATTRGROUP_GLOBAL : u32 = 2 ; pub const XML_SCHEMAS_ATTRGROUP_MARKED : u32 = 4 ; pub const XML_SCHEMAS_ATTRGROUP_REDEFINED : u32 = 8 ; pub const XML_SCHEMAS_ATTRGROUP_HAS_REFS : u32 = 16 ; pub const XML_SCHEMAS_TYPE_MIXED : u32 = 1 ; pub const XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION : u32 = 2 ; pub const XML_SCHEMAS_TYPE_DERIVATION_METHOD_RESTRICTION : u32 = 4 ; pub const XML_SCHEMAS_TYPE_GLOBAL : u32 = 8 ; pub const XML_SCHEMAS_TYPE_OWNED_ATTR_WILDCARD : u32 = 16 ; pub const XML_SCHEMAS_TYPE_VARIETY_ABSENT : u32 = 32 ; pub const XML_SCHEMAS_TYPE_VARIETY_LIST : u32 = 64 ; pub const XML_SCHEMAS_TYPE_VARIETY_UNION : u32 = 128 ; pub const XML_SCHEMAS_TYPE_VARIETY_ATOMIC : u32 = 256 ; pub const XML_SCHEMAS_TYPE_FINAL_EXTENSION : u32 = 512 ; pub const XML_SCHEMAS_TYPE_FINAL_RESTRICTION : u32 = 1024 ; pub const XML_SCHEMAS_TYPE_FINAL_LIST : u32 = 2048 ; pub const XML_SCHEMAS_TYPE_FINAL_UNION : u32 = 4096 ; pub const XML_SCHEMAS_TYPE_FINAL_DEFAULT : u32 = 8192 ; pub const XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE : u32 = 16384 ; pub const XML_SCHEMAS_TYPE_MARKED : u32 = 65536 ; pub const XML_SCHEMAS_TYPE_BLOCK_DEFAULT : u32 = 131072 ; pub const XML_SCHEMAS_TYPE_BLOCK_EXTENSION : u32 = 262144 ; pub const XML_SCHEMAS_TYPE_BLOCK_RESTRICTION : u32 = 524288 ; pub const XML_SCHEMAS_TYPE_ABSTRACT : u32 = 1048576 ; pub const XML_SCHEMAS_TYPE_FACETSNEEDVALUE : u32 = 2097152 ; pub const XML_SCHEMAS_TYPE_INTERNAL_RESOLVED : u32 = 4194304 ; pub const XML_SCHEMAS_TYPE_INTERNAL_INVALID : u32 = 8388608 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_PRESERVE : u32 = 16777216 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_REPLACE : u32 = 33554432 ; pub const XML_SCHEMAS_TYPE_WHITESPACE_COLLAPSE : u32 = 67108864 ; pub const XML_SCHEMAS_TYPE_HAS_FACETS : u32 = 134217728 ; pub const XML_SCHEMAS_TYPE_NORMVALUENEEDED : u32 = 268435456 ; pub const XML_SCHEMAS_TYPE_FIXUP_1 : u32 = 536870912 ; pub const XML_SCHEMAS_TYPE_REDEFINED : u32 = 1073741824 ; pub const XML_SCHEMAS_ELEM_NILLABLE : u32 = 1 ; pub const XML_SCHEMAS_ELEM_GLOBAL : u32 = 2 ; pub const XML_SCHEMAS_ELEM_DEFAULT : u32 = 4 ; pub const XML_SCHEMAS_ELEM_FIXED : u32 = 8 ; pub const XML_SCHEMAS_ELEM_ABSTRACT : u32 = 16 ; pub const XML_SCHEMAS_ELEM_TOPLEVEL : u32 = 32 ; pub const XML_SCHEMAS_ELEM_REF : u32 = 64 ; pub const XML_SCHEMAS_ELEM_NSDEFAULT : u32 = 128 ; pub const XML_SCHEMAS_ELEM_INTERNAL_RESOLVED : u32 = 256 ; pub const XML_SCHEMAS_ELEM_CIRCULAR : u32 = 512 ; pub const XML_SCHEMAS_ELEM_BLOCK_ABSENT : u32 = 1024 ; pub const XML_SCHEMAS_ELEM_BLOCK_EXTENSION : u32 = 2048 ; pub const XML_SCHEMAS_ELEM_BLOCK_RESTRICTION : u32 = 4096 ; pub const XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION : u32 = 8192 ; pub const XML_SCHEMAS_ELEM_FINAL_ABSENT : u32 = 16384 ; pub const XML_SCHEMAS_ELEM_FINAL_EXTENSION : u32 = 32768 ; pub const XML_SCHEMAS_ELEM_FINAL_RESTRICTION : u32 = 65536 ; pub const XML_SCHEMAS_ELEM_SUBST_GROUP_HEAD : u32 = 131072 ; pub const XML_SCHEMAS_ELEM_INTERNAL_CHECKED : u32 = 262144 ; pub const XML_SCHEMAS_FACET_UNKNOWN : u32 = 0 ; pub const XML_SCHEMAS_FACET_PRESERVE : u32 = 1 ; pub const XML_SCHEMAS_FACET_REPLACE : u32 = 2 ; pub const XML_SCHEMAS_FACET_COLLAPSE : u32 = 3 ; pub const XML_SCHEMAS_QUALIF_ELEM : u32 = 1 ; pub const XML_SCHEMAS_QUALIF_ATTR : u32 = 2 ; pub const XML_SCHEMAS_FINAL_DEFAULT_EXTENSION : u32 = 4 ; pub const XML_SCHEMAS_FINAL_DEFAULT_RESTRICTION : u32 = 8 ; pub const XML_SCHEMAS_FINAL_DEFAULT_LIST : u32 = 16 ; pub const XML_SCHEMAS_FINAL_DEFAULT_UNION : u32 = 32 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_EXTENSION : u32 = 64 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_RESTRICTION : u32 = 128 ; pub const XML_SCHEMAS_BLOCK_DEFAULT_SUBSTITUTION : u32 = 256 ; pub const XML_SCHEMAS_INCLUDING_CONVERT_NS : u32 = 512 ; unsafe extern "C" { pub fn xmlCheckVersion (version : :: std :: os :: raw :: c_int) ; } pub type __gnuc_va_list = __builtin_va_list ; pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [:: std :: os :: raw :: c_int ; 2usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __fsid_t"] [:: std :: mem :: size_of :: < __fsid_t > () - 8usize] ; ["Alignment of __fsid_t"] [:: std :: mem :: align_of :: < __fsid_t > () - 4usize] ; ["Offset of field: __fsid_t::__val"] [:: std :: mem :: offset_of ! (__fsid_t , __val) - 0usize] ; } ; pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __suseconds64_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Copy , Clone)] pub struct __mbstate_t { pub __count : :: std :: os :: raw :: c_int , pub __value : __mbstate_t__bindgen_ty_1 , } # [repr (C)] # [derive (Copy , Clone)] pub union __mbstate_t__bindgen_ty_1 { pub __wch : :: std :: os :: raw :: c_uint , pub __wchb : [:: std :: os :: raw :: c_char ; 4usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __mbstate_t__bindgen_ty_1"] [:: std :: mem :: size_of :: < __mbstate_t__bindgen_ty_1 > () - 4usize] ; ["Alignment of __mbstate_t__bindgen_ty_1"] [:: std :: mem :: align_of :: < __mbstate_t__bindgen_ty_1 > () - 4usize] ; ["Offset of field: __mbstate_t__bindgen_ty_1::__wch"] [:: std :: mem :: offset_of ! (__mbstate_t__bindgen_ty_1 , __wch) - 0usize] ; ["Offset of field: __mbstate_t__bindgen_ty_1::__wchb"] [:: std :: mem :: offset_of ! (__mbstate_t__bindgen_ty_1 , __wchb) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __mbstate_t"] [:: std :: mem :: size_of :: < __mbstate_t > () - 8usize] ; ["Alignment of __mbstate_t"] [:: std :: mem :: align_of :: < __mbstate_t > () - 4usize] ; ["Offset of field: __mbstate_t::__count"] [:: std :: mem :: offset_of ! (__mbstate_t , __count) - 0usize] ; ["Offset of field: __mbstate_t::__value"] [:: std :: mem :: offset_of ! (__mbstate_t , __value) - 4usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos_t { pub __pos : __off_t , pub __state : __mbstate_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _G_fpos_t"] [:: std :: mem :: size_of :: < _G_fpos_t > () - 16usize] ; ["Alignment of _G_fpos_t"] [:: std :: mem :: align_of :: < _G_fpos_t > () - 8usize] ; ["Offset of field: _G_fpos_t::__pos"] [:: std :: mem :: offset_of ! (_G_fpos_t , __pos) - 0usize] ; ["Offset of field: _G_fpos_t::__state"] [:: std :: mem :: offset_of ! (_G_fpos_t , __state) - 8usize] ; } ; pub type __fpos_t = _G_fpos_t ; # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos64_t { pub __pos : __off64_t , pub __state : __mbstate_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _G_fpos64_t"] [:: std :: mem :: size_of :: < _G_fpos64_t > () - 16usize] ; ["Alignment of _G_fpos64_t"] [:: std :: mem :: align_of :: < _G_fpos64_t > () - 8usize] ; ["Offset of field: _G_fpos64_t::__pos"] [:: std :: mem :: offset_of ! (_G_fpos64_t , __pos) - 0usize] ; ["Offset of field: _G_fpos64_t::__state"] [:: std :: mem :: offset_of ! (_G_fpos64_t , __state) - 8usize] ; } ; pub type __fpos64_t = _G_fpos64_t ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: std :: os :: raw :: c_int , pub _IO_read_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_read_end : * mut :: std :: os :: raw :: c_char , pub _IO_read_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_write_end : * mut :: std :: os :: raw :: c_char , pub _IO_buf_base : * mut :: std :: os :: raw :: c_char , pub _IO_buf_end : * mut :: std :: os :: raw :: c_char , pub _IO_save_base : * mut :: std :: os :: raw :: c_char , pub _IO_backup_base : * mut :: std :: os :: raw :: c_char , pub _IO_save_end : * mut :: std :: os :: raw :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: std :: os :: raw :: c_int , pub _bitfield_align_1 : [u32 ; 0] , pub _bitfield_1 : __BindgenBitfieldUnit < [u8 ; 3usize] > , pub _short_backupbuf : [:: std :: os :: raw :: c_char ; 1usize] , pub _old_offset : __off_t , pub _cur_column : :: std :: os :: raw :: c_ushort , pub _vtable_offset : :: std :: os :: raw :: c_schar , pub _shortbuf : [:: std :: os :: raw :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: std :: os :: raw :: c_void , pub _prevchain : * mut * mut _IO_FILE , pub _mode : :: std :: os :: raw :: c_int , pub _unused3 : :: std :: os :: raw :: c_int , pub _total_written : __uint64_t , pub _unused2 : [:: std :: os :: raw :: c_char ; 8usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: std :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: std :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: std :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: std :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: std :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: std :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_short_backupbuf"] [:: std :: mem :: offset_of ! (_IO_FILE , _short_backupbuf) - 119usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: std :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: std :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: std :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: std :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: std :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: std :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: std :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::_prevchain"] [:: std :: mem :: offset_of ! (_IO_FILE , _prevchain) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: std :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused3"] [:: std :: mem :: offset_of ! (_IO_FILE , _unused3) - 196usize] ; ["Offset of field: _IO_FILE::_total_written"] [:: std :: mem :: offset_of ! (_IO_FILE , _total_written) - 200usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: std :: mem :: offset_of ! (_IO_FILE , _unused2) - 208usize] ; } ; impl _IO_FILE { # [inline] pub fn _flags2 (& self) -> :: std :: os :: raw :: c_int { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (0usize , 24u8) as u32) } } # [inline] pub fn set__flags2 (& mut self , val : :: std :: os :: raw :: c_int) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 24u8 , val as u64) } } # [inline] pub unsafe fn _flags2_raw (this : * const Self) -> :: std :: os :: raw :: c_int { unsafe { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 3usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 0usize , 24u8 ,) as u32) } } # [inline] pub unsafe fn set__flags2_raw (this : * mut Self , val : :: std :: os :: raw :: c_int) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 3usize] > > :: raw_set (:: std :: ptr :: addr_of_mut ! ((* this) . _bitfield_1) , 0usize , 24u8 , val as u64 ,) } } # [inline] pub fn new_bitfield_1 (_flags2 : :: std :: os :: raw :: c_int) -> __BindgenBitfieldUnit < [u8 ; 3usize] > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [u8 ; 3usize] > = Default :: default () ; __bindgen_bitfield_unit . set (0usize , 24u8 , { let _flags2 : u32 = unsafe { :: std :: mem :: transmute (_flags2) } ; _flags2 as u64 }) ; __bindgen_bitfield_unit } } pub type cookie_read_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_write_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_seek_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; pub type cookie_close_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_cookie_io_functions_t { pub read : cookie_read_function_t , pub write : cookie_write_function_t , pub seek : cookie_seek_function_t , pub close : cookie_close_function_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_cookie_io_functions_t"] [:: std :: mem :: size_of :: < _IO_cookie_io_functions_t > () - 32usize] ; ["Alignment of _IO_cookie_io_functions_t"] [:: std :: mem :: align_of :: < _IO_cookie_io_functions_t > () - 8usize] ; ["Offset of field: _IO_cookie_io_functions_t::read"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , read) - 0usize] ; ["Offset of field: _IO_cookie_io_functions_t::write"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , write) - 8usize] ; ["Offset of field: _IO_cookie_io_functions_t::seek"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , seek) - 16usize] ; ["Offset of field: _IO_cookie_io_functions_t::close"] [:: std :: mem :: offset_of ! (_IO_cookie_io_functions_t , close) - 24usize] ; } ; pub type cookie_io_functions_t = _IO_cookie_io_functions_t ; pub type va_list = __gnuc_va_list ; pub type off_t = __off_t ; pub type fpos_t = __fpos_t ; unsafe extern "C" { pub static mut stdin : * mut FILE ; } unsafe extern "C" { pub static mut stdout : * mut FILE ; } unsafe extern "C" { pub static mut stderr : * mut FILE ; } unsafe extern "C" { pub fn remove (__filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn rename (__old : * const :: std :: os :: raw :: c_char , __new : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn renameat (__oldfd : :: std :: os :: raw :: c_int , __old : * const :: std :: os :: raw :: c_char , __newfd : :: std :: os :: raw :: c_int , __new : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fclose (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn tmpfile () -> * mut FILE ; } unsafe extern "C" { pub fn tmpnam (arg1 : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn tmpnam_r (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn tempnam (__dir : * const :: std :: os :: raw :: c_char , __pfx : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn fflush (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fflush_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn freopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> * mut FILE ; } unsafe extern "C" { pub fn fdopen (__fd : :: std :: os :: raw :: c_int , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn fopencookie (__magic_cookie : * mut :: std :: os :: raw :: c_void , __modes : * const :: std :: os :: raw :: c_char , __io_funcs : cookie_io_functions_t) -> * mut FILE ; } unsafe extern "C" { pub fn fmemopen (__s : * mut :: std :: os :: raw :: c_void , __len : usize , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn open_memstream (__bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize) -> * mut FILE ; } unsafe extern "C" { pub fn setbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn setvbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn setbuffer (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize) ; } unsafe extern "C" { pub fn setlinebuf (__stream : * mut FILE) ; } unsafe extern "C" { pub fn fprintf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn printf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn sprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vfprintf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vprintf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn snprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsnprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vasprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __f : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vdprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn dprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fscanf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn scanf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn sscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } pub type __cfloat128 = __BindgenComplex < u128 > ; pub type _Float128 = u128 ; pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = u128 ; unsafe extern "C" { # [link_name = "\u{1}__isoc99_fscanf"] pub fn fscanf1 (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_scanf"] pub fn scanf1 (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_sscanf"] pub fn sscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vfscanf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vscanf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn vsscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vfscanf"] pub fn vfscanf1 (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vscanf"] pub fn vscanf1 (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [link_name = "\u{1}__isoc99_vsscanf"] pub fn vsscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgetc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getchar () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getchar_unlocked () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgetc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fputc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putchar (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fputc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putchar_unlocked (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn getw (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn putw (__w : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fgets (__s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn __getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn getline (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE) -> __ssize_t ; } unsafe extern "C" { pub fn fputs (__s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn puts (__s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ungetc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fread (__ptr : * mut :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __stream : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn fwrite (__ptr : * const :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __s : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn fread_unlocked (__ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } unsafe extern "C" { pub fn fwrite_unlocked (__ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } unsafe extern "C" { pub fn fseek (__stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ftell (__stream : * mut FILE) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn rewind (__stream : * mut FILE) ; } unsafe extern "C" { pub fn fseeko (__stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ftello (__stream : * mut FILE) -> __off_t ; } unsafe extern "C" { pub fn fgetpos (__stream : * mut FILE , __pos : * mut fpos_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fsetpos (__stream : * mut FILE , __pos : * const fpos_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn clearerr (__stream : * mut FILE) ; } unsafe extern "C" { pub fn feof (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ferror (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn clearerr_unlocked (__stream : * mut FILE) ; } unsafe extern "C" { pub fn feof_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ferror_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn perror (__s : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn fileno (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn fileno_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn pclose (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn popen (__command : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } unsafe extern "C" { pub fn ctermid (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn flockfile (__stream : * mut FILE) ; } unsafe extern "C" { pub fn ftrylockfile (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn funlockfile (__stream : * mut FILE) ; } unsafe extern "C" { pub fn __uflow (arg1 : * mut FILE) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __overflow (arg1 : * mut FILE , arg2 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " This is a basic byte in an UTF-8 encoded string.\n It's unsigned allowing to pinpoint case where char * are assigned\n to xmlChar * (possibly making serialization back impossible)."] pub type xmlChar = :: std :: os :: raw :: c_uchar ; unsafe extern "C" { pub fn xmlStrdup (cur : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrndup (cur : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCharStrndup (cur : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCharStrdup (cur : * const :: std :: os :: raw :: c_char) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrsub (str_ : * const xmlChar , start : :: std :: os :: raw :: c_int , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrchr (str_ : * const xmlChar , val : xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrstr (str_ : * const xmlChar , val : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrcasestr (str_ : * const xmlChar , val : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlStrcmp (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrncmp (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrcasecmp (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrncasecmp (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrEqual (str1 : * const xmlChar , str2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrQEqual (pref : * const xmlChar , name : * const xmlChar , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrlen (str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrcat (cur : * mut xmlChar , add : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrncat (cur : * mut xmlChar , add : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrncatNew (str1 : * const xmlChar , str2 : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStrPrintf (buf : * mut xmlChar , len : :: std :: os :: raw :: c_int , msg : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStrVPrintf (buf : * mut xmlChar , len : :: std :: os :: raw :: c_int , msg : * const :: std :: os :: raw :: c_char , ap : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetUTF8Char (utf : * const :: std :: os :: raw :: c_uchar , len : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCheckUTF8 (utf : * const :: std :: os :: raw :: c_uchar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strsize (utf : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strndup (utf : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strpos (utf : * const xmlChar , pos : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strloc (utf : * const xmlChar , utfchar : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Strsub (utf : * const xmlChar , start : :: std :: os :: raw :: c_int , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlUTF8Strlen (utf : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Size (utf : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8Charcmp (utf1 : * const xmlChar , utf2 : * const xmlChar) -> :: std :: os :: raw :: c_int ; } # [doc = " Signature for a free() implementation.\n\n @param mem  an already allocated block of memory"] pub type xmlFreeFunc = :: std :: option :: Option < unsafe extern "C" fn (mem : * mut :: std :: os :: raw :: c_void) > ; # [doc = " Signature for a malloc() implementation.\n\n @param size  the size requested in bytes\n @returns a pointer to the newly allocated block or NULL in case of error."] pub type xmlMallocFunc = :: std :: option :: Option < unsafe extern "C" fn (size : usize) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Signature for a realloc() implementation.\n\n @param mem  an already allocated block of memory\n @param size  the new size requested in bytes\n @returns a pointer to the newly reallocated block or NULL in case of error."] pub type xmlReallocFunc = :: std :: option :: Option < unsafe extern "C" fn (mem : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Signature for an strdup() implementation.\n\n @param str  a zero terminated string\n @returns the copy of the string or NULL in case of error."] pub type xmlStrdupFunc = :: std :: option :: Option < unsafe extern "C" fn (str_ : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char > ; unsafe extern "C" { # [doc = " The variable holding the libxml malloc() implementation"] pub static mut xmlMalloc : xmlMallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml malloc() implementation for atomic\n data (i.e. blocks not containing pointers), useful when using a\n garbage collecting allocator.\n\n @deprecated Use #xmlMalloc"] pub static mut xmlMallocAtomic : xmlMallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml realloc() implementation"] pub static mut xmlRealloc : xmlReallocFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml free() implementation"] pub static mut xmlFree : xmlFreeFunc ; } unsafe extern "C" { # [doc = " The variable holding the libxml strdup() implementation"] pub static mut xmlMemStrdup : xmlStrdupFunc ; } unsafe extern "C" { pub fn xmlMemSetup (freeFunc : xmlFreeFunc , mallocFunc : xmlMallocFunc , reallocFunc : xmlReallocFunc , strdupFunc : xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemGet (freeFunc : * mut xmlFreeFunc , mallocFunc : * mut xmlMallocFunc , reallocFunc : * mut xmlReallocFunc , strdupFunc : * mut xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGcMemSetup (freeFunc : xmlFreeFunc , mallocFunc : xmlMallocFunc , mallocAtomicFunc : xmlMallocFunc , reallocFunc : xmlReallocFunc , strdupFunc : xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGcMemGet (freeFunc : * mut xmlFreeFunc , mallocFunc : * mut xmlMallocFunc , mallocAtomicFunc : * mut xmlMallocFunc , reallocFunc : * mut xmlReallocFunc , strdupFunc : * mut xmlStrdupFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlInitMemory () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCleanupMemory () ; } unsafe extern "C" { pub fn xmlMemSize (ptr : * mut :: std :: os :: raw :: c_void) -> usize ; } unsafe extern "C" { pub fn xmlMemUsed () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemBlocks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlMemDisplay (fp : * mut FILE) ; } unsafe extern "C" { pub fn xmlMemDisplayLast (fp : * mut FILE , nbBytes : :: std :: os :: raw :: c_long) ; } unsafe extern "C" { pub fn xmlMemShow (fp : * mut FILE , nr : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlMemoryDump () ; } unsafe extern "C" { pub fn xmlMemMalloc (size : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemRealloc (ptr : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemFree (ptr : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlMemoryStrdup (str_ : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlMallocLoc (size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlReallocLoc (ptr : * mut :: std :: os :: raw :: c_void , size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMallocAtomicLoc (size : usize , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlMemStrdupLoc (str_ : * const :: std :: os :: raw :: c_char , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRegexp { _unused : [u8 ; 0] , } # [doc = " A libxml regular expression"] pub type xmlRegexp = _xmlRegexp ; pub type xmlRegexpPtr = * mut xmlRegexp ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRegExecCtxt { _unused : [u8 ; 0] , } # [doc = " A libxml progressive regular expression evaluation context"] pub type xmlRegExecCtxt = _xmlRegExecCtxt ; pub type xmlRegExecCtxtPtr = * mut xmlRegExecCtxt ; unsafe extern "C" { pub fn xmlRegexpCompile (regexp : * const xmlChar) -> * mut xmlRegexp ; } unsafe extern "C" { pub fn xmlRegFreeRegexp (regexp : * mut xmlRegexp) ; } unsafe extern "C" { pub fn xmlRegexpExec (comp : * mut xmlRegexp , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegexpPrint (output : * mut FILE , regexp : * mut xmlRegexp) ; } unsafe extern "C" { pub fn xmlRegexpIsDeterminist (comp : * mut xmlRegexp) -> :: std :: os :: raw :: c_int ; } # [doc = " Callback function when doing a transition in the automata\n\n @param exec  the regular expression context\n @param token  the current token string\n @param transdata  transition data\n @param inputdata  input data"] pub type xmlRegExecCallbacks = :: std :: option :: Option < unsafe extern "C" fn (exec : * mut xmlRegExecCtxt , token : * const xmlChar , transdata : * mut :: std :: os :: raw :: c_void , inputdata : * mut :: std :: os :: raw :: c_void) > ; unsafe extern "C" { pub fn xmlRegNewExecCtxt (comp : * mut xmlRegexp , callback : xmlRegExecCallbacks , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlRegExecCtxt ; } unsafe extern "C" { pub fn xmlRegFreeExecCtxt (exec : * mut xmlRegExecCtxt) ; } unsafe extern "C" { pub fn xmlRegExecPushString (exec : * mut xmlRegExecCtxt , value : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecPushString2 (exec : * mut xmlRegExecCtxt , value : * const xmlChar , value2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecNextValues (exec : * mut xmlRegExecCtxt , nbval : * mut :: std :: os :: raw :: c_int , nbneg : * mut :: std :: os :: raw :: c_int , values : * mut * mut xmlChar , terminal : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegExecErrInfo (exec : * mut xmlRegExecCtxt , string : * mut * const xmlChar , nbval : * mut :: std :: os :: raw :: c_int , nbneg : * mut :: std :: os :: raw :: c_int , values : * mut * mut xmlChar , terminal : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " Parser input buffer\n\n This struct and all related functions should ultimately\n be removed from the public interface."] pub type xmlParserInputBuffer = _xmlParserInputBuffer ; pub type xmlParserInputBufferPtr = * mut xmlParserInputBuffer ; # [doc = " Output buffer"] pub type xmlOutputBuffer = _xmlOutputBuffer ; pub type xmlOutputBufferPtr = * mut xmlOutputBuffer ; # [doc = " Parser input"] pub type xmlParserInput = _xmlParserInput ; pub type xmlParserInputPtr = * mut xmlParserInput ; # [doc = " Parser context"] pub type xmlParserCtxt = _xmlParserCtxt ; pub type xmlParserCtxtPtr = * mut xmlParserCtxt ; # [doc = " SAX locator"] pub type xmlSAXLocator = _xmlSAXLocator ; pub type xmlSAXLocatorPtr = * mut xmlSAXLocator ; # [doc = " SAX handler"] pub type xmlSAXHandler = _xmlSAXHandler ; pub type xmlSAXHandlerPtr = * mut xmlSAXHandler ; # [doc = " Entity declaration"] pub type xmlEntity = _xmlEntity ; pub type xmlEntityPtr = * mut xmlEntity ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_DOUBLEIT : xmlBufferAllocationScheme = 0 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_EXACT : xmlBufferAllocationScheme = 1 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_IMMUTABLE : xmlBufferAllocationScheme = 2 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_IO : xmlBufferAllocationScheme = 3 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_HYBRID : xmlBufferAllocationScheme = 4 ; pub const xmlBufferAllocationScheme_XML_BUFFER_ALLOC_BOUNDED : xmlBufferAllocationScheme = 5 ; # [doc = " Removed, buffers always use XML_BUFFER_ALLOC_IO now."] pub type xmlBufferAllocationScheme = :: std :: os :: raw :: c_uint ; # [doc = " Buffer type"] pub type xmlBuffer = _xmlBuffer ; pub type xmlBufferPtr = * mut xmlBuffer ; # [doc = " A buffer structure, this old construct is limited to 2GB and\n is being deprecated, use API with xmlBuf instead."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlBuffer { # [doc = " @deprecated Use #xmlBufferContent\n\n The buffer content UTF8"] pub content : * mut xmlChar , # [doc = " @deprecated Use #xmlBufferLength\n\n The buffer size used"] pub use_ : :: std :: os :: raw :: c_uint , pub size : :: std :: os :: raw :: c_uint , pub alloc : xmlBufferAllocationScheme , pub contentIO : * mut xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlBuffer"] [:: std :: mem :: size_of :: < _xmlBuffer > () - 32usize] ; ["Alignment of _xmlBuffer"] [:: std :: mem :: align_of :: < _xmlBuffer > () - 8usize] ; ["Offset of field: _xmlBuffer::content"] [:: std :: mem :: offset_of ! (_xmlBuffer , content) - 0usize] ; ["Offset of field: _xmlBuffer::use_"] [:: std :: mem :: offset_of ! (_xmlBuffer , use_) - 8usize] ; ["Offset of field: _xmlBuffer::size"] [:: std :: mem :: offset_of ! (_xmlBuffer , size) - 12usize] ; ["Offset of field: _xmlBuffer::alloc"] [:: std :: mem :: offset_of ! (_xmlBuffer , alloc) - 16usize] ; ["Offset of field: _xmlBuffer::contentIO"] [:: std :: mem :: offset_of ! (_xmlBuffer , contentIO) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlBuf { _unused : [u8 ; 0] , } # [doc = " Buffer with 64-bit support"] pub type xmlBuf = _xmlBuf ; pub type xmlBufPtr = * mut xmlBuf ; # [doc = " An element.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_ELEMENT_NODE : xmlElementType = 1 ; # [doc = " An attribute.\n\n Objects of this type are an xmlAttr."] pub const xmlElementType_XML_ATTRIBUTE_NODE : xmlElementType = 2 ; # [doc = " A text node.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_TEXT_NODE : xmlElementType = 3 ; # [doc = " A CDATA section.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_CDATA_SECTION_NODE : xmlElementType = 4 ; # [doc = " An entity reference.\n\n Objects of this type are an xmlNode. The `children` member\n points to the entity declaration if available."] pub const xmlElementType_XML_ENTITY_REF_NODE : xmlElementType = 5 ; # [doc = " unused"] pub const xmlElementType_XML_ENTITY_NODE : xmlElementType = 6 ; # [doc = " A processing instruction.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_PI_NODE : xmlElementType = 7 ; # [doc = " A comment.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_COMMENT_NODE : xmlElementType = 8 ; # [doc = " A document.\n\n Objects of this type are an xmlDoc."] pub const xmlElementType_XML_DOCUMENT_NODE : xmlElementType = 9 ; # [doc = " unused"] pub const xmlElementType_XML_DOCUMENT_TYPE_NODE : xmlElementType = 10 ; # [doc = " A document fragment.\n\n Objects of this type are an xmlNode."] pub const xmlElementType_XML_DOCUMENT_FRAG_NODE : xmlElementType = 11 ; # [doc = " A notation, unused"] pub const xmlElementType_XML_NOTATION_NODE : xmlElementType = 12 ; # [doc = " An HTML document.\n\n Objects of this type are an xmlDoc."] pub const xmlElementType_XML_HTML_DOCUMENT_NODE : xmlElementType = 13 ; # [doc = " A document type definition.\n\n Objects of this type are an xmlDtd."] pub const xmlElementType_XML_DTD_NODE : xmlElementType = 14 ; # [doc = " An element declaration.\n\n Objects of this type are an xmlElement."] pub const xmlElementType_XML_ELEMENT_DECL : xmlElementType = 15 ; # [doc = " An attribute declaration.\n\n Objects of this type are an xmlAttribute."] pub const xmlElementType_XML_ATTRIBUTE_DECL : xmlElementType = 16 ; # [doc = " An entity declaration.\n\n Objects of this type are an xmlEntity."] pub const xmlElementType_XML_ENTITY_DECL : xmlElementType = 17 ; # [doc = " An XPath namespace node.\n\n Can only be returned by the XPath engine. Objects of this\n type are an xmlNs which has a completely different layout\n than xmlNode. The `next` member contains a pointer to the\n xmlNode element to which the namespace applies.\n\n Nodes of this type must be handled with extreme care to\n avoid type confusion bugs."] pub const xmlElementType_XML_NAMESPACE_DECL : xmlElementType = 18 ; # [doc = " An XInclude start marker.\n\n Objects of this type are an xmlNode. Inserted as preceding\n sibling of XIncluded content."] pub const xmlElementType_XML_XINCLUDE_START : xmlElementType = 19 ; # [doc = " An XInclude end marker.\n\n Objects of this type are an xmlNode. Inserted as following\n sibling of XIncluded content."] pub const xmlElementType_XML_XINCLUDE_END : xmlElementType = 20 ; # [doc = " The different element types carried by an XML tree.\n\n NOTE: This is synchronized with DOM Level 1 values.\n       See http://www.w3.org/TR/REC-DOM-Level-1/\n\n Actually this had diverged a bit, and XML_DTD_NODE is used instead\n of XML_DOCUMENT_TYPE_NODE."] pub type xmlElementType = :: std :: os :: raw :: c_uint ; # [doc = " Notation declaration"] pub type xmlNotation = _xmlNotation ; pub type xmlNotationPtr = * mut xmlNotation ; # [doc = " A DTD Notation definition.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNotation { # [doc = " Notation name"] pub name : * const xmlChar , # [doc = " Public identifier, if any"] pub PublicID : * const xmlChar , # [doc = " System identifier, if any"] pub SystemID : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNotation"] [:: std :: mem :: size_of :: < _xmlNotation > () - 24usize] ; ["Alignment of _xmlNotation"] [:: std :: mem :: align_of :: < _xmlNotation > () - 8usize] ; ["Offset of field: _xmlNotation::name"] [:: std :: mem :: offset_of ! (_xmlNotation , name) - 0usize] ; ["Offset of field: _xmlNotation::PublicID"] [:: std :: mem :: offset_of ! (_xmlNotation , PublicID) - 8usize] ; ["Offset of field: _xmlNotation::SystemID"] [:: std :: mem :: offset_of ! (_xmlNotation , SystemID) - 16usize] ; } ; pub const xmlAttributeType_XML_ATTRIBUTE_CDATA : xmlAttributeType = 1 ; pub const xmlAttributeType_XML_ATTRIBUTE_ID : xmlAttributeType = 2 ; pub const xmlAttributeType_XML_ATTRIBUTE_IDREF : xmlAttributeType = 3 ; pub const xmlAttributeType_XML_ATTRIBUTE_IDREFS : xmlAttributeType = 4 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENTITY : xmlAttributeType = 5 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENTITIES : xmlAttributeType = 6 ; pub const xmlAttributeType_XML_ATTRIBUTE_NMTOKEN : xmlAttributeType = 7 ; pub const xmlAttributeType_XML_ATTRIBUTE_NMTOKENS : xmlAttributeType = 8 ; pub const xmlAttributeType_XML_ATTRIBUTE_ENUMERATION : xmlAttributeType = 9 ; pub const xmlAttributeType_XML_ATTRIBUTE_NOTATION : xmlAttributeType = 10 ; # [doc = " A DTD Attribute type definition."] pub type xmlAttributeType = :: std :: os :: raw :: c_uint ; pub const xmlAttributeDefault_XML_ATTRIBUTE_NONE : xmlAttributeDefault = 1 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_REQUIRED : xmlAttributeDefault = 2 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_IMPLIED : xmlAttributeDefault = 3 ; pub const xmlAttributeDefault_XML_ATTRIBUTE_FIXED : xmlAttributeDefault = 4 ; # [doc = " A DTD Attribute default definition."] pub type xmlAttributeDefault = :: std :: os :: raw :: c_uint ; # [doc = " Enumeration in a DTD"] pub type xmlEnumeration = _xmlEnumeration ; pub type xmlEnumerationPtr = * mut xmlEnumeration ; # [doc = " List structure used when there is an enumeration in DTDs.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlEnumeration { # [doc = " next enumeration"] pub next : * mut _xmlEnumeration , # [doc = " value"] pub name : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlEnumeration"] [:: std :: mem :: size_of :: < _xmlEnumeration > () - 16usize] ; ["Alignment of _xmlEnumeration"] [:: std :: mem :: align_of :: < _xmlEnumeration > () - 8usize] ; ["Offset of field: _xmlEnumeration::next"] [:: std :: mem :: offset_of ! (_xmlEnumeration , next) - 0usize] ; ["Offset of field: _xmlEnumeration::name"] [:: std :: mem :: offset_of ! (_xmlEnumeration , name) - 8usize] ; } ; # [doc = " Attribute declaration"] pub type xmlAttribute = _xmlAttribute ; pub type xmlAttributePtr = * mut xmlAttribute ; # [doc = " An Attribute declaration in a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttribute { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ATTRIBUTE_DECL"] pub type_ : xmlElementType , # [doc = " attribute name"] pub name : * const xmlChar , # [doc = " NULL"] pub children : * mut _xmlNode , # [doc = " NULL"] pub last : * mut _xmlNode , # [doc = " DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " next in hash table"] pub nexth : * mut _xmlAttribute , # [doc = " attribute type"] pub atype : xmlAttributeType , # [doc = " attribute default"] pub def : xmlAttributeDefault , # [doc = " default value"] pub defaultValue : * mut xmlChar , # [doc = " enumeration tree if any"] pub tree : * mut xmlEnumeration , # [doc = " namespace prefix if any"] pub prefix : * const xmlChar , # [doc = " element name"] pub elem : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlAttribute"] [:: std :: mem :: size_of :: < _xmlAttribute > () - 120usize] ; ["Alignment of _xmlAttribute"] [:: std :: mem :: align_of :: < _xmlAttribute > () - 8usize] ; ["Offset of field: _xmlAttribute::_private"] [:: std :: mem :: offset_of ! (_xmlAttribute , _private) - 0usize] ; ["Offset of field: _xmlAttribute::type_"] [:: std :: mem :: offset_of ! (_xmlAttribute , type_) - 8usize] ; ["Offset of field: _xmlAttribute::name"] [:: std :: mem :: offset_of ! (_xmlAttribute , name) - 16usize] ; ["Offset of field: _xmlAttribute::children"] [:: std :: mem :: offset_of ! (_xmlAttribute , children) - 24usize] ; ["Offset of field: _xmlAttribute::last"] [:: std :: mem :: offset_of ! (_xmlAttribute , last) - 32usize] ; ["Offset of field: _xmlAttribute::parent"] [:: std :: mem :: offset_of ! (_xmlAttribute , parent) - 40usize] ; ["Offset of field: _xmlAttribute::next"] [:: std :: mem :: offset_of ! (_xmlAttribute , next) - 48usize] ; ["Offset of field: _xmlAttribute::prev"] [:: std :: mem :: offset_of ! (_xmlAttribute , prev) - 56usize] ; ["Offset of field: _xmlAttribute::doc"] [:: std :: mem :: offset_of ! (_xmlAttribute , doc) - 64usize] ; ["Offset of field: _xmlAttribute::nexth"] [:: std :: mem :: offset_of ! (_xmlAttribute , nexth) - 72usize] ; ["Offset of field: _xmlAttribute::atype"] [:: std :: mem :: offset_of ! (_xmlAttribute , atype) - 80usize] ; ["Offset of field: _xmlAttribute::def"] [:: std :: mem :: offset_of ! (_xmlAttribute , def) - 84usize] ; ["Offset of field: _xmlAttribute::defaultValue"] [:: std :: mem :: offset_of ! (_xmlAttribute , defaultValue) - 88usize] ; ["Offset of field: _xmlAttribute::tree"] [:: std :: mem :: offset_of ! (_xmlAttribute , tree) - 96usize] ; ["Offset of field: _xmlAttribute::prefix"] [:: std :: mem :: offset_of ! (_xmlAttribute , prefix) - 104usize] ; ["Offset of field: _xmlAttribute::elem"] [:: std :: mem :: offset_of ! (_xmlAttribute , elem) - 112usize] ; } ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_PCDATA : xmlElementContentType = 1 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_ELEMENT : xmlElementContentType = 2 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_SEQ : xmlElementContentType = 3 ; pub const xmlElementContentType_XML_ELEMENT_CONTENT_OR : xmlElementContentType = 4 ; # [doc = " Possible definitions of element content types."] pub type xmlElementContentType = :: std :: os :: raw :: c_uint ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_ONCE : xmlElementContentOccur = 1 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_OPT : xmlElementContentOccur = 2 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_MULT : xmlElementContentOccur = 3 ; pub const xmlElementContentOccur_XML_ELEMENT_CONTENT_PLUS : xmlElementContentOccur = 4 ; # [doc = " Possible definitions of element content occurrences."] pub type xmlElementContentOccur = :: std :: os :: raw :: c_uint ; # [doc = " Element content in element declarations"] pub type xmlElementContent = _xmlElementContent ; pub type xmlElementContentPtr = * mut xmlElementContent ; # [doc = " An XML Element content as stored after parsing an element definition\n in a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlElementContent { # [doc = " PCDATA, ELEMENT, SEQ or OR"] pub type_ : xmlElementContentType , # [doc = " ONCE, OPT, MULT or PLUS"] pub ocur : xmlElementContentOccur , # [doc = " element name"] pub name : * const xmlChar , # [doc = " first child"] pub c1 : * mut _xmlElementContent , # [doc = " second child"] pub c2 : * mut _xmlElementContent , # [doc = " parent"] pub parent : * mut _xmlElementContent , # [doc = " namespace prefix"] pub prefix : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlElementContent"] [:: std :: mem :: size_of :: < _xmlElementContent > () - 48usize] ; ["Alignment of _xmlElementContent"] [:: std :: mem :: align_of :: < _xmlElementContent > () - 8usize] ; ["Offset of field: _xmlElementContent::type_"] [:: std :: mem :: offset_of ! (_xmlElementContent , type_) - 0usize] ; ["Offset of field: _xmlElementContent::ocur"] [:: std :: mem :: offset_of ! (_xmlElementContent , ocur) - 4usize] ; ["Offset of field: _xmlElementContent::name"] [:: std :: mem :: offset_of ! (_xmlElementContent , name) - 8usize] ; ["Offset of field: _xmlElementContent::c1"] [:: std :: mem :: offset_of ! (_xmlElementContent , c1) - 16usize] ; ["Offset of field: _xmlElementContent::c2"] [:: std :: mem :: offset_of ! (_xmlElementContent , c2) - 24usize] ; ["Offset of field: _xmlElementContent::parent"] [:: std :: mem :: offset_of ! (_xmlElementContent , parent) - 32usize] ; ["Offset of field: _xmlElementContent::prefix"] [:: std :: mem :: offset_of ! (_xmlElementContent , prefix) - 40usize] ; } ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_UNDEFINED : xmlElementTypeVal = 0 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_EMPTY : xmlElementTypeVal = 1 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_ANY : xmlElementTypeVal = 2 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_MIXED : xmlElementTypeVal = 3 ; pub const xmlElementTypeVal_XML_ELEMENT_TYPE_ELEMENT : xmlElementTypeVal = 4 ; # [doc = " The different possibilities for an element content type."] pub type xmlElementTypeVal = :: std :: os :: raw :: c_uint ; # [doc = " Element declaration"] pub type xmlElement = _xmlElement ; pub type xmlElementPtr = * mut xmlElement ; # [doc = " An XML Element declaration from a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlElement { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ELEMENT_DECL"] pub type_ : xmlElementType , # [doc = " element name"] pub name : * const xmlChar , # [doc = " NULL"] pub children : * mut _xmlNode , # [doc = " NULL"] pub last : * mut _xmlNode , # [doc = " -> DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " element type"] pub etype : xmlElementTypeVal , # [doc = " allowed element content"] pub content : * mut xmlElementContent , # [doc = " list of declared attributes"] pub attributes : * mut xmlAttribute , # [doc = " namespace prefix if any"] pub prefix : * const xmlChar , # [doc = " validating regexp"] pub contModel : * mut xmlRegexp , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlElement"] [:: std :: mem :: size_of :: < _xmlElement > () - 112usize] ; ["Alignment of _xmlElement"] [:: std :: mem :: align_of :: < _xmlElement > () - 8usize] ; ["Offset of field: _xmlElement::_private"] [:: std :: mem :: offset_of ! (_xmlElement , _private) - 0usize] ; ["Offset of field: _xmlElement::type_"] [:: std :: mem :: offset_of ! (_xmlElement , type_) - 8usize] ; ["Offset of field: _xmlElement::name"] [:: std :: mem :: offset_of ! (_xmlElement , name) - 16usize] ; ["Offset of field: _xmlElement::children"] [:: std :: mem :: offset_of ! (_xmlElement , children) - 24usize] ; ["Offset of field: _xmlElement::last"] [:: std :: mem :: offset_of ! (_xmlElement , last) - 32usize] ; ["Offset of field: _xmlElement::parent"] [:: std :: mem :: offset_of ! (_xmlElement , parent) - 40usize] ; ["Offset of field: _xmlElement::next"] [:: std :: mem :: offset_of ! (_xmlElement , next) - 48usize] ; ["Offset of field: _xmlElement::prev"] [:: std :: mem :: offset_of ! (_xmlElement , prev) - 56usize] ; ["Offset of field: _xmlElement::doc"] [:: std :: mem :: offset_of ! (_xmlElement , doc) - 64usize] ; ["Offset of field: _xmlElement::etype"] [:: std :: mem :: offset_of ! (_xmlElement , etype) - 72usize] ; ["Offset of field: _xmlElement::content"] [:: std :: mem :: offset_of ! (_xmlElement , content) - 80usize] ; ["Offset of field: _xmlElement::attributes"] [:: std :: mem :: offset_of ! (_xmlElement , attributes) - 88usize] ; ["Offset of field: _xmlElement::prefix"] [:: std :: mem :: offset_of ! (_xmlElement , prefix) - 96usize] ; ["Offset of field: _xmlElement::contModel"] [:: std :: mem :: offset_of ! (_xmlElement , contModel) - 104usize] ; } ; # [doc = " The different element types carried by an XML tree.\n\n NOTE: This is synchronized with DOM Level 1 values.\n       See http://www.w3.org/TR/REC-DOM-Level-1/\n\n Actually this had diverged a bit, and XML_DTD_NODE is used instead\n of XML_DOCUMENT_TYPE_NODE."] pub use self :: xmlElementType as xmlNsType ; # [doc = " Namespace declaration"] pub type xmlNs = _xmlNs ; pub type xmlNsPtr = * mut xmlNs ; # [doc = " An XML namespace.\n Note that prefix == NULL is valid, it defines the default namespace\n within the subtree (until overridden).\n\n xmlNsType is unified with xmlElementType.\n\n Note that the XPath engine returns XPath namespace nodes as\n xmlNs cast to xmlNode. This is a terrible design decision that\n can easily cause type confusion errors. In this case, the `next`\n member points to the xmlNode element to which the namespace\n node belongs."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNs { # [doc = " next namespace"] pub next : * mut _xmlNs , # [doc = " XML_NAMESPACE_DECL"] pub type_ : xmlNsType , # [doc = " namespace URI"] pub href : * const xmlChar , # [doc = " namespace prefix"] pub prefix : * const xmlChar , # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " normally an xmlDoc"] pub context : * mut _xmlDoc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNs"] [:: std :: mem :: size_of :: < _xmlNs > () - 48usize] ; ["Alignment of _xmlNs"] [:: std :: mem :: align_of :: < _xmlNs > () - 8usize] ; ["Offset of field: _xmlNs::next"] [:: std :: mem :: offset_of ! (_xmlNs , next) - 0usize] ; ["Offset of field: _xmlNs::type_"] [:: std :: mem :: offset_of ! (_xmlNs , type_) - 8usize] ; ["Offset of field: _xmlNs::href"] [:: std :: mem :: offset_of ! (_xmlNs , href) - 16usize] ; ["Offset of field: _xmlNs::prefix"] [:: std :: mem :: offset_of ! (_xmlNs , prefix) - 24usize] ; ["Offset of field: _xmlNs::_private"] [:: std :: mem :: offset_of ! (_xmlNs , _private) - 32usize] ; ["Offset of field: _xmlNs::context"] [:: std :: mem :: offset_of ! (_xmlNs , context) - 40usize] ; } ; # [doc = " Document type definition (DTD)"] pub type xmlDtd = _xmlDtd ; pub type xmlDtdPtr = * mut xmlDtd ; # [doc = " An XML DTD, as defined by <!DOCTYPE ... There is actually one for\n the internal subset and for the external subset.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDtd { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_DTD_NODE"] pub type_ : xmlElementType , # [doc = " name of the DTD"] pub name : * const xmlChar , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlDoc , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " hash table for notations if any"] pub notations : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for elements if any"] pub elements : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for attributes if any"] pub attributes : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for entities if any"] pub entities : * mut :: std :: os :: raw :: c_void , # [doc = " public identifier"] pub ExternalID : * mut xmlChar , # [doc = " system identifier"] pub SystemID : * mut xmlChar , # [doc = " hash table for parameter entities if any"] pub pentities : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDtd"] [:: std :: mem :: size_of :: < _xmlDtd > () - 128usize] ; ["Alignment of _xmlDtd"] [:: std :: mem :: align_of :: < _xmlDtd > () - 8usize] ; ["Offset of field: _xmlDtd::_private"] [:: std :: mem :: offset_of ! (_xmlDtd , _private) - 0usize] ; ["Offset of field: _xmlDtd::type_"] [:: std :: mem :: offset_of ! (_xmlDtd , type_) - 8usize] ; ["Offset of field: _xmlDtd::name"] [:: std :: mem :: offset_of ! (_xmlDtd , name) - 16usize] ; ["Offset of field: _xmlDtd::children"] [:: std :: mem :: offset_of ! (_xmlDtd , children) - 24usize] ; ["Offset of field: _xmlDtd::last"] [:: std :: mem :: offset_of ! (_xmlDtd , last) - 32usize] ; ["Offset of field: _xmlDtd::parent"] [:: std :: mem :: offset_of ! (_xmlDtd , parent) - 40usize] ; ["Offset of field: _xmlDtd::next"] [:: std :: mem :: offset_of ! (_xmlDtd , next) - 48usize] ; ["Offset of field: _xmlDtd::prev"] [:: std :: mem :: offset_of ! (_xmlDtd , prev) - 56usize] ; ["Offset of field: _xmlDtd::doc"] [:: std :: mem :: offset_of ! (_xmlDtd , doc) - 64usize] ; ["Offset of field: _xmlDtd::notations"] [:: std :: mem :: offset_of ! (_xmlDtd , notations) - 72usize] ; ["Offset of field: _xmlDtd::elements"] [:: std :: mem :: offset_of ! (_xmlDtd , elements) - 80usize] ; ["Offset of field: _xmlDtd::attributes"] [:: std :: mem :: offset_of ! (_xmlDtd , attributes) - 88usize] ; ["Offset of field: _xmlDtd::entities"] [:: std :: mem :: offset_of ! (_xmlDtd , entities) - 96usize] ; ["Offset of field: _xmlDtd::ExternalID"] [:: std :: mem :: offset_of ! (_xmlDtd , ExternalID) - 104usize] ; ["Offset of field: _xmlDtd::SystemID"] [:: std :: mem :: offset_of ! (_xmlDtd , SystemID) - 112usize] ; ["Offset of field: _xmlDtd::pentities"] [:: std :: mem :: offset_of ! (_xmlDtd , pentities) - 120usize] ; } ; # [doc = " Attribute of an element"] pub type xmlAttr = _xmlAttr ; pub type xmlAttrPtr = * mut xmlAttr ; # [doc = " An attribute of element."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttr { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ATTRIBUTE_NODE"] pub type_ : xmlElementType , # [doc = " local name"] pub name : * const xmlChar , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlNode , # [doc = " next sibling"] pub next : * mut _xmlAttr , # [doc = " previous sibling"] pub prev : * mut _xmlAttr , # [doc = " containing document"] pub doc : * mut _xmlDoc , # [doc = " namespace if any"] pub ns : * mut xmlNs , # [doc = " attribute type if validating"] pub atype : xmlAttributeType , # [doc = " for type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " ID struct if any"] pub id : * mut _xmlID , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlAttr"] [:: std :: mem :: size_of :: < _xmlAttr > () - 104usize] ; ["Alignment of _xmlAttr"] [:: std :: mem :: align_of :: < _xmlAttr > () - 8usize] ; ["Offset of field: _xmlAttr::_private"] [:: std :: mem :: offset_of ! (_xmlAttr , _private) - 0usize] ; ["Offset of field: _xmlAttr::type_"] [:: std :: mem :: offset_of ! (_xmlAttr , type_) - 8usize] ; ["Offset of field: _xmlAttr::name"] [:: std :: mem :: offset_of ! (_xmlAttr , name) - 16usize] ; ["Offset of field: _xmlAttr::children"] [:: std :: mem :: offset_of ! (_xmlAttr , children) - 24usize] ; ["Offset of field: _xmlAttr::last"] [:: std :: mem :: offset_of ! (_xmlAttr , last) - 32usize] ; ["Offset of field: _xmlAttr::parent"] [:: std :: mem :: offset_of ! (_xmlAttr , parent) - 40usize] ; ["Offset of field: _xmlAttr::next"] [:: std :: mem :: offset_of ! (_xmlAttr , next) - 48usize] ; ["Offset of field: _xmlAttr::prev"] [:: std :: mem :: offset_of ! (_xmlAttr , prev) - 56usize] ; ["Offset of field: _xmlAttr::doc"] [:: std :: mem :: offset_of ! (_xmlAttr , doc) - 64usize] ; ["Offset of field: _xmlAttr::ns"] [:: std :: mem :: offset_of ! (_xmlAttr , ns) - 72usize] ; ["Offset of field: _xmlAttr::atype"] [:: std :: mem :: offset_of ! (_xmlAttr , atype) - 80usize] ; ["Offset of field: _xmlAttr::psvi"] [:: std :: mem :: offset_of ! (_xmlAttr , psvi) - 88usize] ; ["Offset of field: _xmlAttr::id"] [:: std :: mem :: offset_of ! (_xmlAttr , id) - 96usize] ; } ; # [doc = " Extra data for ID attributes"] pub type xmlID = _xmlID ; pub type xmlIDPtr = * mut xmlID ; # [doc = " An XML ID instance.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlID { pub next : * mut _xmlID , pub value : * mut xmlChar , pub attr : * mut xmlAttr , pub name : * const xmlChar , pub lineno : :: std :: os :: raw :: c_int , pub doc : * mut _xmlDoc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlID"] [:: std :: mem :: size_of :: < _xmlID > () - 48usize] ; ["Alignment of _xmlID"] [:: std :: mem :: align_of :: < _xmlID > () - 8usize] ; ["Offset of field: _xmlID::next"] [:: std :: mem :: offset_of ! (_xmlID , next) - 0usize] ; ["Offset of field: _xmlID::value"] [:: std :: mem :: offset_of ! (_xmlID , value) - 8usize] ; ["Offset of field: _xmlID::attr"] [:: std :: mem :: offset_of ! (_xmlID , attr) - 16usize] ; ["Offset of field: _xmlID::name"] [:: std :: mem :: offset_of ! (_xmlID , name) - 24usize] ; ["Offset of field: _xmlID::lineno"] [:: std :: mem :: offset_of ! (_xmlID , lineno) - 32usize] ; ["Offset of field: _xmlID::doc"] [:: std :: mem :: offset_of ! (_xmlID , doc) - 40usize] ; } ; # [doc = " @cond ignore"] pub type xmlRef = _xmlRef ; pub type xmlRefPtr = * mut xmlRef ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRef { pub next : * mut _xmlRef , pub value : * const xmlChar , pub attr : * mut xmlAttr , pub name : * const xmlChar , pub lineno : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlRef"] [:: std :: mem :: size_of :: < _xmlRef > () - 40usize] ; ["Alignment of _xmlRef"] [:: std :: mem :: align_of :: < _xmlRef > () - 8usize] ; ["Offset of field: _xmlRef::next"] [:: std :: mem :: offset_of ! (_xmlRef , next) - 0usize] ; ["Offset of field: _xmlRef::value"] [:: std :: mem :: offset_of ! (_xmlRef , value) - 8usize] ; ["Offset of field: _xmlRef::attr"] [:: std :: mem :: offset_of ! (_xmlRef , attr) - 16usize] ; ["Offset of field: _xmlRef::name"] [:: std :: mem :: offset_of ! (_xmlRef , name) - 24usize] ; ["Offset of field: _xmlRef::lineno"] [:: std :: mem :: offset_of ! (_xmlRef , lineno) - 32usize] ; } ; # [doc = " Generic node type in an XML or HTML tree"] pub type xmlNode = _xmlNode ; pub type xmlNodePtr = * mut xmlNode ; # [doc = " Generic node type in an XML or HTML tree.\n\n This is used for\n\n - XML_ELEMENT_NODE\n - XML_TEXT_NODE\n - XML_CDATA_SECTION_NODE\n - XML_ENTITY_REF_NODE\n - XML_PI_NODE\n - XML_COMMENT_NODE\n - XML_DOCUMENT_FRAG_NODE\n - XML_XINCLUDE_START_NODE\n - XML_XINCLUDE_END_NODE\n\n Other node types have a different struct layout than xmlNode,\n see xmlElementType. Except for XML_NAMESPACE_DECL all nodes\n share the following members at the same offset:\n\n - `_private`\n - `type` (also for XML_NAMESPACE_DECL)\n - `name`\n - `children`\n - `last`\n - `parent`\n - `next`\n - `prev`\n - `doc`\n\n xmlNode and xmlAttr also share the `ns` member."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlNode { # [doc = " Application data. Often used by language bindings."] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " Type enum, an xmlElementType value"] pub type_ : xmlElementType , # [doc = " Name of the node.\n\n - Local name of elements or attributes. As a corner case,\n   this can also contain Names which are invalid QNames in\n   non-namespace-wellformed documents.\n - Name of entity references\n - Target of processing instructions\n - Fixed string for text and comments\n - Unused otherwise"] pub name : * const xmlChar , # [doc = " First child. Entity declaration of entity references."] pub children : * mut _xmlNode , # [doc = " Last child"] pub last : * mut _xmlNode , # [doc = " Parent node. NULL for documents or unlinked root nodes."] pub parent : * mut _xmlNode , # [doc = " Next sibling"] pub next : * mut _xmlNode , # [doc = " Previous sibling"] pub prev : * mut _xmlNode , # [doc = " Associated document.\n\n Used to access DTDs, entities, ID tables, dictionary or\n other document properties. All children of a node share the\n same document."] pub doc : * mut _xmlDoc , # [doc = " Namespace of element if any"] pub ns : * mut xmlNs , # [doc = " Content of text, comment, PI nodes.\n\n Sort index for elements after calling #xmlXPathOrderDocElems.\n Content of internal entities for entity references."] pub content : * mut xmlChar , # [doc = " First attribute of element.\n\n Also used to store small strings with XML_PARSE_COMPACT."] pub properties : * mut _xmlAttr , # [doc = " First namespace definition of element"] pub nsDef : * mut xmlNs , # [doc = " For type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " Line number"] pub line : :: std :: os :: raw :: c_ushort , # [doc = " Extra data for XPath/XSLT"] pub extra : :: std :: os :: raw :: c_ushort , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlNode"] [:: std :: mem :: size_of :: < _xmlNode > () - 120usize] ; ["Alignment of _xmlNode"] [:: std :: mem :: align_of :: < _xmlNode > () - 8usize] ; ["Offset of field: _xmlNode::_private"] [:: std :: mem :: offset_of ! (_xmlNode , _private) - 0usize] ; ["Offset of field: _xmlNode::type_"] [:: std :: mem :: offset_of ! (_xmlNode , type_) - 8usize] ; ["Offset of field: _xmlNode::name"] [:: std :: mem :: offset_of ! (_xmlNode , name) - 16usize] ; ["Offset of field: _xmlNode::children"] [:: std :: mem :: offset_of ! (_xmlNode , children) - 24usize] ; ["Offset of field: _xmlNode::last"] [:: std :: mem :: offset_of ! (_xmlNode , last) - 32usize] ; ["Offset of field: _xmlNode::parent"] [:: std :: mem :: offset_of ! (_xmlNode , parent) - 40usize] ; ["Offset of field: _xmlNode::next"] [:: std :: mem :: offset_of ! (_xmlNode , next) - 48usize] ; ["Offset of field: _xmlNode::prev"] [:: std :: mem :: offset_of ! (_xmlNode , prev) - 56usize] ; ["Offset of field: _xmlNode::doc"] [:: std :: mem :: offset_of ! (_xmlNode , doc) - 64usize] ; ["Offset of field: _xmlNode::ns"] [:: std :: mem :: offset_of ! (_xmlNode , ns) - 72usize] ; ["Offset of field: _xmlNode::content"] [:: std :: mem :: offset_of ! (_xmlNode , content) - 80usize] ; ["Offset of field: _xmlNode::properties"] [:: std :: mem :: offset_of ! (_xmlNode , properties) - 88usize] ; ["Offset of field: _xmlNode::nsDef"] [:: std :: mem :: offset_of ! (_xmlNode , nsDef) - 96usize] ; ["Offset of field: _xmlNode::psvi"] [:: std :: mem :: offset_of ! (_xmlNode , psvi) - 104usize] ; ["Offset of field: _xmlNode::line"] [:: std :: mem :: offset_of ! (_xmlNode , line) - 112usize] ; ["Offset of field: _xmlNode::extra"] [:: std :: mem :: offset_of ! (_xmlNode , extra) - 114usize] ; } ; # [doc = " document is XML well formed"] pub const xmlDocProperties_XML_DOC_WELLFORMED : xmlDocProperties = 1 ; # [doc = " document is Namespace valid"] pub const xmlDocProperties_XML_DOC_NSVALID : xmlDocProperties = 2 ; # [doc = " parsed with old XML-1.0 parser"] pub const xmlDocProperties_XML_DOC_OLD10 : xmlDocProperties = 4 ; # [doc = " DTD validation was successful"] pub const xmlDocProperties_XML_DOC_DTDVALID : xmlDocProperties = 8 ; # [doc = " XInclude substitution was done"] pub const xmlDocProperties_XML_DOC_XINCLUDE : xmlDocProperties = 16 ; # [doc = " Document was built using the API and not by parsing an instance"] pub const xmlDocProperties_XML_DOC_USERBUILT : xmlDocProperties = 32 ; # [doc = " built for internal processing"] pub const xmlDocProperties_XML_DOC_INTERNAL : xmlDocProperties = 64 ; # [doc = " parsed or built HTML document"] pub const xmlDocProperties_XML_DOC_HTML : xmlDocProperties = 128 ; # [doc = " Set of properties of the document as found by the parser.\n Some of them are linked to similarly named xmlParserOption."] pub type xmlDocProperties = :: std :: os :: raw :: c_uint ; # [doc = " XML or HTML document"] pub type xmlDoc = _xmlDoc ; pub type xmlDocPtr = * mut xmlDoc ; # [doc = " An XML or HTML document."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDoc { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_DOCUMENT_NODE or XML_HTML_DOCUMENT_NODE"] pub type_ : xmlElementType , # [doc = " NULL"] pub name : * mut :: std :: os :: raw :: c_char , # [doc = " first child"] pub children : * mut _xmlNode , # [doc = " last child"] pub last : * mut _xmlNode , # [doc = " parent node"] pub parent : * mut _xmlNode , # [doc = " next sibling"] pub next : * mut _xmlNode , # [doc = " previous sibling"] pub prev : * mut _xmlNode , # [doc = " reference to itself"] pub doc : * mut _xmlDoc , # [doc = " level of zlib compression"] pub compression : :: std :: os :: raw :: c_int , # [doc = " standalone document (no external refs)\n\n - 1 if standalone=\"yes\",\n - 0 if standalone=\"no\",\n - -1 if there is no XML declaration,\n - -2 if there is an XML declaration, but no\n   standalone attribute was specified"] pub standalone : :: std :: os :: raw :: c_int , # [doc = " internal subset"] pub intSubset : * mut _xmlDtd , # [doc = " external subset"] pub extSubset : * mut _xmlDtd , # [doc = " used to hold the XML namespace if needed"] pub oldNs : * mut _xmlNs , # [doc = " version string from XML declaration"] pub version : * mut xmlChar , # [doc = " actual encoding if any"] pub encoding : * mut xmlChar , # [doc = " hash table for ID attributes if any"] pub ids : * mut :: std :: os :: raw :: c_void , # [doc = " hash table for IDREFs attributes if any"] pub refs : * mut :: std :: os :: raw :: c_void , # [doc = " URI of the document"] pub URL : * mut xmlChar , # [doc = " unused"] pub charset : :: std :: os :: raw :: c_int , # [doc = " dict used to allocate names if any"] pub dict : * mut _xmlDict , # [doc = " for type/PSVI information"] pub psvi : * mut :: std :: os :: raw :: c_void , # [doc = " xmlParserOption enum used to parse the document"] pub parseFlags : :: std :: os :: raw :: c_int , # [doc = " xmlDocProperties of the document"] pub properties : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDoc"] [:: std :: mem :: size_of :: < _xmlDoc > () - 176usize] ; ["Alignment of _xmlDoc"] [:: std :: mem :: align_of :: < _xmlDoc > () - 8usize] ; ["Offset of field: _xmlDoc::_private"] [:: std :: mem :: offset_of ! (_xmlDoc , _private) - 0usize] ; ["Offset of field: _xmlDoc::type_"] [:: std :: mem :: offset_of ! (_xmlDoc , type_) - 8usize] ; ["Offset of field: _xmlDoc::name"] [:: std :: mem :: offset_of ! (_xmlDoc , name) - 16usize] ; ["Offset of field: _xmlDoc::children"] [:: std :: mem :: offset_of ! (_xmlDoc , children) - 24usize] ; ["Offset of field: _xmlDoc::last"] [:: std :: mem :: offset_of ! (_xmlDoc , last) - 32usize] ; ["Offset of field: _xmlDoc::parent"] [:: std :: mem :: offset_of ! (_xmlDoc , parent) - 40usize] ; ["Offset of field: _xmlDoc::next"] [:: std :: mem :: offset_of ! (_xmlDoc , next) - 48usize] ; ["Offset of field: _xmlDoc::prev"] [:: std :: mem :: offset_of ! (_xmlDoc , prev) - 56usize] ; ["Offset of field: _xmlDoc::doc"] [:: std :: mem :: offset_of ! (_xmlDoc , doc) - 64usize] ; ["Offset of field: _xmlDoc::compression"] [:: std :: mem :: offset_of ! (_xmlDoc , compression) - 72usize] ; ["Offset of field: _xmlDoc::standalone"] [:: std :: mem :: offset_of ! (_xmlDoc , standalone) - 76usize] ; ["Offset of field: _xmlDoc::intSubset"] [:: std :: mem :: offset_of ! (_xmlDoc , intSubset) - 80usize] ; ["Offset of field: _xmlDoc::extSubset"] [:: std :: mem :: offset_of ! (_xmlDoc , extSubset) - 88usize] ; ["Offset of field: _xmlDoc::oldNs"] [:: std :: mem :: offset_of ! (_xmlDoc , oldNs) - 96usize] ; ["Offset of field: _xmlDoc::version"] [:: std :: mem :: offset_of ! (_xmlDoc , version) - 104usize] ; ["Offset of field: _xmlDoc::encoding"] [:: std :: mem :: offset_of ! (_xmlDoc , encoding) - 112usize] ; ["Offset of field: _xmlDoc::ids"] [:: std :: mem :: offset_of ! (_xmlDoc , ids) - 120usize] ; ["Offset of field: _xmlDoc::refs"] [:: std :: mem :: offset_of ! (_xmlDoc , refs) - 128usize] ; ["Offset of field: _xmlDoc::URL"] [:: std :: mem :: offset_of ! (_xmlDoc , URL) - 136usize] ; ["Offset of field: _xmlDoc::charset"] [:: std :: mem :: offset_of ! (_xmlDoc , charset) - 144usize] ; ["Offset of field: _xmlDoc::dict"] [:: std :: mem :: offset_of ! (_xmlDoc , dict) - 152usize] ; ["Offset of field: _xmlDoc::psvi"] [:: std :: mem :: offset_of ! (_xmlDoc , psvi) - 160usize] ; ["Offset of field: _xmlDoc::parseFlags"] [:: std :: mem :: offset_of ! (_xmlDoc , parseFlags) - 168usize] ; ["Offset of field: _xmlDoc::properties"] [:: std :: mem :: offset_of ! (_xmlDoc , properties) - 172usize] ; } ; # [doc = " Context for DOM wrapper operations"] pub type xmlDOMWrapCtxt = _xmlDOMWrapCtxt ; pub type xmlDOMWrapCtxtPtr = * mut xmlDOMWrapCtxt ; # [doc = " A function called to acquire namespaces (xmlNs) from the wrapper.\n\n @param ctxt  a DOM wrapper context\n @param node  the context node (element or attribute)\n @param nsName  the requested namespace name\n @param nsPrefix  the requested namespace prefix\n @returns an xmlNs or NULL in case of an error."] pub type xmlDOMWrapAcquireNsFunction = :: std :: option :: Option < unsafe extern "C" fn (ctxt : * mut xmlDOMWrapCtxt , node : * mut xmlNode , nsName : * const xmlChar , nsPrefix : * const xmlChar) -> * mut xmlNs > ; # [doc = " Context for DOM wrapper-operations."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDOMWrapCtxt { pub _private : * mut :: std :: os :: raw :: c_void , pub type_ : :: std :: os :: raw :: c_int , pub namespaceMap : * mut :: std :: os :: raw :: c_void , pub getNsForNodeFunc : xmlDOMWrapAcquireNsFunction , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlDOMWrapCtxt"] [:: std :: mem :: size_of :: < _xmlDOMWrapCtxt > () - 32usize] ; ["Alignment of _xmlDOMWrapCtxt"] [:: std :: mem :: align_of :: < _xmlDOMWrapCtxt > () - 8usize] ; ["Offset of field: _xmlDOMWrapCtxt::_private"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , _private) - 0usize] ; ["Offset of field: _xmlDOMWrapCtxt::type_"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , type_) - 8usize] ; ["Offset of field: _xmlDOMWrapCtxt::namespaceMap"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , namespaceMap) - 16usize] ; ["Offset of field: _xmlDOMWrapCtxt::getNsForNodeFunc"] [:: std :: mem :: offset_of ! (_xmlDOMWrapCtxt , getNsForNodeFunc) - 24usize] ; } ; # [doc = " Signature for the registration callback of a created node\n\n @param node  the current node"] pub type xmlRegisterNodeFunc = :: std :: option :: Option < unsafe extern "C" fn (node : * mut xmlNode) > ; # [doc = " Signature for the deregistration callback of a discarded node\n\n @param node  the current node"] pub type xmlDeregisterNodeFunc = :: std :: option :: Option < unsafe extern "C" fn (node : * mut xmlNode) > ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlRegisterNodeDefaultValue () -> * mut xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn __xmlDeregisterNodeDefaultValue () -> * mut xmlDeregisterNodeFunc ; } unsafe extern "C" { # [doc = " @endcond"] pub fn xmlValidateNCName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateQName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateName (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNMToken (value : * const xmlChar , space : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBuildQName (ncname : * const xmlChar , prefix : * const xmlChar , memory : * mut xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSplitQName2 (name : * const xmlChar , prefix : * mut * mut xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSplitQName3 (name : * const xmlChar , len : * mut :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCreateIntSubset (doc : * mut xmlDoc , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlNewDtd (doc : * mut xmlDoc , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlGetIntSubset (doc : * const xmlDoc) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlFreeDtd (cur : * mut xmlDtd) ; } unsafe extern "C" { pub fn xmlNewNs (node : * mut xmlNode , href : * const xmlChar , prefix : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlFreeNs (cur : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlFreeNsList (cur : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlNewDoc (version : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlFreeDoc (cur : * mut xmlDoc) ; } unsafe extern "C" { pub fn xmlNewDocProp (doc : * mut xmlDoc , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewProp (node : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNewNsPropEatName (node : * mut xmlNode , ns : * mut xmlNs , name : * mut xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlFreePropList (cur : * mut xmlAttr) ; } unsafe extern "C" { pub fn xmlFreeProp (cur : * mut xmlAttr) ; } unsafe extern "C" { pub fn xmlCopyProp (target : * mut xmlNode , cur : * mut xmlAttr) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlCopyPropList (target : * mut xmlNode , cur : * mut xmlAttr) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlCopyDtd (dtd : * mut xmlDtd) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlCopyDoc (doc : * mut xmlDoc , recursive : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlNewDocNode (doc : * mut xmlDoc , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocNodeEatName (doc : * mut xmlDoc , ns : * mut xmlNs , name : * mut xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewNode (ns : * mut xmlNs , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewNodeEatName (ns : * mut xmlNs , name : * mut xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewChild (parent : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocText (doc : * const xmlDoc , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewText (content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocPI (doc : * mut xmlDoc , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewPI (name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocTextLen (doc : * mut xmlDoc , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewTextLen (content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocComment (doc : * mut xmlDoc , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewComment (content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewCDataBlock (doc : * mut xmlDoc , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewCharRef (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewReference (doc : * const xmlDoc , name : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCopyNode (node : * mut xmlNode , recursive : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlDocCopyNode (node : * mut xmlNode , doc : * mut xmlDoc , recursive : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlDocCopyNodeList (doc : * mut xmlDoc , node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCopyNodeList (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewTextChild (parent : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocRawNode (doc : * mut xmlDoc , ns : * mut xmlNs , name : * const xmlChar , content : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNewDocFragment (doc : * mut xmlDoc) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlGetLineNo (node : * const xmlNode) -> :: std :: os :: raw :: c_long ; } unsafe extern "C" { pub fn xmlGetNodePath (node : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlDocGetRootElement (doc : * const xmlDoc) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlGetLastChild (parent : * const xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeIsText (node : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsBlankNode (node : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocSetRootElement (doc : * mut xmlDoc , root : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeSetName (cur : * mut xmlNode , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlAddChild (parent : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddChildList (parent : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlReplaceNode (old : * mut xmlNode , cur : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddPrevSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlAddNextSibling (cur : * mut xmlNode , elem : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlUnlinkNode (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlTextMerge (first : * mut xmlNode , second : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlTextConcat (node : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFreeNodeList (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlFreeNode (cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlSetTreeDoc (tree : * mut xmlNode , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetListDoc (list : * mut xmlNode , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSearchNs (doc : * mut xmlDoc , node : * mut xmlNode , nameSpace : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlSearchNsByHref (doc : * mut xmlDoc , node : * mut xmlNode , href : * const xmlChar) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlGetNsListSafe (doc : * const xmlDoc , node : * const xmlNode , out : * mut * mut * mut xmlNs) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetNsList (doc : * const xmlDoc , node : * const xmlNode) -> * mut * mut xmlNs ; } unsafe extern "C" { pub fn xmlSetNs (node : * mut xmlNode , ns : * mut xmlNs) ; } unsafe extern "C" { pub fn xmlCopyNamespace (cur : * mut xmlNs) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlCopyNamespaceList (cur : * mut xmlNs) -> * mut xmlNs ; } unsafe extern "C" { pub fn xmlSetProp (node : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlSetNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar , value : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlNodeGetAttrValue (node : * const xmlNode , name : * const xmlChar , nsUri : * const xmlChar , out : * mut * mut xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetNoNsProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlGetProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlHasProp (node : * const xmlNode , name : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlHasNsProp (node : * const xmlNode , name : * const xmlChar , nameSpace : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlGetNsProp (node : * const xmlNode , name : * const xmlChar , nameSpace : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlStringGetNodeList (doc : * const xmlDoc , value : * const xmlChar) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlStringLenGetNodeList (doc : * const xmlDoc , value : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlNodeListGetString (doc : * mut xmlDoc , list : * const xmlNode , inLine : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeListGetRawString (doc : * const xmlDoc , list : * const xmlNode , inLine : :: std :: os :: raw :: c_int) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeSetContent (cur : * mut xmlNode , content : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetContentLen (cur : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeAddContent (cur : * mut xmlNode , content : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeAddContentLen (cur : * mut xmlNode , content : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetContent (cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeBufGetContent (buffer : * mut xmlBuffer , cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufGetNodeContent (buf : * mut xmlBuf , cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetLang (cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeGetSpacePreserve (cur : * const xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetLang (cur : * mut xmlNode , lang : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeSetSpacePreserve (cur : * mut xmlNode , val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetBaseSafe (doc : * const xmlDoc , cur : * const xmlNode , baseOut : * mut * mut xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeGetBase (doc : * const xmlDoc , cur : * const xmlNode) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlNodeSetBase (cur : * mut xmlNode , uri : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveProp (cur : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUnsetNsProp (node : * mut xmlNode , ns : * mut xmlNs , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUnsetProp (node : * mut xmlNode , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAttrSerializeTxtContent (buf : * mut xmlBuffer , doc : * mut xmlDoc , attr : * mut xmlAttr , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlReconciliateNs (doc : * mut xmlDoc , tree : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocDumpFormatMemory (cur : * mut xmlDoc , mem : * mut * mut xmlChar , size : * mut :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocDumpMemory (cur : * mut xmlDoc , mem : * mut * mut xmlChar , size : * mut :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocDumpMemoryEnc (out_doc : * mut xmlDoc , doc_txt_ptr : * mut * mut xmlChar , doc_txt_len : * mut :: std :: os :: raw :: c_int , txt_encoding : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlDocDumpFormatMemoryEnc (out_doc : * mut xmlDoc , doc_txt_ptr : * mut * mut xmlChar , doc_txt_len : * mut :: std :: os :: raw :: c_int , txt_encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDocFormatDump (f : * mut FILE , cur : * mut xmlDoc , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDocDump (f : * mut FILE , cur : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlElemDump (f : * mut FILE , doc : * mut xmlDoc , cur : * mut xmlNode) ; } unsafe extern "C" { pub fn xmlSaveFile (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFormatFile (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufNodeDump (buf : * mut xmlBuf , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> usize ; } unsafe extern "C" { pub fn xmlNodeDump (buf : * mut xmlBuffer , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFileTo (buf : * mut xmlOutputBuffer , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFormatFileTo (buf : * mut xmlOutputBuffer , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNodeDumpOutput (buf : * mut xmlOutputBuffer , doc : * mut xmlDoc , cur : * mut xmlNode , level : :: std :: os :: raw :: c_int , format : :: std :: os :: raw :: c_int , encoding : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlSaveFormatFileEnc (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char , format : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSaveFileEnc (filename : * const :: std :: os :: raw :: c_char , cur : * mut xmlDoc , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsXHTML (systemID : * const xmlChar , publicID : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetDocCompressMode (doc : * const xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetDocCompressMode (doc : * mut xmlDoc , mode : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlGetCompressMode () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSetCompressMode (mode : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlDOMWrapNewCtxt () -> * mut xmlDOMWrapCtxt ; } unsafe extern "C" { pub fn xmlDOMWrapFreeCtxt (ctxt : * mut xmlDOMWrapCtxt) ; } unsafe extern "C" { pub fn xmlDOMWrapReconcileNamespaces (ctxt : * mut xmlDOMWrapCtxt , elem : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapAdoptNode (ctxt : * mut xmlDOMWrapCtxt , sourceDoc : * mut xmlDoc , node : * mut xmlNode , destDoc : * mut xmlDoc , destParent : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapRemoveNode (ctxt : * mut xmlDOMWrapCtxt , doc : * mut xmlDoc , node : * mut xmlNode , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDOMWrapCloneNode (ctxt : * mut xmlDOMWrapCtxt , sourceDoc : * mut xmlDoc , node : * mut xmlNode , clonedNode : * mut * mut xmlNode , destDoc : * mut xmlDoc , destParent : * mut xmlNode , deep : :: std :: os :: raw :: c_int , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlChildElementCount (parent : * mut xmlNode) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlNextElementSibling (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlFirstElementChild (parent : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlLastElementChild (parent : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlPreviousElementSibling (node : * mut xmlNode) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlRegisterNodeDefault (func : xmlRegisterNodeFunc) -> xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn xmlDeregisterNodeDefault (func : xmlDeregisterNodeFunc) -> xmlDeregisterNodeFunc ; } unsafe extern "C" { pub fn xmlThrDefRegisterNodeDefault (func : xmlRegisterNodeFunc) -> xmlRegisterNodeFunc ; } unsafe extern "C" { pub fn xmlThrDefDeregisterNodeDefault (func : xmlDeregisterNodeFunc) -> xmlDeregisterNodeFunc ; } unsafe extern "C" { pub fn xmlSetBufferAllocationScheme (scheme : xmlBufferAllocationScheme) ; } unsafe extern "C" { pub fn xmlGetBufferAllocationScheme () -> xmlBufferAllocationScheme ; } unsafe extern "C" { pub fn xmlBufferCreate () -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferCreateSize (size : usize) -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferCreateStatic (mem : * mut :: std :: os :: raw :: c_void , size : usize) -> * mut xmlBuffer ; } unsafe extern "C" { pub fn xmlBufferResize (buf : * mut xmlBuffer , size : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferFree (buf : * mut xmlBuffer) ; } unsafe extern "C" { pub fn xmlBufferDump (file : * mut FILE , buf : * mut xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferAdd (buf : * mut xmlBuffer , str_ : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferAddHead (buf : * mut xmlBuffer , str_ : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferCat (buf : * mut xmlBuffer , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferCCat (buf : * mut xmlBuffer , str_ : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferShrink (buf : * mut xmlBuffer , len : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferGrow (buf : * mut xmlBuffer , len : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferEmpty (buf : * mut xmlBuffer) ; } unsafe extern "C" { pub fn xmlBufferContent (buf : * const xmlBuffer) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlBufferDetach (buf : * mut xmlBuffer) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufferSetAllocationScheme (buf : * mut xmlBuffer , scheme : xmlBufferAllocationScheme) ; } unsafe extern "C" { pub fn xmlBufferLength (buf : * const xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlBufferWriteCHAR (buf : * mut xmlBuffer , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlBufferWriteChar (buf : * mut xmlBuffer , string : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlBufferWriteQuotedString (buf : * mut xmlBuffer , string : * const xmlChar) ; } unsafe extern "C" { pub fn xmlBufContent (buf : * const xmlBuf) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufEnd (buf : * mut xmlBuf) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlBufUse (buf : * mut xmlBuf) -> usize ; } unsafe extern "C" { pub fn xmlBufShrink (buf : * mut xmlBuf , len : usize) -> usize ; } pub type wchar_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [repr (align (16))] # [derive (Debug , Copy , Clone)] pub struct max_align_t { pub __clang_max_align_nonce1 : :: std :: os :: raw :: c_longlong , pub __bindgen_padding_0 : u64 , pub __clang_max_align_nonce2 : u128 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of max_align_t"] [:: std :: mem :: size_of :: < max_align_t > () - 32usize] ; ["Alignment of max_align_t"] [:: std :: mem :: align_of :: < max_align_t > () - 16usize] ; ["Offset of field: max_align_t::__clang_max_align_nonce1"] [:: std :: mem :: offset_of ! (max_align_t , __clang_max_align_nonce1) - 0usize] ; ["Offset of field: max_align_t::__clang_max_align_nonce2"] [:: std :: mem :: offset_of ! (max_align_t , __clang_max_align_nonce2) - 16usize] ; } ; # [doc = " Dictionary (pool for interned strings)"] pub type xmlDict = _xmlDict ; pub type xmlDictPtr = * mut xmlDict ; unsafe extern "C" { pub fn xmlInitializeDict () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictCreate () -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlDictSetLimit (dict : * mut xmlDict , limit : usize) -> usize ; } unsafe extern "C" { pub fn xmlDictGetUsage (dict : * mut xmlDict) -> usize ; } unsafe extern "C" { pub fn xmlDictCreateSub (sub : * mut xmlDict) -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlDictReference (dict : * mut xmlDict) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictFree (dict : * mut xmlDict) ; } unsafe extern "C" { pub fn xmlDictLookup (dict : * mut xmlDict , name : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictExists (dict : * mut xmlDict , name : * const xmlChar , len : :: std :: os :: raw :: c_int) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictQLookup (dict : * mut xmlDict , prefix : * const xmlChar , name : * const xmlChar) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlDictOwns (dict : * mut xmlDict , str_ : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictSize (dict : * mut xmlDict) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDictCleanup () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlHashTable { _unused : [u8 ; 0] , } # [doc = " Hash table mapping strings to pointers\n\n Also supports lookup using two or three strings as key."] pub type xmlHashTable = _xmlHashTable ; pub type xmlHashTablePtr = * mut xmlHashTable ; # [doc = " Callback to free data from a hash.\n\n @param payload  the data in the hash\n @param name  the name associated"] pub type xmlHashDeallocator = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback to copy data from a hash.\n\n @param payload  the data in the hash\n @param name  the name associated\n @returns a copy of the data or NULL in case of error."] pub type xmlHashCopier = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback when scanning data in a hash with the simple scanner.\n\n @param payload  the data in the hash\n @param data  extra scanner data\n @param name  the name associated"] pub type xmlHashScanner = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , data : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback when scanning data in a hash with the full scanner.\n\n @param payload  the data in the hash\n @param data  extra scanner data\n @param name  the name associated\n @param name2  the second name associated\n @param name3  the third name associated"] pub type xmlHashScannerFull = :: std :: option :: Option < unsafe extern "C" fn (payload : * mut :: std :: os :: raw :: c_void , data : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar) > ; unsafe extern "C" { pub fn xmlHashCreate (size : :: std :: os :: raw :: c_int) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashCreateDict (size : :: std :: os :: raw :: c_int , dict : * mut xmlDict) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashFree (hash : * mut xmlHashTable , dealloc : xmlHashDeallocator) ; } unsafe extern "C" { pub fn xmlHashDefaultDeallocator (entry : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlHashAdd (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry (hash : * mut xmlHashTable , name : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAdd2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAdd3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashAddEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashUpdateEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , userdata : * mut :: std :: os :: raw :: c_void , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry (hash : * mut xmlHashTable , name : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashRemoveEntry3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , dealloc : xmlHashDeallocator) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashLookup (hash : * mut xmlHashTable , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashLookup2 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashLookup3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup2 (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar , prefix2 : * const xmlChar , name2 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashQLookup3 (hash : * mut xmlHashTable , prefix : * const xmlChar , name : * const xmlChar , prefix2 : * const xmlChar , name2 : * const xmlChar , prefix3 : * const xmlChar , name3 : * const xmlChar) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlHashCopySafe (hash : * mut xmlHashTable , copy : xmlHashCopier , dealloc : xmlHashDeallocator) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashCopy (hash : * mut xmlHashTable , copy : xmlHashCopier) -> * mut xmlHashTable ; } unsafe extern "C" { pub fn xmlHashSize (hash : * mut xmlHashTable) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlHashScan (hash : * mut xmlHashTable , scan : xmlHashScanner , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScan3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , scan : xmlHashScanner , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScanFull (hash : * mut xmlHashTable , scan : xmlHashScannerFull , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlHashScanFull3 (hash : * mut xmlHashTable , name : * const xmlChar , name2 : * const xmlChar , name3 : * const xmlChar , scan : xmlHashScannerFull , data : * mut :: std :: os :: raw :: c_void) ; } # [doc = " Success"] pub const xmlErrorLevel_XML_ERR_NONE : xmlErrorLevel = 0 ; # [doc = " A warning\n\n When parsing XML, warnings are only reported to error\n handlers."] pub const xmlErrorLevel_XML_ERR_WARNING : xmlErrorLevel = 1 ; # [doc = " An error\n\n When parsing XML, this is used for recoverable errors like\n\n - namespace errors\n - validity errors when validating\n - certain undeclared entities\n - ID uniqueness and xml:id errors\n\n Note that some recoverable errors in the sense of the XML\n spec are reported as warnings.\n\n In other contexts, this may be used for unrecoverable\n errors."] pub const xmlErrorLevel_XML_ERR_ERROR : xmlErrorLevel = 2 ; # [doc = " A fatal error\n\n When parsing XML, a \"fatal error\" according to the XML spec.\n This typically means that the document isn't well-formed.\n\n This also includes OOM and I/O errors, resource limit\n exhaustion, unexpected errors from other libraries and\n invalid argument errors."] pub const xmlErrorLevel_XML_ERR_FATAL : xmlErrorLevel = 3 ; # [doc = " Indicates the level of an error"] pub type xmlErrorLevel = :: std :: os :: raw :: c_uint ; # [doc = " Unknown"] pub const xmlErrorDomain_XML_FROM_NONE : xmlErrorDomain = 0 ; # [doc = " The XML parser"] pub const xmlErrorDomain_XML_FROM_PARSER : xmlErrorDomain = 1 ; # [doc = " The tree module (unused)"] pub const xmlErrorDomain_XML_FROM_TREE : xmlErrorDomain = 2 ; # [doc = " The XML Namespace module"] pub const xmlErrorDomain_XML_FROM_NAMESPACE : xmlErrorDomain = 3 ; # [doc = " The XML DTD validation with parser context"] pub const xmlErrorDomain_XML_FROM_DTD : xmlErrorDomain = 4 ; # [doc = " The HTML parser"] pub const xmlErrorDomain_XML_FROM_HTML : xmlErrorDomain = 5 ; # [doc = " The memory allocator (unused)"] pub const xmlErrorDomain_XML_FROM_MEMORY : xmlErrorDomain = 6 ; # [doc = " The serialization code"] pub const xmlErrorDomain_XML_FROM_OUTPUT : xmlErrorDomain = 7 ; # [doc = " The Input/Output stack"] pub const xmlErrorDomain_XML_FROM_IO : xmlErrorDomain = 8 ; # [doc = " The FTP module (unused)"] pub const xmlErrorDomain_XML_FROM_FTP : xmlErrorDomain = 9 ; # [doc = " The HTTP module (unused)"] pub const xmlErrorDomain_XML_FROM_HTTP : xmlErrorDomain = 10 ; # [doc = " The XInclude processing"] pub const xmlErrorDomain_XML_FROM_XINCLUDE : xmlErrorDomain = 11 ; # [doc = " The XPath module"] pub const xmlErrorDomain_XML_FROM_XPATH : xmlErrorDomain = 12 ; # [doc = " The XPointer module"] pub const xmlErrorDomain_XML_FROM_XPOINTER : xmlErrorDomain = 13 ; # [doc = " The regular expressions module"] pub const xmlErrorDomain_XML_FROM_REGEXP : xmlErrorDomain = 14 ; # [doc = " The W3C XML Schemas Datatype module"] pub const xmlErrorDomain_XML_FROM_DATATYPE : xmlErrorDomain = 15 ; # [doc = " The W3C XML Schemas parser module"] pub const xmlErrorDomain_XML_FROM_SCHEMASP : xmlErrorDomain = 16 ; # [doc = " The W3C XML Schemas validation module"] pub const xmlErrorDomain_XML_FROM_SCHEMASV : xmlErrorDomain = 17 ; # [doc = " The Relax-NG parser module"] pub const xmlErrorDomain_XML_FROM_RELAXNGP : xmlErrorDomain = 18 ; # [doc = " The Relax-NG validator module"] pub const xmlErrorDomain_XML_FROM_RELAXNGV : xmlErrorDomain = 19 ; # [doc = " The Catalog module"] pub const xmlErrorDomain_XML_FROM_CATALOG : xmlErrorDomain = 20 ; # [doc = " The Canonicalization module"] pub const xmlErrorDomain_XML_FROM_C14N : xmlErrorDomain = 21 ; # [doc = " The XSLT engine from libxslt (unused)"] pub const xmlErrorDomain_XML_FROM_XSLT : xmlErrorDomain = 22 ; # [doc = " The XML DTD validation with valid context"] pub const xmlErrorDomain_XML_FROM_VALID : xmlErrorDomain = 23 ; # [doc = " The error checking module (unused)"] pub const xmlErrorDomain_XML_FROM_CHECK : xmlErrorDomain = 24 ; # [doc = " The xmlwriter module"] pub const xmlErrorDomain_XML_FROM_WRITER : xmlErrorDomain = 25 ; # [doc = " The dynamically loaded module module (unused)"] pub const xmlErrorDomain_XML_FROM_MODULE : xmlErrorDomain = 26 ; # [doc = " The module handling character conversion (unused)"] pub const xmlErrorDomain_XML_FROM_I18N : xmlErrorDomain = 27 ; # [doc = " The Schematron validator module"] pub const xmlErrorDomain_XML_FROM_SCHEMATRONV : xmlErrorDomain = 28 ; # [doc = " The buffers module (unused)"] pub const xmlErrorDomain_XML_FROM_BUFFER : xmlErrorDomain = 29 ; # [doc = " The URI module (unused)"] pub const xmlErrorDomain_XML_FROM_URI : xmlErrorDomain = 30 ; # [doc = " Indicates where an error may have come from"] pub type xmlErrorDomain = :: std :: os :: raw :: c_uint ; # [doc = " Structured error"] pub type xmlError = _xmlError ; pub type xmlErrorPtr = * mut xmlError ; # [doc = " An object containing information about an error."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlError { # [doc = " An xmlErrorDomain value."] pub domain : :: std :: os :: raw :: c_int , # [doc = " The error code, e.g. an xmlParserErrors."] pub code : :: std :: os :: raw :: c_int , # [doc = " Human-readable error message."] pub message : * mut :: std :: os :: raw :: c_char , # [doc = " Error level."] pub level : xmlErrorLevel , # [doc = " Filename if available"] pub file : * mut :: std :: os :: raw :: c_char , # [doc = " Line number if available"] pub line : :: std :: os :: raw :: c_int , # [doc = " Extra string information."] pub str1 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra string information."] pub str2 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra string information."] pub str3 : * mut :: std :: os :: raw :: c_char , # [doc = " Extra number information."] pub int1 : :: std :: os :: raw :: c_int , # [doc = " Column number if available."] pub int2 : :: std :: os :: raw :: c_int , # [doc = " Parser context if available"] pub ctxt : * mut :: std :: os :: raw :: c_void , # [doc = " Node if available"] pub node : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlError"] [:: std :: mem :: size_of :: < _xmlError > () - 88usize] ; ["Alignment of _xmlError"] [:: std :: mem :: align_of :: < _xmlError > () - 8usize] ; ["Offset of field: _xmlError::domain"] [:: std :: mem :: offset_of ! (_xmlError , domain) - 0usize] ; ["Offset of field: _xmlError::code"] [:: std :: mem :: offset_of ! (_xmlError , code) - 4usize] ; ["Offset of field: _xmlError::message"] [:: std :: mem :: offset_of ! (_xmlError , message) - 8usize] ; ["Offset of field: _xmlError::level"] [:: std :: mem :: offset_of ! (_xmlError , level) - 16usize] ; ["Offset of field: _xmlError::file"] [:: std :: mem :: offset_of ! (_xmlError , file) - 24usize] ; ["Offset of field: _xmlError::line"] [:: std :: mem :: offset_of ! (_xmlError , line) - 32usize] ; ["Offset of field: _xmlError::str1"] [:: std :: mem :: offset_of ! (_xmlError , str1) - 40usize] ; ["Offset of field: _xmlError::str2"] [:: std :: mem :: offset_of ! (_xmlError , str2) - 48usize] ; ["Offset of field: _xmlError::str3"] [:: std :: mem :: offset_of ! (_xmlError , str3) - 56usize] ; ["Offset of field: _xmlError::int1"] [:: std :: mem :: offset_of ! (_xmlError , int1) - 64usize] ; ["Offset of field: _xmlError::int2"] [:: std :: mem :: offset_of ! (_xmlError , int2) - 68usize] ; ["Offset of field: _xmlError::ctxt"] [:: std :: mem :: offset_of ! (_xmlError , ctxt) - 72usize] ; ["Offset of field: _xmlError::node"] [:: std :: mem :: offset_of ! (_xmlError , node) - 80usize] ; } ; # [doc = " Success."] pub const xmlParserErrors_XML_ERR_OK : xmlParserErrors = 0 ; # [doc = " Internal assertion failure."] pub const xmlParserErrors_XML_ERR_INTERNAL_ERROR : xmlParserErrors = 1 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_NO_MEMORY : xmlParserErrors = 2 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_START : xmlParserErrors = 3 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_EMPTY : xmlParserErrors = 4 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_DOCUMENT_END : xmlParserErrors = 5 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_HEX_CHARREF : xmlParserErrors = 6 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_DEC_CHARREF : xmlParserErrors = 7 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_CHARREF : xmlParserErrors = 8 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_INVALID_CHAR : xmlParserErrors = 9 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_AT_EOF : xmlParserErrors = 10 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_PROLOG : xmlParserErrors = 11 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_EPILOG : xmlParserErrors = 12 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_CHARREF_IN_DTD : xmlParserErrors = 13 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_AT_EOF : xmlParserErrors = 14 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_PROLOG : xmlParserErrors = 15 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_EPILOG : xmlParserErrors = 16 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_IN_DTD : xmlParserErrors = 17 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_AT_EOF : xmlParserErrors = 18 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_PROLOG : xmlParserErrors = 19 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_EPILOG : xmlParserErrors = 20 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_IN_INT_SUBSET : xmlParserErrors = 21 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_NO_NAME : xmlParserErrors = 22 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITYREF_SEMICOL_MISSING : xmlParserErrors = 23 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_NO_NAME : xmlParserErrors = 24 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_PEREF_SEMICOL_MISSING : xmlParserErrors = 25 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNDECLARED_ENTITY : xmlParserErrors = 26 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_WAR_UNDECLARED_ENTITY : xmlParserErrors = 27 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNPARSED_ENTITY : xmlParserErrors = 28 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITY_IS_EXTERNAL : xmlParserErrors = 29 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_ENTITY_IS_PARAMETER : xmlParserErrors = 30 ; # [doc = " Out of memory"] pub const xmlParserErrors_XML_ERR_UNKNOWN_ENCODING : xmlParserErrors = 31 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_UNSUPPORTED_ENCODING : xmlParserErrors = 32 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STRING_NOT_STARTED : xmlParserErrors = 33 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STRING_NOT_CLOSED : xmlParserErrors = 34 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NS_DECL_ERROR : xmlParserErrors = 35 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_NOT_STARTED : xmlParserErrors = 36 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_NOT_FINISHED : xmlParserErrors = 37 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LT_IN_ATTRIBUTE : xmlParserErrors = 38 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_NOT_STARTED : xmlParserErrors = 39 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_NOT_FINISHED : xmlParserErrors = 40 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_WITHOUT_VALUE : xmlParserErrors = 41 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTRIBUTE_REDEFINED : xmlParserErrors = 42 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LITERAL_NOT_STARTED : xmlParserErrors = 43 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LITERAL_NOT_FINISHED : xmlParserErrors = 44 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_COMMENT_NOT_FINISHED : xmlParserErrors = 45 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PI_NOT_STARTED : xmlParserErrors = 46 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PI_NOT_FINISHED : xmlParserErrors = 47 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_NOT_STARTED : xmlParserErrors = 48 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_NOT_FINISHED : xmlParserErrors = 49 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTLIST_NOT_STARTED : xmlParserErrors = 50 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ATTLIST_NOT_FINISHED : xmlParserErrors = 51 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MIXED_NOT_STARTED : xmlParserErrors = 52 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MIXED_NOT_FINISHED : xmlParserErrors = 53 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ELEMCONTENT_NOT_STARTED : xmlParserErrors = 54 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ELEMCONTENT_NOT_FINISHED : xmlParserErrors = 55 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_XMLDECL_NOT_STARTED : xmlParserErrors = 56 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_XMLDECL_NOT_FINISHED : xmlParserErrors = 57 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_NOT_STARTED : xmlParserErrors = 58 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_NOT_FINISHED : xmlParserErrors = 59 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXT_SUBSET_NOT_FINISHED : xmlParserErrors = 60 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_DOCTYPE_NOT_FINISHED : xmlParserErrors = 61 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MISPLACED_CDATA_END : xmlParserErrors = 62 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CDATA_NOT_FINISHED : xmlParserErrors = 63 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_RESERVED_XML_NAME : xmlParserErrors = 64 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_SPACE_REQUIRED : xmlParserErrors = 65 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_SEPARATOR_REQUIRED : xmlParserErrors = 66 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NMTOKEN_REQUIRED : xmlParserErrors = 67 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NAME_REQUIRED : xmlParserErrors = 68 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PCDATA_REQUIRED : xmlParserErrors = 69 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_URI_REQUIRED : xmlParserErrors = 70 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_PUBID_REQUIRED : xmlParserErrors = 71 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LT_REQUIRED : xmlParserErrors = 72 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_GT_REQUIRED : xmlParserErrors = 73 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_LTSLASH_REQUIRED : xmlParserErrors = 74 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EQUAL_REQUIRED : xmlParserErrors = 75 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_TAG_NAME_MISMATCH : xmlParserErrors = 76 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_TAG_NOT_FINISHED : xmlParserErrors = 77 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_STANDALONE_VALUE : xmlParserErrors = 78 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENCODING_NAME : xmlParserErrors = 79 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_HYPHEN_IN_COMMENT : xmlParserErrors = 80 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_INVALID_ENCODING : xmlParserErrors = 81 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXT_ENTITY_STANDALONE : xmlParserErrors = 82 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_INVALID : xmlParserErrors = 83 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VALUE_REQUIRED : xmlParserErrors = 84 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOT_WELL_BALANCED : xmlParserErrors = 85 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_EXTRA_CONTENT : xmlParserErrors = 86 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_CHAR_ERROR : xmlParserErrors = 87 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_PE_INTERNAL : xmlParserErrors = 88 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_LOOP : xmlParserErrors = 89 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_BOUNDARY : xmlParserErrors = 90 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_INVALID_URI : xmlParserErrors = 91 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_URI_FRAGMENT : xmlParserErrors = 92 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_CATALOG_PI : xmlParserErrors = 93 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NO_DTD : xmlParserErrors = 94 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_CONDSEC_INVALID_KEYWORD : xmlParserErrors = 95 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VERSION_MISSING : xmlParserErrors = 96 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_UNKNOWN_VERSION : xmlParserErrors = 97 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_LANG_VALUE : xmlParserErrors = 98 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_URI : xmlParserErrors = 99 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_URI_RELATIVE : xmlParserErrors = 100 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_MISSING_ENCODING : xmlParserErrors = 101 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_SPACE_VALUE : xmlParserErrors = 102 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOT_STANDALONE : xmlParserErrors = 103 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_ENTITY_PROCESSING : xmlParserErrors = 104 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NOTATION_PROCESSING : xmlParserErrors = 105 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_NS_COLUMN : xmlParserErrors = 106 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_ENTITY_REDEFINED : xmlParserErrors = 107 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_UNKNOWN_VERSION : xmlParserErrors = 108 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_VERSION_MISMATCH : xmlParserErrors = 109 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_NAME_TOO_LONG : xmlParserErrors = 110 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_USER_STOP : xmlParserErrors = 111 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_ERR_COMMENT_ABRUPTLY_ENDED : xmlParserErrors = 112 ; # [doc = " Unsupported character encoding."] pub const xmlParserErrors_XML_WAR_ENCODING_MISMATCH : xmlParserErrors = 113 ; # [doc = " Internal resource limit like maximum amplification\n factor exceeded."] pub const xmlParserErrors_XML_ERR_RESOURCE_LIMIT : xmlParserErrors = 114 ; # [doc = " Invalid argument."] pub const xmlParserErrors_XML_ERR_ARGUMENT : xmlParserErrors = 115 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_SYSTEM : xmlParserErrors = 116 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_REDECL_PREDEF_ENTITY : xmlParserErrors = 117 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_ERR_INT_SUBSET_NOT_FINISHED : xmlParserErrors = 118 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_XML_NAMESPACE : xmlParserErrors = 200 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_UNDEFINED_NAMESPACE : xmlParserErrors = 201 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_QNAME : xmlParserErrors = 202 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_ATTRIBUTE_REDEFINED : xmlParserErrors = 203 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_EMPTY : xmlParserErrors = 204 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_NS_ERR_COLON : xmlParserErrors = 205 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_DEFAULT : xmlParserErrors = 500 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_REDEFINED : xmlParserErrors = 501 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ATTRIBUTE_VALUE : xmlParserErrors = 502 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_ERROR : xmlParserErrors = 503 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_MODEL : xmlParserErrors = 504 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_CONTENT_NOT_DETERMINIST : xmlParserErrors = 505 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_DIFFERENT_PREFIX : xmlParserErrors = 506 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_DEFAULT_NAMESPACE : xmlParserErrors = 507 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_NAMESPACE : xmlParserErrors = 508 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ELEM_REDEFINED : xmlParserErrors = 509 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_EMPTY_NOTATION : xmlParserErrors = 510 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ENTITY_TYPE : xmlParserErrors = 511 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_FIXED : xmlParserErrors = 512 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_REDEFINED : xmlParserErrors = 513 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ID_SUBSET : xmlParserErrors = 514 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_INVALID_CHILD : xmlParserErrors = 515 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_INVALID_DEFAULT : xmlParserErrors = 516 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_LOAD_ERROR : xmlParserErrors = 517 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MISSING_ATTRIBUTE : xmlParserErrors = 518 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MIXED_CORRUPT : xmlParserErrors = 519 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_MULTIPLE_ID : xmlParserErrors = 520 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_DOC : xmlParserErrors = 521 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_DTD : xmlParserErrors = 522 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_ELEM_NAME : xmlParserErrors = 523 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_PREFIX : xmlParserErrors = 524 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NO_ROOT : xmlParserErrors = 525 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOTATION_REDEFINED : xmlParserErrors = 526 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOTATION_VALUE : xmlParserErrors = 527 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_EMPTY : xmlParserErrors = 528 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_PCDATA : xmlParserErrors = 529 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_NOT_STANDALONE : xmlParserErrors = 530 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_ROOT_NAME : xmlParserErrors = 531 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_STANDALONE_WHITE_SPACE : xmlParserErrors = 532 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ATTRIBUTE : xmlParserErrors = 533 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ELEM : xmlParserErrors = 534 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ENTITY : xmlParserErrors = 535 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_ID : xmlParserErrors = 536 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_UNKNOWN_NOTATION : xmlParserErrors = 537 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_STANDALONE_DEFAULTED : xmlParserErrors = 538 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_XMLID_VALUE : xmlParserErrors = 539 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_XMLID_TYPE : xmlParserErrors = 540 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_DTD_DUP_TOKEN : xmlParserErrors = 541 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_STRUCURE_ERROR : xmlParserErrors = 800 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_UNKNOWN_TAG : xmlParserErrors = 801 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_HTML_INCORRECTLY_OPENED_COMMENT : xmlParserErrors = 802 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ANYNAME_ATTR_ANCESTOR : xmlParserErrors = 1000 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTR_CONFLICT : xmlParserErrors = 1001 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_CHILDREN : xmlParserErrors = 1002 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_CONTENT : xmlParserErrors = 1003 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_EMPTY : xmlParserErrors = 1004 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ATTRIBUTE_NOOP : xmlParserErrors = 1005 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CHOICE_CONTENT : xmlParserErrors = 1006 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CHOICE_EMPTY : xmlParserErrors = 1007 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_CREATE_FAILURE : xmlParserErrors = 1008 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DATA_CONTENT : xmlParserErrors = 1009 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEF_CHOICE_AND_INTERLEAVE : xmlParserErrors = 1010 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_CREATE_FAILED : xmlParserErrors = 1011 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_EMPTY : xmlParserErrors = 1012 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_MISSING : xmlParserErrors = 1013 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_DEFINE_NAME_MISSING : xmlParserErrors = 1014 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_CONTENT_EMPTY : xmlParserErrors = 1015 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_CONTENT_ERROR : xmlParserErrors = 1016 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_EMPTY : xmlParserErrors = 1017 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_CONTENT : xmlParserErrors = 1018 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_NAME : xmlParserErrors = 1019 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEMENT_NO_CONTENT : xmlParserErrors = 1020 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ELEM_TEXT_CONFLICT : xmlParserErrors = 1021 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY : xmlParserErrors = 1022 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_CONSTRUCT : xmlParserErrors = 1023 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_CONTENT : xmlParserErrors = 1024 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EMPTY_NOT_EMPTY : xmlParserErrors = 1025 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_ERROR_TYPE_LIB : xmlParserErrors = 1026 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_EMPTY : xmlParserErrors = 1027 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_MISSING : xmlParserErrors = 1028 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_MULTIPLE : xmlParserErrors = 1029 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXCEPT_NO_CONTENT : xmlParserErrors = 1030 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNALREF_EMTPY : xmlParserErrors = 1031 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNAL_REF_FAILURE : xmlParserErrors = 1032 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_EXTERNALREF_RECURSE : xmlParserErrors = 1033 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_FORBIDDEN_ATTRIBUTE : xmlParserErrors = 1034 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_FOREIGN_ELEMENT : xmlParserErrors = 1035 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_CONTENT : xmlParserErrors = 1036 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_EMPTY : xmlParserErrors = 1037 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_MISSING : xmlParserErrors = 1038 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GRAMMAR_NO_START : xmlParserErrors = 1039 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_GROUP_ATTR_CONFLICT : xmlParserErrors = 1040 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_HREF_ERROR : xmlParserErrors = 1041 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_EMPTY : xmlParserErrors = 1042 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_FAILURE : xmlParserErrors = 1043 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INCLUDE_RECURSE : xmlParserErrors = 1044 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_ADD : xmlParserErrors = 1045 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_CREATE_FAILED : xmlParserErrors = 1046 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_EMPTY : xmlParserErrors = 1047 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INTERLEAVE_NO_CONTENT : xmlParserErrors = 1048 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_DEFINE_NAME : xmlParserErrors = 1049 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_URI : xmlParserErrors = 1050 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_INVALID_VALUE : xmlParserErrors = 1051 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_MISSING_HREF : xmlParserErrors = 1052 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NAME_MISSING : xmlParserErrors = 1053 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NEED_COMBINE : xmlParserErrors = 1054 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NOTALLOWED_NOT_EMPTY : xmlParserErrors = 1055 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NSNAME_ATTR_ANCESTOR : xmlParserErrors = 1056 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_NSNAME_NO_NS : xmlParserErrors = 1057 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARAM_FORBIDDEN : xmlParserErrors = 1058 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARAM_NAME_MISSING : xmlParserErrors = 1059 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_CREATE_FAILED : xmlParserErrors = 1060 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NAME_INVALID : xmlParserErrors = 1061 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NO_NAME : xmlParserErrors = 1062 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NO_PARENT : xmlParserErrors = 1063 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARENTREF_NOT_EMPTY : xmlParserErrors = 1064 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PARSE_ERROR : xmlParserErrors = 1065 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ANYNAME_EXCEPT_ANYNAME : xmlParserErrors = 1066 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ATTR_ATTR : xmlParserErrors = 1067 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ATTR_ELEM : xmlParserErrors = 1068 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ATTR : xmlParserErrors = 1069 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ELEM : xmlParserErrors = 1070 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_EMPTY : xmlParserErrors = 1071 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_GROUP : xmlParserErrors = 1072 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_INTERLEAVE : xmlParserErrors = 1073 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_LIST : xmlParserErrors = 1074 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_ONEMORE : xmlParserErrors = 1075 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_REF : xmlParserErrors = 1076 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_DATA_EXCEPT_TEXT : xmlParserErrors = 1077 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_ATTR : xmlParserErrors = 1078 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_ELEM : xmlParserErrors = 1079 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_INTERLEAVE : xmlParserErrors = 1080 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_LIST : xmlParserErrors = 1081 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_REF : xmlParserErrors = 1082 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_LIST_TEXT : xmlParserErrors = 1083 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_NSNAME_EXCEPT_ANYNAME : xmlParserErrors = 1084 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_NSNAME_EXCEPT_NSNAME : xmlParserErrors = 1085 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ONEMORE_GROUP_ATTR : xmlParserErrors = 1086 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_ONEMORE_INTERLEAVE_ATTR : xmlParserErrors = 1087 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_ATTR : xmlParserErrors = 1088 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_DATA : xmlParserErrors = 1089 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_EMPTY : xmlParserErrors = 1090 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_GROUP : xmlParserErrors = 1091 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_INTERLEAVE : xmlParserErrors = 1092 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_LIST : xmlParserErrors = 1093 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_ONEMORE : xmlParserErrors = 1094 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_TEXT : xmlParserErrors = 1095 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PAT_START_VALUE : xmlParserErrors = 1096 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_PREFIX_UNDEFINED : xmlParserErrors = 1097 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_CREATE_FAILED : xmlParserErrors = 1098 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_CYCLE : xmlParserErrors = 1099 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NAME_INVALID : xmlParserErrors = 1100 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NO_DEF : xmlParserErrors = 1101 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NO_NAME : xmlParserErrors = 1102 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_REF_NOT_EMPTY : xmlParserErrors = 1103 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_CHOICE_AND_INTERLEAVE : xmlParserErrors = 1104 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_CONTENT : xmlParserErrors = 1105 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_EMPTY : xmlParserErrors = 1106 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_START_MISSING : xmlParserErrors = 1107 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TEXT_EXPECTED : xmlParserErrors = 1108 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TEXT_HAS_CHILD : xmlParserErrors = 1109 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_MISSING : xmlParserErrors = 1110 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_NOT_FOUND : xmlParserErrors = 1111 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_TYPE_VALUE : xmlParserErrors = 1112 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_ATTRIBUTE : xmlParserErrors = 1113 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_COMBINE : xmlParserErrors = 1114 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_CONSTRUCT : xmlParserErrors = 1115 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_UNKNOWN_TYPE_LIB : xmlParserErrors = 1116 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_URI_FRAGMENT : xmlParserErrors = 1117 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_URI_NOT_ABSOLUTE : xmlParserErrors = 1118 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_VALUE_EMPTY : xmlParserErrors = 1119 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_VALUE_NO_CONTENT : xmlParserErrors = 1120 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_XMLNS_NAME : xmlParserErrors = 1121 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_RNGP_XML_NS : xmlParserErrors = 1122 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_EXPRESSION_OK : xmlParserErrors = 1200 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_NUMBER_ERROR : xmlParserErrors = 1201 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNFINISHED_LITERAL_ERROR : xmlParserErrors = 1202 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_START_LITERAL_ERROR : xmlParserErrors = 1203 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_VARIABLE_REF_ERROR : xmlParserErrors = 1204 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNDEF_VARIABLE_ERROR : xmlParserErrors = 1205 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_PREDICATE_ERROR : xmlParserErrors = 1206 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_EXPR_ERROR : xmlParserErrors = 1207 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNCLOSED_ERROR : xmlParserErrors = 1208 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNKNOWN_FUNC_ERROR : xmlParserErrors = 1209 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_OPERAND : xmlParserErrors = 1210 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_TYPE : xmlParserErrors = 1211 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_ARITY : xmlParserErrors = 1212 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CTXT_SIZE : xmlParserErrors = 1213 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CTXT_POSITION : xmlParserErrors = 1214 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_MEMORY_ERROR : xmlParserErrors = 1215 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_SYNTAX_ERROR : xmlParserErrors = 1216 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_RESOURCE_ERROR : xmlParserErrors = 1217 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPTR_SUB_RESOURCE_ERROR : xmlParserErrors = 1218 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_UNDEF_PREFIX_ERROR : xmlParserErrors = 1219 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_ENCODING_ERROR : xmlParserErrors = 1220 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_XPATH_INVALID_CHAR_ERROR : xmlParserErrors = 1221 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_INVALID_HEX : xmlParserErrors = 1300 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_INVALID_DEC : xmlParserErrors = 1301 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_UNTERMINATED_ENTITY : xmlParserErrors = 1302 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_TREE_NOT_UTF8 : xmlParserErrors = 1303 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_NOT_UTF8 : xmlParserErrors = 1400 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_CHAR_INVALID : xmlParserErrors = 1401 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_NO_DOCTYPE : xmlParserErrors = 1402 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_SAVE_UNKNOWN_ENCODING : xmlParserErrors = 1403 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_REGEXP_COMPILE_ERROR : xmlParserErrors = 1450 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_UNKNOWN : xmlParserErrors = 1500 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EACCES : xmlParserErrors = 1501 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EAGAIN : xmlParserErrors = 1502 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBADF : xmlParserErrors = 1503 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBADMSG : xmlParserErrors = 1504 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EBUSY : xmlParserErrors = 1505 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ECANCELED : xmlParserErrors = 1506 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ECHILD : xmlParserErrors = 1507 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EDEADLK : xmlParserErrors = 1508 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EDOM : xmlParserErrors = 1509 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EEXIST : xmlParserErrors = 1510 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EFAULT : xmlParserErrors = 1511 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EFBIG : xmlParserErrors = 1512 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINPROGRESS : xmlParserErrors = 1513 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINTR : xmlParserErrors = 1514 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EINVAL : xmlParserErrors = 1515 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EIO : xmlParserErrors = 1516 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EISDIR : xmlParserErrors = 1517 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMFILE : xmlParserErrors = 1518 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMLINK : xmlParserErrors = 1519 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_EMSGSIZE : xmlParserErrors = 1520 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENAMETOOLONG : xmlParserErrors = 1521 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENFILE : xmlParserErrors = 1522 ; # [doc = " Unexpected error from the OS or an external library."] pub const xmlParserErrors_XML_IO_ENODEV : xmlParserErrors = 1523 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOENT : xmlParserErrors = 1524 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOEXEC : xmlParserErrors = 1525 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOLCK : xmlParserErrors = 1526 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOMEM : xmlParserErrors = 1527 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOSPC : xmlParserErrors = 1528 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOSYS : xmlParserErrors = 1529 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTDIR : xmlParserErrors = 1530 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTEMPTY : xmlParserErrors = 1531 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTSUP : xmlParserErrors = 1532 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTTY : xmlParserErrors = 1533 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENXIO : xmlParserErrors = 1534 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EPERM : xmlParserErrors = 1535 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EPIPE : xmlParserErrors = 1536 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ERANGE : xmlParserErrors = 1537 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EROFS : xmlParserErrors = 1538 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ESPIPE : xmlParserErrors = 1539 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ESRCH : xmlParserErrors = 1540 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ETIMEDOUT : xmlParserErrors = 1541 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EXDEV : xmlParserErrors = 1542 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_NETWORK_ATTEMPT : xmlParserErrors = 1543 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENCODER : xmlParserErrors = 1544 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_FLUSH : xmlParserErrors = 1545 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_WRITE : xmlParserErrors = 1546 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_NO_INPUT : xmlParserErrors = 1547 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_BUFFER_FULL : xmlParserErrors = 1548 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_LOAD_ERROR : xmlParserErrors = 1549 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENOTSOCK : xmlParserErrors = 1550 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EISCONN : xmlParserErrors = 1551 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ECONNREFUSED : xmlParserErrors = 1552 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_ENETUNREACH : xmlParserErrors = 1553 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EADDRINUSE : xmlParserErrors = 1554 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EALREADY : xmlParserErrors = 1555 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_EAFNOSUPPORT : xmlParserErrors = 1556 ; # [doc = " File not found."] pub const xmlParserErrors_XML_IO_UNSUPPORTED_PROTOCOL : xmlParserErrors = 1557 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_RECURSION : xmlParserErrors = 1600 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_PARSE_VALUE : xmlParserErrors = 1601 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_ENTITY_DEF_MISMATCH : xmlParserErrors = 1602 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_NO_HREF : xmlParserErrors = 1603 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_NO_FALLBACK : xmlParserErrors = 1604 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_HREF_URI : xmlParserErrors = 1605 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_TEXT_FRAGMENT : xmlParserErrors = 1606 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_TEXT_DOCUMENT : xmlParserErrors = 1607 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_INVALID_CHAR : xmlParserErrors = 1608 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_BUILD_FAILED : xmlParserErrors = 1609 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_UNKNOWN_ENCODING : xmlParserErrors = 1610 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_MULTIPLE_ROOT : xmlParserErrors = 1611 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_XPTR_FAILED : xmlParserErrors = 1612 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_XPTR_RESULT : xmlParserErrors = 1613 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_INCLUDE_IN_INCLUDE : xmlParserErrors = 1614 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FALLBACKS_IN_INCLUDE : xmlParserErrors = 1615 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FALLBACK_NOT_IN_INCLUDE : xmlParserErrors = 1616 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_DEPRECATED_NS : xmlParserErrors = 1617 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XINCLUDE_FRAGMENT_ID : xmlParserErrors = 1618 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_MISSING_ATTR : xmlParserErrors = 1650 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_ENTRY_BROKEN : xmlParserErrors = 1651 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_PREFER_VALUE : xmlParserErrors = 1652 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_NOT_CATALOG : xmlParserErrors = 1653 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CATALOG_RECURSION : xmlParserErrors = 1654 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_PREFIX_UNDEFINED : xmlParserErrors = 1700 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTRFORMDEFAULT_VALUE : xmlParserErrors = 1701 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTRGRP_NONAME_NOREF : xmlParserErrors = 1702 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ATTR_NONAME_NOREF : xmlParserErrors = 1703 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COMPLEXTYPE_NONAME_NOREF : xmlParserErrors = 1704 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEMFORMDEFAULT_VALUE : xmlParserErrors = 1705 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEM_NONAME_NOREF : xmlParserErrors = 1706 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_EXTENSION_NO_BASE : xmlParserErrors = 1707 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FACET_NO_VALUE : xmlParserErrors = 1708 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_BUILD_IMPORT : xmlParserErrors = 1709 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_GROUP_NONAME_NOREF : xmlParserErrors = 1710 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_NAMESPACE_NOT_URI : xmlParserErrors = 1711 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_REDEFINE_NSNAME : xmlParserErrors = 1712 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_IMPORT_SCHEMA_NOT_URI : xmlParserErrors = 1713 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_BOOLEAN : xmlParserErrors = 1714 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ENUM : xmlParserErrors = 1715 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_FACET : xmlParserErrors = 1716 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_FACET_VALUE : xmlParserErrors = 1717 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_MAXOCCURS : xmlParserErrors = 1718 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_MINOCCURS : xmlParserErrors = 1719 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_REF_AND_SUBTYPE : xmlParserErrors = 1720 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_WHITE_SPACE : xmlParserErrors = 1721 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOATTR_NOREF : xmlParserErrors = 1722 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTATION_NO_NAME : xmlParserErrors = 1723 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTYPE_NOREF : xmlParserErrors = 1724 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REF_AND_SUBTYPE : xmlParserErrors = 1725 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_RESTRICTION_NONAME_NOREF : xmlParserErrors = 1726 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SIMPLETYPE_NONAME : xmlParserErrors = 1727 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_TYPE_AND_SUBTYPE : xmlParserErrors = 1728 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ALL_CHILD : xmlParserErrors = 1729 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ANYATTRIBUTE_CHILD : xmlParserErrors = 1730 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTR_CHILD : xmlParserErrors = 1731 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTRGRP_CHILD : xmlParserErrors = 1732 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ATTRIBUTE_GROUP : xmlParserErrors = 1733 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_BASE_TYPE : xmlParserErrors = 1734 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_CHOICE_CHILD : xmlParserErrors = 1735 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_COMPLEXCONTENT_CHILD : xmlParserErrors = 1736 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_COMPLEXTYPE_CHILD : xmlParserErrors = 1737 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_ELEM_CHILD : xmlParserErrors = 1738 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_EXTENSION_CHILD : xmlParserErrors = 1739 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_FACET_CHILD : xmlParserErrors = 1740 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_FACET_TYPE : xmlParserErrors = 1741 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_GROUP_CHILD : xmlParserErrors = 1742 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_IMPORT_CHILD : xmlParserErrors = 1743 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_LIST_CHILD : xmlParserErrors = 1744 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_NOTATION_CHILD : xmlParserErrors = 1745 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_PROCESSCONTENT_CHILD : xmlParserErrors = 1746 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_REF : xmlParserErrors = 1747 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_RESTRICTION_CHILD : xmlParserErrors = 1748 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SCHEMAS_CHILD : xmlParserErrors = 1749 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SEQUENCE_CHILD : xmlParserErrors = 1750 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SIMPLECONTENT_CHILD : xmlParserErrors = 1751 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_SIMPLETYPE_CHILD : xmlParserErrors = 1752 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_TYPE : xmlParserErrors = 1753 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_UNION_CHILD : xmlParserErrors = 1754 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ELEM_DEFAULT_FIXED : xmlParserErrors = 1755 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REGEXP_INVALID : xmlParserErrors = 1756 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_LOAD : xmlParserErrors = 1757 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOTHING_TO_PARSE : xmlParserErrors = 1758 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOROOT : xmlParserErrors = 1759 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_GROUP : xmlParserErrors = 1760 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_TYPE : xmlParserErrors = 1761 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ELEMENT : xmlParserErrors = 1762 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ATTRGROUP : xmlParserErrors = 1763 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_ATTR : xmlParserErrors = 1764 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REDEFINED_NOTATION : xmlParserErrors = 1765 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_FAILED_PARSE : xmlParserErrors = 1766 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_PREFIX : xmlParserErrors = 1767 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DEF_AND_PREFIX : xmlParserErrors = 1768 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_INCLUDE_CHILD : xmlParserErrors = 1769 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INCLUDE_SCHEMA_NOT_URI : xmlParserErrors = 1770 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INCLUDE_SCHEMA_NO_URI : xmlParserErrors = 1771 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOT_SCHEMA : xmlParserErrors = 1772 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNKNOWN_MEMBER_TYPE : xmlParserErrors = 1773 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_USE : xmlParserErrors = 1774 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_RECURSIVE : xmlParserErrors = 1775 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPE : xmlParserErrors = 1776 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_COMBINATION : xmlParserErrors = 1777 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_INLINE_COMBINATION : xmlParserErrors = 1778 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MISSING_SIMPLETYPE_CHILD : xmlParserErrors = 1779 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INVALID_ATTR_NAME : xmlParserErrors = 1780 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_REF_AND_CONTENT : xmlParserErrors = 1781 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_1 : xmlParserErrors = 1782 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_2 : xmlParserErrors = 1783 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_3 : xmlParserErrors = 1784 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_4 : xmlParserErrors = 1785 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CT_PROPS_CORRECT_5 : xmlParserErrors = 1786 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_1 : xmlParserErrors = 1787 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_1 : xmlParserErrors = 1788 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_2 : xmlParserErrors = 1789 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_2 : xmlParserErrors = 1790 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_3 : xmlParserErrors = 1791 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WILDCARD_INVALID_NS_MEMBER : xmlParserErrors = 1792 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INTERSECTION_NOT_EXPRESSIBLE : xmlParserErrors = 1793 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_UNION_NOT_EXPRESSIBLE : xmlParserErrors = 1794 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_3_1 : xmlParserErrors = 1795 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_3_2 : xmlParserErrors = 1796 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_1 : xmlParserErrors = 1797 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_2 : xmlParserErrors = 1798 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_3 : xmlParserErrors = 1799 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_3 : xmlParserErrors = 1800 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOROOT : xmlParserErrors = 1801 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_UNDECLAREDELEM : xmlParserErrors = 1802 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTTOPLEVEL : xmlParserErrors = 1803 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_MISSING : xmlParserErrors = 1804 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_WRONGELEM : xmlParserErrors = 1805 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTYPE : xmlParserErrors = 1806 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOROLLBACK : xmlParserErrors = 1807 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ISABSTRACT : xmlParserErrors = 1808 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTEMPTY : xmlParserErrors = 1809 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ELEMCONT : xmlParserErrors = 1810 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_HAVEDEFAULT : xmlParserErrors = 1811 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTNILLABLE : xmlParserErrors = 1812 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_EXTRACONTENT : xmlParserErrors = 1813 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INVALIDATTR : xmlParserErrors = 1814 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INVALIDELEM : xmlParserErrors = 1815 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTDETERMINIST : xmlParserErrors = 1816 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CONSTRUCT : xmlParserErrors = 1817 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_INTERNAL : xmlParserErrors = 1818 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_NOTSIMPLE : xmlParserErrors = 1819 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ATTRUNKNOWN : xmlParserErrors = 1820 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ATTRINVALID : xmlParserErrors = 1821 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_VALUE : xmlParserErrors = 1822 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_FACET : xmlParserErrors = 1823 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_1 : xmlParserErrors = 1824 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_2 : xmlParserErrors = 1825 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_3 : xmlParserErrors = 1826 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_3_1_1 : xmlParserErrors = 1827 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_3_1_2 : xmlParserErrors = 1828 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_FACET_VALID : xmlParserErrors = 1829 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_LENGTH_VALID : xmlParserErrors = 1830 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MINLENGTH_VALID : xmlParserErrors = 1831 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXLENGTH_VALID : xmlParserErrors = 1832 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MININCLUSIVE_VALID : xmlParserErrors = 1833 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXINCLUSIVE_VALID : xmlParserErrors = 1834 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MINEXCLUSIVE_VALID : xmlParserErrors = 1835 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_MAXEXCLUSIVE_VALID : xmlParserErrors = 1836 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TOTALDIGITS_VALID : xmlParserErrors = 1837 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_FRACTIONDIGITS_VALID : xmlParserErrors = 1838 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_PATTERN_VALID : xmlParserErrors = 1839 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ENUMERATION_VALID : xmlParserErrors = 1840 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_1 : xmlParserErrors = 1841 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_2 : xmlParserErrors = 1842 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_3 : xmlParserErrors = 1843 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_2_4 : xmlParserErrors = 1844 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_1 : xmlParserErrors = 1845 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_2 : xmlParserErrors = 1846 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_1 : xmlParserErrors = 1847 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_2_1 : xmlParserErrors = 1848 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_3_2_2 : xmlParserErrors = 1849 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_1 : xmlParserErrors = 1850 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_2 : xmlParserErrors = 1851 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_4_3 : xmlParserErrors = 1852 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_1_1 : xmlParserErrors = 1853 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_1_2 : xmlParserErrors = 1854 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_1 : xmlParserErrors = 1855 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_1 : xmlParserErrors = 1856 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_2_1 : xmlParserErrors = 1857 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_5_2_2_2_2 : xmlParserErrors = 1858 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_6 : xmlParserErrors = 1859 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ELT_7 : xmlParserErrors = 1860 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_1 : xmlParserErrors = 1861 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_2 : xmlParserErrors = 1862 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_3 : xmlParserErrors = 1863 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_ATTRIBUTE_4 : xmlParserErrors = 1864 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_1 : xmlParserErrors = 1865 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_1 : xmlParserErrors = 1866 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_2 : xmlParserErrors = 1867 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_4 : xmlParserErrors = 1868 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_5_1 : xmlParserErrors = 1869 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_5_2 : xmlParserErrors = 1870 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_ELEMENT_CONTENT : xmlParserErrors = 1871 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_DOCUMENT_ELEMENT_MISSING : xmlParserErrors = 1872 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_COMPLEX_TYPE_1 : xmlParserErrors = 1873 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_AU : xmlParserErrors = 1874 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_1 : xmlParserErrors = 1875 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_TYPE_2 : xmlParserErrors = 1876 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_IDC : xmlParserErrors = 1877 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_CVC_WILDCARD : xmlParserErrors = 1878 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAV_MISC : xmlParserErrors = 1879 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_UNKNOWN_SCHEME : xmlParserErrors = 1900 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_CHILDSEQ_START : xmlParserErrors = 1901 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_EVAL_FAILED : xmlParserErrors = 1902 ; # [doc = " File not found."] pub const xmlParserErrors_XML_XPTR_EXTRA_OBJECTS : xmlParserErrors = 1903 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_CREATE_CTXT : xmlParserErrors = 1950 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_REQUIRES_UTF8 : xmlParserErrors = 1951 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_CREATE_STACK : xmlParserErrors = 1952 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_INVALID_NODE : xmlParserErrors = 1953 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_UNKNOW_NODE : xmlParserErrors = 1954 ; # [doc = " File not found."] pub const xmlParserErrors_XML_C14N_RELATIVE_NAMESPACE : xmlParserErrors = 1955 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_PASV_ANSWER : xmlParserErrors = 2000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_EPSV_ANSWER : xmlParserErrors = 2001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_ACCNT : xmlParserErrors = 2002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_FTP_URL_SYNTAX : xmlParserErrors = 2003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_URL_SYNTAX : xmlParserErrors = 2020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_USE_IP : xmlParserErrors = 2021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_HTTP_UNKNOWN_HOST : xmlParserErrors = 2022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_1 : xmlParserErrors = 3000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_2 : xmlParserErrors = 3001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_3 : xmlParserErrors = 3002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_SIMPLE_TYPE_4 : xmlParserErrors = 3003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_RESOLVE : xmlParserErrors = 3004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE : xmlParserErrors = 3005 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE : xmlParserErrors = 3006 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPES : xmlParserErrors = 3007 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_1 : xmlParserErrors = 3008 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_2 : xmlParserErrors = 3009 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_ST_PROPS_CORRECT_3 : xmlParserErrors = 3010 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_1 : xmlParserErrors = 3011 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_2 : xmlParserErrors = 3012 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_3_1 : xmlParserErrors = 3013 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_1_3_2 : xmlParserErrors = 3014 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_1 : xmlParserErrors = 3015 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_1 : xmlParserErrors = 3016 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_2 : xmlParserErrors = 3017 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_1 : xmlParserErrors = 3018 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_2 : xmlParserErrors = 3019 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_3 : xmlParserErrors = 3020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_4 : xmlParserErrors = 3021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_5 : xmlParserErrors = 3022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_1 : xmlParserErrors = 3023 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1 : xmlParserErrors = 3024 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1_2 : xmlParserErrors = 3025 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_2 : xmlParserErrors = 3026 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_1 : xmlParserErrors = 3027 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_3 : xmlParserErrors = 3028 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_4 : xmlParserErrors = 3029 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_5 : xmlParserErrors = 3030 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_DERIVED_OK_2_1 : xmlParserErrors = 3031 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ST_DERIVED_OK_2_2 : xmlParserErrors = 3032 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ELEM_NOT_ALLOWED : xmlParserErrors = 3033 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ELEM_MISSING : xmlParserErrors = 3034 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_NOT_ALLOWED : xmlParserErrors = 3035 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_MISSING : xmlParserErrors = 3036 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_S4S_ATTR_INVALID_VALUE : xmlParserErrors = 3037 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_1 : xmlParserErrors = 3038 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_2_1 : xmlParserErrors = 3039 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_2_2 : xmlParserErrors = 3040 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ELEMENT_3 : xmlParserErrors = 3041 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_1 : xmlParserErrors = 3042 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_2_1 : xmlParserErrors = 3043 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_P_PROPS_CORRECT_2_2 : xmlParserErrors = 3044 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_2 : xmlParserErrors = 3045 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_3 : xmlParserErrors = 3046 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_4 : xmlParserErrors = 3047 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_5 : xmlParserErrors = 3048 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_E_PROPS_CORRECT_6 : xmlParserErrors = 3049 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_INCLUDE : xmlParserErrors = 3050 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_1 : xmlParserErrors = 3051 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_2 : xmlParserErrors = 3052 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_3_1 : xmlParserErrors = 3053 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_3_2 : xmlParserErrors = 3054 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_4 : xmlParserErrors = 3055 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NO_XMLNS : xmlParserErrors = 3056 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NO_XSI : xmlParserErrors = 3057 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_1 : xmlParserErrors = 3058 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_1 : xmlParserErrors = 3059 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_2_1 : xmlParserErrors = 3060 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_VALID_DEFAULT_2_2_2 : xmlParserErrors = 3061 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_CVC_SIMPLE_TYPE : xmlParserErrors = 3062 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_1 : xmlParserErrors = 3063 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_1_1 : xmlParserErrors = 3064 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_1_2 : xmlParserErrors = 3065 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2 : xmlParserErrors = 3066 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2_1 : xmlParserErrors = 3067 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT_2_2 : xmlParserErrors = 3068 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_INTERNAL : xmlParserErrors = 3069 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_NOT_DETERMINISTIC : xmlParserErrors = 3070 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_1 : xmlParserErrors = 3071 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_2 : xmlParserErrors = 3072 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_3 : xmlParserErrors = 3073 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MG_PROPS_CORRECT_1 : xmlParserErrors = 3074 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_MG_PROPS_CORRECT_2 : xmlParserErrors = 3075 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_CT_1 : xmlParserErrors = 3076 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_3 : xmlParserErrors = 3077 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AU_PROPS_CORRECT_2 : xmlParserErrors = 3078 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_A_PROPS_CORRECT_2 : xmlParserErrors = 3079 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_C_PROPS_CORRECT : xmlParserErrors = 3080 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_REDEFINE : xmlParserErrors = 3081 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_SRC_IMPORT : xmlParserErrors = 3082 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_SKIP_SCHEMA : xmlParserErrors = 3083 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_UNLOCATED_SCHEMA : xmlParserErrors = 3084 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_ATTR_REDECL_PROH : xmlParserErrors = 3085 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_WARN_ATTR_POINTLESS_PROH : xmlParserErrors = 3086 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AG_PROPS_CORRECT : xmlParserErrors = 3087 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_CT_EXTENDS_1_2 : xmlParserErrors = 3088 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_AU_PROPS_CORRECT : xmlParserErrors = 3089 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_A_PROPS_CORRECT_3 : xmlParserErrors = 3090 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMAP_COS_ALL_LIMITED : xmlParserErrors = 3091 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMATRONV_ASSERT : xmlParserErrors = 4000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_SCHEMATRONV_REPORT : xmlParserErrors = 4001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_MODULE_OPEN : xmlParserErrors = 4900 ; # [doc = " File not found."] pub const xmlParserErrors_XML_MODULE_CLOSE : xmlParserErrors = 4901 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ELEMENT : xmlParserErrors = 5000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ATTRIBUTE : xmlParserErrors = 5001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_TEXT : xmlParserErrors = 5002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_CDATA : xmlParserErrors = 5003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ENTITYREF : xmlParserErrors = 5004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_ENTITY : xmlParserErrors = 5005 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_PI : xmlParserErrors = 5006 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_COMMENT : xmlParserErrors = 5007 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_DOCTYPE : xmlParserErrors = 5008 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_FRAGMENT : xmlParserErrors = 5009 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_FOUND_NOTATION : xmlParserErrors = 5010 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_UNKNOWN_NODE : xmlParserErrors = 5011 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_ENTITY_TYPE : xmlParserErrors = 5012 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_PARENT : xmlParserErrors = 5013 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_DOC : xmlParserErrors = 5014 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_NAME : xmlParserErrors = 5015 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_ELEM : xmlParserErrors = 5016 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_DOC : xmlParserErrors = 5017 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_PREV : xmlParserErrors = 5018 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_PREV : xmlParserErrors = 5019 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_NEXT : xmlParserErrors = 5020 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_NEXT : xmlParserErrors = 5021 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_DTD : xmlParserErrors = 5022 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ATTR : xmlParserErrors = 5023 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ATTR_DECL : xmlParserErrors = 5024 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ELEM_DECL : xmlParserErrors = 5025 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_ENTITY_DECL : xmlParserErrors = 5026 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_NS_DECL : xmlParserErrors = 5027 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_HREF : xmlParserErrors = 5028 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_PARENT : xmlParserErrors = 5029 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NS_SCOPE : xmlParserErrors = 5030 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NS_ANCESTOR : xmlParserErrors = 5031 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_UTF8 : xmlParserErrors = 5032 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NO_DICT : xmlParserErrors = 5033 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NOT_NCNAME : xmlParserErrors = 5034 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_OUTSIDE_DICT : xmlParserErrors = 5035 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_WRONG_NAME : xmlParserErrors = 5036 ; # [doc = " File not found."] pub const xmlParserErrors_XML_CHECK_NAME_NOT_NULL : xmlParserErrors = 5037 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_NAME : xmlParserErrors = 6000 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_HANDLER : xmlParserErrors = 6001 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_EXCESS_HANDLER : xmlParserErrors = 6002 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_CONV_FAILED : xmlParserErrors = 6003 ; # [doc = " File not found."] pub const xmlParserErrors_XML_I18N_NO_OUTPUT : xmlParserErrors = 6004 ; # [doc = " File not found."] pub const xmlParserErrors_XML_BUF_OVERFLOW : xmlParserErrors = 7000 ; # [doc = " Error codes. Note that only some codes are documented."] pub type xmlParserErrors = :: std :: os :: raw :: c_uint ; # [doc = " Generic error callback.\n\n @deprecated in favor of structured errors.\n @param ctx  user data\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlGenericErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Structured error callback receiving an xmlError.\n\n @param userData  user provided data for the error callback\n @param error  the error being raised"] pub type xmlStructuredErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (userData : * mut :: std :: os :: raw :: c_void , error : * const xmlError) > ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlLastError () -> * const xmlError ; } unsafe extern "C" { pub fn __xmlGenericError () -> * mut xmlGenericErrorFunc ; } unsafe extern "C" { pub fn __xmlGenericErrorContext () -> * mut * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn __xmlStructuredError () -> * mut xmlStructuredErrorFunc ; } unsafe extern "C" { pub fn __xmlStructuredErrorContext () -> * mut * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlSetGenericErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlGenericErrorFunc) ; } unsafe extern "C" { pub fn xmlSetStructuredErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlStructuredErrorFunc) ; } unsafe extern "C" { pub fn xmlThrDefSetGenericErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlGenericErrorFunc) ; } unsafe extern "C" { pub fn xmlThrDefSetStructuredErrorFunc (ctx : * mut :: std :: os :: raw :: c_void , handler : xmlStructuredErrorFunc) ; } unsafe extern "C" { pub fn xmlParserError (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserWarning (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserValidityError (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserValidityWarning (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) ; } unsafe extern "C" { pub fn xmlParserPrintFileInfo (input : * mut _xmlParserInput) ; } unsafe extern "C" { pub fn xmlParserPrintFileContext (input : * mut _xmlParserInput) ; } unsafe extern "C" { pub fn xmlFormatError (err : * const xmlError , channel : xmlGenericErrorFunc , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlGetLastError () -> * const xmlError ; } unsafe extern "C" { pub fn xmlResetLastError () ; } unsafe extern "C" { pub fn xmlCtxtGetLastError (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlError ; } unsafe extern "C" { pub fn xmlCtxtResetLastError (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlResetError (err : * mut xmlError) ; } unsafe extern "C" { pub fn xmlCopyError (from : * const xmlError , to : * mut xmlError) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlLink { _unused : [u8 ; 0] , } # [doc = " Linked list item\n\n @deprecated Don't use in new code."] pub type xmlLink = _xmlLink ; pub type xmlLinkPtr = * mut xmlLink ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlList { _unused : [u8 ; 0] , } # [doc = " Linked list\n\n @deprecated Don't use in new code."] pub type xmlList = _xmlList ; pub type xmlListPtr = * mut xmlList ; # [doc = " Callback function used to free data from a list.\n\n @param lk  the data to deallocate"] pub type xmlListDeallocator = :: std :: option :: Option < unsafe extern "C" fn (lk : * mut xmlLink) > ; # [doc = " Callback function used to compare 2 data.\n\n @param data0  the first data\n @param data1  the second data\n @returns 0 is equality, -1 or 1 otherwise depending on the ordering."] pub type xmlListDataCompare = :: std :: option :: Option < unsafe extern "C" fn (data0 : * const :: std :: os :: raw :: c_void , data1 : * const :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback function used when walking a list with #xmlListWalk.\n\n @param data  the data found in the list\n @param user  extra user provided data to the walker\n @returns 0 to stop walking the list, 1 otherwise."] pub type xmlListWalker = :: std :: option :: Option < unsafe extern "C" fn (data : * const :: std :: os :: raw :: c_void , user : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; unsafe extern "C" { pub fn xmlListCreate (deallocator : xmlListDeallocator , compare : xmlListDataCompare) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlListDelete (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListSearch (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlListReverseSearch (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlListInsert (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListAppend (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveFirst (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveLast (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListRemoveAll (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListClear (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListEmpty (l : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListFront (l : * mut xmlList) -> * mut xmlLink ; } unsafe extern "C" { pub fn xmlListEnd (l : * mut xmlList) -> * mut xmlLink ; } unsafe extern "C" { pub fn xmlListSize (l : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListPopFront (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListPopBack (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListPushFront (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListPushBack (l : * mut xmlList , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlListReverse (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListSort (l : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListWalk (l : * mut xmlList , walker : xmlListWalker , user : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlListReverseWalk (l : * mut xmlList , walker : xmlListWalker , user : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlListMerge (l1 : * mut xmlList , l2 : * mut xmlList) ; } unsafe extern "C" { pub fn xmlListDup (old : * mut xmlList) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlListCopy (cur : * mut xmlList , old : * mut xmlList) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlLinkGetData (lk : * mut xmlLink) -> * mut :: std :: os :: raw :: c_void ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAutomata { _unused : [u8 ; 0] , } # [doc = " A libxml automata description\n\n It can be compiled into a regexp"] pub type xmlAutomata = _xmlAutomata ; pub type xmlAutomataPtr = * mut xmlAutomata ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAutomataState { _unused : [u8 ; 0] , } # [doc = " A state in the automata description"] pub type xmlAutomataState = _xmlAutomataState ; pub type xmlAutomataStatePtr = * mut xmlAutomataState ; unsafe extern "C" { pub fn xmlNewAutomata () -> * mut xmlAutomata ; } unsafe extern "C" { pub fn xmlFreeAutomata (am : * mut xmlAutomata) ; } unsafe extern "C" { pub fn xmlAutomataGetInitState (am : * mut xmlAutomata) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataSetFinalState (am : * mut xmlAutomata , state : * mut xmlAutomataState) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAutomataNewState (am : * mut xmlAutomata) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewTransition (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewTransition2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewNegTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountTrans2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewOnceTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewOnceTrans2 (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , token : * const xmlChar , token2 : * const xmlChar , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewAllTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , lax : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewEpsilon (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCountedTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , counter : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCounterTrans (am : * mut xmlAutomata , from : * mut xmlAutomataState , to : * mut xmlAutomataState , counter : :: std :: os :: raw :: c_int) -> * mut xmlAutomataState ; } unsafe extern "C" { pub fn xmlAutomataNewCounter (am : * mut xmlAutomata , min : :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAutomataCompile (am : * mut xmlAutomata) -> * mut _xmlRegexp ; } unsafe extern "C" { pub fn xmlAutomataIsDeterminist (am : * mut xmlAutomata) -> :: std :: os :: raw :: c_int ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlValidState { _unused : [u8 ; 0] , } pub type xmlValidState = _xmlValidState ; pub type xmlValidStatePtr = * mut xmlValidState ; # [doc = " Report a validity error.\n\n @param ctx  user data (usually an xmlValidCtxt)\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlValidityErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Report a validity warning.\n\n @param ctx  user data (usually an xmlValidCtxt)\n @param msg  printf-like format string\n @param ...  arguments to format"] pub type xmlValidityWarningFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " An xmlValidCtxt is used for error reporting when validating."] pub type xmlValidCtxt = _xmlValidCtxt ; pub type xmlValidCtxtPtr = * mut xmlValidCtxt ; # [doc = " An xmlValidCtxt is used for error reporting when validating."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlValidCtxt { pub userData : * mut :: std :: os :: raw :: c_void , pub error : xmlValidityErrorFunc , pub warning : xmlValidityWarningFunc , pub node : * mut xmlNode , pub nodeNr : :: std :: os :: raw :: c_int , pub nodeMax : :: std :: os :: raw :: c_int , pub nodeTab : * mut * mut xmlNode , pub flags : :: std :: os :: raw :: c_uint , pub doc : * mut xmlDoc , pub valid : :: std :: os :: raw :: c_int , pub vstate : * mut xmlValidState , pub vstateNr : :: std :: os :: raw :: c_int , pub vstateMax : :: std :: os :: raw :: c_int , pub vstateTab : * mut xmlValidState , pub am : * mut xmlAutomata , pub state : * mut xmlAutomataState , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlValidCtxt"] [:: std :: mem :: size_of :: < _xmlValidCtxt > () - 112usize] ; ["Alignment of _xmlValidCtxt"] [:: std :: mem :: align_of :: < _xmlValidCtxt > () - 8usize] ; ["Offset of field: _xmlValidCtxt::userData"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , userData) - 0usize] ; ["Offset of field: _xmlValidCtxt::error"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , error) - 8usize] ; ["Offset of field: _xmlValidCtxt::warning"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , warning) - 16usize] ; ["Offset of field: _xmlValidCtxt::node"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , node) - 24usize] ; ["Offset of field: _xmlValidCtxt::nodeNr"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeNr) - 32usize] ; ["Offset of field: _xmlValidCtxt::nodeMax"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeMax) - 36usize] ; ["Offset of field: _xmlValidCtxt::nodeTab"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , nodeTab) - 40usize] ; ["Offset of field: _xmlValidCtxt::flags"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , flags) - 48usize] ; ["Offset of field: _xmlValidCtxt::doc"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , doc) - 56usize] ; ["Offset of field: _xmlValidCtxt::valid"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , valid) - 64usize] ; ["Offset of field: _xmlValidCtxt::vstate"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstate) - 72usize] ; ["Offset of field: _xmlValidCtxt::vstateNr"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateNr) - 80usize] ; ["Offset of field: _xmlValidCtxt::vstateMax"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateMax) - 84usize] ; ["Offset of field: _xmlValidCtxt::vstateTab"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , vstateTab) - 88usize] ; ["Offset of field: _xmlValidCtxt::am"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , am) - 96usize] ; ["Offset of field: _xmlValidCtxt::state"] [:: std :: mem :: offset_of ! (_xmlValidCtxt , state) - 104usize] ; } ; pub type xmlNotationTable = _xmlHashTable ; pub type xmlNotationTablePtr = * mut xmlNotationTable ; pub type xmlElementTable = _xmlHashTable ; pub type xmlElementTablePtr = * mut xmlElementTable ; pub type xmlAttributeTable = _xmlHashTable ; pub type xmlAttributeTablePtr = * mut xmlAttributeTable ; pub type xmlIDTable = _xmlHashTable ; pub type xmlIDTablePtr = * mut xmlIDTable ; pub type xmlRefTable = _xmlHashTable ; pub type xmlRefTablePtr = * mut xmlRefTable ; unsafe extern "C" { pub fn xmlAddNotationDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlNotation ; } unsafe extern "C" { pub fn xmlCopyNotationTable (table : * mut xmlNotationTable) -> * mut xmlNotationTable ; } unsafe extern "C" { pub fn xmlFreeNotationTable (table : * mut xmlNotationTable) ; } unsafe extern "C" { pub fn xmlDumpNotationDecl (buf : * mut xmlBuffer , nota : * mut xmlNotation) ; } unsafe extern "C" { pub fn xmlDumpNotationTable (buf : * mut xmlBuffer , table : * mut xmlNotationTable) ; } unsafe extern "C" { pub fn xmlNewElementContent (name : * const xmlChar , type_ : xmlElementContentType) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlCopyElementContent (content : * mut xmlElementContent) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlFreeElementContent (cur : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlNewDocElementContent (doc : * mut xmlDoc , name : * const xmlChar , type_ : xmlElementContentType) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlCopyDocElementContent (doc : * mut xmlDoc , content : * mut xmlElementContent) -> * mut xmlElementContent ; } unsafe extern "C" { pub fn xmlFreeDocElementContent (doc : * mut xmlDoc , cur : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlSnprintfElementContent (buf : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , content : * mut xmlElementContent , englob : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSprintfElementContent (buf : * mut :: std :: os :: raw :: c_char , content : * mut xmlElementContent , englob : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlAddElementDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , name : * const xmlChar , type_ : xmlElementTypeVal , content : * mut xmlElementContent) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlCopyElementTable (table : * mut xmlElementTable) -> * mut xmlElementTable ; } unsafe extern "C" { pub fn xmlFreeElementTable (table : * mut xmlElementTable) ; } unsafe extern "C" { pub fn xmlDumpElementTable (buf : * mut xmlBuffer , table : * mut xmlElementTable) ; } unsafe extern "C" { pub fn xmlDumpElementDecl (buf : * mut xmlBuffer , elem : * mut xmlElement) ; } unsafe extern "C" { pub fn xmlCreateEnumeration (name : * const xmlChar) -> * mut xmlEnumeration ; } unsafe extern "C" { pub fn xmlFreeEnumeration (cur : * mut xmlEnumeration) ; } unsafe extern "C" { pub fn xmlCopyEnumeration (cur : * mut xmlEnumeration) -> * mut xmlEnumeration ; } unsafe extern "C" { pub fn xmlAddAttributeDecl (ctxt : * mut xmlValidCtxt , dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar , ns : * const xmlChar , type_ : xmlAttributeType , def : xmlAttributeDefault , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlCopyAttributeTable (table : * mut xmlAttributeTable) -> * mut xmlAttributeTable ; } unsafe extern "C" { pub fn xmlFreeAttributeTable (table : * mut xmlAttributeTable) ; } unsafe extern "C" { pub fn xmlDumpAttributeTable (buf : * mut xmlBuffer , table : * mut xmlAttributeTable) ; } unsafe extern "C" { pub fn xmlDumpAttributeDecl (buf : * mut xmlBuffer , attr : * mut xmlAttribute) ; } unsafe extern "C" { pub fn xmlAddIDSafe (attr : * mut xmlAttr , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddID (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , value : * const xmlChar , attr : * mut xmlAttr) -> * mut xmlID ; } unsafe extern "C" { pub fn xmlFreeIDTable (table : * mut xmlIDTable) ; } unsafe extern "C" { pub fn xmlGetID (doc : * mut xmlDoc , ID : * const xmlChar) -> * mut xmlAttr ; } unsafe extern "C" { pub fn xmlIsID (doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveID (doc : * mut xmlDoc , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddRef (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , value : * const xmlChar , attr : * mut xmlAttr) -> * mut xmlRef ; } unsafe extern "C" { pub fn xmlFreeRefTable (table : * mut xmlRefTable) ; } unsafe extern "C" { pub fn xmlIsRef (doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRemoveRef (doc : * mut xmlDoc , attr : * mut xmlAttr) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetRefs (doc : * mut xmlDoc , ID : * const xmlChar) -> * mut xmlList ; } unsafe extern "C" { pub fn xmlNewValidCtxt () -> * mut xmlValidCtxt ; } unsafe extern "C" { pub fn xmlFreeValidCtxt (arg1 : * mut xmlValidCtxt) ; } unsafe extern "C" { pub fn xmlValidateRoot (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateElementDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlElement) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidNormalizeAttributeValue (doc : * mut xmlDoc , elem : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlValidCtxtNormalizeAttributeValue (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , name : * const xmlChar , value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlValidateAttributeDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , attr : * mut xmlAttribute) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateAttributeValue (type_ : xmlAttributeType , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNotationDecl (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , nota : * mut xmlNotation) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDtd (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , dtd : * mut xmlDtd) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDtdFinal (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDocument (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneAttribute (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , attr : * mut xmlAttr , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateOneNamespace (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , prefix : * const xmlChar , ns : * mut xmlNs , value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateDocumentFinal (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNotationUse (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , notationName : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsMixedElement (doc : * mut xmlDoc , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetDtdAttrDesc (dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlGetDtdQAttrDesc (dtd : * mut xmlDtd , elem : * const xmlChar , name : * const xmlChar , prefix : * const xmlChar) -> * mut xmlAttribute ; } unsafe extern "C" { pub fn xmlGetDtdNotationDesc (dtd : * mut xmlDtd , name : * const xmlChar) -> * mut xmlNotation ; } unsafe extern "C" { pub fn xmlGetDtdQElementDesc (dtd : * mut xmlDtd , name : * const xmlChar , prefix : * const xmlChar) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlGetDtdElementDesc (dtd : * mut xmlDtd , name : * const xmlChar) -> * mut xmlElement ; } unsafe extern "C" { pub fn xmlValidGetPotentialChildren (ctree : * mut xmlElementContent , names : * mut * const xmlChar , len : * mut :: std :: os :: raw :: c_int , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidGetValidElements (prev : * mut xmlNode , next : * mut xmlNode , names : * mut * const xmlChar , max : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNameValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNamesValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNmtokenValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidateNmtokensValue (value : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidBuildContentModel (ctxt : * mut xmlValidCtxt , elem : * mut xmlElement) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePushElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , qname : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePushCData (ctxt : * mut xmlValidCtxt , data : * const xmlChar , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlValidatePopElement (ctxt : * mut xmlValidCtxt , doc : * mut xmlDoc , elem : * mut xmlNode , qname : * const xmlChar) -> :: std :: os :: raw :: c_int ; } # [doc = " internal general entity"] pub const xmlEntityType_XML_INTERNAL_GENERAL_ENTITY : xmlEntityType = 1 ; # [doc = " external general parsed entity"] pub const xmlEntityType_XML_EXTERNAL_GENERAL_PARSED_ENTITY : xmlEntityType = 2 ; # [doc = " external general unparsed entity"] pub const xmlEntityType_XML_EXTERNAL_GENERAL_UNPARSED_ENTITY : xmlEntityType = 3 ; # [doc = " internal parameter entity"] pub const xmlEntityType_XML_INTERNAL_PARAMETER_ENTITY : xmlEntityType = 4 ; # [doc = " external parameter entity"] pub const xmlEntityType_XML_EXTERNAL_PARAMETER_ENTITY : xmlEntityType = 5 ; # [doc = " internal predefined entity"] pub const xmlEntityType_XML_INTERNAL_PREDEFINED_ENTITY : xmlEntityType = 6 ; # [doc = " The different entity types."] pub type xmlEntityType = :: std :: os :: raw :: c_uint ; # [doc = " An entity declaration"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlEntity { # [doc = " application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " XML_ENTITY_DECL, must be second !"] pub type_ : xmlElementType , # [doc = " Entity name"] pub name : * const xmlChar , # [doc = " First child link"] pub children : * mut _xmlNode , # [doc = " Last child link"] pub last : * mut _xmlNode , # [doc = " -> DTD"] pub parent : * mut _xmlDtd , # [doc = " next sibling link"] pub next : * mut _xmlNode , # [doc = " previous sibling link"] pub prev : * mut _xmlNode , # [doc = " the containing document"] pub doc : * mut _xmlDoc , # [doc = " content without ref substitution"] pub orig : * mut xmlChar , # [doc = " content or ndata if unparsed"] pub content : * mut xmlChar , # [doc = " the content length"] pub length : :: std :: os :: raw :: c_int , # [doc = " The entity type"] pub etype : xmlEntityType , # [doc = " External identifier for PUBLIC"] pub ExternalID : * const xmlChar , # [doc = " URI for a SYSTEM or PUBLIC Entity"] pub SystemID : * const xmlChar , # [doc = " unused"] pub nexte : * mut _xmlEntity , # [doc = " the full URI as computed"] pub URI : * const xmlChar , # [doc = " unused"] pub owner : :: std :: os :: raw :: c_int , # [doc = " various flags"] pub flags : :: std :: os :: raw :: c_int , # [doc = " expanded size"] pub expandedSize : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlEntity"] [:: std :: mem :: size_of :: < _xmlEntity > () - 144usize] ; ["Alignment of _xmlEntity"] [:: std :: mem :: align_of :: < _xmlEntity > () - 8usize] ; ["Offset of field: _xmlEntity::_private"] [:: std :: mem :: offset_of ! (_xmlEntity , _private) - 0usize] ; ["Offset of field: _xmlEntity::type_"] [:: std :: mem :: offset_of ! (_xmlEntity , type_) - 8usize] ; ["Offset of field: _xmlEntity::name"] [:: std :: mem :: offset_of ! (_xmlEntity , name) - 16usize] ; ["Offset of field: _xmlEntity::children"] [:: std :: mem :: offset_of ! (_xmlEntity , children) - 24usize] ; ["Offset of field: _xmlEntity::last"] [:: std :: mem :: offset_of ! (_xmlEntity , last) - 32usize] ; ["Offset of field: _xmlEntity::parent"] [:: std :: mem :: offset_of ! (_xmlEntity , parent) - 40usize] ; ["Offset of field: _xmlEntity::next"] [:: std :: mem :: offset_of ! (_xmlEntity , next) - 48usize] ; ["Offset of field: _xmlEntity::prev"] [:: std :: mem :: offset_of ! (_xmlEntity , prev) - 56usize] ; ["Offset of field: _xmlEntity::doc"] [:: std :: mem :: offset_of ! (_xmlEntity , doc) - 64usize] ; ["Offset of field: _xmlEntity::orig"] [:: std :: mem :: offset_of ! (_xmlEntity , orig) - 72usize] ; ["Offset of field: _xmlEntity::content"] [:: std :: mem :: offset_of ! (_xmlEntity , content) - 80usize] ; ["Offset of field: _xmlEntity::length"] [:: std :: mem :: offset_of ! (_xmlEntity , length) - 88usize] ; ["Offset of field: _xmlEntity::etype"] [:: std :: mem :: offset_of ! (_xmlEntity , etype) - 92usize] ; ["Offset of field: _xmlEntity::ExternalID"] [:: std :: mem :: offset_of ! (_xmlEntity , ExternalID) - 96usize] ; ["Offset of field: _xmlEntity::SystemID"] [:: std :: mem :: offset_of ! (_xmlEntity , SystemID) - 104usize] ; ["Offset of field: _xmlEntity::nexte"] [:: std :: mem :: offset_of ! (_xmlEntity , nexte) - 112usize] ; ["Offset of field: _xmlEntity::URI"] [:: std :: mem :: offset_of ! (_xmlEntity , URI) - 120usize] ; ["Offset of field: _xmlEntity::owner"] [:: std :: mem :: offset_of ! (_xmlEntity , owner) - 128usize] ; ["Offset of field: _xmlEntity::flags"] [:: std :: mem :: offset_of ! (_xmlEntity , flags) - 132usize] ; ["Offset of field: _xmlEntity::expandedSize"] [:: std :: mem :: offset_of ! (_xmlEntity , expandedSize) - 136usize] ; } ; pub type xmlEntitiesTable = _xmlHashTable ; pub type xmlEntitiesTablePtr = * mut xmlEntitiesTable ; unsafe extern "C" { pub fn xmlNewEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlFreeEntity (entity : * mut xmlEntity) ; } unsafe extern "C" { pub fn xmlAddEntity (doc : * mut xmlDoc , extSubset : :: std :: os :: raw :: c_int , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar , out : * mut * mut xmlEntity) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlAddDocEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlAddDtdEntity (doc : * mut xmlDoc , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetPredefinedEntity (name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetDocEntity (doc : * const xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetDtdEntity (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlGetParameterEntity (doc : * mut xmlDoc , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlEncodeEntitiesReentrant (doc : * mut xmlDoc , input : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlEncodeSpecialChars (doc : * const xmlDoc , input : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCreateEntitiesTable () -> * mut xmlEntitiesTable ; } unsafe extern "C" { pub fn xmlCopyEntitiesTable (table : * mut xmlEntitiesTable) -> * mut xmlEntitiesTable ; } unsafe extern "C" { pub fn xmlFreeEntitiesTable (table : * mut xmlEntitiesTable) ; } unsafe extern "C" { pub fn xmlDumpEntitiesTable (buf : * mut xmlBuffer , table : * mut xmlEntitiesTable) ; } unsafe extern "C" { pub fn xmlDumpEntityDecl (buf : * mut xmlBuffer , ent : * mut xmlEntity) ; } # [doc = " Success"] pub const xmlCharEncError_XML_ENC_ERR_SUCCESS : xmlCharEncError = 0 ; # [doc = " Internal or unclassified error"] pub const xmlCharEncError_XML_ENC_ERR_INTERNAL : xmlCharEncError = - 1 ; # [doc = " Invalid or untranslatable input sequence"] pub const xmlCharEncError_XML_ENC_ERR_INPUT : xmlCharEncError = - 2 ; # [doc = " Not enough space in output buffer"] pub const xmlCharEncError_XML_ENC_ERR_SPACE : xmlCharEncError = - 3 ; # [doc = " Out-of-memory error"] pub const xmlCharEncError_XML_ENC_ERR_MEMORY : xmlCharEncError = - 4 ; # [doc = " Encoding conversion errors"] pub type xmlCharEncError = :: std :: os :: raw :: c_int ; # [doc = " No char encoding detected"] pub const xmlCharEncoding_XML_CHAR_ENCODING_ERROR : xmlCharEncoding = - 1 ; # [doc = " No char encoding detected"] pub const xmlCharEncoding_XML_CHAR_ENCODING_NONE : xmlCharEncoding = 0 ; # [doc = " UTF-8"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF8 : xmlCharEncoding = 1 ; # [doc = " UTF-16 little endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16LE : xmlCharEncoding = 2 ; # [doc = " UTF-16 big endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16BE : xmlCharEncoding = 3 ; # [doc = " UCS-4 little endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4LE : xmlCharEncoding = 4 ; # [doc = " UCS-4 big endian"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4BE : xmlCharEncoding = 5 ; # [doc = " EBCDIC uh!"] pub const xmlCharEncoding_XML_CHAR_ENCODING_EBCDIC : xmlCharEncoding = 6 ; # [doc = " UCS-4 unusual ordering"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4_2143 : xmlCharEncoding = 7 ; # [doc = " UCS-4 unusual ordering"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS4_3412 : xmlCharEncoding = 8 ; # [doc = " UCS-2"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UCS2 : xmlCharEncoding = 9 ; # [doc = " ISO-8859-1 ISO Latin 1"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_1 : xmlCharEncoding = 10 ; # [doc = " ISO-8859-2 ISO Latin 2"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_2 : xmlCharEncoding = 11 ; # [doc = " ISO-8859-3"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_3 : xmlCharEncoding = 12 ; # [doc = " ISO-8859-4"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_4 : xmlCharEncoding = 13 ; # [doc = " ISO-8859-5"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_5 : xmlCharEncoding = 14 ; # [doc = " ISO-8859-6"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_6 : xmlCharEncoding = 15 ; # [doc = " ISO-8859-7"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_7 : xmlCharEncoding = 16 ; # [doc = " ISO-8859-8"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_8 : xmlCharEncoding = 17 ; # [doc = " ISO-8859-9"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_9 : xmlCharEncoding = 18 ; # [doc = " ISO-2022-JP"] pub const xmlCharEncoding_XML_CHAR_ENCODING_2022_JP : xmlCharEncoding = 19 ; # [doc = " Shift_JIS"] pub const xmlCharEncoding_XML_CHAR_ENCODING_SHIFT_JIS : xmlCharEncoding = 20 ; # [doc = " EUC-JP"] pub const xmlCharEncoding_XML_CHAR_ENCODING_EUC_JP : xmlCharEncoding = 21 ; # [doc = " pure ASCII"] pub const xmlCharEncoding_XML_CHAR_ENCODING_ASCII : xmlCharEncoding = 22 ; # [doc = " UTF-16 native, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_UTF16 : xmlCharEncoding = 23 ; # [doc = " HTML (output only), available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_HTML : xmlCharEncoding = 24 ; # [doc = " ISO-8859-10, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_10 : xmlCharEncoding = 25 ; # [doc = " ISO-8859-11, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_11 : xmlCharEncoding = 26 ; # [doc = " ISO-8859-13, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_13 : xmlCharEncoding = 27 ; # [doc = " ISO-8859-14, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_14 : xmlCharEncoding = 28 ; # [doc = " ISO-8859-15, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_15 : xmlCharEncoding = 29 ; # [doc = " ISO-8859-16, available since 2.14"] pub const xmlCharEncoding_XML_CHAR_ENCODING_8859_16 : xmlCharEncoding = 30 ; # [doc = " windows-1252, available since 2.15"] pub const xmlCharEncoding_XML_CHAR_ENCODING_WINDOWS_1252 : xmlCharEncoding = 31 ; # [doc = " Predefined values for some standard encodings."] pub type xmlCharEncoding = :: std :: os :: raw :: c_int ; # [doc = " Create converter for input (conversion to UTF-8)"] pub const xmlCharEncFlags_XML_ENC_INPUT : xmlCharEncFlags = 1 ; # [doc = " Create converter for output (conversion from UTF-8)"] pub const xmlCharEncFlags_XML_ENC_OUTPUT : xmlCharEncFlags = 2 ; # [doc = " Use HTML5 mappings"] pub const xmlCharEncFlags_XML_ENC_HTML : xmlCharEncFlags = 4 ; # [doc = " Encoding conversion flags"] pub type xmlCharEncFlags = :: std :: os :: raw :: c_uint ; # [doc = " Convert characters to UTF-8.\n\n On success, the value of `inlen` after return is the number of\n bytes consumed and `outlen` is the number of bytes produced.\n\n @param out  a pointer to an array of bytes to store the UTF-8 result\n @param outlen  the length of `out`\n @param in  a pointer to an array of chars in the original encoding\n @param inlen  the length of `in`\n @returns the number of bytes written or an xmlCharEncError code."] pub type xmlCharEncodingInputFunc = :: std :: option :: Option < unsafe extern "C" fn (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Convert characters from UTF-8.\n\n On success, the value of `inlen` after return is the number of\n bytes consumed and `outlen` is the number of bytes produced.\n\n @param out  a pointer to an array of bytes to store the result\n @param outlen  the length of `out`\n @param in  a pointer to an array of UTF-8 chars\n @param inlen  the length of `in`\n @returns the number of bytes written or an xmlCharEncError code."] pub type xmlCharEncodingOutputFunc = :: std :: option :: Option < unsafe extern "C" fn (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Convert between character encodings.\n\n The value of `inlen` after return is the number of bytes consumed\n and `outlen` is the number of bytes produced.\n\n If the converter can consume partial multi-byte sequences, the\n `flush` flag can be used to detect truncated sequences at EOF.\n Otherwise, the flag can be ignored.\n\n @param vctxt  conversion context\n @param out  a pointer to an array of bytes to store the result\n @param outlen  the length of `out`\n @param in  a pointer to an array of input bytes\n @param inlen  the length of `in`\n @param flush  end of input\n @returns an xmlCharEncError code."] pub type xmlCharEncConvFunc = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void , out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int , flush : :: std :: os :: raw :: c_int) -> xmlCharEncError > ; # [doc = " Free a conversion context.\n\n @param vctxt  conversion context"] pub type xmlCharEncConvCtxtDtor = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void) > ; # [doc = " Character encoding converter"] pub type xmlCharEncodingHandler = _xmlCharEncodingHandler ; pub type xmlCharEncodingHandlerPtr = * mut xmlCharEncodingHandler ; # [doc = " A character encoding conversion handler for non UTF-8 encodings.\n\n This structure will be made private."] # [repr (C)] # [derive (Copy , Clone)] pub struct _xmlCharEncodingHandler { pub name : * mut :: std :: os :: raw :: c_char , pub input : _xmlCharEncodingHandler__bindgen_ty_1 , pub output : _xmlCharEncodingHandler__bindgen_ty_2 , pub inputCtxt : * mut :: std :: os :: raw :: c_void , pub outputCtxt : * mut :: std :: os :: raw :: c_void , pub ctxtDtor : xmlCharEncConvCtxtDtor , pub flags : :: std :: os :: raw :: c_int , } # [repr (C)] # [derive (Copy , Clone)] pub union _xmlCharEncodingHandler__bindgen_ty_1 { pub func : xmlCharEncConvFunc , pub legacyFunc : xmlCharEncodingInputFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler__bindgen_ty_1"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler__bindgen_ty_1 > () - 8usize] ; ["Alignment of _xmlCharEncodingHandler__bindgen_ty_1"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler__bindgen_ty_1 > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_1::func"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_1 , func) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_1::legacyFunc"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_1 , legacyFunc) - 0usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union _xmlCharEncodingHandler__bindgen_ty_2 { pub func : xmlCharEncConvFunc , pub legacyFunc : xmlCharEncodingOutputFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler__bindgen_ty_2"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler__bindgen_ty_2 > () - 8usize] ; ["Alignment of _xmlCharEncodingHandler__bindgen_ty_2"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler__bindgen_ty_2 > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_2::func"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_2 , func) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler__bindgen_ty_2::legacyFunc"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler__bindgen_ty_2 , legacyFunc) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlCharEncodingHandler"] [:: std :: mem :: size_of :: < _xmlCharEncodingHandler > () - 56usize] ; ["Alignment of _xmlCharEncodingHandler"] [:: std :: mem :: align_of :: < _xmlCharEncodingHandler > () - 8usize] ; ["Offset of field: _xmlCharEncodingHandler::name"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , name) - 0usize] ; ["Offset of field: _xmlCharEncodingHandler::input"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , input) - 8usize] ; ["Offset of field: _xmlCharEncodingHandler::output"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , output) - 16usize] ; ["Offset of field: _xmlCharEncodingHandler::inputCtxt"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , inputCtxt) - 24usize] ; ["Offset of field: _xmlCharEncodingHandler::outputCtxt"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , outputCtxt) - 32usize] ; ["Offset of field: _xmlCharEncodingHandler::ctxtDtor"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , ctxtDtor) - 40usize] ; ["Offset of field: _xmlCharEncodingHandler::flags"] [:: std :: mem :: offset_of ! (_xmlCharEncodingHandler , flags) - 48usize] ; } ; # [doc = " If this function returns XML_ERR_OK, it must fill the `out`\n pointer with an encoding handler. The handler can be obtained\n from #xmlCharEncNewCustomHandler.\n\n `flags` can contain XML_ENC_INPUT, XML_ENC_OUTPUT or both.\n\n @param vctxt  user data\n @param name  encoding name\n @param flags  bit mask of flags\n @param out  pointer to resulting handler\n @returns an xmlParserErrors code."] pub type xmlCharEncConvImpl = :: std :: option :: Option < unsafe extern "C" fn (vctxt : * mut :: std :: os :: raw :: c_void , name : * const :: std :: os :: raw :: c_char , flags : xmlCharEncFlags , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors > ; unsafe extern "C" { pub fn xmlInitCharEncodingHandlers () ; } unsafe extern "C" { pub fn xmlCleanupCharEncodingHandlers () ; } unsafe extern "C" { pub fn xmlRegisterCharEncodingHandler (handler : * mut xmlCharEncodingHandler) ; } unsafe extern "C" { pub fn xmlLookupCharEncodingHandler (enc : xmlCharEncoding , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlOpenCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , output : :: std :: os :: raw :: c_int , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlCreateCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , flags : xmlCharEncFlags , impl_ : xmlCharEncConvImpl , implCtxt : * mut :: std :: os :: raw :: c_void , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlGetCharEncodingHandler (enc : xmlCharEncoding) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlFindCharEncodingHandler (name : * const :: std :: os :: raw :: c_char) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlNewCharEncodingHandler (name : * const :: std :: os :: raw :: c_char , input : xmlCharEncodingInputFunc , output : xmlCharEncodingOutputFunc) -> * mut xmlCharEncodingHandler ; } unsafe extern "C" { pub fn xmlCharEncNewCustomHandler (name : * const :: std :: os :: raw :: c_char , input : xmlCharEncConvFunc , output : xmlCharEncConvFunc , ctxtDtor : xmlCharEncConvCtxtDtor , inputCtxt : * mut :: std :: os :: raw :: c_void , outputCtxt : * mut :: std :: os :: raw :: c_void , out : * mut * mut xmlCharEncodingHandler) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlAddEncodingAlias (name : * const :: std :: os :: raw :: c_char , alias : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlDelEncodingAlias (alias : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlGetEncodingAlias (alias : * const :: std :: os :: raw :: c_char) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlCleanupEncodingAliases () ; } unsafe extern "C" { pub fn xmlParseCharEncoding (name : * const :: std :: os :: raw :: c_char) -> xmlCharEncoding ; } unsafe extern "C" { pub fn xmlGetCharEncodingName (enc : xmlCharEncoding) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlDetectCharEncoding (in_ : * const :: std :: os :: raw :: c_uchar , len : :: std :: os :: raw :: c_int) -> xmlCharEncoding ; } unsafe extern "C" { pub fn xmlCharEncOutFunc (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncInFunc (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncFirstLine (handler : * mut xmlCharEncodingHandler , out : * mut _xmlBuffer , in_ : * mut _xmlBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCharEncCloseFunc (handler : * mut xmlCharEncodingHandler) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlUTF8ToIsolat1 (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIsolat1ToUTF8 (out : * mut :: std :: os :: raw :: c_uchar , outlen : * mut :: std :: os :: raw :: c_int , in_ : * const :: std :: os :: raw :: c_uchar , inlen : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } # [doc = " Callback used in the I/O Input API to detect if the current handler\n can provide input functionality for this resource.\n\n @param filename  the filename or URI\n @returns 1 if yes and 0 if another Input module should be used"] pub type xmlInputMatchCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Input API to open the resource\n\n @param filename  the filename or URI\n @returns an Input context or NULL in case or error"] pub type xmlInputOpenCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback used in the I/O Input API to read the resource\n\n @param context  an Input context\n @param buffer  the buffer to store data read\n @param len  the length of the buffer in bytes\n @returns the number of bytes read or -1 in case of error"] pub type xmlInputReadCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Input API to close the resource\n\n @param context  an Input context\n @returns 0 or -1 in case of error"] pub type xmlInputCloseCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to detect if the current handler\n can provide output functionality for this resource.\n\n @param filename  the filename or URI\n @returns 1 if yes and 0 if another Output module should be used"] pub type xmlOutputMatchCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to open the resource\n\n @param filename  the filename or URI\n @returns an Output context or NULL in case or error"] pub type xmlOutputOpenCallback = :: std :: option :: Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void > ; # [doc = " Callback used in the I/O Output API to write to the resource\n\n @param context  an Output context\n @param buffer  the buffer of data to write\n @param len  the length of the buffer in bytes\n @returns the number of bytes written or -1 in case of error"] pub type xmlOutputWriteCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void , buffer : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; # [doc = " Callback used in the I/O Output API to close the resource\n\n @param context  an Output context\n @returns 0 or -1 in case of error"] pub type xmlOutputCloseCallback = :: std :: option :: Option < unsafe extern "C" fn (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " Signature for the function doing the lookup for a suitable input method\n corresponding to an URI.\n\n @param URI  the URI to read from\n @param enc  the requested source encoding\n @returns the new xmlParserInputBuffer in case of success or NULL if no\n         method was found."] pub type xmlParserInputBufferCreateFilenameFunc = :: std :: option :: Option < unsafe extern "C" fn (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer > ; # [doc = " Signature for the function doing the lookup for a suitable output method\n corresponding to an URI.\n\n @param URI  the URI to write to\n @param encoder  the requested target encoding\n @param compression  compression level\n @returns the new xmlOutputBuffer in case of success or NULL if no\n         method was found."] pub type xmlOutputBufferCreateFilenameFunc = :: std :: option :: Option < unsafe extern "C" fn (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer > ; # [doc = " Parser input buffer\n\n This struct and all related functions should ultimately\n be removed from the public interface."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserInputBuffer { pub context : * mut :: std :: os :: raw :: c_void , pub readcallback : xmlInputReadCallback , pub closecallback : xmlInputCloseCallback , pub encoder : * mut xmlCharEncodingHandler , pub buffer : * mut xmlBuf , pub raw : * mut xmlBuf , pub compressed : :: std :: os :: raw :: c_int , pub error : :: std :: os :: raw :: c_int , pub rawconsumed : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserInputBuffer"] [:: std :: mem :: size_of :: < _xmlParserInputBuffer > () - 64usize] ; ["Alignment of _xmlParserInputBuffer"] [:: std :: mem :: align_of :: < _xmlParserInputBuffer > () - 8usize] ; ["Offset of field: _xmlParserInputBuffer::context"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , context) - 0usize] ; ["Offset of field: _xmlParserInputBuffer::readcallback"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , readcallback) - 8usize] ; ["Offset of field: _xmlParserInputBuffer::closecallback"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , closecallback) - 16usize] ; ["Offset of field: _xmlParserInputBuffer::encoder"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , encoder) - 24usize] ; ["Offset of field: _xmlParserInputBuffer::buffer"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , buffer) - 32usize] ; ["Offset of field: _xmlParserInputBuffer::raw"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , raw) - 40usize] ; ["Offset of field: _xmlParserInputBuffer::compressed"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , compressed) - 48usize] ; ["Offset of field: _xmlParserInputBuffer::error"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , error) - 52usize] ; ["Offset of field: _xmlParserInputBuffer::rawconsumed"] [:: std :: mem :: offset_of ! (_xmlParserInputBuffer , rawconsumed) - 56usize] ; } ; # [doc = " Output buffer"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlOutputBuffer { pub context : * mut :: std :: os :: raw :: c_void , pub writecallback : xmlOutputWriteCallback , pub closecallback : xmlOutputCloseCallback , pub encoder : * mut xmlCharEncodingHandler , pub buffer : * mut xmlBuf , pub conv : * mut xmlBuf , pub written : :: std :: os :: raw :: c_int , pub error : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlOutputBuffer"] [:: std :: mem :: size_of :: < _xmlOutputBuffer > () - 56usize] ; ["Alignment of _xmlOutputBuffer"] [:: std :: mem :: align_of :: < _xmlOutputBuffer > () - 8usize] ; ["Offset of field: _xmlOutputBuffer::context"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , context) - 0usize] ; ["Offset of field: _xmlOutputBuffer::writecallback"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , writecallback) - 8usize] ; ["Offset of field: _xmlOutputBuffer::closecallback"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , closecallback) - 16usize] ; ["Offset of field: _xmlOutputBuffer::encoder"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , encoder) - 24usize] ; ["Offset of field: _xmlOutputBuffer::buffer"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , buffer) - 32usize] ; ["Offset of field: _xmlOutputBuffer::conv"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , conv) - 40usize] ; ["Offset of field: _xmlOutputBuffer::written"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , written) - 48usize] ; ["Offset of field: _xmlOutputBuffer::error"] [:: std :: mem :: offset_of ! (_xmlOutputBuffer , error) - 52usize] ; } ; unsafe extern "C" { # [doc = " @cond ignore"] pub fn __xmlParserInputBufferCreateFilenameValue () -> * mut xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn __xmlOutputBufferCreateFilenameValue () -> * mut xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { # [doc = " @endcond"] pub fn xmlCleanupInputCallbacks () ; } unsafe extern "C" { pub fn xmlPopInputCallbacks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterDefaultInputCallbacks () ; } unsafe extern "C" { pub fn xmlAllocParserInputBuffer (enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFile (file : * mut FILE , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFd (fd : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateMem (mem : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateStatic (mem : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateIO (ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlParserInputBufferRead (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferGrow (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferPush (in_ : * mut xmlParserInputBuffer , len : :: std :: os :: raw :: c_int , buf : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFreeParserInputBuffer (in_ : * mut xmlParserInputBuffer) ; } unsafe extern "C" { pub fn xmlParserGetDirectory (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn xmlRegisterInputCallbacks (matchFunc : xmlInputMatchCallback , openFunc : xmlInputOpenCallback , readFunc : xmlInputReadCallback , closeFunc : xmlInputCloseCallback) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlParserInputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , enc : xmlCharEncoding) -> * mut xmlParserInputBuffer ; } unsafe extern "C" { pub fn xmlCleanupOutputCallbacks () ; } unsafe extern "C" { pub fn xmlPopOutputCallbacks () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterDefaultOutputCallbacks () ; } unsafe extern "C" { pub fn xmlAllocOutputBuffer (encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFile (file : * mut FILE , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateBuffer (buffer : * mut xmlBuffer , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFd (fd : :: std :: os :: raw :: c_int , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferCreateIO (iowrite : xmlOutputWriteCallback , ioclose : xmlOutputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , encoder : * mut xmlCharEncodingHandler) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlOutputBufferGetContent (out : * mut xmlOutputBuffer) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlOutputBufferGetSize (out : * mut xmlOutputBuffer) -> usize ; } unsafe extern "C" { pub fn xmlOutputBufferWrite (out : * mut xmlOutputBuffer , len : :: std :: os :: raw :: c_int , buf : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferWriteString (out : * mut xmlOutputBuffer , str_ : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferWriteEscape (out : * mut xmlOutputBuffer , str_ : * const xmlChar , escaping : xmlCharEncodingOutputFunc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferFlush (out : * mut xmlOutputBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlOutputBufferClose (out : * mut xmlOutputBuffer) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRegisterOutputCallbacks (matchFunc : xmlOutputMatchCallback , openFunc : xmlOutputOpenCallback , writeFunc : xmlOutputWriteCallback , closeFunc : xmlOutputCloseCallback) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlOutputBufferCreateFilename (URI : * const :: std :: os :: raw :: c_char , encoder : * mut xmlCharEncodingHandler , compression : :: std :: os :: raw :: c_int) -> * mut xmlOutputBuffer ; } unsafe extern "C" { pub fn xmlCheckHTTPInput (ctxt : * mut xmlParserCtxt , ret : * mut xmlParserInput) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNoNetExternalEntityLoader (URL : * const :: std :: os :: raw :: c_char , ID : * const :: std :: os :: raw :: c_char , ctxt : * mut xmlParserCtxt) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNormalizeWindowsPath (path : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlCheckFilename (path : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileMatch (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileOpen (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlFileRead (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlFileClose (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { # [doc = " @cond IGNORE"] pub fn xmlIOHTTPMatch (filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIOHTTPOpen (filename : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlRegisterHTTPPostCallbacks () ; } unsafe extern "C" { pub fn xmlIOHTTPOpenW (post_uri : * const :: std :: os :: raw :: c_char , compression : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlIOHTTPRead (context : * mut :: std :: os :: raw :: c_void , buffer : * mut :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlIOHTTPClose (context : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputBufferCreateFilenameDefault (func : xmlParserInputBufferCreateFilenameFunc) -> xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlOutputBufferCreateFilenameDefault (func : xmlOutputBufferCreateFilenameFunc) -> xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlThrDefOutputBufferCreateFilenameDefault (func : xmlOutputBufferCreateFilenameFunc) -> xmlOutputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlThrDefParserInputBufferCreateFilenameDefault (func : xmlParserInputBufferCreateFilenameFunc) -> xmlParserInputBufferCreateFilenameFunc ; } unsafe extern "C" { pub fn xmlSAX2GetPublicId (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSAX2GetSystemId (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSAX2SetDocumentLocator (ctx : * mut :: std :: os :: raw :: c_void , loc : * mut xmlSAXLocator) ; } unsafe extern "C" { pub fn xmlSAX2GetLineNumber (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2GetColumnNumber (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2IsStandalone (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2HasInternalSubset (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2HasExternalSubset (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2InternalSubset (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2ExternalSubset (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2GetEntity (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlSAX2GetParameterEntity (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity ; } unsafe extern "C" { pub fn xmlSAX2ResolveEntity (ctx : * mut :: std :: os :: raw :: c_void , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlSAX2EntityDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * mut xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2AttributeDecl (ctx : * mut :: std :: os :: raw :: c_void , elem : * const xmlChar , fullname : * const xmlChar , type_ : :: std :: os :: raw :: c_int , def : :: std :: os :: raw :: c_int , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) ; } unsafe extern "C" { pub fn xmlSAX2ElementDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , content : * mut xmlElementContent) ; } unsafe extern "C" { pub fn xmlSAX2NotationDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2UnparsedEntityDecl (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar , notationName : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2StartDocument (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSAX2EndDocument (ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSAX2StartElement (ctx : * mut :: std :: os :: raw :: c_void , fullname : * const xmlChar , atts : * mut * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2EndElement (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2StartElementNs (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar , nb_namespaces : :: std :: os :: raw :: c_int , namespaces : * mut * const xmlChar , nb_attributes : :: std :: os :: raw :: c_int , nb_defaulted : :: std :: os :: raw :: c_int , attributes : * mut * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2EndElementNs (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Reference (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Characters (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2IgnorableWhitespace (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2ProcessingInstruction (ctx : * mut :: std :: os :: raw :: c_void , target : * const xmlChar , data : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2Comment (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar) ; } unsafe extern "C" { pub fn xmlSAX2CDataBlock (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAXDefaultVersion (version : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXVersion (hdlr : * mut xmlSAXHandler , version : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAX2InitDefaultSAXHandler (hdlr : * mut xmlSAXHandler , warning : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn xmlSAX2InitHtmlDefaultSAXHandler (hdlr : * mut xmlSAXHandler) ; } unsafe extern "C" { pub fn htmlDefaultSAXHandlerInit () ; } unsafe extern "C" { pub fn xmlDefaultSAXHandlerInit () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlMutex { _unused : [u8 ; 0] , } # [doc = " Mutual exclusion object"] pub type xmlMutex = _xmlMutex ; pub type xmlMutexPtr = * mut xmlMutex ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlRMutex { _unused : [u8 ; 0] , } # [doc = " Reentrant mutual exclusion object"] pub type xmlRMutex = _xmlRMutex ; pub type xmlRMutexPtr = * mut xmlRMutex ; unsafe extern "C" { pub fn xmlCheckThreadLocalStorage () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNewMutex () -> * mut xmlMutex ; } unsafe extern "C" { pub fn xmlMutexLock (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlMutexUnlock (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlFreeMutex (tok : * mut xmlMutex) ; } unsafe extern "C" { pub fn xmlNewRMutex () -> * mut xmlRMutex ; } unsafe extern "C" { pub fn xmlRMutexLock (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlRMutexUnlock (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlFreeRMutex (tok : * mut xmlRMutex) ; } unsafe extern "C" { pub fn xmlInitThreads () ; } unsafe extern "C" { pub fn xmlLockLibrary () ; } unsafe extern "C" { pub fn xmlUnlockLibrary () ; } unsafe extern "C" { pub fn xmlCleanupThreads () ; } # [doc = " not well-formed"] pub const xmlParserStatus_XML_STATUS_NOT_WELL_FORMED : xmlParserStatus = 1 ; # [doc = " not namespace-well-formed"] pub const xmlParserStatus_XML_STATUS_NOT_NS_WELL_FORMED : xmlParserStatus = 2 ; # [doc = " DTD validation failed"] pub const xmlParserStatus_XML_STATUS_DTD_VALIDATION_FAILED : xmlParserStatus = 4 ; # [doc = " catastrophic failure like OOM or I/O error"] pub const xmlParserStatus_XML_STATUS_CATASTROPHIC_ERROR : xmlParserStatus = 8 ; # [doc = " Status after parsing a document"] pub type xmlParserStatus = :: std :: os :: raw :: c_uint ; # [doc = " unknown"] pub const xmlResourceType_XML_RESOURCE_UNKNOWN : xmlResourceType = 0 ; # [doc = " main document"] pub const xmlResourceType_XML_RESOURCE_MAIN_DOCUMENT : xmlResourceType = 1 ; # [doc = " external DTD"] pub const xmlResourceType_XML_RESOURCE_DTD : xmlResourceType = 2 ; # [doc = " external general entity"] pub const xmlResourceType_XML_RESOURCE_GENERAL_ENTITY : xmlResourceType = 3 ; # [doc = " external parameter entity"] pub const xmlResourceType_XML_RESOURCE_PARAMETER_ENTITY : xmlResourceType = 4 ; # [doc = " XIncluded document"] pub const xmlResourceType_XML_RESOURCE_XINCLUDE : xmlResourceType = 5 ; # [doc = " XIncluded text"] pub const xmlResourceType_XML_RESOURCE_XINCLUDE_TEXT : xmlResourceType = 6 ; # [doc = " Resource type for resource loaders"] pub type xmlResourceType = :: std :: os :: raw :: c_uint ; # [doc = " The input buffer won't be changed during parsing."] pub const xmlParserInputFlags_XML_INPUT_BUF_STATIC : xmlParserInputFlags = 2 ; # [doc = " The input buffer is zero-terminated. (Note that the zero\nbyte shouldn't be included in buffer size.)"] pub const xmlParserInputFlags_XML_INPUT_BUF_ZERO_TERMINATED : xmlParserInputFlags = 4 ; # [doc = " Uncompress gzipped file input"] pub const xmlParserInputFlags_XML_INPUT_UNZIP : xmlParserInputFlags = 8 ; # [doc = " Allow network access. Unused internally."] pub const xmlParserInputFlags_XML_INPUT_NETWORK : xmlParserInputFlags = 16 ; # [doc = " Allow system catalog to resolve URIs."] pub const xmlParserInputFlags_XML_INPUT_USE_SYS_CATALOG : xmlParserInputFlags = 32 ; # [doc = " Flags for parser input"] pub type xmlParserInputFlags = :: std :: os :: raw :: c_uint ; pub type xmlParserInputDeallocate = :: std :: option :: Option < unsafe extern "C" fn (str_ : * mut xmlChar) > ; # [doc = " Parser input"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserInput { pub buf : * mut xmlParserInputBuffer , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n The filename or URI, if any"] pub filename : * const :: std :: os :: raw :: c_char , pub directory : * const :: std :: os :: raw :: c_char , pub base : * const xmlChar , # [doc = " @deprecated Use #xmlCtxtGetInputWindow\n\n Current char being parsed"] pub cur : * const xmlChar , pub end : * const xmlChar , pub length : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n Current line"] pub line : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n Current column"] pub col : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use #xmlCtxtGetInputPosition\n\n How many xmlChars already consumed"] pub consumed : :: std :: os :: raw :: c_ulong , pub free : xmlParserInputDeallocate , pub encoding : * const xmlChar , pub version : * const xmlChar , pub flags : :: std :: os :: raw :: c_int , pub id : :: std :: os :: raw :: c_int , pub parentConsumed : :: std :: os :: raw :: c_ulong , pub entity : * mut xmlEntity , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserInput"] [:: std :: mem :: size_of :: < _xmlParserInput > () - 120usize] ; ["Alignment of _xmlParserInput"] [:: std :: mem :: align_of :: < _xmlParserInput > () - 8usize] ; ["Offset of field: _xmlParserInput::buf"] [:: std :: mem :: offset_of ! (_xmlParserInput , buf) - 0usize] ; ["Offset of field: _xmlParserInput::filename"] [:: std :: mem :: offset_of ! (_xmlParserInput , filename) - 8usize] ; ["Offset of field: _xmlParserInput::directory"] [:: std :: mem :: offset_of ! (_xmlParserInput , directory) - 16usize] ; ["Offset of field: _xmlParserInput::base"] [:: std :: mem :: offset_of ! (_xmlParserInput , base) - 24usize] ; ["Offset of field: _xmlParserInput::cur"] [:: std :: mem :: offset_of ! (_xmlParserInput , cur) - 32usize] ; ["Offset of field: _xmlParserInput::end"] [:: std :: mem :: offset_of ! (_xmlParserInput , end) - 40usize] ; ["Offset of field: _xmlParserInput::length"] [:: std :: mem :: offset_of ! (_xmlParserInput , length) - 48usize] ; ["Offset of field: _xmlParserInput::line"] [:: std :: mem :: offset_of ! (_xmlParserInput , line) - 52usize] ; ["Offset of field: _xmlParserInput::col"] [:: std :: mem :: offset_of ! (_xmlParserInput , col) - 56usize] ; ["Offset of field: _xmlParserInput::consumed"] [:: std :: mem :: offset_of ! (_xmlParserInput , consumed) - 64usize] ; ["Offset of field: _xmlParserInput::free"] [:: std :: mem :: offset_of ! (_xmlParserInput , free) - 72usize] ; ["Offset of field: _xmlParserInput::encoding"] [:: std :: mem :: offset_of ! (_xmlParserInput , encoding) - 80usize] ; ["Offset of field: _xmlParserInput::version"] [:: std :: mem :: offset_of ! (_xmlParserInput , version) - 88usize] ; ["Offset of field: _xmlParserInput::flags"] [:: std :: mem :: offset_of ! (_xmlParserInput , flags) - 96usize] ; ["Offset of field: _xmlParserInput::id"] [:: std :: mem :: offset_of ! (_xmlParserInput , id) - 100usize] ; ["Offset of field: _xmlParserInput::parentConsumed"] [:: std :: mem :: offset_of ! (_xmlParserInput , parentConsumed) - 104usize] ; ["Offset of field: _xmlParserInput::entity"] [:: std :: mem :: offset_of ! (_xmlParserInput , entity) - 112usize] ; } ; # [doc = " @cond ignore"] pub type xmlParserNodeInfo = _xmlParserNodeInfo ; pub type xmlParserNodeInfoPtr = * mut xmlParserNodeInfo ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNodeInfo { pub node : * const _xmlNode , pub begin_pos : :: std :: os :: raw :: c_ulong , pub begin_line : :: std :: os :: raw :: c_ulong , pub end_pos : :: std :: os :: raw :: c_ulong , pub end_line : :: std :: os :: raw :: c_ulong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserNodeInfo"] [:: std :: mem :: size_of :: < _xmlParserNodeInfo > () - 40usize] ; ["Alignment of _xmlParserNodeInfo"] [:: std :: mem :: align_of :: < _xmlParserNodeInfo > () - 8usize] ; ["Offset of field: _xmlParserNodeInfo::node"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , node) - 0usize] ; ["Offset of field: _xmlParserNodeInfo::begin_pos"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , begin_pos) - 8usize] ; ["Offset of field: _xmlParserNodeInfo::begin_line"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , begin_line) - 16usize] ; ["Offset of field: _xmlParserNodeInfo::end_pos"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , end_pos) - 24usize] ; ["Offset of field: _xmlParserNodeInfo::end_line"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfo , end_line) - 32usize] ; } ; pub type xmlParserNodeInfoSeq = _xmlParserNodeInfoSeq ; pub type xmlParserNodeInfoSeqPtr = * mut xmlParserNodeInfoSeq ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNodeInfoSeq { pub maximum : :: std :: os :: raw :: c_ulong , pub length : :: std :: os :: raw :: c_ulong , pub buffer : * mut xmlParserNodeInfo , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserNodeInfoSeq"] [:: std :: mem :: size_of :: < _xmlParserNodeInfoSeq > () - 24usize] ; ["Alignment of _xmlParserNodeInfoSeq"] [:: std :: mem :: align_of :: < _xmlParserNodeInfoSeq > () - 8usize] ; ["Offset of field: _xmlParserNodeInfoSeq::maximum"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , maximum) - 0usize] ; ["Offset of field: _xmlParserNodeInfoSeq::length"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , length) - 8usize] ; ["Offset of field: _xmlParserNodeInfoSeq::buffer"] [:: std :: mem :: offset_of ! (_xmlParserNodeInfoSeq , buffer) - 16usize] ; } ; pub const xmlParserInputState_XML_PARSER_EOF : xmlParserInputState = - 1 ; pub const xmlParserInputState_XML_PARSER_START : xmlParserInputState = 0 ; pub const xmlParserInputState_XML_PARSER_MISC : xmlParserInputState = 1 ; pub const xmlParserInputState_XML_PARSER_PI : xmlParserInputState = 2 ; pub const xmlParserInputState_XML_PARSER_DTD : xmlParserInputState = 3 ; pub const xmlParserInputState_XML_PARSER_PROLOG : xmlParserInputState = 4 ; pub const xmlParserInputState_XML_PARSER_COMMENT : xmlParserInputState = 5 ; pub const xmlParserInputState_XML_PARSER_START_TAG : xmlParserInputState = 6 ; pub const xmlParserInputState_XML_PARSER_CONTENT : xmlParserInputState = 7 ; pub const xmlParserInputState_XML_PARSER_CDATA_SECTION : xmlParserInputState = 8 ; pub const xmlParserInputState_XML_PARSER_END_TAG : xmlParserInputState = 9 ; pub const xmlParserInputState_XML_PARSER_ENTITY_DECL : xmlParserInputState = 10 ; pub const xmlParserInputState_XML_PARSER_ENTITY_VALUE : xmlParserInputState = 11 ; pub const xmlParserInputState_XML_PARSER_ATTRIBUTE_VALUE : xmlParserInputState = 12 ; pub const xmlParserInputState_XML_PARSER_SYSTEM_LITERAL : xmlParserInputState = 13 ; pub const xmlParserInputState_XML_PARSER_EPILOG : xmlParserInputState = 14 ; pub const xmlParserInputState_XML_PARSER_IGNORE : xmlParserInputState = 15 ; pub const xmlParserInputState_XML_PARSER_PUBLIC_LITERAL : xmlParserInputState = 16 ; pub const xmlParserInputState_XML_PARSER_XML_DECL : xmlParserInputState = 17 ; pub type xmlParserInputState = :: std :: os :: raw :: c_int ; pub const xmlParserMode_XML_PARSE_UNKNOWN : xmlParserMode = 0 ; pub const xmlParserMode_XML_PARSE_DOM : xmlParserMode = 1 ; pub const xmlParserMode_XML_PARSE_SAX : xmlParserMode = 2 ; pub const xmlParserMode_XML_PARSE_PUSH_DOM : xmlParserMode = 3 ; pub const xmlParserMode_XML_PARSE_PUSH_SAX : xmlParserMode = 4 ; pub const xmlParserMode_XML_PARSE_READER : xmlParserMode = 5 ; pub type xmlParserMode = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlStartTag { _unused : [u8 ; 0] , } pub type xmlStartTag = _xmlStartTag ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserNsData { _unused : [u8 ; 0] , } pub type xmlParserNsData = _xmlParserNsData ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlAttrHashBucket { _unused : [u8 ; 0] , } pub type xmlAttrHashBucket = _xmlAttrHashBucket ; # [doc = " Callback for custom resource loaders.\n\n `flags` can contain XML_INPUT_UNZIP and XML_INPUT_NETWORK.\n\n The URL is resolved using XML catalogs before being passed to\n the callback.\n\n On success, `out` should be set to a new parser input object and\n XML_ERR_OK should be returned.\n\n @param ctxt  parser context\n @param url  URL or system ID to load\n @param publicId  publid ID from DTD (optional)\n @param type  resource type\n @param flags  flags\n @param out  result pointer\n @returns an xmlParserErrors code."] pub type xmlResourceLoader = :: std :: option :: Option < unsafe extern "C" fn (ctxt : * mut :: std :: os :: raw :: c_void , url : * const :: std :: os :: raw :: c_char , publicId : * const :: std :: os :: raw :: c_char , type_ : xmlResourceType , flags : xmlParserInputFlags , out : * mut * mut xmlParserInput) -> xmlParserErrors > ; # [doc = " Parser context"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlParserCtxt { # [doc = " @deprecated Use xmlCtxtGetSaxHandler() and\n xmlCtxtSetSaxHandler().\n\n the SAX handler"] pub sax : * mut _xmlSAXHandler , # [doc = " @deprecated Use #xmlCtxtGetUserData\n\n user data for SAX interface, defaults to the context itself"] pub userData : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlCtxtGetDocument()\n\n the document being built"] pub myDoc : * mut xmlDoc , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document well formed?"] pub wellFormed : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_NOENT\n\n shall we replace entities?"] pub replaceEntities : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetVersion()\n\n the XML version string"] pub version : * mut xmlChar , # [doc = " @deprecated Use xmlCtxtGetDeclaredEncoding()\n\n the declared encoding, if any"] pub encoding : * mut xmlChar , # [doc = " @deprecated Use xmlCtxtGetStandalone()\n\n standalone document"] pub standalone : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsHtml()\n\n non-zero for HTML documents, actually an htmlInsertMode"] pub html : :: std :: os :: raw :: c_int , pub input : * mut xmlParserInput , pub inputNr : :: std :: os :: raw :: c_int , pub inputMax : :: std :: os :: raw :: c_int , pub inputTab : * mut * mut xmlParserInput , # [doc = " @deprecated Use #xmlCtxtGetNode\n\n The current element."] pub node : * mut xmlNode , pub nodeNr : :: std :: os :: raw :: c_int , pub nodeMax : :: std :: os :: raw :: c_int , pub nodeTab : * mut * mut xmlNode , pub record_info : :: std :: os :: raw :: c_int , pub node_seq : xmlParserNodeInfoSeq , # [doc = " @deprecated Use xmlCtxtGetLastError()\n\n error code"] pub errNo : :: std :: os :: raw :: c_int , pub hasExternalSubset : :: std :: os :: raw :: c_int , pub hasPErefs : :: std :: os :: raw :: c_int , pub external : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document valid"] pub valid : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_DTDVALID\n\n shall we try to validate?"] pub validate : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetValidCtxt()\n\n The validity context"] pub vctxt : xmlValidCtxt , pub instate : xmlParserInputState , pub token : :: std :: os :: raw :: c_int , # [doc = " @deprecated Don't use\n\n The main document URI, if available, with its last\n component stripped."] pub directory : * mut :: std :: os :: raw :: c_char , pub name : * const xmlChar , pub nameNr : :: std :: os :: raw :: c_int , pub nameMax : :: std :: os :: raw :: c_int , pub nameTab : * mut * const xmlChar , pub nbChars : :: std :: os :: raw :: c_long , pub checkIndex : :: std :: os :: raw :: c_long , # [doc = " @deprecated Use inverted xmlParserOption XML_PARSE_NOBLANKS\n\n ugly but ..."] pub keepBlanks : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsStopped()\n\n SAX callbacks are disabled"] pub disableSAX : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtIsInSubset\n\n Set if DTD content is parsed.\n\n - 0: not in DTD\n - 1: in internal DTD subset\n - 2: in external DTD subset"] pub inSubset : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use the `name` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n Name of the internal subset (root element type)."] pub intSubName : * const xmlChar , # [doc = " @deprecated Use the `systemId` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n System identifier (URI) of external the subset."] pub extSubURI : * mut xmlChar , # [doc = " @deprecated Use the `publicId` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n This member is MISNAMED. It contains the *public* identifier\n of the external subset."] pub extSubSystem : * mut xmlChar , pub space : * mut :: std :: os :: raw :: c_int , pub spaceNr : :: std :: os :: raw :: c_int , pub spaceMax : :: std :: os :: raw :: c_int , pub spaceTab : * mut :: std :: os :: raw :: c_int , pub depth : :: std :: os :: raw :: c_int , pub entity : * mut xmlParserInput , pub charset : :: std :: os :: raw :: c_int , pub nodelen : :: std :: os :: raw :: c_int , pub nodemem : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlParserOption XML_PARSE_PEDANTIC\n\n signal pedantic warnings"] pub pedantic : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetPrivate() and xmlCtxtSetPrivate()\n\n For user data, libxml won't touch it"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlParserOption XML_PARSE_DTDLOAD,\n XML_PARSE_DTDATTR or XML_PARSE_SKIP_IDS.\n\n Control loading of the external subset and handling of IDs.\n Other options like `validate` can override this value.\n\n - 0: The default behavior is to process IDs and to ignore\n   the external subset.\n - XML_DETECT_IDS: Load external subset. This flag is\n   misnamed. ID handling is only controlled by XML_SKIP_IDS.\n - XML_COMPLETE_ATTRS: Load external subset and process\n   default attributes.\n - XML_SKIP_IDS: Ignore IDs."] pub loadsubset : :: std :: os :: raw :: c_int , pub linenumbers : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetCatalogs() and xmlCtxtSetCatalogs()\n\n document's own catalog"] pub catalogs : * mut :: std :: os :: raw :: c_void , # [doc = " @deprecated Use xmlParserOption XML_PARSE_RECOVER\n run in recovery mode"] pub recovery : :: std :: os :: raw :: c_int , pub progressive : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetDict() and xmlCtxtSetDict()\n\n dictionary for the parser"] pub dict : * mut xmlDict , pub atts : * mut * const xmlChar , pub maxatts : :: std :: os :: raw :: c_int , pub docdict : :: std :: os :: raw :: c_int , pub str_xml : * const xmlChar , pub str_xmlns : * const xmlChar , pub str_xml_ns : * const xmlChar , pub sax2 : :: std :: os :: raw :: c_int , pub nsNr : :: std :: os :: raw :: c_int , pub nsMax : :: std :: os :: raw :: c_int , pub nsTab : * mut * const xmlChar , pub attallocs : * mut :: std :: os :: raw :: c_uint , pub pushTab : * mut xmlStartTag , pub attsDefault : * mut xmlHashTable , pub attsSpecial : * mut xmlHashTable , # [doc = " @deprecated Use xmlCtxtGetStatus()\n\n is the document XML Namespace okay"] pub nsWellFormed : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use xmlCtxtGetOptions()\n\n Extra options"] pub options : :: std :: os :: raw :: c_int , # [doc = " @deprecated Use inverted xmlParserOption XML_PARSE_NODICT\n\n Use dictionary names for the tree"] pub dictNames : :: std :: os :: raw :: c_int , pub freeElemsNr : :: std :: os :: raw :: c_int , pub freeElems : * mut xmlNode , pub freeAttrsNr : :: std :: os :: raw :: c_int , pub freeAttrs : * mut xmlAttr , # [doc = " @deprecated Use xmlCtxtGetLastError()\n\n the complete error information for the last error."] pub lastError : xmlError , pub parseMode : xmlParserMode , pub nbentities : :: std :: os :: raw :: c_ulong , pub sizeentities : :: std :: os :: raw :: c_ulong , pub nodeInfo : * mut xmlParserNodeInfo , pub nodeInfoNr : :: std :: os :: raw :: c_int , pub nodeInfoMax : :: std :: os :: raw :: c_int , pub nodeInfoTab : * mut xmlParserNodeInfo , pub input_id : :: std :: os :: raw :: c_int , pub sizeentcopy : :: std :: os :: raw :: c_ulong , pub endCheckState : :: std :: os :: raw :: c_int , pub nbErrors : :: std :: os :: raw :: c_ushort , pub nbWarnings : :: std :: os :: raw :: c_ushort , pub maxAmpl : :: std :: os :: raw :: c_uint , pub nsdb : * mut xmlParserNsData , pub attrHashMax : :: std :: os :: raw :: c_uint , pub attrHash : * mut xmlAttrHashBucket , pub errorHandler : xmlStructuredErrorFunc , pub errorCtxt : * mut :: std :: os :: raw :: c_void , pub resourceLoader : xmlResourceLoader , pub resourceCtxt : * mut :: std :: os :: raw :: c_void , pub convImpl : xmlCharEncConvImpl , pub convCtxt : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlParserCtxt"] [:: std :: mem :: size_of :: < _xmlParserCtxt > () - 840usize] ; ["Alignment of _xmlParserCtxt"] [:: std :: mem :: align_of :: < _xmlParserCtxt > () - 8usize] ; ["Offset of field: _xmlParserCtxt::sax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sax) - 0usize] ; ["Offset of field: _xmlParserCtxt::userData"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , userData) - 8usize] ; ["Offset of field: _xmlParserCtxt::myDoc"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , myDoc) - 16usize] ; ["Offset of field: _xmlParserCtxt::wellFormed"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , wellFormed) - 24usize] ; ["Offset of field: _xmlParserCtxt::replaceEntities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , replaceEntities) - 28usize] ; ["Offset of field: _xmlParserCtxt::version"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , version) - 32usize] ; ["Offset of field: _xmlParserCtxt::encoding"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , encoding) - 40usize] ; ["Offset of field: _xmlParserCtxt::standalone"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , standalone) - 48usize] ; ["Offset of field: _xmlParserCtxt::html"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , html) - 52usize] ; ["Offset of field: _xmlParserCtxt::input"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , input) - 56usize] ; ["Offset of field: _xmlParserCtxt::inputNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputNr) - 64usize] ; ["Offset of field: _xmlParserCtxt::inputMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputMax) - 68usize] ; ["Offset of field: _xmlParserCtxt::inputTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inputTab) - 72usize] ; ["Offset of field: _xmlParserCtxt::node"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , node) - 80usize] ; ["Offset of field: _xmlParserCtxt::nodeNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeNr) - 88usize] ; ["Offset of field: _xmlParserCtxt::nodeMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeMax) - 92usize] ; ["Offset of field: _xmlParserCtxt::nodeTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeTab) - 96usize] ; ["Offset of field: _xmlParserCtxt::record_info"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , record_info) - 104usize] ; ["Offset of field: _xmlParserCtxt::node_seq"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , node_seq) - 112usize] ; ["Offset of field: _xmlParserCtxt::errNo"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errNo) - 136usize] ; ["Offset of field: _xmlParserCtxt::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , hasExternalSubset) - 140usize] ; ["Offset of field: _xmlParserCtxt::hasPErefs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , hasPErefs) - 144usize] ; ["Offset of field: _xmlParserCtxt::external"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , external) - 148usize] ; ["Offset of field: _xmlParserCtxt::valid"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , valid) - 152usize] ; ["Offset of field: _xmlParserCtxt::validate"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , validate) - 156usize] ; ["Offset of field: _xmlParserCtxt::vctxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , vctxt) - 160usize] ; ["Offset of field: _xmlParserCtxt::instate"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , instate) - 272usize] ; ["Offset of field: _xmlParserCtxt::token"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , token) - 276usize] ; ["Offset of field: _xmlParserCtxt::directory"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , directory) - 280usize] ; ["Offset of field: _xmlParserCtxt::name"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , name) - 288usize] ; ["Offset of field: _xmlParserCtxt::nameNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameNr) - 296usize] ; ["Offset of field: _xmlParserCtxt::nameMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameMax) - 300usize] ; ["Offset of field: _xmlParserCtxt::nameTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nameTab) - 304usize] ; ["Offset of field: _xmlParserCtxt::nbChars"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbChars) - 312usize] ; ["Offset of field: _xmlParserCtxt::checkIndex"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , checkIndex) - 320usize] ; ["Offset of field: _xmlParserCtxt::keepBlanks"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , keepBlanks) - 328usize] ; ["Offset of field: _xmlParserCtxt::disableSAX"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , disableSAX) - 332usize] ; ["Offset of field: _xmlParserCtxt::inSubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , inSubset) - 336usize] ; ["Offset of field: _xmlParserCtxt::intSubName"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , intSubName) - 344usize] ; ["Offset of field: _xmlParserCtxt::extSubURI"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , extSubURI) - 352usize] ; ["Offset of field: _xmlParserCtxt::extSubSystem"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , extSubSystem) - 360usize] ; ["Offset of field: _xmlParserCtxt::space"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , space) - 368usize] ; ["Offset of field: _xmlParserCtxt::spaceNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceNr) - 376usize] ; ["Offset of field: _xmlParserCtxt::spaceMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceMax) - 380usize] ; ["Offset of field: _xmlParserCtxt::spaceTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , spaceTab) - 384usize] ; ["Offset of field: _xmlParserCtxt::depth"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , depth) - 392usize] ; ["Offset of field: _xmlParserCtxt::entity"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , entity) - 400usize] ; ["Offset of field: _xmlParserCtxt::charset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , charset) - 408usize] ; ["Offset of field: _xmlParserCtxt::nodelen"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodelen) - 412usize] ; ["Offset of field: _xmlParserCtxt::nodemem"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodemem) - 416usize] ; ["Offset of field: _xmlParserCtxt::pedantic"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , pedantic) - 420usize] ; ["Offset of field: _xmlParserCtxt::_private"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , _private) - 424usize] ; ["Offset of field: _xmlParserCtxt::loadsubset"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , loadsubset) - 432usize] ; ["Offset of field: _xmlParserCtxt::linenumbers"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , linenumbers) - 436usize] ; ["Offset of field: _xmlParserCtxt::catalogs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , catalogs) - 440usize] ; ["Offset of field: _xmlParserCtxt::recovery"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , recovery) - 448usize] ; ["Offset of field: _xmlParserCtxt::progressive"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , progressive) - 452usize] ; ["Offset of field: _xmlParserCtxt::dict"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , dict) - 456usize] ; ["Offset of field: _xmlParserCtxt::atts"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , atts) - 464usize] ; ["Offset of field: _xmlParserCtxt::maxatts"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , maxatts) - 472usize] ; ["Offset of field: _xmlParserCtxt::docdict"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , docdict) - 476usize] ; ["Offset of field: _xmlParserCtxt::str_xml"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xml) - 480usize] ; ["Offset of field: _xmlParserCtxt::str_xmlns"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xmlns) - 488usize] ; ["Offset of field: _xmlParserCtxt::str_xml_ns"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , str_xml_ns) - 496usize] ; ["Offset of field: _xmlParserCtxt::sax2"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sax2) - 504usize] ; ["Offset of field: _xmlParserCtxt::nsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsNr) - 508usize] ; ["Offset of field: _xmlParserCtxt::nsMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsMax) - 512usize] ; ["Offset of field: _xmlParserCtxt::nsTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsTab) - 520usize] ; ["Offset of field: _xmlParserCtxt::attallocs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attallocs) - 528usize] ; ["Offset of field: _xmlParserCtxt::pushTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , pushTab) - 536usize] ; ["Offset of field: _xmlParserCtxt::attsDefault"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attsDefault) - 544usize] ; ["Offset of field: _xmlParserCtxt::attsSpecial"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attsSpecial) - 552usize] ; ["Offset of field: _xmlParserCtxt::nsWellFormed"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsWellFormed) - 560usize] ; ["Offset of field: _xmlParserCtxt::options"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , options) - 564usize] ; ["Offset of field: _xmlParserCtxt::dictNames"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , dictNames) - 568usize] ; ["Offset of field: _xmlParserCtxt::freeElemsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeElemsNr) - 572usize] ; ["Offset of field: _xmlParserCtxt::freeElems"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeElems) - 576usize] ; ["Offset of field: _xmlParserCtxt::freeAttrsNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeAttrsNr) - 584usize] ; ["Offset of field: _xmlParserCtxt::freeAttrs"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , freeAttrs) - 592usize] ; ["Offset of field: _xmlParserCtxt::lastError"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , lastError) - 600usize] ; ["Offset of field: _xmlParserCtxt::parseMode"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , parseMode) - 688usize] ; ["Offset of field: _xmlParserCtxt::nbentities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbentities) - 696usize] ; ["Offset of field: _xmlParserCtxt::sizeentities"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sizeentities) - 704usize] ; ["Offset of field: _xmlParserCtxt::nodeInfo"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfo) - 712usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoNr"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoNr) - 720usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoMax) - 724usize] ; ["Offset of field: _xmlParserCtxt::nodeInfoTab"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nodeInfoTab) - 728usize] ; ["Offset of field: _xmlParserCtxt::input_id"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , input_id) - 736usize] ; ["Offset of field: _xmlParserCtxt::sizeentcopy"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , sizeentcopy) - 744usize] ; ["Offset of field: _xmlParserCtxt::endCheckState"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , endCheckState) - 752usize] ; ["Offset of field: _xmlParserCtxt::nbErrors"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbErrors) - 756usize] ; ["Offset of field: _xmlParserCtxt::nbWarnings"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nbWarnings) - 758usize] ; ["Offset of field: _xmlParserCtxt::maxAmpl"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , maxAmpl) - 760usize] ; ["Offset of field: _xmlParserCtxt::nsdb"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , nsdb) - 768usize] ; ["Offset of field: _xmlParserCtxt::attrHashMax"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attrHashMax) - 776usize] ; ["Offset of field: _xmlParserCtxt::attrHash"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , attrHash) - 784usize] ; ["Offset of field: _xmlParserCtxt::errorHandler"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errorHandler) - 792usize] ; ["Offset of field: _xmlParserCtxt::errorCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , errorCtxt) - 800usize] ; ["Offset of field: _xmlParserCtxt::resourceLoader"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , resourceLoader) - 808usize] ; ["Offset of field: _xmlParserCtxt::resourceCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , resourceCtxt) - 816usize] ; ["Offset of field: _xmlParserCtxt::convImpl"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , convImpl) - 824usize] ; ["Offset of field: _xmlParserCtxt::convCtxt"] [:: std :: mem :: offset_of ! (_xmlParserCtxt , convCtxt) - 832usize] ; } ; # [doc = " A SAX Locator."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXLocator { pub getPublicId : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar > , pub getSystemId : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> * const xmlChar > , pub getLineNumber : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , pub getColumnNumber : :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXLocator"] [:: std :: mem :: size_of :: < _xmlSAXLocator > () - 32usize] ; ["Alignment of _xmlSAXLocator"] [:: std :: mem :: align_of :: < _xmlSAXLocator > () - 8usize] ; ["Offset of field: _xmlSAXLocator::getPublicId"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getPublicId) - 0usize] ; ["Offset of field: _xmlSAXLocator::getSystemId"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getSystemId) - 8usize] ; ["Offset of field: _xmlSAXLocator::getLineNumber"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getLineNumber) - 16usize] ; ["Offset of field: _xmlSAXLocator::getColumnNumber"] [:: std :: mem :: offset_of ! (_xmlSAXLocator , getColumnNumber) - 24usize] ; } ; # [doc = " SAX callback to resolve external entities.\n\n This is only used to load DTDs. The preferred way to install\n custom resolvers is #xmlCtxtSetResourceLoader.\n\n @param ctx  the user data (XML parser context)\n @param publicId  The public identifier of the entity\n @param systemId  The system identifier of the entity (URL)\n @returns the xmlParserInput if inlined or NULL for DOM behaviour."] pub type resolveEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlParserInput > ; # [doc = " SAX callback for the internal subset.\n\n @param ctx  the user data (XML parser context)\n @param name  the root element name\n @param publicId  the public identifier\n @param systemId  the system identifier (e.g. filename or URL)"] pub type internalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback for the external subset.\n\n @param ctx  the user data (XML parser context)\n @param name  the root element name\n @param publicId  the public identifier\n @param systemId  the system identifier (e.g. filename or URL)"] pub type externalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback to look up a general entity by name.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name\n @returns the xmlEntity if found."] pub type getEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity > ; # [doc = " SAX callback to look up a parameter entity by name.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name\n @returns the xmlEntity if found."] pub type getParameterEntitySAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) -> * mut xmlEntity > ; # [doc = " SAX callback for entity declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  the entity name\n @param type  the entity type\n @param publicId  The public ID of the entity\n @param systemId  The system ID of the entity\n @param content  the entity value (without processing)."] pub type entityDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , publicId : * const xmlChar , systemId : * const xmlChar , content : * mut xmlChar) > ; # [doc = " SAX callback for notation declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  The name of the notation\n @param publicId  The public ID of the notation\n @param systemId  The system ID of the notation"] pub type notationDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar) > ; # [doc = " SAX callback for attribute declarations.\n\n @param ctx  the user data (XML parser context)\n @param elem  the name of the element\n @param fullname  the attribute name\n @param type  the attribute type\n @param def  the type of default value\n @param defaultValue  the attribute default value\n @param tree  the tree of enumerated value set"] pub type attributeDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , elem : * const xmlChar , fullname : * const xmlChar , type_ : :: std :: os :: raw :: c_int , def : :: std :: os :: raw :: c_int , defaultValue : * const xmlChar , tree : * mut xmlEnumeration) > ; # [doc = " SAX callback for element declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  the element name\n @param type  the element type\n @param content  the element value tree"] pub type elementDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , type_ : :: std :: os :: raw :: c_int , content : * mut xmlElementContent) > ; # [doc = " SAX callback for unparsed entity declarations.\n\n @param ctx  the user data (XML parser context)\n @param name  The name of the entity\n @param publicId  The public ID of the entity\n @param systemId  The system ID of the entity\n @param notationName  the name of the notation"] pub type unparsedEntityDeclSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , publicId : * const xmlChar , systemId : * const xmlChar , notationName : * const xmlChar) > ; # [doc = " This callback receives the \"document locator\" at startup,\n which is always the global xmlDefaultSAXLocator.\n\n Everything is available on the context, so this is useless in\n our case.\n\n @param ctx  the user data (XML parser context)\n @param loc  A SAX Locator"] pub type setDocumentLocatorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , loc : * mut xmlSAXLocator) > ; # [doc = " SAX callback for start of document.\n\n @param ctx  the user data (XML parser context)"] pub type startDocumentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) > ; # [doc = " SAX callback for end of document.\n\n @param ctx  the user data (XML parser context)"] pub type endDocumentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) > ; # [doc = " SAX callback for start tags.\n\n @param ctx  the user data (XML parser context)\n @param name  The element name, including namespace prefix\n @param atts  An array of name/value attributes pairs, NULL terminated"] pub type startElementSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , atts : * mut * const xmlChar) > ; # [doc = " SAX callback for end tags.\n\n @param ctx  the user data (XML parser context)\n @param name  The element name"] pub type endElementSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " Callback for attributes.\n\n @deprecated This typedef is unused.\n\n @param ctx  the user data (XML parser context)\n @param name  The attribute name, including namespace prefix\n @param value  The attribute value"] pub type attributeSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar , value : * const xmlChar) > ; # [doc = " SAX callback for entity references.\n\n @param ctx  the user data (XML parser context)\n @param name  The entity name"] pub type referenceSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , name : * const xmlChar) > ; # [doc = " SAX callback for character data.\n\n @param ctx  the user data (XML parser context)\n @param ch  a xmlChar string\n @param len  the number of xmlChar"] pub type charactersSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for \"ignorable\" whitespace.\n\n @param ctx  the user data (XML parser context)\n @param ch  a xmlChar string\n @param len  the number of xmlChar"] pub type ignorableWhitespaceSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , ch : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for processing instructions.\n\n @param ctx  the user data (XML parser context)\n @param target  the target name\n @param data  the PI data's"] pub type processingInstructionSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , target : * const xmlChar , data : * const xmlChar) > ; # [doc = " SAX callback for comments.\n\n @param ctx  the user data (XML parser context)\n @param value  the comment content"] pub type commentSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar) > ; # [doc = " SAX callback for CDATA sections.\n\n @param ctx  the user data (XML parser context)\n @param value  The pcdata content\n @param len  the block length"] pub type cdataBlockSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , value : * const xmlChar , len : :: std :: os :: raw :: c_int) > ; # [doc = " SAX callback for warning messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type warningSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback for error messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type errorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback for fatal error messages.\n\n @param ctx  an XML parser context\n @param msg  the message to display/transmit\n @param ...  extra parameters for the message display"] pub type fatalErrorSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " SAX callback to get standalone status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type isStandaloneSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX callback to get internal subset status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type hasInternalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX callback to get external subset status.\n\n @param ctx  the user data (XML parser context)\n @returns 1 if true"] pub type hasExternalSubsetSAXFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [doc = " SAX2 callback for start tags.\n\n It provides the namespace information for the element, as well as\n the new namespace declarations on the element.\n\n @param ctx  the user data (XML parser context)\n @param localname  the local name of the element\n @param prefix  the element namespace prefix if available\n @param URI  the element namespace name if available\n @param nb_namespaces  number of namespace definitions on that node\n @param namespaces  pointer to the array of prefix/URI pairs namespace definitions\n @param nb_attributes  the number of attributes on that node\n @param nb_defaulted  the number of defaulted attributes. The defaulted\n                  ones are at the end of the array\n @param attributes  pointer to the array of (localname/prefix/URI/value/end)\n               attribute values."] pub type startElementNsSAX2Func = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar , nb_namespaces : :: std :: os :: raw :: c_int , namespaces : * mut * const xmlChar , nb_attributes : :: std :: os :: raw :: c_int , nb_defaulted : :: std :: os :: raw :: c_int , attributes : * mut * const xmlChar) > ; # [doc = " SAX2 callback for end tags.\n\n It provides the namespace information for the element.\n\n @param ctx  the user data (XML parser context)\n @param localname  the local name of the element\n @param prefix  the element namespace prefix if available\n @param URI  the element namespace name if available"] pub type endElementNsSAX2Func = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , localname : * const xmlChar , prefix : * const xmlChar , URI : * const xmlChar) > ; # [doc = " Callbacks for SAX parser\n\n For DTD-related handlers, it's recommended to either use the\n original libxml2 handler or set them to NULL if DTDs can be\n ignored."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXHandler { # [doc = " Called after the start of the document type declaration\n was parsed.\n\n Should typically not be modified."] pub internalSubset : internalSubsetSAXFunc , # [doc = " Standalone status. Not invoked by the parser. Not supposed\n to be changed by applications."] pub isStandalone : isStandaloneSAXFunc , # [doc = " Internal subset availability. Not invoked by the parser.\n Not supposed to be changed by applications."] pub hasInternalSubset : hasInternalSubsetSAXFunc , # [doc = " External subset availability. Not invoked by the parser.\n Not supposed to be changed by applications."] pub hasExternalSubset : hasExternalSubsetSAXFunc , # [doc = " Only called when loading external DTDs. Not called to load\n external entities.\n\n Should typically not be modified."] pub resolveEntity : resolveEntitySAXFunc , # [doc = " Called when looking up general entities.\n\n Should typically not be modified."] pub getEntity : getEntitySAXFunc , # [doc = " Called after an entity declaration was parsed.\n\n Should typically not be modified."] pub entityDecl : entityDeclSAXFunc , # [doc = " Called after a notation declaration was parsed.\n\n Should typically not be modified."] pub notationDecl : notationDeclSAXFunc , # [doc = " Called after an attribute declaration was parsed.\n\n Should typically not be modified."] pub attributeDecl : attributeDeclSAXFunc , # [doc = " Called after an element declaration was parsed.\n\n Should typically not be modified."] pub elementDecl : elementDeclSAXFunc , # [doc = " Called after an unparsed entity declaration was parsed.\n\n Should typically not be modified."] pub unparsedEntityDecl : unparsedEntityDeclSAXFunc , # [doc = " This callback receives the \"document locator\" at startup,\n which is always the global xmlDefaultSAXLocator.\n\n Everything is available on the context, so this is useless in\n our case."] pub setDocumentLocator : setDocumentLocatorSAXFunc , # [doc = " Called after the XML declaration was parsed.\n\n Use xmlCtxtGetVersion(), xmlCtxtGetDeclaredEncoding() and\n xmlCtxtGetStandalone() to get data from the XML declaration."] pub startDocument : startDocumentSAXFunc , # [doc = " Called at the end of the document."] pub endDocument : endDocumentSAXFunc , # [doc = " Legacy start tag handler\n\n `startElement` and `endElement` are only used by the legacy SAX1\n interface and should not be used in new software. If you really\n have to enable SAX1, the preferred way is set the `initialized`\n member to 1 instead of XML_SAX2_MAGIC.\n\n For backward compatibility, it's also possible to set the\n `startElementNs` and `endElementNs` handlers to NULL.\n\n You can also set the XML_PARSE_SAX1 parser option, but versions\n older than 2.12.0 will probably crash if this option is provided\n together with custom SAX callbacks."] pub startElement : startElementSAXFunc , # [doc = " See _xmlSAXHandler.startElement"] pub endElement : endElementSAXFunc , # [doc = " Called after an entity reference was parsed."] pub reference : referenceSAXFunc , # [doc = " Called after a character data was parsed."] pub characters : charactersSAXFunc , # [doc = " Called after \"ignorable\" whitespace was parsed.\n\n `ignorableWhitespace` should always be set to the same value\n as `characters`. Otherwise, the parser will try to detect\n whitespace which is unreliable."] pub ignorableWhitespace : ignorableWhitespaceSAXFunc , # [doc = " Called after a processing instruction was parsed."] pub processingInstruction : processingInstructionSAXFunc , # [doc = " Called after a comment was parsed."] pub comment : commentSAXFunc , # [doc = " Callback for warning messages."] pub warning : warningSAXFunc , # [doc = " Callback for error messages."] pub error : errorSAXFunc , # [doc = " Unused, all errors go to `error`."] pub fatalError : fatalErrorSAXFunc , # [doc = " Called when looking up parameter entities.\n\n Should typically not be modified."] pub getParameterEntity : getParameterEntitySAXFunc , # [doc = " Called after a CDATA section was parsed."] pub cdataBlock : cdataBlockSAXFunc , # [doc = " Called to parse the external subset.\n\n Should typically not be modified."] pub externalSubset : externalSubsetSAXFunc , # [doc = " Legacy magic value\n\n `initialized` should always be set to XML_SAX2_MAGIC to\n enable the modern SAX2 interface."] pub initialized : :: std :: os :: raw :: c_uint , # [doc = " Application data"] pub _private : * mut :: std :: os :: raw :: c_void , # [doc = " Called after a start tag was parsed."] pub startElementNs : startElementNsSAX2Func , # [doc = " Called after an end tag was parsed."] pub endElementNs : endElementNsSAX2Func , # [doc = " Structured error handler.\n\n Takes precedence over `error` or `warning`, but modern code\n should use xmlCtxtSetErrorHandler()."] pub serror : xmlStructuredErrorFunc , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXHandler"] [:: std :: mem :: size_of :: < _xmlSAXHandler > () - 256usize] ; ["Alignment of _xmlSAXHandler"] [:: std :: mem :: align_of :: < _xmlSAXHandler > () - 8usize] ; ["Offset of field: _xmlSAXHandler::internalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , internalSubset) - 0usize] ; ["Offset of field: _xmlSAXHandler::isStandalone"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , isStandalone) - 8usize] ; ["Offset of field: _xmlSAXHandler::hasInternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , hasInternalSubset) - 16usize] ; ["Offset of field: _xmlSAXHandler::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , hasExternalSubset) - 24usize] ; ["Offset of field: _xmlSAXHandler::resolveEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , resolveEntity) - 32usize] ; ["Offset of field: _xmlSAXHandler::getEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , getEntity) - 40usize] ; ["Offset of field: _xmlSAXHandler::entityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , entityDecl) - 48usize] ; ["Offset of field: _xmlSAXHandler::notationDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , notationDecl) - 56usize] ; ["Offset of field: _xmlSAXHandler::attributeDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , attributeDecl) - 64usize] ; ["Offset of field: _xmlSAXHandler::elementDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , elementDecl) - 72usize] ; ["Offset of field: _xmlSAXHandler::unparsedEntityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , unparsedEntityDecl) - 80usize] ; ["Offset of field: _xmlSAXHandler::setDocumentLocator"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , setDocumentLocator) - 88usize] ; ["Offset of field: _xmlSAXHandler::startDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startDocument) - 96usize] ; ["Offset of field: _xmlSAXHandler::endDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endDocument) - 104usize] ; ["Offset of field: _xmlSAXHandler::startElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startElement) - 112usize] ; ["Offset of field: _xmlSAXHandler::endElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endElement) - 120usize] ; ["Offset of field: _xmlSAXHandler::reference"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , reference) - 128usize] ; ["Offset of field: _xmlSAXHandler::characters"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , characters) - 136usize] ; ["Offset of field: _xmlSAXHandler::ignorableWhitespace"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , ignorableWhitespace) - 144usize] ; ["Offset of field: _xmlSAXHandler::processingInstruction"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , processingInstruction) - 152usize] ; ["Offset of field: _xmlSAXHandler::comment"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , comment) - 160usize] ; ["Offset of field: _xmlSAXHandler::warning"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , warning) - 168usize] ; ["Offset of field: _xmlSAXHandler::error"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , error) - 176usize] ; ["Offset of field: _xmlSAXHandler::fatalError"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , fatalError) - 184usize] ; ["Offset of field: _xmlSAXHandler::getParameterEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , getParameterEntity) - 192usize] ; ["Offset of field: _xmlSAXHandler::cdataBlock"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , cdataBlock) - 200usize] ; ["Offset of field: _xmlSAXHandler::externalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , externalSubset) - 208usize] ; ["Offset of field: _xmlSAXHandler::initialized"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , initialized) - 216usize] ; ["Offset of field: _xmlSAXHandler::_private"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , _private) - 224usize] ; ["Offset of field: _xmlSAXHandler::startElementNs"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , startElementNs) - 232usize] ; ["Offset of field: _xmlSAXHandler::endElementNs"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , endElementNs) - 240usize] ; ["Offset of field: _xmlSAXHandler::serror"] [:: std :: mem :: offset_of ! (_xmlSAXHandler , serror) - 248usize] ; } ; # [doc = " SAX handler, version 1.\n\n @deprecated Use version 2 handlers."] pub type xmlSAXHandlerV1 = _xmlSAXHandlerV1 ; pub type xmlSAXHandlerV1Ptr = * mut xmlSAXHandlerV1 ; # [doc = " SAX handler, version 1.\n\n @deprecated Use version 2 handlers."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSAXHandlerV1 { pub internalSubset : internalSubsetSAXFunc , pub isStandalone : isStandaloneSAXFunc , pub hasInternalSubset : hasInternalSubsetSAXFunc , pub hasExternalSubset : hasExternalSubsetSAXFunc , pub resolveEntity : resolveEntitySAXFunc , pub getEntity : getEntitySAXFunc , pub entityDecl : entityDeclSAXFunc , pub notationDecl : notationDeclSAXFunc , pub attributeDecl : attributeDeclSAXFunc , pub elementDecl : elementDeclSAXFunc , pub unparsedEntityDecl : unparsedEntityDeclSAXFunc , pub setDocumentLocator : setDocumentLocatorSAXFunc , pub startDocument : startDocumentSAXFunc , pub endDocument : endDocumentSAXFunc , pub startElement : startElementSAXFunc , pub endElement : endElementSAXFunc , pub reference : referenceSAXFunc , pub characters : charactersSAXFunc , pub ignorableWhitespace : ignorableWhitespaceSAXFunc , pub processingInstruction : processingInstructionSAXFunc , pub comment : commentSAXFunc , pub warning : warningSAXFunc , pub error : errorSAXFunc , pub fatalError : fatalErrorSAXFunc , pub getParameterEntity : getParameterEntitySAXFunc , pub cdataBlock : cdataBlockSAXFunc , pub externalSubset : externalSubsetSAXFunc , pub initialized : :: std :: os :: raw :: c_uint , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSAXHandlerV1"] [:: std :: mem :: size_of :: < _xmlSAXHandlerV1 > () - 224usize] ; ["Alignment of _xmlSAXHandlerV1"] [:: std :: mem :: align_of :: < _xmlSAXHandlerV1 > () - 8usize] ; ["Offset of field: _xmlSAXHandlerV1::internalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , internalSubset) - 0usize] ; ["Offset of field: _xmlSAXHandlerV1::isStandalone"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , isStandalone) - 8usize] ; ["Offset of field: _xmlSAXHandlerV1::hasInternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , hasInternalSubset) - 16usize] ; ["Offset of field: _xmlSAXHandlerV1::hasExternalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , hasExternalSubset) - 24usize] ; ["Offset of field: _xmlSAXHandlerV1::resolveEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , resolveEntity) - 32usize] ; ["Offset of field: _xmlSAXHandlerV1::getEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , getEntity) - 40usize] ; ["Offset of field: _xmlSAXHandlerV1::entityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , entityDecl) - 48usize] ; ["Offset of field: _xmlSAXHandlerV1::notationDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , notationDecl) - 56usize] ; ["Offset of field: _xmlSAXHandlerV1::attributeDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , attributeDecl) - 64usize] ; ["Offset of field: _xmlSAXHandlerV1::elementDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , elementDecl) - 72usize] ; ["Offset of field: _xmlSAXHandlerV1::unparsedEntityDecl"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , unparsedEntityDecl) - 80usize] ; ["Offset of field: _xmlSAXHandlerV1::setDocumentLocator"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , setDocumentLocator) - 88usize] ; ["Offset of field: _xmlSAXHandlerV1::startDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , startDocument) - 96usize] ; ["Offset of field: _xmlSAXHandlerV1::endDocument"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , endDocument) - 104usize] ; ["Offset of field: _xmlSAXHandlerV1::startElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , startElement) - 112usize] ; ["Offset of field: _xmlSAXHandlerV1::endElement"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , endElement) - 120usize] ; ["Offset of field: _xmlSAXHandlerV1::reference"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , reference) - 128usize] ; ["Offset of field: _xmlSAXHandlerV1::characters"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , characters) - 136usize] ; ["Offset of field: _xmlSAXHandlerV1::ignorableWhitespace"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , ignorableWhitespace) - 144usize] ; ["Offset of field: _xmlSAXHandlerV1::processingInstruction"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , processingInstruction) - 152usize] ; ["Offset of field: _xmlSAXHandlerV1::comment"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , comment) - 160usize] ; ["Offset of field: _xmlSAXHandlerV1::warning"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , warning) - 168usize] ; ["Offset of field: _xmlSAXHandlerV1::error"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , error) - 176usize] ; ["Offset of field: _xmlSAXHandlerV1::fatalError"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , fatalError) - 184usize] ; ["Offset of field: _xmlSAXHandlerV1::getParameterEntity"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , getParameterEntity) - 192usize] ; ["Offset of field: _xmlSAXHandlerV1::cdataBlock"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , cdataBlock) - 200usize] ; ["Offset of field: _xmlSAXHandlerV1::externalSubset"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , externalSubset) - 208usize] ; ["Offset of field: _xmlSAXHandlerV1::initialized"] [:: std :: mem :: offset_of ! (_xmlSAXHandlerV1 , initialized) - 216usize] ; } ; # [doc = " Callback for external entity loader.\n\n The URL is not resolved using XML catalogs before being passed\n to the callback.\n\n @param URL  The URL or system ID of the resource requested\n @param publicId  The public ID of the resource requested (optional)\n @param context  the XML parser context\n @returns the entity input parser or NULL on error."] pub type xmlExternalEntityLoader = :: std :: option :: Option < unsafe extern "C" fn (URL : * const :: std :: os :: raw :: c_char , publicId : * const :: std :: os :: raw :: c_char , context : * mut xmlParserCtxt) -> * mut xmlParserInput > ; unsafe extern "C" { pub static xmlParserVersion : * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { # [doc = " @cond ignore"] pub static xmlDefaultSAXLocator : xmlSAXLocator ; } unsafe extern "C" { # [doc = " @deprecated Use #xmlSAXVersion or #xmlSAX2InitDefaultSAXHandler"] pub static xmlDefaultSAXHandler : xmlSAXHandlerV1 ; } unsafe extern "C" { pub fn __xmlDoValidityCheckingDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlGetWarningsDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlKeepBlanksDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlLineNumbersDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlLoadExtDtdDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlPedanticParserDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlSubstituteEntitiesDefaultValue () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlIndentTreeOutput () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn __xmlTreeIndentString () -> * mut * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn __xmlSaveNoEmptyTags () -> * mut :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlInitParser () ; } unsafe extern "C" { pub fn xmlCleanupParser () ; } unsafe extern "C" { pub fn xmlInitGlobals () ; } unsafe extern "C" { pub fn xmlCleanupGlobals () ; } unsafe extern "C" { pub fn xmlParserInputRead (in_ : * mut xmlParserInput , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParserInputGrow (in_ : * mut xmlParserInput , len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseDoc (cur : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseFile (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSubstituteEntitiesDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlKeepBlanksDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlStopParser (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlPedanticParserDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlLineNumbersDefault (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefSubstituteEntitiesDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefKeepBlanksDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefPedanticParserDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefLineNumbersDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefDoValidityCheckingDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefGetWarningsDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlThrDefLoadExtDtdDefaultValue (v : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlRecoverDoc (cur : * const xmlChar) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlRecoverMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlRecoverFile (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseDocument (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseExtParsedEnt (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXUserParseFile (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , filename : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXUserParseMemory (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXParseDoc (sax : * mut xmlSAXHandler , cur : * const xmlChar , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseMemory (sax : * mut xmlSAXHandler , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseMemoryWithData (sax : * mut xmlSAXHandler , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , recovery : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseFile (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char , recovery : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseFileWithData (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char , recovery : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlSAXParseEntity (sax : * mut xmlSAXHandler , filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlParseEntity (filename : * const :: std :: os :: raw :: c_char) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseDtd (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlCtxtValidateDocument (ctxt : * mut xmlParserCtxt , doc : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtValidateDtd (ctxt : * mut xmlParserCtxt , doc : * mut xmlDoc , dtd : * mut xmlDtd) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSAXParseDTD (sax : * mut xmlSAXHandler , publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlParseDTD (publicId : * const xmlChar , systemId : * const xmlChar) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlIOParseDTD (sax : * mut xmlSAXHandler , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding) -> * mut xmlDtd ; } unsafe extern "C" { pub fn xmlParseBalancedChunkMemory (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , string : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseInNodeContext (node : * mut xmlNode , data : * const :: std :: os :: raw :: c_char , datalen : :: std :: os :: raw :: c_int , options : :: std :: os :: raw :: c_int , lst : * mut * mut xmlNode) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlParseBalancedChunkMemoryRecover (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , string : * const xmlChar , lst : * mut * mut xmlNode , recover : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseExternalEntity (doc : * mut xmlDoc , sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , depth : :: std :: os :: raw :: c_int , URL : * const xmlChar , ID : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlParseCtxtExternalEntity (ctx : * mut xmlParserCtxt , URL : * const xmlChar , ID : * const xmlChar , lst : * mut * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlNewParserCtxt () -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlNewSAXParserCtxt (sax : * const xmlSAXHandler , userData : * mut :: std :: os :: raw :: c_void) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlInitParserCtxt (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlClearParserCtxt (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlFreeParserCtxt (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlSetupParserForBuffer (ctxt : * mut xmlParserCtxt , buffer : * const xmlChar , filename : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlCreateDocParserCtxt (cur : * const xmlChar) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlCreatePushParserCtxt (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , filename : * const :: std :: os :: raw :: c_char) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlParseChunk (ctxt : * mut xmlParserCtxt , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , terminate : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCreateIOParserCtxt (sax : * mut xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void , ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , enc : xmlCharEncoding) -> * mut xmlParserCtxt ; } unsafe extern "C" { pub fn xmlNewIOInputStream (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlParserFindNodeInfo (ctxt : * mut xmlParserCtxt , node : * mut xmlNode) -> * const xmlParserNodeInfo ; } unsafe extern "C" { pub fn xmlInitNodeInfoSeq (seq : * mut xmlParserNodeInfoSeq) ; } unsafe extern "C" { pub fn xmlClearNodeInfoSeq (seq : * mut xmlParserNodeInfoSeq) ; } unsafe extern "C" { pub fn xmlParserFindNodeInfoIndex (seq : * mut xmlParserNodeInfoSeq , node : * mut xmlNode) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlParserAddNodeInfo (ctxt : * mut xmlParserCtxt , info : * mut xmlParserNodeInfo) ; } unsafe extern "C" { pub fn xmlSetExternalEntityLoader (f : xmlExternalEntityLoader) ; } unsafe extern "C" { pub fn xmlGetExternalEntityLoader () -> xmlExternalEntityLoader ; } unsafe extern "C" { pub fn xmlLoadExternalEntity (URL : * const :: std :: os :: raw :: c_char , ID : * const :: std :: os :: raw :: c_char , ctxt : * mut xmlParserCtxt) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlByteConsumed (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_long ; } # [doc = " Enable \"recovery\" mode which allows non-wellformed documents.\n How this mode behaves exactly is unspecified and may change\n without further notice. Use of this feature is DISCOURAGED.\n\n Not supported by the push parser."] pub const xmlParserOption_XML_PARSE_RECOVER : xmlParserOption = 1 ; # [doc = " Despite the confusing name, this option enables substitution\n of entities. The resulting tree won't contain any entity\n reference nodes.\n\n This option also enables loading of external entities (both\n general and parameter entities) which is dangerous. If you\n process untrusted data, it's recommended to set the\n XML_PARSE_NO_XXE option to disable loading of external\n entities."] pub const xmlParserOption_XML_PARSE_NOENT : xmlParserOption = 2 ; # [doc = " Enables loading of an external DTD and the loading and\n substitution of external parameter entities. Has no effect\n if XML_PARSE_NO_XXE is set."] pub const xmlParserOption_XML_PARSE_DTDLOAD : xmlParserOption = 4 ; # [doc = " Adds default attributes from the DTD to the result document.\n\n Implies XML_PARSE_DTDLOAD, but loading of external content\n can be disabled with XML_PARSE_NO_XXE."] pub const xmlParserOption_XML_PARSE_DTDATTR : xmlParserOption = 8 ; # [doc = " This option enables DTD validation which requires to load\n external DTDs and external entities (both general and\n parameter entities) unless XML_PARSE_NO_XXE was set.\n\n DTD validation is vulnerable to algorithmic complexity\n attacks and should never be enabled with untrusted input."] pub const xmlParserOption_XML_PARSE_DTDVALID : xmlParserOption = 16 ; # [doc = " Disable error and warning reports to the error handlers.\n Errors are still accessible with xmlCtxtGetLastError()."] pub const xmlParserOption_XML_PARSE_NOERROR : xmlParserOption = 32 ; # [doc = " Disable warning reports."] pub const xmlParserOption_XML_PARSE_NOWARNING : xmlParserOption = 64 ; # [doc = " Enable some pedantic warnings."] pub const xmlParserOption_XML_PARSE_PEDANTIC : xmlParserOption = 128 ; # [doc = " Remove some whitespace from the result document. Where to\n remove whitespace depends on DTD element declarations or a\n broken heuristic with unfixable bugs. Use of this option is\n DISCOURAGED.\n\n Not supported by the push parser."] pub const xmlParserOption_XML_PARSE_NOBLANKS : xmlParserOption = 256 ; # [doc = " Always invoke the deprecated SAX1 startElement and endElement\n handlers.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_SAX1 : xmlParserOption = 512 ; # [doc = " Enable XInclude processing. This option only affects the\n xmlTextReader and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_XINCLUDE : xmlParserOption = 1024 ; # [doc = " Disable network access with the built-in HTTP or FTP clients.\n\n After the last built-in network client was removed in 2.15,\n this option has no effect expect for being passed on to custom\n resource loaders."] pub const xmlParserOption_XML_PARSE_NONET : xmlParserOption = 2048 ; # [doc = " Create a document without interned strings, making all\n strings separate memory allocations."] pub const xmlParserOption_XML_PARSE_NODICT : xmlParserOption = 4096 ; # [doc = " Remove redundant namespace declarations from the result\n document."] pub const xmlParserOption_XML_PARSE_NSCLEAN : xmlParserOption = 8192 ; # [doc = " Output normal text nodes instead of CDATA nodes."] pub const xmlParserOption_XML_PARSE_NOCDATA : xmlParserOption = 16384 ; # [doc = " Don't generate XInclude start/end nodes when expanding\n inclusions. This option only affects the xmlTextReader\n and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_NOXINCNODE : xmlParserOption = 32768 ; # [doc = " Store small strings directly in the node struct to save\n memory."] pub const xmlParserOption_XML_PARSE_COMPACT : xmlParserOption = 65536 ; # [doc = " Use old Name productions from before XML 1.0 Fifth Edition.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_OLD10 : xmlParserOption = 131072 ; # [doc = " Don't fix up XInclude xml:base URIs. This option only affects\n the xmlTextReader and XInclude interfaces."] pub const xmlParserOption_XML_PARSE_NOBASEFIX : xmlParserOption = 262144 ; # [doc = " Relax some internal limits.\n\n Maximum size of text nodes, tags, comments, processing instructions,\n CDATA sections, entity values\n\n normal: 10M\n huge:    1B\n\n Maximum size of names, system literals, pubid literals\n\n normal: 50K\n huge:   10M\n\n Maximum nesting depth of elements\n\n normal:  256\n huge:   2048\n\n Maximum nesting depth of entities\n\n normal: 20\n huge:   40"] pub const xmlParserOption_XML_PARSE_HUGE : xmlParserOption = 524288 ; # [doc = " Enable an unspecified legacy mode for SAX parsers.\n\n @deprecated This option will be removed in a future version."] pub const xmlParserOption_XML_PARSE_OLDSAX : xmlParserOption = 1048576 ; # [doc = " Ignore the encoding in the XML declaration. This option is\n mostly unneeded these days. The only effect is to enforce\n UTF-8 decoding of ASCII-like data."] pub const xmlParserOption_XML_PARSE_IGNORE_ENC : xmlParserOption = 2097152 ; # [doc = " Enable reporting of line numbers larger than 65535."] pub const xmlParserOption_XML_PARSE_BIG_LINES : xmlParserOption = 4194304 ; # [doc = " Disables loading of external DTDs or entities.\n\n @since 2.13.0"] pub const xmlParserOption_XML_PARSE_NO_XXE : xmlParserOption = 8388608 ; # [doc = " Enable input decompression. Setting this option is discouraged\n to avoid zip bombs.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_UNZIP : xmlParserOption = 16777216 ; # [doc = " Disables the global system XML catalog.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_NO_SYS_CATALOG : xmlParserOption = 33554432 ; # [doc = " Enable XML catalog processing instructions.\n\n @since 2.14.0"] pub const xmlParserOption_XML_PARSE_CATALOG_PI : xmlParserOption = 67108864 ; # [doc = " Force the parser to ignore IDs.\n\n @since 2.15.0"] pub const xmlParserOption_XML_PARSE_SKIP_IDS : xmlParserOption = 134217728 ; # [doc = " This is the set of XML parser options that can be passed to\n #xmlReadDoc, #xmlCtxtSetOptions and other functions."] pub type xmlParserOption = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlCtxtReset (ctxt : * mut xmlParserCtxt) ; } unsafe extern "C" { pub fn xmlCtxtResetPush (ctxt : * mut xmlParserCtxt , chunk : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , filename : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetOptions (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtSetOptions (ctxt : * mut xmlParserCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtUseOptions (ctxt : * mut xmlParserCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetPrivate (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtSetPrivate (ctxt : * mut xmlParserCtxt , priv_ : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtGetCatalogs (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtSetCatalogs (ctxt : * mut xmlParserCtxt , catalogs : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtGetDict (ctxt : * mut xmlParserCtxt) -> * mut xmlDict ; } unsafe extern "C" { pub fn xmlCtxtSetDict (ctxt : * mut xmlParserCtxt , arg1 : * mut xmlDict) ; } unsafe extern "C" { pub fn xmlCtxtGetSaxHandler (ctxt : * mut xmlParserCtxt) -> * mut xmlSAXHandler ; } unsafe extern "C" { pub fn xmlCtxtSetSaxHandler (ctxt : * mut xmlParserCtxt , sax : * const xmlSAXHandler) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetDocument (ctxt : * mut xmlParserCtxt) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtIsHtml (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtIsStopped (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtIsInSubset (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetValidCtxt (ctxt : * mut xmlParserCtxt) -> * mut xmlValidCtxt ; } unsafe extern "C" { pub fn xmlCtxtGetVersion (ctxt : * mut xmlParserCtxt) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCtxtGetDeclaredEncoding (ctxt : * mut xmlParserCtxt) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlCtxtGetStandalone (ctxt : * mut xmlParserCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetStatus (ctxt : * mut xmlParserCtxt) -> xmlParserStatus ; } unsafe extern "C" { pub fn xmlCtxtGetUserData (ctxt : * mut xmlParserCtxt) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn xmlCtxtGetNode (ctxt : * mut xmlParserCtxt) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCtxtGetDocTypeDecl (ctxt : * mut xmlParserCtxt , name : * mut * const xmlChar , systemId : * mut * const xmlChar , publicId : * mut * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetInputPosition (ctxt : * mut xmlParserCtxt , inputIndex : :: std :: os :: raw :: c_int , filname : * mut * const :: std :: os :: raw :: c_char , line : * mut :: std :: os :: raw :: c_int , col : * mut :: std :: os :: raw :: c_int , bytePos : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtGetInputWindow (ctxt : * mut xmlParserCtxt , inputIndex : :: std :: os :: raw :: c_int , startOut : * mut * const xmlChar , sizeInOut : * mut :: std :: os :: raw :: c_int , offsetOut : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlCtxtSetErrorHandler (ctxt : * mut xmlParserCtxt , handler : xmlStructuredErrorFunc , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetResourceLoader (ctxt : * mut xmlParserCtxt , loader : xmlResourceLoader , vctxt : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetCharEncConvImpl (ctxt : * mut xmlParserCtxt , impl_ : xmlCharEncConvImpl , vctxt : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlCtxtSetMaxAmplification (ctxt : * mut xmlParserCtxt , maxAmpl : :: std :: os :: raw :: c_uint) ; } unsafe extern "C" { pub fn xmlReadDoc (cur : * const xmlChar , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadFile (URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadMemory (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadFd (fd : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlReadIO (ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseDocument (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtParseContent (ctxt : * mut xmlParserCtxt , input : * mut xmlParserInput , node : * mut xmlNode , hasTextDecl : :: std :: os :: raw :: c_int) -> * mut xmlNode ; } unsafe extern "C" { pub fn xmlCtxtReadDoc (ctxt : * mut xmlParserCtxt , cur : * const xmlChar , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadFile (ctxt : * mut xmlParserCtxt , filename : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadMemory (ctxt : * mut xmlParserCtxt , buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadFd (ctxt : * mut xmlParserCtxt , fd : :: std :: os :: raw :: c_int , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlCtxtReadIO (ctxt : * mut xmlParserCtxt , ioread : xmlInputReadCallback , ioclose : xmlInputCloseCallback , ioctx : * mut :: std :: os :: raw :: c_void , URL : * const :: std :: os :: raw :: c_char , encoding : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> * mut xmlDoc ; } unsafe extern "C" { pub fn xmlNewInputFromUrl (url : * const :: std :: os :: raw :: c_char , flags : xmlParserInputFlags , out : * mut * mut xmlParserInput) -> xmlParserErrors ; } unsafe extern "C" { pub fn xmlNewInputFromMemory (url : * const :: std :: os :: raw :: c_char , mem : * const :: std :: os :: raw :: c_void , size : usize , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromString (url : * const :: std :: os :: raw :: c_char , str_ : * const :: std :: os :: raw :: c_char , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromFd (url : * const :: std :: os :: raw :: c_char , fd : :: std :: os :: raw :: c_int , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlNewInputFromIO (url : * const :: std :: os :: raw :: c_char , ioRead : xmlInputReadCallback , ioClose : xmlInputCloseCallback , ioCtxt : * mut :: std :: os :: raw :: c_void , flags : xmlParserInputFlags) -> * mut xmlParserInput ; } unsafe extern "C" { pub fn xmlInputSetEncodingHandler (input : * mut xmlParserInput , handler : * mut xmlCharEncodingHandler) -> xmlParserErrors ; } # [doc = " Multithreading support"] pub const xmlFeature_XML_WITH_THREAD : xmlFeature = 1 ; # [doc = " @deprecated Always available"] pub const xmlFeature_XML_WITH_TREE : xmlFeature = 2 ; # [doc = " Serialization support"] pub const xmlFeature_XML_WITH_OUTPUT : xmlFeature = 3 ; # [doc = " Push parser"] pub const xmlFeature_XML_WITH_PUSH : xmlFeature = 4 ; # [doc = " XML Reader"] pub const xmlFeature_XML_WITH_READER : xmlFeature = 5 ; # [doc = " Streaming patterns"] pub const xmlFeature_XML_WITH_PATTERN : xmlFeature = 6 ; # [doc = " XML Writer"] pub const xmlFeature_XML_WITH_WRITER : xmlFeature = 7 ; # [doc = " Legacy SAX1 API"] pub const xmlFeature_XML_WITH_SAX1 : xmlFeature = 8 ; # [doc = " @deprecated FTP support was removed"] pub const xmlFeature_XML_WITH_FTP : xmlFeature = 9 ; # [doc = " @deprecated HTTP support was removed"] pub const xmlFeature_XML_WITH_HTTP : xmlFeature = 10 ; # [doc = " DTD validation"] pub const xmlFeature_XML_WITH_VALID : xmlFeature = 11 ; # [doc = " HTML parser"] pub const xmlFeature_XML_WITH_HTML : xmlFeature = 12 ; # [doc = " Legacy symbols"] pub const xmlFeature_XML_WITH_LEGACY : xmlFeature = 13 ; # [doc = " Canonical XML"] pub const xmlFeature_XML_WITH_C14N : xmlFeature = 14 ; # [doc = " XML Catalogs"] pub const xmlFeature_XML_WITH_CATALOG : xmlFeature = 15 ; # [doc = " XPath"] pub const xmlFeature_XML_WITH_XPATH : xmlFeature = 16 ; # [doc = " XPointer"] pub const xmlFeature_XML_WITH_XPTR : xmlFeature = 17 ; # [doc = " XInclude"] pub const xmlFeature_XML_WITH_XINCLUDE : xmlFeature = 18 ; # [doc = " iconv"] pub const xmlFeature_XML_WITH_ICONV : xmlFeature = 19 ; # [doc = " Built-in ISO-8859-X"] pub const xmlFeature_XML_WITH_ISO8859X : xmlFeature = 20 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_UNICODE : xmlFeature = 21 ; # [doc = " Regular expressions"] pub const xmlFeature_XML_WITH_REGEXP : xmlFeature = 22 ; # [doc = " @deprecated Same as XML_WITH_REGEXP"] pub const xmlFeature_XML_WITH_AUTOMATA : xmlFeature = 23 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_EXPR : xmlFeature = 24 ; # [doc = " XML Schemas"] pub const xmlFeature_XML_WITH_SCHEMAS : xmlFeature = 25 ; # [doc = " Schematron"] pub const xmlFeature_XML_WITH_SCHEMATRON : xmlFeature = 26 ; # [doc = " Loadable modules"] pub const xmlFeature_XML_WITH_MODULES : xmlFeature = 27 ; # [doc = " Debugging API"] pub const xmlFeature_XML_WITH_DEBUG : xmlFeature = 28 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_DEBUG_MEM : xmlFeature = 29 ; # [doc = " @deprecated Removed"] pub const xmlFeature_XML_WITH_DEBUG_RUN : xmlFeature = 30 ; # [doc = " GZIP compression"] pub const xmlFeature_XML_WITH_ZLIB : xmlFeature = 31 ; # [doc = " ICU"] pub const xmlFeature_XML_WITH_ICU : xmlFeature = 32 ; # [doc = " @deprecated LZMA support was removed"] pub const xmlFeature_XML_WITH_LZMA : xmlFeature = 33 ; # [doc = " RELAXNG, since 2.14"] pub const xmlFeature_XML_WITH_RELAXNG : xmlFeature = 34 ; # [doc = " RELAXNG, since 2.14"] pub const xmlFeature_XML_WITH_NONE : xmlFeature = 99999 ; # [doc = " Used to examine the existence of features that can be enabled\n or disabled at compile-time.\n They used to be called XML_FEATURE_xxx but this clashed with Expat"] pub type xmlFeature = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlHasFeature (feature : xmlFeature) -> :: std :: os :: raw :: c_int ; } pub const xmlSchemaValidError_XML_SCHEMAS_ERR_OK : xmlSchemaValidError = 0 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOROOT : xmlSchemaValidError = 1 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_UNDECLAREDELEM : xmlSchemaValidError = 2 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTTOPLEVEL : xmlSchemaValidError = 3 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_MISSING : xmlSchemaValidError = 4 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_WRONGELEM : xmlSchemaValidError = 5 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTYPE : xmlSchemaValidError = 6 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOROLLBACK : xmlSchemaValidError = 7 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ISABSTRACT : xmlSchemaValidError = 8 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTEMPTY : xmlSchemaValidError = 9 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ELEMCONT : xmlSchemaValidError = 10 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_HAVEDEFAULT : xmlSchemaValidError = 11 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTNILLABLE : xmlSchemaValidError = 12 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_EXTRACONTENT : xmlSchemaValidError = 13 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INVALIDATTR : xmlSchemaValidError = 14 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INVALIDELEM : xmlSchemaValidError = 15 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTDETERMINIST : xmlSchemaValidError = 16 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_CONSTRUCT : xmlSchemaValidError = 17 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_INTERNAL : xmlSchemaValidError = 18 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_NOTSIMPLE : xmlSchemaValidError = 19 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ATTRUNKNOWN : xmlSchemaValidError = 20 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ATTRINVALID : xmlSchemaValidError = 21 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_VALUE : xmlSchemaValidError = 22 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_FACET : xmlSchemaValidError = 23 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_ : xmlSchemaValidError = 24 ; pub const xmlSchemaValidError_XML_SCHEMAS_ERR_XXX : xmlSchemaValidError = 25 ; # [doc = " This error codes are obsolete; not used any more."] pub type xmlSchemaValidError = :: std :: os :: raw :: c_uint ; pub const xmlSchemaValidOption_XML_SCHEMA_VAL_VC_I_CREATE : xmlSchemaValidOption = 1 ; # [doc = " This is the set of XML Schema validation options."] pub type xmlSchemaValidOption = :: std :: os :: raw :: c_uint ; # [doc = " XML schema"] pub type xmlSchema = _xmlSchema ; pub type xmlSchemaPtr = * mut xmlSchema ; # [doc = " Signature of an error callback from an XSD validation\n\n @param ctx  the validation context\n @param msg  the message\n @param ... extra arguments"] pub type xmlSchemaValidityErrorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [doc = " Signature of a warning callback from an XSD validation\n\n @param ctx  the validation context\n @param msg  the message\n @param ... extra arguments"] pub type xmlSchemaValidityWarningFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , ...) > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaParserCtxt { _unused : [u8 ; 0] , } # [doc = " Schema parser context"] pub type xmlSchemaParserCtxt = _xmlSchemaParserCtxt ; pub type xmlSchemaParserCtxtPtr = * mut xmlSchemaParserCtxt ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaValidCtxt { _unused : [u8 ; 0] , } # [doc = " Schema validation context"] pub type xmlSchemaValidCtxt = _xmlSchemaValidCtxt ; pub type xmlSchemaValidCtxtPtr = * mut xmlSchemaValidCtxt ; # [doc = " A schemas validation locator, a callback called by the validator.\n This is used when file or node information are not available\n to find out what file and line number are affected\n\n @param ctx  user provided context\n @param file  returned file information\n @param line  returned line information\n @returns 0 in case of success and -1 in case of error"] pub type xmlSchemaValidityLocatorFunc = :: std :: option :: Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , file : * mut * const :: std :: os :: raw :: c_char , line : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int > ; unsafe extern "C" { pub fn xmlSchemaNewParserCtxt (URL : * const :: std :: os :: raw :: c_char) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaNewMemParserCtxt (buffer : * const :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaNewDocParserCtxt (doc : * mut xmlDoc) -> * mut xmlSchemaParserCtxt ; } unsafe extern "C" { pub fn xmlSchemaFreeParserCtxt (ctxt : * mut xmlSchemaParserCtxt) ; } unsafe extern "C" { pub fn xmlSchemaSetParserErrors (ctxt : * mut xmlSchemaParserCtxt , err : xmlSchemaValidityErrorFunc , warn : xmlSchemaValidityWarningFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaSetParserStructuredErrors (ctxt : * mut xmlSchemaParserCtxt , serror : xmlStructuredErrorFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaGetParserErrors (ctxt : * mut xmlSchemaParserCtxt , err : * mut xmlSchemaValidityErrorFunc , warn : * mut xmlSchemaValidityWarningFunc , ctx : * mut * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaSetResourceLoader (ctxt : * mut xmlSchemaParserCtxt , loader : xmlResourceLoader , data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaIsValid (ctxt : * mut xmlSchemaValidCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaParse (ctxt : * mut xmlSchemaParserCtxt) -> * mut xmlSchema ; } unsafe extern "C" { pub fn xmlSchemaFree (schema : * mut xmlSchema) ; } unsafe extern "C" { pub fn xmlSchemaDump (output : * mut FILE , schema : * mut xmlSchema) ; } unsafe extern "C" { pub fn xmlSchemaSetValidErrors (ctxt : * mut xmlSchemaValidCtxt , err : xmlSchemaValidityErrorFunc , warn : xmlSchemaValidityWarningFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaSetValidStructuredErrors (ctxt : * mut xmlSchemaValidCtxt , serror : xmlStructuredErrorFunc , ctx : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn xmlSchemaGetValidErrors (ctxt : * mut xmlSchemaValidCtxt , err : * mut xmlSchemaValidityErrorFunc , warn : * mut xmlSchemaValidityWarningFunc , ctx : * mut * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaSetValidOptions (ctxt : * mut xmlSchemaValidCtxt , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateSetFilename (vctxt : * mut xmlSchemaValidCtxt , filename : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn xmlSchemaValidCtxtGetOptions (ctxt : * mut xmlSchemaValidCtxt) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaNewValidCtxt (schema : * mut xmlSchema) -> * mut xmlSchemaValidCtxt ; } unsafe extern "C" { pub fn xmlSchemaFreeValidCtxt (ctxt : * mut xmlSchemaValidCtxt) ; } unsafe extern "C" { pub fn xmlSchemaValidateDoc (ctxt : * mut xmlSchemaValidCtxt , instance : * mut xmlDoc) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateOneElement (ctxt : * mut xmlSchemaValidCtxt , elem : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateStream (ctxt : * mut xmlSchemaValidCtxt , input : * mut xmlParserInputBuffer , enc : xmlCharEncoding , sax : * const xmlSAXHandler , user_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFile (ctxt : * mut xmlSchemaValidCtxt , filename : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidCtxtGetParserCtxt (ctxt : * mut xmlSchemaValidCtxt) -> * mut xmlParserCtxt ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaSAXPlug { _unused : [u8 ; 0] , } # [doc = " Interface to insert Schemas SAX validation in a SAX stream"] pub type xmlSchemaSAXPlugStruct = _xmlSchemaSAXPlug ; pub type xmlSchemaSAXPlugPtr = * mut xmlSchemaSAXPlugStruct ; unsafe extern "C" { pub fn xmlSchemaSAXPlug (ctxt : * mut xmlSchemaValidCtxt , sax : * mut * mut xmlSAXHandler , user_data : * mut * mut :: std :: os :: raw :: c_void) -> * mut xmlSchemaSAXPlugStruct ; } unsafe extern "C" { pub fn xmlSchemaSAXUnplug (plug : * mut xmlSchemaSAXPlugStruct) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateSetLocator (vctxt : * mut xmlSchemaValidCtxt , f : xmlSchemaValidityLocatorFunc , ctxt : * mut :: std :: os :: raw :: c_void) ; } pub const xmlSchemaValType_XML_SCHEMAS_UNKNOWN : xmlSchemaValType = 0 ; pub const xmlSchemaValType_XML_SCHEMAS_STRING : xmlSchemaValType = 1 ; pub const xmlSchemaValType_XML_SCHEMAS_NORMSTRING : xmlSchemaValType = 2 ; pub const xmlSchemaValType_XML_SCHEMAS_DECIMAL : xmlSchemaValType = 3 ; pub const xmlSchemaValType_XML_SCHEMAS_TIME : xmlSchemaValType = 4 ; pub const xmlSchemaValType_XML_SCHEMAS_GDAY : xmlSchemaValType = 5 ; pub const xmlSchemaValType_XML_SCHEMAS_GMONTH : xmlSchemaValType = 6 ; pub const xmlSchemaValType_XML_SCHEMAS_GMONTHDAY : xmlSchemaValType = 7 ; pub const xmlSchemaValType_XML_SCHEMAS_GYEAR : xmlSchemaValType = 8 ; pub const xmlSchemaValType_XML_SCHEMAS_GYEARMONTH : xmlSchemaValType = 9 ; pub const xmlSchemaValType_XML_SCHEMAS_DATE : xmlSchemaValType = 10 ; pub const xmlSchemaValType_XML_SCHEMAS_DATETIME : xmlSchemaValType = 11 ; pub const xmlSchemaValType_XML_SCHEMAS_DURATION : xmlSchemaValType = 12 ; pub const xmlSchemaValType_XML_SCHEMAS_FLOAT : xmlSchemaValType = 13 ; pub const xmlSchemaValType_XML_SCHEMAS_DOUBLE : xmlSchemaValType = 14 ; pub const xmlSchemaValType_XML_SCHEMAS_BOOLEAN : xmlSchemaValType = 15 ; pub const xmlSchemaValType_XML_SCHEMAS_TOKEN : xmlSchemaValType = 16 ; pub const xmlSchemaValType_XML_SCHEMAS_LANGUAGE : xmlSchemaValType = 17 ; pub const xmlSchemaValType_XML_SCHEMAS_NMTOKEN : xmlSchemaValType = 18 ; pub const xmlSchemaValType_XML_SCHEMAS_NMTOKENS : xmlSchemaValType = 19 ; pub const xmlSchemaValType_XML_SCHEMAS_NAME : xmlSchemaValType = 20 ; pub const xmlSchemaValType_XML_SCHEMAS_QNAME : xmlSchemaValType = 21 ; pub const xmlSchemaValType_XML_SCHEMAS_NCNAME : xmlSchemaValType = 22 ; pub const xmlSchemaValType_XML_SCHEMAS_ID : xmlSchemaValType = 23 ; pub const xmlSchemaValType_XML_SCHEMAS_IDREF : xmlSchemaValType = 24 ; pub const xmlSchemaValType_XML_SCHEMAS_IDREFS : xmlSchemaValType = 25 ; pub const xmlSchemaValType_XML_SCHEMAS_ENTITY : xmlSchemaValType = 26 ; pub const xmlSchemaValType_XML_SCHEMAS_ENTITIES : xmlSchemaValType = 27 ; pub const xmlSchemaValType_XML_SCHEMAS_NOTATION : xmlSchemaValType = 28 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYURI : xmlSchemaValType = 29 ; pub const xmlSchemaValType_XML_SCHEMAS_INTEGER : xmlSchemaValType = 30 ; pub const xmlSchemaValType_XML_SCHEMAS_NPINTEGER : xmlSchemaValType = 31 ; pub const xmlSchemaValType_XML_SCHEMAS_NINTEGER : xmlSchemaValType = 32 ; pub const xmlSchemaValType_XML_SCHEMAS_NNINTEGER : xmlSchemaValType = 33 ; pub const xmlSchemaValType_XML_SCHEMAS_PINTEGER : xmlSchemaValType = 34 ; pub const xmlSchemaValType_XML_SCHEMAS_INT : xmlSchemaValType = 35 ; pub const xmlSchemaValType_XML_SCHEMAS_UINT : xmlSchemaValType = 36 ; pub const xmlSchemaValType_XML_SCHEMAS_LONG : xmlSchemaValType = 37 ; pub const xmlSchemaValType_XML_SCHEMAS_ULONG : xmlSchemaValType = 38 ; pub const xmlSchemaValType_XML_SCHEMAS_SHORT : xmlSchemaValType = 39 ; pub const xmlSchemaValType_XML_SCHEMAS_USHORT : xmlSchemaValType = 40 ; pub const xmlSchemaValType_XML_SCHEMAS_BYTE : xmlSchemaValType = 41 ; pub const xmlSchemaValType_XML_SCHEMAS_UBYTE : xmlSchemaValType = 42 ; pub const xmlSchemaValType_XML_SCHEMAS_HEXBINARY : xmlSchemaValType = 43 ; pub const xmlSchemaValType_XML_SCHEMAS_BASE64BINARY : xmlSchemaValType = 44 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYTYPE : xmlSchemaValType = 45 ; pub const xmlSchemaValType_XML_SCHEMAS_ANYSIMPLETYPE : xmlSchemaValType = 46 ; # [doc = " Schema value type"] pub type xmlSchemaValType = :: std :: os :: raw :: c_uint ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_BASIC : xmlSchemaTypeType = 1 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ANY : xmlSchemaTypeType = 2 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_FACET : xmlSchemaTypeType = 3 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SIMPLE : xmlSchemaTypeType = 4 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_COMPLEX : xmlSchemaTypeType = 5 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SEQUENCE : xmlSchemaTypeType = 6 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_CHOICE : xmlSchemaTypeType = 7 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ALL : xmlSchemaTypeType = 8 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_SIMPLE_CONTENT : xmlSchemaTypeType = 9 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_COMPLEX_CONTENT : xmlSchemaTypeType = 10 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_UR : xmlSchemaTypeType = 11 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_RESTRICTION : xmlSchemaTypeType = 12 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_EXTENSION : xmlSchemaTypeType = 13 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ELEMENT : xmlSchemaTypeType = 14 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTE : xmlSchemaTypeType = 15 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTEGROUP : xmlSchemaTypeType = 16 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_GROUP : xmlSchemaTypeType = 17 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_NOTATION : xmlSchemaTypeType = 18 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_LIST : xmlSchemaTypeType = 19 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_UNION : xmlSchemaTypeType = 20 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ANY_ATTRIBUTE : xmlSchemaTypeType = 21 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_UNIQUE : xmlSchemaTypeType = 22 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_KEY : xmlSchemaTypeType = 23 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_IDC_KEYREF : xmlSchemaTypeType = 24 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_PARTICLE : xmlSchemaTypeType = 25 ; pub const xmlSchemaTypeType_XML_SCHEMA_TYPE_ATTRIBUTE_USE : xmlSchemaTypeType = 26 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MININCLUSIVE : xmlSchemaTypeType = 1000 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MINEXCLUSIVE : xmlSchemaTypeType = 1001 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXINCLUSIVE : xmlSchemaTypeType = 1002 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXEXCLUSIVE : xmlSchemaTypeType = 1003 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_TOTALDIGITS : xmlSchemaTypeType = 1004 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_FRACTIONDIGITS : xmlSchemaTypeType = 1005 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_PATTERN : xmlSchemaTypeType = 1006 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_ENUMERATION : xmlSchemaTypeType = 1007 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_WHITESPACE : xmlSchemaTypeType = 1008 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_LENGTH : xmlSchemaTypeType = 1009 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MAXLENGTH : xmlSchemaTypeType = 1010 ; pub const xmlSchemaTypeType_XML_SCHEMA_FACET_MINLENGTH : xmlSchemaTypeType = 1011 ; pub const xmlSchemaTypeType_XML_SCHEMA_EXTRA_QNAMEREF : xmlSchemaTypeType = 2000 ; pub const xmlSchemaTypeType_XML_SCHEMA_EXTRA_ATTR_USE_PROHIB : xmlSchemaTypeType = 2001 ; # [doc = " XML Schemas defines multiple type of types."] pub type xmlSchemaTypeType = :: std :: os :: raw :: c_uint ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_UNKNOWN : xmlSchemaContentType = 0 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_EMPTY : xmlSchemaContentType = 1 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_ELEMENTS : xmlSchemaContentType = 2 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_MIXED : xmlSchemaContentType = 3 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_SIMPLE : xmlSchemaContentType = 4 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_MIXED_OR_ELEMENTS : xmlSchemaContentType = 5 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_BASIC : xmlSchemaContentType = 6 ; pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_ANY : xmlSchemaContentType = 7 ; # [doc = " Schema content type"] pub type xmlSchemaContentType = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaVal { _unused : [u8 ; 0] , } # [doc = " Schema value"] pub type xmlSchemaVal = _xmlSchemaVal ; pub type xmlSchemaValPtr = * mut xmlSchemaVal ; # [doc = " Schema type"] pub type xmlSchemaType = _xmlSchemaType ; pub type xmlSchemaTypePtr = * mut xmlSchemaType ; # [doc = " Schema facet"] pub type xmlSchemaFacet = _xmlSchemaFacet ; pub type xmlSchemaFacetPtr = * mut xmlSchemaFacet ; # [doc = " Schema annotation"] pub type xmlSchemaAnnot = _xmlSchemaAnnot ; pub type xmlSchemaAnnotPtr = * mut xmlSchemaAnnot ; # [doc = " Annotation"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAnnot { pub next : * mut _xmlSchemaAnnot , pub content : * mut xmlNode , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAnnot"] [:: std :: mem :: size_of :: < _xmlSchemaAnnot > () - 16usize] ; ["Alignment of _xmlSchemaAnnot"] [:: std :: mem :: align_of :: < _xmlSchemaAnnot > () - 8usize] ; ["Offset of field: _xmlSchemaAnnot::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAnnot , next) - 0usize] ; ["Offset of field: _xmlSchemaAnnot::content"] [:: std :: mem :: offset_of ! (_xmlSchemaAnnot , content) - 8usize] ; } ; # [doc = " Schema attribute definition"] pub type xmlSchemaAttribute = _xmlSchemaAttribute ; pub type xmlSchemaAttributePtr = * mut xmlSchemaAttribute ; # [doc = " An attribute definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttribute { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaAttribute , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub typeName : * const xmlChar , pub typeNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub base : * mut xmlSchemaType , pub occurs : :: std :: os :: raw :: c_int , pub defValue : * const xmlChar , pub subtypes : * mut xmlSchemaType , pub node : * mut xmlNode , pub targetNamespace : * const xmlChar , pub flags : :: std :: os :: raw :: c_int , pub refPrefix : * const xmlChar , pub defVal : * mut xmlSchemaVal , pub refDecl : * mut xmlSchemaAttribute , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttribute"] [:: std :: mem :: size_of :: < _xmlSchemaAttribute > () - 152usize] ; ["Alignment of _xmlSchemaAttribute"] [:: std :: mem :: align_of :: < _xmlSchemaAttribute > () - 8usize] ; ["Offset of field: _xmlSchemaAttribute::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , type_) - 0usize] ; ["Offset of field: _xmlSchemaAttribute::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , next) - 8usize] ; ["Offset of field: _xmlSchemaAttribute::name"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , name) - 16usize] ; ["Offset of field: _xmlSchemaAttribute::id"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , id) - 24usize] ; ["Offset of field: _xmlSchemaAttribute::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , ref_) - 32usize] ; ["Offset of field: _xmlSchemaAttribute::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refNs) - 40usize] ; ["Offset of field: _xmlSchemaAttribute::typeName"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , typeName) - 48usize] ; ["Offset of field: _xmlSchemaAttribute::typeNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , typeNs) - 56usize] ; ["Offset of field: _xmlSchemaAttribute::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , annot) - 64usize] ; ["Offset of field: _xmlSchemaAttribute::base"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , base) - 72usize] ; ["Offset of field: _xmlSchemaAttribute::occurs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , occurs) - 80usize] ; ["Offset of field: _xmlSchemaAttribute::defValue"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , defValue) - 88usize] ; ["Offset of field: _xmlSchemaAttribute::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , subtypes) - 96usize] ; ["Offset of field: _xmlSchemaAttribute::node"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , node) - 104usize] ; ["Offset of field: _xmlSchemaAttribute::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , targetNamespace) - 112usize] ; ["Offset of field: _xmlSchemaAttribute::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , flags) - 120usize] ; ["Offset of field: _xmlSchemaAttribute::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refPrefix) - 128usize] ; ["Offset of field: _xmlSchemaAttribute::defVal"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , defVal) - 136usize] ; ["Offset of field: _xmlSchemaAttribute::refDecl"] [:: std :: mem :: offset_of ! (_xmlSchemaAttribute , refDecl) - 144usize] ; } ; # [doc = " Linked list of schema attributes"] pub type xmlSchemaAttributeLink = _xmlSchemaAttributeLink ; pub type xmlSchemaAttributeLinkPtr = * mut xmlSchemaAttributeLink ; # [doc = " Used to build a list of attribute uses on complexType definitions.\n WARNING: Deprecated; not used."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttributeLink { pub next : * mut _xmlSchemaAttributeLink , pub attr : * mut _xmlSchemaAttribute , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttributeLink"] [:: std :: mem :: size_of :: < _xmlSchemaAttributeLink > () - 16usize] ; ["Alignment of _xmlSchemaAttributeLink"] [:: std :: mem :: align_of :: < _xmlSchemaAttributeLink > () - 8usize] ; ["Offset of field: _xmlSchemaAttributeLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeLink , next) - 0usize] ; ["Offset of field: _xmlSchemaAttributeLink::attr"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeLink , attr) - 8usize] ; } ; # [doc = " Namespace wildcard"] pub type xmlSchemaWildcardNs = _xmlSchemaWildcardNs ; pub type xmlSchemaWildcardNsPtr = * mut xmlSchemaWildcardNs ; # [doc = " Used to build a list of namespaces on wildcards."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaWildcardNs { pub next : * mut _xmlSchemaWildcardNs , pub value : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaWildcardNs"] [:: std :: mem :: size_of :: < _xmlSchemaWildcardNs > () - 16usize] ; ["Alignment of _xmlSchemaWildcardNs"] [:: std :: mem :: align_of :: < _xmlSchemaWildcardNs > () - 8usize] ; ["Offset of field: _xmlSchemaWildcardNs::next"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcardNs , next) - 0usize] ; ["Offset of field: _xmlSchemaWildcardNs::value"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcardNs , value) - 8usize] ; } ; # [doc = " Name wildcard"] pub type xmlSchemaWildcard = _xmlSchemaWildcard ; pub type xmlSchemaWildcardPtr = * mut xmlSchemaWildcard ; # [doc = " A wildcard."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaWildcard { pub type_ : xmlSchemaTypeType , pub id : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub processContents : :: std :: os :: raw :: c_int , pub any : :: std :: os :: raw :: c_int , pub nsSet : * mut xmlSchemaWildcardNs , pub negNsSet : * mut xmlSchemaWildcardNs , pub flags : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaWildcard"] [:: std :: mem :: size_of :: < _xmlSchemaWildcard > () - 72usize] ; ["Alignment of _xmlSchemaWildcard"] [:: std :: mem :: align_of :: < _xmlSchemaWildcard > () - 8usize] ; ["Offset of field: _xmlSchemaWildcard::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , type_) - 0usize] ; ["Offset of field: _xmlSchemaWildcard::id"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , id) - 8usize] ; ["Offset of field: _xmlSchemaWildcard::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , annot) - 16usize] ; ["Offset of field: _xmlSchemaWildcard::node"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , node) - 24usize] ; ["Offset of field: _xmlSchemaWildcard::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , minOccurs) - 32usize] ; ["Offset of field: _xmlSchemaWildcard::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , maxOccurs) - 36usize] ; ["Offset of field: _xmlSchemaWildcard::processContents"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , processContents) - 40usize] ; ["Offset of field: _xmlSchemaWildcard::any"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , any) - 44usize] ; ["Offset of field: _xmlSchemaWildcard::nsSet"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , nsSet) - 48usize] ; ["Offset of field: _xmlSchemaWildcard::negNsSet"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , negNsSet) - 56usize] ; ["Offset of field: _xmlSchemaWildcard::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaWildcard , flags) - 64usize] ; } ; # [doc = " Attribute group"] pub type xmlSchemaAttributeGroup = _xmlSchemaAttributeGroup ; pub type xmlSchemaAttributeGroupPtr = * mut xmlSchemaAttributeGroup ; # [doc = " An attribute group definition.\n\n xmlSchemaAttribute and xmlSchemaAttributeGroup start of structures\n must be kept similar"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaAttributeGroup { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaAttribute , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub flags : :: std :: os :: raw :: c_int , pub attributeWildcard : * mut xmlSchemaWildcard , pub refPrefix : * const xmlChar , pub refItem : * mut xmlSchemaAttributeGroup , pub targetNamespace : * const xmlChar , pub attrUses : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaAttributeGroup"] [:: std :: mem :: size_of :: < _xmlSchemaAttributeGroup > () - 120usize] ; ["Alignment of _xmlSchemaAttributeGroup"] [:: std :: mem :: align_of :: < _xmlSchemaAttributeGroup > () - 8usize] ; ["Offset of field: _xmlSchemaAttributeGroup::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , type_) - 0usize] ; ["Offset of field: _xmlSchemaAttributeGroup::next"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , next) - 8usize] ; ["Offset of field: _xmlSchemaAttributeGroup::name"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , name) - 16usize] ; ["Offset of field: _xmlSchemaAttributeGroup::id"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , id) - 24usize] ; ["Offset of field: _xmlSchemaAttributeGroup::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , ref_) - 32usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refNs) - 40usize] ; ["Offset of field: _xmlSchemaAttributeGroup::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , annot) - 48usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attributes) - 56usize] ; ["Offset of field: _xmlSchemaAttributeGroup::node"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , node) - 64usize] ; ["Offset of field: _xmlSchemaAttributeGroup::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , flags) - 72usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attributeWildcard"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attributeWildcard) - 80usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refPrefix) - 88usize] ; ["Offset of field: _xmlSchemaAttributeGroup::refItem"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , refItem) - 96usize] ; ["Offset of field: _xmlSchemaAttributeGroup::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , targetNamespace) - 104usize] ; ["Offset of field: _xmlSchemaAttributeGroup::attrUses"] [:: std :: mem :: offset_of ! (_xmlSchemaAttributeGroup , attrUses) - 112usize] ; } ; # [doc = " Linked list of schema types"] pub type xmlSchemaTypeLink = _xmlSchemaTypeLink ; pub type xmlSchemaTypeLinkPtr = * mut xmlSchemaTypeLink ; # [doc = " Used to build a list of types (e.g. member types of\n simpleType with variety \"union\")."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaTypeLink { pub next : * mut _xmlSchemaTypeLink , pub type_ : * mut xmlSchemaType , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaTypeLink"] [:: std :: mem :: size_of :: < _xmlSchemaTypeLink > () - 16usize] ; ["Alignment of _xmlSchemaTypeLink"] [:: std :: mem :: align_of :: < _xmlSchemaTypeLink > () - 8usize] ; ["Offset of field: _xmlSchemaTypeLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaTypeLink , next) - 0usize] ; ["Offset of field: _xmlSchemaTypeLink::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaTypeLink , type_) - 8usize] ; } ; # [doc = " Linked list of schema facets"] pub type xmlSchemaFacetLink = _xmlSchemaFacetLink ; pub type xmlSchemaFacetLinkPtr = * mut xmlSchemaFacetLink ; # [doc = " Used to build a list of facets."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaFacetLink { pub next : * mut _xmlSchemaFacetLink , pub facet : * mut xmlSchemaFacet , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaFacetLink"] [:: std :: mem :: size_of :: < _xmlSchemaFacetLink > () - 16usize] ; ["Alignment of _xmlSchemaFacetLink"] [:: std :: mem :: align_of :: < _xmlSchemaFacetLink > () - 8usize] ; ["Offset of field: _xmlSchemaFacetLink::next"] [:: std :: mem :: offset_of ! (_xmlSchemaFacetLink , next) - 0usize] ; ["Offset of field: _xmlSchemaFacetLink::facet"] [:: std :: mem :: offset_of ! (_xmlSchemaFacetLink , facet) - 8usize] ; } ; # [doc = " Schemas type definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaType { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaType , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub subtypes : * mut xmlSchemaType , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub flags : :: std :: os :: raw :: c_int , pub contentType : xmlSchemaContentType , pub base : * const xmlChar , pub baseNs : * const xmlChar , pub baseType : * mut xmlSchemaType , pub facets : * mut xmlSchemaFacet , pub redef : * mut _xmlSchemaType , pub recurse : :: std :: os :: raw :: c_int , pub attributeUses : * mut * mut xmlSchemaAttributeLink , pub attributeWildcard : * mut xmlSchemaWildcard , pub builtInType : :: std :: os :: raw :: c_int , pub memberTypes : * mut xmlSchemaTypeLink , pub facetSet : * mut xmlSchemaFacetLink , pub refPrefix : * const xmlChar , pub contentTypeDef : * mut xmlSchemaType , pub contModel : * mut xmlRegexp , pub targetNamespace : * const xmlChar , pub attrUses : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaType"] [:: std :: mem :: size_of :: < _xmlSchemaType > () - 224usize] ; ["Alignment of _xmlSchemaType"] [:: std :: mem :: align_of :: < _xmlSchemaType > () - 8usize] ; ["Offset of field: _xmlSchemaType::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaType , type_) - 0usize] ; ["Offset of field: _xmlSchemaType::next"] [:: std :: mem :: offset_of ! (_xmlSchemaType , next) - 8usize] ; ["Offset of field: _xmlSchemaType::name"] [:: std :: mem :: offset_of ! (_xmlSchemaType , name) - 16usize] ; ["Offset of field: _xmlSchemaType::id"] [:: std :: mem :: offset_of ! (_xmlSchemaType , id) - 24usize] ; ["Offset of field: _xmlSchemaType::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaType , ref_) - 32usize] ; ["Offset of field: _xmlSchemaType::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , refNs) - 40usize] ; ["Offset of field: _xmlSchemaType::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaType , annot) - 48usize] ; ["Offset of field: _xmlSchemaType::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , subtypes) - 56usize] ; ["Offset of field: _xmlSchemaType::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributes) - 64usize] ; ["Offset of field: _xmlSchemaType::node"] [:: std :: mem :: offset_of ! (_xmlSchemaType , node) - 72usize] ; ["Offset of field: _xmlSchemaType::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , minOccurs) - 80usize] ; ["Offset of field: _xmlSchemaType::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , maxOccurs) - 84usize] ; ["Offset of field: _xmlSchemaType::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaType , flags) - 88usize] ; ["Offset of field: _xmlSchemaType::contentType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contentType) - 92usize] ; ["Offset of field: _xmlSchemaType::base"] [:: std :: mem :: offset_of ! (_xmlSchemaType , base) - 96usize] ; ["Offset of field: _xmlSchemaType::baseNs"] [:: std :: mem :: offset_of ! (_xmlSchemaType , baseNs) - 104usize] ; ["Offset of field: _xmlSchemaType::baseType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , baseType) - 112usize] ; ["Offset of field: _xmlSchemaType::facets"] [:: std :: mem :: offset_of ! (_xmlSchemaType , facets) - 120usize] ; ["Offset of field: _xmlSchemaType::redef"] [:: std :: mem :: offset_of ! (_xmlSchemaType , redef) - 128usize] ; ["Offset of field: _xmlSchemaType::recurse"] [:: std :: mem :: offset_of ! (_xmlSchemaType , recurse) - 136usize] ; ["Offset of field: _xmlSchemaType::attributeUses"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributeUses) - 144usize] ; ["Offset of field: _xmlSchemaType::attributeWildcard"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attributeWildcard) - 152usize] ; ["Offset of field: _xmlSchemaType::builtInType"] [:: std :: mem :: offset_of ! (_xmlSchemaType , builtInType) - 160usize] ; ["Offset of field: _xmlSchemaType::memberTypes"] [:: std :: mem :: offset_of ! (_xmlSchemaType , memberTypes) - 168usize] ; ["Offset of field: _xmlSchemaType::facetSet"] [:: std :: mem :: offset_of ! (_xmlSchemaType , facetSet) - 176usize] ; ["Offset of field: _xmlSchemaType::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaType , refPrefix) - 184usize] ; ["Offset of field: _xmlSchemaType::contentTypeDef"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contentTypeDef) - 192usize] ; ["Offset of field: _xmlSchemaType::contModel"] [:: std :: mem :: offset_of ! (_xmlSchemaType , contModel) - 200usize] ; ["Offset of field: _xmlSchemaType::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaType , targetNamespace) - 208usize] ; ["Offset of field: _xmlSchemaType::attrUses"] [:: std :: mem :: offset_of ! (_xmlSchemaType , attrUses) - 216usize] ; } ; # [doc = " Schema element definition"] pub type xmlSchemaElement = _xmlSchemaElement ; pub type xmlSchemaElementPtr = * mut xmlSchemaElement ; # [doc = " An element definition.\n\n xmlSchemaType, xmlSchemaFacet and xmlSchemaElement start of\n structures must be kept similar"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaElement { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaType , pub name : * const xmlChar , pub id : * const xmlChar , pub ref_ : * const xmlChar , pub refNs : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub subtypes : * mut xmlSchemaType , pub attributes : * mut xmlSchemaAttribute , pub node : * mut xmlNode , pub minOccurs : :: std :: os :: raw :: c_int , pub maxOccurs : :: std :: os :: raw :: c_int , pub flags : :: std :: os :: raw :: c_int , pub targetNamespace : * const xmlChar , pub namedType : * const xmlChar , pub namedTypeNs : * const xmlChar , pub substGroup : * const xmlChar , pub substGroupNs : * const xmlChar , pub scope : * const xmlChar , pub value : * const xmlChar , pub refDecl : * mut _xmlSchemaElement , pub contModel : * mut xmlRegexp , pub contentType : xmlSchemaContentType , pub refPrefix : * const xmlChar , pub defVal : * mut xmlSchemaVal , pub idcs : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaElement"] [:: std :: mem :: size_of :: < _xmlSchemaElement > () - 200usize] ; ["Alignment of _xmlSchemaElement"] [:: std :: mem :: align_of :: < _xmlSchemaElement > () - 8usize] ; ["Offset of field: _xmlSchemaElement::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , type_) - 0usize] ; ["Offset of field: _xmlSchemaElement::next"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , next) - 8usize] ; ["Offset of field: _xmlSchemaElement::name"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , name) - 16usize] ; ["Offset of field: _xmlSchemaElement::id"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , id) - 24usize] ; ["Offset of field: _xmlSchemaElement::ref_"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , ref_) - 32usize] ; ["Offset of field: _xmlSchemaElement::refNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refNs) - 40usize] ; ["Offset of field: _xmlSchemaElement::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , annot) - 48usize] ; ["Offset of field: _xmlSchemaElement::subtypes"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , subtypes) - 56usize] ; ["Offset of field: _xmlSchemaElement::attributes"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , attributes) - 64usize] ; ["Offset of field: _xmlSchemaElement::node"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , node) - 72usize] ; ["Offset of field: _xmlSchemaElement::minOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , minOccurs) - 80usize] ; ["Offset of field: _xmlSchemaElement::maxOccurs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , maxOccurs) - 84usize] ; ["Offset of field: _xmlSchemaElement::flags"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , flags) - 88usize] ; ["Offset of field: _xmlSchemaElement::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , targetNamespace) - 96usize] ; ["Offset of field: _xmlSchemaElement::namedType"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , namedType) - 104usize] ; ["Offset of field: _xmlSchemaElement::namedTypeNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , namedTypeNs) - 112usize] ; ["Offset of field: _xmlSchemaElement::substGroup"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , substGroup) - 120usize] ; ["Offset of field: _xmlSchemaElement::substGroupNs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , substGroupNs) - 128usize] ; ["Offset of field: _xmlSchemaElement::scope"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , scope) - 136usize] ; ["Offset of field: _xmlSchemaElement::value"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , value) - 144usize] ; ["Offset of field: _xmlSchemaElement::refDecl"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refDecl) - 152usize] ; ["Offset of field: _xmlSchemaElement::contModel"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , contModel) - 160usize] ; ["Offset of field: _xmlSchemaElement::contentType"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , contentType) - 168usize] ; ["Offset of field: _xmlSchemaElement::refPrefix"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , refPrefix) - 176usize] ; ["Offset of field: _xmlSchemaElement::defVal"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , defVal) - 184usize] ; ["Offset of field: _xmlSchemaElement::idcs"] [:: std :: mem :: offset_of ! (_xmlSchemaElement , idcs) - 192usize] ; } ; # [doc = " A facet definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaFacet { pub type_ : xmlSchemaTypeType , pub next : * mut _xmlSchemaFacet , pub value : * const xmlChar , pub id : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub node : * mut xmlNode , pub fixed : :: std :: os :: raw :: c_int , pub whitespace : :: std :: os :: raw :: c_int , pub val : * mut xmlSchemaVal , pub regexp : * mut xmlRegexp , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaFacet"] [:: std :: mem :: size_of :: < _xmlSchemaFacet > () - 72usize] ; ["Alignment of _xmlSchemaFacet"] [:: std :: mem :: align_of :: < _xmlSchemaFacet > () - 8usize] ; ["Offset of field: _xmlSchemaFacet::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , type_) - 0usize] ; ["Offset of field: _xmlSchemaFacet::next"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , next) - 8usize] ; ["Offset of field: _xmlSchemaFacet::value"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , value) - 16usize] ; ["Offset of field: _xmlSchemaFacet::id"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , id) - 24usize] ; ["Offset of field: _xmlSchemaFacet::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , annot) - 32usize] ; ["Offset of field: _xmlSchemaFacet::node"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , node) - 40usize] ; ["Offset of field: _xmlSchemaFacet::fixed"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , fixed) - 48usize] ; ["Offset of field: _xmlSchemaFacet::whitespace"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , whitespace) - 52usize] ; ["Offset of field: _xmlSchemaFacet::val"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , val) - 56usize] ; ["Offset of field: _xmlSchemaFacet::regexp"] [:: std :: mem :: offset_of ! (_xmlSchemaFacet , regexp) - 64usize] ; } ; # [doc = " Schema notation"] pub type xmlSchemaNotation = _xmlSchemaNotation ; pub type xmlSchemaNotationPtr = * mut xmlSchemaNotation ; # [doc = " A notation definition."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchemaNotation { pub type_ : xmlSchemaTypeType , pub name : * const xmlChar , pub annot : * mut xmlSchemaAnnot , pub identifier : * const xmlChar , pub targetNamespace : * const xmlChar , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchemaNotation"] [:: std :: mem :: size_of :: < _xmlSchemaNotation > () - 40usize] ; ["Alignment of _xmlSchemaNotation"] [:: std :: mem :: align_of :: < _xmlSchemaNotation > () - 8usize] ; ["Offset of field: _xmlSchemaNotation::type_"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , type_) - 0usize] ; ["Offset of field: _xmlSchemaNotation::name"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , name) - 8usize] ; ["Offset of field: _xmlSchemaNotation::annot"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , annot) - 16usize] ; ["Offset of field: _xmlSchemaNotation::identifier"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , identifier) - 24usize] ; ["Offset of field: _xmlSchemaNotation::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchemaNotation , targetNamespace) - 32usize] ; } ; # [doc = " A Schemas definition"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlSchema { pub name : * const xmlChar , pub targetNamespace : * const xmlChar , pub version : * const xmlChar , pub id : * const xmlChar , pub doc : * mut xmlDoc , pub annot : * mut xmlSchemaAnnot , pub flags : :: std :: os :: raw :: c_int , pub typeDecl : * mut xmlHashTable , pub attrDecl : * mut xmlHashTable , pub attrgrpDecl : * mut xmlHashTable , pub elemDecl : * mut xmlHashTable , pub notaDecl : * mut xmlHashTable , pub schemasImports : * mut xmlHashTable , pub _private : * mut :: std :: os :: raw :: c_void , pub groupDecl : * mut xmlHashTable , pub dict : * mut xmlDict , pub includes : * mut :: std :: os :: raw :: c_void , pub preserve : :: std :: os :: raw :: c_int , pub counter : :: std :: os :: raw :: c_int , pub idcDef : * mut xmlHashTable , pub volatiles : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _xmlSchema"] [:: std :: mem :: size_of :: < _xmlSchema > () - 160usize] ; ["Alignment of _xmlSchema"] [:: std :: mem :: align_of :: < _xmlSchema > () - 8usize] ; ["Offset of field: _xmlSchema::name"] [:: std :: mem :: offset_of ! (_xmlSchema , name) - 0usize] ; ["Offset of field: _xmlSchema::targetNamespace"] [:: std :: mem :: offset_of ! (_xmlSchema , targetNamespace) - 8usize] ; ["Offset of field: _xmlSchema::version"] [:: std :: mem :: offset_of ! (_xmlSchema , version) - 16usize] ; ["Offset of field: _xmlSchema::id"] [:: std :: mem :: offset_of ! (_xmlSchema , id) - 24usize] ; ["Offset of field: _xmlSchema::doc"] [:: std :: mem :: offset_of ! (_xmlSchema , doc) - 32usize] ; ["Offset of field: _xmlSchema::annot"] [:: std :: mem :: offset_of ! (_xmlSchema , annot) - 40usize] ; ["Offset of field: _xmlSchema::flags"] [:: std :: mem :: offset_of ! (_xmlSchema , flags) - 48usize] ; ["Offset of field: _xmlSchema::typeDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , typeDecl) - 56usize] ; ["Offset of field: _xmlSchema::attrDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , attrDecl) - 64usize] ; ["Offset of field: _xmlSchema::attrgrpDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , attrgrpDecl) - 72usize] ; ["Offset of field: _xmlSchema::elemDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , elemDecl) - 80usize] ; ["Offset of field: _xmlSchema::notaDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , notaDecl) - 88usize] ; ["Offset of field: _xmlSchema::schemasImports"] [:: std :: mem :: offset_of ! (_xmlSchema , schemasImports) - 96usize] ; ["Offset of field: _xmlSchema::_private"] [:: std :: mem :: offset_of ! (_xmlSchema , _private) - 104usize] ; ["Offset of field: _xmlSchema::groupDecl"] [:: std :: mem :: offset_of ! (_xmlSchema , groupDecl) - 112usize] ; ["Offset of field: _xmlSchema::dict"] [:: std :: mem :: offset_of ! (_xmlSchema , dict) - 120usize] ; ["Offset of field: _xmlSchema::includes"] [:: std :: mem :: offset_of ! (_xmlSchema , includes) - 128usize] ; ["Offset of field: _xmlSchema::preserve"] [:: std :: mem :: offset_of ! (_xmlSchema , preserve) - 136usize] ; ["Offset of field: _xmlSchema::counter"] [:: std :: mem :: offset_of ! (_xmlSchema , counter) - 140usize] ; ["Offset of field: _xmlSchema::idcDef"] [:: std :: mem :: offset_of ! (_xmlSchema , idcDef) - 144usize] ; ["Offset of field: _xmlSchema::volatiles"] [:: std :: mem :: offset_of ! (_xmlSchema , volatiles) - 152usize] ; } ; unsafe extern "C" { pub fn xmlSchemaFreeType (type_ : * mut xmlSchemaType) ; } unsafe extern "C" { pub fn xmlSchemaFreeWildcard (wildcard : * mut xmlSchemaWildcard) ; } pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_UNKNOWN : xmlSchemaWhitespaceValueType = 0 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_PRESERVE : xmlSchemaWhitespaceValueType = 1 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_REPLACE : xmlSchemaWhitespaceValueType = 2 ; pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_COLLAPSE : xmlSchemaWhitespaceValueType = 3 ; # [doc = " Schema whitespace value type"] pub type xmlSchemaWhitespaceValueType = :: std :: os :: raw :: c_uint ; unsafe extern "C" { pub fn xmlSchemaInitTypes () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCleanupTypes () ; } unsafe extern "C" { pub fn xmlSchemaGetPredefinedType (name : * const xmlChar , ns : * const xmlChar) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaValidatePredefinedType (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValPredefTypeNode (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal , node : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFacet (base : * mut xmlSchemaType , facet : * mut xmlSchemaFacet , value : * const xmlChar , val : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateFacetWhtsp (facet : * mut xmlSchemaFacet , fws : xmlSchemaWhitespaceValueType , valType : xmlSchemaValType , value : * const xmlChar , val : * mut xmlSchemaVal , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaFreeValue (val : * mut xmlSchemaVal) ; } unsafe extern "C" { pub fn xmlSchemaNewFacet () -> * mut xmlSchemaFacet ; } unsafe extern "C" { pub fn xmlSchemaCheckFacet (facet : * mut xmlSchemaFacet , typeDecl : * mut xmlSchemaType , ctxt : * mut xmlSchemaParserCtxt , name : * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaFreeFacet (facet : * mut xmlSchemaFacet) ; } unsafe extern "C" { pub fn xmlSchemaCompareValues (x : * mut xmlSchemaVal , y : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetBuiltInListSimpleTypeItemType (type_ : * mut xmlSchemaType) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaValidateListSimpleTypeFacet (facet : * mut xmlSchemaFacet , value : * const xmlChar , actualLen : :: std :: os :: raw :: c_ulong , expectedLen : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetBuiltInType (type_ : xmlSchemaValType) -> * mut xmlSchemaType ; } unsafe extern "C" { pub fn xmlSchemaIsBuiltInTypeFacet (type_ : * mut xmlSchemaType , facetType : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCollapseString (value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSchemaWhiteSpaceReplace (value : * const xmlChar) -> * mut xmlChar ; } unsafe extern "C" { pub fn xmlSchemaGetFacetValueAsULong (facet : * mut xmlSchemaFacet) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "C" { pub fn xmlSchemaValidateLengthFacet (type_ : * mut xmlSchemaType , facet : * mut xmlSchemaFacet , value : * const xmlChar , val : * mut xmlSchemaVal , length : * mut :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValidateLengthFacetWhtsp (facet : * mut xmlSchemaFacet , valType : xmlSchemaValType , value : * const xmlChar , val : * mut xmlSchemaVal , length : * mut :: std :: os :: raw :: c_ulong , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValPredefTypeNodeNoNorm (type_ : * mut xmlSchemaType , value : * const xmlChar , val : * mut * mut xmlSchemaVal , node : * mut xmlNode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetCanonValue (val : * mut xmlSchemaVal , retValue : * mut * const xmlChar) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaGetCanonValueWhtsp (val : * mut xmlSchemaVal , retValue : * mut * const xmlChar , ws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValueAppend (prev : * mut xmlSchemaVal , cur : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaValueGetNext (cur : * mut xmlSchemaVal) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaValueGetAsString (val : * mut xmlSchemaVal) -> * const xmlChar ; } unsafe extern "C" { pub fn xmlSchemaValueGetAsBoolean (val : * mut xmlSchemaVal) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaNewStringValue (type_ : xmlSchemaValType , value : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaNewNOTATIONValue (name : * const xmlChar , ns : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaNewQNameValue (namespaceName : * const xmlChar , localName : * const xmlChar) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaCompareValuesWhtsp (x : * mut xmlSchemaVal , xws : xmlSchemaWhitespaceValueType , y : * mut xmlSchemaVal , yws : xmlSchemaWhitespaceValueType) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn xmlSchemaCopyValue (val : * mut xmlSchemaVal) -> * mut xmlSchemaVal ; } unsafe extern "C" { pub fn xmlSchemaGetValType (val : * mut xmlSchemaVal) -> xmlSchemaValType ; } pub type __builtin_va_list = [__va_list_tag ; 1usize] ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __va_list_tag { pub gp_offset : :: std :: os :: raw :: c_uint , pub fp_offset : :: std :: os :: raw :: c_uint , pub overflow_arg_area : * mut :: std :: os :: raw :: c_void , pub reg_save_area : * mut :: std :: os :: raw :: c_void , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of __va_list_tag"] [:: std :: mem :: size_of :: < __va_list_tag > () - 24usize] ; ["Alignment of __va_list_tag"] [:: std :: mem :: align_of :: < __va_list_tag > () - 8usize] ; ["Offset of field: __va_list_tag::gp_offset"] [:: std :: mem :: offset_of ! (__va_list_tag , gp_offset) - 0usize] ; ["Offset of field: __va_list_tag::fp_offset"] [:: std :: mem :: offset_of ! (__va_list_tag , fp_offset) - 4usize] ; ["Offset of field: __va_list_tag::overflow_arg_area"] [:: std :: mem :: offset_of ! (__va_list_tag , overflow_arg_area) - 8usize] ; ["Offset of field: __va_list_tag::reg_save_area"] [:: std :: mem :: offset_of ! (__va_list_tag , reg_save_area) - 16usize] ; } ; # [doc = " dict used to allocate names if any"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _xmlDict { pub _address : u8 , }
[WARN] too much data in the log, truncating it
