source: vendor/gcc/current/fastjar/compress.h

Last change on this file was 1464, checked in by bird, 21 years ago

GCC v3.3.4 - official sources.

  • Property cvs2svn:cvs-rev set to 1.1.1.2
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 1.7 KB
Line 
1/* $Id: compress.h,v 1.1 2000/12/09 03:08:23 apbianco Exp $
2
3 $Log: compress.h,v $
4 Revision 1.1 2000/12/09 03:08:23 apbianco
5 2000-12-08 Alexandre Petit-Bianco <apbianco@cygnus.com>
6
7 * fastjar: Imported.
8
9 Revision 1.1.1.1 1999/12/06 03:09:12 toast
10 initial checkin..
11
12
13
14 Revision 1.3 1999/05/10 08:32:09 burnsbr
15 added new function protos.
16
17 Revision 1.2 1999/04/23 12:02:20 burnsbr
18 added licence
19
20 Revision 1.1 1999/04/23 11:59:37 burnsbr
21 Initial revision
22
23
24*/
25
26/*
27 compress.h - header for compression
28 Copyright (C) 1999 Bryan Burns
29
30 This program is free software; you can redistribute it and/or
31 modify it under the terms of the GNU General Public License
32 as published by the Free Software Foundation; either version 2
33 of the License, or (at your option) any later version.
34
35 This program is distributed in the hope that it will be useful,
36 but WITHOUT ANY WARRANTY; without even the implied warranty of
37 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38 GNU General Public License for more details.
39
40 You should have received a copy of the GNU General Public License
41 along with this program; if not, write to the Free Software
42 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
43 */
44
45/* Initializes the compression data structure(s) */
46void init_compression(void);
47
48/* Compresses the file specified by in_fd and appends it to out_fd */
49int compress_file(int in_fd, int out_fd, struct zipentry *ze);
50
51/* Frees memory used by compression function */
52void end_compression(void);
53
54void init_inflation(void);
55int inflate_file(pb_file *, int, struct zipentry *);
56void end_inflation(void);
57Bytef *inflate_string(pb_file *, ub4 *, ub4 *);
Note: See TracBrowser for help on using the repository browser.