Thank you very much Laszlo, John and Jacob for your useful advice.

I have included in lzlib.h a forward declaration of the structs internally used by the library. I have not used typedef.

The result looks like this:

struct LZ_Encoder;
struct LZ_Decoder;
...
struct LZ_Encoder * LZ_compress_open( const int dictionary_size,
                                      const int match_len_limit,
                                      const long long member_size );
int LZ_compress_restart_member( struct LZ_Encoder * const encoder,
                                const long long member_size );
...
struct LZ_Decoder * LZ_decompress_open( void );
int LZ_decompress_close( struct LZ_Decoder * const decoder );
...


I have just released lzlib-0.8-rc1 here http://download.savannah.gnu.org/releases-noredirect/lzip/lzlib-0.8-rc1.tar.lz


Best regards,
Antonio.


_______________________________________________
Lzip-bug mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lzip-bug

Reply via email to