X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=libcitadel%2Flib%2Flibcitadel.h;h=f47c3cc3b9c86d3a9a81b646c2d316ff79b3f8d2;hb=8ec5a3f41a12fd1a6b890bd3726974845f1f3b6e;hp=35438cdd7625121041795f56c4a409d1f77acdb6;hpb=56cba54ee7421b9b886bbe1eab828f22475fb9c4;p=citadel.git diff --git a/libcitadel/lib/libcitadel.h b/libcitadel/lib/libcitadel.h index 35438cdd7..f47c3cc3b 100644 --- a/libcitadel/lib/libcitadel.h +++ b/libcitadel/lib/libcitadel.h @@ -261,6 +261,7 @@ void StrBufEUid_escapize(StrBuf *target, const StrBuf *source); void StrBufReplaceChars(StrBuf *buf, char search, char replace); int CompressBuffer(StrBuf *Buf); +void StrBuf_RFC822_to_Utf8(StrBuf **Buf, const StrBuf* DefaultCharset); int StrBufDecodeBase64(StrBuf *Buf); int StrBufRFC2047encode(StrBuf **target, const StrBuf *source); #define LB (1) /* Internal escape chars */ @@ -361,7 +362,7 @@ long StrBufUnescape(StrBuf *Buf, int StripBlanks); /* * Hash list implementation for Citadel */ -#define HKEY(a) a, sizeof(a) - 1 +#define HKEY(a) a, (sizeof(a) - 1) typedef struct HashList HashList; typedef struct HashKey HashKey;