From 8316237e9ca83d1bd0cecdc63d7e47b44cf13181 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 12 Apr 2000 17:59:09 +0000 Subject: Code to map tdb locks onto POSIX. Mainly placeholder code at the moment, but the structure is done enough so that Andrew can look it over and give a yea/nay decision. Jeremy. (This used to be commit db96f83e34a139f47776fcbb5c1624fbf9d9943b) --- source3/include/proto.h | 1 + source3/include/smb.h | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index 215529f697..a02ea38bd9 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1357,6 +1357,7 @@ BOOL lp_map_hidden(int ); BOOL lp_map_archive(int ); BOOL lp_locking(int ); BOOL lp_strict_locking(int ); +BOOL lp_posix_locking(int ); BOOL lp_utmp(int ); BOOL lp_share_modes(int ); BOOL lp_oplocks(int ); diff --git a/source3/include/smb.h b/source3/include/smb.h index f57d108ee4..d8653538df 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -482,12 +482,13 @@ typedef struct files_struct mode_t mode; uint16 vuid; write_bmpx_struct *wbmpx_ptr; - write_cache *wcp; + write_cache *wcp; struct timeval open_time; - int share_mode; + int share_mode; time_t pending_modtime; - int oplock_type; - int sent_oplock_break; + int oplock_type; + int sent_oplock_break; + unsigned int num_posix_locks; BOOL open; BOOL can_lock; BOOL can_read; -- cgit