source: branches/samba-3.5.x/lib/compression/mszip.h@ 737

Last change on this file since 737 was 414, checked in by Herwig Bauernfeind, 15 years ago

Samba 3.5.0: Initial import

File size: 1.3 KB
Line 
1/* mszip decompression - based on cabextract.c code from
2 * Stuart Caie
3 *
4 * adapted for Samba by Andrew Tridgell and Stefan Metzmacher 2005
5 *
6 * (C) 2000-2001 Stuart Caie <kyzer@4u.net>
7 * reaktivate-specifics by Malte Starostik <malte@kde.org>
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 3 of the License, or
12 * (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, see <http://www.gnu.org/licenses/>.
21 */
22
23struct decomp_state;
24struct decomp_state *ZIPdecomp_state(TALLOC_CTX *mem_ctx);
25
26#define DECR_OK (0)
27#define DECR_DATAFORMAT (1)
28#define DECR_ILLEGALDATA (2)
29#define DECR_NOMEMORY (3)
30#define DECR_CHECKSUM (4)
31#define DECR_INPUT (5)
32#define DECR_OUTPUT (6)
33int ZIPdecompress(struct decomp_state *decomp_state, DATA_BLOB *inbuf, DATA_BLOB *outbuf);
Note: See TracBrowser for help on using the repository browser.