summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/mar/mar-extract-only.h
blob: 8a68cc13d88effb44f683074f213c288061b863a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
 * Guillaume Cottenceau (gc@mandrakesoft.com)
 *
 * Copyright 2000 MandrakeSoft
 *
 * This software may be freely redistributed under the terms of the GNU
 * public license.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 */

/*
 * mar - The Mandrake Archiver
 *
 * An archiver that supports compression (through zlib).
 *
 */

/*
 * Header for stage1 on-the-fly needs.
 */

#ifndef MAR_EXTRACT_ONLY_H
#define MAR_EXTRACT_ONLY_H

#include "mar.h"

int mar_open_file(char *filename, struct mar_stream *s);
int mar_extract_file(struct mar_stream *s, char *filename, char *dest_dir);
int mar_calc_integrity(struct mar_stream *s);
char ** mar_list_contents(struct mar_stream *s);

#endif