summaryrefslogtreecommitdiffstats
path: root/stream/stream_libarchive.h
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_libarchive.h')
-rw-r--r--stream/stream_libarchive.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/stream/stream_libarchive.h b/stream/stream_libarchive.h
new file mode 100644
index 0000000000..5d10eb33c5
--- /dev/null
+++ b/stream/stream_libarchive.h
@@ -0,0 +1,10 @@
+struct mp_log;
+
+struct mp_archive {
+ struct archive *arch;
+ struct stream *src;
+ char buffer[4096];
+};
+
+void mp_archive_free(struct mp_archive *mpa);
+struct mp_archive *mp_archive_new(struct mp_log *log, struct stream *src);