summaryrefslogtreecommitdiff
path: root/source4/ntvfs/common/opendb.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-02-25 17:48:13 +0100
committerStefan Metzmacher <metze@samba.org>2008-02-26 09:32:56 +0100
commit7264a8b7ca5f91120dbc30fcbe8e8402f09ae883 (patch)
tree329fcc47adcc0e15dc801b3c594265cc890a5632 /source4/ntvfs/common/opendb.h
parent9852e0d31582f669179c2a8c8ebdb263fef611f2 (diff)
downloadsamba-7264a8b7ca5f91120dbc30fcbe8e8402f09ae883.tar.gz
samba-7264a8b7ca5f91120dbc30fcbe8e8402f09ae883.tar.bz2
samba-7264a8b7ca5f91120dbc30fcbe8e8402f09ae883.zip
opendb: unify the parameters of odb_open_file() and odb_can_open()
metze (This used to be commit e6b708a52b0eada3fd374b66292ded3b0f6ce217)
Diffstat (limited to 'source4/ntvfs/common/opendb.h')
-rw-r--r--source4/ntvfs/common/opendb.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/ntvfs/common/opendb.h b/source4/ntvfs/common/opendb.h
index 205d2228ea..9591bcf6b9 100644
--- a/source4/ntvfs/common/opendb.h
+++ b/source4/ntvfs/common/opendb.h
@@ -40,8 +40,9 @@ struct opendb_ops {
DATA_BLOB *key, bool *del_on_close,
int *open_count, char **path);
NTSTATUS (*odb_can_open)(struct odb_lock *lck,
- uint32_t share_access, uint32_t create_options,
- uint32_t access_mask);
+ uint32_t stream_id, uint32_t share_access,
+ uint32_t access_mask, bool delete_on_close,
+ uint32_t open_disposition, bool break_to_none);
NTSTATUS (*odb_update_oplock)(struct odb_lock *lck, void *file_handle,
uint32_t oplock_level);
NTSTATUS (*odb_break_oplocks)(struct odb_lock *lck);