summaryrefslogtreecommitdiff
path: root/source3/librpc
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2019-09-16 10:01:36 -0700
committerJeremy Allison <jra@samba.org>2019-09-17 22:49:39 +0000
commit9c99675bcbc530f8054de77b1a5f660dde015c62 (patch)
tree98e8f7c07ec8bcf4635cdb911afa5bf2c2aa366a /source3/librpc
parent15a8af075a2d7b59f4d97d9804599b26325e5640 (diff)
downloadsamba-9c99675bcbc530f8054de77b1a5f660dde015c62.tar.gz
smbd: Introduce share_entries.tdb - ADD COMMENT FIXME !!
This moves share_modes[] from "struct share_mode_data" into a separate share_entries.tdb with a sorted array of fixed-length (132 byte) "struct share_mode_entry" entries. I know it's one huge commit, but I did not see a way to keep both data structures and associated code working together without a lot of code duplication after having centralized all the code accessing the share_modes[] array into a few routines. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/librpc')
-rw-r--r--source3/librpc/idl/open_files.idl1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/librpc/idl/open_files.idl b/source3/librpc/idl/open_files.idl
index bf832821b89..07f0023909c 100644
--- a/source3/librpc/idl/open_files.idl
+++ b/source3/librpc/idl/open_files.idl
@@ -51,7 +51,6 @@ interface open_files
[string,charset(UTF8)] char *base_name;
[string,charset(UTF8)] char *stream_name;
uint32 num_share_modes;
- [size_is(num_share_modes)] share_mode_entry share_modes[];
uint32 num_delete_tokens;
[size_is(num_delete_tokens)] delete_token delete_tokens[];
timespec old_write_time;