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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Tue, 19 Apr 2005 02:27:58 EDT


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

Modified Files:
      Tag: openafs-stable-1_4_x
	afsd.c afsd.h afsd_service.c cm_daemon.c smb.c 
Log Message:
DELTA STABLE14-windows-hooks-20050418
AUTHOR jaltman@secure-endpoints.com

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
                      cycle

   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 for openafs-stable-1_4_x follows ---
STABLE14-windows-hooks-20050418 openafs/src/WINNT/afsd/afsd.c 1.8.2.1 1.8.2.2
STABLE14-windows-hooks-20050418 openafs/src/WINNT/afsd/afsd.h 1.5.2.3 1.5.2.4
STABLE14-windows-hooks-20050418 openafs/src/WINNT/afsd/afsd_service.c 1.28.2.13 1.28.2.14
STABLE14-windows-hooks-20050418 openafs/src/WINNT/afsd/cm_daemon.c 1.4.2.3 1.4.2.4
STABLE14-windows-hooks-20050418 openafs/src/WINNT/afsd/smb.c 1.55.2.21 1.55.2.22