sc68fordevelopers  2.2.1
ice68.h
Go to the documentation of this file.
1 
11 #ifndef _ICE68_H_
12 #define _ICE68_H_
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 #include "file68/istream68.h"
19 
27 int ice_is_magic(const void * buffer);
28 
40 void *ice_load(istream_t *is, int *ulen);
41 
52 void *ice_load_file(const char *fname, int *ulen);
53 
54 #ifdef __cplusplus
55 }
56 #endif
57 
58 #endif /* #ifndef _ICE68_H_ */
59 
int ice_is_magic(const void *buffer)
Test ice file header magic header.
void * ice_load_file(const char *fname, int *ulen)
Load an iced file.
void * ice_load(istream_t *is, int *ulen)
Load an iced stream.
Input stream structure.
Definition: istream68_def.h:67
generic stream operation.