summaryrefslogtreecommitdiffstats
path: root/src/include/hci
diff options
context:
space:
mode:
authorMichael Brown2010-11-21 23:14:28 +0100
committerMichael Brown2010-11-22 00:37:49 +0100
commit398a6e9a50c1b2afedaa104c38b8a4a18447d430 (patch)
tree72988579692bbc04853307cd30ee0b97dc2a877d /src/include/hci
parent[settings] Use generic option-parsing library (diff)
downloadipxe-398a6e9a50c1b2afedaa104c38b8a4a18447d430.tar.gz
ipxe-398a6e9a50c1b2afedaa104c38b8a4a18447d430.tar.xz
ipxe-398a6e9a50c1b2afedaa104c38b8a4a18447d430.zip
[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.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/include/hci/ifmgmt_cmd.h b/src/include/hci/ifmgmt_cmd.h
index e9c810ab..a7751cb2 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 */