From 3bc3ad24a2c089b4ee80fc1765fab3d2af378d00 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 26 Aug 2003 21:43:31 +0000 Subject: Initial commit git-svn-id: file:///home/lennart/svn/public/syrep/trunk@2 07ea20a6-d2c5-0310-9e02-9ef735347d72 --- src/cache.h | 13 +++++++++++++ 1 file changed, 13 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..7087b03 --- /dev/null +++ b/src/cache.h @@ -0,0 +1,13 @@ +#ifndef foomdcachehfoo +#define foomdcachehfoo + +#include + +struct syrep_md_cache; + +struct syrep_md_cache* md_cache_open(const char* fn, int ro); +void md_cache_close(struct syrep_md_cache *c); +int md_cache_get(struct syrep_md_cache *c, const char *path, uint8_t digest[16]); +int md_cache_vacuum(struct syrep_md_cache *c); + +#endif -- cgit