#ifndef REPO_H_
#define REPO_H_
+#include <stdint.h>
+
+struct repo_file {
+ char *path;
+ char *fullpath;
+ size_t size;
+ time_t mtime;
+ uint32_t chksum[4];
+};
+
int repo_init(const char *path);
void repo_cleanup(void);
int repo_num_files(void);
-const char *repo_file(int idx);
+struct repo_file *repo_file(int idx);
#endif /* REPO_H_ */