1 /*      $OpenBSD: compress.h,v 1.11 2002/03/04 17:27:39 stevesk Exp $   */
   2 
   3 #ifndef _COMPRESS_H
   4 #define _COMPRESS_H
   5 
   6 #pragma ident   "%Z%%M% %I%     %E% SMI"
   7 
   8 #ifdef __cplusplus
   9 extern "C" {
  10 #endif
  11 
  12 
  13 /*
  14  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  15  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
  16  *                    All rights reserved
  17  * Interface to packet compression for ssh.
  18  *
  19  * As far as I am concerned, the code I have written for this software
  20  * can be used freely for any purpose.  Any derived versions of this
  21  * software must be clearly marked as such, and if the derived work is
  22  * incompatible with the protocol description in the RFC file, it must be
  23  * called by a name other than "ssh" or "Secure Shell".
  24  */
  25 
  26 void     buffer_compress_init_send(int);
  27 void     buffer_compress_init_recv(void);
  28 void     buffer_compress_uninit(void);
  29 void     buffer_compress(Buffer *, Buffer *);
  30 void     buffer_uncompress(Buffer *, Buffer *);
  31 
  32 #ifdef __cplusplus
  33 }
  34 #endif
  35 
  36 #endif /* _COMPRESS_H */