summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-10-09 23:16:55 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-10-11 13:41:34 +1100
commit26de383c428a513a4aaceb2460ea6d20a088e2d4 (patch)
treef04097d9245ff3a9cdf6e73124a7c69578a97628 /libcli
parentb21b012756dbb9e7022280b34d7103a5dcbea6d6 (diff)
downloadsamba-26de383c428a513a4aaceb2460ea6d20a088e2d4.tar.gz
samba-26de383c428a513a4aaceb2460ea6d20a088e2d4.tar.bz2
samba-26de383c428a513a4aaceb2460ea6d20a088e2d4.zip
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
Diffstat (limited to 'libcli')
-rw-r--r--libcli/smb/smb_constants.h8
1 files changed, 8 insertions, 0 deletions
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