]> git.ozlabs.org Git - petitboot/blobdiff - lib/types/types.h
protocol: Separate device add from boot-option add messages
[petitboot] / lib / types / types.h
index acd9e3ef74c6fe12f3f98d992fecd5d148228656..fb53826902d7507e1f82d874c2fbc947167664d8 100644 (file)
@@ -16,6 +16,7 @@ struct device {
 };
 
 struct boot_option {
+       char            *device_id;
        char            *id;
        char            *name;
        char            *description;
@@ -29,4 +30,11 @@ struct boot_option {
        void            *ui_info;
 };
 
+struct boot_command {
+       char *option_id;
+       char *boot_image_file;
+       char *initrd_file;
+       char *boot_args;
+};
+
 #endif /* _TYPES_H */