summaryrefslogtreecommitdiffhomepage
path: root/runopts.h
diff options
context:
space:
mode:
Diffstat (limited to 'runopts.h')
-rw-r--r--runopts.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/runopts.h b/runopts.h
index d0b6613..8756716 100644
--- a/runopts.h
+++ b/runopts.h
@@ -44,7 +44,11 @@ typedef struct runopts {
/* TODO: add a commandline flag. Currently this is on by default if compression
* is compiled in, but disabled for a client's non-final multihop stages. (The
* intermediate stages are compressed streams, so are uncompressible. */
- int enable_compress;
+ enum {
+ DROPBEAR_COMPRESS_DELAYED, /* Server only */
+ DROPBEAR_COMPRESS_ON,
+ DROPBEAR_COMPRESS_OFF,
+ } compress_mode;
#endif
#ifdef ENABLE_USER_ALGO_LIST