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

Ns_GetConnInterp

Overview

Get the Tcl interpreter for the connection

Syntax

    EXTERN Tcl_Interp *Ns_GetConnInterp(
      Ns_Conn *conn
    );

Description

This function, given the conn, returns the interpreter already assigned to the conn if one exists. If no interpreter is assigned, it allocates a new interpreter and assigns it to the conn. By using this function, you can be certain that the same interpreter (and its global state) are used by the registered request function and the filters.

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.