aboutsummaryrefslogtreecommitdiff
path: root/deps/lzma-16.04/C/Delta.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/lzma-16.04/C/Delta.h')
-rw-r--r--deps/lzma-16.04/C/Delta.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/deps/lzma-16.04/C/Delta.h b/deps/lzma-16.04/C/Delta.h
new file mode 100644
index 0000000..e59d5a2
--- /dev/null
+++ b/deps/lzma-16.04/C/Delta.h
@@ -0,0 +1,19 @@
+/* Delta.h -- Delta converter
+2013-01-18 : Igor Pavlov : Public domain */
+
+#ifndef __DELTA_H
+#define __DELTA_H
+
+#include "7zTypes.h"
+
+EXTERN_C_BEGIN
+
+#define DELTA_STATE_SIZE 256
+
+void Delta_Init(Byte *state);
+void Delta_Encode(Byte *state, unsigned delta, Byte *data, SizeT size);
+void Delta_Decode(Byte *state, unsigned delta, Byte *data, SizeT size);
+
+EXTERN_C_END
+
+#endif