version 1.8, 2001/04/05 10:39:02 |
version 1.9, 2001/06/26 06:32:50 |
|
|
* Initializes compression; level is compression level from 1 to 9 (as in |
* Initializes compression; level is compression level from 1 to 9 (as in |
* gzip). |
* gzip). |
*/ |
*/ |
void buffer_compress_init_send(int level); |
void buffer_compress_init_send(int); |
void buffer_compress_init_recv(void); |
void buffer_compress_init_recv(void); |
|
|
/* Frees any data structures allocated by buffer_compress_init. */ |
/* Frees any data structures allocated by buffer_compress_init. */ |
|
|
* order since they together form a single compression stream) by the |
* order since they together form a single compression stream) by the |
* receiver. This appends the compressed data to the output buffer. |
* receiver. This appends the compressed data to the output buffer. |
*/ |
*/ |
void buffer_compress(Buffer * input_buffer, Buffer * output_buffer); |
void buffer_compress(Buffer *, Buffer *); |
|
|
/* |
/* |
* Uncompresses the contents of input_buffer into output_buffer. All packets |
* Uncompresses the contents of input_buffer into output_buffer. All packets |
|
|
* buffer_compress was called, and in the same order that buffers compressed |
* buffer_compress was called, and in the same order that buffers compressed |
* with that. This appends the uncompressed data to the output buffer. |
* with that. This appends the uncompressed data to the output buffer. |
*/ |
*/ |
void buffer_uncompress(Buffer * input_buffer, Buffer * output_buffer); |
void buffer_uncompress(Buffer *, Buffer *); |
|
|
#endif /* COMPRESS_H */ |
#endif /* COMPRESS_H */ |