xmltok_ns.c revision 7f235c0d101d71224c8e498ac8f7fde1f98596c7
{
}
{
#if XML_BYTE_ORDER == 12
#else
const short n = 1;
#endif
}
static
};
static
const char **nextTokPtr)
{
}
static
const char **nextTokPtr)
{
return initScan(NS(encodings), (const INIT_ENCODING *)enc, XML_CONTENT_STATE, ptr, end, nextTokPtr);
}
{
int i = getEncodingIndex(name);
if (i == UNKNOWN_ENC)
return 0;
INIT_ENC_INDEX(p) = (char)i;
return 1;
}
static
{
#define ENCODING_MAX 128
char buf[ENCODING_MAX];
char *p = buf;
int i;
return 0;
*p = 0;
return enc;
i = getEncodingIndex(buf);
if (i == UNKNOWN_ENC)
return 0;
}
const char *ptr,
const char *end,
const char **badPtr,
const char **versionPtr,
const char **encodingName,
int *standalone)
{
enc,
ptr,
end,
}