Imported Upstream version 3.2
[platform/upstream/ccache.git] / manifest.h
index 80333e7..e116c34 100644 (file)
@@ -1,11 +1,15 @@
 #ifndef MANIFEST_H
 #define MANIFEST_H
 
+#include "conf.h"
 #include "hashutil.h"
 #include "hashtable.h"
 
-struct file_hash *manifest_get(const char *manifest_path);
+#define MANIFEST_VERSION 1
+
+struct file_hash *manifest_get(struct conf *conf, const char *manifest_path);
 bool manifest_put(const char *manifest_path, struct file_hash *object_hash,
                   struct hashtable *included_files);
+bool manifest_dump(const char *manifest_path, FILE *stream);
 
 #endif