1
/* automatically generated by rust-bindgen 0.73.2 */
2

            
3
#[repr(C)]
4
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
5
pub struct __BindgenBitfieldUnit<Storage> {
6
  storage: Storage,
7
}
8
impl<Storage> __BindgenBitfieldUnit<Storage> {
9
  #[inline]
10
  pub const fn new(storage: Storage) -> Self {
11
    Self { storage }
12
  }
13
}
14
impl<Storage> __BindgenBitfieldUnit<Storage>
15
where
16
  Storage: AsRef<[u8]> + AsMut<[u8]>,
17
{
18
  #[inline]
19
  fn extract_bit(byte: u8, index: usize) -> bool {
20
    let bit_index = if cfg!(target_endian = "big") {
21
      7 - (index % 8)
22
    } else {
23
      index % 8
24
    };
25
    let mask = 1 << bit_index;
26
    byte & mask == mask
27
  }
28
  #[inline]
29
  pub fn get_bit(&self, index: usize) -> bool {
30
    debug_assert!(index / 8 < self.storage.as_ref().len());
31
    let byte_index = index / 8;
32
    let byte = self.storage.as_ref()[byte_index];
33
    Self::extract_bit(byte, index)
34
  }
35
  #[inline]
36
  pub unsafe fn raw_get_bit(this: *const Self, index: usize) -> bool {
37
    debug_assert!(index / 8 < core::mem::size_of::<Storage>());
38
    let byte_index = index / 8;
39
    let byte =
40
      unsafe { *(core::ptr::addr_of!((*this).storage) as *const u8).offset(byte_index as isize) };
41
    Self::extract_bit(byte, index)
42
  }
43
  #[inline]
44
  fn change_bit(byte: u8, index: usize, val: bool) -> u8 {
45
    let bit_index = if cfg!(target_endian = "big") {
46
      7 - (index % 8)
47
    } else {
48
      index % 8
49
    };
50
    let mask = 1 << bit_index;
51
    if val { byte | mask } else { byte & !mask }
52
  }
53
  #[inline]
54
  pub fn set_bit(&mut self, index: usize, val: bool) {
55
    debug_assert!(index / 8 < self.storage.as_ref().len());
56
    let byte_index = index / 8;
57
    let byte = &mut self.storage.as_mut()[byte_index];
58
    *byte = Self::change_bit(*byte, index, val);
59
  }
60
  #[inline]
61
  pub unsafe fn raw_set_bit(this: *mut Self, index: usize, val: bool) {
62
    debug_assert!(index / 8 < core::mem::size_of::<Storage>());
63
    let byte_index = index / 8;
64
    let byte =
65
      unsafe { (core::ptr::addr_of_mut!((*this).storage) as *mut u8).offset(byte_index as isize) };
66
    unsafe { *byte = Self::change_bit(*byte, index, val) };
67
  }
68
  #[inline]
69
  pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 {
70
    debug_assert!(bit_width <= 64);
71
    debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
72
    debug_assert!((bit_offset + (bit_width as usize) + 7) / 8 <= self.storage.as_ref().len());
73
    if bit_width == 0 {
74
      return 0;
75
    }
76
    let mut val = 0u64;
77
    let storage = self.storage.as_ref();
78
    let start_byte = bit_offset / 8;
79
    let bit_shift = bit_offset % 8;
80
    let bytes_needed = (bit_width as usize + bit_shift + 7) / 8;
81
    if cfg!(target_endian = "big") {
82
      for i in 0..bytes_needed {
83
        val |= (storage[start_byte + i].reverse_bits() as u64) << (i * 8);
84
      }
85
    } else {
86
      for i in 0..bytes_needed {
87
        val |= (storage[start_byte + i] as u64) << (i * 8);
88
      }
89
    }
90
    val >>= bit_shift;
91
    if bit_width < 64 {
92
      val &= (1u64 << bit_width) - 1;
93
    }
94
    if cfg!(target_endian = "big") {
95
      val = val.reverse_bits() >> (64 - bit_width as usize);
96
    }
97
    val
98
  }
99
  #[inline]
100
  pub unsafe fn raw_get(this: *const Self, bit_offset: usize, bit_width: u8) -> u64 {
101
    debug_assert!(bit_width <= 64);
102
    debug_assert!(bit_offset / 8 < core::mem::size_of::<Storage>());
103
    debug_assert!((bit_offset + (bit_width as usize) + 7) / 8 <= core::mem::size_of::<Storage>());
104
    if bit_width == 0 {
105
      return 0;
106
    }
107
    let mut val = 0u64;
108
    let start_byte = bit_offset / 8;
109
    let bit_shift = bit_offset % 8;
110
    let bytes_needed = (bit_width as usize + bit_shift + 7) / 8;
111
    let storage_ptr = unsafe { core::ptr::addr_of!((*this).storage) as *const u8 };
112
    if cfg!(target_endian = "big") {
113
      for i in 0..bytes_needed {
114
        let byte = unsafe { *storage_ptr.add(start_byte + i) };
115
        val |= (byte.reverse_bits() as u64) << (i * 8);
116
      }
117
    } else {
118
      for i in 0..bytes_needed {
119
        let byte = unsafe { *storage_ptr.add(start_byte + i) };
120
        val |= (byte as u64) << (i * 8);
121
      }
122
    }
123
    val >>= bit_shift;
124
    if bit_width < 64 {
125
      val &= (1u64 << bit_width) - 1;
126
    }
127
    if cfg!(target_endian = "big") {
128
      val = val.reverse_bits() >> (64 - bit_width as usize);
129
    }
130
    val
131
  }
132
  #[inline]
133
  pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) {
134
    debug_assert!(bit_width <= 64);
135
    debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
136
    debug_assert!((bit_offset + (bit_width as usize) + 7) / 8 <= self.storage.as_ref().len());
137
    if bit_width == 0 {
138
      return;
139
    }
140
    let mut val = val;
141
    if bit_width < 64 {
142
      val &= (1u64 << bit_width) - 1;
143
    }
144
    if cfg!(target_endian = "big") {
145
      val = val.reverse_bits() >> (64 - bit_width as usize);
146
    }
147
    let storage = self.storage.as_mut();
148
    let start_byte = bit_offset / 8;
149
    let bit_shift = bit_offset % 8;
150
    let bytes_needed = (bit_width as usize + bit_shift + 7) / 8;
151
    val <<= bit_shift;
152
    let field_mask = if bit_width as usize + bit_shift >= 64 {
153
      !0u64 << bit_shift
154
    } else {
155
      ((1u64 << bit_width) - 1) << bit_shift
156
    };
157
    for i in 0..bytes_needed {
158
      let byte_val = (val >> (i * 8)) as u8;
159
      let byte_mask = (field_mask >> (i * 8)) as u8;
160
      if cfg!(target_endian = "big") {
161
        let byte = storage[start_byte + i].reverse_bits();
162
        let new_byte = (byte & !byte_mask) | (byte_val & byte_mask);
163
        storage[start_byte + i] = new_byte.reverse_bits();
164
      } else {
165
        storage[start_byte + i] = (storage[start_byte + i] & !byte_mask) | (byte_val & byte_mask);
166
      }
167
    }
168
  }
169
  #[inline]
170
  pub unsafe fn raw_set(this: *mut Self, bit_offset: usize, bit_width: u8, val: u64) {
171
    debug_assert!(bit_width <= 64);
172
    debug_assert!(bit_offset / 8 < core::mem::size_of::<Storage>());
173
    debug_assert!((bit_offset + (bit_width as usize) + 7) / 8 <= core::mem::size_of::<Storage>());
174
    if bit_width == 0 {
175
      return;
176
    }
177
    let mut val = val;
178
    if bit_width < 64 {
179
      val &= (1u64 << bit_width) - 1;
180
    }
181
    if cfg!(target_endian = "big") {
182
      val = val.reverse_bits() >> (64 - bit_width as usize);
183
    }
184
    let start_byte = bit_offset / 8;
185
    let bit_shift = bit_offset % 8;
186
    let bytes_needed = (bit_width as usize + bit_shift + 7) / 8;
187
    val <<= bit_shift;
188
    let field_mask = if bit_width as usize + bit_shift >= 64 {
189
      !0u64 << bit_shift
190
    } else {
191
      ((1u64 << bit_width) - 1) << bit_shift
192
    };
193
    let storage_ptr = unsafe { core::ptr::addr_of_mut!((*this).storage) as *mut u8 };
194
    for i in 0..bytes_needed {
195
      let byte_val = (val >> (i * 8)) as u8;
196
      let byte_mask = (field_mask >> (i * 8)) as u8;
197
      let byte_ptr = unsafe { storage_ptr.add(start_byte + i) };
198
      if cfg!(target_endian = "big") {
199
        let byte = unsafe { (*byte_ptr).reverse_bits() };
200
        let new_byte = (byte & !byte_mask) | (byte_val & byte_mask);
201
        unsafe { *byte_ptr = new_byte.reverse_bits() };
202
      } else {
203
        unsafe { *byte_ptr = (*byte_ptr & !byte_mask) | (byte_val & byte_mask) };
204
      }
205
    }
206
  }
