summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/mar/mar-extract-only.h
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2000-11-09 23:09:17 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2000-11-09 23:09:17 +0000
commitb695b4bd2408c4ad06a1dcdd95b2a95a3bf63fa5 (patch)
tree7f890201f7b16e38103141b0f47a47a30fe8d403 /mdk-stage1/mar/mar-extract-only.h
parent9166c569774a7580df1b39ccebc8cc5abd46b1d9 (diff)
downloaddrakx-backup-do-not-use-b695b4bd2408c4ad06a1dcdd95b2a95a3bf63fa5.tar
drakx-backup-do-not-use-b695b4bd2408c4ad06a1dcdd95b2a95a3bf63fa5.tar.gz
drakx-backup-do-not-use-b695b4bd2408c4ad06a1dcdd95b2a95a3bf63fa5.tar.bz2
drakx-backup-do-not-use-b695b4bd2408c4ad06a1dcdd95b2a95a3bf63fa5.tar.xz
drakx-backup-do-not-use-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.h35
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