1 /* $Id: compress.h,v 1.1.1.1 1999/12/06 03:09:12 toast Exp $
4 Revision 1.1.1.1 1999/12/06 03:09:12 toast
9 Revision 1.3 1999/05/10 08:32:09 burnsbr
10 added new function protos.
12 Revision 1.2 1999/04/23 12:02:20 burnsbr
15 Revision 1.1 1999/04/23 11:59:37 burnsbr
22 compress.h - header for compression
23 Copyright (C) 1999 Bryan Burns
25 This program is free software; you can redistribute it and/or
26 modify it under the terms of the GNU General Public License
27 as published by the Free Software Foundation; either version 2
28 of the License, or (at your option) any later version.
30 This program is distributed in the hope that it will be useful,
31 but WITHOUT ANY WARRANTY; without even the implied warranty of
32 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33 GNU General Public License for more details.
35 You should have received a copy of the GNU General Public License
36 along with this program; if not, write to the Free Software
37 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
40 /* Initializes the compression data structure(s) */
41 void init_compression();
43 /* Compresses the file specified by in_fd and appends it to out_fd */
44 int compress_file(int in_fd, int out_fd, struct zipentry *ze);
46 /* Frees memory used by compression function */
47 void end_compression();
49 void init_inflation();
50 int inflate_file(pb_file *, int, struct zipentry *);