From 26de383c428a513a4aaceb2460ea6d20a088e2d4 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 9 Oct 2011 23:16:55 +1100 Subject: libcli/smb Move CSC_POLICY_* definition to smb_constants.h This removes the duplicate definition between smb.h and lib/param/loadparm.c which in turn allows this file to be compiled with the s3 includes.h Andrew Bartlett --- libcli/smb/smb_constants.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libcli') diff --git a/libcli/smb/smb_constants.h b/libcli/smb/smb_constants.h index c9b466cfb7..54898c9b4f 100644 --- a/libcli/smb/smb_constants.h +++ b/libcli/smb/smb_constants.h @@ -50,6 +50,14 @@ enum smb_signing_setting { SMB_SIGNING_OFF, SMB_SIGNING_SUPPORTED, SMB_SIGNING_REQUIRED, SMB_SIGNING_AUTO}; +/* Client-side offline caching policy types */ +enum csc_policy { + CSC_POLICY_MANUAL=0, + CSC_POLICY_DOCUMENTS=1, + CSC_POLICY_PROGRAMS=2, + CSC_POLICY_DISABLE=3 +}; + /* NT Flags2 bits - cifs6.txt section 3.1.2 */ #define FLAGS2_LONG_PATH_COMPONENTS 0x0001 #define FLAGS2_EXTENDED_ATTRIBUTES 0x0002 -- cgit