207
}
208
#[doc = " Const-generic methods for efficient bitfield access when offset and width"]
209
#[doc = " are known at compile time."]
210
impl<const N: usize> __BindgenBitfieldUnit<[u8; N]> {
211
  #[doc = " Get a field using const generics for compile-time optimization."]
212
  #[doc = " Uses native word size operations when the field fits in usize."]
213
  #[inline]
214
  pub const fn get_const<const BIT_OFFSET: usize, const BIT_WIDTH: u8>(&self) -> u64 {
215
    debug_assert!(BIT_WIDTH <= 64);
216
    debug_assert!(BIT_OFFSET / 8 < N);
217
    debug_assert!((BIT_OFFSET + (BIT_WIDTH as usize) + 7) / 8 <= N);
218
    if BIT_WIDTH == 0 {
219
      return 0;
220
    }
221
    let start_byte = BIT_OFFSET / 8;
222
    let bit_shift = BIT_OFFSET % 8;
223
    let bytes_needed = (BIT_WIDTH as usize + bit_shift + 7) / 8;
224
    if BIT_WIDTH as usize + bit_shift <= usize::BITS as usize {
225
      let mut val = 0usize;
226
      if cfg!(target_endian = "big") {
227
        let mut i = 0;
228
        while i < bytes_needed {
229
          val |= (self.storage[start_byte + i].reverse_bits() as usize) << (i * 8);
230
          i += 1;
231
        }
232
      } else {
233
        let mut i = 0;
234
        while i < bytes_needed {
235
          val |= (self.storage[start_byte + i] as usize) << (i * 8);
236
          i += 1;
237
        }
238
      }
239
      val >>= bit_shift;
240
      if (BIT_WIDTH as u32) < usize::BITS {
241
        val &= (1usize << BIT_WIDTH) - 1;
242
      }
243
      if cfg!(target_endian = "big") {
244
        val = val.reverse_bits() >> (usize::BITS as usize - BIT_WIDTH as usize);
245
      }
246
      val as u64
247
    } else {
248
      let mut val = 0u64;
249
      if cfg!(target_endian = "big") {
250
        let mut i = 0;
251
        while i < bytes_needed {
252
          val |= (self.storage[start_byte + i].reverse_bits() as u64) << (i * 8);
253
          i += 1;
254
        }
255
      } else {
256
        let mut i = 0;
257
        while i < bytes_needed {
258
          val |= (self.storage[start_byte + i] as u64) << (i * 8);
259
          i += 1;
260
        }
261
      }
262
      val >>= bit_shift;
263
      if BIT_WIDTH < 64 {
264
        val &= (1u64 << BIT_WIDTH) - 1;
265
      }
266
      if cfg!(target_endian = "big") {
267
        val = val.reverse_bits() >> (64 - BIT_WIDTH as usize);
268
      }
269
      val
270
    }
271
  }
272
  #[doc = " Set a field using const generics for compile-time optimization."]
273
  #[doc = " Uses native word size operations when the field fits in usize."]
274
  #[inline]
275
  pub fn set_const<const BIT_OFFSET: usize, const BIT_WIDTH: u8>(&mut self, val: u64) {
276
    debug_assert!(BIT_WIDTH <= 64);
277
    debug_assert!(BIT_OFFSET / 8 < N);
278
    debug_assert!((BIT_OFFSET + (BIT_WIDTH as usize) + 7) / 8 <= N);
279
    if BIT_WIDTH == 0 {
280
      return;
281
    }
282
    let start_byte = BIT_OFFSET / 8;
283
    let bit_shift = BIT_OFFSET % 8;
284
    let bytes_needed = (BIT_WIDTH as usize + bit_shift + 7) / 8;
285
    if BIT_WIDTH as usize + bit_shift <= usize::BITS as usize {
286
      let mut val = val as usize;
287
      if (BIT_WIDTH as u32) < usize::BITS {
288
        val &= (1usize << BIT_WIDTH) - 1;
289
      }
290
      if cfg!(target_endian = "big") {
291
        val = val.reverse_bits() >> (usize::BITS as usize - BIT_WIDTH as usize);
292
      }
293
      val <<= bit_shift;
294
      let field_mask = if BIT_WIDTH as usize + bit_shift >= usize::BITS as usize {
295
        !0usize << bit_shift
296
      } else {
297
        ((1usize << BIT_WIDTH) - 1) << bit_shift
298
      };
299
      let mut i = 0;
300
      while i < bytes_needed {
301
        let byte_val = (val >> (i * 8)) as u8;
302
        let byte_mask = (field_mask >> (i * 8)) as u8;
303
        if cfg!(target_endian = "big") {
304
          let byte = self.storage[start_byte + i].reverse_bits();
305
          let new_byte = (byte & !byte_mask) | (byte_val & byte_mask);
306
          self.storage[start_byte + i] = new_byte.reverse_bits();
307
        } else {
308
          self.storage[start_byte + i] =
309
            (self.storage[start_byte + i] & !byte_mask) | (byte_val & byte_mask);
310
        }
311
        i += 1;
312
      }
313
    } else {
314
      let mut val = val;
315
      if BIT_WIDTH < 64 {
316
        val &= (1u64 << BIT_WIDTH) - 1;
317
      }
318
      if cfg!(target_endian = "big") {
319
        val = val.reverse_bits() >> (64 - BIT_WIDTH as usize);
320
      }
321
      val <<= bit_shift;
322
      let field_mask = if BIT_WIDTH as usize + bit_shift >= 64 {
323
        !0u64 << bit_shift
324
      } else {
325
        ((1u64 << BIT_WIDTH) - 1) << bit_shift
326
      };
327
      let mut i = 0;
328
      while i < bytes_needed {
329
        let byte_val = (val >> (i * 8)) as u8;
330
        let byte_mask = (field_mask >> (i * 8)) as u8;
331
        if cfg!(target_endian = "big") {
332
          let byte = self.storage[start_byte + i].reverse_bits();
333
          let new_byte = (byte & !byte_mask) | (byte_val & byte_mask);
334
          self.storage[start_byte + i] = new_byte.reverse_bits();
335
        } else {
336
          self.storage[start_byte + i] =
337
            (self.storage[start_byte + i] & !byte_mask) | (byte_val & byte_mask);
338
        }
339
        i += 1;
340
      }
341
    }
342
  }
343
  #[doc = " Raw pointer get using const generics for compile-time optimization."]
344
  #[doc = " Uses native word size operations when the field fits in usize."]
345
  #[inline]
346
  pub const unsafe fn raw_get_const<const BIT_OFFSET: usize, const BIT_WIDTH: u8>(
347
    this: *const Self,
348
  ) -> u64 {
349
    debug_assert!(BIT_WIDTH <= 64);
350
    debug_assert!(BIT_OFFSET / 8 < N);
351
    debug_assert!((BIT_OFFSET + (BIT_WIDTH as usize) + 7) / 8 <= N);
352
    if BIT_WIDTH == 0 {
353
      return 0;
354
    }
355
    let start_byte = BIT_OFFSET / 8;
356
    let bit_shift = BIT_OFFSET % 8;
357
    let bytes_needed = (BIT_WIDTH as usize + bit_shift + 7) / 8;
358
    let storage_ptr = unsafe { core::ptr::addr_of!((*this).storage) as *const u8 };
359
    if BIT_WIDTH as usize + bit_shift <= usize::BITS as usize {
360
      let mut val = 0usize;
361
      if cfg!(target_endian = "big") {
362
        let mut i = 0;
363
        while i < bytes_needed {
364
          let byte = unsafe { *storage_ptr.add(start_byte + i) };
365
          val |= (byte.reverse_bits() as usize) << (i * 8);
366
          i += 1;
367
        }
368
      } else {
369
        let mut i = 0;
370
        while i < bytes_needed {
371
          let byte = unsafe { *storage_ptr.add(start_byte + i) };
372
          val |= (byte as usize) << (i * 8);
373
          i += 1;
374
        }
375
      }
376
      val >>= bit_shift;
377
      if (BIT_WIDTH as u32) < usize::BITS {
378
        val &= (1usize << BIT_WIDTH) - 1;
379
      }
380
      if cfg!(target_endian = "big") {
381
        val = val.reverse_bits() >> (usize::BITS as usize - BIT_WIDTH as usize);
382
      }
383
      val as u64
384
    } else {
385
      let mut val = 0u64;
386
      if cfg!(target_endian = "big") {
387
        let mut i = 0;
388
        while i < bytes_needed {
389
          let byte = unsafe { *storage_ptr.add(start_byte + i) };
390
          val |= (byte.reverse_bits() as u64) << (i * 8);
391
          i += 1;
392
        }
393
      } else {
394
        let mut i = 0;
395
        while i < bytes_needed {
396
          let byte = unsafe { *storage_ptr.add(start_byte + i) };
397
          val |= (byte as u64) << (i * 8);
398
          i += 1;
399
        }
400
      }
401
      val >>= bit_shift;
402
      if BIT_WIDTH < 64 {
403
        val &= (1u64 << BIT_WIDTH) - 1;
404
      }
405
      if cfg!(target_endian = "big") {
406
        val = val.reverse_bits() >> (64 - BIT_WIDTH as usize);
407
      }
408
      val
409
    }
410
  }
411
  #[doc = " Raw pointer set using const generics for compile-time optimization."]
412
  #[doc = " Uses native word size operations when the field fits in usize."]
413
  #[inline]
414
  pub unsafe fn raw_set_const<const BIT_OFFSET: usize, const BIT_WIDTH: u8>(
415
    this: *mut Self,
416
    val: u64,
417
  ) {
418
    debug_assert!(BIT_WIDTH <= 64);
419
    debug_assert!(BIT_OFFSET / 8 < N);
420
    debug_assert!((BIT_OFFSET + (BIT_WIDTH as usize) + 7) / 8 <= N);
421
    if BIT_WIDTH == 0 {
422
      return;
423
    }
424
    let start_byte = BIT_OFFSET / 8;
425
    let bit_shift = BIT_OFFSET % 8;
426
    let bytes_needed = (BIT_WIDTH as usize + bit_shift + 7) / 8;
427
    let storage_ptr = this.cast::<[u8; N]>().cast::<u8>();
428
    if BIT_WIDTH as usize + bit_shift <= usize::BITS as usize {
429
      let mut val = val as usize;
430
      if (BIT_WIDTH as u32) < usize::BITS {
431
        val &= (1usize << BIT_WIDTH) - 1;
432
      }
433
      if cfg!(target_endian = "big") {
434
        val = val.reverse_bits() >> (usize::BITS as usize - BIT_WIDTH as usize);
435
      }
436
      val <<= bit_shift;
437
      let field_mask = if BIT_WIDTH as usize + bit_shift >= usize::BITS as usize {
438
        !0usize << bit_shift
439
      } else {
440
        ((1usize << BIT_WIDTH) - 1) << bit_shift
441
      };
442
      let mut i = 0;
443
      while i < bytes_needed {
444
        let byte_val = (val >> (i * 8)) as u8;
445
        let byte_mask = (field_mask >> (i * 8)) as u8;
446
        let byte_ptr = unsafe { storage_ptr.add(start_byte + i) };
447
        if cfg!(target_endian = "big") {
448
          let byte = unsafe { (*byte_ptr).reverse_bits() };
449
          let new_byte = (byte & !byte_mask) | (byte_val & byte_mask);
450
          unsafe { *byte_ptr = new_byte.reverse_bits() };
451
        } else {
452
          unsafe { *byte_ptr = (*byte_ptr & !byte_mask) | (byte_val & byte_mask) };
453
        }
454
        i += 1;
455
      }
456
    } else {
457
      let mut val = val;
458
      if BIT_WIDTH < 64 {
459
        val &= (1u64 << BIT_WIDTH) - 1;
460
      }
461
      if cfg!(target_endian = "big") {
462
        val = val.reverse_bits() >> (64 - BIT_WIDTH as usize);
463
      }
464
      val <<= bit_shift;
465
      let field_mask = if BIT_WIDTH as usize + bit_shift >= 64 {
466
        !0u64 << bit_shift
467
      } else {
468
        ((1u64 << BIT_WIDTH) - 1) << bit_shift
469
      };
470
      let mut i = 0;
471
      while i < bytes_needed {
472
        let byte_val = (val >> (i * 8)) as u8;
473
        let byte_mask = (field_mask >> (i * 8)) as u8;
474
        let byte_ptr = unsafe { storage_ptr.add(start_byte + i) };
475
        if cfg!(target_endian = "big") {
476
          let byte = unsafe { (*byte_ptr).reverse_bits() };
477
          let new_byte = (byte & !byte_mask) | (byte_val & byte_mask);
478
          unsafe { *byte_ptr = new_byte.reverse_bits() };
479
        } else {
480
          unsafe { *byte_ptr = (*byte_ptr & !byte_mask) | (byte_val & byte_mask) };
481
        }
482
        i += 1;
483
      }
484
    }
485
  }
486
}
487
#[derive(PartialEq, Eq, Copy, Clone, Debug, Hash)]
488
#[repr(C, align(16))]
489
pub struct __BindgenOpaqueArray16<T>(pub T);
490
impl<T: Copy + Default, const N: usize> Default for __BindgenOpaqueArray16<[T; N]> {
491
  fn default() -> Self {
492
    Self([<T as Default>::default(); N])
493
  }
494
}
495
#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)]
496
#[repr(C)]
497
pub struct __BindgenComplex<T> {
498
  pub re: T,
499
  pub im: T,
500
}
501
pub const LIBXML_DOTTED_VERSION: &[u8; 7] = b"2.15.2\0";
502
pub const LIBXML_VERSION: u32 = 21502;
503
pub const LIBXML_VERSION_STRING: &[u8; 6] = b"21502\0";
504
pub const LIBXML_VERSION_EXTRA: &[u8; 1] = b"\0";
505
pub const LIBXML_MODULE_EXTENSION: &[u8; 4] = b".so\0";
506
pub const _STDIO_H: u32 = 1;
507
pub const _FEATURES_H: u32 = 1;
508
pub const _DEFAULT_SOURCE: u32 = 1;
509
pub const __GLIBC_USE_ISOC2Y: u32 = 0;
510
pub const __GLIBC_USE_ISOC23: u32 = 0;
511
pub const __USE_ISOC11: u32 = 1;
512
pub const __USE_ISOC99: u32 = 1;
513
pub const __USE_ISOC95: u32 = 1;
514
pub const __USE_POSIX_IMPLICITLY: u32 = 1;
515
pub const _POSIX_SOURCE: u32 = 1;
516
pub const _POSIX_C_SOURCE: u32 = 202405;
517
pub const __USE_POSIX: u32 = 1;
518
pub const __USE_POSIX2: u32 = 1;
519
pub const __USE_POSIX199309: u32 = 1;
520
pub const __USE_POSIX199506: u32 = 1;
521
pub const __USE_XOPEN2K: u32 = 1;
522
pub const __USE_XOPEN2K8: u32 = 1;
523
pub const _ATFILE_SOURCE: u32 = 1;
524
pub const __USE_XOPEN2K24: u32 = 1;
525
pub const __WORDSIZE: u32 = 64;
526
pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1;
527
pub const __SYSCALL_WORDSIZE: u32 = 64;
528
pub const __TIMESIZE: u32 = 64;
529
pub const __USE_TIME_BITS64: u32 = 1;
530
pub const __USE_MISC: u32 = 1;
531
pub const __USE_ATFILE: u32 = 1;
532
pub const __USE_FORTIFY_LEVEL: u32 = 0;
533
pub const __GLIBC_USE_DEPRECATED_GETS: u32 = 0;
534
pub const __GLIBC_USE_DEPRECATED_SCANF: u32 = 0;
535
pub const __GLIBC_USE_C23_STRTOL: u32 = 0;
536
pub const _STDC_PREDEF_H: u32 = 1;
537
pub const __STDC_IEC_559__: u32 = 1;
538
pub const __STDC_IEC_60559_BFP__: u32 = 201404;
539
pub const __STDC_IEC_559_COMPLEX__: u32 = 1;
540
pub const __STDC_IEC_60559_COMPLEX__: u32 = 201404;
541
pub const __STDC_ISO_10646__: u32 = 201706;
542
pub const __GNU_LIBRARY__: u32 = 6;
543
pub const __GLIBC__: u32 = 2;
544
pub const __GLIBC_MINOR__: u32 = 43;
545
pub const _SYS_CDEFS_H: u32 = 1;
546
pub const __glibc_c99_flexarr_available: u32 = 1;
547
pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI: u32 = 0;
548
pub const __HAVE_GENERIC_SELECTION: u32 = 1;
549
pub const __GLIBC_USE_LIB_EXT2: u32 = 0;
550
pub const __GLIBC_USE_IEC_60559_BFP_EXT: u32 = 0;
551
pub const __GLIBC_USE_IEC_60559_BFP_EXT_C23: u32 = 0;
552
pub const __GLIBC_USE_IEC_60559_EXT: u32 = 0;
553
pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: u32 = 0;
554
pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C23: u32 = 0;
555
pub const __GLIBC_USE_IEC_60559_TYPES_EXT: u32 = 0;
556
pub const _BITS_TYPES_H: u32 = 1;
557
pub const _BITS_TYPESIZES_H: u32 = 1;
558
pub const __OFF_T_MATCHES_OFF64_T: u32 = 1;
559
pub const __INO_T_MATCHES_INO64_T: u32 = 1;
560
pub const __RLIM_T_MATCHES_RLIM64_T: u32 = 1;
561
pub const __STATFS_MATCHES_STATFS64: u32 = 1;
562
pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64: u32 = 1;
563
pub const __FD_SETSIZE: u32 = 1024;
564
pub const _BITS_TIME64_H: u32 = 1;
565
pub const _____fpos_t_defined: u32 = 1;
566
pub const ____mbstate_t_defined: u32 = 1;
567
pub const _____fpos64_t_defined: u32 = 1;
568
pub const ____FILE_defined: u32 = 1;
569
pub const __FILE_defined: u32 = 1;
570
pub const __struct_FILE_defined: u32 = 1;
571
pub const _IO_EOF_SEEN: u32 = 16;
572
pub const _IO_ERR_SEEN: u32 = 32;
573
pub const _IO_USER_LOCK: u32 = 32768;
574
pub const __cookie_io_functions_t_defined: u32 = 1;
575
pub const _IOFBF: u32 = 0;
576
pub const _IOLBF: u32 = 1;
577
pub const _IONBF: u32 = 2;
578
pub const BUFSIZ: u32 = 8192;
579
pub const EOF: i32 = -1;
580
pub const SEEK_SET: u32 = 0;
581
pub const SEEK_CUR: u32 = 1;
582
pub const SEEK_END: u32 = 2;
583
pub const P_tmpdir: &[u8; 5] = b"/tmp\0";
584
pub const L_tmpnam: u32 = 20;
585
pub const TMP_MAX: u32 = 238328;
586
pub const _BITS_STDIO_LIM_H: u32 = 1;
587
pub const FILENAME_MAX: u32 = 4096;
588
pub const L_ctermid: u32 = 9;
589
pub const FOPEN_MAX: u32 = 16;
590
pub const __HAVE_FLOAT128: u32 = 1;
591
pub const __HAVE_DISTINCT_FLOAT128: u32 = 1;
592
pub const __HAVE_FLOAT64X: u32 = 1;
593
pub const __HAVE_FLOAT64X_LONG_DOUBLE: u32 = 1;
594
pub const __HAVE_FLOAT16: u32 = 0;
595
pub const __HAVE_FLOAT32: u32 = 1;
596
pub const __HAVE_FLOAT64: u32 = 1;
597
pub const __HAVE_FLOAT32X: u32 = 1;
598
pub const __HAVE_FLOAT128X: u32 = 0;
599
pub const __HAVE_DISTINCT_FLOAT16: u32 = 0;
600
pub const __HAVE_DISTINCT_FLOAT32: u32 = 0;
601
pub const __HAVE_DISTINCT_FLOAT64: u32 = 0;
602
pub const __HAVE_DISTINCT_FLOAT32X: u32 = 0;
603
pub const __HAVE_DISTINCT_FLOAT64X: u32 = 0;
604
pub const __HAVE_DISTINCT_FLOAT128X: u32 = 0;
605
pub const __HAVE_FLOATN_NOT_TYPEDEF: u32 = 0;
606
pub const _LIBC_LIMITS_H_: u32 = 1;
607
pub const MB_LEN_MAX: u32 = 16;
608
pub const _BITS_POSIX1_LIM_H: u32 = 1;
609
pub const _POSIX_AIO_LISTIO_MAX: u32 = 2;
610
pub const _POSIX_AIO_MAX: u32 = 1;
611
pub const _POSIX_ARG_MAX: u32 = 4096;
612
pub const _POSIX_CHILD_MAX: u32 = 25;
613
pub const _POSIX_DELAYTIMER_MAX: u32 = 32;
614
pub const _POSIX_HOST_NAME_MAX: u32 = 255;
615
pub const _POSIX_LINK_MAX: u32 = 8;
616
pub const _POSIX_LOGIN_NAME_MAX: u32 = 9;
617
pub const _POSIX_MAX_CANON: u32 = 255;
618
pub const _POSIX_MAX_INPUT: u32 = 255;
619
pub const _POSIX_MQ_OPEN_MAX: u32 = 8;
620
pub const _POSIX_MQ_PRIO_MAX: u32 = 32;
621
pub const _POSIX_NAME_MAX: u32 = 14;
622
pub const _POSIX_NGROUPS_MAX: u32 = 8;
623
pub const _POSIX_OPEN_MAX: u32 = 20;
624
pub const _POSIX_PATH_MAX: u32 = 256;
625
pub const _POSIX_PIPE_BUF: u32 = 512;
626
pub const _POSIX_RE_DUP_MAX: u32 = 255;
627
pub const _POSIX_RTSIG_MAX: u32 = 8;
628
pub const _POSIX_SEM_NSEMS_MAX: u32 = 256;
629
pub const _POSIX_SEM_VALUE_MAX: u32 = 32767;
630
pub const _POSIX_SIGQUEUE_MAX: u32 = 32;
631
pub const _POSIX_SSIZE_MAX: u32 = 32767;
632
pub const _POSIX_STREAM_MAX: u32 = 8;
633
pub const _POSIX_SYMLINK_MAX: u32 = 255;
634
pub const _POSIX_SYMLOOP_MAX: u32 = 8;
635
pub const _POSIX_TIMER_MAX: u32 = 32;
636
pub const _POSIX_TTY_NAME_MAX: u32 = 9;
637
pub const _POSIX_TZNAME_MAX: u32 = 6;
638
pub const _POSIX_CLOCKRES_MIN: u32 = 20000000;
639
pub const NR_OPEN: u32 = 1024;
640
pub const NGROUPS_MAX: u32 = 65536;
641
pub const ARG_MAX: u32 = 131072;
642
pub const LINK_MAX: u32 = 127;
643
pub const MAX_CANON: u32 = 255;
644
pub const MAX_INPUT: u32 = 255;
645
pub const NAME_MAX: u32 = 255;
646
pub const PATH_MAX: u32 = 4096;
647
pub const PIPE_BUF: u32 = 4096;
648
pub const XATTR_NAME_MAX: u32 = 255;
649
pub const XATTR_SIZE_MAX: u32 = 65536;
650
pub const XATTR_LIST_MAX: u32 = 65536;
651
pub const RTSIG_MAX: u32 = 32;
652
pub const _POSIX_THREAD_KEYS_MAX: u32 = 128;
653
pub const PTHREAD_KEYS_MAX: u32 = 1024;
654
pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS: u32 = 4;
655
pub const PTHREAD_DESTRUCTOR_ITERATIONS: u32 = 4;
656
pub const _POSIX_THREAD_THREADS_MAX: u32 = 64;
657
pub const AIO_PRIO_DELTA_MAX: u32 = 20;
658
pub const PTHREAD_STACK_MIN: u32 = 16384;
659
pub const DELAYTIMER_MAX: u32 = 2147483647;
660
pub const TTY_NAME_MAX: u32 = 32;
661
pub const LOGIN_NAME_MAX: u32 = 256;
662
pub const HOST_NAME_MAX: u32 = 64;
663
pub const MQ_PRIO_MAX: u32 = 32768;
664
pub const SEM_VALUE_MAX: u32 = 2147483647;
665
pub const _BITS_POSIX2_LIM_H: u32 = 1;
666
pub const _POSIX2_BC_BASE_MAX: u32 = 99;
667
pub const _POSIX2_BC_DIM_MAX: u32 = 2048;
668
pub const _POSIX2_BC_SCALE_MAX: u32 = 99;
669
pub const _POSIX2_BC_STRING_MAX: u32 = 1000;
670
pub const _POSIX2_COLL_WEIGHTS_MAX: u32 = 2;
671
pub const _POSIX2_EXPR_NEST_MAX: u32 = 32;
672
pub const _POSIX2_LINE_MAX: u32 = 2048;
673
pub const _POSIX2_RE_DUP_MAX: u32 = 255;
674
pub const _POSIX2_CHARCLASS_NAME_MAX: u32 = 14;
675
pub const BC_BASE_MAX: u32 = 99;
676
pub const BC_DIM_MAX: u32 = 2048;
677
pub const BC_SCALE_MAX: u32 = 99;
678
pub const BC_STRING_MAX: u32 = 1000;
679
pub const COLL_WEIGHTS_MAX: u32 = 255;
680
pub const EXPR_NEST_MAX: u32 = 32;
681
pub const LINE_MAX: u32 = 2048;
682
pub const CHARCLASS_NAME_MAX: u32 = 2048;
683
pub const RE_DUP_MAX: u32 = 32767;
684
pub const xmlDefaultBufferSize: u32 = 4096;
685
pub const XML_DOCB_DOCUMENT_NODE: u32 = 21;
686
pub const XML_DEFAULT_VERSION: &[u8; 4] = b"1.0\0";
687
pub const XML_DETECT_IDS: u32 = 2;
688
pub const XML_COMPLETE_ATTRS: u32 = 4;
689
pub const XML_SKIP_IDS: u32 = 8;
690
pub const XML_SAX2_MAGIC: u32 = 3740122799;
691
pub const XPATH_POINT: u32 = 5;
692
pub const XPATH_RANGE: u32 = 6;
693
pub const XPATH_LOCATIONSET: u32 = 7;
694
pub const XML_XPATH_CHECKNS: u32 = 1;
695
pub const XML_XPATH_NOVAR: u32 = 2;
696
pub const xmlParserMaxDepth: u32 = 256;
697
pub const XML_MAX_TEXT_LENGTH: u32 = 10000000;
698
pub const XML_MAX_HUGE_LENGTH: u32 = 1000000000;
699
pub const XML_MAX_NAME_LENGTH: u32 = 50000;
700
pub const XML_MAX_DICTIONARY_LIMIT: u32 = 100000000;
701
pub const XML_MAX_LOOKUP_LIMIT: u32 = 10000000;
702
pub const XML_MAX_NAMELEN: u32 = 100;
703
pub const XML_SUBSTITUTE_NONE: u32 = 0;
704
pub const XML_SUBSTITUTE_REF: u32 = 1;
705
pub const XML_SUBSTITUTE_PEREF: u32 = 2;
706
pub const XML_SUBSTITUTE_BOTH: u32 = 3;
707
pub const XML_SCHEMAS_ANYATTR_SKIP: u32 = 1;
708
pub const XML_SCHEMAS_ANYATTR_LAX: u32 = 2;
709
pub const XML_SCHEMAS_ANYATTR_STRICT: u32 = 3;
710
pub const XML_SCHEMAS_ANY_SKIP: u32 = 1;
711
pub const XML_SCHEMAS_ANY_LAX: u32 = 2;
712
pub const XML_SCHEMAS_ANY_STRICT: u32 = 3;
713
pub const XML_SCHEMAS_ATTR_USE_PROHIBITED: u32 = 0;
714
pub const XML_SCHEMAS_ATTR_USE_REQUIRED: u32 = 1;
715
pub const XML_SCHEMAS_ATTR_USE_OPTIONAL: u32 = 2;
716
pub const XML_SCHEMAS_ATTR_GLOBAL: u32 = 1;
717
pub const XML_SCHEMAS_ATTR_NSDEFAULT: u32 = 128;
718
pub const XML_SCHEMAS_ATTR_INTERNAL_RESOLVED: u32 = 256;
719
pub const XML_SCHEMAS_ATTR_FIXED: u32 = 512;
720
pub const XML_SCHEMAS_WILDCARD_COMPLETE: u32 = 1;
721
pub const XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED: u32 = 1;
722
pub const XML_SCHEMAS_ATTRGROUP_GLOBAL: u32 = 2;
723
pub const XML_SCHEMAS_ATTRGROUP_MARKED: u32 = 4;
724
pub const XML_SCHEMAS_ATTRGROUP_REDEFINED: u32 = 8;
725
pub const XML_SCHEMAS_ATTRGROUP_HAS_REFS: u32 = 16;
726
pub const XML_SCHEMAS_TYPE_MIXED: u32 = 1;
727
pub const XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION: u32 = 2;
728
pub const XML_SCHEMAS_TYPE_DERIVATION_METHOD_RESTRICTION: u32 = 4;
729
pub const XML_SCHEMAS_TYPE_GLOBAL: u32 = 8;
730
pub const XML_SCHEMAS_TYPE_OWNED_ATTR_WILDCARD: u32 = 16;
731
pub const XML_SCHEMAS_TYPE_VARIETY_ABSENT: u32 = 32;
732
pub const XML_SCHEMAS_TYPE_VARIETY_LIST: u32 = 64;
733
pub const XML_SCHEMAS_TYPE_VARIETY_UNION: u32 = 128;
734
pub const XML_SCHEMAS_TYPE_VARIETY_ATOMIC: u32 = 256;
735
pub const XML_SCHEMAS_TYPE_FINAL_EXTENSION: u32 = 512;
736
pub const XML_SCHEMAS_TYPE_FINAL_RESTRICTION: u32 = 1024;
737
pub const XML_SCHEMAS_TYPE_FINAL_LIST: u32 = 2048;
738
pub const XML_SCHEMAS_TYPE_FINAL_UNION: u32 = 4096;
739
pub const XML_SCHEMAS_TYPE_FINAL_DEFAULT: u32 = 8192;
740
pub const XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE: u32 = 16384;
741
pub const XML_SCHEMAS_TYPE_MARKED: u32 = 65536;
742
pub const XML_SCHEMAS_TYPE_BLOCK_DEFAULT: u32 = 131072;
743
pub const XML_SCHEMAS_TYPE_BLOCK_EXTENSION: u32 = 262144;
744
pub const XML_SCHEMAS_TYPE_BLOCK_RESTRICTION: u32 = 524288;
745
pub const XML_SCHEMAS_TYPE_ABSTRACT: u32 = 1048576;
746
pub const XML_SCHEMAS_TYPE_FACETSNEEDVALUE: u32 = 2097152;
747
pub const XML_SCHEMAS_TYPE_INTERNAL_RESOLVED: u32 = 4194304;
748
pub const XML_SCHEMAS_TYPE_INTERNAL_INVALID: u32 = 8388608;
749
pub const XML_SCHEMAS_TYPE_WHITESPACE_PRESERVE: u32 = 16777216;
750
pub const XML_SCHEMAS_TYPE_WHITESPACE_REPLACE: u32 = 33554432;
751
pub const XML_SCHEMAS_TYPE_WHITESPACE_COLLAPSE: u32 = 67108864;
752
pub const XML_SCHEMAS_TYPE_HAS_FACETS: u32 = 134217728;
753
pub const XML_SCHEMAS_TYPE_NORMVALUENEEDED: u32 = 268435456;
754
pub const XML_SCHEMAS_TYPE_FIXUP_1: u32 = 536870912;
755
pub const XML_SCHEMAS_TYPE_REDEFINED: u32 = 1073741824;
756
pub const XML_SCHEMAS_ELEM_NILLABLE: u32 = 1;
757
pub const XML_SCHEMAS_ELEM_GLOBAL: u32 = 2;
758
pub const XML_SCHEMAS_ELEM_DEFAULT: u32 = 4;
759
pub const XML_SCHEMAS_ELEM_FIXED: u32 = 8;
760
pub const XML_SCHEMAS_ELEM_ABSTRACT: u32 = 16;
761
pub const XML_SCHEMAS_ELEM_TOPLEVEL: u32 = 32;
762
pub const XML_SCHEMAS_ELEM_REF: u32 = 64;
763
pub const XML_SCHEMAS_ELEM_NSDEFAULT: u32 = 128;
764
pub const XML_SCHEMAS_ELEM_INTERNAL_RESOLVED: u32 = 256;
765
pub const XML_SCHEMAS_ELEM_CIRCULAR: u32 = 512;
766
pub const XML_SCHEMAS_ELEM_BLOCK_ABSENT: u32 = 1024;
767
pub const XML_SCHEMAS_ELEM_BLOCK_EXTENSION: u32 = 2048;
768
pub const XML_SCHEMAS_ELEM_BLOCK_RESTRICTION: u32 = 4096;
769
pub const XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION: u32 = 8192;
770
pub const XML_SCHEMAS_ELEM_FINAL_ABSENT: u32 = 16384;
771
pub const XML_SCHEMAS_ELEM_FINAL_EXTENSION: u32 = 32768;
772
pub const XML_SCHEMAS_ELEM_FINAL_RESTRICTION: u32 = 65536;
773
pub const XML_SCHEMAS_ELEM_SUBST_GROUP_HEAD: u32 = 131072;
774
pub const XML_SCHEMAS_ELEM_INTERNAL_CHECKED: u32 = 262144;
775
pub const XML_SCHEMAS_FACET_UNKNOWN: u32 = 0;
776
pub const XML_SCHEMAS_FACET_PRESERVE: u32 = 1;
777
pub const XML_SCHEMAS_FACET_REPLACE: u32 = 2;
778
pub const XML_SCHEMAS_FACET_COLLAPSE: u32 = 3;
779
pub const XML_SCHEMAS_QUALIF_ELEM: u32 = 1;
780
pub const XML_SCHEMAS_QUALIF_ATTR: u32 = 2;
781
pub const XML_SCHEMAS_FINAL_DEFAULT_EXTENSION: u32 = 4;
782
pub const XML_SCHEMAS_FINAL_DEFAULT_RESTRICTION: u32 = 8;
783
pub const XML_SCHEMAS_FINAL_DEFAULT_LIST: u32 = 16;
784
pub const XML_SCHEMAS_FINAL_DEFAULT_UNION: u32 = 32;
785
pub const XML_SCHEMAS_BLOCK_DEFAULT_EXTENSION: u32 = 64;
786
pub const XML_SCHEMAS_BLOCK_DEFAULT_RESTRICTION: u32 = 128;
787
pub const XML_SCHEMAS_BLOCK_DEFAULT_SUBSTITUTION: u32 = 256;
788
pub const XML_SCHEMAS_INCLUDING_CONVERT_NS: u32 = 512;
789
unsafe extern "C" {
790
  pub fn xmlCheckVersion(version: ::std::os::raw::c_int);
791
}
792
pub type __gnuc_va_list = __builtin_va_list;
793
pub type __u_char = ::std::os::raw::c_uchar;
794
pub type __u_short = ::std::os::raw::c_ushort;
795
pub type __u_int = ::std::os::raw::c_uint;
796
pub type __u_long = ::std::os::raw::c_ulong;
797
pub type __int8_t = ::std::os::raw::c_schar;
798
pub type __uint8_t = ::std::os::raw::c_uchar;
799
pub type __int16_t = ::std::os::raw::c_short;
800
pub type __uint16_t = ::std::os::raw::c_ushort;
801
pub type __int32_t = ::std::os::raw::c_int;
802
pub type __uint32_t = ::std::os::raw::c_uint;
803
pub type __int64_t = ::std::os::raw::c_long;
804
pub type __uint64_t = ::std::os::raw::c_ulong;
805
pub type __int_least8_t = __int8_t;
806
pub type __uint_least8_t = __uint8_t;
807
pub type __int_least16_t = __int16_t;
808
pub type __uint_least16_t = __uint16_t;
809
pub type __int_least32_t = __int32_t;
810
pub type __uint_least32_t = __uint32_t;
811
pub type __int_least64_t = __int64_t;
812
pub type __uint_least64_t = __uint64_t;
813
pub type __quad_t = ::std::os::raw::c_long;
814
pub type __u_quad_t = ::std::os::raw::c_ulong;
815
pub type __intmax_t = ::std::os::raw::c_long;
816
pub type __uintmax_t = ::std::os::raw::c_ulong;
817
pub type __dev_t = ::std::os::raw::c_ulong;
818
pub type __uid_t = ::std::os::raw::c_uint;
819
pub type __gid_t = ::std::os::raw::c_uint;
820
pub type __ino_t = ::std::os::raw::c_ulong;
821
pub type __ino64_t = ::std::os::raw::c_ulong;
822
pub type __mode_t = ::std::os::raw::c_uint;
823
pub type __nlink_t = ::std::os::raw::c_ulong;
824
pub type __off_t = ::std::os::raw::c_long;
825
pub type __off64_t = ::std::os::raw::c_long;
826
pub type __pid_t = ::std::os::raw::c_int;
827
#[repr(C)]
828
#[derive(Debug, Copy, Clone)]
829
pub struct __fsid_t {
830
  pub __val: [::std::os::raw::c_int; 2usize],
831
}
832
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
833
const _: () = {
834
  ["Size of __fsid_t"][::std::mem::size_of::<__fsid_t>() - 8usize];
835
  ["Alignment of __fsid_t"][::std::mem::align_of::<__fsid_t>() - 4usize];
836
  ["Offset of field: __fsid_t::__val"][::std::mem::offset_of!(__fsid_t, __val) - 0usize];
837
};
838
pub type __clock_t = ::std::os::raw::c_long;
839
pub type __rlim_t = ::std::os::raw::c_ulong;
840
pub type __rlim64_t = ::std::os::raw::c_ulong;
841
pub type __id_t = ::std::os::raw::c_uint;
842
pub type __time_t = ::std::os::raw::c_long;
843
pub type __useconds_t = ::std::os::raw::c_uint;
844
pub type __suseconds_t = ::std::os::raw::c_long;
845
pub type __suseconds64_t = ::std::os::raw::c_long;
846
pub type __daddr_t = ::std::os::raw::c_int;
847
pub type __key_t = ::std::os::raw::c_int;
848
pub type __clockid_t = ::std::os::raw::c_int;
849
pub type __timer_t = *mut ::std::os::raw::c_void;
850
pub type __blksize_t = ::std::os::raw::c_long;
851
pub type __blkcnt_t = ::std::os::raw::c_long;
852
pub type __blkcnt64_t = ::std::os::raw::c_long;
853
pub type __fsblkcnt_t = ::std::os::raw::c_ulong;
854
pub type __fsblkcnt64_t = ::std::os::raw::c_ulong;
855
pub type __fsfilcnt_t = ::std::os::raw::c_ulong;
856
pub type __fsfilcnt64_t = ::std::os::raw::c_ulong;
857
pub type __fsword_t = ::std::os::raw::c_long;
858
pub type __ssize_t = ::std::os::raw::c_long;
859
pub type __syscall_slong_t = ::std::os::raw::c_long;
860
pub type __syscall_ulong_t = ::std::os::raw::c_ulong;
861
pub type __loff_t = __off64_t;
862
pub type __caddr_t = *mut ::std::os::raw::c_char;
863
pub type __intptr_t = ::std::os::raw::c_long;
864
pub type __socklen_t = ::std::os::raw::c_uint;
865
pub type __sig_atomic_t = ::std::os::raw::c_int;
866
#[repr(C)]
867
#[derive(Copy, Clone)]
868
pub struct __mbstate_t {
869
  pub __count: ::std::os::raw::c_int,
870
  pub __value: __mbstate_t__bindgen_ty_1,
871
}
872
#[repr(C)]
873
#[derive(Copy, Clone)]
874
pub union __mbstate_t__bindgen_ty_1 {
875
  pub __wch: ::std::os::raw::c_uint,
876
  pub __wchb: [::std::os::raw::c_char; 4usize],
877
}
878
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
879
const _: () = {
880
  ["Size of __mbstate_t__bindgen_ty_1"]
881
    [::std::mem::size_of::<__mbstate_t__bindgen_ty_1>() - 4usize];
882
  ["Alignment of __mbstate_t__bindgen_ty_1"]
883
    [::std::mem::align_of::<__mbstate_t__bindgen_ty_1>() - 4usize];
884
  ["Offset of field: __mbstate_t__bindgen_ty_1::__wch"]
885
    [::std::mem::offset_of!(__mbstate_t__bindgen_ty_1, __wch) - 0usize];
886
  ["Offset of field: __mbstate_t__bindgen_ty_1::__wchb"]
887
    [::std::mem::offset_of!(__mbstate_t__bindgen_ty_1, __wchb) - 0usize];
888
};
889
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
890
const _: () = {
891
  ["Size of __mbstate_t"][::std::mem::size_of::<__mbstate_t>() - 8usize];
892
  ["Alignment of __mbstate_t"][::std::mem::align_of::<__mbstate_t>() - 4usize];
893
  ["Offset of field: __mbstate_t::__count"][::std::mem::offset_of!(__mbstate_t, __count) - 0usize];
894
  ["Offset of field: __mbstate_t::__value"][::std::mem::offset_of!(__mbstate_t, __value) - 4usize];
895
};
896
#[repr(C)]
897
#[derive(Copy, Clone)]
898
pub struct _G_fpos_t {
899
  pub __pos: __off_t,
900
  pub __state: __mbstate_t,
901
}
902
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
903
const _: () = {
904
  ["Size of _G_fpos_t"][::std::mem::size_of::<_G_fpos_t>() - 16usize];
905
  ["Alignment of _G_fpos_t"][::std::mem::align_of::<_G_fpos_t>() - 8usize];
906
  ["Offset of field: _G_fpos_t::__pos"][::std::mem::offset_of!(_G_fpos_t, __pos) - 0usize];
907
  ["Offset of field: _G_fpos_t::__state"][::std::mem::offset_of!(_G_fpos_t, __state) - 8usize];
908
};
909
pub type __fpos_t = _G_fpos_t;
910
#[repr(C)]
911
#[derive(Copy, Clone)]
912
pub struct _G_fpos64_t {
913
  pub __pos: __off64_t,
914
  pub __state: __mbstate_t,
915
}
916
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
917
const _: () = {
918
  ["Size of _G_fpos64_t"][::std::mem::size_of::<_G_fpos64_t>() - 16usize];
919
  ["Alignment of _G_fpos64_t"][::std::mem::align_of::<_G_fpos64_t>() - 8usize];
920
  ["Offset of field: _G_fpos64_t::__pos"][::std::mem::offset_of!(_G_fpos64_t, __pos) - 0usize];
921
  ["Offset of field: _G_fpos64_t::__state"][::std::mem::offset_of!(_G_fpos64_t, __state) - 8usize];
922
};
923
pub type __fpos64_t = _G_fpos64_t;
924
pub type __FILE = _IO_FILE;
925
pub type FILE = _IO_FILE;
926
#[repr(C)]
927
#[derive(Debug)]
928
pub struct _IO_marker {
929
  _unused: [u8; 0],
930
}
931
#[repr(C)]
932
#[derive(Debug)]
933
pub struct _IO_codecvt {
934
  _unused: [u8; 0],
935
}
936
#[repr(C)]
937
#[derive(Debug)]
938
pub struct _IO_wide_data {
939
  _unused: [u8; 0],
940
}
941
pub type _IO_lock_t = ::std::os::raw::c_void;
942
#[repr(C)]
943
#[derive(Debug, Copy, Clone)]
944
pub struct _IO_FILE {
945
  pub _flags: ::std::os::raw::c_int,
946
  pub _IO_read_ptr: *mut ::std::os::raw::c_char,
947
  pub _IO_read_end: *mut ::std::os::raw::c_char,
948
  pub _IO_read_base: *mut ::std::os::raw::c_char,
949
  pub _IO_write_base: *mut ::std::os::raw::c_char,
950
  pub _IO_write_ptr: *mut ::std::os::raw::c_char,
951
  pub _IO_write_end: *mut ::std::os::raw::c_char,
952
  pub _IO_buf_base: *mut ::std::os::raw::c_char,
953
  pub _IO_buf_end: *mut ::std::os::raw::c_char,
954
  pub _IO_save_base: *mut ::std::os::raw::c_char,
955
  pub _IO_backup_base: *mut ::std::os::raw::c_char,
956
  pub _IO_save_end: *mut ::std::os::raw::c_char,
957
  pub _markers: *mut _IO_marker,
958
  pub _chain: *mut _IO_FILE,
959
  pub _fileno: ::std::os::raw::c_int,
960
  pub _bitfield_1: __BindgenBitfieldUnit<[u8; 3usize]>,
961
  pub _short_backupbuf: [::std::os::raw::c_char; 1usize],
962
  pub _old_offset: __off_t,
963
  pub _cur_column: ::std::os::raw::c_ushort,
964
  pub _vtable_offset: ::std::os::raw::c_schar,
965
  pub _shortbuf: [::std::os::raw::c_char; 1usize],
966
  pub _lock: *mut _IO_lock_t,
967
  pub _offset: __off64_t,
968
  pub _codecvt: *mut _IO_codecvt,
969
  pub _wide_data: *mut _IO_wide_data,
970
  pub _freeres_list: *mut _IO_FILE,
971
  pub _freeres_buf: *mut ::std::os::raw::c_void,
972
  pub _prevchain: *mut *mut _IO_FILE,
973
  pub _mode: ::std::os::raw::c_int,
974
  pub _unused3: ::std::os::raw::c_int,
975
  pub _total_written: __uint64_t,
976
  pub _unused2: [::std::os::raw::c_char; 8usize],
977
}
978
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
979
const _: () = {
980
  ["Size of _IO_FILE"][::std::mem::size_of::<_IO_FILE>() - 216usize];
981
  ["Alignment of _IO_FILE"][::std::mem::align_of::<_IO_FILE>() - 8usize];
982
  ["Offset of field: _IO_FILE::_flags"][::std::mem::offset_of!(_IO_FILE, _flags) - 0usize];
983
  ["Offset of field: _IO_FILE::_IO_read_ptr"]
984
    [::std::mem::offset_of!(_IO_FILE, _IO_read_ptr) - 8usize];
985
  ["Offset of field: _IO_FILE::_IO_read_end"]
986
    [::std::mem::offset_of!(_IO_FILE, _IO_read_end) - 16usize];
987
  ["Offset of field: _IO_FILE::_IO_read_base"]
988
    [::std::mem::offset_of!(_IO_FILE, _IO_read_base) - 24usize];
989
  ["Offset of field: _IO_FILE::_IO_write_base"]
990
    [::std::mem::offset_of!(_IO_FILE, _IO_write_base) - 32usize];
991
  ["Offset of field: _IO_FILE::_IO_write_ptr"]
992
    [::std::mem::offset_of!(_IO_FILE, _IO_write_ptr) - 40usize];
993
  ["Offset of field: _IO_FILE::_IO_write_end"]
994
    [::std::mem::offset_of!(_IO_FILE, _IO_write_end) - 48usize];
995
  ["Offset of field: _IO_FILE::_IO_buf_base"]
996
    [::std::mem::offset_of!(_IO_FILE, _IO_buf_base) - 56usize];
997
  ["Offset of field: _IO_FILE::_IO_buf_end"]
998
    [::std::mem::offset_of!(_IO_FILE, _IO_buf_end) - 64usize];
999
  ["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]
  #[allow(unnecessary_transmutes)]
  pub fn _flags2(&self) -> ::std::os::raw::c_int {
    unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<0usize, 24u8>() as u32) }
  }
  #[inline]
  #[allow(unnecessary_transmutes)]
  pub fn set__flags2(&mut self, val: ::std::os::raw::c_int) {
    unsafe {
      let val: u32 = ::std::mem::transmute(val);
      self._bitfield_1.set_const::<0usize, 24u8>(val as u64)
    }
  }
  #[inline]
  #[allow(unnecessary_transmutes)]
  pub unsafe fn _flags2_raw(this: *const Self) -> ::std::os::raw::c_int {
    unsafe {
      ::std::mem::transmute(
        <__BindgenBitfieldUnit<[u8; 3usize]>>::raw_get_const::<0usize, 24u8>(::std::ptr::addr_of!(
          (*this)._bitfield_1
        )) as u32,
      )
    }
  }
  #[inline]
  #[allow(unnecessary_transmutes)]
  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_const::<0usize, 24u8>(
        ::std::ptr::addr_of_mut!((*this)._bitfield_1),
        val as u64,
      )
    }
  }
  #[inline]
  #[allow(unnecessary_transmutes)]
  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_const::<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)]
