|
|
state.h - dedup - deduplicating backup program |
|
|
 |
git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ (git://bitreich.org) |
|
|
 |
Log |
|
|
 |
Files |
|
|
 |
Refs |
|
|
 |
Tags |
|
|
 |
README |
|
|
 |
LICENSE |
|
|
|
--- |
|
|
|
state.h (359B) |
|
|
|
--- |
|
|
|
1 struct param { |
|
|
|
2 char *calgo; /* compression algorithm */ |
|
|
|
3 char *ealgo; /* encryption algorithm */ |
|
|
|
4 unsigned char key[KEYSIZE]; /* secret key */ |
|
|
|
5 int keyloaded; /* 1 if key is loaded, 0 otherwise */ |
|
|
|
6 uint32_t seed; /* XOR-ed with initial state of chunker */ |
|
|
|
7 }; |
|
|
|
8 |
|
|
|
9 extern int writestate(int, struct param *); |
|
|
|
10 extern int readstate(int fd, struct param *); |
|