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

Ns_TclInitModule

Overview

Source Tcl module before server startup

Syntax

    int Ns_TclInitModule (
    char* server, 
    char* module
    );

Description

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.