summaryrefslogtreecommitdiff
path: root/source3/include/locking.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-04-30 21:03:20 -0700
committerJeremy Allison <jra@samba.org>2010-04-30 21:03:20 -0700
commitf4092ecec722d7e2c04f3049630975af9e96bc07 (patch)
tree34767dbbd6dad945552c0ea60d187172ecd6394c /source3/include/locking.h
parentdffeb12f3dcb339bc258a7fbc38bbf9ec8dd928e (diff)
downloadsamba-f4092ecec722d7e2c04f3049630975af9e96bc07.tar.gz
samba-f4092ecec722d7e2c04f3049630975af9e96bc07.tar.bz2
samba-f4092ecec722d7e2c04f3049630975af9e96bc07.zip
Plumb the SMB2 front end into the blocking lock backend.
Metze, you'll probably be happier with this work as it doesn't abuse tevent in the way you dislike. This is a first cut at the code, which will need lots of testing but I'm hoping this will give people an idea of where I'm going with this. Jeremy.
Diffstat (limited to 'source3/include/locking.h')
-rw-r--r--source3/include/locking.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/locking.h b/source3/include/locking.h
index 1833ba3f80..ee59cad643 100644
--- a/source3/include/locking.h
+++ b/source3/include/locking.h
@@ -96,4 +96,11 @@ struct blocking_lock_record {
void *blr_private; /* Implementation specific. */
};
+struct smbd_lock_element {
+ uint32_t smbpid;
+ enum brl_type brltype;
+ uint64_t offset;
+ uint64_t count;
+};
+
#endif /* _LOCKING_H_ */