aboutsummaryrefslogtreecommitdiff
path: root/include/archive.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/archive.h')
-rw-r--r--include/archive.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/archive.h b/include/archive.h
new file mode 100644
index 0000000..264a0d9
--- /dev/null
+++ b/include/archive.h
@@ -0,0 +1,7 @@
+#ifndef SPM_ARCHIVE_H
+#define SPM_ARCHIVE_H
+
+int tar_extract_archive(const char *_archive, const char *_destination);
+int tar_extract_file(const char *archive, const char* filename, const char *destination);
+
+#endif //SPM_ARCHIVE_H