diff options
author | George Hazan <george.hazan@gmail.com> | 2013-06-03 22:15:25 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-06-03 22:15:25 +0000 |
commit | d9ba54db9c60f8d3261b6ed54065e81d94a98165 (patch) | |
tree | 95b8b436a31664204131140376f5a42fa17cd7d1 /include | |
parent | 0ad4fffb15944d82febdcec80ef920cd400d8169 (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/delphi/m_core.inc | 5 | ||||
-rw-r--r-- | include/m_core.h | 3 |
2 files changed, 8 insertions, 0 deletions
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);
|