File: zlibsupport.h

package info (click to toggle)
module-init-tools 3.4-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,208 kB
  • ctags: 900
  • sloc: sh: 7,980; ansic: 5,036; makefile: 204
file content (11 lines) | stat: -rw-r--r-- 351 bytes parent folder | download | duplicates (2)
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 */