summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/utils.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-06-02 18:35:56 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-06-02 18:35:56 +0000
commit11822f442f96b074e5e39bd4cc14d277205a9307 (patch)
tree8257ab929e3f2d5e626f693ca13c90b50aa196f0 /protocols/WhatsApp/src/utils.h
parent329ad84fa5b5a813b032f416e959eb2b0bb3582e (diff)
first version of Wassup that compiles
git-svn-id: http://svn.miranda-ng.org/main/trunk@4863 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/utils.h')
-rw-r--r--protocols/WhatsApp/src/utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/WhatsApp/src/utils.h b/protocols/WhatsApp/src/utils.h
index e6686d1764..b5430bcfa9 100644
--- a/protocols/WhatsApp/src/utils.h
+++ b/protocols/WhatsApp/src/utils.h
@@ -105,6 +105,11 @@ namespace utils
{
std::string source_get_value(std::string* data, unsigned int argument_count, ...);
};
+
+ BYTE* md5string(const BYTE*, int, BYTE* digest);
+ __forceinline BYTE* md5string(const std::string& str, BYTE* digest) {
+ return md5string((BYTE*)str.data(), (int)str.length(), digest);
+ }
};