summaryrefslogtreecommitdiff
path: root/source3/smbd/proto.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-11-04 15:39:55 -0700
committerJeremy Allison <jra@samba.org>2011-11-04 15:39:55 -0700
commit48512193338663df5dc4cd52179bc94337eb7113 (patch)
tree5c5511b80437522599f1ccd44e02ead89fdfcd0a /source3/smbd/proto.h
parenta30f84a21c9d4e702ae0faace9bdf435b9882af7 (diff)
downloadsamba-48512193338663df5dc4cd52179bc94337eb7113.tar.gz
samba-48512193338663df5dc4cd52179bc94337eb7113.tar.bz2
samba-48512193338663df5dc4cd52179bc94337eb7113.zip
Add const to the smb_filename argument of smbd_check_access_rights().
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r--source3/smbd/proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index ff56b15dd0..0b7c28fb91 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -307,7 +307,7 @@ bool can_access_file_acl(struct connection_struct *conn,
const struct smb_filename *smb_fname,
uint32_t access_mask);
bool can_delete_file_in_directory(connection_struct *conn,
- struct smb_filename *smb_fname);
+ const struct smb_filename *smb_fname);
bool can_access_file_data(connection_struct *conn,
const struct smb_filename *smb_fname,
uint32 access_mask);
@@ -581,7 +581,7 @@ void reply_nttranss(struct smb_request *req);
/* The following definitions come from smbd/open.c */
NTSTATUS smbd_check_access_rights(struct connection_struct *conn,
- struct smb_filename *smb_fname,
+ const struct smb_filename *smb_fname,
uint32_t access_mask);
NTSTATUS fd_close(files_struct *fsp);
void change_file_owner_to_parent(connection_struct *conn,