diff options
author | Werner Koch <[email protected]> | 2015-12-23 14:45:20 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2015-12-23 14:46:09 +0000 |
commit | a9cbdcfd9c364557787f4a173cc59f14c067946e (patch) | |
tree | f5341d944cfd6cd5f35155681b6716400f969229 /common/userids.c | |
parent | gpg: Simplify status message code from commit b30c15bf. (diff) | |
download | gnupg-a9cbdcfd9c364557787f4a173cc59f14c067946e.tar.gz gnupg-a9cbdcfd9c364557787f4a173cc59f14c067946e.zip |
gpg: Rename struct pubkey to pukey_s and add pubkey_t.
* g10/keydb.h (struct pubkey): Rename to pubkey_s.
(pubkey_t): New. Change all struct pubkey_s to use this type.
* g10/getkey.c (get_pubkeys): Rename arg keys to r_keys.
--
It is common in GnuPG to use a suffix of _s for struct names. There
is no technical need for this (actually this pattern comes from pre
ANSI C compilers which had no separate namespaces) but it avoid
surprises when reading the code.
Adding the pubkey_t type is mainly to improve font locking by using
the common suffix _t for a typedefed type.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'common/userids.c')
0 files changed, 0 insertions, 0 deletions