OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [fastjar/] [compress.h] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
/* $Id: compress.h,v 1.1.1.1 2007/08/18 13:57:14 jeunes2 Exp $
2
 
3
   $Log: compress.h,v $
4
   Revision 1.1.1.1  2007/08/18 13:57:14  jeunes2
5
   Initial Revision.
6
 
7
   Revision 1.1  2000/12/09 03:08:23  apbianco
8
   2000-12-08  Alexandre Petit-Bianco  <apbianco@cygnus.com>
9
 
10
           * fastjar: Imported.
11
 
12
   Revision 1.1.1.1  1999/12/06 03:09:12  toast
13
   initial checkin..
14
 
15
 
16
 
17
   Revision 1.3  1999/05/10 08:32:09  burnsbr
18
   added new function protos.
19
 
20
   Revision 1.2  1999/04/23 12:02:20  burnsbr
21
   added licence
22
 
23
   Revision 1.1  1999/04/23 11:59:37  burnsbr
24
   Initial revision
25
 
26
 
27
*/
28
 
29
/*
30
  compress.h - header for compression
31
  Copyright (C) 1999  Bryan Burns
32
 
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.
37
 
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.
42
 
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., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
46
 */
47
 
48
/* Initializes the compression data structure(s) */
49
void init_compression(void);
50
 
51
/* Compresses the file specified by in_fd and appends it to out_fd */
52
int compress_file(int, int, struct zipentry *, struct zipentry *);
53
 
54
/* Frees memory used by compression function */
55
void end_compression(void);
56
 
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 *);

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.