tclInterp.c File Reference

#include "tclInt.h"

Go to the source code of this file.

Data Structures

struct  Alias
struct  Slave
struct  Target
struct  Master
struct  InterpInfo
struct  ScriptLimitCallback
struct  ScriptLimitCallbackKey

Defines

#define ALIAS_CMDV_PREALLOC   10

Functions

char * TclSetPreInitScript (char *string)
int Tcl_Init (Tcl_Interp *interp)
int TclInterpInit (Tcl_Interp *interp)
int Tcl_InterpObjCmd (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
int Tcl_CreateAlias (Tcl_Interp *slaveInterp, const char *slaveCmd, Tcl_Interp *targetInterp, const char *targetCmd, int argc, const char *const *argv)
int Tcl_CreateAliasObj (Tcl_Interp *slaveInterp, const char *slaveCmd, Tcl_Interp *targetInterp, const char *targetCmd, int objc, Tcl_Obj *const objv[])
int Tcl_GetAlias (Tcl_Interp *interp, const char *aliasName, Tcl_Interp **targetInterpPtr, const char **targetNamePtr, int *argcPtr, const char ***argvPtr)
int Tcl_GetAliasObj (Tcl_Interp *interp, const char *aliasName, Tcl_Interp **targetInterpPtr, const char **targetNamePtr, int *objcPtr, Tcl_Obj ***objvPtr)
int TclPreventAliasLoop (Tcl_Interp *interp, Tcl_Interp *cmdInterp, Tcl_Command cmd)
Tcl_InterpTcl_CreateSlave (Tcl_Interp *interp, const char *slavePath, int isSafe)
Tcl_InterpTcl_GetSlave (Tcl_Interp *interp, const char *slavePath)
Tcl_InterpTcl_GetMaster (Tcl_Interp *interp)
int Tcl_GetInterpPath (Tcl_Interp *askingInterp, Tcl_Interp *targetInterp)
int Tcl_IsSafe (Tcl_Interp *interp)
int Tcl_MakeSafe (Tcl_Interp *interp)
int Tcl_LimitExceeded (Tcl_Interp *interp)
int Tcl_LimitReady (Tcl_Interp *interp)
int Tcl_LimitCheck (Tcl_Interp *interp)
void Tcl_LimitAddHandler (Tcl_Interp *interp, int type, Tcl_LimitHandlerProc *handlerProc, ClientData clientData, Tcl_LimitHandlerDeleteProc *deleteProc)
void Tcl_LimitRemoveHandler (Tcl_Interp *interp, int type, Tcl_LimitHandlerProc *handlerProc, ClientData clientData)
void TclLimitRemoveAllHandlers (Tcl_Interp *interp)
int Tcl_LimitTypeEnabled (Tcl_Interp *interp, int type)
int Tcl_LimitTypeExceeded (Tcl_Interp *interp, int type)
void Tcl_LimitTypeSet (Tcl_Interp *interp, int type)
void Tcl_LimitTypeReset (Tcl_Interp *interp, int type)
void Tcl_LimitSetCommands (Tcl_Interp *interp, int commandLimit)
int Tcl_LimitGetCommands (Tcl_Interp *interp)
void Tcl_LimitSetTime (Tcl_Interp *interp, Tcl_Time *timeLimitPtr)
void Tcl_LimitGetTime (Tcl_Interp *interp, Tcl_Time *timeLimitPtr)
void Tcl_LimitSetGranularity (Tcl_Interp *interp, int type, int granularity)
int Tcl_LimitGetGranularity (Tcl_Interp *interp, int type)
void TclRemoveScriptLimitCallbacks (Tcl_Interp *interp)
void TclInitLimitSupport (Tcl_Interp *interp)


Define Documentation

#define ALIAS_CMDV_PREALLOC   10


Function Documentation

int Tcl_CreateAlias ( Tcl_Interp slaveInterp,
const char *  slaveCmd,
Tcl_Interp targetInterp,
const char *  targetCmd,
int  argc,
const char *const *  argv 
)

int Tcl_CreateAliasObj ( Tcl_Interp slaveInterp,
const char *  slaveCmd,
Tcl_Interp targetInterp,
const char *  targetCmd,
int  objc,
Tcl_Obj *const   objv[] 
)

Definition at line 1116 of file tclInterp.c.

References Tcl_DecrRefCount, Tcl_IncrRefCount, and Tcl_NewStringObj().

Tcl_Interp* Tcl_CreateSlave ( Tcl_Interp interp,
const char *  slavePath,
int  isSafe 
)

Definition at line 1851 of file tclInterp.c.

References Tcl_DecrRefCount, and Tcl_NewStringObj().

int Tcl_GetAlias ( Tcl_Interp interp,
const char *  aliasName,
Tcl_Interp **  targetInterpPtr,
const char **  targetNamePtr,
int *  argcPtr,
const char ***  argvPtr 
)

int Tcl_GetAliasObj ( Tcl_Interp interp,
const char *  aliasName,
Tcl_Interp **  targetInterpPtr,
const char **  targetNamePtr,
int *  objcPtr,
Tcl_Obj ***  objvPtr 
)

Tcl_Interp* Tcl_GetMaster ( Tcl_Interp interp  ) 

Definition at line 1914 of file tclInterp.c.

References Slave::masterInterp.

Tcl_Interp* Tcl_GetSlave ( Tcl_Interp interp,
const char *  slavePath 
)

Definition at line 1883 of file tclInterp.c.

References Tcl_DecrRefCount, and Tcl_NewStringObj().

int Tcl_Init ( Tcl_Interp interp  ) 

Definition at line 294 of file tclInterp.c.

References TCL_ERROR, and Tcl_Eval().

Referenced by Tcl_AppInit().

int Tcl_IsSafe ( Tcl_Interp interp  ) 

void Tcl_LimitAddHandler ( Tcl_Interp interp,
int  type,
Tcl_LimitHandlerProc *  handlerProc,
ClientData  clientData,
Tcl_LimitHandlerDeleteProc *  deleteProc 
)

int Tcl_LimitExceeded ( Tcl_Interp interp  ) 

int Tcl_LimitGetCommands ( Tcl_Interp interp  ) 

Definition at line 3529 of file tclInterp.c.

References Interp::cmdCount, and Interp::limit.

int Tcl_LimitGetGranularity ( Tcl_Interp interp,
int  type 
)

void Tcl_LimitGetTime ( Tcl_Interp interp,
Tcl_Time timeLimitPtr 
)

Definition at line 3632 of file tclInterp.c.

References Interp::limit, and Interp::time.

void Tcl_LimitRemoveHandler ( Tcl_Interp interp,
int  type,
Tcl_LimitHandlerProc *  handlerProc,
ClientData  clientData 
)

void Tcl_LimitSetCommands ( Tcl_Interp interp,
int  commandLimit 
)

Definition at line 3501 of file tclInterp.c.

References Interp::cmdCount, Interp::exceeded, Interp::limit, and TCL_LIMIT_COMMANDS.

void Tcl_LimitSetGranularity ( Tcl_Interp interp,
int  type,
int  granularity 
)

int Tcl_LimitTypeEnabled ( Tcl_Interp interp,
int  type 
)

Definition at line 3388 of file tclInterp.c.

References Interp::active, and Interp::limit.

int Tcl_LimitTypeExceeded ( Tcl_Interp interp,
int  type 
)

Definition at line 3415 of file tclInterp.c.

References Interp::exceeded, and Interp::limit.

void Tcl_LimitTypeReset ( Tcl_Interp interp,
int  type 
)

Definition at line 3472 of file tclInterp.c.

References Interp::active, Interp::exceeded, and Interp::limit.

void Tcl_LimitTypeSet ( Tcl_Interp interp,
int  type 
)

Definition at line 3443 of file tclInterp.c.

References Interp::active, and Interp::limit.

void TclRemoveScriptLimitCallbacks ( Tcl_Interp interp  ) 

char* TclSetPreInitScript ( char *  string  ) 

Definition at line 266 of file tclInterp.c.



Generated on Wed Mar 12 12:18:32 2008 by  doxygen 1.5.1