#endif /* HAVE_MEMMOVE */
#include "xmltok.h"
+#include "internal.h"
#include "xmlrole.h"
typedef const XML_Char *KEY;
ENTITY *entity;
} OPEN_INTERNAL_ENTITY;
-typedef enum XML_Error Processor(XML_Parser parser,
- const char *start,
- const char *end,
- const char **endPtr);
+typedef enum XML_Error FASTCALL Processor(XML_Parser parser,
+ const char *start,
+ const char *end,
+ const char **endPtr);
static Processor prologProcessor;
static Processor prologInitProcessor;
static Processor externalEntityInitProcessor3;
static Processor externalEntityContentProcessor;
-static enum XML_Error
+static enum XML_Error FASTCALL
handleUnknownEncoding(XML_Parser parser, const XML_Char *encodingName);
-static enum XML_Error
+static enum XML_Error FASTCALL
processXmlDecl(XML_Parser parser, int isGeneralTextEntity,
const char *, const char *);
-static enum XML_Error
+static enum XML_Error FASTCALL
initializeEncoding(XML_Parser parser);
-static enum XML_Error
+static enum XML_Error FASTCALL
doProlog(XML_Parser parser, const ENCODING *enc, const char *s,
const char *end, int tok, const char *next, const char **nextPtr);
-static enum XML_Error
+static enum XML_Error FASTCALL
processInternalParamEntity(XML_Parser parser, ENTITY *entity);
-static enum XML_Error
+static enum XML_Error FASTCALL
doContent(XML_Parser parser, int startTagLevel, const ENCODING *enc,
const char *start, const char *end, const char **endPtr);
-static enum XML_Error
+static enum XML_Error FASTCALL
doCdataSection(XML_Parser parser, const ENCODING *, const char **startPtr,
const char *end, const char **nextPtr);
#ifdef XML_DTD
-static enum XML_Error
+static enum XML_Error FASTCALL
doIgnoreSection(XML_Parser parser, const ENCODING *, const char **startPtr,
const char *end, const char **nextPtr);
#endif /* XML_DTD */
-static enum XML_Error
+static enum XML_Error FASTCALL
storeAtts(XML_Parser parser, const ENCODING *,
const char *s, TAG_NAME *tagNamePtr, BINDING **bindingsPtr);
-static int
+static int FASTCALL
addBinding(XML_Parser parser, PREFIX *prefix, const ATTRIBUTE_ID *attId,
const XML_Char *uri, BINDING **bindingsPtr);
-static int
+static int FASTCALL
defineAttribute(ELEMENT_TYPE *type, ATTRIBUTE_ID *,
XML_Bool isCdata, XML_Bool isId, const XML_Char *dfltValue,
XML_Parser parser);
-static enum XML_Error
+static enum XML_Error FASTCALL
storeAttributeValue(XML_Parser parser, const ENCODING *, XML_Bool isCdata,
const char *, const char *, STRING_POOL *);
-static enum XML_Error
+static enum XML_Error FASTCALL
appendAttributeValue(XML_Parser parser, const ENCODING *, XML_Bool isCdata,
const char *, const char *, STRING_POOL *);
-static ATTRIBUTE_ID *
+static ATTRIBUTE_ID * FASTCALL
getAttributeId(XML_Parser parser, const ENCODING *enc, const char *start,
const char *end);
-static int
+static int FASTCALL
setElementTypePrefix(XML_Parser parser, ELEMENT_TYPE *);
-static enum XML_Error
+static enum XML_Error FASTCALL
storeEntityValue(XML_Parser parser, const ENCODING *enc, const char *start,
const char *end);
-static int
+static int FASTCALL
reportProcessingInstruction(XML_Parser parser, const ENCODING *enc,
const char *start, const char *end);
-static int
+static int FASTCALL
reportComment(XML_Parser parser, const ENCODING *enc, const char *start,
const char *end);
-static void
+static void FASTCALL
reportDefault(XML_Parser parser, const ENCODING *enc, const char *start,
const char *end);
-static const XML_Char *getContext(XML_Parser parser);
-static XML_Bool setContext(XML_Parser parser, const XML_Char *context);
-static void normalizePublicId(XML_Char *s);
-static void dtdInit(DTD *, XML_Parser parser);
+static const XML_Char * FASTCALL getContext(XML_Parser parser);
+static XML_Bool FASTCALL
+setContext(XML_Parser parser, const XML_Char *context);
+static void FASTCALL normalizePublicId(XML_Char *s);
+static void FASTCALL dtdInit(DTD *, XML_Parser parser);
/* do not call if parentParser != NULL */
-static void dtdReset(DTD *, XML_Parser parser);
-static void dtdDestroy(DTD *, XML_Parser parser);
+static void FASTCALL dtdReset(DTD *, XML_Parser parser);
+static void FASTCALL dtdDestroy(DTD *, XML_Parser parser);
-static int dtdCopy(DTD *newDtd, const DTD *oldDtd, XML_Parser parser);
+static int FASTCALL dtdCopy(DTD *newDtd, const DTD *oldDtd, XML_Parser parser);
-static int copyEntityTable(HASH_TABLE *, STRING_POOL *, const HASH_TABLE *,
- XML_Parser parser);
+static int FASTCALL copyEntityTable(HASH_TABLE *, STRING_POOL *,
+ const HASH_TABLE *, XML_Parser parser);
#ifdef XML_DTD
-static void dtdSwap(DTD *, DTD *);
+static void FASTCALL dtdSwap(DTD *, DTD *);
#endif /* XML_DTD */
-static NAMED *lookup(HASH_TABLE *table, KEY name, size_t createSize);
+static NAMED * FASTCALL
+lookup(HASH_TABLE *table, KEY name, size_t createSize);
-static void hashTableInit(HASH_TABLE *, XML_Memory_Handling_Suite *ms);
+static void FASTCALL
+hashTableInit(HASH_TABLE *, XML_Memory_Handling_Suite *ms);
-static void hashTableClear(HASH_TABLE *);
-static void hashTableDestroy(HASH_TABLE *);
-static void hashTableIterInit(HASH_TABLE_ITER *, const HASH_TABLE *);
-static NAMED *hashTableIterNext(HASH_TABLE_ITER *);
-static void poolInit(STRING_POOL *, XML_Memory_Handling_Suite *ms);
-static void poolClear(STRING_POOL *);
-static void poolDestroy(STRING_POOL *);
-static XML_Char *poolAppend(STRING_POOL *pool, const ENCODING *enc,
- const char *ptr, const char *end);
-static XML_Char *poolStoreString(STRING_POOL *pool, const ENCODING *enc,
- const char *ptr, const char *end);
+static void FASTCALL hashTableClear(HASH_TABLE *);
+static void FASTCALL hashTableDestroy(HASH_TABLE *);
+static void FASTCALL hashTableIterInit(HASH_TABLE_ITER *, const HASH_TABLE *);
+static NAMED * FASTCALL hashTableIterNext(HASH_TABLE_ITER *);
+static void FASTCALL poolInit(STRING_POOL *, XML_Memory_Handling_Suite *ms);
+static void FASTCALL poolClear(STRING_POOL *);
+static void FASTCALL poolDestroy(STRING_POOL *);
+static XML_Char * FASTCALL
+poolAppend(STRING_POOL *pool, const ENCODING *enc,
+ const char *ptr, const char *end);
+static XML_Char * FASTCALL
+poolStoreString(STRING_POOL *pool, const ENCODING *enc,
+ const char *ptr, const char *end);
-static XML_Bool poolGrow(STRING_POOL *pool);
+static XML_Bool FASTCALL poolGrow(STRING_POOL *pool);
-static int nextScaffoldPart(XML_Parser parser);
-static XML_Content *build_model(XML_Parser parser);
+static int FASTCALL nextScaffoldPart(XML_Parser parser);
+static XML_Content * FASTCALL build_model(XML_Parser parser);
-static const XML_Char *poolCopyString(STRING_POOL *pool, const XML_Char *s);
-static const XML_Char *poolCopyStringN(STRING_POOL *pool, const XML_Char *s,
- int n);
-static const XML_Char *poolAppendString(STRING_POOL *pool, const XML_Char *s);
-static ELEMENT_TYPE * getElementType(XML_Parser Paraser,
- const ENCODING *enc,
- const char *ptr,
- const char *end);
+static const XML_Char * FASTCALL
+poolCopyString(STRING_POOL *pool, const XML_Char *s);
+static const XML_Char * FASTCALL
+poolCopyStringN(STRING_POOL *pool, const XML_Char *s, int n);
+static const XML_Char * FASTCALL
+poolAppendString(STRING_POOL *pool, const XML_Char *s);
+static ELEMENT_TYPE * FASTCALL
+getElementType(XML_Parser Paraser, const ENCODING *enc,
+ const char *ptr, const char *end);
-static void parserInit(XML_Parser parser, const XML_Char *encodingName);
+static void FASTCALL
+parserInit(XML_Parser parser, const XML_Char *encodingName);
#define poolStart(pool) ((pool)->start)
#define poolEnd(pool) ((pool)->ptr)
return parser;
}
-static void
+static void FASTCALL
parserInit(XML_Parser parser, const XML_Char *encodingName)
{
processor = prologInitProcessor;
}
/* moves list of bindings to freeBindingList */
-static void
+static void FASTCALL
moveToFreeBindingList(XML_Parser parser, BINDING *bindings)
{
while (bindings) {
return parser;
}
-static void
+static void FASTCALL
destroyBindings(BINDING *bindings, XML_Parser parser)
{
for (;;) {
processed, and not yet closed, we need to store tag->rawName in a more
permanent location, since the parse buffer is about to be discarded.
*/
-static XML_Bool
+static XML_Bool FASTCALL
storeRawNames(XML_Parser parser)
{
TAG *tag = tagStack;
return XML_TRUE;
}
-static enum XML_Error
+static enum XML_Error FASTCALL
contentProcessor(XML_Parser parser,
const char *start,
const char *end,
return result;
}
-static enum XML_Error
+static enum XML_Error FASTCALL
externalEntityInitProcessor(XML_Parser parser,
const char *start,
const char *end,
return externalEntityInitProcessor2(parser, start, end, endPtr);
}
-static enum XML_Error
+static enum XML_Error FASTCALL
externalEntityInitProcessor2(XML_Parser parser,
const char *start,
const char *end,
return externalEntityInitProcessor3(parser, start, end, endPtr);
}
-static enum XML_Error
+static enum XML_Error FASTCALL
externalEntityInitProcessor3(XML_Parser parser,
const char *start,
const char *end,
return externalEntityContentProcessor(parser, start, end, endPtr);
}
-static enum XML_Error
+static enum XML_Error FASTCALL
externalEntityContentProcessor(XML_Parser parser,
const char *start,
const char *end,
return result;
}
-static enum XML_Error
+static enum XML_Error FASTCALL
doContent(XML_Parser parser,
int startTagLevel,
const ENCODING *enc,
/* If tagNamePtr is non-null, build a real list of attributes,
otherwise just check the attributes for well-formedness.
*/
-static enum XML_Error
+static enum XML_Error FASTCALL
storeAtts(XML_Parser parser, const ENCODING *enc,
const char *attStr, TAG_NAME *tagNamePtr,
BINDING **bindingsPtr)
return XML_ERROR_NONE;
}
-static int
+static int FASTCALL
addBinding(XML_Parser parser, PREFIX *prefix, const ATTRIBUTE_ID *attId,
const XML_Char *uri, BINDING **bindingsPtr)
{
/* The idea here is to avoid using stack for each CDATA section when
the whole file is parsed with one call.
*/
-static enum XML_Error
+static enum XML_Error FASTCALL
cdataSectionProcessor(XML_Parser parser,
const char *start,
const char *end,
/* startPtr gets set to non-null is the section is closed, and to null if
the section is not yet closed.
*/
-static enum XML_Error
+static enum XML_Error FASTCALL
doCdataSection(XML_Parser parser,
const ENCODING *enc,
const char **startPtr,
/* The idea here is to avoid using stack for each IGNORE section when
the whole file is parsed with one call.
*/
-static enum XML_Error
+static enum XML_Error FASTCALL
ignoreSectionProcessor(XML_Parser parser,
const char *start,
const char *end,
/* startPtr gets set to non-null is the section is closed, and to null
if the section is not yet closed.
*/
-static enum XML_Error
+static enum XML_Error FASTCALL
doIgnoreSection(XML_Parser parser,
const ENCODING *enc,
const char **startPtr,
#endif /* XML_DTD */
-static enum XML_Error
+static enum XML_Error FASTCALL
initializeEncoding(XML_Parser parser)
{
const char *s;
return handleUnknownEncoding(parser, protocolEncodingName);
}
-static enum XML_Error
+static enum XML_Error FASTCALL
processXmlDecl(XML_Parser parser, int isGeneralTextEntity,
const char *s, const char *next)
{
return XML_ERROR_NONE;
}
-static enum XML_Error
+static enum XML_Error FASTCALL
handleUnknownEncoding(XML_Parser parser, const XML_Char *encodingName)
{
if (unknownEncodingHandler) {
return XML_ERROR_UNKNOWN_ENCODING;
}
-static enum XML_Error
+static enum XML_Error FASTCALL
prologInitProcessor(XML_Parser parser,
const char *s,
const char *end,
#ifdef XML_DTD
-static enum XML_Error
+static enum XML_Error FASTCALL
externalParEntInitProcessor(XML_Parser parser,
const char *s,
const char *end,
}
}
-static enum XML_Error
+static enum XML_Error FASTCALL
entityValueInitProcessor(XML_Parser parser,
const char *s,
const char *end,
}
}
-static enum XML_Error
+static enum XML_Error FASTCALL
externalParEntProcessor(XML_Parser parser,
const char *s,
const char *end,
return doProlog(parser, encoding, s, end, tok, next, nextPtr);
}
-static enum XML_Error
+static enum XML_Error FASTCALL
entityValueProcessor(XML_Parser parser,
const char *s,
const char *end,
#endif /* XML_DTD */
-static enum XML_Error
+static enum XML_Error FASTCALL
prologProcessor(XML_Parser parser,
const char *s,
const char *end,
return doProlog(parser, encoding, s, end, tok, next, nextPtr);
}
-static enum XML_Error
+static enum XML_Error FASTCALL
doProlog(XML_Parser parser,
const ENCODING *enc,
const char *s,
/* not reached */
}
-static enum XML_Error
+static enum XML_Error FASTCALL
epilogProcessor(XML_Parser parser,
const char *s,
const char *end,
#ifdef XML_DTD
-static enum XML_Error
+static enum XML_Error FASTCALL
processInternalParamEntity(XML_Parser parser, ENTITY *entity)
{
const char *s, *end, *next;
#endif /* XML_DTD */
-static enum XML_Error
+static enum XML_Error FASTCALL
errorProcessor(XML_Parser parser,
const char *s,
const char *end,
return errorCode;
}
-static enum XML_Error
+static enum XML_Error FASTCALL
storeAttributeValue(XML_Parser parser, const ENCODING *enc, XML_Bool isCdata,
const char *ptr, const char *end,
STRING_POOL *pool)
return XML_ERROR_NONE;
}
-static enum XML_Error
+static enum XML_Error FASTCALL
appendAttributeValue(XML_Parser parser, const ENCODING *enc, XML_Bool isCdata,
const char *ptr, const char *end,
STRING_POOL *pool)
/* not reached */
}
-static enum XML_Error
+static enum XML_Error FASTCALL
storeEntityValue(XML_Parser parser,
const ENCODING *enc,
const char *entityTextPtr,
return result;
}
-static void
+static void FASTCALL
normalizeLines(XML_Char *s)
{
XML_Char *p;
*p = XML_T('\0');
}
-static int
+static int FASTCALL
reportProcessingInstruction(XML_Parser parser, const ENCODING *enc,
const char *start, const char *end)
{
return 1;
}
-static int
+static int FASTCALL
reportComment(XML_Parser parser, const ENCODING *enc,
const char *start, const char *end)
{
return 1;
}
-static void
+static void FASTCALL
reportDefault(XML_Parser parser, const ENCODING *enc,
const char *s, const char *end)
{
}
-static int
+static int FASTCALL
defineAttribute(ELEMENT_TYPE *type, ATTRIBUTE_ID *attId, XML_Bool isCdata,
XML_Bool isId, const XML_Char *value, XML_Parser parser)
{
return 1;
}
-static int
+static int FASTCALL
setElementTypePrefix(XML_Parser parser, ELEMENT_TYPE *elementType)
{
const XML_Char *name;
return 1;
}
-static ATTRIBUTE_ID *
+static ATTRIBUTE_ID * FASTCALL
getAttributeId(XML_Parser parser, const ENCODING *enc,
const char *start, const char *end)
{
#define CONTEXT_SEP XML_T('\f')
-static const XML_Char *
+static const XML_Char * FASTCALL
getContext(XML_Parser parser)
{
HASH_TABLE_ITER iter;
return tempPool.start;
}
-static XML_Bool
+static XML_Bool FASTCALL
setContext(XML_Parser parser, const XML_Char *context)
{
const XML_Char *s = context;
return XML_TRUE;
}
-static void
+static void FASTCALL
normalizePublicId(XML_Char *publicId)
{
XML_Char *p = publicId;
*p = XML_T('\0');
}
-static void
+static void FASTCALL
dtdInit(DTD *p, XML_Parser parser)
{
XML_Memory_Handling_Suite *ms = &parser->m_mem;
#ifdef XML_DTD
-static void
+static void FASTCALL
dtdSwap(DTD *p1, DTD *p2)
{
DTD tem;
#endif /* XML_DTD */
-static void
+static void FASTCALL
dtdReset(DTD *p, XML_Parser parser)
{
HASH_TABLE_ITER iter;
p->standalone = XML_FALSE;
}
-static void
+static void FASTCALL
dtdDestroy(DTD *p, XML_Parser parser)
{
HASH_TABLE_ITER iter;
/* Do a deep copy of the DTD. Return 0 for out of memory; non-zero otherwise.
The new DTD has already been initialized.
*/
-static int
+static int FASTCALL
dtdCopy(DTD *newDtd, const DTD *oldDtd, XML_Parser parser)
{
HASH_TABLE_ITER iter;
return 1;
} /* End dtdCopy */
-static int
+static int FASTCALL
copyEntityTable(HASH_TABLE *newTable,
STRING_POOL *newPool,
const HASH_TABLE *oldTable,
#define INIT_SIZE 64
-static int
+static int FASTCALL
keyeq(KEY s1, KEY s2)
{
for (; *s1 == *s2; s1++, s2++)
return 0;
}
-static unsigned long
+static unsigned long FASTCALL
hash(KEY s)
{
unsigned long h = 0;
return h;
}
-static NAMED *
+static NAMED * FASTCALL
lookup(HASH_TABLE *table, KEY name, size_t createSize)
{
size_t i;
return table->v[i];
}
-static void
+static void FASTCALL
hashTableClear(HASH_TABLE *table)
{
size_t i;
table->used = 0;
}
-static void
+static void FASTCALL
hashTableDestroy(HASH_TABLE *table)
{
size_t i;
table->mem->free_fcn(table->v);
}
-static void
+static void FASTCALL
hashTableInit(HASH_TABLE *p, XML_Memory_Handling_Suite *ms)
{
p->size = 0;
p->mem = ms;
}
-static void
+static void FASTCALL
hashTableIterInit(HASH_TABLE_ITER *iter, const HASH_TABLE *table)
{
iter->p = table->v;
iter->end = iter->p + table->size;
}
-static NAMED *
+static NAMED * FASTCALL
hashTableIterNext(HASH_TABLE_ITER *iter)
{
while (iter->p != iter->end) {
return NULL;
}
-static void
+static void FASTCALL
poolInit(STRING_POOL *pool, XML_Memory_Handling_Suite *ms)
{
pool->blocks = NULL;
pool->mem = ms;
}
-static void
+static void FASTCALL
poolClear(STRING_POOL *pool)
{
if (!pool->freeBlocks)
pool->end = NULL;
}
-static void
+static void FASTCALL
poolDestroy(STRING_POOL *pool)
{
BLOCK *p = pool->blocks;
}
}
-static XML_Char *
+static XML_Char * FASTCALL
poolAppend(STRING_POOL *pool, const ENCODING *enc,
const char *ptr, const char *end)
{
return pool->start;
}
-static const XML_Char *
+static const XML_Char * FASTCALL
poolCopyString(STRING_POOL *pool, const XML_Char *s)
{
do {
return s;
}
-static const XML_Char *
+static const XML_Char * FASTCALL
poolCopyStringN(STRING_POOL *pool, const XML_Char *s, int n)
{
if (!pool->ptr && !poolGrow(pool))
return s;
}
-static const XML_Char *
+static const XML_Char * FASTCALL
poolAppendString(STRING_POOL *pool, const XML_Char *s)
{
while (*s) {
return pool->start;
}
-static XML_Char *
+static XML_Char * FASTCALL
poolStoreString(STRING_POOL *pool, const ENCODING *enc,
const char *ptr, const char *end)
{
return pool->start;
}
-static XML_Bool
+static XML_Bool FASTCALL
poolGrow(STRING_POOL *pool)
{
if (pool->freeBlocks) {
return XML_TRUE;
}
-static int
+static int FASTCALL
nextScaffoldPart(XML_Parser parser)
{
CONTENT_SCAFFOLD * me;
return next;
}
-static void
+static void FASTCALL
build_node(XML_Parser parser,
int src_node,
XML_Content *dest,
}
}
-static XML_Content *
+static XML_Content * FASTCALL
build_model (XML_Parser parser)
{
XML_Content *ret;
return ret;
}
-static ELEMENT_TYPE *
+static ELEMENT_TYPE * FASTCALL
getElementType(XML_Parser parser,
const ENCODING *enc,
const char *ptr,
#include <expat_config.h>
#endif /* ndef COMPILED_FROM_DSP */
+#include "internal.h"
#include "xmlrole.h"
#include "ascii.h"
#define setTopLevel(state) ((state)->handler = internalSubset)
#endif /* not XML_DTD */
-typedef int PROLOG_HANDLER(PROLOG_STATE *state,
- int tok,
- const char *ptr,
- const char *end,
- const ENCODING *enc);
+typedef int FASTCALL PROLOG_HANDLER(PROLOG_STATE *state,
+ int tok,
+ const char *ptr,
+ const char *end,
+ const ENCODING *enc);
static PROLOG_HANDLER
prolog0, prolog1, prolog2,
declClose,
error;
-static int common(PROLOG_STATE *state, int tok);
+static int FASTCALL common(PROLOG_STATE *state, int tok);
-static int
+static int FASTCALL
prolog0(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
prolog1(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
prolog2(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
doctype0(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
doctype1(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
doctype2(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
doctype3(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
doctype4(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
doctype5(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
internalSubset(PROLOG_STATE *state,
int tok,
const char *ptr,
#ifdef XML_DTD
-static int
+static int FASTCALL
externalSubset0(PROLOG_STATE *state,
int tok,
const char *ptr,
return externalSubset1(state, tok, ptr, end, enc);
}
-static int
+static int FASTCALL
externalSubset1(PROLOG_STATE *state,
int tok,
const char *ptr,
#endif /* XML_DTD */
-static int
+static int FASTCALL
entity0(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
entity1(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
entity2(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
entity3(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
entity4(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
entity5(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
entity6(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
entity7(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
entity8(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
entity9(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
entity10(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
notation0(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
notation1(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
notation2(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
notation3(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
notation4(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
attlist0(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
attlist1(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
attlist2(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
attlist3(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
attlist4(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
attlist5(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
attlist6(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
attlist7(PROLOG_STATE *state,
int tok,
const char *ptr,
}
/* default value */
-static int
+static int FASTCALL
attlist8(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
attlist9(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
element0(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
element1(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
element2(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
element3(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
element4(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
element5(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
element6(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
element7(PROLOG_STATE *state,
int tok,
const char *ptr,
#ifdef XML_DTD
-static int
+static int FASTCALL
condSect0(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
condSect1(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
condSect2(PROLOG_STATE *state,
int tok,
const char *ptr,
#endif /* XML_DTD */
-static int
+static int FASTCALL
declClose(PROLOG_STATE *state,
int tok,
const char *ptr,
return common(state, tok);
}
-static int
+static int FASTCALL
error(PROLOG_STATE *state,
int tok,
const char *ptr,
return XML_ROLE_NONE;
}
-static int
+static int FASTCALL
common(PROLOG_STATE *state, int tok)
{
#ifdef XML_DTD