From 61c3a9aa7a636ada2cedd5b6025d5c7ccc598c85 Mon Sep 17 00:00:00 2001 From: Gediminas Jakutis Date: Tue, 10 Mar 2020 10:15:53 +0200 Subject: bolt on data generation, kind of. Signed-off-by: Gediminas Jakutis --- src/cache.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/cache.h (limited to 'src/cache.h') 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 +#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 */ -- cgit v1.2.3