summaryrefslogtreecommitdiffstats
path: root/discover/device-handler.h
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>2016-09-05 14:18:18 +1000
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2016-09-08 13:43:24 +1000
commite2c92865481a5fb043c03c0cde625a96ca608699 (patch)
tree6ff1b4f3a2ca32ccfb7969fff77f252468220b0d /discover/device-handler.h
parenta50d5fe279db71cf85fabeb675c99b167ec63dcb (diff)
downloadtalos-petitboot-e2c92865481a5fb043c03c0cde625a96ca608699.tar.gz
talos-petitboot-e2c92865481a5fb043c03c0cde625a96ca608699.zip
discover: Deprecate 'conf' user event
The 'conf' user event is functionally very similar to the 'url' event, in that both events result in downloading a specified configuration file and passing it to iterate_parsers(). The 'url' event additionally allows downloading files from a directory path and is also accessed by the UI via pb-protocol, so remove the 'conf' event and associated functions in favour of 'url' and device_handler_process_url(). Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'discover/device-handler.h')
-rw-r--r--discover/device-handler.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/discover/device-handler.h b/discover/device-handler.h
index f785ccc..6ffa4e1 100644
--- a/discover/device-handler.h
+++ b/discover/device-handler.h
@@ -93,8 +93,6 @@ int device_handler_discover(struct device_handler *handler,
struct discover_device *dev);
int device_handler_dhcp(struct device_handler *handler,
struct discover_device *dev, struct event *event);
-int device_handler_conf(struct device_handler *handler,
- struct discover_device *dev, struct pb_url *url);
void device_handler_remove(struct device_handler *handler,
struct discover_device *device);
OpenPOWER on IntegriCloud