aboutsummaryrefslogtreecommitdiffstats
path: root/common/gettime.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/gettime.h')
-rw-r--r--common/gettime.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/gettime.h b/common/gettime.h
index cbc257ada..08cb3b176 100644
--- a/common/gettime.h
+++ b/common/gettime.h
@@ -59,6 +59,7 @@ const char *strtimevalue (u32 stamp);
const char *strtimestamp (u32 stamp); /* GMT */
const char *isotimestamp (u32 stamp); /* GMT */
const char *asctimestamp (u32 stamp); /* localized */
+char *rfctimestamp (u32 stamp); /* RFC format, malloced. */
gpg_error_t add_seconds_to_isotime (gnupg_isotime_t atime, int nseconds);
gpg_error_t add_days_to_isotime (gnupg_isotime_t atime, int ndays);
gpg_error_t check_isotime (const gnupg_isotime_t atime);