~burner/xsb/debianized-xsb

« back to all changes in this revision

Viewing changes to packages/xpath/cc/libxml/xmlschemastypes.h

  • Committer: Michael R. Head
  • Date: 2006-09-06 22:11:55 UTC
  • Revision ID: burner@n23-20060906221155-7e398d23438a7ee4
Add the files from the 3.0.1 release package

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Summary: implementation of XML Schema Datatypes
 
3
 * Description: module providing the XML Schema Datatypes implementation
 
4
 *              both definition and validity checking
 
5
 *
 
6
 * Copy: See Copyright for the status of this software.
 
7
 *
 
8
 * Author: Daniel Veillard
 
9
 */
 
10
 
 
11
 
 
12
#ifndef __XML_SCHEMA_TYPES_H__
 
13
#define __XML_SCHEMA_TYPES_H__
 
14
 
 
15
#include <libxml/xmlversion.h>
 
16
 
 
17
#ifdef LIBXML_SCHEMAS_ENABLED
 
18
 
 
19
#include <libxml/schemasInternals.h>
 
20
#include <libxml/xmlschemas.h>
 
21
 
 
22
#ifdef __cplusplus
 
23
extern "C" {
 
24
#endif
 
25
 
 
26
XMLPUBFUN void XMLCALL          
 
27
                xmlSchemaInitTypes              (void);
 
28
XMLPUBFUN void XMLCALL          
 
29
                xmlSchemaCleanupTypes           (void);
 
30
XMLPUBFUN xmlSchemaTypePtr XMLCALL 
 
31
                xmlSchemaGetPredefinedType      (const xmlChar *name,
 
32
                                                 const xmlChar *ns);
 
33
XMLPUBFUN int XMLCALL           
 
34
                xmlSchemaValidatePredefinedType (xmlSchemaTypePtr type,
 
35
                                                 const xmlChar *value,
 
36
                                                 xmlSchemaValPtr *val);
 
37
XMLPUBFUN int XMLCALL           
 
38
                xmlSchemaValPredefTypeNode      (xmlSchemaTypePtr type,
 
39
                                                 const xmlChar *value,
 
40
                                                 xmlSchemaValPtr *val,
 
41
                                                 xmlNodePtr node);
 
42
XMLPUBFUN int XMLCALL           
 
43
                xmlSchemaValidateFacet          (xmlSchemaTypePtr base,
 
44
                                                 xmlSchemaFacetPtr facet,
 
45
                                                 const xmlChar *value,
 
46
                                                 xmlSchemaValPtr val);  
 
47
XMLPUBFUN void XMLCALL          
 
48
                xmlSchemaFreeValue              (xmlSchemaValPtr val);
 
49
XMLPUBFUN xmlSchemaFacetPtr XMLCALL 
 
50
                xmlSchemaNewFacet               (void);
 
51
XMLPUBFUN int XMLCALL           
 
52
                xmlSchemaCheckFacet             (xmlSchemaFacetPtr facet,
 
53
                                                 xmlSchemaTypePtr typeDecl,
 
54
                                                 xmlSchemaParserCtxtPtr ctxt,
 
55
                                                 const xmlChar *name);
 
56
XMLPUBFUN void XMLCALL          
 
57
                xmlSchemaFreeFacet              (xmlSchemaFacetPtr facet);
 
58
XMLPUBFUN int XMLCALL           
 
59
                xmlSchemaCompareValues          (xmlSchemaValPtr x,
 
60
                                                 xmlSchemaValPtr y);
 
61
XMLPUBFUN xmlSchemaTypePtr XMLCALL              
 
62
    xmlSchemaGetBuiltInListSimpleTypeItemType   (xmlSchemaTypePtr type);
 
63
XMLPUBFUN int XMLCALL
 
64
    xmlSchemaValidateListSimpleTypeFacet        (xmlSchemaFacetPtr facet,
 
65
                                                 const xmlChar *value,
 
66
                                                 unsigned long actualLen,
 
67
                                                 unsigned long *expectedLen);
 
68
XMLPUBFUN xmlSchemaTypePtr XMLCALL
 
69
                xmlSchemaGetBuiltInType         (xmlSchemaValType type);
 
70
XMLPUBFUN int XMLCALL
 
71
                xmlSchemaIsBuiltInTypeFacet     (xmlSchemaTypePtr type, 
 
72
                                                 int facetType);
 
73
XMLPUBFUN xmlChar * XMLCALL
 
74
                xmlSchemaCollapseString         (const xmlChar *value);
 
75
XMLPUBFUN xmlChar * XMLCALL
 
76
                xmlSchemaWhiteSpaceReplace      (const xmlChar *value);
 
77
XMLPUBFUN unsigned long  XMLCALL
 
78
                xmlSchemaGetFacetValueAsULong   (xmlSchemaFacetPtr facet);
 
79
XMLPUBFUN int XMLCALL
 
80
                xmlSchemaValidateLengthFacet    (xmlSchemaTypePtr type, 
 
81
                                                 xmlSchemaFacetPtr facet,
 
82
                                                 const xmlChar *value,
 
83
                                                 xmlSchemaValPtr val,
 
84
                                                 unsigned long *length) ;
 
85
XMLPUBFUN int XMLCALL
 
86
                xmlSchemaValPredefTypeNodeNoNorm(xmlSchemaTypePtr type, 
 
87
                                                 const xmlChar *value,
 
88
                                                 xmlSchemaValPtr *val, 
 
89
                                                 xmlNodePtr node);
 
90
 
 
91
#ifdef __cplusplus
 
92
}
 
93
#endif
 
94
 
 
95
#endif /* LIBXML_SCHEMAS_ENABLED */
 
96
#endif /* __XML_SCHEMA_TYPES_H__ */