summaryrefslogtreecommitdiffstats
path: root/file.h
blob: 38f7b496edce718e0c0f5c7c10a60b189691f869 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef FILE_H
#define FILE_H

struct memblock {
	void *buffer;
	size_t size;
};

extern int try_to_open_cochran(const char *filename, struct memblock *mem, GError **error);
extern int readfile(const char *filename, struct memblock *mem);

#endif