summaryrefslogtreecommitdiff
path: root/source3/libsmb/proto.h
diff options
context:
space:
mode:
authorBjörn Baumbach <bb@sernet.de>2011-07-11 11:19:21 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-11 12:48:38 +0200
commitf2c5a0afd2e219e8d845db08d6d13de65b710f5c (patch)
treeacfc76e62682b00e4c552dc7f28c7d47f86de4b7 /source3/libsmb/proto.h
parent57194d8c5d47133c9145e6ed2b51f4e18f8bd1ec (diff)
downloadsamba-f2c5a0afd2e219e8d845db08d6d13de65b710f5c.tar.gz
samba-f2c5a0afd2e219e8d845db08d6d13de65b710f5c.tar.bz2
samba-f2c5a0afd2e219e8d845db08d6d13de65b710f5c.zip
s3-libsmb: let cli_lock64 return NTSTATUS instead of bool
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jul 11 12:48:38 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/libsmb/proto.h')
-rw-r--r--source3/libsmb/proto.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/libsmb/proto.h b/source3/libsmb/proto.h
index 906852e94f..151df40436 100644
--- a/source3/libsmb/proto.h
+++ b/source3/libsmb/proto.h
@@ -400,8 +400,9 @@ struct tevent_req *cli_unlock_send(TALLOC_CTX *mem_ctx,
uint64_t len);
NTSTATUS cli_unlock_recv(struct tevent_req *req);
NTSTATUS cli_unlock(struct cli_state *cli, uint16_t fnum, uint32_t offset, uint32_t len);
-bool cli_lock64(struct cli_state *cli, uint16_t fnum,
- uint64_t offset, uint64_t len, int timeout, enum brl_type lock_type);
+NTSTATUS cli_lock64(struct cli_state *cli, uint16_t fnum,
+ uint64_t offset, uint64_t len, int timeout,
+ enum brl_type lock_type);
struct tevent_req *cli_unlock64_send(TALLOC_CTX *mem_ctx,
struct event_context *ev,
struct cli_state *cli,