diff options
author | Andre Heinecke <[email protected]> | 2016-08-25 08:46:17 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2016-08-25 09:41:57 +0000 |
commit | de7b67f9b2e6bd43a036fa0bcc6a8ca4f5b10986 (patch) | |
tree | c97f122ecb06a1abb1b81e9a4da38be53e7be18e /lang/cpp/src/tofuinfo.h | |
parent | Cpp: Add wrapper for gpgme_get_dirinfo (diff) | |
download | gpgme-de7b67f9b2e6bd43a036fa0bcc6a8ca4f5b10986.tar.gz gpgme-de7b67f9b2e6bd43a036fa0bcc6a8ca4f5b10986.zip |
Cpp: Change firstSeen / lastSeen return values
* lang/cpp/src/tofuinfo.cpp,
lang/cpp/src/tofuinfo.h (TofuInfo::firstSeen, TofuInfo::lastSeen):
Change return values to unsigned long and update doc.
Diffstat (limited to 'lang/cpp/src/tofuinfo.h')
-rw-r--r-- | lang/cpp/src/tofuinfo.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lang/cpp/src/tofuinfo.h b/lang/cpp/src/tofuinfo.h index 48351205..eb5dbcc5 100644 --- a/lang/cpp/src/tofuinfo.h +++ b/lang/cpp/src/tofuinfo.h @@ -93,11 +93,11 @@ public: /* Number of signatures seen for this binding. Capped at USHRT_MAX. */ unsigned short signCount() const; - /* Number of seconds since the first message was verified. */ - unsigned int firstSeen() const; + /** Number of seconds since epoch when the first message was verified */ + unsigned long firstSeen() const; - /* Number of seconds since the last message was verified. */ - unsigned int lastSeen() const; + /** Number of seconds since epoch when the last message was verified */ + unsigned long lastSeen() const; /* If non-NULL a human readable string summarizing the TOFU data. */ const char *description() const; |