menuentry can pass parameters to its definition

This commit is contained in:
BVK Chaitanya 2010-07-22 21:15:14 +05:30
parent 639cc5ab44
commit 1767f7096c
6 changed files with 91 additions and 48 deletions

View file

@ -303,6 +303,7 @@ grub_err_t grub_script_execute_cmdwhile (struct grub_script_cmd *cmd);
/* Execute any GRUB pre-parsed command or script. */
grub_err_t grub_script_execute (struct grub_script *script);
grub_err_t grub_script_execute_sourcecode (const char *source, int argc, char **args);
/* This variable points to the parsed command. This is used to
communicate with the bison code. */