diff options
author | Jeremy Allison <jra@samba.org> | 2013-01-04 14:24:13 -0800 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2013-01-09 15:29:08 +1100 |
commit | 5e9eebf5dec60177a680010e011b88ae0ecf26d2 (patch) | |
tree | 23c3b8eab40c00c149df8515099bbc26f63a2b84 /source3/smbd/proto.h | |
parent | 926d9307f789e2ca752ee2dab6b6e653dc7de628 (diff) | |
download | samba-5e9eebf5dec60177a680010e011b88ae0ecf26d2.tar.gz samba-5e9eebf5dec60177a680010e011b88ae0ecf26d2.tar.bz2 samba-5e9eebf5dec60177a680010e011b88ae0ecf26d2.zip |
Change API for create_share_access_mask() - remove conn struct.
Eventually this will be indepentent of conn, just pass in the
readonly flag.
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/smbd/proto.h')
-rw-r--r-- | source3/smbd/proto.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index bfaaf6d639..2198ccd3f7 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -979,8 +979,8 @@ void smbd_exit_server_cleanly(const char *const reason) _NORETURN_; bool set_conn_connectpath(connection_struct *conn, const char *connectpath); NTSTATUS set_conn_force_user_group(connection_struct *conn, int snum); -uint32_t create_share_access_mask(connection_struct *conn, - int snum, +uint32_t create_share_access_mask(int snum, + bool readonly_share, const struct security_token *token); bool set_current_service(connection_struct *conn, uint16 flags, bool do_chdir); void load_registry_shares(void); |