* add wrapper to base64 decoding
authorWilfried Göesgens <willi@citadel.org>
Mon, 28 Jul 2008 21:20:42 +0000 (21:20 +0000)
committerWilfried Göesgens <willi@citadel.org>
Mon, 28 Jul 2008 21:20:42 +0000 (21:20 +0000)
* resynced debian changelog with debs

libcitadel/debian/changelog
libcitadel/debian/files
libcitadel/lib/libcitadel.h
libcitadel/lib/stringbuf.c

index 0af783fe99710a8f801f802968f92dae17c8e710..e51874cb602fdbe2acc0a0989c0cd6b4cb87d7fd 100644 (file)
@@ -1,3 +1,15 @@
+libcitadel (7.37-7) stable; urgency=low
+
+  * new upstream version
+
+ -- Wilfried Goesgens <w.goesgens@outgesourced.org>  Thu, 19 Jun 2008 22:00:00 +0002
+
+libcitadel (1.14-6) stable; urgency=low
+
+  * new upstream version
+
+ -- Wilfried Goesgens <w.goesgens@outgesourced.org>  Fri, 30 May 2008 19:00:00 +0002
+
 libcitadel (1.09-5) stable; urgency=low
 
   * new upstream version
index addf18a45c84dd274d79bb943bf37365c4e7c29e..5809b7f53d1349d7ff0a52d6f3e7d5192afb1092 100644 (file)
@@ -1,3 +1,3 @@
-libcitadel1_1.09-5_i386.deb libs optional
-libcitadel1-dbg_1.09-5_i386.deb libdevel optional
-libcitadel-dev_1.09-5_i386.deb libdevel optional
+libcitadel1_7.37-7_i386.deb libs optional
+libcitadel1-dbg_7.37-7_i386.deb libdevel optional
+libcitadel-dev_7.37-7_i386.deb libdevel optional
index 66dba61e220d00f0ec7a256154cec18788c4269f..d9f1996e403e78fdfff3bea4d9c15f0836ada7b4 100644 (file)
@@ -237,6 +237,7 @@ void StrBufEUid_unescapize(StrBuf *target, StrBuf *source);
 void StrBufEUid_escapize(StrBuf *target, StrBuf *source);
 
 int CompressBuffer(StrBuf *Buf);
+int StrBufDecodeBase64(StrBuf *Buf);
 
 long StrTol(StrBuf *Buf);
 
index 87d6e3a7536bbc767e100f1a9d9680042d39e2ee..5a991df5a91d0b307a73aa2201df315b2c8f7f04 100644 (file)
@@ -673,3 +673,19 @@ int CompressBuffer(StrBuf *Buf)
 #endif /* HAVE_ZLIB */
        return 0;
 }
+
+int StrBufDecodeBase64(StrBuf *Buf)
+{
+       char *xferbuf;
+       size_t siz;
+       if (Buf == NULL) return -1;
+
+       xferbuf = (char*) malloc(Buf->BufSize);
+       siz = CtdlDecodeBase64(xferbuf,
+                              Buf->buf,
+                              Buf->BufUsed);
+       free(Buf->buf);
+       Buf->buf = xferbuf;
+       Buf->BufUsed = siz;
+       return siz;
+}