mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
gpg: Remove unused function get_pubkeys.
* g10/getkey.c (get_pubkeys): Remove. (pubkey_free): Remove and use code directly ... (pubkeys_free): ... here. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
53bbac0865
commit
ed8fe21e66
2 changed files with 4 additions and 274 deletions
11
g10/keydb.h
11
g10/keydb.h
|
@ -342,20 +342,9 @@ struct pubkey_s
|
|||
};
|
||||
typedef struct pubkey_s *pubkey_t;
|
||||
|
||||
/* Free a single key. This does not remove key from any list! */
|
||||
void pubkey_free (pubkey_t key);
|
||||
|
||||
/* Free a list of public keys. */
|
||||
void pubkeys_free (pubkey_t keys);
|
||||
|
||||
/* Returns all keys that match the search specification SEARCH_TERMS.
|
||||
The returned keys should be freed using pubkeys_free. */
|
||||
gpg_error_t
|
||||
get_pubkeys (ctrl_t ctrl,
|
||||
char *search_terms, int use, int include_unusable, char *source,
|
||||
int warn_possibly_ambiguous,
|
||||
pubkey_t *r_keys);
|
||||
|
||||
/* Find a public key identified by NAME. */
|
||||
int get_pubkey_byname (ctrl_t ctrl,
|
||||
GETKEY_CTX *retctx, PKT_public_key *pk,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue