diff options
author | Roland McGrath <roland@gnu.org> | 1995-09-27 18:03:41 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-09-27 18:03:41 +0000 |
commit | c78fc7796c837df611d7014b5e13a03d98624818 (patch) | |
tree | 0fcdd527c16c038dffb60a726a7e6decbfdffa94 /boot | |
parent | 08c4356337fa8a8a9948145bdd52bacfb7513c19 (diff) |
(boot_script_read_file): Declare it.
Diffstat (limited to 'boot')
-rw-r--r-- | boot/boot_script.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/boot/boot_script.h b/boot/boot_script.h index 1166232b..4a09aba5 100644 --- a/boot/boot_script.h +++ b/boot/boot_script.h @@ -70,6 +70,10 @@ void boot_script_set_bootstrap_port (mach_port_t task, mach_port_t port); int boot_script_exec_cmd (mach_port_t task, char *path, int argc, char **argv, char *strings, int stringlen); +/* The user must define this function. Load the contents of FILE + into a fresh anonymous memory object and return the memory object port. */ +mach_port_t boot_script_read_file (const char *file); + /* Parse the command line LINE. This causes the command line to be converted into an internal format. Returns 0 for success, non-zero otherwise. |