diff options
author | 2020-03-27 14:40:33 +0200 | |
---|---|---|
committer | 2020-03-27 14:40:33 +0200 | |
commit | 7754455c48c50764ad7291ea508109c53b60517f (patch) | |
tree | f8b3f0fe7ad2509ff8c40a998cde91f8f7353f80 /src/io.h | |
parent | 8b4c2c3194dbf9b18ecf475597d257ee7125a1e1 (diff) | |
download | algos-ld1-7754455c48c50764ad7291ea508109c53b60517f.tar.gz algos-ld1-7754455c48c50764ad7291ea508109c53b60517f.tar.bz2 algos-ld1-7754455c48c50764ad7291ea508109c53b60517f.zip |
cache I/O implementation and fixes.
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
Diffstat (limited to 'src/io.h')
-rw-r--r-- | src/io.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 */ |