diff options
author | Michael Brown <mcb30@ipxe.org> | 2011-04-24 15:19:31 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2011-04-24 15:32:06 +0100 |
commit | 3ca5656208d532b74d7ceecae1760d118e96a172 (patch) | |
tree | bde80cc37e55b3da14548bf4d66466ace26e6966 /src/include/ipxe/parseopt.h | |
parent | 8e984f35e0f8ae8576c68b56b231199f58cbea22 (diff) | |
download | ipxe-3ca5656208d532b74d7ceecae1760d118e96a172.zip ipxe-3ca5656208d532b74d7ceecae1760d118e96a172.tar.gz ipxe-3ca5656208d532b74d7ceecae1760d118e96a172.tar.bz2 |
[parseopt] Allow for pre-initialised option sets
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/parseopt.h')
-rw-r--r-- | src/include/ipxe/parseopt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/ipxe/parseopt.h b/src/include/ipxe/parseopt.h index eed40b7..8c456a6 100644 --- a/src/include/ipxe/parseopt.h +++ b/src/include/ipxe/parseopt.h @@ -120,6 +120,8 @@ extern int parse_netdev ( const char *text, struct net_device **netdev ); extern int parse_image ( const char *text, struct image **image ); extern int parse_flag ( const char *text __unused, int *flag ); extern void print_usage ( struct command_descriptor *cmd, char **argv ); +extern int reparse_options ( int argc, char **argv, + struct command_descriptor *cmd, void *opts ); extern int parse_options ( int argc, char **argv, struct command_descriptor *cmd, void *opts ); |