summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-12-20 14:42:55 -0800
committerAndrew Bartlett <abartlet@samba.org>2013-01-09 15:28:45 +1100
commit7d90ae123af115bdcb1cdcd025cf73fdbf22b142 (patch)
treeef8e07039ffc349704c41a71c870c352c6057c6e /source3/include
parent5e483ab14785faf5bc011e36ac07646a624c3962 (diff)
downloadsamba-7d90ae123af115bdcb1cdcd025cf73fdbf22b142.tar.gz
samba-7d90ae123af115bdcb1cdcd025cf73fdbf22b142.tar.bz2
samba-7d90ae123af115bdcb1cdcd025cf73fdbf22b142.zip
Clean up struct connection_struct, make struct vuid_cache a pointer not inline.
Change VFS ABI to 31 for 4.1.0. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/vfs.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/source3/include/vfs.h b/source3/include/vfs.h
index 2992c1db32..7da022ef37 100644
--- a/source3/include/vfs.h
+++ b/source3/include/vfs.h
@@ -147,7 +147,11 @@
/* Bump to version 30 - Samba 4.0.0 will ship with interface version 30 */
/* Leave at 30 - not yet released. Added conn->cwd to save vfs_GetWd() calls. */
/* Leave at 30 - not yet released. Changed sys_acl_blob_get_file interface to remove type */
-#define SMB_VFS_INTERFACE_VERSION 30
+/* Bump to version 31 - Samba 4.1.0 will ship with interface version 31 */
+/* Leave at 31 - not yet released. Make struct vuid_cache_entry in
+ connection_struct a pointer. */
+
+#define SMB_VFS_INTERFACE_VERSION 31
/*
All intercepted VFS operations must be declared as static functions inside module source
@@ -306,7 +310,7 @@ typedef struct connection_struct {
uint32_t cnum; /* an index passed over the wire */
struct share_params *params;
bool force_user;
- struct vuid_cache vuid_cache;
+ struct vuid_cache *vuid_cache;
bool printer;
bool ipc;
bool read_only; /* Attributes for the current user of the share. */