summaryrefslogtreecommitdiff
path: root/manifest.h
blob: e116c3491014b2ca73edc6079e3081248ed6428a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef MANIFEST_H
#define MANIFEST_H

#include "conf.h"
#include "hashutil.h"
#include "hashtable.h"

#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