const char *uuid;
const char *label;
- const char *mount_path;
+ char *mount_path;
const char *device_path;
+ bool mounted;
+ bool mounted_rw;
+ bool unmount;
bool notified;
struct list boot_options;
struct pb_url *conf_url;
enum conf_method method;
+ void *test_data;
};
struct device_handler *device_handler_init(struct discover_server *server,
struct boot_command *cmd);
void device_handler_cancel_default(struct device_handler *handler);
+int device_request_write(struct discover_device *dev, bool *release);
+void device_release_write(struct discover_device *dev, bool release);
+
#endif /* _DEVICE_HANDLER_H */