diff options
author | H. Peter Anvin <hpa@zytor.com> | 2010-03-06 11:55:57 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-03-06 11:55:57 -0800 |
commit | e375515ddc712f1f69ee21337db2a3267caa5d49 (patch) | |
tree | 234cecab51fe9bfb341289ce0d0620543f77f047 /core/include/fs.h | |
parent | ead9bc6ff2fdfffc2f0974bb8de02f54a7671922 (diff) | |
download | syslinux-e375515ddc712f1f69ee21337db2a3267caa5d49.tar.gz |
Add 32-bit versions of open file/close file
Add 32-bit API calls for open file and close file.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core/include/fs.h')
-rw-r--r-- | core/include/fs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/include/fs.h b/core/include/fs.h index 14073e53..332607b7 100644 --- a/core/include/fs.h +++ b/core/include/fs.h @@ -205,6 +205,10 @@ void mangle_name(char *, const char *); int searchdir(const char *name); void _close_file(struct file *); size_t pmapi_read_file(uint16_t *handle, void *buf, size_t sectors); +int open_file(const char *name, struct com32_filedata *filedata); +void pm_open_file(com32sys_t *); +void close_file(uint16_t handle); +void pm_close_file(com32sys_t *); /* chdir.c */ void pm_realpath(com32sys_t *regs); |