1use core::ffi::c_void;
22use std::os::raw::c_char;
23use std::os::raw::c_int;
24
25use crate::abi::callbacks::{xmlGenericErrorFunc, xmlStructuredErrorFunc};
26use crate::abi::types::xmlChar;
27
28#[no_mangle]
34pub static mut xmlDoValidityCheckingDefaultValue: c_int = 0;
35
36#[no_mangle]
38pub static mut xmlGetWarningsDefaultValue: c_int = 1;
39
40#[no_mangle]
42pub static mut xmlLoadExtDtdDefaultValue: c_int = 0;
43
44#[no_mangle]
46pub static mut xmlPedanticParserDefaultValue: c_int = 0;
47
48#[no_mangle]
50pub static mut xmlLineNumbersDefaultValue: c_int = 0;
51
52#[no_mangle]
54pub static mut xmlKeepBlanksDefaultValue: c_int = 1;
55
56#[no_mangle]
58pub static mut xmlSubstituteEntitiesDefaultValue: c_int = 0;
59
60#[no_mangle]
62pub static mut xmlParserDebugEntities: c_int = 0;
63
64#[no_mangle]
66pub static mut xmlIndentTreeOutput: c_int = 0;
67
68#[no_mangle]
70pub static mut xmlTreeIndentString: *const xmlChar = core::ptr::null();
71
72#[no_mangle]
74pub static mut xmlSaveNoEmptyTags: c_int = 0;
75
76#[no_mangle]
78pub static mut xmlRegisterNodeDefaultValue: Option<
79 unsafe extern "C" fn(*mut crate::abi::structs::_xmlNode),
80> = None;
81
82#[no_mangle]
84pub static mut xmlDeregisterNodeDefaultValue: Option<
85 unsafe extern "C" fn(*mut crate::abi::structs::_xmlNode),
86> = None;
87
88#[no_mangle]
95pub static mut xmlParserVersion: *const c_char = {
96 const S: &[u8] = b"21503\0";
97 S.as_ptr() as *const c_char
98};
99
100#[no_mangle]
102pub static mut xmlParserMaxDepth: c_int = 256;
103
104#[no_mangle]
110pub static mut xmlDefaultBufferSize: c_int = 4096;
111
112#[no_mangle]
114pub static mut xmlBufferAllocScheme: c_int = 0;
115
116#[no_mangle]
122pub static mut xmlGenericError: Option<xmlGenericErrorFunc> = None;
123
124#[no_mangle]
126pub static mut xmlGenericErrorContext: *mut c_void = core::ptr::null_mut();
127
128#[no_mangle]
130pub static mut xmlStructuredError: Option<xmlStructuredErrorFunc> = None;
131
132#[no_mangle]
134pub static mut xmlStructuredErrorContext: *mut c_void = core::ptr::null_mut();
135
136#[no_mangle]
142pub static xmlStringText: [xmlChar; 5] = [b't', b'e', b'x', b't', 0];
143
144#[no_mangle]
146pub static xmlStringTextNoenc: [xmlChar; 9] =
147 [b't', b'e', b'x', b't', b'n', b'o', b'e', b'n', b'c'];
148
149#[no_mangle]
151pub static xmlStringComment: [xmlChar; 8] = [b'c', b'o', b'm', b'm', b'e', b'n', b't', 0];
152
153#[no_mangle]
159pub static xmlXPathNAN: f64 = f64::NAN;
160
161#[no_mangle]
163pub static xmlXPathPINF: f64 = f64::INFINITY;
164
165#[no_mangle]
167pub static xmlXPathNINF: f64 = f64::NEG_INFINITY;
168
169#[no_mangle]
178pub static xsltLibxmlVersion: c_int = 21503;
179
180#[no_mangle]
187pub static mut xsltGenericError: Option<xmlGenericErrorFunc> = None;
188
189#[no_mangle]
191pub static mut xsltGenericErrorContext: *mut c_void = core::ptr::null_mut();
192
193#[no_mangle]
195pub static mut xsltGenericDebugContext: *mut c_void = core::ptr::null_mut();
196
197#[no_mangle]
200pub static xsltExtMarker: [xmlChar; 1] = [0];
201
202#[no_mangle]
207pub static mut xsltDocDefaultLoader: Option<
208 unsafe extern "C" fn(
209 *const xmlChar,
210 *mut c_void,
211 c_int,
212 *mut crate::abi::structs::_xsltStylesheet,
213 *mut crate::abi::structs::_xsltTransformContext,
214 ) -> *mut crate::abi::structs::_xmlDoc,
215> = None;
216
217#[no_mangle]
223pub static mut xmlParserInputBufferCreateFilenameValue: Option<
224 unsafe extern "C" fn(*const c_char, c_int) -> *mut crate::abi::structs::_xmlParserInputBuffer,
225> = None;
226
227#[no_mangle]
229pub static mut xmlOutputBufferCreateFilenameValue: Option<
230 unsafe extern "C" fn(
231 *const c_char,
232 crate::abi::structs::xmlCharEncodingHandlerPtr,
233 c_int,
234 ) -> *mut crate::abi::structs::_xmlOutputBuffer,
235> = None;
236
237#[no_mangle]
249pub static xmlDefaultSAXHandler: crate::abi::structs::_xmlSAXHandlerV1 =
250 crate::abi::structs::_xmlSAXHandlerV1 {
251 internalSubset: Some(crate::abi::exports_xml2::xmlSAX2InternalSubset),
252 isStandalone: Some(crate::abi::exports_xml2::xmlSAX2IsStandalone),
253 hasInternalSubset: Some(crate::abi::exports_xml2::xmlSAX2HasInternalSubset),
254 hasExternalSubset: Some(crate::abi::exports_xml2::xmlSAX2HasExternalSubset),
255 resolveEntity: Some(crate::abi::exports_xml2::xmlSAX2ResolveEntity),
256 getEntity: Some(crate::abi::exports_xml2::xmlSAX2GetEntity),
257 entityDecl: Some(crate::abi::exports_xml2::xmlSAX2EntityDecl),
258 notationDecl: Some(crate::abi::exports_xml2::xmlSAX2NotationDecl),
259 attributeDecl: Some(crate::abi::exports_xml2::xmlSAX2AttributeDecl),
260 elementDecl: Some(crate::abi::exports_xml2::xmlSAX2ElementDecl),
261 unparsedEntityDecl: Some(crate::abi::exports_xml2::xmlSAX2UnparsedEntityDecl),
262 setDocumentLocator: Some(crate::abi::exports_xml2::xmlSAX2SetDocumentLocator),
263 startDocument: Some(crate::abi::exports_xml2::xmlSAX2StartDocument),
264 endDocument: Some(crate::abi::exports_xml2::xmlSAX2EndDocument),
265 startElement: Some(crate::abi::exports_xml2::xmlSAX2StartElement),
266 endElement: Some(crate::abi::exports_xml2::xmlSAX2EndElement),
267 reference: Some(crate::abi::exports_xml2::xmlSAX2Reference),
268 characters: Some(crate::abi::exports_xml2::xmlSAX2Characters),
269 ignorableWhitespace: Some(crate::abi::exports_xml2::xmlSAX2IgnorableWhitespace),
270 processingInstruction: Some(crate::abi::exports_xml2::xmlSAX2ProcessingInstruction),
271 comment: Some(crate::abi::exports_xml2::xmlSAX2Comment),
272 warning: Some(crate::xml::errors::xmlParserWarning),
273 error: Some(crate::xml::errors::xmlParserError),
274 fatalError: Some(crate::xml::errors::xmlParserError),
275 getParameterEntity: Some(crate::abi::exports_xml2::xmlSAX2GetParameterEntity),
276 cdataBlock: Some(crate::abi::exports_xml2::xmlSAX2CDataBlock),
277 externalSubset: Some(crate::abi::exports_xml2::xmlSAX2ExternalSubset),
278 initialized: 1,
279 };
280
281#[no_mangle]
283pub static htmlDefaultSAXHandler: crate::abi::structs::_xmlSAXHandlerV1 =
284 crate::abi::structs::_xmlSAXHandlerV1 {
285 internalSubset: Some(crate::abi::exports_xml2::xmlSAX2InternalSubset),
286 isStandalone: None,
287 hasInternalSubset: None,
288 hasExternalSubset: None,
289 resolveEntity: None,
290 getEntity: Some(crate::abi::exports_xml2::xmlSAX2GetEntity),
291 entityDecl: None,
292 notationDecl: None,
293 attributeDecl: None,
294 elementDecl: None,
295 unparsedEntityDecl: None,
296 setDocumentLocator: Some(crate::abi::exports_xml2::xmlSAX2SetDocumentLocator),
297 startDocument: Some(crate::abi::exports_xml2::xmlSAX2StartDocument),
298 endDocument: Some(crate::abi::exports_xml2::xmlSAX2EndDocument),
299 startElement: Some(crate::abi::exports_xml2::xmlSAX2StartElement),
300 endElement: Some(crate::abi::exports_xml2::xmlSAX2EndElement),
301 reference: None,
302 characters: Some(crate::abi::exports_xml2::xmlSAX2Characters),
303 ignorableWhitespace: Some(crate::abi::exports_xml2::xmlSAX2IgnorableWhitespace),
304 processingInstruction: Some(crate::abi::exports_xml2::xmlSAX2ProcessingInstruction),
305 comment: Some(crate::abi::exports_xml2::xmlSAX2Comment),
306 warning: Some(crate::xml::errors::xmlParserWarning),
307 error: Some(crate::xml::errors::xmlParserError),
308 fatalError: Some(crate::xml::errors::xmlParserError),
309 getParameterEntity: None,
310 cdataBlock: Some(crate::abi::exports_xml2::xmlSAX2CDataBlock),
311 externalSubset: None,
312 initialized: 1,
313 };
314
315#[no_mangle]
317pub static xmlDefaultSAXLocator: crate::abi::callbacks::_xmlSAXLocator =
318 crate::abi::callbacks::_xmlSAXLocator {
319 getPublicId: Some(crate::abi::exports_xml2::xmlSAX2GetPublicId),
320 getSystemId: Some(crate::abi::exports_xml2::xmlSAX2GetSystemId),
321 getLineNumber: Some(crate::abi::exports_xml2::xmlSAX2GetLineNumber),
322 getColumnNumber: Some(crate::abi::exports_xml2::xmlSAX2GetColumnNumber),
323 };
324
325#[no_mangle]
337pub static mut xmlLastError: crate::abi::structs::_xmlError = crate::abi::structs::_xmlError {
338 domain: 0,
339 code: 0,
340 message: core::ptr::null_mut(),
341 level: 0,
342 file: core::ptr::null_mut(),
343 line: 0,
344 str1: core::ptr::null_mut(),
345 str2: core::ptr::null_mut(),
346 str3: core::ptr::null_mut(),
347 int1: 0,
348 int2: 0,
349 ctxt: core::ptr::null_mut(),
350 node: core::ptr::null_mut(),
351};
352
353pub unsafe fn sync_xml_last_error(err: *const crate::abi::structs::_xmlError) {
364 if err.is_null() {
365 return;
366 }
367 unsafe {
368 reset_xml_last_error();
369 let src = &*err;
370 let dst = core::ptr::addr_of_mut!(xmlLastError);
371 (*dst).domain = src.domain;
372 (*dst).code = src.code;
373 (*dst).level = src.level;
374 (*dst).line = src.line;
375 (*dst).int1 = src.int1;
376 (*dst).int2 = src.int2;
377 (*dst).ctxt = src.ctxt;
378 (*dst).node = src.node;
379 (*dst).message = dup_cstr(src.message as *const u8);
380 (*dst).file = dup_cstr(src.file as *const u8);
381 (*dst).str1 = dup_cstr(src.str1 as *const u8);
382 (*dst).str2 = dup_cstr(src.str2 as *const u8);
383 (*dst).str3 = dup_cstr(src.str3 as *const u8);
384 }
385}
386
387pub unsafe fn reset_xml_last_error() {
395 unsafe {
396 let dst = core::ptr::addr_of_mut!(xmlLastError);
397 if !(*dst).message.is_null() {
398 libc::free((*dst).message as *mut libc::c_void);
399 }
400 if !(*dst).file.is_null() {
401 libc::free((*dst).file as *mut libc::c_void);
402 }
403 if !(*dst).str1.is_null() {
404 libc::free((*dst).str1 as *mut libc::c_void);
405 }
406 if !(*dst).str2.is_null() {
407 libc::free((*dst).str2 as *mut libc::c_void);
408 }
409 if !(*dst).str3.is_null() {
410 libc::free((*dst).str3 as *mut libc::c_void);
411 }
412 *dst = crate::abi::structs::_xmlError {
413 domain: 0,
414 code: 0,
415 message: core::ptr::null_mut(),
416 level: 0,
417 file: core::ptr::null_mut(),
418 line: 0,
419 str1: core::ptr::null_mut(),
420 str2: core::ptr::null_mut(),
421 str3: core::ptr::null_mut(),
422 int1: 0,
423 int2: 0,
424 ctxt: core::ptr::null_mut(),
425 node: core::ptr::null_mut(),
426 };
427 }
428}
429
430unsafe fn dup_cstr(s: *const u8) -> *mut c_char {
432 if s.is_null() {
433 return core::ptr::null_mut();
434 }
435 unsafe {
436 let len = libc::strlen(s as *const libc::c_char) as usize;
437 let p = libc::malloc(len + 1) as *mut u8;
438 if p.is_null() {
439 return core::ptr::null_mut();
440 }
441 libc::memcpy(p as *mut libc::c_void, s as *const libc::c_void, len + 1);
442 p as *mut c_char
443 }
444}
445
446#[no_mangle]
457pub unsafe extern "C" fn xmlKeepBlanksDefault(v: c_int) -> c_int {
458 unsafe {
459 if v != 0 {
460 xmlKeepBlanksDefaultValue = v;
461 }
462 xmlKeepBlanksDefaultValue
463 }
464}
465
466#[no_mangle]
468pub unsafe extern "C" fn xmlLineNumbersDefault(v: c_int) -> c_int {
469 unsafe {
470 if v != 0 {
471 xmlLineNumbersDefaultValue = v;
472 }
473 xmlLineNumbersDefaultValue
474 }
475}
476
477#[no_mangle]
479pub unsafe extern "C" fn xmlSubstituteEntitiesDefault(v: c_int) -> c_int {
480 unsafe {
481 if v != 0 {
482 xmlSubstituteEntitiesDefaultValue = v;
483 }
484 xmlSubstituteEntitiesDefaultValue
485 }
486}
487
488#[no_mangle]
490pub unsafe extern "C" fn xmlPedanticParserDefault(v: c_int) -> c_int {
491 unsafe {
492 if v != 0 {
493 xmlPedanticParserDefaultValue = v;
494 }
495 xmlPedanticParserDefaultValue
496 }
497}
498
499#[no_mangle]
505pub unsafe extern "C" fn xmlRegisterNodeDefault(
506 func: Option<unsafe extern "C" fn(*mut crate::abi::structs::_xmlNode)>,
507) -> Option<unsafe extern "C" fn(*mut crate::abi::structs::_xmlNode)> {
508 unsafe {
509 if func.is_some() {
510 xmlRegisterNodeDefaultValue = func;
511 }
512 xmlRegisterNodeDefaultValue
513 }
514}
515
516#[no_mangle]
518pub unsafe extern "C" fn xmlDeregisterNodeDefault(
519 func: Option<unsafe extern "C" fn(*mut crate::abi::structs::_xmlNode)>,
520) -> Option<unsafe extern "C" fn(*mut crate::abi::structs::_xmlNode)> {
521 unsafe {
522 if func.is_some() {
523 xmlDeregisterNodeDefaultValue = func;
524 }
525 xmlDeregisterNodeDefaultValue
526 }
527}
528
529#[no_mangle]
532pub unsafe extern "C" fn __xmlIndentTreeOutput() -> *mut c_int {
533 unsafe { core::ptr::addr_of_mut!(xmlIndentTreeOutput) }
534}
535
536#[no_mangle]
539pub unsafe extern "C" fn __xmlSaveNoEmptyTags() -> *mut c_int {
540 unsafe { core::ptr::addr_of_mut!(xmlSaveNoEmptyTags) }
541}
542
543#[no_mangle]
546pub unsafe extern "C" fn __xmlTreeIndentString() -> *mut *const xmlChar {
547 unsafe { core::ptr::addr_of_mut!(xmlTreeIndentString) }
548}
549
550#[no_mangle]
562pub unsafe extern "C" fn xmlThrDefDoValidityCheckingDefaultValue(v: c_int) -> c_int {
563 unsafe {
564 if v != 0 {
565 xmlDoValidityCheckingDefaultValue = v;
566 }
567 xmlDoValidityCheckingDefaultValue
568 }
569}
570
571#[no_mangle]
573pub unsafe extern "C" fn xmlThrDefGetWarningsDefaultValue(v: c_int) -> c_int {
574 unsafe {
575 if v != 0 {
576 xmlGetWarningsDefaultValue = v;
577 }
578 xmlGetWarningsDefaultValue
579 }
580}
581
582#[no_mangle]
584pub unsafe extern "C" fn xmlThrDefLoadExtDtdDefaultValue(v: c_int) -> c_int {
585 unsafe {
586 if v != 0 {
587 xmlLoadExtDtdDefaultValue = v;
588 }
589 xmlLoadExtDtdDefaultValue
590 }
591}
592
593#[no_mangle]
595pub unsafe extern "C" fn xmlThrDefPedanticParserDefaultValue(v: c_int) -> c_int {
596 unsafe {
597 if v != 0 {
598 xmlPedanticParserDefaultValue = v;
599 }
600 xmlPedanticParserDefaultValue
601 }
602}
603
604#[no_mangle]
606pub unsafe extern "C" fn xmlThrDefLineNumbersDefaultValue(v: c_int) -> c_int {
607 unsafe {
608 if v != 0 {
609 xmlLineNumbersDefaultValue = v;
610 }
611 xmlLineNumbersDefaultValue
612 }
613}
614
615#[no_mangle]
617pub unsafe extern "C" fn xmlThrDefKeepBlanksDefaultValue(v: c_int) -> c_int {
618 unsafe {
619 if v != 0 {
620 xmlKeepBlanksDefaultValue = v;
621 }
622 xmlKeepBlanksDefaultValue
623 }
624}
625
626#[no_mangle]
628pub unsafe extern "C" fn xmlThrDefSubstituteEntitiesDefaultValue(v: c_int) -> c_int {
629 unsafe {
630 if v != 0 {
631 xmlSubstituteEntitiesDefaultValue = v;
632 }
633 xmlSubstituteEntitiesDefaultValue
634 }
635}
636
637#[no_mangle]
639pub unsafe extern "C" fn xmlThrDefParserDebugEntities(v: c_int) -> c_int {
640 unsafe {
641 if v != 0 {
642 xmlParserDebugEntities = v;
643 }
644 xmlParserDebugEntities
645 }
646}
647
648#[no_mangle]
650pub unsafe extern "C" fn xmlThrDefIndentTreeOutput(v: c_int) -> c_int {
651 unsafe {
652 if v != 0 {
653 xmlIndentTreeOutput = v;
654 }
655 xmlIndentTreeOutput
656 }
657}
658
659#[no_mangle]
662pub unsafe extern "C" fn xmlThrDefTreeIndentString(v: *const c_char) -> *const c_char {
663 unsafe {
664 if !v.is_null() {
665 xmlTreeIndentString = v as *const xmlChar;
666 }
667 xmlTreeIndentString as *const c_char
668 }
669}
670
671#[no_mangle]
673pub unsafe extern "C" fn xmlThrDefSaveNoEmptyTags(v: c_int) -> c_int {
674 unsafe {
675 if v != 0 {
676 xmlSaveNoEmptyTags = v;
677 }
678 xmlSaveNoEmptyTags
679 }
680}
681
682#[no_mangle]
684pub unsafe extern "C" fn xmlThrDefRegisterNodeDefault(
685 func: Option<unsafe extern "C" fn(*mut crate::abi::structs::_xmlNode)>,
686) -> Option<unsafe extern "C" fn(*mut crate::abi::structs::_xmlNode)> {
687 unsafe {
688 if func.is_some() {
689 xmlRegisterNodeDefaultValue = func;
690 }
691 xmlRegisterNodeDefaultValue
692 }
693}
694
695#[no_mangle]
697pub unsafe extern "C" fn xmlThrDefDeregisterNodeDefault(
698 func: Option<unsafe extern "C" fn(*mut crate::abi::structs::_xmlNode)>,
699) -> Option<unsafe extern "C" fn(*mut crate::abi::structs::_xmlNode)> {
700 unsafe {
701 if func.is_some() {
702 xmlDeregisterNodeDefaultValue = func;
703 }
704 xmlDeregisterNodeDefaultValue
705 }
706}
707
708#[no_mangle]
710pub unsafe extern "C" fn xmlThrDefSetGenericErrorFunc(
711 ctx: *mut c_void,
712 func: Option<xmlGenericErrorFunc>,
713) {
714 unsafe {
715 xmlGenericErrorContext = ctx;
716 xmlGenericError = func;
717 }
718}
719
720#[no_mangle]
722pub unsafe extern "C" fn xmlThrDefSetStructuredErrorFunc(
723 ctx: *mut c_void,
724 func: Option<xmlStructuredErrorFunc>,
725) {
726 unsafe {
727 xmlStructuredErrorContext = ctx;
728 xmlStructuredError = func;
729 }
730}
731
732#[no_mangle]
734pub unsafe extern "C" fn xmlThrDefDefaultBufferSize(v: c_int) -> c_int {
735 unsafe {
736 if v != 0 {
737 xmlDefaultBufferSize = v;
738 }
739 xmlDefaultBufferSize
740 }
741}
742
743#[no_mangle]
745pub unsafe extern "C" fn xmlThrDefBufferAllocScheme(v: c_int) -> c_int {
746 unsafe {
747 if v != 0 {
748 xmlBufferAllocScheme = v;
749 }
750 xmlBufferAllocScheme
751 }
752}
753
754#[no_mangle]
756pub unsafe extern "C" fn xmlThrDefParserInputBufferCreateFilenameDefault(
757 func: Option<
758 unsafe extern "C" fn(
759 *const c_char,
760 c_int,
761 ) -> *mut crate::abi::structs::_xmlParserInputBuffer,
762 >,
763) -> Option<
764 unsafe extern "C" fn(*const c_char, c_int) -> *mut crate::abi::structs::_xmlParserInputBuffer,
765> {
766 unsafe {
767 if func.is_some() {
768 xmlParserInputBufferCreateFilenameValue = func;
769 }
770 xmlParserInputBufferCreateFilenameValue
771 }
772}
773
774#[no_mangle]
776pub unsafe extern "C" fn xmlThrDefOutputBufferCreateFilenameDefault(
777 func: Option<
778 unsafe extern "C" fn(
779 *const c_char,
780 crate::abi::structs::xmlCharEncodingHandlerPtr,
781 c_int,
782 ) -> *mut crate::abi::structs::_xmlOutputBuffer,
783 >,
784) -> Option<
785 unsafe extern "C" fn(
786 *const c_char,
787 crate::abi::structs::xmlCharEncodingHandlerPtr,
788 c_int,
789 ) -> *mut crate::abi::structs::_xmlOutputBuffer,
790> {
791 unsafe {
792 if func.is_some() {
793 xmlOutputBufferCreateFilenameValue = func;
794 }
795 xmlOutputBufferCreateFilenameValue
796 }
797}
798
799#[no_mangle]
807pub unsafe extern "C" fn __xmlBufferAllocScheme() -> *mut c_int {
808 unsafe { core::ptr::addr_of_mut!(xmlBufferAllocScheme) }
811}
812
813#[no_mangle]
815pub unsafe extern "C" fn __xmlDefaultBufferSize() -> *mut c_int {
816 unsafe { core::ptr::addr_of_mut!(xmlDefaultBufferSize) }
819}
820
821#[no_mangle]
823pub unsafe extern "C" fn __xmlDeregisterNodeDefaultValue(
824) -> *mut Option<unsafe extern "C" fn(*mut crate::abi::structs::_xmlNode)> {
825 unsafe { core::ptr::addr_of_mut!(xmlDeregisterNodeDefaultValue) }
828}
829
830#[no_mangle]
832pub unsafe extern "C" fn __xmlDoValidityCheckingDefaultValue() -> *mut c_int {
833 unsafe { core::ptr::addr_of_mut!(xmlDoValidityCheckingDefaultValue) }
836}
837
838#[no_mangle]
840pub unsafe extern "C" fn __xmlGenericError() -> *mut Option<xmlGenericErrorFunc> {
841 unsafe { core::ptr::addr_of_mut!(xmlGenericError) }
844}
845
846#[no_mangle]
848pub unsafe extern "C" fn __xmlGenericErrorContext() -> *mut *mut c_void {
849 unsafe { core::ptr::addr_of_mut!(xmlGenericErrorContext) }
852}
853
854#[no_mangle]
856pub unsafe extern "C" fn __xmlGetWarningsDefaultValue() -> *mut c_int {
857 unsafe { core::ptr::addr_of_mut!(xmlGetWarningsDefaultValue) }
860}
861
862#[no_mangle]
864pub unsafe extern "C" fn __xmlKeepBlanksDefaultValue() -> *mut c_int {
865 unsafe { core::ptr::addr_of_mut!(xmlKeepBlanksDefaultValue) }
868}
869
870#[no_mangle]
872pub unsafe extern "C" fn __xmlLineNumbersDefaultValue() -> *mut c_int {
873 unsafe { core::ptr::addr_of_mut!(xmlLineNumbersDefaultValue) }
876}
877
878#[no_mangle]
880pub unsafe extern "C" fn __xmlLoadExtDtdDefaultValue() -> *mut c_int {
881 unsafe { core::ptr::addr_of_mut!(xmlLoadExtDtdDefaultValue) }
884}
885
886#[no_mangle]
888pub unsafe extern "C" fn __xmlOutputBufferCreateFilenameValue() -> *mut Option<
889 unsafe extern "C" fn(
890 *const c_char,
891 crate::abi::structs::xmlCharEncodingHandlerPtr,
892 c_int,
893 ) -> *mut crate::abi::structs::_xmlOutputBuffer,
894> {
895 unsafe { core::ptr::addr_of_mut!(xmlOutputBufferCreateFilenameValue) }
898}
899
900#[no_mangle]
902pub unsafe extern "C" fn __xmlParserDebugEntities() -> *mut c_int {
903 unsafe { core::ptr::addr_of_mut!(xmlParserDebugEntities) }
906}
907
908#[no_mangle]
910pub unsafe extern "C" fn __xmlParserInputBufferCreateFilenameValue() -> *mut Option<
911 unsafe extern "C" fn(*const c_char, c_int) -> *mut crate::abi::structs::_xmlParserInputBuffer,
912> {
913 unsafe { core::ptr::addr_of_mut!(xmlParserInputBufferCreateFilenameValue) }
916}
917
918#[no_mangle]
920pub unsafe extern "C" fn __xmlParserVersion() -> *mut *const c_char {
921 unsafe { core::ptr::addr_of_mut!(xmlParserVersion) }
924}
925
926#[no_mangle]
928pub unsafe extern "C" fn __xmlPedanticParserDefaultValue() -> *mut c_int {
929 unsafe { core::ptr::addr_of_mut!(xmlPedanticParserDefaultValue) }
932}
933
934#[no_mangle]
936pub unsafe extern "C" fn __xmlRegisterNodeDefaultValue(
937) -> *mut Option<unsafe extern "C" fn(*mut crate::abi::structs::_xmlNode)> {
938 unsafe { core::ptr::addr_of_mut!(xmlRegisterNodeDefaultValue) }
941}
942
943#[no_mangle]
945pub unsafe extern "C" fn __xmlStructuredError() -> *mut Option<xmlStructuredErrorFunc> {
946 unsafe { core::ptr::addr_of_mut!(xmlStructuredError) }
949}
950
951#[no_mangle]
953pub unsafe extern "C" fn __xmlStructuredErrorContext() -> *mut *mut c_void {
954 unsafe { core::ptr::addr_of_mut!(xmlStructuredErrorContext) }
957}
958
959#[no_mangle]
961pub unsafe extern "C" fn __xmlSubstituteEntitiesDefaultValue() -> *mut c_int {
962 unsafe { core::ptr::addr_of_mut!(xmlSubstituteEntitiesDefaultValue) }
965}