STRBUF: add wrapper to do source -> target buffer base 64 decoding
[citadel.git] / libcitadel / lib / libcitadel.h
index bd7c8da9ccf2be13e1bd6389a784e7a6f4652220..a1aacb5fb2aa965b8d28873420e886ff46c107df 100644 (file)
@@ -339,6 +339,7 @@ void StrBuf_RFC822_2_Utf8(StrBuf *Target,
 void StrBuf_RFC822_to_Utf8(StrBuf *Target, const StrBuf *DecodeMe, const StrBuf* DefaultCharset, StrBuf *FoundCharset);
 
 int StrBufDecodeBase64(StrBuf *Buf);
+int StrBufDecodeBase64To(const StrBuf *BufIn, StrBuf *BufOut);
 int StrBufDecodeHex(StrBuf *Buf);
 StrBuf *StrBufRFC2047encodeMessage(const StrBuf *EncodeMe);
 int StrBufRFC2047encode(StrBuf **target, const StrBuf *source);