+/* script interface */
+void script_execute(struct grub2_script *script);
+
+int statement_simple_execute(struct grub2_script *script,
+ struct grub2_statement *statement);
+int statement_if_execute(struct grub2_script *script,
+ struct grub2_statement *statement);
+int statement_menuentry_execute(struct grub2_script *script,
+ struct grub2_statement *statement);
+
+struct grub2_script *create_script(void *ctx);
+
+const char *script_env_get(struct grub2_script *script, const char *name);
+
+void script_env_set(struct grub2_script *script,
+ const char *name, const char *value);
+
+void script_register_command(struct grub2_script *script,
+ struct grub2_command *command);
+
+struct grub2_command *script_lookup_command(struct grub2_script *script,
+ const char *name);
+
+void register_builtins(struct grub2_script *script);