osrtexi.h File Reference
EXI low-level C context and structure definitions. More...
#include "rtxsrc/rtxContext.h"
#include "rtxsrc/rtxStack.h"
#include "rtexisrc/rtEXIEncAutomaton.h"
#include "rtexisrc/rtEXIEncStringTables.h"
#include "rtexisrc/rtEXIDecStringTables.h"
#include "rtexisrc/rtEXIStateTable.h"
#include "rtxsrc/rtxDiagBitTrace.h"
Go to the source code of this file.
Classes | |
struct | OSEXIFullQName |
struct | OSEXICtxtSavedState |
struct | OSEXIPrefixRec |
struct | OSEXIUri2Prefix |
struct | OSEXICtxtInfo |
struct | OSEXIHeader |
Defines | |
#define | OSEXI_OK_EOC 1 |
#define | OSEXINULLINDEX OSUINT32_MAX |
#define | OSEXI_PRESERVE_DTD 0x80000000 |
#define | OSEXI_PRESERVE_PIS 0x40000000 |
#define | OSEXI_PRESERVE_COMMENTS 0x20000000 |
#define | OSEXI_PRESERVE_PREFIXES 0x10000000 |
#define | OSEXI_PRESERVE_LEXICAL 0x08000000 |
#define | OSEXI_FRAGMENT 0x04000000 |
#define | OSEXI_COMPRESSED 0x02000000 |
#define | OSEXI_ALIGNED 0x01000000 |
#define | OSEXI_PRECOMPRESSED 0x00800000 |
#define | OSEXI_SCHEMA 0x00400000 |
#define | OSEXI_NOWHITESPACE 0x00200000 |
#define | OSEXI_NOHEADEROPTIONS 0x00100000 |
#define | OSEXI_STRICT 0x00080000 |
#define | OSEXI_SELFCONTAINED 0x00040000 |
#define | EXICTXT(pctxt) ((OSEXICtxtInfo*)((pctxt)->pEXIInfo)) |
#define | EXIPUSHSTATEIDX(pctxt) |
#define | EXICLEAREVENTID(pctxt) |
#define | rtEXISetBufPtr(pctxt, bufaddr, bufsiz) rtxCtxtSetBufPtr (pctxt, bufaddr, bufsiz) |
This function is used to set the internal buffer within the run-time library context. | |
#define | rtEXIGetMsgPtr(pctxt) (pctxt)->buffer.data |
This macro returns the start address of the encoded EXI message. | |
#define | rtEXIGetMsgLen(pctxt) (pctxt)->buffer.byteIndex |
This macro returns the length of the encoded XML message. | |
#define | rtEXISetOption(pctxt, option) EXICTXT(pctxt)->options |= option; |
This macro is used to set a bit flag in the EXI options bit mask. | |
#define | rtEXIClearOption(pctxt, option) EXICTXT(pctxt)->options &= ~option; |
This macro is used to clear a bit flag in the EXI options bit mask. | |
#define | rtEXITestOption(pctxt, option) ((EXICTXT(pctxt)->options & option) != 0) |
This macro tests if the given option is set in the EXI context. | |
#define | rtEXISetValueChannelId(pctxt, channelId) EXICTXT(pctxt)->curChannelId = channelId |
This macro sets the compression channel ID in the EXI context. | |
#define | rtEXISetFragmentLevel(pctxt, fraglevel) EXICTXT(pctxt)->selfContainedLevel = fraglevel |
This macro sets level of elements, that encoded as self-contained fragment. | |
#define | rtEXISetFragmentElement(pctxt, fragelement) EXICTXT(pctxt)->selfContainedElemName = (const OSUTF8CHAR*) (fragelement) |
This macro sets name of element, that encoded as self-contained fragment. | |
Functions | |
EXTERNEXI int | rtEXIInitContext (OSCTXT *pctxt) |
This function initializes a context variable for EXI encoding or decoding. | |
EXTERNEXI int | rtEXIInitCtxtAppInfo (OSCTXT *pctxt) |
This function initializes the EXI application info section of the given context. | |
EXTERNEXI int | rtEXICtxtSetStateTable (OSCTXT *pctxt, const OSEXIStateTableRecord *statetab, OSINT16 nrows) |
This function will set the state table in the EXI context to the given value if it is not already set. | |
EXTERNEXI void | rtEXIEnableBitFieldTrace (OSCTXT *pctxt) |
This function turns on bit field tracing and initializes the bit field trace list. | |
EXTERNEXI int | rtEXISetUriPrefix (OSCTXT *pctxt, const OSUTF8CHAR *prefix, const OSUTF8CHAR *uri) |
This function assign URI prefix for EXI decoding. |
Detailed Description
EXI low-level C context and structure definitions.
Definition in file osrtexi.h.