summaryrefslogtreecommitdiffstats
path: root/src/cache.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2003-08-26 21:43:31 +0000
committerLennart Poettering <lennart@poettering.net>2003-08-26 21:43:31 +0000
commit3bc3ad24a2c089b4ee80fc1765fab3d2af378d00 (patch)
tree632a002b1c9a507ab49c11875eb373a6642902fb /src/cache.h
parentd4a8a10792c7f9b777487b2d15ab56c737e7e35c (diff)
Initial commit
git-svn-id: file:///home/lennart/svn/public/syrep/trunk@2 07ea20a6-d2c5-0310-9e02-9ef735347d72
Diffstat (limited to 'src/cache.h')
-rw-r--r--src/cache.h13
1 files changed, 13 insertions, 0 deletions
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 <stdint.h>
+
+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