diff options
author | David Disseldorp <ddiss@samba.org> | 2013-08-07 17:16:11 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-08-09 11:10:01 -0700 |
commit | 8fde65e1998e8dfa5210b74c04a5ee6e6c837202 (patch) | |
tree | 32d67751cc37085a654d29aef79e65fc8453561b /librpc | |
parent | 86c79f1ab3146ac83a3ac1fb43808997bcfe0d83 (diff) | |
download | samba-8fde65e1998e8dfa5210b74c04a5ee6e6c837202.tar.gz samba-8fde65e1998e8dfa5210b74c04a5ee6e6c837202.tar.bz2 samba-8fde65e1998e8dfa5210b74c04a5ee6e6c837202.zip |
lib: add FSCTL_[GET/SET]_COMPRESSION constants
Values taken from MS-FSCC.
Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r-- | librpc/idl/ioctl.idl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/librpc/idl/ioctl.idl b/librpc/idl/ioctl.idl index 4672777909..b4485e0da5 100644 --- a/librpc/idl/ioctl.idl +++ b/librpc/idl/ioctl.idl @@ -88,3 +88,14 @@ interface copychunk hyper length_written; } fsctl_offload_write_output; } + +interface compression +{ + const uint16 COMPRESSION_FORMAT_NONE = 0x0000; + const uint16 COMPRESSION_FORMAT_DEFAULT = 0x0001; + const uint16 COMPRESSION_FORMAT_LZNT1 = 0x0002; + + typedef [public] struct { + uint16 format; + } compression_state; +} |