summaryrefslogtreecommitdiff
path: root/xdelta3/xdelta3.h
diff options
context:
space:
mode:
Diffstat (limited to 'xdelta3/xdelta3.h')
-rwxr-xr-xxdelta3/xdelta3.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/xdelta3/xdelta3.h b/xdelta3/xdelta3.h
index a35c9b0..eb11141 100755
--- a/xdelta3/xdelta3.h
+++ b/xdelta3/xdelta3.h
@@ -47,7 +47,7 @@
47/* The source window starts with only a few checksums, then doubles up to 47/* The source window starts with only a few checksums, then doubles up to
48 * XD3_DEFAULT_MAX_CKSUM_ADVANCE. */ 48 * XD3_DEFAULT_MAX_CKSUM_ADVANCE. */
49#ifndef XD3_DEFAULT_START_CKSUM_ADVANCE 49#ifndef XD3_DEFAULT_START_CKSUM_ADVANCE
50#define XD3_DEFAULT_START_CKSUM_ADVANCE 1024 50#define XD3_DEFAULT_START_CKSUM_ADVANCE (1U << 14)
51#endif 51#endif
52 52
53/* TODO: There is no command-line flag to set this value. */ 53/* TODO: There is no command-line flag to set this value. */
@@ -295,6 +295,8 @@ typedef enum {
295 XD3_WINSTART = -17707, /* notification: returned before a window is processed, giving a 295 XD3_WINSTART = -17707, /* notification: returned before a window is processed, giving a
296 * chance to XD3_SKIP_WINDOW or not XD3_SKIP_EMIT that window. */ 296 * chance to XD3_SKIP_WINDOW or not XD3_SKIP_EMIT that window. */
297 XD3_WINFINISH = -17708, /* notification: returned after encode/decode & output for a window */ 297 XD3_WINFINISH = -17708, /* notification: returned after encode/decode & output for a window */
298 XD3_TOOFARBACK = -17709, /* (encoder only) may be returned by getblk() if the block is too old */
299 XD3_INTERNAL = -17710, /* internal error */
298 300
299} xd3_rvalues; 301} xd3_rvalues;
300 302