diff options
author | Michael Brown <mcb30@ipxe.org> | 2013-07-18 15:30:00 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2013-07-22 16:16:44 +0100 |
commit | 46433f9b5eb917e6ad90ffaa169febdfcf78270f (patch) | |
tree | 022ddd055a424770d7af538e5ea2b75241e07fe9 /src/include/ipxe/parseopt.h | |
parent | b87020a0908669446796b83d57eaa2c093419621 (diff) | |
download | ipxe-46433f9b5eb917e6ad90ffaa169febdfcf78270f.zip ipxe-46433f9b5eb917e6ad90ffaa169febdfcf78270f.tar.gz ipxe-46433f9b5eb917e6ad90ffaa169febdfcf78270f.tar.bz2 |
[parseopt] Move parse_settings() to parseopt.c
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/parseopt.h')
-rw-r--r-- | src/include/ipxe/parseopt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/ipxe/parseopt.h b/src/include/ipxe/parseopt.h index 1e1fe6b..8aeed97 100644 --- a/src/include/ipxe/parseopt.h +++ b/src/include/ipxe/parseopt.h @@ -14,6 +14,7 @@ FILE_LICENCE ( GPL2_OR_LATER ); struct net_device; struct menu; +struct settings; /** A command-line option descriptor */ struct option_descriptor { @@ -120,7 +121,7 @@ extern int parse_netdev ( char *text, struct net_device **netdev ); extern int parse_menu ( char *text, struct menu **menu ); extern int parse_flag ( char *text __unused, int *flag ); extern int parse_key ( char *text, unsigned int *key ); -extern void print_usage ( struct command_descriptor *cmd, char **argv ); +extern int parse_settings ( char *text, struct settings **settings ); extern int reparse_options ( int argc, char **argv, struct command_descriptor *cmd, void *opts ); extern int parse_options ( int argc, char **argv, |