diff options
Diffstat (limited to 'common/gettime.h')
-rw-r--r-- | common/gettime.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/gettime.h b/common/gettime.h index 73f188634..4f7199f92 100644 --- a/common/gettime.h +++ b/common/gettime.h @@ -38,6 +38,11 @@ the KSBA type ksba_isotime_t. */ typedef char gnupg_isotime_t[16]; +/* Constant string of 16-byte, which is compatible to the type + gnupg_iso_time_t. */ +#define GNUPG_ISOTIME_NONE \ + "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" + time_t gnupg_get_time (void); struct tm *gnupg_gmtime (const time_t *timep, struct tm *result); void gnupg_get_isotime (gnupg_isotime_t timebuf); |