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

/* 32 bytes + 1 NULL */
#define HASH_BYTES 33

int get_file_hash(const char *filename, char *hash);

int compress_file(const char *filename, int id, int revision);

int decompress_file(const char *destination, int id, int revision);

int diff_file(const char *working, int id, int revision);

#endif /* _RFILE_HDR_ */