summaryrefslogtreecommitdiff
path: root/com32/include/syslinux/loadfile.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-02-27 12:40:31 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-02-27 12:40:31 -0800
commit48722c47bbdcfe51e905e87ec0d34415506393c5 (patch)
treeb20c6bb0d1f556068eeb813db89892b645bec777 /com32/include/syslinux/loadfile.h
parentbcfd0df3c9778eff358926dffd35f870becff26b (diff)
downloadsyslinux-48722c47bbdcfe51e905e87ec0d34415506393c5.tar.gz
Comboot/Com32 changes for unspecified file lengths
Handle unspecified file length for comboot/com32 modules; do changes to the appropriate part of libcom32 to handle this properly.
Diffstat (limited to 'com32/include/syslinux/loadfile.h')
-rw-r--r--com32/include/syslinux/loadfile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/com32/include/syslinux/loadfile.h b/com32/include/syslinux/loadfile.h
index fbda589d..c565cc9a 100644
--- a/com32/include/syslinux/loadfile.h
+++ b/com32/include/syslinux/loadfile.h
@@ -2,11 +2,13 @@
#define LIBUTIL_LOADFILE_H
#include <stddef.h>
+#include <stdio.h>
/* loadfile() returns the true size of the file, but will guarantee valid,
zero-padded memory out to this boundary. */
#define LOADFILE_ZERO_PAD 64
int loadfile(const char *, void **, size_t *);
+int floadfile(FILE *, void **, size_t *, const void *, size_t);
#endif