blob: 2721d450c53648c72d9b2ec5f9c1af6b56b0f256 [file] [log] [blame]
Damien Millerd4a8b7e1999-10-27 13:42:43 +10001/*
Damien Miller95def091999-11-25 00:26:21 +11002 * Author: Tatu Ylonen <ylo@cs.hut.fi>
Damien Miller95def091999-11-25 00:26:21 +11003 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
4 * All rights reserved
Damien Miller95def091999-11-25 00:26:21 +11005 * Interface to packet compression for ssh.
Damien Miller4af51302000-04-16 11:18:38 +10006 *
Damien Millere4340be2000-09-16 13:29:08 +11007 * As far as I am concerned, the code I have written for this software
8 * can be used freely for any purpose. Any derived versions of this
9 * software must be clearly marked as such, and if the derived work is
10 * incompatible with the protocol description in the RFC file, it must be
11 * called by a name other than "ssh" or "Secure Shell".
Damien Miller95def091999-11-25 00:26:21 +110012 */
Damien Millerd4a8b7e1999-10-27 13:42:43 +100013
Ben Lindstrom4cc240d2001-07-04 04:46:56 +000014/* RCSID("$OpenBSD: compress.h,v 1.10 2001/06/26 17:27:23 markus Exp $"); */
Damien Millerd4a8b7e1999-10-27 13:42:43 +100015
16#ifndef COMPRESS_H
17#define COMPRESS_H
18
Ben Lindstrom4cc240d2001-07-04 04:46:56 +000019void buffer_compress_init_send(int);
20void buffer_compress_init_recv(void);
21void buffer_compress_uninit(void);
22void buffer_compress(Buffer *, Buffer *);
23void buffer_uncompress(Buffer *, Buffer *);
Damien Millerd4a8b7e1999-10-27 13:42:43 +100024
Damien Miller95def091999-11-25 00:26:21 +110025#endif /* COMPRESS_H */