summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/zlibsupport.h
blob: be3c7296af4923cd453da5b40d27866ceda49955 (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef _ZLIB_SUPPORT_H
#define _ZLIB_SUPPORT_H

/* Grab file.  Decompresses if that is supported.  Returns NULL on error. */
extern void *grab_file(const char *filename, unsigned long *size);
extern void *grab_fd(int fd, unsigned long *size);

/* Free it up. */
extern void release_file(void *data, unsigned long size);

#endif /* _ZLIB_SUPPORT_H */