tizen 2.0
[external/module-init-tools.git] / zlibsupport.h
1 #ifndef _ZLIB_SUPPORT_H
2 #define _ZLIB_SUPPORT_H
3
4 /* Grab file.  Decompresses if that is supported.  Returns NULL on error. */
5 extern void *grab_file(const char *filename, unsigned long *size);
6 extern void *grab_fd(int fd, unsigned long *size);
7
8 /* Free it up. */
9 extern void release_file(void *data, unsigned long size);
10
11 #endif /* _ZLIB_SUPPORT_H */