Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 53 lines (36 sloc) 1.613 kB
dc257dc added patches from gcc team
Cory Jon Hollingsworth authored
1 /* $Id: compress.h,v 1.2 2000-12-14 23:23:40 toast Exp $
4d073fa initial checkin..
Cory Jon Hollingsworth authored
2
3 $Log: not supported by cvs2svn $
dc257dc added patches from gcc team
Cory Jon Hollingsworth authored
4 Revision 1.1.1.1 1999/12/06 03:09:12 toast
5 initial checkin..
6
7
8
4d073fa initial checkin..
Cory Jon Hollingsworth authored
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) */
dc257dc added patches from gcc team
Cory Jon Hollingsworth authored
41 void init_compression(void);
4d073fa initial checkin..
Cory Jon Hollingsworth authored
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 */
dc257dc added patches from gcc team
Cory Jon Hollingsworth authored
47 void end_compression(void);
4d073fa initial checkin..
Cory Jon Hollingsworth authored
48
dc257dc added patches from gcc team
Cory Jon Hollingsworth authored
49 void init_inflation(void);
4d073fa initial checkin..
Cory Jon Hollingsworth authored
50 int inflate_file(pb_file *, int, struct zipentry *);
dc257dc added patches from gcc team
Cory Jon Hollingsworth authored
51 void end_inflation(void);
52 Bytef *inflate_string(pb_file *, ub4 *, ub4 *);
Something went wrong with that request. Please try again.