[ Previous ] [ Contents ] [ Index ] [ Next ]



Source Tcl module before server startup


    int Ns_TclInitModule (
    char* server, 
    char* module


Put this module on this list of modules whose Tcl is to be sourced before server startup and after modules are loaded. The server parameter is ignored.

For example, calling Ns_TclInitModule(NULL, "nsfoo") from Ns_ModuleInit will cause the following directories to be sourced after all modules are loaded:

(aolserver home)/servers/server1/modules/tcl/nsfoo/*.tcl
(aolserver home)/modules/tcl/nsfoo/*.tcl

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1998-99 America Online, Inc.