1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/**
* @ingroup file68_lib
* @file sc68/gzip68.h
* @author Benjamin Gerard
* @date 2003-09-03
* @brief Gzip loader header.
*
*/
/* $Id: gzip68.h 124 2009-07-02 18:51:52Z benjihan $ */
/* Copyright (C) 1998-2009 Benjamin Gerard */
/** @defgroup file68_gzip gzip file support.
* @ingroup file68_lib
*
* Provides functions for loading and saving gzip file.
*
* @{
*/
/** Test gzip file header magic header.
*
* @param buffer Buffer containing at least 3 bytes from gzip header.
*
* @retval 1 buffer may be gzipped.
* @retval 0 buffer is not gzipped.
*/
int ;
/** Load an optionnally gzipped file.
*
* The gzip68_load() function allocates memory and loads the totality of the
* given file. If the file is a gzipped file, it will be inflate.
*
* @param fname Name of file to load.
* @param ulen Pointer to uncompressed or total size of file.
*
* @return A pointer to loaded file buffer.
* @retval 0 on error.
*/
void * ;
/**
* @}
*/
/* #ifndef _FILE68_GZIP68_H_ */