diff options
author | Michael Brown <mcb30@ipxe.org> | 2010-11-21 22:14:28 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2010-11-21 23:37:49 +0000 |
commit | 398a6e9a50c1b2afedaa104c38b8a4a18447d430 (patch) | |
tree | 72988579692bbc04853307cd30ee0b97dc2a877d /src/include/hci | |
parent | 9e9c9adf1058c77cc7df5651221dd74de3a3282c (diff) | |
download | ipxe-398a6e9a50c1b2afedaa104c38b8a4a18447d430.tar.gz |
[ifmgmt] Use generic option-parsing library
Total cost: 66 bytes
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/hci')
-rw-r--r-- | src/include/hci/ifmgmt_cmd.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/include/hci/ifmgmt_cmd.h b/src/include/hci/ifmgmt_cmd.h index e9c810ab7..a7751cb28 100644 --- a/src/include/hci/ifmgmt_cmd.h +++ b/src/include/hci/ifmgmt_cmd.h @@ -21,10 +21,17 @@ FILE_LICENCE ( GPL2_OR_LATER ); +#include <ipxe/parseopt.h> + struct net_device; +struct ifcommon_options {}; + +extern struct option_descriptor ifcommon_opts[0]; + extern int ifcommon_exec ( int argc, char **argv, + struct command_descriptor *cmd, int ( * payload ) ( struct net_device * ), - const char *verb ); + int stop_on_first_success ); #endif /* _IFMGMT_CMD_H */ |