nsproxy.h File Reference

#include "ns.h"

Go to the source code of this file.

Functions

NS_EXTERN int Ns_ProxyMain (int argc, char **argv, Tcl_AppInitProc *proc)
NS_EXTERN int Ns_ProxyInit (Tcl_Interp *interp)

Variables

NS_EXTERN Ns_TclTraceProc Ns_ProxyCleanup


Function Documentation

NS_EXTERN int Ns_ProxyInit ( Tcl_Interp *  interp  ) 

----------------------------------------------------------------------

Ns_ProxyInit --

Initialize the Tcl interp interface.

Results: TCL_OK.

Side effects: Adds the ns_proxy command to given interp.

----------------------------------------------------------------------

NS_EXTERN int Ns_ProxyMain ( int  argc,
char **  argv,
Tcl_AppInitProc *  init 
)

----------------------------------------------------------------------

Ns_ProxyMain --

Main loop for nsproxy child processes.

Results: 0.

Side effects: Will initialize an interp and process requests.

----------------------------------------------------------------------

Move the proxy input and output fd's from 0 and 1 to avoid protocal errors with scripts accessing stdin and stdout. Stdin is open on /dev/null and stdout is dup'ed to stderr.

Create the interp and initialize with user init proc, if any.

Loop continuously processing proxy request.


Variable Documentation

NS_EXTERN Ns_TclTraceProc Ns_ProxyCleanup


Generated on Tue Sep 4 19:58:57 2007 by  doxygen 1.5.1