diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2000-11-09 23:09:17 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2000-11-09 23:09:17 +0000 |
commit | b695b4bd2408c4ad06a1dcdd95b2a95a3bf63fa5 (patch) | |
tree | 7f890201f7b16e38103141b0f47a47a30fe8d403 /mdk-stage1/mar/mar-extract-only.h | |
parent | 9166c569774a7580df1b39ccebc8cc5abd46b1d9 (diff) | |
download | drakx-b695b4bd2408c4ad06a1dcdd95b2a95a3bf63fa5.tar drakx-b695b4bd2408c4ad06a1dcdd95b2a95a3bf63fa5.tar.gz drakx-b695b4bd2408c4ad06a1dcdd95b2a95a3bf63fa5.tar.bz2 drakx-b695b4bd2408c4ad06a1dcdd95b2a95a3bf63fa5.tar.xz drakx-b695b4bd2408c4ad06a1dcdd95b2a95a3bf63fa5.zip |
add `mar' archiving program
Diffstat (limited to 'mdk-stage1/mar/mar-extract-only.h')
-rw-r--r-- | mdk-stage1/mar/mar-extract-only.h | 35 |
1 files changed, 35 insertions, 0 deletions
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 |