summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2017-12-03 20:47:02 +0100
committerRalph Boehme <slow@samba.org>2018-02-08 10:01:50 +0100
commitbdeb7e7d8185a112064930edbf0cf1ee5b72999e (patch)
tree10020afcc197bf5a2df194c1c07a0549f3265e58 /source3/include
parent3bc87a20e9c6af358749c0b9d17e03a281086d3e (diff)
downloadsamba-bdeb7e7d8185a112064930edbf0cf1ee5b72999e.tar.gz
lib: Make g_lock_lock use TDB_DATA
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/g_lock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/g_lock.h b/source3/include/g_lock.h
index 2748eedafc1..867e10420e2 100644
--- a/source3/include/g_lock.h
+++ b/source3/include/g_lock.h
@@ -44,7 +44,7 @@ struct tevent_req *g_lock_lock_send(TALLOC_CTX *mem_ctx,
TDB_DATA key,
enum g_lock_type type);
NTSTATUS g_lock_lock_recv(struct tevent_req *req);
-NTSTATUS g_lock_lock(struct g_lock_ctx *ctx, const char *name,
+NTSTATUS g_lock_lock(struct g_lock_ctx *ctx, TDB_DATA key,
enum g_lock_type lock_type, struct timeval timeout);
NTSTATUS g_lock_unlock(struct g_lock_ctx *ctx, const char *name);