summaryrefslogtreecommitdiffstats
path: root/contrib/syslinux-4.02/com32/include/syslinux/loadfile.h
blob: 1a04c51f616ee95be8229dd07b8368b9fb9bf0dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef LIBUTIL_LOADFILE_H
#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 zloadfile(const char *, void **, size_t *);
int floadfile(FILE *, void **, size_t *, const void *, size_t);

#endif