summaryrefslogtreecommitdiff
path: root/core/include/fs.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-03-06 11:55:57 -0800
committerH. Peter Anvin <hpa@zytor.com>2010-03-06 11:55:57 -0800
commite375515ddc712f1f69ee21337db2a3267caa5d49 (patch)
tree234cecab51fe9bfb341289ce0d0620543f77f047 /core/include/fs.h
parentead9bc6ff2fdfffc2f0974bb8de02f54a7671922 (diff)
downloadsyslinux-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.h4
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);