summaryrefslogtreecommitdiffstats
path: root/common/gettime.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--common/gettime.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/gettime.h b/common/gettime.h
index 731be569b..4199369e4 100644
--- a/common/gettime.h
+++ b/common/gettime.h
@@ -34,6 +34,9 @@ void gnupg_set_time (time_t newtime, int freeze);
int gnupg_faked_time_p (void);
u32 make_timestamp (void);
u32 scan_isodatestr (const char *string);
+int isotime_p (const char *string);
+int isotime_human_p (const char *string);
+size_t string2isotime (gnupg_isotime_t atime, const char *string);
time_t isotime2epoch (const char *string);
void epoch2isotime (gnupg_isotime_t timebuf, time_t atime);
u32 add_days_to_timestamp (u32 stamp, u16 days);