blob: eaa48853aa219e4b4a5942ed54e160c818ab829c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#ifndef _DB_HDRS_
#define _DB_HDRS_
struct db_file {
int id;
int revision;
char hash[33];
};
int initdb();
int get_revision();
int get_revision();
int get_file_count();
int increment_revision();
int add_file(const char *filename);
int get_db_fileinfo(const char *filename, struct db_file *info);
int disp_queue();
int commit_queue(int revision);
int revert(const char *filename, int revision);
int diff_db_file(const char *filename, int revision);
#endif /* _DB_HDRS_ */
|