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

* keyserver.c (argsep): Move to misc.c.

* main.h, misc.c (parse_options), export.c (parse_export_options),
import.c (parse_import_options), g10.c (main): Use it here to allow for
options with optional arguments.  Change all callers.
This commit is contained in:
David Shaw 2004-02-14 05:03:45 +00:00
parent f407bb6a97
commit c9aa5000d7
7 changed files with 103 additions and 93 deletions

View file

@ -106,8 +106,10 @@ struct parse_options
{
char *name;
unsigned int bit;
char **value;
};
char *argsep(char **stringp,char **arg);
int parse_options(char *str,unsigned int *options,
struct parse_options *opts,int noisy);