]> git.ozlabs.org Git - petitboot/blobdiff - lib/types/types.h
discover/paths: Set suffix to default value on error.
[petitboot] / lib / types / types.h
index 36841cd20b50fed4345579a78b9e25a09b685339..5f99b58d52b33d11dc5dc8369bbdc5569489e8e4 100644 (file)
@@ -58,6 +58,11 @@ struct boot_option {
        struct list_item        list;
 
        void            *ui_info;
+
+       enum {
+               DISCOVER_BOOT_OPTION,
+               DISCOVER_PLUGIN_OPTION,
+       } type;
 };
 
 struct plugin_option {
@@ -105,6 +110,7 @@ struct interface_info {
        char            *name;
        bool            link;
        char            *address;
+       char            *address_v6;
 };
 
 struct blockdev_info {