1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

* options.h, keyserver.c (parse_keyserver_options): Remove duplicate code

from parse_keyserver_options by calling the generic parse_options.

* keyserver.c (keyserver_spawn, keyserver_refresh), g10.c (main), gpgv.c
(main), mainproc.c (check_sig_and_print), import.c (revocation_present):
Change all callers.
This commit is contained in:
David Shaw 2004-04-15 18:16:17 +00:00
parent 8c4607568d
commit d20a79dd07
7 changed files with 90 additions and 95 deletions

View file

@ -136,14 +136,7 @@ struct
struct
{
int verbose;
int include_revoked;
int include_disabled;
int include_subkeys;
int use_temp_files;
int keep_temp_files;
int fake_v3_keyids;
int auto_key_retrieve;
int try_dns_srv;
unsigned int options;
unsigned int import_options;
unsigned int export_options;
STRLIST other;
@ -266,4 +259,13 @@ struct
#define VERIFY_SHOW_VALIDITY (1<<4)
#define VERIFY_SHOW_UNUSABLE_UIDS (1<<5)
#define KEYSERVER_INCLUDE_REVOKED (1<<0)
#define KEYSERVER_INCLUDE_DISABLED (1<<1)
#define KEYSERVER_INCLUDE_SUBKEYS (1<<2)
#define KEYSERVER_USE_TEMP_FILES (1<<3)
#define KEYSERVER_KEEP_TEMP_FILES (1<<4)
#define KEYSERVER_ADD_FAKE_V3 (1<<5)
#define KEYSERVER_AUTO_KEY_RETRIEVE (1<<6)
#define KEYSERVER_TRY_DNS_SRV (1<<7)
#endif /*G10_OPTIONS_H*/