Home GnuPG
Diffusion GnuPG ee8a8ec1cf46

gpg: Use enums instead of defines.
ee8a8ec1cf46Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

gpg: Use enums instead of defines.

* g10/keydb.h (PK_LIST_ENCRYPT_TO): Change from a macro to an enum.
(PK_LIST_HIDDEN): Likewise.
(PK_LIST_CONFIG): Likewise.
(PK_LIST_SHIFT): Likewise.n

Using an enum has the advantage that the symbol can be used in gdb.

  • Signed-off-by: Neal H. Walfield <neal@g10code.com>

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Dec 17 2015, 10:36 AM
Parents
rGd8392299f311: po: Update Japanese translation.
Branches
Unknown
Tags
Unknown

Event Timeline

Neal H. Walfield <neal@g10code.com> committed rGee8a8ec1cf46: gpg: Use enums instead of defines. (authored by Neal H. Walfield <neal@g10code.com>).Dec 22 2015, 3:03 PM