diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-11-20 19:02:34 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-11-21 16:25:30 +0100 |
commit | b251f9e8857fba284f515061ac62013519997e30 (patch) | |
tree | 8cb3501b8cb32e43496e56dd76446ba7559c7eed /ffi/include | |
parent | 13c437470cc7377d7b761b5bb9b8d4efb0ba385e (diff) |
openpgp: Replace time crate with std::time.
- In sq and sqv, use chrono to interface with the user.
- Fixes #341.
Diffstat (limited to 'ffi/include')
-rw-r--r-- | ffi/include/sequoia/store.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ffi/include/sequoia/store.h b/ffi/include/sequoia/store.h index 50abc67a..38eb04d0 100644 --- a/ffi/include/sequoia/store.h +++ b/ffi/include/sequoia/store.h @@ -119,12 +119,12 @@ struct sq_stamps { /*/ /// Records the time when this has been used first. /*/ - uint64_t first; + time_t first; /*/ /// Records the time when this has been used last. /*/ - uint64_t last; + time_t last; }; /*/ @@ -134,12 +134,12 @@ struct sq_stats { /*/ /// Records the time this item was created. /*/ - uint64_t created; + time_t created; /*/ /// Records the time this item was last updated. /*/ - uint64_t updated; + time_t updated; /*/ /// Records counters and timestamps of encryptions. |