summaryrefslogtreecommitdiff
path: root/rsync.h
diff options
context:
space:
mode:
authorWayne Davison <wayne@opencoder.net>2020-05-25 10:47:57 -0700
committerWayne Davison <wayne@opencoder.net>2020-05-25 11:18:51 -0700
commitd999efe6e56bda37f8b7109fd0a146c1a4c290be (patch)
treef0ba4080660aeeef24b90a7811767b20312baaa6 /rsync.h
parent97e8c55ee8aa9e59d0a2f6f92cb9e04dcc426057 (diff)
downloadrsync-d999efe6e56bda37f8b7109fd0a146c1a4c290be.tar.gz
Make compression-level handling generic.
Diffstat (limited to 'rsync.h')
-rw-r--r--rsync.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/rsync.h b/rsync.h
index cffd0d8e..210cef40 100644
--- a/rsync.h
+++ b/rsync.h
@@ -1061,9 +1061,14 @@ typedef struct {
#define ACL_READY(sx) ((sx).acc_acl != NULL)
#define XATTR_READY(sx) ((sx).xattr != NULL)
+#define CLVL_NOT_SPECIFIED INT_MIN
+
+#define CPRES_AUTO (-1)
#define CPRES_NONE 0
#define CPRES_ZLIB 1
#define CPRES_ZLIBX 2
+#define CPRES_LZ4 3
+#define CPRES_ZSTD 4
struct name_num_item {
int num;