X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=libcitadel%2Flib%2Flibcitadel.h;h=06a8bcf19cef4b280629daf139fa37e6691c78d4;hb=48bcbd11180a2bde2122f774e411f938ff85e1a6;hp=6386707dc18d58965da01453b4d57466d2adc69f;hpb=4e9da56d81a0bf3977a37640e0db30112d37e7c5;p=citadel.git diff --git a/libcitadel/lib/libcitadel.h b/libcitadel/lib/libcitadel.h index 6386707dc..06a8bcf19 100644 --- a/libcitadel/lib/libcitadel.h +++ b/libcitadel/lib/libcitadel.h @@ -311,8 +311,8 @@ void StrBuf_RFC822_2_Utf8(StrBuf *Target, void StrBuf_RFC822_to_Utf8(StrBuf *Target, const StrBuf *DecodeMe, const StrBuf* DefaultCharset, StrBuf *FoundCharset); typedef enum __eStreamType { - eBase64Encode, - eBase64Decode, + //eBase64Encode, + //eBase64Decode, eZLibEncode, eZLibDecode, eEmtyCodec @@ -405,7 +405,7 @@ long extract_long (const char *source, int parmnum); unsigned long extract_unsigned_long(const char *source, int parmnum); void CtdlInitBase64Table(void); size_t CtdlEncodeBase64(char *dest, const char *source, size_t sourcelen, int linebreaks); -int CtdlDecodeBase64(char *dest, const char *source, size_t length); +size_t CtdlDecodeBase64(char *dest, const char *source, size_t length); unsigned int decode_hex(char *Source); int CtdlDecodeQuotedPrintable(char *decoded, char *encoded, int sourcelen); void StripSlashes(char *Dir, int TrailingSlash);