File cmdInfo.c

 ** ** Module Header ******************************************************* **
 ** 									     **
 **   Modules Revision 3.0						     **
 **   Providing a flexible user environment				     **
 ** 									     **
 **   File:		cmdInfo.c					     **
 **   First Edition:	91/10/23					     **
 ** 									     **
 **   Authors:	John Furlan, jlf@behere.com				     **
 **		Jens Hamisch, jens@Strawberry.COM			     **
 ** 									     **
 **   Description:	The Tcl module-info routine which provides informa-  **
 **			tion about the state of Modules as the modulefile    **
 **			is being parsed. 				     **
 ** 									     **
 **   Exports:		cmdModuleInfo					     **
 ** 									     **
 **   Notes:								     **
 ** 									     **
 ** ************************************************************************ **
References Variables: IdcmdInfo.c

Included Files


Local Variables

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

UseId
static void* UseId[]

module_name
static char module_name[]
Used in: cmdModuleInfo()


Global Function cmdModuleInfo()

 ** ** Function-Header ***************************************************** **
 ** 									     **
 **   Function:		cmdModuleInfo					     **
 ** 									     **
 **   Description:	Callback function for 'module-info'		     **
 ** 									     **
 **   First Edition:	91/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:	g_flags			These are set up accordingly **
 **						before this function is	     **
 **						called in order to control   **
 **						everything.		     **
 **			specified_module	The module name from the     **
 **						command line.		     **
 **			g_current_module	The module which is handled  **
 **						by the current command	     **
 ** 									     **
 ** ************************************************************************ **
int cmdModuleInfo ( ClientData client_data, Tcl_Interp* interp, int argc, char* argv[] )
Prototyped in: modules_def.h
Calls: AliasLookup()cmdVersion.c
  CheckTracing()cmdTrace.c
  ExpandVersions()cmdVersion.c
  GetTraceSel()cmdTrace.c
  Module_Error()error.c
  VersionLookup()cmdVersion.c
  Tcl_SetResult(), sprintf(), strcat(), strcmp(), strcpy()
Used in: InitializeModuleCommands()init.c
References Variables: g_current_modulemain.c
  g_flagsmain.c
  module_commandcmdModule.c
  module_namecmdInfo.c
  shell_derelictmain.c
  shell_namemain.c
  specified_modulemain.c
  sw_userlvlmain.c