Add memtest support.
[syslinux-debian/hramrach.git] / com32 / include / syslinux / loadfile.h
blob1a04c51f616ee95be8229dd07b8368b9fb9bf0dc
1 #ifndef LIBUTIL_LOADFILE_H
2 #define LIBUTIL_LOADFILE_H
4 #include <stddef.h>
5 #include <stdio.h>
7 /* loadfile() returns the true size of the file, but will guarantee valid,
8 zero-padded memory out to this boundary. */
9 #define LOADFILE_ZERO_PAD 64
11 int loadfile(const char *, void **, size_t *);
12 int zloadfile(const char *, void **, size_t *);
13 int floadfile(FILE *, void **, size_t *, const void *, size_t);
15 #endif