Handle situation in where we have multiple buffers to send at the end.
[citadel.git] / libcitadel / lib / libcitadel.h
index 0ee3df9d98d5e578777bdf1dde1e696505b91205..cba677a5d0f9763fbe4b4d06d3dca455468da3a9 100644 (file)
@@ -348,7 +348,7 @@ typedef enum __eStreamType {
 
 void *StrBufNewStreamContext(eStreamType type);
 void StrBufDestroyStreamContext(eStreamType type, void **Stream);
-void StrBufStreamTranscode(eStreamType type, IOBuffer *Target, IOBuffer *In, const char* pIn, long pInLen, void *Stream, int LastChunk);
+int StrBufStreamTranscode(eStreamType type, IOBuffer *Target, IOBuffer *In, const char* pIn, long pInLen, void *Stream, int LastChunk);
 
 int StrBufDecodeBase64(StrBuf *Buf);
 int StrBufDecodeBase64To(const StrBuf *BufIn, StrBuf *BufOut);