summaryrefslogtreecommitdiffstats
path: root/src/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/io.h')
-rw-r--r--src/io.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/io.h b/src/io.h
new file mode 100644
index 0000000..efc3f94
--- /dev/null
+++ b/src/io.h
@@ -0,0 +1,16 @@
+#ifndef ALGOS_IO_H_INCLUDED
+#define ALGOS_IO_H_INCLUDED
+
+#include <stddef.h>
+
+struct stream {
+ size_t n;
+ size_t stride;
+ int fd;
+ int out;
+ char *name;
+};
+
+int openstream(struct stream *in);
+
+#endif /* ALGOS_IO_H_INCLUDED */