summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-01-08 15:38:47 +0100
committerStefan Metzmacher <metze@samba.org>2009-01-09 08:45:40 +0100
commitaeb798c325cc33072ad090a1f8610bba4fdebaaa (patch)
tree09592984adf0139b8e69fc9fc3d23b84cc69952d /source3/include
parentd524e5f4174e4f7578595bf6cd22a6d161b6e324 (diff)
downloadsamba-aeb798c325cc33072ad090a1f8610bba4fdebaaa.tar.gz
samba-aeb798c325cc33072ad090a1f8610bba4fdebaaa.tar.bz2
samba-aeb798c325cc33072ad090a1f8610bba4fdebaaa.zip
s3:smbd: handle incoming smb requests via event handlers
We use a fd event and receive incoming smb requests when the fd becomes readable. It's not completely nonblocking yet, but it should behave like the old code. We use timed events to trigger retries for deferred open calls. metze
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 9f6a6f02d7..4d7d4b2f38 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -690,7 +690,7 @@ struct interface {
struct pending_message_list {
struct pending_message_list *next, *prev;
struct timeval request_time; /* When was this first issued? */
- struct timeval end_time; /* When does this time out? */
+ struct timed_event *te;
bool encrypted;
DATA_BLOB buf;
DATA_BLOB private_data;