From e2c92865481a5fb043c03c0cde625a96ca608699 Mon Sep 17 00:00:00 2001 From: Samuel Mendoza-Jonas Date: Mon, 5 Sep 2016 14:18:18 +1000 Subject: 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 --- discover/device-handler.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'discover/device-handler.h') 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); -- cgit v1.2.1