summaryrefslogtreecommitdiff
path: root/source4/ntvfs/common/opendb.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-02-26 16:19:57 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-02-26 16:19:57 +1100
commit864328e6563621a0b4df2d49e04ff3b23b68e1ca (patch)
tree01b5af0b454d7235b5118ae53d078429dca26619 /source4/ntvfs/common/opendb.c
parent2c8415f767ca20fe90a97f8623d1617e015f183a (diff)
parent1e5ced379361fbdc0ccc48ad012f388f2e737ca7 (diff)
downloadsamba-864328e6563621a0b4df2d49e04ff3b23b68e1ca.tar.gz
samba-864328e6563621a0b4df2d49e04ff3b23b68e1ca.tar.bz2
samba-864328e6563621a0b4df2d49e04ff3b23b68e1ca.zip
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
(This used to be commit 35f7f488d84e3ec3224f3b40ff5881e91c11764d)
Diffstat (limited to 'source4/ntvfs/common/opendb.c')
-rw-r--r--source4/ntvfs/common/opendb.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/source4/ntvfs/common/opendb.c b/source4/ntvfs/common/opendb.c
index 4826ca5c26..4ac10806e1 100644
--- a/source4/ntvfs/common/opendb.c
+++ b/source4/ntvfs/common/opendb.c
@@ -81,6 +81,10 @@ _PUBLIC_ struct odb_lock *odb_lock(TALLOC_CTX *mem_ctx,
return ops->odb_lock(mem_ctx, odb, file_key);
}
+_PUBLIC_ DATA_BLOB odb_get_key(TALLOC_CTX *mem_ctx, struct odb_lock *lck)
+{
+ return ops->odb_get_key(mem_ctx, lck);
+}
/*
register an open file in the open files database. This implements the share_access
@@ -166,3 +170,9 @@ _PUBLIC_ NTSTATUS odb_can_open(struct odb_lock *lck,
{
return ops->odb_can_open(lck, share_access, create_options, access_mask);
}
+
+_PUBLIC_ NTSTATUS odb_update_oplock(struct odb_lock *lck, void *file_handle,
+ uint32_t oplock_level)
+{
+ return ops->odb_update_oplock(lck, file_handle, oplock_level);
+}