From 126777bc019a54afb4ec51299f2cf9d2841698aa Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 25 Apr 2007 12:26:16 +0000 Subject: re-sync after the big svn loss --- mdk-stage1/zlibsupport.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 mdk-stage1/zlibsupport.h (limited to 'mdk-stage1/zlibsupport.h') diff --git a/mdk-stage1/zlibsupport.h b/mdk-stage1/zlibsupport.h new file mode 100644 index 000000000..be3c7296a --- /dev/null +++ b/mdk-stage1/zlibsupport.h @@ -0,0 +1,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 */ -- cgit v1.2.1