mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
kbx: Add framework for the SEARCH command
* kbx/backend-kbx.c: New. * kbx/backend-support.c: New. * kbx/backend.h: New. * kbx/frontend.c: New. * kbx/frontend.h: New. * kbx/kbxserver.c: Implement SEARCH and NEXT command. * kbx/keybox-search-desc.h (enum pubkey_types): New. * kbx/keybox-search.c (keybox_get_data): New. * kbx/keyboxd.c (main): Add a standard resource. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
1f980d23af
commit
5ea6250cc5
13 changed files with 1237 additions and 34 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue