summaryrefslogtreecommitdiff
path: root/source4/ntvfs/common/opendb.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-02-21 12:20:31 +0100
committerStefan Metzmacher <metze@samba.org>2008-02-25 11:50:39 +0100
commit6cb9c1c61d8087457420a56f5296662417a25bd4 (patch)
treec895439d6c910b45eff6ce0a6cf457631247698f /source4/ntvfs/common/opendb.h
parent27e322bb4d5a25a2a1ebc5df36690590d86e3afd (diff)
downloadsamba-6cb9c1c61d8087457420a56f5296662417a25bd4.tar.gz
samba-6cb9c1c61d8087457420a56f5296662417a25bd4.tar.bz2
samba-6cb9c1c61d8087457420a56f5296662417a25bd4.zip
opendb: send also the oplock break level on MSG_NTVFS_OPLOCK_BREAK
metze (This used to be commit 49402007f6e9e02a29792344c088e40d1a9b7acf)
Diffstat (limited to 'source4/ntvfs/common/opendb.h')
-rw-r--r--source4/ntvfs/common/opendb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/ntvfs/common/opendb.h b/source4/ntvfs/common/opendb.h
index 5472cea418..ccf6db27a0 100644
--- a/source4/ntvfs/common/opendb.h
+++ b/source4/ntvfs/common/opendb.h
@@ -43,6 +43,10 @@ struct opendb_ops {
uint32_t access_mask);
};
+struct opendb_oplock_break {
+ void *file_handle;
+ uint8_t level;
+};
void odb_set_ops(const struct opendb_ops *new_ops);
void odb_tdb_init_ops(void);