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 "rtxsrc/rtxDiagBitTrace.h"
Go to the source code of this file.
Classes | |
| struct | OSEXICtxtInfo |
| struct | OSEXIHeader |
Defines | |
| #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 | EXICTXT(pctxt) ((OSEXICtxtInfo*)((pctxt)->pEXIInfo)) |
| #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. | |
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 | rtEXISetBufPtr (OSCTXT *pctxt, OSOCTET *bufaddr, size_t bufsiz) |
| This function is used to set the internal buffer within the run-time library context. | |
Detailed Description
EXI low-level C context and structure definitions.
Definition in file osrtexi.h.
