diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-02-25 16:47:48 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-02-26 09:32:55 +0100 |
commit | facdc472c7e6dbca0553a5e0dfb100be322339ce (patch) | |
tree | c370ad8476bc35925df4397e51d45bd96e0b4f2c /source4/ntvfs/common/opendb.h | |
parent | 69631a215b655415477ee0e71a08beca86dd5b2f (diff) | |
download | samba-facdc472c7e6dbca0553a5e0dfb100be322339ce.tar.gz samba-facdc472c7e6dbca0553a5e0dfb100be322339ce.tar.bz2 samba-facdc472c7e6dbca0553a5e0dfb100be322339ce.zip |
opendb: pass down open_disposition and break_to_none to odb_open_file()
metze
(This used to be commit aaaa26ae5e810495f313dfada771a8de86cedbd4)
Diffstat (limited to 'source4/ntvfs/common/opendb.h')
-rw-r--r-- | source4/ntvfs/common/opendb.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source4/ntvfs/common/opendb.h b/source4/ntvfs/common/opendb.h index c46390446c..205d2228ea 100644 --- a/source4/ntvfs/common/opendb.h +++ b/source4/ntvfs/common/opendb.h @@ -25,10 +25,11 @@ struct opendb_ops { 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, + NTSTATUS (*odb_open_file)(struct odb_lock *lck, + void *file_handle, const char *path, + uint32_t stream_id, uint32_t share_access, uint32_t access_mask, bool delete_on_close, - const char *path, + uint32_t open_disposition, bool break_to_none, uint32_t oplock_level, uint32_t *oplock_granted); NTSTATUS (*odb_open_file_pending)(struct odb_lock *lck, void *private); NTSTATUS (*odb_close_file)(struct odb_lock *lck, void *file_handle); |