libxml-rs 0.1.0-alpha.21

Native-Rust forensic reimplementation of libxml2+libxslt with C ABI drop-in replacement. Cross-version oracle matrix (libxml2 2.7.8-2.15.3, libxslt 1.1.26-1.1.45) with semantic epochs correlated to upstream commits; full xmllint/xmlcatalog/xsltproc CLIs; differential-court-verified C API closure (xmlXPath*, xmlTextReader*, xmlTextWriter*, catalogs, serialization, data globals, chvalid, encoding, the full libxslt surface) — parity ledger at 0 missing for both libxml2 and libxslt. 1135 tests passing.
Documentation
/**
 * @file
 *
 * Global state API for libxml-rs
 */

#ifndef __XML_GLOBALS_H__
#define __XML_GLOBALS_H__

#include <libxml/xmlversion.h>
#include <libxml/xmlerror.h>
#include <libxml/parser.h>

#ifdef __cplusplus
extern "C" {
#endif

XMLPUBFUN void xmlInitGlobals(void);
XMLPUBFUN void xmlCleanupGlobals(void);

/* Exported data globals (upstream globals.h XMLPUBVAR declarations). */
XMLPUBVAR int xmlDoValidityCheckingDefaultValue;
XMLPUBVAR int xmlGetWarningsDefaultValue;
XMLPUBVAR int xmlLoadExtDtdDefaultValue;
XMLPUBVAR int xmlPedanticParserDefaultValue;
XMLPUBVAR int xmlKeepBlanksDefaultValue;
XMLPUBVAR int xmlLineNumbersDefaultValue;
XMLPUBVAR int xmlSubstituteEntitiesDefaultValue;
XMLPUBVAR int xmlParserDebugEntities;
XMLPUBVAR int xmlIndentTreeOutput;
XMLPUBVAR int xmlTreeIndentNumber;
XMLPUBVAR const char *xmlTreeIndentString;
XMLPUBVAR const char *xmlParserVersion;
XMLPUBVAR int xmlSaveNoEmptyTags;
XMLPUBVAR xmlGenericErrorFunc xmlGenericError;
XMLPUBVAR void *xmlGenericErrorContext;
XMLPUBVAR xmlStructuredErrorFunc xmlStructuredError;
XMLPUBVAR void *xmlStructuredErrorContext;
XMLPUBVAR xmlBufferAllocationScheme xmlBufferAllocScheme;
XMLPUBVAR int xmlDefaultBufferSize;
XMLPUBVAR int xmlParserMaxDepth;

#ifdef __cplusplus
}
#endif

#endif /* __XML_GLOBALS_H__ */