[BACK]Return to compress.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/Attic/compress.h between version 1.1 and 1.2

version 1.1, 1999/09/26 20:53:34 version 1.2, 1999/11/24 00:26:01
Line 1 
Line 1 
 /*  /*
    *
    * compress.h
    *
    * Author: Tatu Ylonen <ylo@cs.hut.fi>
    *
    * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
    *                    All rights reserved
    *
    * Created: Wed Oct 25 22:12:46 1995 ylo
    *
    * Interface to packet compression for ssh.
    *
    */
   
 compress.h  
   
 Author: Tatu Ylonen <ylo@cs.hut.fi>  
   
 Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland  
                    All rights reserved  
   
 Created: Wed Oct 25 22:12:46 1995 ylo  
   
 Interface to packet compression for ssh.  
   
 */  
   
 /* RCSID("$Id$"); */  /* RCSID("$Id$"); */
   
 #ifndef COMPRESS_H  #ifndef COMPRESS_H
Line 20 
Line 20 
   
 /* 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(int level);  void    buffer_compress_init(int level);
   
 /* Frees any data structures allocated by buffer_compress_init. */  /* Frees any data structures allocated by buffer_compress_init. */
 void buffer_compress_uninit();  void    buffer_compress_uninit();
   
 /* Compresses the contents of input_buffer into output_buffer.  All  /* Compresses the contents of input_buffer into output_buffer.  All
    packets compressed using this function will form a single     packets compressed using this function will form a single
Line 32 
Line 32 
    independently (but in the appropriate order since they together     independently (but in the appropriate order since they together
    form a single compression stream) by the receiver.  This appends     form a single compression stream) by the receiver.  This appends
    the compressed data to the output buffer. */     the compressed data to the output buffer. */
 void buffer_compress(Buffer *input_buffer, Buffer *output_buffer);  void    buffer_compress(Buffer * input_buffer, Buffer * output_buffer);
   
 /* Uncompresses the contents of input_buffer into output_buffer.  All  /* Uncompresses the contents of input_buffer into output_buffer.  All
    packets uncompressed using this function will form a single     packets uncompressed using this function will form a single
Line 41 
Line 41 
    same size units that the buffer_compress was called, and in the     same size units that the buffer_compress was called, and in the
    same order that buffers compressed with that.  This appends the     same order that buffers compressed with that.  This appends the
    uncompressed data to the output buffer. */     uncompressed data to the output buffer. */
 void buffer_uncompress(Buffer *input_buffer, Buffer *output_buffer);  void    buffer_uncompress(Buffer * input_buffer, Buffer * output_buffer);
   
 #endif /* COMPRESS_H */  #endif                          /* COMPRESS_H */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2