00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef __XML_SCHEMA_TYPES_H__
00012 #define __XML_SCHEMA_TYPES_H__
00013
00014 #include <libxml/xmlversion.h>
00015
00016 #ifdef LIBXML_SCHEMAS_ENABLED
00017
00018 #include <libxml/schemasInternals.h>
00019 #include <libxml/xmlschemas.h>
00020
00021 #ifdef __cplusplus
00022 extern "C" {
00023 #endif
00024
00025 XMLPUBFUN void XMLCALL
00026 xmlSchemaInitTypes (void);
00027 XMLPUBFUN void XMLCALL
00028 xmlSchemaCleanupTypes (void);
00029 XMLPUBFUN xmlSchemaTypePtr XMLCALL
00030 xmlSchemaGetPredefinedType (const xmlChar *name,
00031 const xmlChar *ns);
00032 XMLPUBFUN int XMLCALL
00033 xmlSchemaValidatePredefinedType (xmlSchemaTypePtr type,
00034 const xmlChar *value,
00035 xmlSchemaValPtr *val);
00036 XMLPUBFUN int XMLCALL
00037 xmlSchemaValPredefTypeNode (xmlSchemaTypePtr type,
00038 const xmlChar *value,
00039 xmlSchemaValPtr *val,
00040 xmlNodePtr node);
00041 XMLPUBFUN int XMLCALL
00042 xmlSchemaValidateFacet (xmlSchemaTypePtr base,
00043 xmlSchemaFacetPtr facet,
00044 const xmlChar *value,
00045 xmlSchemaValPtr val);
00046 XMLPUBFUN void XMLCALL
00047 xmlSchemaFreeValue (xmlSchemaValPtr val);
00048 XMLPUBFUN xmlSchemaFacetPtr XMLCALL
00049 xmlSchemaNewFacet (void);
00050 XMLPUBFUN int XMLCALL
00051 xmlSchemaCheckFacet (xmlSchemaFacetPtr facet,
00052 xmlSchemaTypePtr typeDecl,
00053 xmlSchemaParserCtxtPtr ctxt,
00054 const xmlChar *name);
00055 XMLPUBFUN void XMLCALL
00056 xmlSchemaFreeFacet (xmlSchemaFacetPtr facet);
00057 XMLPUBFUN int XMLCALL
00058 xmlSchemaCompareValues (xmlSchemaValPtr x,
00059 xmlSchemaValPtr y);
00060
00061 #ifdef __cplusplus
00062 }
00063 #endif
00064
00065 #endif
00066 #endif
00067