From 613e372ae4eac758bcfa13f7cd73c4f0f8e9d027 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Sat, 19 Nov 2005 16:27:04 +0000 Subject: [PATCH] updates. --- CHANGES | 5 +++++ includes/silcincludes.h.in | 1 + lib/silcutil/DIRECTORY | 1 + lib/silcutil/silcstrutil.h | 4 ++++ 4 files changed, 11 insertions(+) diff --git a/CHANGES b/CHANGES index de2e9593..f40e2a1d 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,8 @@ +Sat Nov 19 17:34:51 EET 2005 Pekka Riikonen + + * Added SilcMime API to lib/silcutil/silcmime.[ch]. The old + silc_mime_parse is available but deprecated. + Wed Nov 16 15:47:12 EET 2005 Pekka Riikonen * Added SHA-256 to crypto library. The SHA-256 takes now diff --git a/includes/silcincludes.h.in b/includes/silcincludes.h.in index 50f98475..1aee4bf3 100644 --- a/includes/silcincludes.h.in +++ b/includes/silcincludes.h.in @@ -270,6 +270,7 @@ extern "C" { #include "silcsockconn.h" #include "silcvcard.h" #include "silcapputil.h" +#include "silcmime.h" /* SILC core library includes */ #include "silcargument.h" diff --git a/lib/silcutil/DIRECTORY b/lib/silcutil/DIRECTORY index 46c522ac..ffe3fa8a 100644 --- a/lib/silcutil/DIRECTORY +++ b/lib/silcutil/DIRECTORY @@ -23,6 +23,7 @@ @LINK=silcdlist.html:SILC Dynamic List Interface @LINK=silcvcard.html:SILC VCard Interface @LINK=silcapputil.html:SILC Application Utilities +@LINK=silcmime.html:SILC MIME Interface --> SILC Utility Library diff --git a/lib/silcutil/silcstrutil.h b/lib/silcutil/silcstrutil.h index 43ad42fb..fc2ac47a 100644 --- a/lib/silcutil/silcstrutil.h +++ b/lib/silcutil/silcstrutil.h @@ -142,6 +142,10 @@ unsigned char *silc_pem_decode(unsigned char *pem, SilcUInt32 pem_len, * the data without the MIME header. The caller is responsible of * NULL terminating the buffers it provides. * + * NOTES + * + * This function is deprecated. Use the SilcMime API instead. + * ***/ bool silc_mime_parse(const unsigned char *mime, SilcUInt32 mime_len, -- 2.24.0