Home Download Musics Developers
API Sources Tools File Format Technicals

istream68_z.h

Go to the documentation of this file.
00001 
00011 /* Copyright (C) 1998-2003 Benjamin Gerard */
00012 
00013 #ifndef _ISTREAM68_Z_H_
00014 #define _ISTREAM68_Z_H_
00015 
00016 #include "file68/istream68.h"
00017 
00018 #ifdef __cplusplus
00019 extern "C" {
00020 #endif
00021 
00036 typedef struct {
00037   unsigned int gzip:1;     
00038   unsigned int level:4;    
00039   unsigned int strategy:3; 
00040   unsigned int name:1;     
00041 } istream_z_option_t;
00042 
00044 extern const istream_z_option_t istream_z_default_option;
00045 
00055 istream_t * istream_z_create(istream_t * is, int mode,
00056                              const istream_z_option_t opt);
00057 
00060 #ifdef __cplusplus
00061 }
00062 #endif
00063 
00064 #endif /* #define _ISTREAM68_Z_H_ */