diff options
author | Ingo Klöcker <[email protected]> | 2020-08-04 14:09:05 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2020-08-04 14:53:28 +0000 |
commit | 197ba151e70c0aef35ee713b119d49e4637c1d05 (patch) | |
tree | 99327054f3926679dcdc02dff82fcff210117184 /lang/cpp/src/key.h | |
parent | core: New function gpgme_op_setexpire. (diff) | |
download | gpgme-197ba151e70c0aef35ee713b119d49e4637c1d05.tar.gz gpgme-197ba151e70c0aef35ee713b119d49e4637c1d05.zip |
cpp: Add ostream operator for subkey
* lang/cpp/src/key.cpp (Subkey): Add ostream operator.
* lang/cpp/src/key.h: Update accordingly.
--
This is helpful for debugging / showing the state of a subkey.
Diffstat (limited to 'lang/cpp/src/key.h')
-rw-r--r-- | lang/cpp/src/key.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/cpp/src/key.h b/lang/cpp/src/key.h index fc5e67ee..d3c6125a 100644 --- a/lang/cpp/src/key.h +++ b/lang/cpp/src/key.h @@ -516,6 +516,7 @@ private: }; GPGMEPP_EXPORT std::ostream &operator<<(std::ostream &os, const UserID &uid); +GPGMEPP_EXPORT std::ostream &operator<<(std::ostream &os, const Subkey &subkey); GPGMEPP_EXPORT std::ostream &operator<<(std::ostream &os, const Key &key); } // namespace GpgME |