git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7320b69
)
Ticket 37. formatTime() and readTime() methods declare added.
author
Elena Mamontova
<helenh463@gmail.com>
Tue, 27 Sep 2016 13:08:26 +0000
(16:08 +0300)
committer
Elena Mamontova
<helenh463@gmail.com>
Tue, 27 Sep 2016 13:08:26 +0000
(16:08 +0300)
stglibs/common.lib/include/stg/common.h
patch
|
blob
|
history
diff --git
a/stglibs/common.lib/include/stg/common.h
b/stglibs/common.lib/include/stg/common.h
index af0f89a181c66dafd477356a5429f6baf148d7e2..6734a435351c4a2aa2039adeab06986c1d882c73 100644
(file)
--- a/
stglibs/common.lib/include/stg/common.h
+++ b/
stglibs/common.lib/include/stg/common.h
@@
-149,6
+149,8
@@
bool WriteAll(int sd, const void * source, size_t size);
std::string ToPrintable(const std::string & src);
std::string ToPrintable(const std::string & src);
+std::string formatTime(time_t value);
+time_t readTime(const std::string & value);
//-----------------------------------------------------------------------------
int str2x(const std::string & str, int32_t & x);
int str2x(const std::string & str, uint32_t & x);
//-----------------------------------------------------------------------------
int str2x(const std::string & str, int32_t & x);
int str2x(const std::string & str, uint32_t & x);