From c9aa5000d70b9d2bae7903074c8f10b75815e01d Mon Sep 17 00:00:00 2001 From: David Shaw Date: Sat, 14 Feb 2004 05:03:45 +0000 Subject: * 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. --- g10/main.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'g10/main.h') 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); -- cgit