exip  Alpha 0.5.4
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
dynOutputUtils.c File Reference

Implement utility functions for storing EXIPSchema instances as dynamic code. More...

#include "schemaOutputUtils.h"
#include "hashtable.h"
#include "stringManipulate.h"

Go to the source code of this file.

Macros

#define MAX_GRAMMARS_COUNT   5000
 

Functions

errorCode dynExipSchemaOutput (EXIPSchema *schema, char *prefix, unsigned char mask_specified, unsigned char mask_strict, unsigned char mask_sc, unsigned char mask_preserve, FILE *out)
 DYNAMIC CODE OUTPUT DEFINITIONS. More...
 

Detailed Description

Date
May 7, 2012
Author
Rumen Kyusakov
Version
0.5
[Revision] $Id: dynOutputUtils.c 328 2013-10-30 16:00:10Z kjussakov $

Definition in file dynOutputUtils.c.

Macro Definition Documentation

#define MAX_GRAMMARS_COUNT   5000

Definition at line 21 of file dynOutputUtils.c.

Function Documentation

errorCode dynExipSchemaOutput ( EXIPSchema schema,
char *  prefix,
unsigned char  mask_specified,
unsigned char  mask_strict,
unsigned char  mask_sc,
unsigned char  mask_preserve,
FILE *  out 
)

Builds an EXISchema dynamic code representation and stores it in out Creates a code that returns a function definition that dynamically creates EXISchema instances

Parameters
[in]schemaEXISchema instance to be stored
[in]prefixprefix for the definitions
[in]mask_specifiedwhether options and EXI header parameters are set
[in]mask_strictvalue of strict option
[in]mask_scvalue of self contained option
[in]mask_preservevalue of preserve option
[out]outoutput stream
Returns
Error handling code

Definition at line 24 of file dynOutputUtils.c.