["Offset of field: __mbstate_t::__count"][::std::mem::offset_of!(__mbstate_t, __count) - 0usize];
["Offset of field: __mbstate_t::__value"][::std::mem::offset_of!(__mbstate_t, __value) - 4usize];
["Offset of field: _G_fpos64_t::__state"][::std::mem::offset_of!(_G_fpos64_t, __state) - 8usize];
["Offset of field: _IO_FILE::_shortbuf"][::std::mem::offset_of!(_IO_FILE, _shortbuf) - 131usize];
["Offset of field: _IO_FILE::_codecvt"][::std::mem::offset_of!(_IO_FILE, _codecvt) - 152usize];
["Offset of field: _IO_FILE::_unused3"][::std::mem::offset_of!(_IO_FILE, _unused3) - 196usize];
["Offset of field: _IO_FILE::_unused2"][::std::mem::offset_of!(_IO_FILE, _unused2) - 208usize];
pub fn fdopen(__fd: ::std::os::raw::c_int, __modes: *const ::std::os::raw::c_char) -> *mut FILE;
pub fn fputc_unlocked(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int;
pub fn putc_unlocked(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int;
pub fn fputs(__s: *const ::std::os::raw::c_char, __stream: *mut FILE) -> ::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 fn xmlUTF8Strsize(utf: *const xmlChar, len: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
#[doc = " Signature for a free() implementation.\n\n @param mem an already allocated block of memory"]
#[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."]
#[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."]
#[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."]
#[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"]
#[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"]
#[doc = " Parser input buffer\n\n This struct and all related functions should ultimately\n be removed from the public interface."]
#[doc = " A buffer structure, this old construct is limited to 2GB and\n is being deprecated, use API with xmlBuf instead."]
["Offset of field: _xmlBuffer::content"][::std::mem::offset_of!(_xmlBuffer, content) - 0usize];
#[doc = " An entity reference.\n\n Objects of this type are an xmlNode. The `children` member\n points to the entity declaration if available."]
#[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."]
#[doc = " An XInclude start marker.\n\n Objects of this type are an xmlNode. Inserted as preceding\n sibling of XIncluded content."]
#[doc = " An XInclude end marker.\n\n Objects of this type are an xmlNode. Inserted as following\n sibling of XIncluded content."]
#[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."]
#[doc = " A DTD Notation definition.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."]
#[doc = " List structure used when there is an enumeration in DTDs.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."]
#[doc = " An Attribute declaration in a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."]
["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::last"][::std::mem::offset_of!(_xmlAttribute, last) - 32usize];
["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::nexth"][::std::mem::offset_of!(_xmlAttribute, nexth) - 72usize];
["Offset of field: _xmlAttribute::atype"][::std::mem::offset_of!(_xmlAttribute, atype) - 80usize];
["Offset of field: _xmlAttribute::tree"][::std::mem::offset_of!(_xmlAttribute, tree) - 96usize];
["Offset of field: _xmlAttribute::elem"][::std::mem::offset_of!(_xmlAttribute, elem) - 112usize];
#[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."]
#[doc = " An XML Element declaration from a DTD.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."]
["Offset of field: _xmlElement::parent"][::std::mem::offset_of!(_xmlElement, parent) - 40usize];
["Offset of field: _xmlElement::content"][::std::mem::offset_of!(_xmlElement, content) - 80usize];
["Offset of field: _xmlElement::prefix"][::std::mem::offset_of!(_xmlElement, prefix) - 96usize];
#[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."]
#[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."]
#[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."]
["Offset of field: _xmlDtd::attributes"][::std::mem::offset_of!(_xmlDtd, attributes) - 88usize];
["Offset of field: _xmlDtd::ExternalID"][::std::mem::offset_of!(_xmlDtd, ExternalID) - 104usize];
["Offset of field: _xmlDtd::pentities"][::std::mem::offset_of!(_xmlDtd, pentities) - 120usize];
#[doc = " An XML ID instance.\n\n Should be treated as opaque. Accessing members directly\n is deprecated."]
#[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."]
#[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"]
#[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."]
#[doc = " Content of text, comment, PI nodes.\n\n Sort index for elements after calling #xmlXPathOrderDocElems.\n Content of internal entities for entity references."]
#[doc = " First attribute of element.\n\n Also used to store small strings with XML_PARSE_COMPACT."]
["Offset of field: _xmlNode::properties"][::std::mem::offset_of!(_xmlNode, properties) - 88usize];
#[doc = " Set of properties of the document as found by the parser.\n Some of them are linked to similarly named xmlParserOption."]
#[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"]
["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::parseFlags"][::std::mem::offset_of!(_xmlDoc, parseFlags) - 168usize];
["Offset of field: _xmlDoc::properties"][::std::mem::offset_of!(_xmlDoc, properties) - 172usize];
#[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."]
#[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)>;
pub fn xmlSplitQName3(name: *const xmlChar, len: *mut ::std::os::raw::c_int) -> *const xmlChar;
pub fn xmlNewNs(node: *mut xmlNode, href: *const xmlChar, prefix: *const xmlChar) -> *mut xmlNs;
pub fn xmlIsXHTML(systemID: *const xmlChar, publicID: *const xmlChar) -> ::std::os::raw::c_int;
pub fn xmlBufferGrow(buf: *mut xmlBuffer, len: ::std::os::raw::c_uint) -> ::std::os::raw::c_int;
#[doc = " Hash table mapping strings to pointers\n\n Also supports lookup using two or three strings as key."]
#[doc = " Callback to free data from a hash.\n\n @param payload the data in the hash\n @param name the name associated"]
#[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."]
#[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"]
#[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 fn xmlHashCreateDict(size: ::std::os::raw::c_int, dict: *mut xmlDict) -> *mut xmlHashTable;
#[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."]
#[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 xmlParserErrors_XML_SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE: xmlParserErrors = 3005;
pub const xmlParserErrors_XML_SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPES: xmlParserErrors = 3007;
#[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"]
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 fn xmlParserError(ctx: *mut ::std::os::raw::c_void, msg: *const ::std::os::raw::c_char, ...);
#[doc = " Callback function used to free data from a list.\n\n @param lk the data to deallocate"]
#[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."]
#[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."]
#[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"]
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"]
unsafe extern "C" fn(ctx: *mut ::std::os::raw::c_void, msg: *const ::std::os::raw::c_char, ...),
["Offset of field: _xmlValidCtxt::error"][::std::mem::offset_of!(_xmlValidCtxt, error) - 8usize];
["Offset of field: _xmlValidCtxt::node"][::std::mem::offset_of!(_xmlValidCtxt, node) - 24usize];
["Offset of field: _xmlValidCtxt::flags"][::std::mem::offset_of!(_xmlValidCtxt, flags) - 48usize];
["Offset of field: _xmlValidCtxt::valid"][::std::mem::offset_of!(_xmlValidCtxt, valid) - 64usize];
pub fn xmlValidateDtdFinal(ctxt: *mut xmlValidCtxt, doc: *mut xmlDoc) -> ::std::os::raw::c_int;
pub fn xmlValidateDocument(ctxt: *mut xmlValidCtxt, doc: *mut xmlDoc) -> ::std::os::raw::c_int;
["Offset of field: _xmlEntity::_private"][::std::mem::offset_of!(_xmlEntity, _private) - 0usize];
["Offset of field: _xmlEntity::children"][::std::mem::offset_of!(_xmlEntity, children) - 24usize];
["Offset of field: _xmlEntity::content"][::std::mem::offset_of!(_xmlEntity, content) - 80usize];
#[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."]
#[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."]
#[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."]
#[doc = " A character encoding conversion handler for non UTF-8 encodings.\n\n This structure will be made private."]
["Size of _xmlCharEncodingHandler"][::std::mem::size_of::<_xmlCharEncodingHandler>() - 56usize];
#[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."]
#[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"]
#[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"]
#[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"]
#[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"]
#[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"]
#[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"]
#[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"]
#[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"]
#[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."]
#[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."]
#[doc = " Parser input buffer\n\n This struct and all related functions should ultimately\n be removed from the public interface."]
["Alignment of _xmlParserInputBuffer"][::std::mem::align_of::<_xmlParserInputBuffer>() - 8usize];
pub fn __xmlParserInputBufferCreateFilenameValue() -> *mut xmlParserInputBufferCreateFilenameFunc;
#[doc = " The input buffer is zero-terminated. (Note that the zero\nbyte shouldn't be included in buffer size.)"]
pub type xmlParserInputDeallocate = ::std::option::Option<unsafe extern "C" fn(str_: *mut xmlChar)>;
["Offset of field: _xmlParserInput::buf"][::std::mem::offset_of!(_xmlParserInput, buf) - 0usize];
["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::col"][::std::mem::offset_of!(_xmlParserInput, col) - 56usize];
["Offset of field: _xmlParserInput::id"][::std::mem::offset_of!(_xmlParserInput, id) - 100usize];
["Alignment of _xmlParserNodeInfoSeq"][::std::mem::align_of::<_xmlParserNodeInfoSeq>() - 8usize];
#[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."]
#[doc = " @deprecated Use xmlCtxtGetSaxHandler() and\n xmlCtxtSetSaxHandler().\n\n the SAX handler"]
#[doc = " @deprecated Use #xmlCtxtGetUserData\n\n user data for SAX interface, defaults to the context itself"]
#[doc = " @deprecated Use xmlCtxtIsHtml()\n\n non-zero for HTML documents, actually an htmlInsertMode"]
#[doc = " @deprecated Don't use\n\n The main document URI, if available, with its last\n component stripped."]
#[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"]
#[doc = " @deprecated Use the `name` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n Name of the internal subset (root element type)."]
#[doc = " @deprecated Use the `systemId` argument of the\n `internalSubset` SAX callback or #xmlCtxtGetDocTypeDecl\n\n System identifier (URI) of external the subset."]
#[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."]
#[doc = " @deprecated Use xmlCtxtGetPrivate() and xmlCtxtSetPrivate()\n\n For user data, libxml won't touch it"]
#[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."]
#[doc = " @deprecated Use xmlCtxtGetCatalogs() and xmlCtxtSetCatalogs()\n\n document's own catalog"]
#[doc = " @deprecated Use xmlCtxtGetDict() and xmlCtxtSetDict()\n\n dictionary for the parser"]
#[doc = " @deprecated Use inverted xmlParserOption XML_PARSE_NODICT\n\n Use dictionary names for the tree"]
#[doc = " @deprecated Use xmlCtxtGetLastError()\n\n the complete error information for the last error."]
["Offset of field: _xmlParserCtxt::sax"][::std::mem::offset_of!(_xmlParserCtxt, sax) - 0usize];
["Offset of field: _xmlParserCtxt::html"][::std::mem::offset_of!(_xmlParserCtxt, html) - 52usize];
["Offset of field: _xmlParserCtxt::node"][::std::mem::offset_of!(_xmlParserCtxt, node) - 80usize];
::std::option::Option<unsafe extern "C" fn(ctx: *mut ::std::os::raw::c_void) -> *const xmlChar>,
::std::option::Option<unsafe extern "C" fn(ctx: *mut ::std::os::raw::c_void) -> *const xmlChar>,
#[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."]
#[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)"]
#[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)"]
#[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."]
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."]
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)."]
#[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"]
#[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"]
#[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"]
#[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"]
#[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"]
#[doc = " SAX callback for start of document.\n\n @param ctx the user data (XML parser context)"]
#[doc = " SAX callback for end of document.\n\n @param ctx the user data (XML parser context)"]
#[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"]
#[doc = " SAX callback for end tags.\n\n @param ctx the user data (XML parser context)\n @param name The element name"]
#[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"]
#[doc = " SAX callback for entity references.\n\n @param ctx the user data (XML parser context)\n @param name The entity name"]
#[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"]
#[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"]
#[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"]
#[doc = " SAX callback for comments.\n\n @param ctx the user data (XML parser context)\n @param value the comment content"]
#[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"]
#[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"]
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"]
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"]
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"]
#[doc = " SAX callback to get internal subset status.\n\n @param ctx the user data (XML parser context)\n @returns 1 if true"]
#[doc = " SAX callback to get external subset status.\n\n @param ctx the user data (XML parser context)\n @returns 1 if true"]
#[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."]
#[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"]
#[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."]
#[doc = " Called after the start of the document type declaration\n was parsed.\n\n Should typically not be modified."]
#[doc = " Standalone status. Not invoked by the parser. Not supposed\n to be changed by applications."]
#[doc = " Internal subset availability. Not invoked by the parser.\n Not supposed to be changed by applications."]
#[doc = " External subset availability. Not invoked by the parser.\n Not supposed to be changed by applications."]
#[doc = " Only called when loading external DTDs. Not called to load\n external entities.\n\n Should typically not be modified."]
#[doc = " Called after an entity declaration was parsed.\n\n Should typically not be modified."]
#[doc = " Called after a notation declaration was parsed.\n\n Should typically not be modified."]
#[doc = " Called after an attribute declaration was parsed.\n\n Should typically not be modified."]
#[doc = " Called after an element declaration was parsed.\n\n Should typically not be modified."]
#[doc = " Called after an unparsed entity declaration was parsed.\n\n Should typically not be modified."]
#[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."]
#[doc = " Called after the XML declaration was parsed.\n\n Use xmlCtxtGetVersion(), xmlCtxtGetDeclaredEncoding() and\n xmlCtxtGetStandalone() to get data from the XML declaration."]
#[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."]
#[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."]
#[doc = " Legacy magic value\n\n `initialized` should always be set to XML_SAX2_MAGIC to\n enable the modern SAX2 interface."]
#[doc = " Structured error handler.\n\n Takes precedence over `error` or `warning`, but modern code\n should use xmlCtxtSetErrorHandler()."]
#[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."]
#[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."]
#[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."]
#[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."]
#[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."]
#[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."]
#[doc = " Disable error and warning reports to the error handlers.\n Errors are still accessible with xmlCtxtGetLastError()."]
#[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."]
#[doc = " Always invoke the deprecated SAX1 startElement and endElement\n handlers.\n\n @deprecated This option will be removed in a future version."]
#[doc = " Enable XInclude processing. This option only affects the\n xmlTextReader and XInclude interfaces."]
#[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."]
#[doc = " Create a document without interned strings, making all\n strings separate memory allocations."]
#[doc = " Don't generate XInclude start/end nodes when expanding\n inclusions. This option only affects the xmlTextReader\n and XInclude interfaces."]
#[doc = " Use old Name productions from before XML 1.0 Fifth Edition.\n\n @deprecated This option will be removed in a future version."]
#[doc = " Don't fix up XInclude xml:base URIs. This option only affects\n the xmlTextReader and XInclude interfaces."]
#[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"]
#[doc = " Enable an unspecified legacy mode for SAX parsers.\n\n @deprecated This option will be removed in a future version."]
#[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."]
#[doc = " Enable input decompression. Setting this option is discouraged\n to avoid zip bombs.\n\n @since 2.14.0"]
#[doc = " This is the set of XML parser options that can be passed to\n #xmlReadDoc, #xmlCtxtSetOptions and other functions."]
pub fn xmlCtxtParseDocument(ctxt: *mut xmlParserCtxt, input: *mut xmlParserInput) -> *mut xmlDoc;
#[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"]
["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];
#[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"]
["Offset of field: _xmlXPathType::name"][::std::mem::offset_of!(_xmlXPathType, name) - 0usize];
["Offset of field: _xmlXPathType::func"][::std::mem::offset_of!(_xmlXPathType, func) - 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];
["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"]
#[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."]
#[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."]
#[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."]
#[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."]
#[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 fn xmlACatalogRemove(catal: *mut xmlCatalog, value: *const xmlChar) -> ::std::os::raw::c_int;
pub fn xmlACatalogResolveSystem(catal: *mut xmlCatalog, sysID: *const xmlChar) -> *mut xmlChar;
pub fn xmlACatalogResolvePublic(catal: *mut xmlCatalog, pubID: *const xmlChar) -> *mut xmlChar;
["Offset of field: _htmlElemDesc::name"][::std::mem::offset_of!(_htmlElemDesc, name) - 0usize];
["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::desc"][::std::mem::offset_of!(_htmlElemDesc, desc) - 16usize];
pub fn htmlParseDoc(cur: *const xmlChar, encoding: *const ::std::os::raw::c_char) -> *mut xmlDoc;
#[doc = " Disable error and warning reports to the error handlers.\n Errors are still accessible with xmlCtxtGetLastError()."]
#[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."]
#[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."]
#[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."]
#[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."]
#[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"]
#[doc = " This is the set of HTML parser options that can be passed to\n #htmlReadDoc, #htmlCtxtSetOptions and other functions."]
pub fn htmlElementStatusHere(arg1: *const htmlElemDesc, arg2: *const htmlElemDesc) -> htmlStatus;
#[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"]
#[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"]
#[doc = " This is the set of XML save options that can be passed down\n to the #xmlSaveToFd and similar calls."]
pub fn htmlSetMetaEncoding(doc: *mut xmlDoc, encoding: *const xmlChar) -> ::std::os::raw::c_int;
pub fn xmlNanoHTTPAuthHeader(ctx: *mut ::std::os::raw::c_void) -> *const ::std::os::raw::c_char;
pub fn xmlNanoHTTPEncoding(ctx: *mut ::std::os::raw::c_void) -> *const ::std::os::raw::c_char;
pub fn xmlNanoHTTPMimeType(ctx: *mut ::std::os::raw::c_void) -> *const ::std::os::raw::c_char;
pub fn xmlCreateFileParserCtxt(filename: *const ::std::os::raw::c_char) -> *mut xmlParserCtxt;
pub fn xmlParseEntityValue(ctxt: *mut xmlParserCtxt, orig: *mut *mut xmlChar) -> *mut xmlChar;
pub fn xmlParseAttribute(ctxt: *mut xmlParserCtxt, value: *mut *mut xmlChar) -> *const xmlChar;
#[doc = " Internal type. This is the set of options affecting the behaviour\n of pattern matching with this module."]
#[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"]
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"]
unsafe extern "C" fn(ctx: *mut ::std::os::raw::c_void, msg: *const ::std::os::raw::c_char, ...),
pub fn xmlRelaxNGNewParserCtxt(URL: *const ::std::os::raw::c_char) -> *mut xmlRelaxNGParserCtxt;
pub const xmlSchemaContentType_XML_SCHEMA_CONTENT_MIXED_OR_ELEMENTS: xmlSchemaContentType = 5;
#[doc = " Used to build a list of attribute uses on complexType definitions.\n WARNING: Deprecated; not used."]
["Size of _xmlSchemaAttributeLink"][::std::mem::size_of::<_xmlSchemaAttributeLink>() - 16usize];
["Alignment of _xmlSchemaWildcardNs"][::std::mem::align_of::<_xmlSchemaWildcardNs>() - 8usize];
#[doc = " An attribute group definition.\n\n xmlSchemaAttribute and xmlSchemaAttributeGroup start of structures\n must be kept similar"]
#[doc = " Used to build a list of types (e.g. member types of\n simpleType with variety \"union\")."]
["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::node"][::std::mem::offset_of!(_xmlSchemaType, node) - 72usize];
["Offset of field: _xmlSchemaType::base"][::std::mem::offset_of!(_xmlSchemaType, base) - 96usize];
#[doc = " An element definition.\n\n xmlSchemaType, xmlSchemaFacet and xmlSchemaElement start of\n structures must be kept similar"]
["Offset of field: _xmlSchemaFacet::id"][::std::mem::offset_of!(_xmlSchemaFacet, id) - 24usize];
["Offset of field: _xmlSchemaFacet::val"][::std::mem::offset_of!(_xmlSchemaFacet, val) - 56usize];
["Offset of field: _xmlSchema::version"][::std::mem::offset_of!(_xmlSchema, version) - 16usize];
["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::elemDecl"][::std::mem::offset_of!(_xmlSchema, elemDecl) - 80usize];
["Offset of field: _xmlSchema::notaDecl"][::std::mem::offset_of!(_xmlSchema, notaDecl) - 88usize];
["Offset of field: _xmlSchema::counter"][::std::mem::offset_of!(_xmlSchema, counter) - 140usize];
["Offset of field: _xmlSchema::idcDef"][::std::mem::offset_of!(_xmlSchema, idcDef) - 144usize];
pub const xmlSchematronValidOptions_XML_SCHEMATRON_OUT_BUFFER: xmlSchematronValidOptions = 512;
#[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"]
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"]
unsafe extern "C" fn(ctx: *mut ::std::os::raw::c_void, msg: *const ::std::os::raw::c_char, ...),
#[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);"]
#[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);"]
#[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"]
["Offset of field: _xmlURI::authority"][::std::mem::offset_of!(_xmlURI, authority) - 16usize];
["Offset of field: _xmlURI::query_raw"][::std::mem::offset_of!(_xmlURI, query_raw) - 80usize];
#[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."]
#[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"]
::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"]
#[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"]
#[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"]
#[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."]
#[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."]
["Offset of field: _xlinkHandler::set"][::std::mem::offset_of!(_xlinkHandler, set) - 16usize];
#[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"]
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"]
unsafe extern "C" fn(ctx: *mut ::std::os::raw::c_void, msg: *const ::std::os::raw::c_char, ...),
#[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 fn xmlSchemaNewParserCtxt(URL: *const ::std::os::raw::c_char) -> *mut xmlSchemaParserCtxt;
#[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 fn xmlTextReaderMoveToFirstAttribute(reader: *mut xmlTextReader) -> ::std::os::raw::c_int;
pub fn xmlTextReaderGetParserColumnNumber(reader: *mut xmlTextReader) -> ::std::os::raw::c_int;
pub fn xmlReaderNewWalker(reader: *mut xmlTextReader, doc: *mut xmlDoc) -> ::std::os::raw::c_int;
#[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 fn xmlTextReaderLocatorLineNumber(locator: xmlTextReaderLocatorPtr) -> ::std::os::raw::c_int;
pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_UNKNOWN: xmlSchemaWhitespaceValueType =
pub const xmlSchemaWhitespaceValueType_XML_SCHEMA_WHITESPACE_REPLACE: xmlSchemaWhitespaceValueType =
pub fn xmlSchemaNewNOTATIONValue(name: *const xmlChar, ns: *const xmlChar) -> *mut xmlSchemaVal;
pub fn xmlXPathNodeSetContains(cur: *mut xmlNodeSet, val: *mut xmlNode) -> ::std::os::raw::c_int;
pub fn xmlXPathDifference(nodes1: *mut xmlNodeSet, nodes2: *mut xmlNodeSet) -> *mut xmlNodeSet;
pub fn xmlXPathIntersection(nodes1: *mut xmlNodeSet, nodes2: *mut xmlNodeSet) -> *mut xmlNodeSet;
pub fn xmlXPathNodeLeadingSorted(nodes: *mut xmlNodeSet, node: *mut xmlNode) -> *mut xmlNodeSet;
pub fn xmlXPathNodeTrailingSorted(nodes: *mut xmlNodeSet, node: *mut xmlNode) -> *mut xmlNodeSet;
pub fn xmlXPathNsLookup(ctxt: *mut xmlXPathContext, prefix: *const xmlChar) -> *const xmlChar;
pub fn xmlXPathNextChild(ctxt: *mut xmlXPathParserContext, cur: *mut xmlNode) -> *mut xmlNode;
pub fn xmlXPathNextParent(ctxt: *mut xmlXPathParserContext, cur: *mut xmlNode) -> *mut xmlNode;
pub fn xmlXPathNextAncestor(ctxt: *mut xmlXPathParserContext, cur: *mut xmlNode) -> *mut xmlNode;
pub fn xmlXPathPositionFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
pub fn xmlXPathLocalNameFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
pub fn xmlXPathStringFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
pub fn xmlXPathConcatFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
pub fn xmlXPathContainsFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
pub fn xmlXPathStartsWithFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
pub fn xmlXPathSubstringFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
pub fn xmlXPathNormalizeFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
pub fn xmlXPathTranslateFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
pub fn xmlXPathNumberFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
pub fn xmlXPathCeilingFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);
pub fn xmlXPathBooleanFunction(ctxt: *mut xmlXPathParserContext, nargs: ::std::os::raw::c_int);