-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bundle libxmls for win to address CI build issue
- Loading branch information
mikejiang
committed
Nov 18, 2020
1 parent
465ad19
commit 024097c
Showing
56 changed files
with
14,484 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
/* | ||
* Summary: old DocBook SGML parser | ||
* Description: interface for a DocBook SGML non-verifying parser | ||
* This code is DEPRECATED, and should not be used anymore. | ||
* | ||
* Copy: See Copyright for the status of this software. | ||
* | ||
* Author: Daniel Veillard | ||
*/ | ||
|
||
#ifndef __DOCB_PARSER_H__ | ||
#define __DOCB_PARSER_H__ | ||
#include <libxml/xmlversion.h> | ||
|
||
#ifdef LIBXML_DOCB_ENABLED | ||
|
||
#include <libxml/parser.h> | ||
#include <libxml/parserInternals.h> | ||
|
||
#ifndef IN_LIBXML | ||
#ifdef __GNUC__ | ||
#warning "The DOCBparser module has been deprecated in libxml2-2.6.0" | ||
#endif | ||
#endif | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
/* | ||
* Most of the back-end structures from XML and SGML are shared. | ||
*/ | ||
typedef xmlParserCtxt docbParserCtxt; | ||
typedef xmlParserCtxtPtr docbParserCtxtPtr; | ||
typedef xmlSAXHandler docbSAXHandler; | ||
typedef xmlSAXHandlerPtr docbSAXHandlerPtr; | ||
typedef xmlParserInput docbParserInput; | ||
typedef xmlParserInputPtr docbParserInputPtr; | ||
typedef xmlDocPtr docbDocPtr; | ||
|
||
/* | ||
* There is only few public functions. | ||
*/ | ||
XMLPUBFUN int XMLCALL | ||
docbEncodeEntities(unsigned char *out, | ||
int *outlen, | ||
const unsigned char *in, | ||
int *inlen, int quoteChar); | ||
|
||
XMLPUBFUN docbDocPtr XMLCALL | ||
docbSAXParseDoc (xmlChar *cur, | ||
const char *encoding, | ||
docbSAXHandlerPtr sax, | ||
void *userData); | ||
XMLPUBFUN docbDocPtr XMLCALL | ||
docbParseDoc (xmlChar *cur, | ||
const char *encoding); | ||
XMLPUBFUN docbDocPtr XMLCALL | ||
docbSAXParseFile (const char *filename, | ||
const char *encoding, | ||
docbSAXHandlerPtr sax, | ||
void *userData); | ||
XMLPUBFUN docbDocPtr XMLCALL | ||
docbParseFile (const char *filename, | ||
const char *encoding); | ||
|
||
/** | ||
* Interfaces for the Push mode. | ||
*/ | ||
XMLPUBFUN void XMLCALL | ||
docbFreeParserCtxt (docbParserCtxtPtr ctxt); | ||
XMLPUBFUN docbParserCtxtPtr XMLCALL | ||
docbCreatePushParserCtxt(docbSAXHandlerPtr sax, | ||
void *user_data, | ||
const char *chunk, | ||
int size, | ||
const char *filename, | ||
xmlCharEncoding enc); | ||
XMLPUBFUN int XMLCALL | ||
docbParseChunk (docbParserCtxtPtr ctxt, | ||
const char *chunk, | ||
int size, | ||
int terminate); | ||
XMLPUBFUN docbParserCtxtPtr XMLCALL | ||
docbCreateFileParserCtxt(const char *filename, | ||
const char *encoding); | ||
XMLPUBFUN int XMLCALL | ||
docbParseDocument (docbParserCtxtPtr ctxt); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif /* LIBXML_DOCB_ENABLED */ | ||
|
||
#endif /* __DOCB_PARSER_H__ */ |
Oops, something went wrong.