summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/utils.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-03-15 10:22:11 +0000
committerRobert Pösel <robyer@seznam.cz>2014-03-15 10:22:11 +0000
commit7846764cedc3ebc2827e891d683fec31e2149baa (patch)
tree1cb561f95f6d46e7f62ccd022637b5bc9bf78065 /protocols/FacebookRM/src/utils.h
parent9ba2c4ec23e4079b69988719b56d8dd2f5d132ae (diff)
Facebook: use clientid parameter in channel requests (fixes #536), version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@8613 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/utils.h')
-rw-r--r--protocols/FacebookRM/src/utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/utils.h b/protocols/FacebookRM/src/utils.h
index 35f043410b..c6fade2c49 100644
--- a/protocols/FacebookRM/src/utils.h
+++ b/protocols/FacebookRM/src/utils.h
@@ -48,7 +48,7 @@ namespace utils
namespace number
{
- int random();
+ int random(int min, int max);
};
namespace text
@@ -64,6 +64,7 @@ namespace utils
std::string source_get_value(std::string* data, unsigned int argument_count, ...);
std::string source_get_value2(std::string* data, const char *term, const char *endings, bool wholeString = false);
std::string source_get_form_data(std::string* data);
+ std::string rand_string(int len, const char *chars = "0123456789" "ABCDEFGHIJKLMNOPQRSTUVWXYZ" "abcdefghijklmnopqrstuvwxyz");
void explode(std::string str, std::string separator, std::vector<std::string>* results);
void append_ordinal(unsigned long value, std::string* data);
};