diff options
author | Werner Koch <[email protected]> | 2014-03-18 10:02:50 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2014-03-18 10:02:50 +0000 |
commit | 04e304278c9302831bc81e7fe9049c588ead029a (patch) | |
tree | 5f6d5ba7a51479fa4ec4f38db7f21fe2076ac3c6 /common/gettime.h | |
parent | gpg: Reject signatures made with MD5. (diff) | |
download | gnupg-04e304278c9302831bc81e7fe9049c588ead029a.tar.gz gnupg-04e304278c9302831bc81e7fe9049c588ead029a.zip |
common: New function elapsed_time_string.
* common/gettime.c (elapsed_time_string): New.
Diffstat (limited to 'common/gettime.h')
-rw-r--r-- | common/gettime.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/gettime.h b/common/gettime.h index bc914ad7f..736eb4168 100644 --- a/common/gettime.h +++ b/common/gettime.h @@ -33,6 +33,8 @@ void gnupg_get_isotime (gnupg_isotime_t timebuf); void gnupg_set_time (time_t newtime, int freeze); int gnupg_faked_time_p (void); u32 make_timestamp (void); +char *elapsed_time_string (time_t since, time_t now); + u32 scan_isodatestr (const char *string); int isotime_p (const char *string); int isotime_human_p (const char *string); |