summaryrefslogtreecommitdiffstats
path: root/kbx/keybox-search-desc.h
diff options
context:
space:
mode:
Diffstat (limited to 'kbx/keybox-search-desc.h')
-rw-r--r--kbx/keybox-search-desc.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/kbx/keybox-search-desc.h b/kbx/keybox-search-desc.h
index 7286d2ae3..fdd0bcbf9 100644
--- a/kbx/keybox-search-desc.h
+++ b/kbx/keybox-search-desc.h
@@ -47,6 +47,15 @@ typedef enum {
} KeydbSearchMode;
+/* Identifiers for the public key types we use in GnuPG. */
+enum pubkey_types
+ {
+ PUBKEY_TYPE_UNKNOWN = 0,
+ PUBKEY_TYPE_OPGP = 1,
+ PUBKEY_TYPE_X509 = 2
+ };
+
+
/* Forward declaration. See g10/packet.h. */
struct gpg_pkt_user_id_s;
typedef struct gpg_pkt_user_id_s *gpg_pkt_user_id_t;