Merge branch 'dev'
[module-init-tools.git] / zlibsupport.h
blobbe3c7296af4923cd453da5b40d27866ceda49955
1 #ifndef _ZLIB_SUPPORT_H
2 #define _ZLIB_SUPPORT_H
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);
8 /* Free it up. */
9 extern void release_file(void *data, unsigned long size);
11 #endif /* _ZLIB_SUPPORT_H */