aboutsummaryrefslogtreecommitdiff
path: root/C/Delta.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--C/Delta.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/C/Delta.h b/C/Delta.h
new file mode 100644
index 0000000..2fa54ad
--- /dev/null
+++ b/C/Delta.h
@@ -0,0 +1,19 @@
1/* Delta.h -- Delta converter
22013-01-18 : Igor Pavlov : Public domain */
3
4#ifndef __DELTA_H
5#define __DELTA_H
6
7#include "7zTypes.h"
8
9EXTERN_C_BEGIN
10
11#define DELTA_STATE_SIZE 256
12
13void Delta_Init(Byte *state);
14void Delta_Encode(Byte *state, unsigned delta, Byte *data, SizeT size);
15void Delta_Decode(Byte *state, unsigned delta, Byte *data, SizeT size);
16
17EXTERN_C_END
18
19#endif