TclTrace Struct Reference


Data Fields

TclTraceprevPtr
TclTracenextPtr
Ns_TclTraceProc * proc
void * arg
int when

Detailed Description

The following structure maintains interp callback traces. The traces are normally registered during server startup and invoked later for virutal server interps at specific points in the lifetime of the interp. Initialization callbacks (create, alloc, getconn) are called in FIFO order while finalization callbacks (freeconn, dealloc, delete) are called in LIFO order. In addition, script callbacks are invoked after non-script callbacks. A common trace would be an "create" trace to add commands in a loadable C module, e.g., the "ns_accesslog" command in nslog.


Field Documentation

struct TclTrace* TclTrace::prevPtr

struct TclTrace* TclTrace::nextPtr

Ns_TclTraceProc* TclTrace::proc

void* TclTrace::arg

int TclTrace::when


The documentation for this struct was generated from the following file:
Generated on Tue Sep 4 19:58:58 2007 by  doxygen 1.5.1