File cmdLog.c

 ** ** Module Header ******************************************************* **
 ** 									     **
 **   Modules Revision 3.0						     **
 **   Providing a flexible user environment				     **
 ** 									     **
 **   File:		cmdLog.c					     **
 **   First Edition:	1995/12/26					     **
 ** 									     **
 **   Authors:	Jens Hamisch, jens@Strawberry.COM			     **
 ** 									     **
 **   Description:	The Tcl module-trace routine which provides a con-   **
 **			trolling interface to the modulecmd tracing feature  **
 ** 									     **
 **   Exports:		cmdModuleLog					     **
 ** 									     **
 **   Notes:								     **
 ** 									     **
 ** ************************************************************************ **
References Variables: Id cmdLog.c

Included Files


Preprocessor definitions

#define PART_LEN 256

Local Variables

Id
static char Id[]
Used in:   cmdLog.c

UseId
static void* UseId[]

module_name
static char module_name[]

Used in: cmdModuleLog()  

_stderr
static char _stderr[]

Used in: cmdModuleLog()  

_stdout
static char _stdout[]

Used in: cmdModuleLog()  

_null
static char _null[]

Used in: cmdModuleLog()  

_none
static char _none[]

Used in: cmdModuleLog()  

Global Function cmdModuleLog()

 ** ** Function-Header ***************************************************** **
 ** 									     **
 **   Function:		cmdModuleLog					     **
 ** 									     **
 **   Description:	Callback function for 'log'			     **
 ** 									     **
 **   First Edition:	1991/10/23					     **
 ** 									     **
 **   Parameters:	ClientData	 client_data			     **
 **			Tcl_Interp	*interp		According Tcl interp.**
 **			int		 argc		Number of arguments  **
 **			char		*argv[]		Argument array	     **
 ** 									     **
 **   Result:		int	TCL_OK		Successfull completion	     **
 **				TCL_ERROR	Any error		     **
 ** 									     **
 **   Attached Globals:	tracelist	List containing all tracing settings **
 **   			g_flags		These are set up accordingly before  **
 **					this function is called in order to  **
 **					control everything		     **
 ** 									     **
 ** ************************************************************************ **
int cmdModuleLog ( ClientData client_data, Tcl_Interp* interp, int argc, const char* argv[] )
Prototyped in: modules_def.h
Calls: CheckFacility() error.c
  GetFacilityPtr() error.c
  Module_Error() error.c
  null_free() utility.c
  stringer() utility.c
  fprintf(), malloc(), realloc(), strcmp(), strcpy(), strlen(), strtok()
Used in: InitializeModuleCommands() init.c
References Variables: _none cmdLog.c
  _null cmdLog.c
  _stderr cmdLog.c
  _stdout cmdLog.c
  g_flags main.c
  module_name cmdLog.c