summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-11-01 17:22:15 +0100
committerVolker Lendecke <vl@samba.org>2008-11-01 19:41:07 +0100
commitab0561f3c39b2d10cc7d82940c9ec4bd7e4e16f8 (patch)
tree0503e0d76b2daa7c9a4a3b22c337cf09d55502e4 /source3/include
parent63da08d00fdec52a7384b8c3d6a6c6dee3ace7a7 (diff)
downloadsamba-ab0561f3c39b2d10cc7d82940c9ec4bd7e4e16f8.tar.gz
samba-ab0561f3c39b2d10cc7d82940c9ec4bd7e4e16f8.tar.bz2
samba-ab0561f3c39b2d10cc7d82940c9ec4bd7e4e16f8.zip
Apply some const to get_lock_*()
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 2c2232ade8..c78c0a0fa7 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -8351,9 +8351,12 @@ NTSTATUS copy_file(TALLOC_CTX *ctx,
int count,
bool target_is_directory);
void reply_copy(struct smb_request *req);
-uint32 get_lock_pid( char *data, int data_offset, bool large_file_format);
-uint64_t get_lock_count( char *data, int data_offset, bool large_file_format);
-uint64_t get_lock_offset( char *data, int data_offset, bool large_file_format, bool *err);
+uint32 get_lock_pid(const uint8_t *data, int data_offset,
+ bool large_file_format);
+uint64_t get_lock_count(const uint8_t *data, int data_offset,
+ bool large_file_format);
+uint64_t get_lock_offset(const uint8_t *data, int data_offset,
+ bool large_file_format, bool *err);
void reply_lockingX(struct smb_request *req);
void reply_readbmpx(struct smb_request *req);
void reply_readbs(struct smb_request *req);