summaryrefslogtreecommitdiffstats
path: root/src/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/io.h')
-rw-r--r--src/io.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/io.h b/src/io.h
index b7c0ebd..18e8e65 100644
--- a/src/io.h
+++ b/src/io.h
@@ -24,7 +24,9 @@ struct entry_l {
uint64_t val;
};
-int stream_open(struct stream *in);
-int stream_close(struct stream *in);
+int stream_open(struct stream * const in);
+int stream_close(struct stream * const in);
+int stream_get(struct stream *in, size_t idx, void *data);
+int stream_put(struct stream *in, size_t idx, void *data);
#endif /* ALGOS_IO_H_INCLUDED */