]> git.ozlabs.org Git - petitboot/blobdiff - lib/types/types.h
lib: Add plugin_option type and protocol
[petitboot] / lib / types / types.h
index 7f4ae1fced1fa182055398d838dd441258680323..36841cd20b50fed4345579a78b9e25a09b685339 100644 (file)
@@ -60,6 +60,21 @@ struct boot_option {
        void            *ui_info;
 };
 
+struct plugin_option {
+       char            *id;
+       char            *name;
+       char            *vendor;
+       char            *vendor_id;
+       char            *version;
+       char            *date;
+       char            *plugin_file;
+
+       unsigned int    n_executables;
+       char            **executables;
+
+       void            *ui_info;
+};
+
 struct boot_command {
        char *option_id;
        char *boot_image_file;