diff options
author | Volker Lendecke <vl@samba.org> | 2017-12-03 20:47:02 +0100 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2018-02-08 10:01:50 +0100 |
commit | ed3521d1729a7bda1f127f4c5a754bf01b174665 (patch) | |
tree | 3b20cc15b98cc4e54bfc4e6eda1ee37f9d71fd18 /source3/include | |
parent | a104e08171b50b9e23dc1869049d12e0c6176979 (diff) | |
download | samba-ed3521d1729a7bda1f127f4c5a754bf01b174665.tar.gz |
lib: Make g_lock_write_data 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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/g_lock.h b/source3/include/g_lock.h index a1d845f3074..20cee4c1a43 100644 --- a/source3/include/g_lock.h +++ b/source3/include/g_lock.h @@ -48,7 +48,7 @@ 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, TDB_DATA key); -NTSTATUS g_lock_write_data(struct g_lock_ctx *ctx, const char *name, +NTSTATUS g_lock_write_data(struct g_lock_ctx *ctx, TDB_DATA key, const uint8_t *buf, size_t buflen); NTSTATUS g_lock_do(const char *name, enum g_lock_type lock_type, |