summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/FacebookRM/src/utils.h')
-rw-r--r--protocols/FacebookRM/src/utils.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/utils.h b/protocols/FacebookRM/src/utils.h
index 9918eb917f..f0b3b68d96 100644
--- a/protocols/FacebookRM/src/utils.h
+++ b/protocols/FacebookRM/src/utils.h
@@ -99,8 +99,9 @@ namespace utils
namespace conversion
{
DWORD to_timestamp(std::string data);
- std::string to_string(void*, WORD type);
-
+ struct tm *fbtime_to_timeinfo(double timestamp);
+ std::string to_string(void*, WORD type);
+
template <class T>
bool from_string(T& t, const std::string& s, std::ios_base& (*f)(std::ios_base&)) {
std::istringstream iss(s);