From 7754455c48c50764ad7291ea508109c53b60517f Mon Sep 17 00:00:00 2001 From: Gediminas Jakutis Date: Fri, 27 Mar 2020 14:40:33 +0200 Subject: cache I/O implementation and fixes. Signed-off-by: Gediminas Jakutis --- src/io.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/io.h') diff --git a/src/io.h b/src/io.h index 792ebd2..eca6aec 100644 --- a/src/io.h +++ b/src/io.h @@ -10,4 +10,10 @@ int stream_open(struct stream * const in, const struct settings * const s); int stream_close(struct stream * const in); +int direct_get_array(struct stream * const restrict in, ssize_t idx, struct entry_l * const data); +int direct_get_list(struct stream * const restrict in, ssize_t idx, struct entry_l * const data); + +int direct_put_array(struct stream * const restrict in, ssize_t idx, const struct entry_l * const data); +int direct_put_list(struct stream * const restrict in, ssize_t idx, const struct entry_l * const data); + #endif /* ALGOS_IO_H_INCLUDED */ -- cgit v1.2.3