pub struct _xmlRegexp {
  _unused: [u8; 0],
}
#[doc = " A libxml regular expression"]
pub type xmlRegexp = _xmlRegexp;
pub type xmlRegexpPtr = *mut xmlRegexp;
#[repr(C)]
#[derive(Debug)]
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)]
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 _bindgen_opaque_blob: __BindgenOpaqueArray16<[u8; 32usize]>,
}
#[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];
};
#[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)]
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)]
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)]
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)]
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)]
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)]
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)]
pub struct _xmlMutex {
  _unused: [u8; 0],
}
#[doc = " Mutual exclusion object"]
pub type xmlMutex = _xmlMutex;
pub type xmlMutexPtr = *mut xmlMutex;
#[repr(C)]
#[derive(Debug)]
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)]
pub struct _xmlStartTag {
  _unused: [u8; 0],
}
pub type xmlStartTag = _xmlStartTag;
#[repr(C)]
#[derive(Debug)]
pub struct _xmlParserNsData {
  _unused: [u8; 0],
}
pub type xmlParserNsData = _xmlParserNsData;
#[repr(C)]
#[derive(Debug)]
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;
}
#[doc = " XPath context"]
pub type xmlXPathContext = _xmlXPathContext;
pub type xmlXPathContextPtr = *mut xmlXPathContext;
#[doc = " XPath parser and evaluation context"]
pub type xmlXPathParserContext = _xmlXPathParserContext;
pub type xmlXPathParserContextPtr = *mut xmlXPathParserContext;
pub const xmlXPathError_XPATH_EXPRESSION_OK: xmlXPathError = 0;
pub const xmlXPathError_XPATH_NUMBER_ERROR: xmlXPathError = 1;
pub const xmlXPathError_XPATH_UNFINISHED_LITERAL_ERROR: xmlXPathError = 2;
pub const xmlXPathError_XPATH_START_LITERAL_ERROR: xmlXPathError = 3;
pub const xmlXPathError_XPATH_VARIABLE_REF_ERROR: xmlXPathError = 4;
pub const xmlXPathError_XPATH_UNDEF_VARIABLE_ERROR: xmlXPathError = 5;
pub const xmlXPathError_XPATH_INVALID_PREDICATE_ERROR: xmlXPathError = 6;
pub const xmlXPathError_XPATH_EXPR_ERROR: xmlXPathError = 7;
pub const xmlXPathError_XPATH_UNCLOSED_ERROR: xmlXPathError = 8;
pub const xmlXPathError_XPATH_UNKNOWN_FUNC_ERROR: xmlXPathError = 9;
pub const xmlXPathError_XPATH_INVALID_OPERAND: xmlXPathError = 10;
pub const xmlXPathError_XPATH_INVALID_TYPE: xmlXPathError = 11;
pub const xmlXPathError_XPATH_INVALID_ARITY: xmlXPathError = 12;
pub const xmlXPathError_XPATH_INVALID_CTXT_SIZE: xmlXPathError = 13;
pub const xmlXPathError_XPATH_INVALID_CTXT_POSITION: xmlXPathError = 14;
pub const xmlXPathError_XPATH_MEMORY_ERROR: xmlXPathError = 15;
pub const xmlXPathError_XPTR_SYNTAX_ERROR: xmlXPathError = 16;
pub const xmlXPathError_XPTR_RESOURCE_ERROR: xmlXPathError = 17;
pub const xmlXPathError_XPTR_SUB_RESOURCE_ERROR: xmlXPathError = 18;
pub const xmlXPathError_XPATH_UNDEF_PREFIX_ERROR: xmlXPathError = 19;
pub const xmlXPathError_XPATH_ENCODING_ERROR: xmlXPathError = 20;
pub const xmlXPathError_XPATH_INVALID_CHAR_ERROR: xmlXPathError = 21;
pub const xmlXPathError_XPATH_INVALID_CTXT: xmlXPathError = 22;
pub const xmlXPathError_XPATH_STACK_ERROR: xmlXPathError = 23;
pub const xmlXPathError_XPATH_FORBID_VARIABLE_ERROR: xmlXPathError = 24;
pub const xmlXPathError_XPATH_OP_LIMIT_EXCEEDED: xmlXPathError = 25;
pub const xmlXPathError_XPATH_RECURSION_LIMIT_EXCEEDED: xmlXPathError = 26;
#[doc = " The set of XPath error codes."]
pub type xmlXPathError = ::std::os::raw::c_uint;
#[doc = " XPath node set"]
pub type xmlNodeSet = _xmlNodeSet;
pub type xmlNodeSetPtr = *mut xmlNodeSet;
#[doc = " A node-set (an unordered collection of nodes without duplicates)."]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _xmlNodeSet {
  #[doc = " number of nodes in the set"]
  pub nodeNr: ::std::os::raw::c_int,
  #[doc = " size of the array as allocated"]
  pub nodeMax: ::std::os::raw::c_int,
  #[doc = " array of nodes in no particular order"]
  pub nodeTab: *mut *mut xmlNode,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
  ["Size of _xmlNodeSet"][::std::mem::size_of::<_xmlNodeSet>() - 16usize];
  ["Alignment of _xmlNodeSet"][::std::mem::align_of::<_xmlNodeSet>() - 8usize];
  ["Offset of field: _xmlNodeSet::nodeNr"][::std::mem::offset_of!(_xmlNodeSet, nodeNr) - 0usize];
  ["Offset of field: _xmlNodeSet::nodeMax"][::std::mem::offset_of!(_xmlNodeSet, nodeMax) - 4usize];
  ["Offset of field: _xmlNodeSet::nodeTab"][::std::mem::offset_of!(_xmlNodeSet, nodeTab) - 8usize];
};
pub const xmlXPathObjectType_XPATH_UNDEFINED: xmlXPathObjectType = 0;
pub const xmlXPathObjectType_XPATH_NODESET: xmlXPathObjectType = 1;
pub const xmlXPathObjectType_XPATH_BOOLEAN: xmlXPathObjectType = 2;
pub const xmlXPathObjectType_XPATH_NUMBER: xmlXPathObjectType = 3;
pub const xmlXPathObjectType_XPATH_STRING: xmlXPathObjectType = 4;
pub const xmlXPathObjectType_XPATH_USERS: xmlXPathObjectType = 8;
pub const xmlXPathObjectType_XPATH_XSLT_TREE: xmlXPathObjectType = 9;
#[doc = " An expression is evaluated to yield an object, which\n has one of the following four basic types:\n\n   - node-set\n   - boolean\n   - number\n   - string"]
pub type xmlXPathObjectType = ::std::os::raw::c_uint;
#[doc = " XPath object"]
pub type xmlXPathObject = _xmlXPathObject;
pub type xmlXPathObjectPtr = *mut xmlXPathObject;
#[doc = " An XPath object"]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _xmlXPathObject {
  #[doc = " object type"]
  pub type_: xmlXPathObjectType,
  #[doc = " node set"]
  pub nodesetval: *mut xmlNodeSet,
  #[doc = " boolean"]
  pub boolval: ::std::os::raw::c_int,
  #[doc = " number"]
  pub floatval: f64,
  #[doc = " string"]
  pub stringval: *mut xmlChar,
  pub user: *mut ::std::os::raw::c_void,
  pub index: ::std::os::raw::c_int,
  pub user2: *mut ::std::os::raw::c_void,
  pub index2: ::std::os::raw::c_int,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
  ["Size of _xmlXPathObject"][::std::mem::size_of::<_xmlXPathObject>() - 72usize];
  ["Alignment of _xmlXPathObject"][::std::mem::align_of::<_xmlXPathObject>() - 8usize];
  ["Offset of field: _xmlXPathObject::type_"]
    [::std::mem::offset_of!(_xmlXPathObject, type_) - 0usize];
  ["Offset of field: _xmlXPathObject::nodesetval"]
    [::std::mem::offset_of!(_xmlXPathObject, nodesetval) - 8usize];
  ["Offset of field: _xmlXPathObject::boolval"]
    [::std::mem::offset_of!(_xmlXPathObject, boolval) - 16usize];
  ["Offset of field: _xmlXPathObject::floatval"]
    [::std::mem::offset_of!(_xmlXPathObject, floatval) - 24usize];
  ["Offset of field: _xmlXPathObject::stringval"]
    [::std::mem::offset_of!(_xmlXPathObject, stringval) - 32usize];
  ["Offset of field: _xmlXPathObject::user"]
    [::std::mem::offset_of!(_xmlXPathObject, user) - 40usize];
  ["Offset of field: _xmlXPathObject::index"]
    [::std::mem::offset_of!(_xmlXPathObject, index) - 48usize];
  ["Offset of field: _xmlXPathObject::user2"]
    [::std::mem::offset_of!(_xmlXPathObject, user2) - 56usize];
  ["Offset of field: _xmlXPathObject::index2"]
    [::std::mem::offset_of!(_xmlXPathObject, index2) - 64usize];
};
#[doc = " @cond ignore"]
pub type xmlXPathConvertFunc = ::std::option::Option<
  unsafe extern "C" fn(
    obj: *mut xmlXPathObject,
    type_: ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int,
>;
pub type xmlXPathType = _xmlXPathType;
pub type xmlXPathTypePtr = *mut xmlXPathType;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _xmlXPathType {
  pub name: *const xmlChar,
  pub func: xmlXPathConvertFunc,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
  ["Size of _xmlXPathType"][::std::mem::size_of::<_xmlXPathType>() - 16usize];
  ["Alignment of _xmlXPathType"][::std::mem::align_of::<_xmlXPathType>() - 8usize];
  ["Offset of field: _xmlXPathType::name"][::std::mem::offset_of!(_xmlXPathType, name) - 0usize];
  ["Offset of field: _xmlXPathType::func"][::std::mem::offset_of!(_xmlXPathType, func) - 8usize];
};
pub type xmlXPathVariable = _xmlXPathVariable;
pub type xmlXPathVariablePtr = *mut xmlXPathVariable;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _xmlXPathVariable {
  pub name: *const xmlChar,
  pub value: *mut xmlXPathObject,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
  ["Size of _xmlXPathVariable"][::std::mem::size_of::<_xmlXPathVariable>() - 16usize];
  ["Alignment of _xmlXPathVariable"][::std::mem::align_of::<_xmlXPathVariable>() - 8usize];
  ["Offset of field: _xmlXPathVariable::name"]
    [::std::mem::offset_of!(_xmlXPathVariable, name) - 0usize];
  ["Offset of field: _xmlXPathVariable::value"]
    [::std::mem::offset_of!(_xmlXPathVariable, value) - 8usize];
};
pub type xmlXPathEvalFunc = ::std::option::Option<
  unsafe extern "C" fn(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int),
>;
pub type xmlXPathFunct = _xmlXPathFunct;
pub type xmlXPathFuncPtr = *mut xmlXPathFunct;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _xmlXPathFunct {
  pub name: *const xmlChar,
  pub func: xmlXPathEvalFunc,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
  ["Size of _xmlXPathFunct"][::std::mem::size_of::<_xmlXPathFunct>() - 16usize];
  ["Alignment of _xmlXPathFunct"][::std::mem::align_of::<_xmlXPathFunct>() - 8usize];
  ["Offset of field: _xmlXPathFunct::name"][::std::mem::offset_of!(_xmlXPathFunct, name) - 0usize];
  ["Offset of field: _xmlXPathFunct::func"][::std::mem::offset_of!(_xmlXPathFunct, func) - 8usize];
};
pub type xmlXPathAxisFunc = ::std::option::Option<
  unsafe extern "C" fn(
    ctxt: *mut xmlXPathParserContext,
    cur: *mut xmlXPathObject,
  ) -> *mut xmlXPathObject,
>;
pub type xmlXPathAxis = _xmlXPathAxis;
pub type xmlXPathAxisPtr = *mut xmlXPathAxis;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _xmlXPathAxis {
  pub name: *const xmlChar,
  pub func: xmlXPathAxisFunc,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
  ["Size of _xmlXPathAxis"][::std::mem::size_of::<_xmlXPathAxis>() - 16usize];
  ["Alignment of _xmlXPathAxis"][::std::mem::align_of::<_xmlXPathAxis>() - 8usize];
  ["Offset of field: _xmlXPathAxis::name"][::std::mem::offset_of!(_xmlXPathAxis, name) - 0usize];
  ["Offset of field: _xmlXPathAxis::func"][::std::mem::offset_of!(_xmlXPathAxis, func) - 8usize];
};
#[doc = " An XPath function.\n The arguments (if any) are popped out from the context stack\n and the result is pushed on the stack.\n\n @param ctxt  the XPath interprestation context\n @param nargs  the number of arguments"]
pub type xmlXPathFunction = ::std::option::Option<
  unsafe extern "C" fn(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int),
>;
#[doc = " Prototype for callbacks used to plug variable lookup in the XPath\n engine.\n\n @param ctxt  an XPath context\n @param name  name of the variable\n @param ns_uri  the namespace name hosting this variable\n @returns the XPath object value or NULL if not found."]
pub type xmlXPathVariableLookupFunc = ::std::option::Option<
  unsafe extern "C" fn(
    ctxt: *mut ::std::os::raw::c_void,
    name: *const xmlChar,
    ns_uri: *const xmlChar,
  ) -> *mut xmlXPathObject,
>;
#[doc = " Prototype for callbacks used to plug function lookup in the XPath\n engine.\n\n @param ctxt  an XPath context\n @param name  name of the function\n @param ns_uri  the namespace name hosting this function\n @returns the XPath function or NULL if not found."]
pub type xmlXPathFuncLookupFunc = ::std::option::Option<
  unsafe extern "C" fn(
    ctxt: *mut ::std::os::raw::c_void,
    name: *const xmlChar,
    ns_uri: *const xmlChar,
  ) -> xmlXPathFunction,
>;
#[doc = " Expression evaluation occurs with respect to a context.\n he context consists of:\n    - a node (the context node)\n    - a node list (the context node list)\n    - a set of variable bindings\n    - a function library\n    - the set of namespace declarations in scope for the expression\n Following the switch to hash tables, this need to be trimmed up at\n the next binary incompatible release.\n The node may be modified when the context is passed to libxml2\n for an XPath evaluation so you may need to initialize it again\n before the next call."]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _xmlXPathContext {
  #[doc = " The current document"]
  pub doc: *mut xmlDoc,
  #[doc = " The current node"]
  pub node: *mut xmlNode,
  pub nb_variables_unused: ::std::os::raw::c_int,
  pub max_variables_unused: ::std::os::raw::c_int,
  pub varHash: *mut xmlHashTable,
  pub nb_types: ::std::os::raw::c_int,
  pub max_types: ::std::os::raw::c_int,
  pub types: *mut xmlXPathType,
  pub nb_funcs_unused: ::std::os::raw::c_int,
  pub max_funcs_unused: ::std::os::raw::c_int,
  pub funcHash: *mut xmlHashTable,
  pub nb_axis: ::std::os::raw::c_int,
  pub max_axis: ::std::os::raw::c_int,
  pub axis: *mut xmlXPathAxis,
  pub namespaces: *mut *mut xmlNs,
  pub nsNr: ::std::os::raw::c_int,
  pub user: *mut ::std::os::raw::c_void,
  #[doc = " the context size"]
  pub contextSize: ::std::os::raw::c_int,
  #[doc = " the proximity position"]
  pub proximityPosition: ::std::os::raw::c_int,
  pub xptr: ::std::os::raw::c_int,
  pub here: *mut xmlNode,
  pub origin: *mut xmlNode,
  pub nsHash: *mut xmlHashTable,
  pub varLookupFunc: xmlXPathVariableLookupFunc,
  pub varLookupData: *mut ::std::os::raw::c_void,
  pub extra: *mut ::std::os::raw::c_void,
  pub function: *const xmlChar,
  pub functionURI: *const xmlChar,
  pub funcLookupFunc: xmlXPathFuncLookupFunc,
  pub funcLookupData: *mut ::std::os::raw::c_void,
  pub tmpNsList: *mut *mut xmlNs,
  pub tmpNsNr: ::std::os::raw::c_int,
  pub userData: *mut ::std::os::raw::c_void,
  pub error: xmlStructuredErrorFunc,
  pub lastError: xmlError,
  pub debugNode: *mut xmlNode,
  pub dict: *mut xmlDict,
  #[doc = " flags to control compilation"]
  pub flags: ::std::os::raw::c_int,
  pub cache: *mut ::std::os::raw::c_void,
  pub opLimit: ::std::os::raw::c_ulong,
  pub opCount: ::std::os::raw::c_ulong,
  pub depth: ::std::os::raw::c_int,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
  ["Size of _xmlXPathContext"][::std::mem::size_of::<_xmlXPathContext>() - 376usize];
  ["Alignment of _xmlXPathContext"][::std::mem::align_of::<_xmlXPathContext>() - 8usize];
  ["Offset of field: _xmlXPathContext::doc"]
    [::std::mem::offset_of!(_xmlXPathContext, doc) - 0usize];
  ["Offset of field: _xmlXPathContext::node"]
    [::std::mem::offset_of!(_xmlXPathContext, node) - 8usize];
  ["Offset of field: _xmlXPathContext::nb_variables_unused"]
    [::std::mem::offset_of!(_xmlXPathContext, nb_variables_unused) - 16usize];
  ["Offset of field: _xmlXPathContext::max_variables_unused"]
    [::std::mem::offset_of!(_xmlXPathContext, max_variables_unused) - 20usize];
  ["Offset of field: _xmlXPathContext::varHash"]
    [::std::mem::offset_of!(_xmlXPathContext, varHash) - 24usize];
  ["Offset of field: _xmlXPathContext::nb_types"]
    [::std::mem::offset_of!(_xmlXPathContext, nb_types) - 32usize];
  ["Offset of field: _xmlXPathContext::max_types"]
    [::std::mem::offset_of!(_xmlXPathContext, max_types) - 36usize];
  ["Offset of field: _xmlXPathContext::types"]
    [::std::mem::offset_of!(_xmlXPathContext, types) - 40usize];
  ["Offset of field: _xmlXPathContext::nb_funcs_unused"]
    [::std::mem::offset_of!(_xmlXPathContext, nb_funcs_unused) - 48usize];
  ["Offset of field: _xmlXPathContext::max_funcs_unused"]
    [::std::mem::offset_of!(_xmlXPathContext, max_funcs_unused) - 52usize];
  ["Offset of field: _xmlXPathContext::funcHash"]
    [::std::mem::offset_of!(_xmlXPathContext, funcHash) - 56usize];
  ["Offset of field: _xmlXPathContext::nb_axis"]
    [::std::mem::offset_of!(_xmlXPathContext, nb_axis) - 64usize];
  ["Offset of field: _xmlXPathContext::max_axis"]
    [::std::mem::offset_of!(_xmlXPathContext, max_axis) - 68usize];
  ["Offset of field: _xmlXPathContext::axis"]
    [::std::mem::offset_of!(_xmlXPathContext, axis) - 72usize];
  ["Offset of field: _xmlXPathContext::namespaces"]
    [::std::mem::offset_of!(_xmlXPathContext, namespaces) - 80usize];
  ["Offset of field: _xmlXPathContext::nsNr"]
    [::std::mem::offset_of!(_xmlXPathContext, nsNr) - 88usize];
  ["Offset of field: _xmlXPathContext::user"]
    [::std::mem::offset_of!(_xmlXPathContext, user) - 96usize];
  ["Offset of field: _xmlXPathContext::contextSize"]
    [::std::mem::offset_of!(_xmlXPathContext, contextSize) - 104usize];
  ["Offset of field: _xmlXPathContext::proximityPosition"]
    [::std::mem::offset_of!(_xmlXPathContext, proximityPosition) - 108usize];
  ["Offset of field: _xmlXPathContext::xptr"]
    [::std::mem::offset_of!(_xmlXPathContext, xptr) - 112usize];
  ["Offset of field: _xmlXPathContext::here"]
    [::std::mem::offset_of!(_xmlXPathContext, here) - 120usize];
  ["Offset of field: _xmlXPathContext::origin"]
    [::std::mem::offset_of!(_xmlXPathContext, origin) - 128usize];
  ["Offset of field: _xmlXPathContext::nsHash"]
    [::std::mem::offset_of!(_xmlXPathContext, nsHash) - 136usize];
  ["Offset of field: _xmlXPathContext::varLookupFunc"]
    [::std::mem::offset_of!(_xmlXPathContext, varLookupFunc) - 144usize];
  ["Offset of field: _xmlXPathContext::varLookupData"]
    [::std::mem::offset_of!(_xmlXPathContext, varLookupData) - 152usize];
  ["Offset of field: _xmlXPathContext::extra"]
    [::std::mem::offset_of!(_xmlXPathContext, extra) - 160usize];
  ["Offset of field: _xmlXPathContext::function"]
    [::std::mem::offset_of!(_xmlXPathContext, function) - 168usize];
  ["Offset of field: _xmlXPathContext::functionURI"]
    [::std::mem::offset_of!(_xmlXPathContext, functionURI) - 176usize];
  ["Offset of field: _xmlXPathContext::funcLookupFunc"]
    [::std::mem::offset_of!(_xmlXPathContext, funcLookupFunc) - 184usize];
  ["Offset of field: _xmlXPathContext::funcLookupData"]
    [::std::mem::offset_of!(_xmlXPathContext, funcLookupData) - 192usize];
  ["Offset of field: _xmlXPathContext::tmpNsList"]
    [::std::mem::offset_of!(_xmlXPathContext, tmpNsList) - 200usize];
  ["Offset of field: _xmlXPathContext::tmpNsNr"]
    [::std::mem::offset_of!(_xmlXPathContext, tmpNsNr) - 208usize];
  ["Offset of field: _xmlXPathContext::userData"]
    [::std::mem::offset_of!(_xmlXPathContext, userData) - 216usize];
  ["Offset of field: _xmlXPathContext::error"]
    [::std::mem::offset_of!(_xmlXPathContext, error) - 224usize];
  ["Offset of field: _xmlXPathContext::lastError"]
    [::std::mem::offset_of!(_xmlXPathContext, lastError) - 232usize];
  ["Offset of field: _xmlXPathContext::debugNode"]
    [::std::mem::offset_of!(_xmlXPathContext, debugNode) - 320usize];
  ["Offset of field: _xmlXPathContext::dict"]
    [::std::mem::offset_of!(_xmlXPathContext, dict) - 328usize];
  ["Offset of field: _xmlXPathContext::flags"]
    [::std::mem::offset_of!(_xmlXPathContext, flags) - 336usize];
  ["Offset of field: _xmlXPathContext::cache"]
    [::std::mem::offset_of!(_xmlXPathContext, cache) - 344usize];
  ["Offset of field: _xmlXPathContext::opLimit"]
    [::std::mem::offset_of!(_xmlXPathContext, opLimit) - 352usize];
  ["Offset of field: _xmlXPathContext::opCount"]
    [::std::mem::offset_of!(_xmlXPathContext, opCount) - 360usize];
  ["Offset of field: _xmlXPathContext::depth"]
    [::std::mem::offset_of!(_xmlXPathContext, depth) - 368usize];
};
#[repr(C)]
#[derive(Debug)]
pub struct _xmlXPathCompExpr {
  _unused: [u8; 0],
}
#[doc = " Compiled XPath expression"]
pub type xmlXPathCompExpr = _xmlXPathCompExpr;
pub type xmlXPathCompExprPtr = *mut xmlXPathCompExpr;
#[doc = " An XPath parser context. It contains pure parsing information,\n an xmlXPathContext, and the stack of objects.\n\n This struct is used for evaluation as well and misnamed."]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _xmlXPathParserContext {
  pub cur: *const xmlChar,
  pub base: *const xmlChar,
  #[doc = " error code"]
  pub error: ::std::os::raw::c_int,
  #[doc = " the evaluation context"]
  pub context: *mut xmlXPathContext,
  #[doc = " the current value"]
  pub value: *mut xmlXPathObject,
  pub valueNr: ::std::os::raw::c_int,
  pub valueMax: ::std::os::raw::c_int,
  pub valueTab: *mut *mut xmlXPathObject,
  pub comp: *mut xmlXPathCompExpr,
  pub xptr: ::std::os::raw::c_int,
  pub ancestor: *mut xmlNode,
  pub valueFrame: ::std::os::raw::c_int,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
  ["Size of _xmlXPathParserContext"][::std::mem::size_of::<_xmlXPathParserContext>() - 88usize];
  ["Alignment of _xmlXPathParserContext"]
    [::std::mem::align_of::<_xmlXPathParserContext>() - 8usize];
  ["Offset of field: _xmlXPathParserContext::cur"]
    [::std::mem::offset_of!(_xmlXPathParserContext, cur) - 0usize];
  ["Offset of field: _xmlXPathParserContext::base"]
    [::std::mem::offset_of!(_xmlXPathParserContext, base) - 8usize];
  ["Offset of field: _xmlXPathParserContext::error"]
    [::std::mem::offset_of!(_xmlXPathParserContext, error) - 16usize];
  ["Offset of field: _xmlXPathParserContext::context"]
    [::std::mem::offset_of!(_xmlXPathParserContext, context) - 24usize];
  ["Offset of field: _xmlXPathParserContext::value"]
    [::std::mem::offset_of!(_xmlXPathParserContext, value) - 32usize];
  ["Offset of field: _xmlXPathParserContext::valueNr"]
    [::std::mem::offset_of!(_xmlXPathParserContext, valueNr) - 40usize];
  ["Offset of field: _xmlXPathParserContext::valueMax"]
    [::std::mem::offset_of!(_xmlXPathParserContext, valueMax) - 44usize];
  ["Offset of field: _xmlXPathParserContext::valueTab"]
    [::std::mem::offset_of!(_xmlXPathParserContext, valueTab) - 48usize];
  ["Offset of field: _xmlXPathParserContext::comp"]
    [::std::mem::offset_of!(_xmlXPathParserContext, comp) - 56usize];
  ["Offset of field: _xmlXPathParserContext::xptr"]
    [::std::mem::offset_of!(_xmlXPathParserContext, xptr) - 64usize];
  ["Offset of field: _xmlXPathParserContext::ancestor"]
    [::std::mem::offset_of!(_xmlXPathParserContext, ancestor) - 72usize];
  ["Offset of field: _xmlXPathParserContext::valueFrame"]
    [::std::mem::offset_of!(_xmlXPathParserContext, valueFrame) - 80usize];
};
unsafe extern "C" {
  #[doc = " @cond ignore"]
  pub static mut xmlXPathNAN: f64;
}
unsafe extern "C" {
  pub static mut xmlXPathPINF: f64;
}
unsafe extern "C" {
  pub static mut xmlXPathNINF: f64;
}
unsafe extern "C" {
  #[doc = " @endcond"]
  pub fn xmlXPathFreeObject(obj: *mut xmlXPathObject);
}
unsafe extern "C" {
  pub fn xmlXPathNodeSetCreate(val: *mut xmlNode) -> *mut xmlNodeSet;
}
unsafe extern "C" {
  pub fn xmlXPathFreeNodeSetList(obj: *mut xmlXPathObject);
}
unsafe extern "C" {
  pub fn xmlXPathFreeNodeSet(obj: *mut xmlNodeSet);
}
unsafe extern "C" {
  pub fn xmlXPathObjectCopy(val: *mut xmlXPathObject) -> *mut xmlXPathObject;
}
unsafe extern "C" {
  pub fn xmlXPathCmpNodes(node1: *mut xmlNode, node2: *mut xmlNode) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  #[doc = " Conversion functions to basic types."]
  pub fn xmlXPathCastNumberToBoolean(val: f64) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXPathCastStringToBoolean(val: *const xmlChar) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXPathCastNodeSetToBoolean(ns: *mut xmlNodeSet) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXPathCastToBoolean(val: *mut xmlXPathObject) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXPathCastBooleanToNumber(val: ::std::os::raw::c_int) -> f64;
}
unsafe extern "C" {
  pub fn xmlXPathCastStringToNumber(val: *const xmlChar) -> f64;
}
unsafe extern "C" {
  pub fn xmlXPathCastNodeToNumber(node: *mut xmlNode) -> f64;
}
unsafe extern "C" {
  pub fn xmlXPathCastNodeSetToNumber(ns: *mut xmlNodeSet) -> f64;
}
unsafe extern "C" {
  pub fn xmlXPathCastToNumber(val: *mut xmlXPathObject) -> f64;
}
unsafe extern "C" {
  pub fn xmlXPathCastBooleanToString(val: ::std::os::raw::c_int) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlXPathCastNumberToString(val: f64) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlXPathCastNodeToString(node: *mut xmlNode) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlXPathCastNodeSetToString(ns: *mut xmlNodeSet) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlXPathCastToString(val: *mut xmlXPathObject) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlXPathConvertBoolean(val: *mut xmlXPathObject) -> *mut xmlXPathObject;
}
unsafe extern "C" {
  pub fn xmlXPathConvertNumber(val: *mut xmlXPathObject) -> *mut xmlXPathObject;
}
unsafe extern "C" {
  pub fn xmlXPathConvertString(val: *mut xmlXPathObject) -> *mut xmlXPathObject;
}
unsafe extern "C" {
  #[doc = " Context handling."]
  pub fn xmlXPathNewContext(doc: *mut xmlDoc) -> *mut xmlXPathContext;
}
unsafe extern "C" {
  pub fn xmlXPathFreeContext(ctxt: *mut xmlXPathContext);
}
unsafe extern "C" {
  pub fn xmlXPathSetErrorHandler(
    ctxt: *mut xmlXPathContext,
    handler: xmlStructuredErrorFunc,
    context: *mut ::std::os::raw::c_void,
  );
}
unsafe extern "C" {
  pub fn xmlXPathContextSetCache(
    ctxt: *mut xmlXPathContext,
    active: ::std::os::raw::c_int,
    value: ::std::os::raw::c_int,
    options: ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  #[doc = " Evaluation functions."]
  pub fn xmlXPathOrderDocElems(doc: *mut xmlDoc) -> ::std::os::raw::c_long;
}
unsafe extern "C" {
  pub fn xmlXPathSetContextNode(
    node: *mut xmlNode,
    ctx: *mut xmlXPathContext,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXPathNodeEval(
    node: *mut xmlNode,
    str_: *const xmlChar,
    ctx: *mut xmlXPathContext,
  ) -> *mut xmlXPathObject;
}
unsafe extern "C" {
  pub fn xmlXPathEval(str_: *const xmlChar, ctx: *mut xmlXPathContext) -> *mut xmlXPathObject;
}
unsafe extern "C" {
  pub fn xmlXPathEvalExpression(
    str_: *const xmlChar,
    ctxt: *mut xmlXPathContext,
  ) -> *mut xmlXPathObject;
}
unsafe extern "C" {
  pub fn xmlXPathEvalPredicate(
    ctxt: *mut xmlXPathContext,
    res: *mut xmlXPathObject,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  #[doc = " Separate compilation/evaluation entry points."]
  pub fn xmlXPathCompile(str_: *const xmlChar) -> *mut xmlXPathCompExpr;
}
unsafe extern "C" {
  pub fn xmlXPathCtxtCompile(
    ctxt: *mut xmlXPathContext,
    str_: *const xmlChar,
  ) -> *mut xmlXPathCompExpr;
}
unsafe extern "C" {
  pub fn xmlXPathCompiledEval(
    comp: *mut xmlXPathCompExpr,
    ctx: *mut xmlXPathContext,
  ) -> *mut xmlXPathObject;
}
unsafe extern "C" {
  pub fn xmlXPathCompiledEvalToBoolean(
    comp: *mut xmlXPathCompExpr,
    ctxt: *mut xmlXPathContext,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXPathFreeCompExpr(comp: *mut xmlXPathCompExpr);
}
unsafe extern "C" {
  pub fn xmlXPathInit();
}
unsafe extern "C" {
  pub fn xmlXPathIsNaN(val: f64) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXPathIsInf(val: f64) -> ::std::os::raw::c_int;
}
#[doc = " Original C14N 1.0 spec"]
pub const xmlC14NMode_XML_C14N_1_0: xmlC14NMode = 0;
#[doc = " Exclusive C14N 1.0 spec"]
pub const xmlC14NMode_XML_C14N_EXCLUSIVE_1_0: xmlC14NMode = 1;
#[doc = " C14N 1.1 spec"]
pub const xmlC14NMode_XML_C14N_1_1: xmlC14NMode = 2;
#[doc = " Predefined values for C14N modes"]
pub type xmlC14NMode = ::std::os::raw::c_uint;
unsafe extern "C" {
  pub fn xmlC14NDocSaveTo(
    doc: *mut xmlDoc,
    nodes: *mut xmlNodeSet,
    mode: ::std::os::raw::c_int,
    inclusive_ns_prefixes: *mut *mut xmlChar,
    with_comments: ::std::os::raw::c_int,
    buf: *mut xmlOutputBuffer,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlC14NDocDumpMemory(
    doc: *mut xmlDoc,
    nodes: *mut xmlNodeSet,
    mode: ::std::os::raw::c_int,
    inclusive_ns_prefixes: *mut *mut xmlChar,
    with_comments: ::std::os::raw::c_int,
    doc_txt_ptr: *mut *mut xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlC14NDocSave(
    doc: *mut xmlDoc,
    nodes: *mut xmlNodeSet,
    mode: ::std::os::raw::c_int,
    inclusive_ns_prefixes: *mut *mut xmlChar,
    with_comments: ::std::os::raw::c_int,
    filename: *const ::std::os::raw::c_char,
    compression: ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int;
}
#[doc = " This is the core C14N function\n/\n/**\n Signature for a C14N callback on visible nodes\n\n @param user_data  user data\n @param node  the current node\n @param parent  the parent node\n @returns 1 if the node should be included"]
pub type xmlC14NIsVisibleCallback = ::std::option::Option<
  unsafe extern "C" fn(
    user_data: *mut ::std::os::raw::c_void,
    node: *mut xmlNode,
    parent: *mut xmlNode,
  ) -> ::std::os::raw::c_int,
>;
unsafe extern "C" {
  pub fn xmlC14NExecute(
    doc: *mut xmlDoc,
    is_visible_callback: xmlC14NIsVisibleCallback,
    user_data: *mut ::std::os::raw::c_void,
    mode: ::std::os::raw::c_int,
    inclusive_ns_prefixes: *mut *mut xmlChar,
    with_comments: ::std::os::raw::c_int,
    buf: *mut xmlOutputBuffer,
  ) -> ::std::os::raw::c_int;
}
pub const xmlCatalogPrefer_XML_CATA_PREFER_NONE: xmlCatalogPrefer = 0;
pub const xmlCatalogPrefer_XML_CATA_PREFER_PUBLIC: xmlCatalogPrefer = 1;
pub const xmlCatalogPrefer_XML_CATA_PREFER_SYSTEM: xmlCatalogPrefer = 2;
#[doc = " @cond ignore"]
pub type xmlCatalogPrefer = ::std::os::raw::c_uint;
pub const xmlCatalogAllow_XML_CATA_ALLOW_NONE: xmlCatalogAllow = 0;
pub const xmlCatalogAllow_XML_CATA_ALLOW_GLOBAL: xmlCatalogAllow = 1;
pub const xmlCatalogAllow_XML_CATA_ALLOW_DOCUMENT: xmlCatalogAllow = 2;
pub const xmlCatalogAllow_XML_CATA_ALLOW_ALL: xmlCatalogAllow = 3;
pub type xmlCatalogAllow = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug)]
pub struct _xmlCatalog {
  _unused: [u8; 0],
}
#[doc = " XML catalog"]
pub type xmlCatalog = _xmlCatalog;
pub type xmlCatalogPtr = *mut xmlCatalog;
unsafe extern "C" {
  pub fn xmlNewCatalog(sgml: ::std::os::raw::c_int) -> *mut xmlCatalog;
}
unsafe extern "C" {
  pub fn xmlLoadACatalog(filename: *const ::std::os::raw::c_char) -> *mut xmlCatalog;
}
unsafe extern "C" {
  pub fn xmlLoadSGMLSuperCatalog(filename: *const ::std::os::raw::c_char) -> *mut xmlCatalog;
}
unsafe extern "C" {
  pub fn xmlConvertSGMLCatalog(catal: *mut xmlCatalog) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlACatalogAdd(
    catal: *mut xmlCatalog,
    type_: *const xmlChar,
    orig: *const xmlChar,
    replace: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlACatalogRemove(catal: *mut xmlCatalog, value: *const xmlChar) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlACatalogResolve(
    catal: *mut xmlCatalog,
    pubID: *const xmlChar,
    sysID: *const xmlChar,
  ) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlACatalogResolveSystem(catal: *mut xmlCatalog, sysID: *const xmlChar) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlACatalogResolvePublic(catal: *mut xmlCatalog, pubID: *const xmlChar) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlACatalogResolveURI(catal: *mut xmlCatalog, URI: *const xmlChar) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlACatalogDump(catal: *mut xmlCatalog, out: *mut FILE);
}
unsafe extern "C" {
  pub fn xmlFreeCatalog(catal: *mut xmlCatalog);
}
unsafe extern "C" {
  pub fn xmlCatalogIsEmpty(catal: *mut xmlCatalog) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlInitializeCatalog();
}
unsafe extern "C" {
  pub fn xmlLoadCatalog(filename: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlLoadCatalogs(paths: *const ::std::os::raw::c_char);
}
unsafe extern "C" {
  pub fn xmlCatalogCleanup();
}
unsafe extern "C" {
  pub fn xmlCatalogDump(out: *mut FILE);
}
unsafe extern "C" {
  pub fn xmlCatalogDumpDoc() -> xmlDocPtr;
}
unsafe extern "C" {
  pub fn xmlCatalogResolve(pubID: *const xmlChar, sysID: *const xmlChar) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlCatalogResolveSystem(sysID: *const xmlChar) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlCatalogResolvePublic(pubID: *const xmlChar) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlCatalogResolveURI(URI: *const xmlChar) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlCatalogAdd(
    type_: *const xmlChar,
    orig: *const xmlChar,
    replace: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlCatalogRemove(value: *const xmlChar) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlParseCatalogFile(filename: *const ::std::os::raw::c_char) -> *mut xmlDoc;
}
unsafe extern "C" {
  pub fn xmlCatalogConvert() -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlCatalogFreeLocal(catalogs: *mut ::std::os::raw::c_void);
}
unsafe extern "C" {
  pub fn xmlCatalogAddLocal(
    catalogs: *mut ::std::os::raw::c_void,
    URL: *const xmlChar,
  ) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
  pub fn xmlCatalogLocalResolve(
    catalogs: *mut ::std::os::raw::c_void,
    pubID: *const xmlChar,
    sysID: *const xmlChar,
  ) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlCatalogLocalResolveURI(
    catalogs: *mut ::std::os::raw::c_void,
    URI: *const xmlChar,
  ) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlCatalogSetDebug(level: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlCatalogSetDefaultPrefer(prefer: xmlCatalogPrefer) -> xmlCatalogPrefer;
}
unsafe extern "C" {
  pub fn xmlCatalogSetDefaults(allow: xmlCatalogAllow);
}
unsafe extern "C" {
  pub fn xmlCatalogGetDefaults() -> xmlCatalogAllow;
}
unsafe extern "C" {
  pub fn xmlCatalogGetSystem(sysID: *const xmlChar) -> *const xmlChar;
}
unsafe extern "C" {
  pub fn xmlCatalogGetPublic(pubID: *const xmlChar) -> *const xmlChar;
}
#[doc = " @cond ignore"]
pub type xmlChSRange = _xmlChSRange;
pub type xmlChSRangePtr = *mut xmlChSRange;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _xmlChSRange {
  pub low: ::std::os::raw::c_ushort,
  pub high: ::std::os::raw::c_ushort,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
  ["Size of _xmlChSRange"][::std::mem::size_of::<_xmlChSRange>() - 4usize];
  ["Alignment of _xmlChSRange"][::std::mem::align_of::<_xmlChSRange>() - 2usize];
  ["Offset of field: _xmlChSRange::low"][::std::mem::offset_of!(_xmlChSRange, low) - 0usize];
  ["Offset of field: _xmlChSRange::high"][::std::mem::offset_of!(_xmlChSRange, high) - 2usize];
};
pub type xmlChLRange = _xmlChLRange;
pub type xmlChLRangePtr = *mut xmlChLRange;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _xmlChLRange {
  pub low: ::std::os::raw::c_uint,
  pub high: ::std::os::raw::c_uint,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
  ["Size of _xmlChLRange"][::std::mem::size_of::<_xmlChLRange>() - 8usize];
  ["Alignment of _xmlChLRange"][::std::mem::align_of::<_xmlChLRange>() - 4usize];
  ["Offset of field: _xmlChLRange::low"][::std::mem::offset_of!(_xmlChLRange, low) - 0usize];
  ["Offset of field: _xmlChLRange::high"][::std::mem::offset_of!(_xmlChLRange, high) - 4usize];
};
pub type xmlChRangeGroup = _xmlChRangeGroup;
pub type xmlChRangeGroupPtr = *mut xmlChRangeGroup;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _xmlChRangeGroup {
  pub nbShortRange: ::std::os::raw::c_int,
  pub nbLongRange: ::std::os::raw::c_int,
  pub shortRange: *const xmlChSRange,
  pub longRange: *const xmlChLRange,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
  ["Size of _xmlChRangeGroup"][::std::mem::size_of::<_xmlChRangeGroup>() - 24usize];
  ["Alignment of _xmlChRangeGroup"][::std::mem::align_of::<_xmlChRangeGroup>() - 8usize];
  ["Offset of field: _xmlChRangeGroup::nbShortRange"]
    [::std::mem::offset_of!(_xmlChRangeGroup, nbShortRange) - 0usize];
  ["Offset of field: _xmlChRangeGroup::nbLongRange"]
    [::std::mem::offset_of!(_xmlChRangeGroup, nbLongRange) - 4usize];
  ["Offset of field: _xmlChRangeGroup::shortRange"]
    [::std::mem::offset_of!(_xmlChRangeGroup, shortRange) - 8usize];
  ["Offset of field: _xmlChRangeGroup::longRange"]
    [::std::mem::offset_of!(_xmlChRangeGroup, longRange) - 16usize];
};
unsafe extern "C" {
  pub static xmlIsBaseCharGroup: xmlChRangeGroup;
}
unsafe extern "C" {
  pub static xmlIsCharGroup: xmlChRangeGroup;
}
unsafe extern "C" {
  pub static xmlIsCombiningGroup: xmlChRangeGroup;
}
unsafe extern "C" {
  pub static xmlIsDigitGroup: xmlChRangeGroup;
}
unsafe extern "C" {
  pub static xmlIsExtenderGroup: xmlChRangeGroup;
}
unsafe extern "C" {
  pub static xmlIsIdeographicGroup: xmlChRangeGroup;
}
unsafe extern "C" {
  pub static xmlIsPubidChar_tab: [::std::os::raw::c_uchar; 256usize];
}
unsafe extern "C" {
  #[doc = " Range checking routine"]
  pub fn xmlCharInRange(
    val: ::std::os::raw::c_uint,
    group: *const xmlChRangeGroup,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlIsBaseChar(ch: ::std::os::raw::c_uint) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlIsBlank(ch: ::std::os::raw::c_uint) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlIsChar(ch: ::std::os::raw::c_uint) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlIsCombining(ch: ::std::os::raw::c_uint) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlIsDigit(ch: ::std::os::raw::c_uint) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlIsExtender(ch: ::std::os::raw::c_uint) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlIsIdeographic(ch: ::std::os::raw::c_uint) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlIsPubidChar(ch: ::std::os::raw::c_uint) -> ::std::os::raw::c_int;
}
#[doc = " Same as xmlParserCtxt"]
pub type htmlParserCtxt = xmlParserCtxt;
pub type htmlParserCtxtPtr = xmlParserCtxtPtr;
pub type htmlParserNodeInfo = xmlParserNodeInfo;
#[doc = " Same as xmlSAXHandler"]
pub type htmlSAXHandler = xmlSAXHandler;
pub type htmlSAXHandlerPtr = xmlSAXHandlerPtr;
#[doc = " Same as xmlParserInput"]
pub type htmlParserInput = xmlParserInput;
pub type htmlParserInputPtr = xmlParserInputPtr;
pub type htmlDocPtr = xmlDocPtr;
pub type htmlNodePtr = xmlNodePtr;
#[doc = " @cond ignore"]
pub type htmlElemDesc = _htmlElemDesc;
pub type htmlElemDescPtr = *mut htmlElemDesc;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _htmlElemDesc {
  pub name: *const ::std::os::raw::c_char,
  pub startTag: ::std::os::raw::c_char,
  pub endTag: ::std::os::raw::c_char,
  pub saveEndTag: ::std::os::raw::c_char,
  pub empty: ::std::os::raw::c_char,
  pub depr: ::std::os::raw::c_char,
  pub dtd: ::std::os::raw::c_char,
  pub isinline: ::std::os::raw::c_char,
  pub desc: *const ::std::os::raw::c_char,
  pub subelts: *mut *const ::std::os::raw::c_char,
  pub defaultsubelt: *const ::std::os::raw::c_char,
  pub attrs_opt: *mut *const ::std::os::raw::c_char,
  pub attrs_depr: *mut *const ::std::os::raw::c_char,
  pub attrs_req: *mut *const ::std::os::raw::c_char,
  pub dataMode: ::std::os::raw::c_int,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
  ["Size of _htmlElemDesc"][::std::mem::size_of::<_htmlElemDesc>() - 72usize];
  ["Alignment of _htmlElemDesc"][::std::mem::align_of::<_htmlElemDesc>() - 8usize];
  ["Offset of field: _htmlElemDesc::name"][::std::mem::offset_of!(_htmlElemDesc, name) - 0usize];
  ["Offset of field: _htmlElemDesc::startTag"]
    [::std::mem::offset_of!(_htmlElemDesc, startTag) - 8usize];
  ["Offset of field: _htmlElemDesc::endTag"]
    [::std::mem::offset_of!(_htmlElemDesc, endTag) - 9usize];
  ["Offset of field: _htmlElemDesc::saveEndTag"]
    [::std::mem::offset_of!(_htmlElemDesc, saveEndTag) - 10usize];
  ["Offset of field: _htmlElemDesc::empty"][::std::mem::offset_of!(_htmlElemDesc, empty) - 11usize];
  ["Offset of field: _htmlElemDesc::depr"][::std::mem::offset_of!(_htmlElemDesc, depr) - 12usize];
  ["Offset of field: _htmlElemDesc::dtd"][::std::mem::offset_of!(_htmlElemDesc, dtd) - 13usize];
  ["Offset of field: _htmlElemDesc::isinline"]
    [::std::mem::offset_of!(_htmlElemDesc, isinline) - 14usize];
  ["Offset of field: _htmlElemDesc::desc"][::std::mem::offset_of!(_htmlElemDesc, desc) - 16usize];
  ["Offset of field: _htmlElemDesc::subelts"]
    [::std::mem::offset_of!(_htmlElemDesc, subelts) - 24usize];
  ["Offset of field: _htmlElemDesc::defaultsubelt"]
    [::std::mem::offset_of!(_htmlElemDesc, defaultsubelt) - 32usize];
  ["Offset of field: _htmlElemDesc::attrs_opt"]
    [::std::mem::offset_of!(_htmlElemDesc, attrs_opt) - 40usize];
  ["Offset of field: _htmlElemDesc::attrs_depr"]
    [::std::mem::offset_of!(_htmlElemDesc, attrs_depr) - 48usize];
  ["Offset of field: _htmlElemDesc::attrs_req"]
    [::std::mem::offset_of!(_htmlElemDesc, attrs_req) - 56usize];
  ["Offset of field: _htmlElemDesc::dataMode"]
    [::std::mem::offset_of!(_htmlElemDesc, dataMode) - 64usize];
};
pub type htmlEntityDesc = _htmlEntityDesc;
pub type htmlEntityDescPtr = *mut htmlEntityDesc;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _htmlEntityDesc {
  pub value: ::std::os::raw::c_uint,
  pub name: *const ::std::os::raw::c_char,
  pub desc: *const ::std::os::raw::c_char,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
  ["Size of _htmlEntityDesc"][::std::mem::size_of::<_htmlEntityDesc>() - 24usize];
  ["Alignment of _htmlEntityDesc"][::std::mem::align_of::<_htmlEntityDesc>() - 8usize];
  ["Offset of field: _htmlEntityDesc::value"]
    [::std::mem::offset_of!(_htmlEntityDesc, value) - 0usize];
  ["Offset of field: _htmlEntityDesc::name"]
    [::std::mem::offset_of!(_htmlEntityDesc, name) - 8usize];
  ["Offset of field: _htmlEntityDesc::desc"]
    [::std::mem::offset_of!(_htmlEntityDesc, desc) - 16usize];
};
unsafe extern "C" {
  #[doc = " @deprecated Use #xmlSAX2InitHtmlDefaultSAXHandler"]
  pub static htmlDefaultSAXHandler: xmlSAXHandlerV1;
}
unsafe extern "C" {
  #[doc = " @endcond"]
  pub fn htmlInitAutoClose();
}
unsafe extern "C" {
  pub fn htmlTagLookup(tag: *const xmlChar) -> *const htmlElemDesc;
}
unsafe extern "C" {
  pub fn htmlEntityLookup(name: *const xmlChar) -> *const htmlEntityDesc;
}
unsafe extern "C" {
  pub fn htmlEntityValueLookup(value: ::std::os::raw::c_uint) -> *const htmlEntityDesc;
}
unsafe extern "C" {
  pub fn htmlIsAutoClosed(doc: *mut xmlDoc, elem: *mut xmlNode) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn htmlAutoCloseTag(
    doc: *mut xmlDoc,
    name: *const xmlChar,
    elem: *mut xmlNode,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn htmlParseEntityRef(
    ctxt: *mut htmlParserCtxt,
    str_: *mut *const xmlChar,
  ) -> *const htmlEntityDesc;
}
unsafe extern "C" {
  pub fn htmlParseCharRef(ctxt: *mut htmlParserCtxt) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn htmlParseElement(ctxt: *mut htmlParserCtxt);
}
unsafe extern "C" {
  pub fn htmlNewParserCtxt() -> *mut htmlParserCtxt;
}
unsafe extern "C" {
  pub fn htmlNewSAXParserCtxt(
    sax: *const htmlSAXHandler,
    userData: *mut ::std::os::raw::c_void,
  ) -> *mut htmlParserCtxt;
}
unsafe extern "C" {
  pub fn htmlCreateMemoryParserCtxt(
    buffer: *const ::std::os::raw::c_char,
    size: ::std::os::raw::c_int,
  ) -> *mut htmlParserCtxt;
}
unsafe extern "C" {
  pub fn htmlParseDocument(ctxt: *mut htmlParserCtxt) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn htmlSAXParseDoc(
    cur: *const xmlChar,
    encoding: *const ::std::os::raw::c_char,
    sax: *mut htmlSAXHandler,
    userData: *mut ::std::os::raw::c_void,
  ) -> *mut xmlDoc;
}
unsafe extern "C" {
  pub fn htmlParseDoc(cur: *const xmlChar, encoding: *const ::std::os::raw::c_char) -> *mut xmlDoc;
}
unsafe extern "C" {
  pub fn htmlCreateFileParserCtxt(
    filename: *const ::std::os::raw::c_char,
    encoding: *const ::std::os::raw::c_char,
  ) -> *mut htmlParserCtxt;
}
unsafe extern "C" {
  pub fn htmlSAXParseFile(
    filename: *const ::std::os::raw::c_char,
    encoding: *const ::std::os::raw::c_char,
    sax: *mut htmlSAXHandler,
    userData: *mut ::std::os::raw::c_void,
  ) -> *mut xmlDoc;
}
unsafe extern "C" {
  pub fn htmlParseFile(
    filename: *const ::std::os::raw::c_char,
    encoding: *const ::std::os::raw::c_char,
  ) -> *mut xmlDoc;
}
unsafe extern "C" {
  pub fn htmlUTF8ToHtml(
    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 htmlEncodeEntities(
    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,
    quoteChar: ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn htmlIsScriptAttribute(name: *const xmlChar) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn htmlHandleOmittedElem(val: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn htmlCreatePushParserCtxt(
    sax: *mut htmlSAXHandler,
    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,
    enc: xmlCharEncoding,
  ) -> *mut htmlParserCtxt;
}
unsafe extern "C" {
  pub fn htmlParseChunk(
    ctxt: *mut htmlParserCtxt,
    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 htmlFreeParserCtxt(ctxt: *mut htmlParserCtxt);
}
#[doc = " No effect as of 2.14.0."]
pub const htmlParserOption_HTML_PARSE_RECOVER: htmlParserOption = 1;
#[doc = " Do not default to a doctype if none was found."]
pub const htmlParserOption_HTML_PARSE_NODEFDTD: htmlParserOption = 4;
#[doc = " Disable error and warning reports to the error handlers.\n Errors are still accessible with xmlCtxtGetLastError()."]
pub const htmlParserOption_HTML_PARSE_NOERROR: htmlParserOption = 32;
#[doc = " Disable warning reports."]
pub const htmlParserOption_HTML_PARSE_NOWARNING: htmlParserOption = 64;
#[doc = " No effect."]
pub const htmlParserOption_HTML_PARSE_PEDANTIC: htmlParserOption = 128;
#[doc = " Remove some text nodes containing only whitespace from the\n result document. Which nodes are removed depends on a conservative\n heuristic. The reindenting feature of the serialization code relies\n on this option to be set when parsing. Use of this option is\n DISCOURAGED."]
pub const htmlParserOption_HTML_PARSE_NOBLANKS: htmlParserOption = 256;
#[doc = " No effect."]
pub const htmlParserOption_HTML_PARSE_NONET: htmlParserOption = 2048;
#[doc = " Do not add implied html, head or body elements."]
pub const htmlParserOption_HTML_PARSE_NOIMPLIED: htmlParserOption = 8192;
#[doc = " Store small strings directly in the node struct to save\n memory."]
pub const htmlParserOption_HTML_PARSE_COMPACT: htmlParserOption = 65536;
#[doc = " Relax some internal limits. See XML_PARSE_HUGE in xmlParserOption.\n\n @since 2.14.0\n\n Use XML_PARSE_HUGE with older versions."]
pub const htmlParserOption_HTML_PARSE_HUGE: htmlParserOption = 524288;
#[doc = " Ignore the encoding in the HTML declaration. This option is\n mostly unneeded these days. The only effect is to enforce\n ISO-8859-1 decoding of ASCII-like data."]
pub const htmlParserOption_HTML_PARSE_IGNORE_ENC: htmlParserOption = 2097152;
#[doc = " Enable reporting of line numbers larger than 65535.\n\n @since 2.14.0\n\n Use XML_PARSE_BIG_LINES with older versions."]
pub const htmlParserOption_HTML_PARSE_BIG_LINES: htmlParserOption = 4194304;
#[doc = " Make the tokenizer emit a SAX callback for each token. This results\n in unbalanced invocations of startElement and endElement.\n\n For now, this is only usable to tokenize HTML5 with custom SAX\n callbacks. A tree builder isn't implemented yet.\n\n @since 2.14.0"]
pub const htmlParserOption_HTML_PARSE_HTML5: htmlParserOption = 67108864;
#[doc = " This is the set of HTML parser options that can be passed to\n #htmlReadDoc, #htmlCtxtSetOptions and other functions."]
pub type htmlParserOption = ::std::os::raw::c_uint;
unsafe extern "C" {
  pub fn htmlCtxtReset(ctxt: *mut htmlParserCtxt);
}
unsafe extern "C" {
  pub fn htmlCtxtSetOptions(
    ctxt: *mut htmlParserCtxt,
    options: ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn htmlCtxtUseOptions(
    ctxt: *mut htmlParserCtxt,
    options: ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn htmlReadDoc(
    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 htmlReadFile(
    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 htmlReadMemory(
    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 htmlReadFd(
    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 htmlReadIO(
    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 htmlCtxtParseDocument(
    ctxt: *mut htmlParserCtxt,
    input: *mut xmlParserInput,
  ) -> *mut xmlDoc;
}
unsafe extern "C" {
  pub fn htmlCtxtReadDoc(
    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 htmlCtxtReadFile(
    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 htmlCtxtReadMemory(
    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 htmlCtxtReadFd(
    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 htmlCtxtReadIO(
    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;
}
pub const htmlStatus_HTML_NA: htmlStatus = 0;
pub const htmlStatus_HTML_INVALID: htmlStatus = 1;
pub const htmlStatus_HTML_DEPRECATED: htmlStatus = 2;
pub const htmlStatus_HTML_VALID: htmlStatus = 4;
pub const htmlStatus_HTML_REQUIRED: htmlStatus = 12;
#[doc = " deprecated content model"]
pub type htmlStatus = ::std::os::raw::c_uint;
unsafe extern "C" {
  pub fn htmlAttrAllowed(
    arg1: *const htmlElemDesc,
    arg2: *const xmlChar,
    arg3: ::std::os::raw::c_int,
  ) -> htmlStatus;
}
unsafe extern "C" {
  pub fn htmlElementAllowedHere(
    arg1: *const htmlElemDesc,
    arg2: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn htmlElementStatusHere(arg1: *const htmlElemDesc, arg2: *const htmlElemDesc) -> htmlStatus;
}
unsafe extern "C" {
  pub fn htmlNodeStatus(arg1: *mut xmlNode, arg2: ::std::os::raw::c_int) -> htmlStatus;
}
#[doc = " Format output. This adds newlines and enables indenting\n by default."]
pub const xmlSaveOption_XML_SAVE_FORMAT: xmlSaveOption = 1;
#[doc = " Don't emit an XML declaration."]
pub const xmlSaveOption_XML_SAVE_NO_DECL: xmlSaveOption = 2;
#[doc = " Don't emit empty tags."]
pub const xmlSaveOption_XML_SAVE_NO_EMPTY: xmlSaveOption = 4;
#[doc = " Don't serialize as XHTML."]
pub const xmlSaveOption_XML_SAVE_NO_XHTML: xmlSaveOption = 8;
#[doc = " Always serialize as XHTML."]
pub const xmlSaveOption_XML_SAVE_XHTML: xmlSaveOption = 16;
#[doc = " Serialize HTML documents as XML."]
pub const xmlSaveOption_XML_SAVE_AS_XML: xmlSaveOption = 32;
#[doc = " Serialize XML documents as HTML."]
pub const xmlSaveOption_XML_SAVE_AS_HTML: xmlSaveOption = 64;
#[doc = " Format with non-significant whitespace.\n TODO: What does this mean?"]
pub const xmlSaveOption_XML_SAVE_WSNONSIG: xmlSaveOption = 128;
#[doc = " Always emit empty tags. This is the default unless the\n deprecated thread-local setting xmlSaveNoEmptyTags is\n set to 1.\n\n @since 2.14"]
pub const xmlSaveOption_XML_SAVE_EMPTY: xmlSaveOption = 256;
#[doc = " Don't indent output when formatting.\n\n @since 2.14"]
pub const xmlSaveOption_XML_SAVE_NO_INDENT: xmlSaveOption = 512;
#[doc = " Always indent output when formatting. This is the default\n unless the deprecated thread-local setting\n xmlIndentTreeOutput is set to 0.\n\n @since 2.14"]
pub const xmlSaveOption_XML_SAVE_INDENT: xmlSaveOption = 1024;
#[doc = " This is the set of XML save options that can be passed down\n to the #xmlSaveToFd and similar calls."]
pub type xmlSaveOption = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug)]
pub struct _xmlSaveCtxt {
  _unused: [u8; 0],
}
#[doc = " XML and HTML serializer"]
pub type xmlSaveCtxt = _xmlSaveCtxt;
pub type xmlSaveCtxtPtr = *mut xmlSaveCtxt;
unsafe extern "C" {
  pub fn xmlSaveToFd(
    fd: ::std::os::raw::c_int,
    encoding: *const ::std::os::raw::c_char,
    options: ::std::os::raw::c_int,
  ) -> *mut xmlSaveCtxt;
}
unsafe extern "C" {
  pub fn xmlSaveToFilename(
    filename: *const ::std::os::raw::c_char,
    encoding: *const ::std::os::raw::c_char,
    options: ::std::os::raw::c_int,
  ) -> *mut xmlSaveCtxt;
}
unsafe extern "C" {
  pub fn xmlSaveToBuffer(
    buffer: *mut xmlBuffer,
    encoding: *const ::std::os::raw::c_char,
    options: ::std::os::raw::c_int,
  ) -> *mut xmlSaveCtxt;
}
unsafe extern "C" {
  pub fn xmlSaveToIO(
    iowrite: xmlOutputWriteCallback,
    ioclose: xmlOutputCloseCallback,
    ioctx: *mut ::std::os::raw::c_void,
    encoding: *const ::std::os::raw::c_char,
    options: ::std::os::raw::c_int,
  ) -> *mut xmlSaveCtxt;
}
unsafe extern "C" {
  pub fn xmlSaveDoc(ctxt: *mut xmlSaveCtxt, doc: *mut xmlDoc) -> ::std::os::raw::c_long;
}
unsafe extern "C" {
  pub fn xmlSaveTree(ctxt: *mut xmlSaveCtxt, node: *mut xmlNode) -> ::std::os::raw::c_long;
}
unsafe extern "C" {
  pub fn xmlSaveFlush(ctxt: *mut xmlSaveCtxt) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlSaveClose(ctxt: *mut xmlSaveCtxt) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlSaveFinish(ctxt: *mut xmlSaveCtxt) -> xmlParserErrors;
}
unsafe extern "C" {
  pub fn xmlSaveSetIndentString(
    ctxt: *mut xmlSaveCtxt,
    indent: *const ::std::os::raw::c_char,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlSaveSetEscape(
    ctxt: *mut xmlSaveCtxt,
    escape: xmlCharEncodingOutputFunc,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlSaveSetAttrEscape(
    ctxt: *mut xmlSaveCtxt,
    escape: xmlCharEncodingOutputFunc,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlThrDefIndentTreeOutput(v: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlThrDefTreeIndentString(
    v: *const ::std::os::raw::c_char,
  ) -> *const ::std::os::raw::c_char;
}
unsafe extern "C" {
  pub fn xmlThrDefSaveNoEmptyTags(v: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  #[doc = " @endcond"]
  pub fn htmlNewDoc(URI: *const xmlChar, ExternalID: *const xmlChar) -> *mut xmlDoc;
}
unsafe extern "C" {
  pub fn htmlNewDocNoDtD(URI: *const xmlChar, ExternalID: *const xmlChar) -> *mut xmlDoc;
}
unsafe extern "C" {
  pub fn htmlGetMetaEncoding(doc: *mut xmlDoc) -> *const xmlChar;
}
unsafe extern "C" {
  pub fn htmlSetMetaEncoding(doc: *mut xmlDoc, encoding: *const xmlChar) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn htmlDocDumpMemory(
    cur: *mut xmlDoc,
    mem: *mut *mut xmlChar,
    size: *mut ::std::os::raw::c_int,
  );
}
unsafe extern "C" {
  pub fn htmlDocDumpMemoryFormat(
    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 htmlSaveFile(
    filename: *const ::std::os::raw::c_char,
    cur: *mut xmlDoc,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn htmlSaveFileEnc(
    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 htmlSaveFileFormat(
    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 htmlNodeDump(
    buf: *mut xmlBuffer,
    doc: *mut xmlDoc,
    cur: *mut xmlNode,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn htmlDocDump(f: *mut FILE, cur: *mut xmlDoc) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn htmlNodeDumpFile(out: *mut FILE, doc: *mut xmlDoc, cur: *mut xmlNode);
}
unsafe extern "C" {
  pub fn htmlNodeDumpFileFormat(
    out: *mut FILE,
    doc: *mut xmlDoc,
    cur: *mut xmlNode,
    encoding: *const ::std::os::raw::c_char,
    format: ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn htmlNodeDumpOutput(
    buf: *mut xmlOutputBuffer,
    doc: *mut xmlDoc,
    cur: *mut xmlNode,
    encoding: *const ::std::os::raw::c_char,
  );
}
unsafe extern "C" {
  pub fn htmlNodeDumpFormatOutput(
    buf: *mut xmlOutputBuffer,
    doc: *mut xmlDoc,
    cur: *mut xmlNode,
    encoding: *const ::std::os::raw::c_char,
    format: ::std::os::raw::c_int,
  );
}
unsafe extern "C" {
  pub fn htmlDocContentDumpOutput(
    buf: *mut xmlOutputBuffer,
    cur: *mut xmlDoc,
    encoding: *const ::std::os::raw::c_char,
  );
}
unsafe extern "C" {
  pub fn htmlDocContentDumpFormatOutput(
    buf: *mut xmlOutputBuffer,
    cur: *mut xmlDoc,
    encoding: *const ::std::os::raw::c_char,
    format: ::std::os::raw::c_int,
  );
}
unsafe extern "C" {
  pub fn htmlIsBooleanAttr(name: *const xmlChar) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlNanoHTTPInit();
}
unsafe extern "C" {
  pub fn xmlNanoHTTPCleanup();
}
unsafe extern "C" {
  pub fn xmlNanoHTTPScanProxy(URL: *const ::std::os::raw::c_char);
}
unsafe extern "C" {
  pub fn xmlNanoHTTPFetch(
    URL: *const ::std::os::raw::c_char,
    filename: *const ::std::os::raw::c_char,
    contentType: *mut *mut ::std::os::raw::c_char,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlNanoHTTPMethod(
    URL: *const ::std::os::raw::c_char,
    method: *const ::std::os::raw::c_char,
    input: *const ::std::os::raw::c_char,
    contentType: *mut *mut ::std::os::raw::c_char,
    headers: *const ::std::os::raw::c_char,
    ilen: ::std::os::raw::c_int,
  ) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
  pub fn xmlNanoHTTPMethodRedir(
    URL: *const ::std::os::raw::c_char,
    method: *const ::std::os::raw::c_char,
    input: *const ::std::os::raw::c_char,
    contentType: *mut *mut ::std::os::raw::c_char,
    redir: *mut *mut ::std::os::raw::c_char,
    headers: *const ::std::os::raw::c_char,
    ilen: ::std::os::raw::c_int,
  ) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
  pub fn xmlNanoHTTPOpen(
    URL: *const ::std::os::raw::c_char,
    contentType: *mut *mut ::std::os::raw::c_char,
  ) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
  pub fn xmlNanoHTTPOpenRedir(
    URL: *const ::std::os::raw::c_char,
    contentType: *mut *mut ::std::os::raw::c_char,
    redir: *mut *mut ::std::os::raw::c_char,
  ) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
  pub fn xmlNanoHTTPReturnCode(ctx: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlNanoHTTPAuthHeader(ctx: *mut ::std::os::raw::c_void) -> *const ::std::os::raw::c_char;
}
unsafe extern "C" {
  pub fn xmlNanoHTTPRedir(ctx: *mut ::std::os::raw::c_void) -> *const ::std::os::raw::c_char;
}
unsafe extern "C" {
  pub fn xmlNanoHTTPContentLength(ctx: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlNanoHTTPEncoding(ctx: *mut ::std::os::raw::c_void) -> *const ::std::os::raw::c_char;
}
unsafe extern "C" {
  pub fn xmlNanoHTTPMimeType(ctx: *mut ::std::os::raw::c_void) -> *const ::std::os::raw::c_char;
}
unsafe extern "C" {
  pub fn xmlNanoHTTPRead(
    ctx: *mut ::std::os::raw::c_void,
    dest: *mut ::std::os::raw::c_void,
    len: ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlNanoHTTPSave(
    ctxt: *mut ::std::os::raw::c_void,
    filename: *const ::std::os::raw::c_char,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlNanoHTTPClose(ctx: *mut ::std::os::raw::c_void);
}
unsafe extern "C" {
  #[doc = " @cond ignore"]
  pub static xmlStringText: [xmlChar; 0usize];
}
unsafe extern "C" {
  pub static xmlStringTextNoenc: [xmlChar; 0usize];
}
unsafe extern "C" {
  pub static xmlStringComment: [xmlChar; 0usize];
}
unsafe extern "C" {
  #[doc = " @endcond"]
  pub fn xmlIsLetter(c: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlCreateFileParserCtxt(filename: *const ::std::os::raw::c_char) -> *mut xmlParserCtxt;
}
unsafe extern "C" {
  pub fn xmlCreateURLParserCtxt(
    filename: *const ::std::os::raw::c_char,
    options: ::std::os::raw::c_int,
  ) -> *mut xmlParserCtxt;
}
unsafe extern "C" {
  pub fn xmlCreateMemoryParserCtxt(
    buffer: *const ::std::os::raw::c_char,
    size: ::std::os::raw::c_int,
  ) -> *mut xmlParserCtxt;
}
unsafe extern "C" {
  pub fn xmlCreateEntityParserCtxt(
    URL: *const xmlChar,
    ID: *const xmlChar,
    base: *const xmlChar,
  ) -> *mut xmlParserCtxt;
}
unsafe extern "C" {
  pub fn xmlCtxtErrMemory(ctxt: *mut xmlParserCtxt);
}
unsafe extern "C" {
  pub fn xmlSwitchEncoding(ctxt: *mut xmlParserCtxt, enc: xmlCharEncoding)
  -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlSwitchEncodingName(
    ctxt: *mut xmlParserCtxt,
    encoding: *const ::std::os::raw::c_char,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlSwitchToEncoding(
    ctxt: *mut xmlParserCtxt,
    handler: *mut xmlCharEncodingHandler,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlSwitchInputEncoding(
    ctxt: *mut xmlParserCtxt,
    input: *mut xmlParserInput,
    handler: *mut xmlCharEncodingHandler,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlNewStringInputStream(
    ctxt: *mut xmlParserCtxt,
    buffer: *const xmlChar,
  ) -> *mut xmlParserInput;
}
unsafe extern "C" {
  pub fn xmlNewEntityInputStream(
    ctxt: *mut xmlParserCtxt,
    entity: *mut xmlEntity,
  ) -> *mut xmlParserInput;
}
unsafe extern "C" {
  pub fn xmlCtxtPushInput(
    ctxt: *mut xmlParserCtxt,
    input: *mut xmlParserInput,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlCtxtPopInput(ctxt: *mut xmlParserCtxt) -> *mut xmlParserInput;
}
unsafe extern "C" {
  pub fn xmlPushInput(
    ctxt: *mut xmlParserCtxt,
    input: *mut xmlParserInput,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlPopInput(ctxt: *mut xmlParserCtxt) -> xmlChar;
}
unsafe extern "C" {
  pub fn xmlFreeInputStream(input: *mut xmlParserInput);
}
unsafe extern "C" {
  pub fn xmlNewInputFromFile(
    ctxt: *mut xmlParserCtxt,
    filename: *const ::std::os::raw::c_char,
  ) -> *mut xmlParserInput;
}
unsafe extern "C" {
  pub fn xmlNewInputStream(ctxt: *mut xmlParserCtxt) -> *mut xmlParserInput;
}
unsafe extern "C" {
  pub fn xmlSplitQName(
    ctxt: *mut xmlParserCtxt,
    name: *const xmlChar,
    prefix: *mut *mut xmlChar,
  ) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlParseName(ctxt: *mut xmlParserCtxt) -> *const xmlChar;
}
unsafe extern "C" {
  pub fn xmlParseNmtoken(ctxt: *mut xmlParserCtxt) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlParseEntityValue(ctxt: *mut xmlParserCtxt, orig: *mut *mut xmlChar) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlParseAttValue(ctxt: *mut xmlParserCtxt) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlParseSystemLiteral(ctxt: *mut xmlParserCtxt) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlParsePubidLiteral(ctxt: *mut xmlParserCtxt) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlParseCharData(ctxt: *mut xmlParserCtxt, cdata: ::std::os::raw::c_int);
}
unsafe extern "C" {
  pub fn xmlParseExternalID(
    ctxt: *mut xmlParserCtxt,
    publicId: *mut *mut xmlChar,
    strict: ::std::os::raw::c_int,
  ) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlParseComment(ctxt: *mut xmlParserCtxt);
}
unsafe extern "C" {
  pub fn xmlParsePITarget(ctxt: *mut xmlParserCtxt) -> *const xmlChar;
}
unsafe extern "C" {
  pub fn xmlParsePI(ctxt: *mut xmlParserCtxt);
}
unsafe extern "C" {
  pub fn xmlParseNotationDecl(ctxt: *mut xmlParserCtxt);
}
unsafe extern "C" {
  pub fn xmlParseEntityDecl(ctxt: *mut xmlParserCtxt);
}
unsafe extern "C" {
  pub fn xmlParseDefaultDecl(
    ctxt: *mut xmlParserCtxt,
    value: *mut *mut xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlParseNotationType(ctxt: *mut xmlParserCtxt) -> *mut xmlEnumeration;
}
unsafe extern "C" {
  pub fn xmlParseEnumerationType(ctxt: *mut xmlParserCtxt) -> *mut xmlEnumeration;
}
unsafe extern "C" {
  pub fn xmlParseEnumeratedType(
    ctxt: *mut xmlParserCtxt,
    tree: *mut *mut xmlEnumeration,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlParseAttributeType(
    ctxt: *mut xmlParserCtxt,
    tree: *mut *mut xmlEnumeration,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlParseAttributeListDecl(ctxt: *mut xmlParserCtxt);
}
unsafe extern "C" {
  pub fn xmlParseElementMixedContentDecl(
    ctxt: *mut xmlParserCtxt,
    inputchk: ::std::os::raw::c_int,
  ) -> *mut xmlElementContent;
}
unsafe extern "C" {
  pub fn xmlParseElementChildrenContentDecl(
    ctxt: *mut xmlParserCtxt,
    inputchk: ::std::os::raw::c_int,
  ) -> *mut xmlElementContent;
}
unsafe extern "C" {
  pub fn xmlParseElementContentDecl(
    ctxt: *mut xmlParserCtxt,
    name: *const xmlChar,
    result: *mut *mut xmlElementContent,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlParseElementDecl(ctxt: *mut xmlParserCtxt) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlParseMarkupDecl(ctxt: *mut xmlParserCtxt);
}
unsafe extern "C" {
  pub fn xmlParseCharRef(ctxt: *mut xmlParserCtxt) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlParseEntityRef(ctxt: *mut xmlParserCtxt) -> *mut xmlEntity;
}
unsafe extern "C" {
  pub fn xmlParseReference(ctxt: *mut xmlParserCtxt);
}
unsafe extern "C" {
  pub fn xmlParsePEReference(ctxt: *mut xmlParserCtxt);
}
unsafe extern "C" {
  pub fn xmlParseDocTypeDecl(ctxt: *mut xmlParserCtxt);
}
unsafe extern "C" {
  pub fn xmlParseAttribute(ctxt: *mut xmlParserCtxt, value: *mut *mut xmlChar) -> *const xmlChar;
}
unsafe extern "C" {
  pub fn xmlParseStartTag(ctxt: *mut xmlParserCtxt) -> *const xmlChar;
}
unsafe extern "C" {
  pub fn xmlParseEndTag(ctxt: *mut xmlParserCtxt);
}
unsafe extern "C" {
  pub fn xmlParseCDSect(ctxt: *mut xmlParserCtxt);
}
unsafe extern "C" {
  pub fn xmlParseContent(ctxt: *mut xmlParserCtxt);
}
unsafe extern "C" {
  pub fn xmlParseElement(ctxt: *mut xmlParserCtxt);
}
unsafe extern "C" {
  pub fn xmlParseVersionNum(ctxt: *mut xmlParserCtxt) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlParseVersionInfo(ctxt: *mut xmlParserCtxt) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlParseEncName(ctxt: *mut xmlParserCtxt) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlParseEncodingDecl(ctxt: *mut xmlParserCtxt) -> *const xmlChar;
}
unsafe extern "C" {
  pub fn xmlParseSDDecl(ctxt: *mut xmlParserCtxt) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlParseXMLDecl(ctxt: *mut xmlParserCtxt);
}
unsafe extern "C" {
  pub fn xmlParseTextDecl(ctxt: *mut xmlParserCtxt);
}
unsafe extern "C" {
  pub fn xmlParseMisc(ctxt: *mut xmlParserCtxt);
}
unsafe extern "C" {
  pub fn xmlParseExternalSubset(
    ctxt: *mut xmlParserCtxt,
    publicId: *const xmlChar,
    systemId: *const xmlChar,
  );
}
unsafe extern "C" {
  #[doc = " @endcond"]
  pub fn xmlStringDecodeEntities(
    ctxt: *mut xmlParserCtxt,
    str_: *const xmlChar,
    what: ::std::os::raw::c_int,
    end: xmlChar,
    end2: xmlChar,
    end3: xmlChar,
  ) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlStringLenDecodeEntities(
    ctxt: *mut xmlParserCtxt,
    str_: *const xmlChar,
    len: ::std::os::raw::c_int,
    what: ::std::os::raw::c_int,
    end: xmlChar,
    end2: xmlChar,
    end3: xmlChar,
  ) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlSkipBlankChars(ctxt: *mut xmlParserCtxt) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlStringCurrentChar(
    ctxt: *mut xmlParserCtxt,
    cur: *const xmlChar,
    len: *mut ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlParserHandlePEReference(ctxt: *mut xmlParserCtxt);
}
unsafe extern "C" {
  pub fn xmlCheckLanguageID(lang: *const xmlChar) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlCurrentChar(
    ctxt: *mut xmlParserCtxt,
    len: *mut ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlCopyCharMultiByte(
    out: *mut xmlChar,
    val: ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlCopyChar(
    len: ::std::os::raw::c_int,
    out: *mut xmlChar,
    val: ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlNextChar(ctxt: *mut xmlParserCtxt);
}
unsafe extern "C" {
  pub fn xmlParserInputShrink(in_: *mut xmlParserInput);
}
#[repr(C)]
#[derive(Debug)]
pub struct _xmlPattern {
  _unused: [u8; 0],
}
#[doc = " A compiled (XPath based) pattern to select nodes"]
pub type xmlPattern = _xmlPattern;
pub type xmlPatternPtr = *mut xmlPattern;
pub const xmlPatternFlags_XML_PATTERN_DEFAULT: xmlPatternFlags = 0;
pub const xmlPatternFlags_XML_PATTERN_XPATH: xmlPatternFlags = 1;
pub const xmlPatternFlags_XML_PATTERN_XSSEL: xmlPatternFlags = 2;
pub const xmlPatternFlags_XML_PATTERN_XSFIELD: xmlPatternFlags = 4;
#[doc = " Internal type. This is the set of options affecting the behaviour\n of pattern matching with this module."]
pub type xmlPatternFlags = ::std::os::raw::c_uint;
unsafe extern "C" {
  pub fn xmlFreePattern(comp: *mut xmlPattern);
}
unsafe extern "C" {
  pub fn xmlFreePatternList(comp: *mut xmlPattern);
}
unsafe extern "C" {
  pub fn xmlPatterncompile(
    pattern: *const xmlChar,
    dict: *mut xmlDict,
    flags: ::std::os::raw::c_int,
    namespaces: *mut *const xmlChar,
  ) -> *mut xmlPattern;
}
unsafe extern "C" {
  pub fn xmlPatternCompileSafe(
    pattern: *const xmlChar,
    dict: *mut xmlDict,
    flags: ::std::os::raw::c_int,
    namespaces: *mut *const xmlChar,
    patternOut: *mut *mut xmlPattern,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlPatternMatch(comp: *mut xmlPattern, node: *mut xmlNode) -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug)]
pub struct _xmlStreamCtxt {
  _unused: [u8; 0],
}
#[doc = " State object for streaming interface"]
pub type xmlStreamCtxt = _xmlStreamCtxt;
pub type xmlStreamCtxtPtr = *mut xmlStreamCtxt;
unsafe extern "C" {
  pub fn xmlPatternStreamable(comp: *mut xmlPattern) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlPatternMaxDepth(comp: *mut xmlPattern) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlPatternMinDepth(comp: *mut xmlPattern) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlPatternFromRoot(comp: *mut xmlPattern) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlPatternGetStreamCtxt(comp: *mut xmlPattern) -> *mut xmlStreamCtxt;
}
unsafe extern "C" {
  pub fn xmlFreeStreamCtxt(stream: *mut xmlStreamCtxt);
}
unsafe extern "C" {
  pub fn xmlStreamPushNode(
    stream: *mut xmlStreamCtxt,
    name: *const xmlChar,
    ns: *const xmlChar,
    nodeType: ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlStreamPush(
    stream: *mut xmlStreamCtxt,
    name: *const xmlChar,
    ns: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlStreamPushAttr(
    stream: *mut xmlStreamCtxt,
    name: *const xmlChar,
    ns: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlStreamPop(stream: *mut xmlStreamCtxt) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlStreamWantsAnyNode(stream: *mut xmlStreamCtxt) -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug)]
pub struct _xmlRelaxNG {
  _unused: [u8; 0],
}
#[doc = " RelaxNG schema"]
pub type xmlRelaxNG = _xmlRelaxNG;
pub type xmlRelaxNGPtr = *mut xmlRelaxNG;
#[doc = " Signature of an error callback from a Relax-NG validation\n\n @param ctx  the validation context\n @param msg  the message\n @param ... extra arguments"]
pub type xmlRelaxNGValidityErrorFunc = ::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 a Relax-NG validation\n\n @param ctx  the validation context\n @param msg  the message\n @param ... extra arguments"]
pub type xmlRelaxNGValidityWarningFunc = ::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)]
pub struct _xmlRelaxNGParserCtxt {
  _unused: [u8; 0],
}
#[doc = " RelaxNG parser context"]
pub type xmlRelaxNGParserCtxt = _xmlRelaxNGParserCtxt;
pub type xmlRelaxNGParserCtxtPtr = *mut xmlRelaxNGParserCtxt;
#[repr(C)]
#[derive(Debug)]
pub struct _xmlRelaxNGValidCtxt {
  _unused: [u8; 0],
}
#[doc = " RelaxNG validation context"]
pub type xmlRelaxNGValidCtxt = _xmlRelaxNGValidCtxt;
pub type xmlRelaxNGValidCtxtPtr = *mut xmlRelaxNGValidCtxt;
pub const xmlRelaxNGValidErr_XML_RELAXNG_OK: xmlRelaxNGValidErr = 0;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_MEMORY: xmlRelaxNGValidErr = 1;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_TYPE: xmlRelaxNGValidErr = 2;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_TYPEVAL: xmlRelaxNGValidErr = 3;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_DUPID: xmlRelaxNGValidErr = 4;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_TYPECMP: xmlRelaxNGValidErr = 5;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_NOSTATE: xmlRelaxNGValidErr = 6;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_NODEFINE: xmlRelaxNGValidErr = 7;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_LISTEXTRA: xmlRelaxNGValidErr = 8;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_LISTEMPTY: xmlRelaxNGValidErr = 9;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_INTERNODATA: xmlRelaxNGValidErr = 10;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_INTERSEQ: xmlRelaxNGValidErr = 11;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_INTEREXTRA: xmlRelaxNGValidErr = 12;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_ELEMNAME: xmlRelaxNGValidErr = 13;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_ATTRNAME: xmlRelaxNGValidErr = 14;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_ELEMNONS: xmlRelaxNGValidErr = 15;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_ATTRNONS: xmlRelaxNGValidErr = 16;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_ELEMWRONGNS: xmlRelaxNGValidErr = 17;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_ATTRWRONGNS: xmlRelaxNGValidErr = 18;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_ELEMEXTRANS: xmlRelaxNGValidErr = 19;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_ATTREXTRANS: xmlRelaxNGValidErr = 20;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_ELEMNOTEMPTY: xmlRelaxNGValidErr = 21;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_NOELEM: xmlRelaxNGValidErr = 22;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_NOTELEM: xmlRelaxNGValidErr = 23;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_ATTRVALID: xmlRelaxNGValidErr = 24;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_CONTENTVALID: xmlRelaxNGValidErr = 25;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_EXTRACONTENT: xmlRelaxNGValidErr = 26;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_INVALIDATTR: xmlRelaxNGValidErr = 27;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_DATAELEM: xmlRelaxNGValidErr = 28;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_VALELEM: xmlRelaxNGValidErr = 29;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_LISTELEM: xmlRelaxNGValidErr = 30;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_DATATYPE: xmlRelaxNGValidErr = 31;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_VALUE: xmlRelaxNGValidErr = 32;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_LIST: xmlRelaxNGValidErr = 33;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_NOGRAMMAR: xmlRelaxNGValidErr = 34;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_EXTRADATA: xmlRelaxNGValidErr = 35;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_LACKDATA: xmlRelaxNGValidErr = 36;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_INTERNAL: xmlRelaxNGValidErr = 37;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_ELEMWRONG: xmlRelaxNGValidErr = 38;
pub const xmlRelaxNGValidErr_XML_RELAXNG_ERR_TEXTWRONG: xmlRelaxNGValidErr = 39;
#[doc = " List of possible Relax NG validation errors"]
pub type xmlRelaxNGValidErr = ::std::os::raw::c_uint;
pub const xmlRelaxNGParserFlag_XML_RELAXNGP_NONE: xmlRelaxNGParserFlag = 0;
pub const xmlRelaxNGParserFlag_XML_RELAXNGP_FREE_DOC: xmlRelaxNGParserFlag = 1;
pub const xmlRelaxNGParserFlag_XML_RELAXNGP_CRNG: xmlRelaxNGParserFlag = 2;
#[doc = " List of possible Relax NG Parser flags"]
pub type xmlRelaxNGParserFlag = ::std::os::raw::c_uint;
unsafe extern "C" {
  pub fn xmlRelaxNGInitTypes() -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlRelaxNGCleanupTypes();
}
unsafe extern "C" {
  pub fn xmlRelaxNGNewParserCtxt(URL: *const ::std::os::raw::c_char) -> *mut xmlRelaxNGParserCtxt;
}
unsafe extern "C" {
  pub fn xmlRelaxNGNewMemParserCtxt(
    buffer: *const ::std::os::raw::c_char,
    size: ::std::os::raw::c_int,
  ) -> *mut xmlRelaxNGParserCtxt;
}
unsafe extern "C" {
  pub fn xmlRelaxNGNewDocParserCtxt(doc: *mut xmlDoc) -> *mut xmlRelaxNGParserCtxt;
}
unsafe extern "C" {
  pub fn xmlRelaxParserSetFlag(
    ctxt: *mut xmlRelaxNGParserCtxt,
    flag: ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlRelaxParserSetIncLImit(
    ctxt: *mut xmlRelaxNGParserCtxt,
    limit: ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlRelaxNGFreeParserCtxt(ctxt: *mut xmlRelaxNGParserCtxt);
}
unsafe extern "C" {
  pub fn xmlRelaxNGSetParserErrors(
    ctxt: *mut xmlRelaxNGParserCtxt,
    err: xmlRelaxNGValidityErrorFunc,
    warn: xmlRelaxNGValidityWarningFunc,
    ctx: *mut ::std::os::raw::c_void,
  );
}
unsafe extern "C" {
  pub fn xmlRelaxNGGetParserErrors(
    ctxt: *mut xmlRelaxNGParserCtxt,
    err: *mut xmlRelaxNGValidityErrorFunc,
    warn: *mut xmlRelaxNGValidityWarningFunc,
    ctx: *mut *mut ::std::os::raw::c_void,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlRelaxNGSetParserStructuredErrors(
    ctxt: *mut xmlRelaxNGParserCtxt,
    serror: xmlStructuredErrorFunc,
    ctx: *mut ::std::os::raw::c_void,
  );
}
unsafe extern "C" {
  pub fn xmlRelaxNGSetResourceLoader(
    ctxt: *mut xmlRelaxNGParserCtxt,
    loader: xmlResourceLoader,
    vctxt: *mut ::std::os::raw::c_void,
  );
}
unsafe extern "C" {
  pub fn xmlRelaxNGParse(ctxt: *mut xmlRelaxNGParserCtxt) -> *mut xmlRelaxNG;
}
unsafe extern "C" {
  pub fn xmlRelaxNGFree(schema: *mut xmlRelaxNG);
}
unsafe extern "C" {
  pub fn xmlRelaxNGDump(output: *mut FILE, schema: *mut xmlRelaxNG);
}
unsafe extern "C" {
  pub fn xmlRelaxNGDumpTree(output: *mut FILE, schema: *mut xmlRelaxNG);
}
unsafe extern "C" {
  pub fn xmlRelaxNGSetValidErrors(
    ctxt: *mut xmlRelaxNGValidCtxt,
    err: xmlRelaxNGValidityErrorFunc,
    warn: xmlRelaxNGValidityWarningFunc,
    ctx: *mut ::std::os::raw::c_void,
  );
}
unsafe extern "C" {
  pub fn xmlRelaxNGGetValidErrors(
    ctxt: *mut xmlRelaxNGValidCtxt,
    err: *mut xmlRelaxNGValidityErrorFunc,
    warn: *mut xmlRelaxNGValidityWarningFunc,
    ctx: *mut *mut ::std::os::raw::c_void,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlRelaxNGSetValidStructuredErrors(
    ctxt: *mut xmlRelaxNGValidCtxt,
    serror: xmlStructuredErrorFunc,
    ctx: *mut ::std::os::raw::c_void,
  );
}
unsafe extern "C" {
  pub fn xmlRelaxNGNewValidCtxt(schema: *mut xmlRelaxNG) -> *mut xmlRelaxNGValidCtxt;
}
unsafe extern "C" {
  pub fn xmlRelaxNGFreeValidCtxt(ctxt: *mut xmlRelaxNGValidCtxt);
}
unsafe extern "C" {
  pub fn xmlRelaxNGValidateDoc(
    ctxt: *mut xmlRelaxNGValidCtxt,
    doc: *mut xmlDoc,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlRelaxNGValidatePushElement(
    ctxt: *mut xmlRelaxNGValidCtxt,
    doc: *mut xmlDoc,
    elem: *mut xmlNode,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlRelaxNGValidatePushCData(
    ctxt: *mut xmlRelaxNGValidCtxt,
    data: *const xmlChar,
    len: ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlRelaxNGValidatePopElement(
    ctxt: *mut xmlRelaxNGValidCtxt,
    doc: *mut xmlDoc,
    elem: *mut xmlNode,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlRelaxNGValidateFullElement(
    ctxt: *mut xmlRelaxNGValidCtxt,
    doc: *mut xmlDoc,
    elem: *mut xmlNode,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlRelaxNGValidCtxtClearErrors(ctxt: *mut xmlRelaxNGValidCtxt);
}
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)]
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);
}
#[doc = " quiet no report"]
pub const xmlSchematronValidOptions_XML_SCHEMATRON_OUT_QUIET: xmlSchematronValidOptions = 1;
#[doc = " build a textual report"]
pub const xmlSchematronValidOptions_XML_SCHEMATRON_OUT_TEXT: xmlSchematronValidOptions = 2;
#[doc = " output SVRL"]
pub const xmlSchematronValidOptions_XML_SCHEMATRON_OUT_XML: xmlSchematronValidOptions = 4;
#[doc = " output via xmlStructuredErrorFunc"]
pub const xmlSchematronValidOptions_XML_SCHEMATRON_OUT_ERROR: xmlSchematronValidOptions = 8;
#[doc = " output to a file descriptor"]
pub const xmlSchematronValidOptions_XML_SCHEMATRON_OUT_FILE: xmlSchematronValidOptions = 256;
#[doc = " output to a buffer"]
pub const xmlSchematronValidOptions_XML_SCHEMATRON_OUT_BUFFER: xmlSchematronValidOptions = 512;
#[doc = " output to I/O mechanism"]
pub const xmlSchematronValidOptions_XML_SCHEMATRON_OUT_IO: xmlSchematronValidOptions = 1024;
#[doc = " Schematron validation options"]
pub type xmlSchematronValidOptions = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug)]
pub struct _xmlSchematron {
  _unused: [u8; 0],
}
#[doc = " Schematron schema"]
pub type xmlSchematron = _xmlSchematron;
pub type xmlSchematronPtr = *mut xmlSchematron;
#[doc = " Signature of an error callback from a Schematron validation\n\n @param ctx  the validation context\n @param msg  the message\n @param ... extra arguments"]
pub type xmlSchematronValidityErrorFunc = ::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 a Schematron validation\n\n @param ctx  the validation context\n @param msg  the message\n @param ... extra arguments"]
pub type xmlSchematronValidityWarningFunc = ::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)]
pub struct _xmlSchematronParserCtxt {
  _unused: [u8; 0],
}
#[doc = " Schematron parser context"]
pub type xmlSchematronParserCtxt = _xmlSchematronParserCtxt;
pub type xmlSchematronParserCtxtPtr = *mut xmlSchematronParserCtxt;
#[repr(C)]
#[derive(Debug)]
pub struct _xmlSchematronValidCtxt {
  _unused: [u8; 0],
}
#[doc = " Schematron validation context"]
pub type xmlSchematronValidCtxt = _xmlSchematronValidCtxt;
pub type xmlSchematronValidCtxtPtr = *mut xmlSchematronValidCtxt;
unsafe extern "C" {
  pub fn xmlSchematronNewParserCtxt(
    URL: *const ::std::os::raw::c_char,
  ) -> *mut xmlSchematronParserCtxt;
}
unsafe extern "C" {
  pub fn xmlSchematronNewMemParserCtxt(
    buffer: *const ::std::os::raw::c_char,
    size: ::std::os::raw::c_int,
  ) -> *mut xmlSchematronParserCtxt;
}
unsafe extern "C" {
  pub fn xmlSchematronNewDocParserCtxt(doc: *mut xmlDoc) -> *mut xmlSchematronParserCtxt;
}
unsafe extern "C" {
  pub fn xmlSchematronFreeParserCtxt(ctxt: *mut xmlSchematronParserCtxt);
}
unsafe extern "C" {
  #[doc = "XMLPUBFUN void\nxmlSchematronSetParserErrors(xmlSchematronParserCtxt *ctxt,\nxmlSchematronValidityErrorFunc err,\nxmlSchematronValidityWarningFunc warn,\nvoid *ctx);\nXMLPUBFUN int\nxmlSchematronGetParserErrors(xmlSchematronParserCtxt *ctxt,\nxmlSchematronValidityErrorFunc * err,\nxmlSchematronValidityWarningFunc * warn,\nvoid **ctx);\nXMLPUBFUN int\nxmlSchematronIsValid\t(xmlSchematronValidCtxt *ctxt);"]
  pub fn xmlSchematronParse(ctxt: *mut xmlSchematronParserCtxt) -> *mut xmlSchematron;
}
unsafe extern "C" {
  pub fn xmlSchematronFree(schema: *mut xmlSchematron);
}
unsafe extern "C" {
  pub fn xmlSchematronSetValidStructuredErrors(
    ctxt: *mut xmlSchematronValidCtxt,
    serror: xmlStructuredErrorFunc,
    ctx: *mut ::std::os::raw::c_void,
  );
}
unsafe extern "C" {
  #[doc = "XMLPUBFUN void\nxmlSchematronSetValidErrors\t(xmlSchematronValidCtxt *ctxt,\nxmlSchematronValidityErrorFunc err,\nxmlSchematronValidityWarningFunc warn,\nvoid *ctx);\nXMLPUBFUN int\nxmlSchematronGetValidErrors\t(xmlSchematronValidCtxt *ctxt,\nxmlSchematronValidityErrorFunc *err,\nxmlSchematronValidityWarningFunc *warn,\nvoid **ctx);\nXMLPUBFUN int\nxmlSchematronSetValidOptions(xmlSchematronValidCtxt *ctxt,\nint options);\nXMLPUBFUN int\nxmlSchematronValidCtxtGetOptions(xmlSchematronValidCtxt *ctxt);\nXMLPUBFUN int\nxmlSchematronValidateOneElement (xmlSchematronValidCtxt *ctxt,\nxmlNode *elem);"]
  pub fn xmlSchematronNewValidCtxt(
    schema: *mut xmlSchematron,
    options: ::std::os::raw::c_int,
  ) -> *mut xmlSchematronValidCtxt;
}
unsafe extern "C" {
  pub fn xmlSchematronFreeValidCtxt(ctxt: *mut xmlSchematronValidCtxt);
}
unsafe extern "C" {
  pub fn xmlSchematronValidateDoc(
    ctxt: *mut xmlSchematronValidCtxt,
    instance: *mut xmlDoc,
  ) -> ::std::os::raw::c_int;
}
#[doc = " Parsed URI"]
pub type xmlURI = _xmlURI;
pub type xmlURIPtr = *mut xmlURI;
#[doc = " A parsed URI reference.\n\n This is a struct containing the various fields\n as described in RFC 2396 but separated for further processing.\n\n Note: query is a deprecated field which is incorrectly unescaped.\n query_raw takes precedence over query if the former is set.\n See: http://mail.gnome.org/archives/xml/2007-April/thread.html\\#00127"]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _xmlURI {
  pub scheme: *mut ::std::os::raw::c_char,
  pub opaque: *mut ::std::os::raw::c_char,
  pub authority: *mut ::std::os::raw::c_char,
  pub server: *mut ::std::os::raw::c_char,
  pub user: *mut ::std::os::raw::c_char,
  pub port: ::std::os::raw::c_int,
  pub path: *mut ::std::os::raw::c_char,
  pub query: *mut ::std::os::raw::c_char,
  pub fragment: *mut ::std::os::raw::c_char,
  pub cleanup: ::std::os::raw::c_int,
  pub query_raw: *mut ::std::os::raw::c_char,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
  ["Size of _xmlURI"][::std::mem::size_of::<_xmlURI>() - 88usize];
  ["Alignment of _xmlURI"][::std::mem::align_of::<_xmlURI>() - 8usize];
  ["Offset of field: _xmlURI::scheme"][::std::mem::offset_of!(_xmlURI, scheme) - 0usize];
  ["Offset of field: _xmlURI::opaque"][::std::mem::offset_of!(_xmlURI, opaque) - 8usize];
  ["Offset of field: _xmlURI::authority"][::std::mem::offset_of!(_xmlURI, authority) - 16usize];
  ["Offset of field: _xmlURI::server"][::std::mem::offset_of!(_xmlURI, server) - 24usize];
  ["Offset of field: _xmlURI::user"][::std::mem::offset_of!(_xmlURI, user) - 32usize];
  ["Offset of field: _xmlURI::port"][::std::mem::offset_of!(_xmlURI, port) - 40usize];
  ["Offset of field: _xmlURI::path"][::std::mem::offset_of!(_xmlURI, path) - 48usize];
  ["Offset of field: _xmlURI::query"][::std::mem::offset_of!(_xmlURI, query) - 56usize];
  ["Offset of field: _xmlURI::fragment"][::std::mem::offset_of!(_xmlURI, fragment) - 64usize];
  ["Offset of field: _xmlURI::cleanup"][::std::mem::offset_of!(_xmlURI, cleanup) - 72usize];
  ["Offset of field: _xmlURI::query_raw"][::std::mem::offset_of!(_xmlURI, query_raw) - 80usize];
};
unsafe extern "C" {
  pub fn xmlCreateURI() -> *mut xmlURI;
}
unsafe extern "C" {
  pub fn xmlBuildURISafe(
    URI: *const xmlChar,
    base: *const xmlChar,
    out: *mut *mut xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlBuildURI(URI: *const xmlChar, base: *const xmlChar) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlBuildRelativeURISafe(
    URI: *const xmlChar,
    base: *const xmlChar,
    out: *mut *mut xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlBuildRelativeURI(URI: *const xmlChar, base: *const xmlChar) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlParseURI(str_: *const ::std::os::raw::c_char) -> *mut xmlURI;
}
unsafe extern "C" {
  pub fn xmlParseURISafe(
    str_: *const ::std::os::raw::c_char,
    uri: *mut *mut xmlURI,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlParseURIRaw(
    str_: *const ::std::os::raw::c_char,
    raw: ::std::os::raw::c_int,
  ) -> *mut xmlURI;
}
unsafe extern "C" {
  pub fn xmlParseURIReference(
    uri: *mut xmlURI,
    str_: *const ::std::os::raw::c_char,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlSaveUri(uri: *mut xmlURI) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlPrintURI(stream: *mut FILE, uri: *mut xmlURI);
}
unsafe extern "C" {
  pub fn xmlURIEscapeStr(str_: *const xmlChar, list: *const xmlChar) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlURIUnescapeString(
    str_: *const ::std::os::raw::c_char,
    len: ::std::os::raw::c_int,
    target: *mut ::std::os::raw::c_char,
  ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
  pub fn xmlNormalizeURIPath(path: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlURIEscape(str_: *const xmlChar) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlFreeURI(uri: *mut xmlURI);
}
unsafe extern "C" {
  pub fn xmlCanonicPath(path: *const xmlChar) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlPathToURI(path: *const xmlChar) -> *mut xmlChar;
}
#[repr(C)]
#[derive(Debug)]
pub struct _xmlXIncludeCtxt {
  _unused: [u8; 0],
}
#[doc = " XInclude context"]
pub type xmlXIncludeCtxt = _xmlXIncludeCtxt;
pub type xmlXIncludeCtxtPtr = *mut xmlXIncludeCtxt;
unsafe extern "C" {
  pub fn xmlXIncludeProcess(doc: *mut xmlDoc) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXIncludeProcessFlags(
    doc: *mut xmlDoc,
    flags: ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXIncludeProcessFlagsData(
    doc: *mut xmlDoc,
    flags: ::std::os::raw::c_int,
    data: *mut ::std::os::raw::c_void,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXIncludeProcessTreeFlagsData(
    tree: *mut xmlNode,
    flags: ::std::os::raw::c_int,
    data: *mut ::std::os::raw::c_void,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXIncludeProcessTree(tree: *mut xmlNode) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXIncludeProcessTreeFlags(
    tree: *mut xmlNode,
    flags: ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXIncludeNewContext(doc: *mut xmlDoc) -> *mut xmlXIncludeCtxt;
}
unsafe extern "C" {
  pub fn xmlXIncludeSetFlags(
    ctxt: *mut xmlXIncludeCtxt,
    flags: ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXIncludeSetErrorHandler(
    ctxt: *mut xmlXIncludeCtxt,
    handler: xmlStructuredErrorFunc,
    data: *mut ::std::os::raw::c_void,
  );
}
unsafe extern "C" {
  pub fn xmlXIncludeSetResourceLoader(
    ctxt: *mut xmlXIncludeCtxt,
    loader: xmlResourceLoader,
    data: *mut ::std::os::raw::c_void,
  );
}
unsafe extern "C" {
  pub fn xmlXIncludeGetLastError(ctxt: *mut xmlXIncludeCtxt) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXIncludeFreeContext(ctxt: *mut xmlXIncludeCtxt);
}
unsafe extern "C" {
  pub fn xmlXIncludeProcessNode(
    ctxt: *mut xmlXIncludeCtxt,
    tree: *mut xmlNode,
  ) -> ::std::os::raw::c_int;
}
#[doc = " Various defines for the various Link properties.\n\n NOTE: the link detection layer will try to resolve QName expansion\n       of namespaces. If \"foo\" is the prefix for \"http://foo.com/\"\n       then the link detection layer will expand role=\"foo:myrole\"\n       to \"http://foo.com/:myrole\".\n NOTE: the link detection layer will expand URI-References found on\n       href attributes by using the base mechanism if found."]
pub type xlinkHRef = *mut xmlChar;
pub type xlinkRole = *mut xmlChar;
pub type xlinkTitle = *mut xmlChar;
pub const xlinkType_XLINK_TYPE_NONE: xlinkType = 0;
pub const xlinkType_XLINK_TYPE_SIMPLE: xlinkType = 1;
pub const xlinkType_XLINK_TYPE_EXTENDED: xlinkType = 2;
pub const xlinkType_XLINK_TYPE_EXTENDED_SET: xlinkType = 3;
pub type xlinkType = ::std::os::raw::c_uint;
pub const xlinkShow_XLINK_SHOW_NONE: xlinkShow = 0;
pub const xlinkShow_XLINK_SHOW_NEW: xlinkShow = 1;
pub const xlinkShow_XLINK_SHOW_EMBED: xlinkShow = 2;
pub const xlinkShow_XLINK_SHOW_REPLACE: xlinkShow = 3;
pub type xlinkShow = ::std::os::raw::c_uint;
pub const xlinkActuate_XLINK_ACTUATE_NONE: xlinkActuate = 0;
pub const xlinkActuate_XLINK_ACTUATE_AUTO: xlinkActuate = 1;
pub const xlinkActuate_XLINK_ACTUATE_ONREQUEST: xlinkActuate = 2;
pub type xlinkActuate = ::std::os::raw::c_uint;
#[doc = " This is the prototype for the link detection routine.\n It calls the default link detection callbacks upon link detection.\n\n @param ctx  user data pointer\n @param node  the node to check"]
pub type xlinkNodeDetectFunc =
  ::std::option::Option<unsafe extern "C" fn(ctx: *mut ::std::os::raw::c_void, node: *mut xmlNode)>;
#[doc = " This is the prototype for a simple link detection callback.\n\n @param ctx  user data pointer\n @param node  the node carrying the link\n @param href  the target of the link\n @param role  the role string\n @param title  the link title"]
pub type xlinkSimpleLinkFunk = ::std::option::Option<
  unsafe extern "C" fn(
    ctx: *mut ::std::os::raw::c_void,
    node: *mut xmlNode,
    href: xlinkHRef,
    role: xlinkRole,
    title: xlinkTitle,
  ),
>;
#[doc = " This is the prototype for a extended link detection callback.\n\n @param ctx  user data pointer\n @param node  the node carrying the link\n @param nbLocators  the number of locators detected on the link\n @param hrefs  pointer to the array of locator hrefs\n @param roles  pointer to the array of locator roles\n @param nbArcs  the number of arcs detected on the link\n @param from  pointer to the array of source roles found on the arcs\n @param to  pointer to the array of target roles found on the arcs\n @param show  array of values for the show attributes found on the arcs\n @param actuate  array of values for the actuate attributes found on the arcs\n @param nbTitles  the number of titles detected on the link\n @param titles  array of titles detected on the link\n @param langs  array of xml:lang values for the titles"]
pub type xlinkExtendedLinkFunk = ::std::option::Option<
  unsafe extern "C" fn(
    ctx: *mut ::std::os::raw::c_void,
    node: *mut xmlNode,
    nbLocators: ::std::os::raw::c_int,
    hrefs: *const xlinkHRef,
    roles: *const xlinkRole,
    nbArcs: ::std::os::raw::c_int,
    from: *const xlinkRole,
    to: *const xlinkRole,
    show: *mut xlinkShow,
    actuate: *mut xlinkActuate,
    nbTitles: ::std::os::raw::c_int,
    titles: *const xlinkTitle,
    langs: *mut *const xmlChar,
  ),
>;
#[doc = " This is the prototype for a extended link set detection callback.\n\n @param ctx  user data pointer\n @param node  the node carrying the link\n @param nbLocators  the number of locators detected on the link\n @param hrefs  pointer to the array of locator hrefs\n @param roles  pointer to the array of locator roles\n @param nbTitles  the number of titles detected on the link\n @param titles  array of titles detected on the link\n @param langs  array of xml:lang values for the titles"]
pub type xlinkExtendedLinkSetFunk = ::std::option::Option<
  unsafe extern "C" fn(
    ctx: *mut ::std::os::raw::c_void,
    node: *mut xmlNode,
    nbLocators: ::std::os::raw::c_int,
    hrefs: *const xlinkHRef,
    roles: *const xlinkRole,
    nbTitles: ::std::os::raw::c_int,
    titles: *const xlinkTitle,
    langs: *mut *const xmlChar,
  ),
>;
#[doc = " This is the structure containing a set of Links detection callbacks.\n\n There is no default xlink callbacks, if one want to get link\n recognition activated, those call backs must be provided before parsing."]
pub type xlinkHandler = _xlinkHandler;
pub type xlinkHandlerPtr = *mut xlinkHandler;
#[doc = " This is the structure containing a set of Links detection callbacks.\n\n There is no default xlink callbacks, if one want to get link\n recognition activated, those call backs must be provided before parsing."]
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _xlinkHandler {
  pub simple: xlinkSimpleLinkFunk,
  pub extended: xlinkExtendedLinkFunk,
  pub set: xlinkExtendedLinkSetFunk,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
  ["Size of _xlinkHandler"][::std::mem::size_of::<_xlinkHandler>() - 24usize];
  ["Alignment of _xlinkHandler"][::std::mem::align_of::<_xlinkHandler>() - 8usize];
  ["Offset of field: _xlinkHandler::simple"]
    [::std::mem::offset_of!(_xlinkHandler, simple) - 0usize];
  ["Offset of field: _xlinkHandler::extended"]
    [::std::mem::offset_of!(_xlinkHandler, extended) - 8usize];
  ["Offset of field: _xlinkHandler::set"][::std::mem::offset_of!(_xlinkHandler, set) - 16usize];
};
unsafe extern "C" {
  pub fn xlinkGetDefaultDetect() -> xlinkNodeDetectFunc;
}
unsafe extern "C" {
  pub fn xlinkSetDefaultDetect(func: xlinkNodeDetectFunc);
}
unsafe extern "C" {
  pub fn xlinkGetDefaultHandler() -> *mut xlinkHandler;
}
unsafe extern "C" {
  pub fn xlinkSetDefaultHandler(handler: *mut xlinkHandler);
}
unsafe extern "C" {
  pub fn xlinkIsLink(doc: *mut xmlDoc, node: *mut xmlNode) -> xlinkType;
}
#[repr(C)]
#[derive(Debug)]
pub struct _xmlModule {
  _unused: [u8; 0],
}
#[doc = " A handle to a dynamically loaded module"]
pub type xmlModule = _xmlModule;
pub type xmlModulePtr = *mut xmlModule;
pub const xmlModuleOption_XML_MODULE_LAZY: xmlModuleOption = 1;
pub const xmlModuleOption_XML_MODULE_LOCAL: xmlModuleOption = 2;
#[doc = " enumeration of options that can be passed down to #xmlModuleOpen"]
pub type xmlModuleOption = ::std::os::raw::c_uint;
unsafe extern "C" {
  pub fn xmlModuleOpen(
    filename: *const ::std::os::raw::c_char,
    options: ::std::os::raw::c_int,
  ) -> *mut xmlModule;
}
unsafe extern "C" {
  pub fn xmlModuleSymbol(
    module: *mut xmlModule,
    name: *const ::std::os::raw::c_char,
    result: *mut *mut ::std::os::raw::c_void,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlModuleClose(module: *mut xmlModule) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlModuleFree(module: *mut xmlModule) -> ::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)]
pub struct _xmlSchemaParserCtxt {
  _unused: [u8; 0],
}
#[doc = " Schema parser context"]
pub type xmlSchemaParserCtxt = _xmlSchemaParserCtxt;
pub type xmlSchemaParserCtxtPtr = *mut xmlSchemaParserCtxt;
#[repr(C)]
#[derive(Debug)]
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)]
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 xmlParserSeverities_XML_PARSER_SEVERITY_VALIDITY_WARNING: xmlParserSeverities = 1;
pub const xmlParserSeverities_XML_PARSER_SEVERITY_VALIDITY_ERROR: xmlParserSeverities = 2;
pub const xmlParserSeverities_XML_PARSER_SEVERITY_WARNING: xmlParserSeverities = 3;
pub const xmlParserSeverities_XML_PARSER_SEVERITY_ERROR: xmlParserSeverities = 4;
#[doc = " How severe an error callback is when the per-reader error callback API\n is used."]
pub type xmlParserSeverities = ::std::os::raw::c_uint;
pub const xmlTextReaderMode_XML_TEXTREADER_MODE_INITIAL: xmlTextReaderMode = 0;
pub const xmlTextReaderMode_XML_TEXTREADER_MODE_INTERACTIVE: xmlTextReaderMode = 1;
pub const xmlTextReaderMode_XML_TEXTREADER_MODE_ERROR: xmlTextReaderMode = 2;
pub const xmlTextReaderMode_XML_TEXTREADER_MODE_EOF: xmlTextReaderMode = 3;
pub const xmlTextReaderMode_XML_TEXTREADER_MODE_CLOSED: xmlTextReaderMode = 4;
pub const xmlTextReaderMode_XML_TEXTREADER_MODE_READING: xmlTextReaderMode = 5;
#[doc = " Internal state values for the reader."]
pub type xmlTextReaderMode = ::std::os::raw::c_uint;
pub const xmlParserProperties_XML_PARSER_LOADDTD: xmlParserProperties = 1;
pub const xmlParserProperties_XML_PARSER_DEFAULTATTRS: xmlParserProperties = 2;
pub const xmlParserProperties_XML_PARSER_VALIDATE: xmlParserProperties = 3;
pub const xmlParserProperties_XML_PARSER_SUBST_ENTITIES: xmlParserProperties = 4;
#[doc = " Some common options to use with #xmlTextReaderSetParserProp, but it\n is better to use xmlParserOption and the xmlReaderNewxxx and\n xmlReaderForxxx APIs now."]
pub type xmlParserProperties = ::std::os::raw::c_uint;
#[doc = " unknown or error"]
pub const xmlReaderTypes_XML_READER_TYPE_NONE: xmlReaderTypes = 0;
#[doc = " element"]
pub const xmlReaderTypes_XML_READER_TYPE_ELEMENT: xmlReaderTypes = 1;
#[doc = " attribute"]
pub const xmlReaderTypes_XML_READER_TYPE_ATTRIBUTE: xmlReaderTypes = 2;
#[doc = " text"]
pub const xmlReaderTypes_XML_READER_TYPE_TEXT: xmlReaderTypes = 3;
#[doc = " CDATA section"]
pub const xmlReaderTypes_XML_READER_TYPE_CDATA: xmlReaderTypes = 4;
#[doc = " entity reference"]
pub const xmlReaderTypes_XML_READER_TYPE_ENTITY_REFERENCE: xmlReaderTypes = 5;
#[doc = " unused"]
pub const xmlReaderTypes_XML_READER_TYPE_ENTITY: xmlReaderTypes = 6;
#[doc = " processing instruction"]
pub const xmlReaderTypes_XML_READER_TYPE_PROCESSING_INSTRUCTION: xmlReaderTypes = 7;
#[doc = " comment"]
pub const xmlReaderTypes_XML_READER_TYPE_COMMENT: xmlReaderTypes = 8;
#[doc = " document"]
pub const xmlReaderTypes_XML_READER_TYPE_DOCUMENT: xmlReaderTypes = 9;
#[doc = " unused"]
pub const xmlReaderTypes_XML_READER_TYPE_DOCUMENT_TYPE: xmlReaderTypes = 10;
#[doc = " document fragment"]
pub const xmlReaderTypes_XML_READER_TYPE_DOCUMENT_FRAGMENT: xmlReaderTypes = 11;
#[doc = " notation, unused"]
pub const xmlReaderTypes_XML_READER_TYPE_NOTATION: xmlReaderTypes = 12;
#[doc = " whitespace"]
pub const xmlReaderTypes_XML_READER_TYPE_WHITESPACE: xmlReaderTypes = 13;
#[doc = " significant whitespace"]
pub const xmlReaderTypes_XML_READER_TYPE_SIGNIFICANT_WHITESPACE: xmlReaderTypes = 14;
#[doc = " end of element"]
pub const xmlReaderTypes_XML_READER_TYPE_END_ELEMENT: xmlReaderTypes = 15;
#[doc = " unused"]
pub const xmlReaderTypes_XML_READER_TYPE_END_ENTITY: xmlReaderTypes = 16;
#[doc = " unused"]
pub const xmlReaderTypes_XML_READER_TYPE_XML_DECLARATION: xmlReaderTypes = 17;
#[doc = " Predefined constants for the different types of nodes."]
pub type xmlReaderTypes = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug)]
pub struct _xmlTextReader {
  _unused: [u8; 0],
}
#[doc = " xmlReader context"]
pub type xmlTextReader = _xmlTextReader;
pub type xmlTextReaderPtr = *mut xmlTextReader;
unsafe extern "C" {
  pub fn xmlNewTextReader(
    input: *mut xmlParserInputBuffer,
    URI: *const ::std::os::raw::c_char,
  ) -> *mut xmlTextReader;
}
unsafe extern "C" {
  pub fn xmlNewTextReaderFilename(URI: *const ::std::os::raw::c_char) -> *mut xmlTextReader;
}
unsafe extern "C" {
  pub fn xmlFreeTextReader(reader: *mut xmlTextReader);
}
unsafe extern "C" {
  pub fn xmlTextReaderSetup(
    reader: *mut xmlTextReader,
    input: *mut xmlParserInputBuffer,
    URL: *const ::std::os::raw::c_char,
    encoding: *const ::std::os::raw::c_char,
    options: ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderSetMaxAmplification(
    reader: *mut xmlTextReader,
    maxAmpl: ::std::os::raw::c_uint,
  );
}
unsafe extern "C" {
  pub fn xmlTextReaderGetLastError(reader: *mut xmlTextReader) -> *const xmlError;
}
unsafe extern "C" {
  pub fn xmlTextReaderRead(reader: *mut xmlTextReader) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderReadInnerXml(reader: *mut xmlTextReader) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlTextReaderReadOuterXml(reader: *mut xmlTextReader) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlTextReaderReadString(reader: *mut xmlTextReader) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlTextReaderReadAttributeValue(reader: *mut xmlTextReader) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderAttributeCount(reader: *mut xmlTextReader) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderDepth(reader: *mut xmlTextReader) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderHasAttributes(reader: *mut xmlTextReader) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderHasValue(reader: *mut xmlTextReader) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderIsDefault(reader: *mut xmlTextReader) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderIsEmptyElement(reader: *mut xmlTextReader) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderNodeType(reader: *mut xmlTextReader) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderQuoteChar(reader: *mut xmlTextReader) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderReadState(reader: *mut xmlTextReader) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderIsNamespaceDecl(reader: *mut xmlTextReader) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderConstBaseUri(reader: *mut xmlTextReader) -> *const xmlChar;
}
unsafe extern "C" {
  pub fn xmlTextReaderConstLocalName(reader: *mut xmlTextReader) -> *const xmlChar;
}
unsafe extern "C" {
  pub fn xmlTextReaderConstName(reader: *mut xmlTextReader) -> *const xmlChar;
}
unsafe extern "C" {
  pub fn xmlTextReaderConstNamespaceUri(reader: *mut xmlTextReader) -> *const xmlChar;
}
unsafe extern "C" {
  pub fn xmlTextReaderConstPrefix(reader: *mut xmlTextReader) -> *const xmlChar;
}
unsafe extern "C" {
  pub fn xmlTextReaderConstXmlLang(reader: *mut xmlTextReader) -> *const xmlChar;
}
unsafe extern "C" {
  pub fn xmlTextReaderConstString(
    reader: *mut xmlTextReader,
    str_: *const xmlChar,
  ) -> *const xmlChar;
}
unsafe extern "C" {
  pub fn xmlTextReaderConstValue(reader: *mut xmlTextReader) -> *const xmlChar;
}
unsafe extern "C" {
  pub fn xmlTextReaderBaseUri(reader: *mut xmlTextReader) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlTextReaderLocalName(reader: *mut xmlTextReader) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlTextReaderName(reader: *mut xmlTextReader) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlTextReaderNamespaceUri(reader: *mut xmlTextReader) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlTextReaderPrefix(reader: *mut xmlTextReader) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlTextReaderXmlLang(reader: *mut xmlTextReader) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlTextReaderValue(reader: *mut xmlTextReader) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlTextReaderClose(reader: *mut xmlTextReader) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderGetAttributeNo(
    reader: *mut xmlTextReader,
    no: ::std::os::raw::c_int,
  ) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlTextReaderGetAttribute(
    reader: *mut xmlTextReader,
    name: *const xmlChar,
  ) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlTextReaderGetAttributeNs(
    reader: *mut xmlTextReader,
    localName: *const xmlChar,
    namespaceURI: *const xmlChar,
  ) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlTextReaderGetRemainder(reader: *mut xmlTextReader) -> *mut xmlParserInputBuffer;
}
unsafe extern "C" {
  pub fn xmlTextReaderLookupNamespace(
    reader: *mut xmlTextReader,
    prefix: *const xmlChar,
  ) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlTextReaderMoveToAttributeNo(
    reader: *mut xmlTextReader,
    no: ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderMoveToAttribute(
    reader: *mut xmlTextReader,
    name: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderMoveToAttributeNs(
    reader: *mut xmlTextReader,
    localName: *const xmlChar,
    namespaceURI: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderMoveToFirstAttribute(reader: *mut xmlTextReader) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderMoveToNextAttribute(reader: *mut xmlTextReader) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderMoveToElement(reader: *mut xmlTextReader) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderNormalization(reader: *mut xmlTextReader) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderConstEncoding(reader: *mut xmlTextReader) -> *const xmlChar;
}
unsafe extern "C" {
  pub fn xmlTextReaderSetParserProp(
    reader: *mut xmlTextReader,
    prop: ::std::os::raw::c_int,
    value: ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderGetParserProp(
    reader: *mut xmlTextReader,
    prop: ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderCurrentNode(reader: *mut xmlTextReader) -> *mut xmlNode;
}
unsafe extern "C" {
  pub fn xmlTextReaderGetParserLineNumber(reader: *mut xmlTextReader) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderGetParserColumnNumber(reader: *mut xmlTextReader) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderPreserve(reader: *mut xmlTextReader) -> *mut xmlNode;
}
unsafe extern "C" {
  pub fn xmlTextReaderPreservePattern(
    reader: *mut xmlTextReader,
    pattern: *const xmlChar,
    namespaces: *mut *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderCurrentDoc(reader: *mut xmlTextReader) -> *mut xmlDoc;
}
unsafe extern "C" {
  pub fn xmlTextReaderExpand(reader: *mut xmlTextReader) -> *mut xmlNode;
}
unsafe extern "C" {
  pub fn xmlTextReaderNext(reader: *mut xmlTextReader) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderNextSibling(reader: *mut xmlTextReader) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderIsValid(reader: *mut xmlTextReader) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderRelaxNGValidate(
    reader: *mut xmlTextReader,
    rng: *const ::std::os::raw::c_char,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderRelaxNGValidateCtxt(
    reader: *mut xmlTextReader,
    ctxt: *mut xmlRelaxNGValidCtxt,
    options: ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderRelaxNGSetSchema(
    reader: *mut xmlTextReader,
    schema: *mut xmlRelaxNG,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderSchemaValidate(
    reader: *mut xmlTextReader,
    xsd: *const ::std::os::raw::c_char,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderSchemaValidateCtxt(
    reader: *mut xmlTextReader,
    ctxt: *mut xmlSchemaValidCtxt,
    options: ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderSetSchema(
    reader: *mut xmlTextReader,
    schema: *mut xmlSchema,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderConstXmlVersion(reader: *mut xmlTextReader) -> *const xmlChar;
}
unsafe extern "C" {
  pub fn xmlTextReaderStandalone(reader: *mut xmlTextReader) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderByteConsumed(reader: *mut xmlTextReader) -> ::std::os::raw::c_long;
}
unsafe extern "C" {
  pub fn xmlReaderWalker(doc: *mut xmlDoc) -> *mut xmlTextReader;
}
unsafe extern "C" {
  pub fn xmlReaderForDoc(
    cur: *const xmlChar,
    URL: *const ::std::os::raw::c_char,
    encoding: *const ::std::os::raw::c_char,
    options: ::std::os::raw::c_int,
  ) -> *mut xmlTextReader;
}
unsafe extern "C" {
  pub fn xmlReaderForFile(
    filename: *const ::std::os::raw::c_char,
    encoding: *const ::std::os::raw::c_char,
    options: ::std::os::raw::c_int,
  ) -> *mut xmlTextReader;
}
unsafe extern "C" {
  pub fn xmlReaderForMemory(
    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 xmlTextReader;
}
unsafe extern "C" {
  pub fn xmlReaderForFd(
    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 xmlTextReader;
}
unsafe extern "C" {
  pub fn xmlReaderForIO(
    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 xmlTextReader;
}
unsafe extern "C" {
  pub fn xmlReaderNewWalker(reader: *mut xmlTextReader, doc: *mut xmlDoc) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlReaderNewDoc(
    reader: *mut xmlTextReader,
    cur: *const xmlChar,
    URL: *const ::std::os::raw::c_char,
    encoding: *const ::std::os::raw::c_char,
    options: ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlReaderNewFile(
    reader: *mut xmlTextReader,
    filename: *const ::std::os::raw::c_char,
    encoding: *const ::std::os::raw::c_char,
    options: ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlReaderNewMemory(
    reader: *mut xmlTextReader,
    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,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlReaderNewFd(
    reader: *mut xmlTextReader,
    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,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlReaderNewIO(
    reader: *mut xmlTextReader,
    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,
  ) -> ::std::os::raw::c_int;
}
pub type xmlTextReaderLocatorPtr = *mut ::std::os::raw::c_void;
#[doc = " Signature of an error callback from a reader parser\n\n @param arg  the user argument\n @param msg  the message\n @param severity  the severity of the error\n @param locator  a locator indicating where the error occurred"]
pub type xmlTextReaderErrorFunc = ::std::option::Option<
  unsafe extern "C" fn(
    arg: *mut ::std::os::raw::c_void,
    msg: *const ::std::os::raw::c_char,
    severity: xmlParserSeverities,
    locator: xmlTextReaderLocatorPtr,
  ),
>;
unsafe extern "C" {
  pub fn xmlTextReaderLocatorLineNumber(locator: xmlTextReaderLocatorPtr) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextReaderLocatorBaseURI(locator: xmlTextReaderLocatorPtr) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlTextReaderSetErrorHandler(
    reader: *mut xmlTextReader,
    f: xmlTextReaderErrorFunc,
    arg: *mut ::std::os::raw::c_void,
  );
}
unsafe extern "C" {
  pub fn xmlTextReaderSetStructuredErrorHandler(
    reader: *mut xmlTextReader,
    f: xmlStructuredErrorFunc,
    arg: *mut ::std::os::raw::c_void,
  );
}
unsafe extern "C" {
  pub fn xmlTextReaderGetErrorHandler(
    reader: *mut xmlTextReader,
    f: *mut xmlTextReaderErrorFunc,
    arg: *mut *mut ::std::os::raw::c_void,
  );
}
unsafe extern "C" {
  pub fn xmlTextReaderSetResourceLoader(
    reader: *mut xmlTextReader,
    loader: xmlResourceLoader,
    data: *mut ::std::os::raw::c_void,
  );
}
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;
}
#[repr(C)]
#[derive(Debug)]
pub struct _xmlTextWriter {
  _unused: [u8; 0],
}
#[doc = " Writer object"]
pub type xmlTextWriter = _xmlTextWriter;
pub type xmlTextWriterPtr = *mut xmlTextWriter;
unsafe extern "C" {
  pub fn xmlNewTextWriter(out: *mut xmlOutputBuffer) -> *mut xmlTextWriter;
}
unsafe extern "C" {
  pub fn xmlNewTextWriterFilename(
    uri: *const ::std::os::raw::c_char,
    compression: ::std::os::raw::c_int,
  ) -> *mut xmlTextWriter;
}
unsafe extern "C" {
  pub fn xmlNewTextWriterMemory(
    buf: *mut xmlBuffer,
    compression: ::std::os::raw::c_int,
  ) -> *mut xmlTextWriter;
}
unsafe extern "C" {
  pub fn xmlNewTextWriterPushParser(
    ctxt: *mut xmlParserCtxt,
    compression: ::std::os::raw::c_int,
  ) -> *mut xmlTextWriter;
}
unsafe extern "C" {
  pub fn xmlNewTextWriterDoc(
    doc: *mut *mut xmlDoc,
    compression: ::std::os::raw::c_int,
  ) -> *mut xmlTextWriter;
}
unsafe extern "C" {
  pub fn xmlNewTextWriterTree(
    doc: *mut xmlDoc,
    node: *mut xmlNode,
    compression: ::std::os::raw::c_int,
  ) -> *mut xmlTextWriter;
}
unsafe extern "C" {
  pub fn xmlFreeTextWriter(writer: *mut xmlTextWriter);
}
unsafe extern "C" {
  pub fn xmlTextWriterStartDocument(
    writer: *mut xmlTextWriter,
    version: *const ::std::os::raw::c_char,
    encoding: *const ::std::os::raw::c_char,
    standalone: *const ::std::os::raw::c_char,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterEndDocument(writer: *mut xmlTextWriter) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterStartComment(writer: *mut xmlTextWriter) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterEndComment(writer: *mut xmlTextWriter) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteFormatComment(
    writer: *mut xmlTextWriter,
    format: *const ::std::os::raw::c_char,
    ...
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteVFormatComment(
    writer: *mut xmlTextWriter,
    format: *const ::std::os::raw::c_char,
    argptr: *mut __va_list_tag,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteComment(
    writer: *mut xmlTextWriter,
    content: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterStartElement(
    writer: *mut xmlTextWriter,
    name: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterStartElementNS(
    writer: *mut xmlTextWriter,
    prefix: *const xmlChar,
    name: *const xmlChar,
    namespaceURI: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterEndElement(writer: *mut xmlTextWriter) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterFullEndElement(writer: *mut xmlTextWriter) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteFormatElement(
    writer: *mut xmlTextWriter,
    name: *const xmlChar,
    format: *const ::std::os::raw::c_char,
    ...
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteVFormatElement(
    writer: *mut xmlTextWriter,
    name: *const xmlChar,
    format: *const ::std::os::raw::c_char,
    argptr: *mut __va_list_tag,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteElement(
    writer: *mut xmlTextWriter,
    name: *const xmlChar,
    content: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteFormatElementNS(
    writer: *mut xmlTextWriter,
    prefix: *const xmlChar,
    name: *const xmlChar,
    namespaceURI: *const xmlChar,
    format: *const ::std::os::raw::c_char,
    ...
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteVFormatElementNS(
    writer: *mut xmlTextWriter,
    prefix: *const xmlChar,
    name: *const xmlChar,
    namespaceURI: *const xmlChar,
    format: *const ::std::os::raw::c_char,
    argptr: *mut __va_list_tag,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteElementNS(
    writer: *mut xmlTextWriter,
    prefix: *const xmlChar,
    name: *const xmlChar,
    namespaceURI: *const xmlChar,
    content: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteFormatRaw(
    writer: *mut xmlTextWriter,
    format: *const ::std::os::raw::c_char,
    ...
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteVFormatRaw(
    writer: *mut xmlTextWriter,
    format: *const ::std::os::raw::c_char,
    argptr: *mut __va_list_tag,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteRawLen(
    writer: *mut xmlTextWriter,
    content: *const xmlChar,
    len: ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteRaw(
    writer: *mut xmlTextWriter,
    content: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteFormatString(
    writer: *mut xmlTextWriter,
    format: *const ::std::os::raw::c_char,
    ...
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteVFormatString(
    writer: *mut xmlTextWriter,
    format: *const ::std::os::raw::c_char,
    argptr: *mut __va_list_tag,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteString(
    writer: *mut xmlTextWriter,
    content: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteBase64(
    writer: *mut xmlTextWriter,
    data: *const ::std::os::raw::c_char,
    start: ::std::os::raw::c_int,
    len: ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteBinHex(
    writer: *mut xmlTextWriter,
    data: *const ::std::os::raw::c_char,
    start: ::std::os::raw::c_int,
    len: ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterStartAttribute(
    writer: *mut xmlTextWriter,
    name: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterStartAttributeNS(
    writer: *mut xmlTextWriter,
    prefix: *const xmlChar,
    name: *const xmlChar,
    namespaceURI: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterEndAttribute(writer: *mut xmlTextWriter) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteFormatAttribute(
    writer: *mut xmlTextWriter,
    name: *const xmlChar,
    format: *const ::std::os::raw::c_char,
    ...
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteVFormatAttribute(
    writer: *mut xmlTextWriter,
    name: *const xmlChar,
    format: *const ::std::os::raw::c_char,
    argptr: *mut __va_list_tag,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteAttribute(
    writer: *mut xmlTextWriter,
    name: *const xmlChar,
    content: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteFormatAttributeNS(
    writer: *mut xmlTextWriter,
    prefix: *const xmlChar,
    name: *const xmlChar,
    namespaceURI: *const xmlChar,
    format: *const ::std::os::raw::c_char,
    ...
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteVFormatAttributeNS(
    writer: *mut xmlTextWriter,
    prefix: *const xmlChar,
    name: *const xmlChar,
    namespaceURI: *const xmlChar,
    format: *const ::std::os::raw::c_char,
    argptr: *mut __va_list_tag,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteAttributeNS(
    writer: *mut xmlTextWriter,
    prefix: *const xmlChar,
    name: *const xmlChar,
    namespaceURI: *const xmlChar,
    content: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterStartPI(
    writer: *mut xmlTextWriter,
    target: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterEndPI(writer: *mut xmlTextWriter) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteFormatPI(
    writer: *mut xmlTextWriter,
    target: *const xmlChar,
    format: *const ::std::os::raw::c_char,
    ...
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteVFormatPI(
    writer: *mut xmlTextWriter,
    target: *const xmlChar,
    format: *const ::std::os::raw::c_char,
    argptr: *mut __va_list_tag,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWritePI(
    writer: *mut xmlTextWriter,
    target: *const xmlChar,
    content: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterStartCDATA(writer: *mut xmlTextWriter) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterEndCDATA(writer: *mut xmlTextWriter) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteFormatCDATA(
    writer: *mut xmlTextWriter,
    format: *const ::std::os::raw::c_char,
    ...
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteVFormatCDATA(
    writer: *mut xmlTextWriter,
    format: *const ::std::os::raw::c_char,
    argptr: *mut __va_list_tag,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteCDATA(
    writer: *mut xmlTextWriter,
    content: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterStartDTD(
    writer: *mut xmlTextWriter,
    name: *const xmlChar,
    pubid: *const xmlChar,
    sysid: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterEndDTD(writer: *mut xmlTextWriter) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteFormatDTD(
    writer: *mut xmlTextWriter,
    name: *const xmlChar,
    pubid: *const xmlChar,
    sysid: *const xmlChar,
    format: *const ::std::os::raw::c_char,
    ...
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteVFormatDTD(
    writer: *mut xmlTextWriter,
    name: *const xmlChar,
    pubid: *const xmlChar,
    sysid: *const xmlChar,
    format: *const ::std::os::raw::c_char,
    argptr: *mut __va_list_tag,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteDTD(
    writer: *mut xmlTextWriter,
    name: *const xmlChar,
    pubid: *const xmlChar,
    sysid: *const xmlChar,
    subset: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterStartDTDElement(
    writer: *mut xmlTextWriter,
    name: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterEndDTDElement(writer: *mut xmlTextWriter) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteFormatDTDElement(
    writer: *mut xmlTextWriter,
    name: *const xmlChar,
    format: *const ::std::os::raw::c_char,
    ...
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteVFormatDTDElement(
    writer: *mut xmlTextWriter,
    name: *const xmlChar,
    format: *const ::std::os::raw::c_char,
    argptr: *mut __va_list_tag,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteDTDElement(
    writer: *mut xmlTextWriter,
    name: *const xmlChar,
    content: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterStartDTDAttlist(
    writer: *mut xmlTextWriter,
    name: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterEndDTDAttlist(writer: *mut xmlTextWriter) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteFormatDTDAttlist(
    writer: *mut xmlTextWriter,
    name: *const xmlChar,
    format: *const ::std::os::raw::c_char,
    ...
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteVFormatDTDAttlist(
    writer: *mut xmlTextWriter,
    name: *const xmlChar,
    format: *const ::std::os::raw::c_char,
    argptr: *mut __va_list_tag,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteDTDAttlist(
    writer: *mut xmlTextWriter,
    name: *const xmlChar,
    content: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterStartDTDEntity(
    writer: *mut xmlTextWriter,
    pe: ::std::os::raw::c_int,
    name: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterEndDTDEntity(writer: *mut xmlTextWriter) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteFormatDTDInternalEntity(
    writer: *mut xmlTextWriter,
    pe: ::std::os::raw::c_int,
    name: *const xmlChar,
    format: *const ::std::os::raw::c_char,
    ...
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteVFormatDTDInternalEntity(
    writer: *mut xmlTextWriter,
    pe: ::std::os::raw::c_int,
    name: *const xmlChar,
    format: *const ::std::os::raw::c_char,
    argptr: *mut __va_list_tag,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteDTDInternalEntity(
    writer: *mut xmlTextWriter,
    pe: ::std::os::raw::c_int,
    name: *const xmlChar,
    content: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteDTDExternalEntity(
    writer: *mut xmlTextWriter,
    pe: ::std::os::raw::c_int,
    name: *const xmlChar,
    pubid: *const xmlChar,
    sysid: *const xmlChar,
    ndataid: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteDTDExternalEntityContents(
    writer: *mut xmlTextWriter,
    pubid: *const xmlChar,
    sysid: *const xmlChar,
    ndataid: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteDTDEntity(
    writer: *mut xmlTextWriter,
    pe: ::std::os::raw::c_int,
    name: *const xmlChar,
    pubid: *const xmlChar,
    sysid: *const xmlChar,
    ndataid: *const xmlChar,
    content: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterWriteDTDNotation(
    writer: *mut xmlTextWriter,
    name: *const xmlChar,
    pubid: *const xmlChar,
    sysid: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterSetIndent(
    writer: *mut xmlTextWriter,
    indent: ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterSetIndentString(
    writer: *mut xmlTextWriter,
    str_: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterSetQuoteChar(
    writer: *mut xmlTextWriter,
    quotechar: xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterFlush(writer: *mut xmlTextWriter) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlTextWriterClose(writer: *mut xmlTextWriter) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXPathPopBoolean(ctxt: *mut xmlXPathParserContext) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXPathPopNumber(ctxt: *mut xmlXPathParserContext) -> f64;
}
unsafe extern "C" {
  pub fn xmlXPathPopString(ctxt: *mut xmlXPathParserContext) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlXPathPopNodeSet(ctxt: *mut xmlXPathParserContext) -> *mut xmlNodeSet;
}
unsafe extern "C" {
  pub fn xmlXPathPopExternal(ctxt: *mut xmlXPathParserContext) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
  pub fn xmlXPathRegisterVariableLookup(
    ctxt: *mut xmlXPathContext,
    f: xmlXPathVariableLookupFunc,
    data: *mut ::std::os::raw::c_void,
  );
}
unsafe extern "C" {
  pub fn xmlXPathRegisterFuncLookup(
    ctxt: *mut xmlXPathContext,
    f: xmlXPathFuncLookupFunc,
    funcCtxt: *mut ::std::os::raw::c_void,
  );
}
unsafe extern "C" {
  pub fn xmlXPatherror(
    ctxt: *mut xmlXPathParserContext,
    file: *const ::std::os::raw::c_char,
    line: ::std::os::raw::c_int,
    no: ::std::os::raw::c_int,
  );
}
unsafe extern "C" {
  pub fn xmlXPathErr(ctxt: *mut xmlXPathParserContext, error: ::std::os::raw::c_int);
}
unsafe extern "C" {
  pub fn xmlXPathDebugDumpObject(
    output: *mut FILE,
    cur: *mut xmlXPathObject,
    depth: ::std::os::raw::c_int,
  );
}
unsafe extern "C" {
  pub fn xmlXPathDebugDumpCompExpr(
    output: *mut FILE,
    comp: *mut xmlXPathCompExpr,
    depth: ::std::os::raw::c_int,
  );
}
unsafe extern "C" {
  #[doc = " NodeSet handling."]
  pub fn xmlXPathNodeSetContains(cur: *mut xmlNodeSet, val: *mut xmlNode) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXPathDifference(nodes1: *mut xmlNodeSet, nodes2: *mut xmlNodeSet) -> *mut xmlNodeSet;
}
unsafe extern "C" {
  pub fn xmlXPathIntersection(nodes1: *mut xmlNodeSet, nodes2: *mut xmlNodeSet) -> *mut xmlNodeSet;
}
unsafe extern "C" {
  pub fn xmlXPathDistinctSorted(nodes: *mut xmlNodeSet) -> *mut xmlNodeSet;
}
unsafe extern "C" {
  pub fn xmlXPathDistinct(nodes: *mut xmlNodeSet) -> *mut xmlNodeSet;
}
unsafe extern "C" {
  pub fn xmlXPathHasSameNodes(
    nodes1: *mut xmlNodeSet,
    nodes2: *mut xmlNodeSet,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXPathNodeLeadingSorted(nodes: *mut xmlNodeSet, node: *mut xmlNode) -> *mut xmlNodeSet;
}
unsafe extern "C" {
  pub fn xmlXPathLeadingSorted(nodes1: *mut xmlNodeSet, nodes2: *mut xmlNodeSet)
  -> *mut xmlNodeSet;
}
unsafe extern "C" {
  pub fn xmlXPathNodeLeading(nodes: *mut xmlNodeSet, node: *mut xmlNode) -> *mut xmlNodeSet;
}
unsafe extern "C" {
  pub fn xmlXPathLeading(nodes1: *mut xmlNodeSet, nodes2: *mut xmlNodeSet) -> *mut xmlNodeSet;
}
unsafe extern "C" {
  pub fn xmlXPathNodeTrailingSorted(nodes: *mut xmlNodeSet, node: *mut xmlNode) -> *mut xmlNodeSet;
}
unsafe extern "C" {
  pub fn xmlXPathTrailingSorted(
    nodes1: *mut xmlNodeSet,
    nodes2: *mut xmlNodeSet,
  ) -> *mut xmlNodeSet;
}
unsafe extern "C" {
  pub fn xmlXPathNodeTrailing(nodes: *mut xmlNodeSet, node: *mut xmlNode) -> *mut xmlNodeSet;
}
unsafe extern "C" {
  pub fn xmlXPathTrailing(nodes1: *mut xmlNodeSet, nodes2: *mut xmlNodeSet) -> *mut xmlNodeSet;
}
unsafe extern "C" {
  #[doc = " Extending a context."]
  pub fn xmlXPathRegisterNs(
    ctxt: *mut xmlXPathContext,
    prefix: *const xmlChar,
    ns_uri: *const xmlChar,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXPathNsLookup(ctxt: *mut xmlXPathContext, prefix: *const xmlChar) -> *const xmlChar;
}
unsafe extern "C" {
  pub fn xmlXPathRegisteredNsCleanup(ctxt: *mut xmlXPathContext);
}
unsafe extern "C" {
  pub fn xmlXPathRegisterFunc(
    ctxt: *mut xmlXPathContext,
    name: *const xmlChar,
    f: xmlXPathFunction,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXPathRegisterFuncNS(
    ctxt: *mut xmlXPathContext,
    name: *const xmlChar,
    ns_uri: *const xmlChar,
    f: xmlXPathFunction,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXPathRegisterVariable(
    ctxt: *mut xmlXPathContext,
    name: *const xmlChar,
    value: *mut xmlXPathObject,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXPathRegisterVariableNS(
    ctxt: *mut xmlXPathContext,
    name: *const xmlChar,
    ns_uri: *const xmlChar,
    value: *mut xmlXPathObject,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXPathFunctionLookup(
    ctxt: *mut xmlXPathContext,
    name: *const xmlChar,
  ) -> xmlXPathFunction;
}
unsafe extern "C" {
  pub fn xmlXPathFunctionLookupNS(
    ctxt: *mut xmlXPathContext,
    name: *const xmlChar,
    ns_uri: *const xmlChar,
  ) -> xmlXPathFunction;
}
unsafe extern "C" {
  pub fn xmlXPathRegisteredFuncsCleanup(ctxt: *mut xmlXPathContext);
}
unsafe extern "C" {
  pub fn xmlXPathVariableLookup(
    ctxt: *mut xmlXPathContext,
    name: *const xmlChar,
  ) -> *mut xmlXPathObject;
}
unsafe extern "C" {
  pub fn xmlXPathVariableLookupNS(
    ctxt: *mut xmlXPathContext,
    name: *const xmlChar,
    ns_uri: *const xmlChar,
  ) -> *mut xmlXPathObject;
}
unsafe extern "C" {
  pub fn xmlXPathRegisteredVariablesCleanup(ctxt: *mut xmlXPathContext);
}
unsafe extern "C" {
  #[doc = " Utilities to extend XPath."]
  pub fn xmlXPathNewParserContext(
    str_: *const xmlChar,
    ctxt: *mut xmlXPathContext,
  ) -> *mut xmlXPathParserContext;
}
unsafe extern "C" {
  pub fn xmlXPathFreeParserContext(ctxt: *mut xmlXPathParserContext);
}
unsafe extern "C" {
  pub fn xmlXPathValuePop(ctxt: *mut xmlXPathParserContext) -> *mut xmlXPathObject;
}
unsafe extern "C" {
  pub fn xmlXPathValuePush(
    ctxt: *mut xmlXPathParserContext,
    value: *mut xmlXPathObject,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXPathNewString(val: *const xmlChar) -> *mut xmlXPathObject;
}
unsafe extern "C" {
  pub fn xmlXPathNewCString(val: *const ::std::os::raw::c_char) -> *mut xmlXPathObject;
}
unsafe extern "C" {
  pub fn xmlXPathWrapString(val: *mut xmlChar) -> *mut xmlXPathObject;
}
unsafe extern "C" {
  pub fn xmlXPathWrapCString(val: *mut ::std::os::raw::c_char) -> *mut xmlXPathObject;
}
unsafe extern "C" {
  pub fn xmlXPathNewFloat(val: f64) -> *mut xmlXPathObject;
}
unsafe extern "C" {
  pub fn xmlXPathNewBoolean(val: ::std::os::raw::c_int) -> *mut xmlXPathObject;
}
unsafe extern "C" {
  pub fn xmlXPathNewNodeSet(val: *mut xmlNode) -> *mut xmlXPathObject;
}
unsafe extern "C" {
  pub fn xmlXPathNewValueTree(val: *mut xmlNode) -> *mut xmlXPathObject;
}
unsafe extern "C" {
  pub fn xmlXPathNodeSetAdd(cur: *mut xmlNodeSet, val: *mut xmlNode) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXPathNodeSetAddUnique(cur: *mut xmlNodeSet, val: *mut xmlNode)
  -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXPathNodeSetAddNs(
    cur: *mut xmlNodeSet,
    node: *mut xmlNode,
    ns: *mut xmlNs,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXPathNodeSetSort(set: *mut xmlNodeSet);
}
unsafe extern "C" {
  pub fn xmlXPathRoot(ctxt: *mut xmlXPathParserContext);
}
unsafe extern "C" {
  pub fn xmlXPathEvalExpr(ctxt: *mut xmlXPathParserContext);
}
unsafe extern "C" {
  pub fn xmlXPathParseName(ctxt: *mut xmlXPathParserContext) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlXPathParseNCName(ctxt: *mut xmlXPathParserContext) -> *mut xmlChar;
}
unsafe extern "C" {
  pub fn xmlXPathStringEvalNumber(str_: *const xmlChar) -> f64;
}
unsafe extern "C" {
  pub fn xmlXPathEvaluatePredicateResult(
    ctxt: *mut xmlXPathParserContext,
    res: *mut xmlXPathObject,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXPathRegisterAllFunctions(ctxt: *mut xmlXPathContext);
}
unsafe extern "C" {
  pub fn xmlXPathNodeSetMerge(val1: *mut xmlNodeSet, val2: *mut xmlNodeSet) -> *mut xmlNodeSet;
}
unsafe extern "C" {
  pub fn xmlXPathNodeSetDel(cur: *mut xmlNodeSet, val: *mut xmlNode);
}
unsafe extern "C" {
  pub fn xmlXPathNodeSetRemove(cur: *mut xmlNodeSet, val: ::std::os::raw::c_int);
}
unsafe extern "C" {
  pub fn xmlXPathNewNodeSetList(val: *mut xmlNodeSet) -> *mut xmlXPathObject;
}
unsafe extern "C" {
  pub fn xmlXPathWrapNodeSet(val: *mut xmlNodeSet) -> *mut xmlXPathObject;
}
unsafe extern "C" {
  pub fn xmlXPathWrapExternal(val: *mut ::std::os::raw::c_void) -> *mut xmlXPathObject;
}
unsafe extern "C" {
  pub fn xmlXPathEqualValues(ctxt: *mut xmlXPathParserContext) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXPathNotEqualValues(ctxt: *mut xmlXPathParserContext) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXPathCompareValues(
    ctxt: *mut xmlXPathParserContext,
    inf: ::std::os::raw::c_int,
    strict: ::std::os::raw::c_int,
  ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXPathValueFlipSign(ctxt: *mut xmlXPathParserContext);
}
unsafe extern "C" {
  pub fn xmlXPathAddValues(ctxt: *mut xmlXPathParserContext);
}
unsafe extern "C" {
  pub fn xmlXPathSubValues(ctxt: *mut xmlXPathParserContext);
}
unsafe extern "C" {
  pub fn xmlXPathMultValues(ctxt: *mut xmlXPathParserContext);
}
unsafe extern "C" {
  pub fn xmlXPathDivValues(ctxt: *mut xmlXPathParserContext);
}
unsafe extern "C" {
  pub fn xmlXPathModValues(ctxt: *mut xmlXPathParserContext);
}
unsafe extern "C" {
  pub fn xmlXPathIsNodeType(name: *const xmlChar) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
  pub fn xmlXPathNextSelf(ctxt: *mut xmlXPathParserContext, cur: *mut xmlNode) -> *mut xmlNode;
}
unsafe extern "C" {
  pub fn xmlXPathNextChild(ctxt: *mut xmlXPathParserContext, cur: *mut xmlNode) -> *mut xmlNode;
}
unsafe extern "C" {
  pub fn xmlXPathNextDescendant(
    ctxt: *mut xmlXPathParserContext,
    cur: *mut xmlNode,
  ) -> *mut xmlNode;
}
unsafe extern "C" {
  pub fn xmlXPathNextDescendantOrSelf(
    ctxt: *mut xmlXPathParserContext,
    cur: *mut xmlNode,
  ) -> *mut xmlNode;
}
unsafe extern "C" {
  pub fn xmlXPathNextParent(ctxt: *mut xmlXPathParserContext, cur: *mut xmlNode) -> *mut xmlNode;
}
unsafe extern "C" {
  pub fn xmlXPathNextAncestorOrSelf(
    ctxt: *mut xmlXPathParserContext,
    cur: *mut xmlNode,
  ) -> *mut xmlNode;
}
unsafe extern "C" {
  pub fn xmlXPathNextFollowingSibling(
    ctxt: *mut xmlXPathParserContext,
    cur: *mut xmlNode,
  ) -> *mut xmlNode;
}
unsafe extern "C" {
  pub fn xmlXPathNextFollowing(ctxt: *mut xmlXPathParserContext, cur: *mut xmlNode)
  -> *mut xmlNode;
}
unsafe extern "C" {
  pub fn xmlXPathNextNamespace(ctxt: *mut xmlXPathParserContext, cur: *mut xmlNode)
  -> *mut xmlNode;
}
unsafe extern "C" {
  pub fn xmlXPathNextAttribute(ctxt: *mut xmlXPathParserContext, cur: *mut xmlNode)
  -> *mut xmlNode;
}
unsafe extern "C" {
  pub fn xmlXPathNextPreceding(ctxt: *mut xmlXPathParserContext, cur: *mut xmlNode)
  -> *mut xmlNode;
}
unsafe extern "C" {
  pub fn xmlXPathNextAncestor(ctxt: *mut xmlXPathParserContext, cur: *mut xmlNode) -> *mut xmlNode;
}
unsafe extern "C" {
  pub fn xmlXPathNextPrecedingSibling(
    ctxt: *mut xmlXPathParserContext,
    cur: *mut xmlNode,
  ) -> *mut xmlNode;
}
unsafe extern "C" {
  pub fn xmlXPathLastFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
}
unsafe extern "C" {
  pub fn xmlXPathPositionFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
}
unsafe extern "C" {
  pub fn xmlXPathCountFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
}
unsafe extern "C" {
  pub fn xmlXPathIdFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
}
unsafe extern "C" {
  pub fn xmlXPathLocalNameFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
}
unsafe extern "C" {
  pub fn xmlXPathNamespaceURIFunction(
    ctxt: *mut xmlXPathParserContext,
    nargs: ::std::os::raw::c_int,
  );
}
unsafe extern "C" {
  pub fn xmlXPathStringFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
}
unsafe extern "C" {
  pub fn xmlXPathStringLengthFunction(
    ctxt: *mut xmlXPathParserContext,
    nargs: ::std::os::raw::c_int,
  );
}
unsafe extern "C" {
  pub fn xmlXPathConcatFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
}
unsafe extern "C" {
  pub fn xmlXPathContainsFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
}
unsafe extern "C" {
  pub fn xmlXPathStartsWithFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
}
unsafe extern "C" {
  pub fn xmlXPathSubstringFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
}
unsafe extern "C" {
  pub fn xmlXPathSubstringBeforeFunction(
    ctxt: *mut xmlXPathParserContext,
    nargs: ::std::os::raw::c_int,
  );
}
unsafe extern "C" {
  pub fn xmlXPathSubstringAfterFunction(
    ctxt: *mut xmlXPathParserContext,
    nargs: ::std::os::raw::c_int,
  );
}
unsafe extern "C" {
  pub fn xmlXPathNormalizeFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
}
unsafe extern "C" {
  pub fn xmlXPathTranslateFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
}
unsafe extern "C" {
  pub fn xmlXPathNotFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
}
unsafe extern "C" {
  pub fn xmlXPathTrueFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
}
unsafe extern "C" {
  pub fn xmlXPathFalseFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
}
unsafe extern "C" {
  pub fn xmlXPathLangFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
}
unsafe extern "C" {
  pub fn xmlXPathNumberFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
}
unsafe extern "C" {
  pub fn xmlXPathSumFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
}
unsafe extern "C" {
  pub fn xmlXPathFloorFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
}
unsafe extern "C" {
  pub fn xmlXPathCeilingFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
}
unsafe extern "C" {
  pub fn xmlXPathRoundFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
}
unsafe extern "C" {
  pub fn xmlXPathBooleanFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
}
unsafe extern "C" {
  #[doc = " Really internal functions"]
  pub fn xmlXPathNodeSetFreeNs(ns: *mut xmlNs);
}
unsafe extern "C" {
  pub fn xmlXPtrNewContext(
    doc: *mut xmlDoc,
    here: *mut xmlNode,
    origin: *mut xmlNode,
  ) -> *mut xmlXPathContext;
}
unsafe extern "C" {
  pub fn xmlXPtrEval(str_: *const xmlChar, ctx: *mut xmlXPathContext) -> *mut xmlXPathObject;
}
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,
}