summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2013-11-04 18:05:16 +0100
committerMichael Brown2013-11-05 18:30:20 +0100
commit3a67224c622332c4e75484b4510780e7818ac2e4 (patch)
treeae96f681efc1368e0636369cb31bf421ff1eae57 /src/include
parent[dhcp] Add DHCP network device configurator (diff)
downloadipxe-3a67224c622332c4e75484b4510780e7818ac2e4.tar.gz
ipxe-3a67224c622332c4e75484b4510780e7818ac2e4.tar.xz
ipxe-3a67224c622332c4e75484b4510780e7818ac2e4.zip
[parseopt] Add parse_netdev_configurator()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ipxe/parseopt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/ipxe/parseopt.h b/src/include/ipxe/parseopt.h
index e3b54c8e5..840de7497 100644
--- a/src/include/ipxe/parseopt.h
+++ b/src/include/ipxe/parseopt.h
@@ -14,6 +14,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
#include <ipxe/settings.h>
struct net_device;
+struct net_device_configurator;
struct menu;
struct parameters;
@@ -128,6 +129,9 @@ extern int parse_string ( char *text, char **value );
extern int parse_integer ( char *text, unsigned int *value );
extern int parse_timeout ( char *text, unsigned long *value );
extern int parse_netdev ( char *text, struct net_device **netdev );
+extern int
+parse_netdev_configurator ( char *text,
+ struct net_device_configurator **configurator );
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 );