From d9ba54db9c60f8d3261b6ed54065e81d94a98165 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 3 Jun 2013 22:15:25 +0000 Subject: mir_base64_decode & mir_base64_encode moved to mir_core.dll git-svn-id: http://svn.miranda-ng.org/main/trunk@4877 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/delphi/m_core.inc | 5 +++++ include/m_core.h | 3 +++ 2 files changed, 8 insertions(+) (limited to 'include') diff --git a/include/delphi/m_core.inc b/include/delphi/m_core.inc index e462aeac27..0b14858923 100644 --- a/include/delphi/m_core.inc +++ b/include/delphi/m_core.inc @@ -553,6 +553,11 @@ procedure mir_sha1_hash(dataIn:pmir_sha1_byte_t; len:int;hashout:SHA1Hash); stdc /////////////////////////////////////////////////////////////////////////////// // strings +function mir_base64_decode(str:pAnsiChar):pAnsiChar; stdcall; + external CoreDLL name 'mir_base64_decode'; +function mir_base64_encode(str:pAnsiChar):pAnsiChar; stdcall; + external CoreDLL name 'mir_base64_encode'; + function rtrim(str:pAnsiChar):pAnsiChar; stdcall; external CoreDLL name 'rtrim'; function rtrimw(str:pWideChar):pWideChar; stdcall; diff --git a/include/m_core.h b/include/m_core.h index f67faf7be1..8c8602f921 100644 --- a/include/m_core.h +++ b/include/m_core.h @@ -453,6 +453,9 @@ MIR_CORE_DLL(void) mir_sha1_hash(mir_sha1_byte_t *dataIn, int len, mir_sha1_byte /////////////////////////////////////////////////////////////////////////////// // strings +MIR_CORE_DLL(void*) mir_base64_decode(const char *input, unsigned *outputLen); +MIR_CORE_DLL(char*) mir_base64_encode(const BYTE *input, unsigned inputLen); + MIR_CORE_DLL(char*) rtrim(char *str); MIR_CORE_DLL(WCHAR*) rtrimw(WCHAR *str); -- cgit v1.2.3