exip
Alpha 0.5.4
|
Support functions for the common types. More...
Go to the source code of this file.
Functions | |
void | makeDefaultOpts (EXIOptions *opts) |
Set the EXI options to their default values. More... | |
errorCode | checkOptionValues (EXIOptions *opts) |
Check if the EXI options are set correctly. More... | |
errorCode | pushOnStack (GenericStack **stack, void *item) |
void | popFromStack (GenericStack **stack, void **item) |
int | compareEnumDefs (const void *enum1, const void *enum2) |
errorCode | pushOnStackPersistent (GenericStack **stack, void *item, AllocList *memList) |
void | popFromStackPersistent (GenericStack **stack, void **item) |
Variables | |
const char * | errorCodeStrings [] |
Definition in file procTypes.c.
errorCode checkOptionValues | ( | EXIOptions * | opts) |
[in] | opts | EXI options structure |
Mismatch in the header options. This error can be due to: 1) The "alignment" element MUST NOT appear in an EXI options document when the "compression" element is present; 2) The "strict" element MUST NOT appear in an EXI options document when one of "dtd", "prefixes", "comments", "pis" or "selfContained" element is present in the same options document. That is only the element "lexicalValues", from the fidelity options, is permitted to occur in the presence of "strict" element; 3) The "selfContained" element MUST NOT appear in an EXI options document when one of "compression", "pre-compression" or "strict" elements are present in the same options document. 4) The datatypeRepresentationMap option does not take effect when the value of the Preserve.lexicalValues fidelity option is true (see 6.3 Fidelity Options), or when the EXI stream is a schema-less EXI stream.
Definition at line 35 of file procTypes.c.
int compareEnumDefs | ( | const void * | enum1, |
const void * | enum2 | ||
) |
Definition at line 107 of file procTypes.c.
void makeDefaultOpts | ( | EXIOptions * | opts) |
[in,out] | opts | EXI options structure |
Definition at line 21 of file procTypes.c.
void popFromStack | ( | GenericStack ** | stack, |
void ** | item | ||
) |
Definition at line 90 of file procTypes.c.
void popFromStackPersistent | ( | GenericStack ** | stack, |
void ** | item | ||
) |
Definition at line 132 of file procTypes.c.
errorCode pushOnStack | ( | GenericStack ** | stack, |
void * | item | ||
) |
Definition at line 78 of file procTypes.c.
errorCode pushOnStackPersistent | ( | GenericStack ** | stack, |
void * | item, | ||
AllocList * | memList | ||
) |
Definition at line 120 of file procTypes.c.
const char* errorCodeStrings[] |
Definition at line 150 of file procTypes.c.