summaryrefslogtreecommitdiffstats
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-04-12 17:59:09 +0000
committerJeremy Allison <jra@samba.org>2000-04-12 17:59:09 +0000
commit8316237e9ca83d1bd0cecdc63d7e47b44cf13181 (patch)
treedaff31da47ad88886634d083c68d4da40b5095c1 /source3/include
parentf5da7470c3f4d1fc86dee19e85d189595344bad2 (diff)
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)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/include/smb.h9
2 files changed, 6 insertions, 4 deletions
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;