summaryrefslogtreecommitdiff
path: root/source4/ntvfs/common/opendb.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-02-22 10:18:13 +0100
committerStefan Metzmacher <metze@samba.org>2008-02-25 11:50:30 +0100
commit27e322bb4d5a25a2a1ebc5df36690590d86e3afd (patch)
treec849edf723e24edb1dc980810104153ac7eb6469 /source4/ntvfs/common/opendb.h
parent599901c139e99dca26f267439c14119e6c3f2092 (diff)
downloadsamba-27e322bb4d5a25a2a1ebc5df36690590d86e3afd.tar.gz
samba-27e322bb4d5a25a2a1ebc5df36690590d86e3afd.tar.bz2
samba-27e322bb4d5a25a2a1ebc5df36690590d86e3afd.zip
opendb: add odb_get_key() function to get the key back from a struct odb_lock
metze (This used to be commit 11f35a2a4d383b506ced35ba06120f9531bac70c)
Diffstat (limited to 'source4/ntvfs/common/opendb.h')
-rw-r--r--source4/ntvfs/common/opendb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/ntvfs/common/opendb.h b/source4/ntvfs/common/opendb.h
index 231ae3d7de..5472cea418 100644
--- a/source4/ntvfs/common/opendb.h
+++ b/source4/ntvfs/common/opendb.h
@@ -24,6 +24,7 @@ struct opendb_ops {
struct ntvfs_context *ntvfs_ctx);
struct odb_lock *(*odb_lock)(TALLOC_CTX *mem_ctx,
struct odb_context *odb, DATA_BLOB *file_key);
+ DATA_BLOB (*odb_get_key)(TALLOC_CTX *mem_ctx, struct odb_lock *lck);
NTSTATUS (*odb_open_file)(struct odb_lock *lck, void *file_handle,
uint32_t stream_id, uint32_t share_access,
uint32_t access_mask, bool delete_on_close,