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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
/**
* @ingroup file68_lib
* @file sc68/ice68.h
* @author Benjamin Gerard
* @date 2003-09-06
* @brief ICE loader header.
*
*/
/* $Id: ice68.h 141 2011-08-07 23:30:20Z benjihan $ */
/* Copyright (C) 1998-2010 Benjamin Gerard */
/** @defgroup file68_ice ICE loader support.
* @ingroup file68_lib
*
* Provides functions for loading ICE stream.
*
* @{
*/
/** Get ICE! depacker version.
*
* @retval 1 ICE! is supported but unknown version
* @retval 0 ICE! is not supported
* @return ICE! depacker version
*
* @see unice68_ice_version()
*/
int ;
/** Test ice file header magic header.
*
* @param buffer Buffer containing at least 12 bytes from ice header.
*
* @retval 1 buffer seems to be ice packed..
* @retval 0 buffer is not ice packed.
*/
int ;
/** Load an iced stream.
*
* The ice68_load() function loads and depack an ice packed file from a
* stream and returns a allocate buffer with unpacked data.
*
* @param is Stream to load (must be opened in read mode).
* @param ulen Pointer to save uncompressed size.
*
* @return Pointer to the uncompressed data buffer.
* @retval 0 Error
*/
void * ;
/** Load an iced file.
*
* @param fname File to load.
* @param ulen Pointer to save uncompressed size.
*
* @return Pointer to the uncompressed data buffer.
* @retval 0 Error
*
* @see ice68_load()
*/
void * ;
/**
* @}
*/
/* #ifndef _FILE68_ICE68_H_ */