Subject: CVS commit: src/sys/netsmb
To: None <source-changes@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 04/07/2003 14:23:04
Module Name:	src
Committed By:	jdolecek
Date:		Mon Apr  7 11:23:03 UTC 2003

Modified Files:
	src/sys/netsmb: smb_iod.c smb_rq.c smb_rq.h

Log Message:
add support for asynchronous execution of SMB requests:
* add receive hook - if set, this function is called when request is finished
* unstatic smb_rq_enqueue(), smb_rq_reply() so that code can use that
  independant of smb_rq_simple() et al
this is needed for NT DIRECTORY CHANGE NOTIFY SMB, since they typically
take very long to complete and we want to be able to use single kernel thread
to handle them all

add support for 'nowait' requests (flag SMBR_NOWAIT), which don't expect
and answer from server and are marked as 'processed' immediatelly
after they are sent to server - needed for NT CANCEL SMB


To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 src/sys/netsmb/smb_iod.c src/sys/netsmb/smb_rq.c
cvs rdiff -r1.7 -r1.8 src/sys/netsmb/smb_rq.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.