]> git.ozlabs.org Git - petitboot/blobdiff - discover/device-handler.h
discover: Add test_data member to struct discover_context
[petitboot] / discover / device-handler.h
index 854be48dab48176e925e985eb56cf0a936fe48c6..5dbc349fadb93aa541f6c684abd57bb9972fc7e7 100644 (file)
@@ -33,8 +33,10 @@ struct discover_device {
        const char              *uuid;
        const char              *label;
 
-       const char              *mount_path;
+       char                    *mount_path;
        const char              *device_path;
+       bool                    mounted;
+       bool                    unmount;
 
        bool                    notified;
 
@@ -62,6 +64,7 @@ struct discover_context {
        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,