exip  Alpha 0.5.4
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
createGrammars.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 CREATEGRAMMARS_H_
18 #define CREATEGRAMMARS_H_
19 
20 #include "procTypes.h"
21 
22 typedef struct
23 {
24  unsigned int url;
25  unsigned int ln;
26  unsigned int grammar;
27  unsigned int pfx;
28 } Deviations;
29 
30 errorCode toText(EXIPSchema* schemaPtr, FILE *outfile);
31 
32 errorCode toStaticSrc(EXIPSchema* schemaPtr, char* prefix, FILE *outfile, Deviations dvis);
33 
34 errorCode toDynSrc(EXIPSchema* schemaPtr, FILE *outfile);
35 
36 errorCode toEXIP(EXIPSchema* schemaPtr, FILE *outfile);
37 
38 #endif /* CREATEGRAMMARS_H_ */