diff options
author | David Shaw <[email protected]> | 2004-02-14 05:03:45 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2004-02-14 05:03:45 +0000 |
commit | c9aa5000d70b9d2bae7903074c8f10b75815e01d (patch) | |
tree | fb4110bcd821ed6dad24a5571e351f1a500aa6ea /g10/main.h | |
parent | * import.c (check_prefs): Some language fixes. (sec_to_pub_keyblock, (diff) | |
download | gnupg-c9aa5000d70b9d2bae7903074c8f10b75815e01d.tar.gz gnupg-c9aa5000d70b9d2bae7903074c8f10b75815e01d.zip |
* 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.
Diffstat (limited to '')
-rw-r--r-- | g10/main.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/main.h b/g10/main.h index 3b8770724..8476bd641 100644 --- a/g10/main.h +++ b/g10/main.h @@ -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); |