exip  Alpha 0.5.4
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
bodyDecode.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 BODYDECODE_H_
18 #define BODYDECODE_H_
19 
20 #include "contentHandler.h"
21 
32 errorCode processNextProduction(EXIStream* strm, SmallIndex* nonTermID_out, ContentHandler* handler, void* app_data);
33 
42 errorCode decodeQName(EXIStream* strm, QName* qname, QNameID* qnameID);
43 
52 
61 errorCode decodeLn(EXIStream* strm, Index uriId, Index* lnId);
62 
72 errorCode decodePfxQname(EXIStream* strm, QName* qname, SmallIndex uriId);
73 
82 errorCode decodePfx(EXIStream* strm, SmallIndex uriID, SmallIndex* pfxId);
83 
91 errorCode decodeStringValue(EXIStream* strm, QNameID qnameID, String* value);
92 
102 errorCode decodeEventContent(EXIStream* strm, Production* prodHit, ContentHandler* handler, SmallIndex* nonTermID_out, void* app_data);
103 
115 errorCode decodeValueItem(EXIStream* strm, Index typeId, ContentHandler* handler, SmallIndex* nonTermID_out, QNameID localQNameID, void* app_data);
116 
125 errorCode decodeNSEvent(EXIStream* strm, ContentHandler* handler, SmallIndex* nonTermID_out, void* app_data);
126 
135 errorCode decodeSEWildcardEvent(EXIStream* strm, ContentHandler* handler, SmallIndex* nonTermID_out, void* app_data);
136 
145 errorCode decodeATWildcardEvent(EXIStream* strm, ContentHandler* handler, SmallIndex* nonTermID_out, void* app_data);
146 
147 
148 #endif /* BODYDECODE_H_ */