From aeb798c325cc33072ad090a1f8610bba4fdebaaa Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 8 Jan 2009 15:38:47 +0100 Subject: 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 --- source3/include/smb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/include/smb.h') 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; -- cgit