diff options
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 */ |