fixed more binutils issues (newer gcc/libc)
[zpugcc/jano.git] / toolchain / gcc / fastjar / compress.h
blobefdbe2b281a94d48d34208a38205cced643fbd67
1 /* $Id: compress.h 119 2004-10-05 20:38:42Z oyvind $
3 $Log$
4 Revision 1.1 2004/10/05 20:31:34 oyvind
5 * added GCC to repository
7 Revision 1.1 2000/12/09 03:08:23 apbianco
8 2000-12-08 Alexandre Petit-Bianco <apbianco@cygnus.com>
10 * fastjar: Imported.
12 Revision 1.1.1.1 1999/12/06 03:09:12 toast
13 initial checkin..
17 Revision 1.3 1999/05/10 08:32:09 burnsbr
18 added new function protos.
20 Revision 1.2 1999/04/23 12:02:20 burnsbr
21 added licence
23 Revision 1.1 1999/04/23 11:59:37 burnsbr
24 Initial revision
30 compress.h - header for compression
31 Copyright (C) 1999 Bryan Burns
33 This program is free software; you can redistribute it and/or
34 modify it under the terms of the GNU General Public License
35 as published by the Free Software Foundation; either version 2
36 of the License, or (at your option) any later version.
38 This program is distributed in the hope that it will be useful,
39 but WITHOUT ANY WARRANTY; without even the implied warranty of
40 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
41 GNU General Public License for more details.
43 You should have received a copy of the GNU General Public License
44 along with this program; if not, write to the Free Software
45 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
48 /* Initializes the compression data structure(s) */
49 void init_compression(void);
51 /* Compresses the file specified by in_fd and appends it to out_fd */
52 int compress_file(int in_fd, int out_fd, struct zipentry *ze);
54 /* Frees memory used by compression function */
55 void end_compression(void);
57 void init_inflation(void);
58 int inflate_file(pb_file *, int, struct zipentry *);
59 void end_inflation(void);
60 Bytef *inflate_string(pb_file *, ub4 *, ub4 *);