HEX
Server: LiteSpeed
System: Linux atali.colombiahosting.com.co 5.14.0-570.12.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 13 06:11:55 EDT 2025 x86_64
User: coopserp (1713)
PHP: 8.2.29
Disabled: dl,exec,passthru,proc_open,proc_close,shell_exec,memory_limit,system,popen,curl_multi_exec,show_source,symlink,link,leak,listen,diskfreespace,tmpfile,ignore_user_abord,highlight_file,source,show_source,fpaththru,virtual,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,posix_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setid,posix_times,posix_ttyname,posix_uname,proc_get_status,proc_nice,proc_terminate
Upload Files
File: //proc/self/root/opt/cpanel/ea-libxml2/include/libxml2/libxml/xmlschemastypes.h
/**
 * @file
 * 
 * @brief implementation of XML Schema Datatypes
 * 
 * module providing the XML Schema Datatypes implementation
 *              both definition and validity checking
 *
 * @copyright See Copyright for the status of this software.
 *
 * @author Daniel Veillard
 */


#ifndef __XML_SCHEMA_TYPES_H__
#define __XML_SCHEMA_TYPES_H__

#include <libxml/xmlversion.h>

#ifdef LIBXML_SCHEMAS_ENABLED

#include <libxml/schemasInternals.h>
#include <libxml/xmlschemas.h>

#ifdef __cplusplus
extern "C" {
#endif

/**
 * Schema whitespace value type
 */
typedef enum {
    XML_SCHEMA_WHITESPACE_UNKNOWN = 0,
    XML_SCHEMA_WHITESPACE_PRESERVE = 1,
    XML_SCHEMA_WHITESPACE_REPLACE = 2,
    XML_SCHEMA_WHITESPACE_COLLAPSE = 3
} xmlSchemaWhitespaceValueType;

XMLPUBFUN int
		xmlSchemaInitTypes		(void);
XML_DEPRECATED
XMLPUBFUN void
		xmlSchemaCleanupTypes		(void);
XMLPUBFUN xmlSchemaType *
		xmlSchemaGetPredefinedType	(const xmlChar *name,
						 const xmlChar *ns);
XMLPUBFUN int
		xmlSchemaValidatePredefinedType	(xmlSchemaType *type,
						 const xmlChar *value,
						 xmlSchemaVal **val);
XMLPUBFUN int
		xmlSchemaValPredefTypeNode	(xmlSchemaType *type,
						 const xmlChar *value,
						 xmlSchemaVal **val,
						 xmlNode *node);
XMLPUBFUN int
		xmlSchemaValidateFacet		(xmlSchemaType *base,
						 xmlSchemaFacet *facet,
						 const xmlChar *value,
						 xmlSchemaVal *val);
XMLPUBFUN int
		xmlSchemaValidateFacetWhtsp	(xmlSchemaFacet *facet,
						 xmlSchemaWhitespaceValueType fws,
						 xmlSchemaValType valType,
						 const xmlChar *value,
						 xmlSchemaVal *val,
						 xmlSchemaWhitespaceValueType ws);
XMLPUBFUN void
		xmlSchemaFreeValue		(xmlSchemaVal *val);
XMLPUBFUN xmlSchemaFacet *
		xmlSchemaNewFacet		(void);
XMLPUBFUN int
		xmlSchemaCheckFacet		(xmlSchemaFacet *facet,
						 xmlSchemaType *typeDecl,
						 xmlSchemaParserCtxt *ctxt,
						 const xmlChar *name);
XMLPUBFUN void
		xmlSchemaFreeFacet		(xmlSchemaFacet *facet);
XMLPUBFUN int
		xmlSchemaCompareValues		(xmlSchemaVal *x,
						 xmlSchemaVal *y);
XMLPUBFUN xmlSchemaType *
    xmlSchemaGetBuiltInListSimpleTypeItemType	(xmlSchemaType *type);
XMLPUBFUN int
    xmlSchemaValidateListSimpleTypeFacet	(xmlSchemaFacet *facet,
						 const xmlChar *value,
						 unsigned long actualLen,
						 unsigned long *expectedLen);
XMLPUBFUN xmlSchemaType *
		xmlSchemaGetBuiltInType		(xmlSchemaValType type);
XMLPUBFUN int
		xmlSchemaIsBuiltInTypeFacet	(xmlSchemaType *type,
						 int facetType);
XMLPUBFUN xmlChar *
		xmlSchemaCollapseString		(const xmlChar *value);
XMLPUBFUN xmlChar *
		xmlSchemaWhiteSpaceReplace	(const xmlChar *value);
XMLPUBFUN unsigned long 
		xmlSchemaGetFacetValueAsULong	(xmlSchemaFacet *facet);
XMLPUBFUN int
		xmlSchemaValidateLengthFacet	(xmlSchemaType *type,
						 xmlSchemaFacet *facet,
						 const xmlChar *value,
						 xmlSchemaVal *val,
						 unsigned long *length);
XMLPUBFUN int
		xmlSchemaValidateLengthFacetWhtsp(xmlSchemaFacet *facet,
						  xmlSchemaValType valType,
						  const xmlChar *value,
						  xmlSchemaVal *val,
						  unsigned long *length,
						  xmlSchemaWhitespaceValueType ws);
XMLPUBFUN int
		xmlSchemaValPredefTypeNodeNoNorm(xmlSchemaType *type,
						 const xmlChar *value,
						 xmlSchemaVal **val,
						 xmlNode *node);
XMLPUBFUN int
		xmlSchemaGetCanonValue		(xmlSchemaVal *val,
						 const xmlChar **retValue);
XMLPUBFUN int
		xmlSchemaGetCanonValueWhtsp	(xmlSchemaVal *val,
						 const xmlChar **retValue,
						 xmlSchemaWhitespaceValueType ws);
XMLPUBFUN int
		xmlSchemaValueAppend		(xmlSchemaVal *prev,
						 xmlSchemaVal *cur);
XMLPUBFUN xmlSchemaVal *
		xmlSchemaValueGetNext		(xmlSchemaVal *cur);
XMLPUBFUN const xmlChar *
		xmlSchemaValueGetAsString	(xmlSchemaVal *val);
XMLPUBFUN int
		xmlSchemaValueGetAsBoolean	(xmlSchemaVal *val);
XMLPUBFUN xmlSchemaVal *
		xmlSchemaNewStringValue		(xmlSchemaValType type,
						 const xmlChar *value);
XMLPUBFUN xmlSchemaVal *
		xmlSchemaNewNOTATIONValue	(const xmlChar *name,
						 const xmlChar *ns);
XMLPUBFUN xmlSchemaVal *
		xmlSchemaNewQNameValue		(const xmlChar *namespaceName,
						 const xmlChar *localName);
XMLPUBFUN int
		xmlSchemaCompareValuesWhtsp	(xmlSchemaVal *x,
						 xmlSchemaWhitespaceValueType xws,
						 xmlSchemaVal *y,
						 xmlSchemaWhitespaceValueType yws);
XMLPUBFUN xmlSchemaVal *
		xmlSchemaCopyValue		(xmlSchemaVal *val);
XMLPUBFUN xmlSchemaValType
		xmlSchemaGetValType		(xmlSchemaVal *val);

#ifdef __cplusplus
}
#endif

#endif /* LIBXML_SCHEMAS_ENABLED */
#endif /* __XML_SCHEMA_TYPES_H__ */