From: Stephen D. <sd...@us...> - 2005-10-09 22:27:29
|
Update of /cvsroot/naviserver/naviserver In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26895 Modified Files: ChangeLog Log Message: * nsd/nsd.h: * nsd/modload.c: * nsd/nsmain.c: * nsd/server.c: * nsd/init.tcl: Add new Tcl command ns_moduleload which loads a binary module into the server and calls it's initialising function. Remove NsLoadModules and instead call ns_moduleload from the init.tcl bootstrap. Policy about where modules are located and when they are loaded is now easily accessible to Tcl. * nsd/tclcallbacks.c: * nsd/tclmisc.c: * nsd/tclcmds.c: Add new command ns_atprestartup as a simple wrapper for the C equivalent. Add new command ns_runonce which ensures that the given script is run only once, either globally or per virtual server, during the lifetime of the server process. This simplifies initialisation. Index: ChangeLog =================================================================== RCS file: /cvsroot/naviserver/naviserver/ChangeLog,v retrieving revision 1.205 retrieving revision 1.206 diff -C2 -d -r1.205 -r1.206 *** ChangeLog 9 Oct 2005 22:14:52 -0000 1.205 --- ChangeLog 9 Oct 2005 22:27:23 -0000 1.206 *************** *** 1,4 **** --- 1,21 ---- 2005-10-09 Stephen Deasey <sd...@us...> + * nsd/nsd.h: + * nsd/modload.c: + * nsd/nsmain.c: + * nsd/server.c: + * nsd/init.tcl: Add new Tcl command ns_moduleload which loads a + binary module into the server and calls it's initialising + function. Remove NsLoadModules and instead call ns_moduleload + from the init.tcl bootstrap. Policy about where modules are + located and when they are loaded is now easily accessible to Tcl. + * nsd/tclcallbacks.c: + * nsd/tclmisc.c: + * nsd/tclcmds.c: Add new command ns_atprestartup as a simple + wrapper for the C equivalent. Add new command ns_runonce which + ensures that the given script is run only once, either globally or + per virtual server, during the lifetime of the server process. + This simplifies initialisation. + * include/ns.h: * include/nsthread.h: MIN and MAX are defined after all, in |