From b695b4bd2408c4ad06a1dcdd95b2a95a3bf63fa5 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Thu, 9 Nov 2000 23:09:17 +0000 Subject: add `mar' archiving program --- mdk-stage1/mar/mar-extract-only.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 mdk-stage1/mar/mar-extract-only.h (limited to 'mdk-stage1/mar/mar-extract-only.h') diff --git a/mdk-stage1/mar/mar-extract-only.h b/mdk-stage1/mar/mar-extract-only.h new file mode 100644 index 000000000..5f3280a19 --- /dev/null +++ b/mdk-stage1/mar/mar-extract-only.h @@ -0,0 +1,35 @@ +/* + * 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" + +mar_stream * open_marfile(char *filename); +int extract_file(mar_stream *s, char *filename, char *dest_dir); +int calc_integrity(mar_stream *s); + +#endif -- cgit v1.2.1