exip
Alpha 0.5.4
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
bin
headers
bin/headers/grammarGenerator.h
Go to the documentation of this file.
1
/*==================================================================*\
2
| EXIP - Embeddable EXI Processor in C |
3
|--------------------------------------------------------------------|
4
| This work is licensed under BSD 3-Clause License |
5
| The full license terms and conditions are located in LICENSE.txt |
6
\===================================================================*/
7
17
#ifndef GRAMMARGENERATOR_H_
18
#define GRAMMARGENERATOR_H_
19
20
#include "
errorHandle.h
"
21
#include "
procTypes.h
"
22
26
enum
SchemaFormat
27
{
28
SCHEMA_FORMAT_XSD_EXI
= 0,
29
SCHEMA_FORMAT_XSD_XML
= 1,
30
SCHEMA_FORMAT_DTD
= 2,
31
SCHEMA_FORMAT_RELAX_NG
= 3
32
};
33
34
typedef
enum
SchemaFormat
SchemaFormat
;
35
57
errorCode
loadSchemaHandler
(
String
*
namespace
,
String
* schemaLocation,
BinaryBuffer
** buffers,
unsigned
int
* bufCount,
SchemaFormat
* schemaFormat,
EXIOptions
** opt);
58
81
errorCode
generateSchemaInformedGrammars
(
BinaryBuffer
* buffers,
unsigned
int
bufCount,
SchemaFormat
schemaFormat,
EXIOptions
* opt,
EXIPSchema
* schema,
82
errorCode
(*
loadSchemaHandler
) (
String
*
namespace
,
String
* schemaLocation,
BinaryBuffer
** buffers,
unsigned
int
* bufCount,
SchemaFormat
* schemaFormat,
EXIOptions
** opt));
83
88
void
destroySchema
(
EXIPSchema
* schema);
89
90
#endif
/* GRAMMARGENERATOR_H_ */
Generated on Thu Nov 27 2014 10:56:08 for exip by
1.8.4