summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/mar/mar-extract-only.h
diff options
context:
space:
mode:
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