OSDN Git Service

f9fadba847fcc097e24054cc6d31e383127253cc
[pf3gnuchains/gcc-fork.git] / fastjar / compress.h
1 /* $Id: compress.h,v 1.1.1.1 1999/12/06 03:09:12 toast Exp $
2
3    $Log: compress.h,v $
4    Revision 1.1.1.1  1999/12/06 03:09:12  toast
5    initial checkin..
6
7
8
9    Revision 1.3  1999/05/10 08:32:09  burnsbr
10    added new function protos.
11
12    Revision 1.2  1999/04/23 12:02:20  burnsbr
13    added licence
14
15    Revision 1.1  1999/04/23 11:59:37  burnsbr
16    Initial revision
17
18
19 */
20
21 /*
22   compress.h - header for compression
23   Copyright (C) 1999  Bryan Burns
24   
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.
29   
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.
34   
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.
38  */
39
40 /* Initializes the compression data structure(s) */
41 void init_compression();
42
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);
45
46 /* Frees memory used by compression function */
47 void end_compression();
48
49 void init_inflation();
50 int inflate_file(pb_file *, int, struct zipentry *);
51 void end_inflation();