diff options
Diffstat (limited to 'g10/keydb.h')
-rw-r--r-- | g10/keydb.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/g10/keydb.h b/g10/keydb.h index 919f3fd77..d7aa43271 100644 --- a/g10/keydb.h +++ b/g10/keydb.h @@ -69,6 +69,14 @@ enum resource_type { }; +/* Bit flags used with build_pk_list. */ +#define PK_LIST_ENCRYPT_TO 1 /* This is an encrypt-to recipient. */ +#define PK_LIST_HIDDEN 2 /* This is a hidden recipient. */ +#define PK_LIST_CONFIG 4 /* Specified via config file. */ +/* To store private data in the flags they must be left shifted by + this value. */ +#define PK_LIST_SHIFT 3 + /**************** * A data structure to hold information about the external position * of a keyblock. |