diff options
author | 2020-03-10 10:15:53 +0200 | |
---|---|---|
committer | 2020-03-10 10:15:53 +0200 | |
commit | 61c3a9aa7a636ada2cedd5b6025d5c7ccc598c85 (patch) | |
tree | 6732e0e6847cc860c98bb9bfa7e5a5619d3504e2 /src/cache.h | |
parent | 9eb76eda865dc4f82fd53223e5c557f707b569b9 (diff) | |
download | algos-ld1-61c3a9aa7a636ada2cedd5b6025d5c7ccc598c85.tar.gz algos-ld1-61c3a9aa7a636ada2cedd5b6025d5c7ccc598c85.tar.bz2 algos-ld1-61c3a9aa7a636ada2cedd5b6025d5c7ccc598c85.zip |
bolt on data generation, kind of.
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
Diffstat (limited to 'src/cache.h')
-rw-r--r-- | src/cache.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/cache.h b/src/cache.h new file mode 100644 index 0000000..0607112 --- /dev/null +++ b/src/cache.h @@ -0,0 +1,16 @@ +/* SPDX-License-Identifier: LGPL-2.1-only */ + +/* Copyright (C) 2020 Gediminas Jakutis */ + +#ifndef ALGOS_CACHE_H_INCLUDED +#define ALGOS_CACHE_H_INCLUDED + +#include <stddef.h> +#include "defs.h" + +int cache_create(struct stream * const restrict in, const struct settings * const restrict s); +int cache_populate(struct stream * const restrict in); +int cache_flush(struct stream * const in); +int cache_destroy(struct stream * const in); + +#endif /* ALGOS_CACHE_H_INCLUDED */ |