diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2013-06-03 20:43:25 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2013-06-03 20:43:25 +0000 |
commit | 5e3b2449340245febd68b79c148a5ca3fd95336a (patch) | |
tree | 1046bf45634ca7ed7d685142c079263ac3500d82 /include | |
parent | 1ec5a4ad845a3dcc413fc96cf8d07964f1a9fbaf (diff) |
- added base64 encode/decode services in Miranda? utils
git-svn-id: http://svn.miranda-ng.org/main/trunk@4875 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r-- | include/m_utils.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/m_utils.h b/include/m_utils.h index 17640c6d32..3c8a01af89 100644 --- a/include/m_utils.h +++ b/include/m_utils.h @@ -348,6 +348,18 @@ __forceinline INT_PTR Utils_AssertInsideScreen(RECT *rc) { //Always returns 0
#define MS_UTILS_GETRANDOM "Utils/GetRandom"
+//Generates Base64 encoded string
+//wParam = 0 (unused)
+//lParam = (LPARAM)(char*)pointer to source string
+//Returns (char*)pointer to encoded string
+#define MS_UTILS_ENCODEBASE64 "Utils/EncodeBase64"
+
+//Generates Base64 decoded string
+//wParam = 0 (unused)
+//lParam = (LPARAM)(char*)pointer to encoded string
+//Returns (char*)pointer to decoded string
+#define MS_UTILS_DECODEBASE64 "Utils/DecodeBase64"
+
//Replace variables in text
//wParam = (char*/TCHAR*/WCHAR*)string (depends on RVF_UNICODE/RVF_TCHAR flag)
//lParam = (REPLACEVARSDATA *) data about variables, item with key = 0 terminates the list
|