gpg: Use enums instead of defines.
authorNeal H. Walfield <neal@g10code.com>
Thu, 17 Dec 2015 09:36:27 +0000 (10:36 +0100)
committerNeal H. Walfield <neal@g10code.com>
Tue, 22 Dec 2015 14:03:47 +0000 (15:03 +0100)
commitee8a8ec1cf4605e5af427f9c8b01b3609c82cbe7
tree5505e58dbc89c6c48ab082c60036621f3705d59c
parentd8392299f311f8cfcf8bc02679dd3ae7ef8cc6d7
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

--
Signed-off-by: Neal H. Walfield <neal@g10code.com>
Using an enum has the advantage that the symbol can be used in gdb.
g10/keydb.h