OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman

Tue, 19 Apr 2005 02:26:28 EDT

Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-3/src/WINNT/afsd

Modified Files:
	afsd.c afsd.h afsd_service.c cm_daemon.c smb.c 
Log Message:
DELTA windows-hooks-20050418

Add new hooks from "AfsdHook.dll" to the afsd_service.exe

   AfsdInitHook - where you currently have one

   AfsdRxStartedHook - after RxInit but before SmbInit

   AfsdSmbStartedHook - after SmbInit

   AfsdBkDaemonHook - called by the BkDaemon thread and is executed once per 

   AfsdStoppingHook - called just after a shutdown event has been 
                      received but before any shutdown has been performed

   AfsdStoppedHook - called just after all shutdown operations after 
                     completed but before the service terminates

The type of the function is 

   BOOL ( APIENTRY * AfsdHook )(void)

in all cases.  Returning FALSE will cause the service to shutdown.

--- DELTA config follows ---
windows-hooks-20050418 openafs/src/WINNT/afsd/afsd.c 1.9 1.10
windows-hooks-20050418 openafs/src/WINNT/afsd/afsd.h 1.8 1.9
windows-hooks-20050418 openafs/src/WINNT/afsd/afsd_service.c 1.42 1.43
windows-hooks-20050418 openafs/src/WINNT/afsd/cm_daemon.c 1.7 1.8
windows-hooks-20050418 openafs/src/WINNT/afsd/smb.c 1.78 1.79