exip  Alpha 0.5.4
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
bodyEncode.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 BODYENCODE_H_
18 #define BODYENCODE_H_
19 
20 #include "errorHandle.h"
21 #include "procTypes.h"
22 
33 errorCode encodeProduction(EXIStream* strm, EventTypeClass eventClass, boolean isSchemaType, QName* qname, EXITypeClass chTypeClass, Production* prodHit);
34 
43 errorCode encodeStringData(EXIStream* strm, String strng, QNameID qnameID, Index typeId);
44 
55 errorCode encodeQName(EXIStream* strm, QName qname, EventType eventT, QNameID* qnameID);
56 
64 errorCode encodeUri(EXIStream* strm, String* uri, SmallIndex* uriID);
65 
73 errorCode encodeLn(EXIStream* strm, String* ln, QNameID* qnameID);
74 
85 errorCode encodePfxQName(EXIStream* strm, QName* qname, EventType eventT, SmallIndex uriID);
86 
94 errorCode encodePfx(EXIStream* strm, SmallIndex uriID, String* prefix);
95 
104 errorCode encodeIntData(EXIStream* strm, Integer int_val, QNameID qnameID, Index typeId);
105 
106 #endif /* BODYENCODE_H_ */