]> git.ozlabs.org Git - petitboot/blobdiff - discover/discover-server.h
discover: Recognise and open LUKS encrypted partitions
[petitboot] / discover / discover-server.h
index d22fb3845717be5aca95fde226f008ebf93eeb8c..9722e173399a393f793f149f7dfebeaf61395280 100644 (file)
@@ -6,9 +6,12 @@
 struct discover_server;
 struct device_handler;
 struct boot_option;
+struct status;
+struct plugin_option;
 struct boot_status;
 struct system_info;
 struct device;
+struct config;
 
 struct discover_server *discover_server_init(struct waitset *waitset);
 
@@ -17,6 +20,9 @@ void discover_server_destroy(struct discover_server *server);
 void discover_server_set_device_source(struct discover_server *server,
                struct device_handler *handler);
 
+void discover_server_set_auth_mode(struct discover_server *server,
+               bool restrict_clients);
+
 void discover_server_notify_device_add(struct discover_server *server,
                struct device *device);
 void discover_server_notify_boot_option_add(struct discover_server *server,
@@ -24,7 +30,12 @@ void discover_server_notify_boot_option_add(struct discover_server *server,
 void discover_server_notify_device_remove(struct discover_server *server,
                struct device *device);
 void discover_server_notify_boot_status(struct discover_server *server,
-               struct boot_status *status);
+               struct status *status);
 void discover_server_notify_system_info(struct discover_server *server,
                const struct system_info *sysinfo);
+void discover_server_notify_config(struct discover_server *server,
+               const struct config *config);
+void discover_server_notify_plugin_option_add(struct discover_server *server,
+               struct plugin_option *option);
+void discover_server_notify_plugins_remove(struct discover_server *server);
 #endif /* _DISCOVER_SERVER_H */