aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/io/mem.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/io/mem.h b/include/io/mem.h
new file mode 100644
index 0000000..1efd007
--- /dev/null
+++ b/include/io/mem.h
@@ -0,0 +1,23 @@
+/* SPDX-License-Identifier: GPL-3.0-or-later */
+/*
+ * mem.h
+ *
+ * Copyright (C) 2019 David Oberhollenzer <goliath@infraroot.at>
+ */
+#ifndef IO_MEM_STREAM_H
+#define IO_MEM_STREAM_H
+
+#include "io/istream.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+SQFS_INTERNAL istream_t *istream_memory_create(const char *name, size_t bufsz,
+ const void *data, size_t size);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* IO_MEM_STREAM_H */