[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lzip-bug] Restarting an lzip member at any time
From: |
Jacob Rief |
Subject: |
Re: [Lzip-bug] Restarting an lzip member at any time |
Date: |
Mon, 14 Dec 2009 00:14:51 +0100 |
Hello Antonio,
To which standard of C do you want your API being compatible? If its
C99 then you only need one forward declaration and the repeated use of
struct LZ_Encoder * is too verbose for an API, a simple LZ_Encoder*
will do the job, just as in C++.
Regards, Jacob
2009/12/13 Antonio Diaz Diaz <address@hidden>:
> 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
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lzip-bug
>
- [Lzip-bug] Restarting an lzip member at any time, Jacob Rief, 2009/12/07
- Re: [Lzip-bug] Restarting an lzip member at any time, Antonio Diaz Diaz, 2009/12/08
- Message not available
- Re: [Lzip-bug] Restarting an lzip member at any time, Antonio Diaz Diaz, 2009/12/11
- Re: [Lzip-bug] Restarting an lzip member at any time, Ersek, Laszlo, 2009/12/11
- Re: [Lzip-bug] Restarting an lzip member at any time, Jacob Rief, 2009/12/11
- Re: [Lzip-bug] Restarting an lzip member at any time, John Reiser, 2009/12/11
- Re: [Lzip-bug] Restarting an lzip member at any time, Jacob Rief, 2009/12/11
- Re: [Lzip-bug] Restarting an lzip member at any time, Antonio Diaz Diaz, 2009/12/12
- Re: [Lzip-bug] Restarting an lzip member at any time,
Jacob Rief <=
- Re: [Lzip-bug] Restarting an lzip member at any time, Antonio Diaz Diaz, 2009/12/14