summaryrefslogtreecommitdiffstats
path: root/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'file.h')
-rw-r--r--file.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/file.h b/file.h
new file mode 100644
index 000000000..df7e5eaf9
--- /dev/null
+++ b/file.h
@@ -0,0 +1,11 @@
+#ifndef FILE_H
+#define FILE_H
+
+struct memblock {
+ void *buffer;
+ size_t size;
+};
+
+extern int try_to_open_cochran(const char *filename, struct memblock *mem, GError **error);
+
+#endif