]> git.ozlabs.org Git - petitboot/blobdiff - ui/common/discover-client.h
Add support for GPG signature enforcement on booted
[petitboot] / ui / common / discover-client.h
index 405bd243c5ee4dc1dfadd3fbf4fee6ef1cca6859..59d2df91e33a50bdb048f8f9a268afe14ec73fcb 100644 (file)
@@ -11,6 +11,7 @@ struct pb_boot_data {
        char *initrd;
        char *dtb;
        char *args;
+       char *args_sig_file;
 };
 
 /**
@@ -82,4 +83,13 @@ int discover_client_send_reinit(struct discover_client *client);
 /* Send new configuration data to the discover server */
 int discover_client_send_config(struct discover_client *client,
                struct config *config);
+
+/* Re-enumerate the collected devices & boot options, calling ops->device_add
+ * and ops->boot_option_add on each.
+ */
+void discover_client_enumerate(struct discover_client *client);
+
+/* Send url to config to the discover server */
+int discover_client_send_url(struct discover_client *client, char *url);
+
 #endif