X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=discover%2Fdevice-handler.h;h=f4c911e08892cf64df67dcb84f91f2908b243164;hb=0c3348684455144089d1da574b1096c95f4b0a80;hp=ad9f50a43b041003048753591e22c176527b1594;hpb=5e7c90eddd7ac2e4a3b05a7a5f6e29166edfa161;p=petitboot diff --git a/discover/device-handler.h b/discover/device-handler.h index ad9f50a..f4c911e 100644 --- a/discover/device-handler.h +++ b/discover/device-handler.h @@ -14,6 +14,10 @@ struct device; enum conf_method { CONF_METHOD_LOCAL_FILE, /* discover by looking at local files on this block device */ + + CONF_METHOD_DHCP, /* configuration from a DHCP response */ + + CONF_METHOD_UNKNOWN = -1, }; struct discover_device { @@ -48,6 +52,7 @@ struct discover_context { struct event *event; struct discover_device *device; struct list boot_options; + struct pb_url *conf_url; enum conf_method method; };