X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=discover%2Fgrub2%2Fgrub2.h;h=1515d690a528ed1931ec1d07692748da09b8bb38;hb=b8e53cb4b96eb17dc7fa0ffc505dfebae37e6cbf;hp=4d083ae9ed18f8f8bb6cfc2d5d9582ed54a5c78e;hpb=a33e7992485e95a60add27af37327dc9f0eb3a34;p=petitboot diff --git a/discover/grub2/grub2.h b/discover/grub2/grub2.h index 4d083ae..1515d69 100644 --- a/discover/grub2/grub2.h +++ b/discover/grub2/grub2.h @@ -89,6 +89,7 @@ struct grub2_script { struct list symtab; struct discover_context *ctx; struct discover_boot_option *opt; + unsigned int n_options; }; struct grub2_parser { @@ -166,7 +167,7 @@ void script_register_function(struct grub2_script *script, void register_builtins(struct grub2_script *script); /* resources */ -struct resource *create_grub2_resource(void *ctx, +struct resource *create_grub2_resource(struct discover_boot_option *opt, struct discover_device *orig_device, const char *root, const char *path);