summaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorNeel Chauhan <neel@neelc.org>2018-04-16 20:14:49 -0400
committerNeel Chauhan <neel@neelc.org>2018-04-16 20:37:50 -0400
commit9e3e1b8bfb7739d3add782a9f2fe7242ec9a36ae (patch)
treec45a4b0f30e34b798acc282da3f767ed75d900bb /src/common/util.h
parentae4e5b98245169dc02c12138d4acc69ce7da0261 (diff)
downloadtor-9e3e1b8bfb7739d3add782a9f2fe7242ec9a36ae.tar.gz
tor-9e3e1b8bfb7739d3add782a9f2fe7242ec9a36ae.zip
Add format_local_iso_time_nospace()
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h
index ae27e5f016..5708b7fd86 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -269,6 +269,7 @@ int parse_rfc1123_time(const char *buf, time_t *t);
#define ISO_TIME_USEC_LEN (ISO_TIME_LEN+7)
void format_local_iso_time(char *buf, time_t t);
void format_iso_time(char *buf, time_t t);
+void format_local_iso_time_nospace(char *buf, time_t t);
void format_iso_time_nospace(char *buf, time_t t);
void format_iso_time_nospace_usec(char *buf, const struct timeval *tv);
int parse_iso_time_(const char *cp, time_t *t, int strict, int nospace);