mirror of
https://github.com/envmodules/modules.git
synced 2026-06-18 00:06:53 +08:00
221 lines
9.6 KiB
HTML
221 lines
9.6 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
|
|
<!-- This HTML file generated by cxref (version 1.6a). -->
|
|
<!-- cxref program (c) Andrew M. Bishop 1995,96,97,98,99,2000,01,02,03,04,05. -->
|
|
|
|
<!--
|
|
Cxref: cxref -block-comments -verbatim-comments -xref-all -index-all -html-src -Oxref cmdInfo.c
|
|
CPP : cxref-cpp -lang-c -C -dD -dI
|
|
-->
|
|
|
|
<HTML>
|
|
|
|
<HEAD>
|
|
<TITLE>Cross reference for cmdInfo.c of cxref.</TITLE>
|
|
<LINK rel="stylesheet" href="cxref.css" type="text/css">
|
|
</HEAD>
|
|
|
|
<BODY>
|
|
|
|
<h1><a name="file" href="cmdInfo.c.src.html">File cmdInfo.c</a></h1>
|
|
<pre>
|
|
** ** Module Header ******************************************************* **
|
|
** **
|
|
** Modules Revision 3.0 **
|
|
** Providing a flexible user environment **
|
|
** **
|
|
** File: cmdInfo.c **
|
|
** First Edition: 1991/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: **
|
|
** **
|
|
** ************************************************************************ **
|
|
</pre>
|
|
|
|
<table>
|
|
<tr>
|
|
<td>References Variables:
|
|
<td><a href="cmdInfo.c.html#var-Id">Id</a>
|
|
<td><a href="cmdInfo.c.html#var-Id">cmdInfo.c</a>
|
|
</tr>
|
|
</table>
|
|
|
|
<hr>
|
|
<h2>Included Files</h2>
|
|
|
|
<ul class="cxref-include">
|
|
<li class="cxref-include-local"><tt><span class="cxref-include-local"><a href="modules_def.h.html#file">#include "modules_def.h"</a></span></tt>
|
|
<ul class="cxref-include">
|
|
<li class="cxref-include-system"><tt><span class="cxref-include-system">#include <stdio.h></span></tt>
|
|
<li class="cxref-include-system"><tt><span class="cxref-include-system">#include <stdarg.h></span></tt>
|
|
<li class="cxref-include-system"><tt><span class="cxref-include-system">#include <tcl.h></span></tt>
|
|
<li class="cxref-include-local"><tt><span class="cxref-include-local"><a href="config.h.html#file">#include "config.h"</a></span></tt>
|
|
<li class="cxref-include-system"><tt><span class="cxref-include-system">#include <stdlib.h></span></tt>
|
|
<li class="cxref-include-system"><tt><span class="cxref-include-system">#include <string.h></span></tt>
|
|
<li class="cxref-include-system"><tt><span class="cxref-include-system">#include <unistd.h></span></tt>
|
|
<li class="cxref-include-system"><tt><span class="cxref-include-system">#include <sys/types.h></span></tt>
|
|
<li class="cxref-include-system"><tt><span class="cxref-include-system">#include <ctype.h></span></tt>
|
|
<li class="cxref-include-system"><tt><span class="cxref-include-system">#include <sys/stat.h></span></tt>
|
|
<li class="cxref-include-system"><tt><span class="cxref-include-system">#include <sys/termios.h></span></tt>
|
|
<li class="cxref-include-system"><tt><span class="cxref-include-system">#include <fcntl.h></span></tt>
|
|
<li class="cxref-include-system"><tt><span class="cxref-include-system">#include <sys/ioctl.h></span></tt>
|
|
<li class="cxref-include-system"><tt><span class="cxref-include-system">#include <dirent.h></span></tt>
|
|
<li class="cxref-include-system"><tt><span class="cxref-include-system">#include <errno.h></span></tt>
|
|
</ul>
|
|
</ul>
|
|
|
|
<hr>
|
|
<h2>Local Variables</h2>
|
|
|
|
<b><a name="var-Id">Id</a></b><br>
|
|
<tt><span class="cxref-variable"><a href="cmdInfo.c.src.html#line31">static char Id[]</a></span></tt><br>
|
|
<table>
|
|
<tr>
|
|
<td>Used in:
|
|
<td> <td><span class="cxref-reference-local"><a href="cmdInfo.c.html#file">cmdInfo.c</a></span>
|
|
</tr>
|
|
</table>
|
|
<p>
|
|
<b><a name="var-UseId">UseId</a></b><br>
|
|
<tt><span class="cxref-variable"><a href="cmdInfo.c.src.html#line32">static void* UseId[]</a></span></tt><br>
|
|
<p>
|
|
<b><a name="var-module_name">module_name</a></b><br>
|
|
<tt><span class="cxref-variable"><a href="cmdInfo.c.src.html#line62">static char module_name[]</a></span></tt><br>
|
|
<table>
|
|
<tr>
|
|
<td>Used in:
|
|
<td><a href="#func-cmdModuleInfo">cmdModuleInfo()</a>
|
|
<td>
|
|
</tr>
|
|
</table>
|
|
|
|
<hr>
|
|
<h2><a name="func-cmdModuleInfo">Global Function cmdModuleInfo()</a></h2>
|
|
<pre>
|
|
** ** Function-Header ***************************************************** **
|
|
** **
|
|
** Function: cmdModuleInfo **
|
|
** **
|
|
** Description: Callback function for 'module-info' **
|
|
** **
|
|
** 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: g_flags These are set up accordingly **
|
|
** before this function is **
|
|
** called in order to control **
|
|
** everything. **
|
|
** g_specified_module The module name from the **
|
|
** command line. **
|
|
** g_current_module The module which is handled **
|
|
** by the current command **
|
|
** **
|
|
** ************************************************************************ **
|
|
</pre>
|
|
|
|
<tt><span class="cxref-function"><a href="cmdInfo.c.src.html#line103">int cmdModuleInfo ( ClientData client_data, Tcl_Interp* interp, int argc, const char* argv[] )</a></span></tt><br>
|
|
<table>
|
|
<tr>
|
|
<td>Prototyped in:
|
|
<td colspan=2><span class="cxref-reference-local"><a href="modules_def.h.html#file">modules_def.h</a></span>
|
|
</tr>
|
|
<tr>
|
|
<td>Calls:
|
|
<td><span class="cxref-reference-local"><a href="cmdVersion.c.html#func-AliasLookup">AliasLookup()</a></span>
|
|
<td><span class="cxref-reference-local"><a href="cmdVersion.c.html#func-AliasLookup">cmdVersion.c</a></span>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<td><span class="cxref-reference-local"><a href="cmdTrace.c.html#func-CheckTracing">CheckTracing()</a></span>
|
|
<td><span class="cxref-reference-local"><a href="cmdTrace.c.html#func-CheckTracing">cmdTrace.c</a></span>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<td><span class="cxref-reference-local"><a href="cmdVersion.c.html#func-ExpandVersions">ExpandVersions()</a></span>
|
|
<td><span class="cxref-reference-local"><a href="cmdVersion.c.html#func-ExpandVersions">cmdVersion.c</a></span>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<td><span class="cxref-reference-local"><a href="cmdTrace.c.html#func-GetTraceSel">GetTraceSel()</a></span>
|
|
<td><span class="cxref-reference-local"><a href="cmdTrace.c.html#func-GetTraceSel">cmdTrace.c</a></span>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<td><span class="cxref-reference-local"><a href="error.c.html#func-Module_Error">Module_Error()</a></span>
|
|
<td><span class="cxref-reference-local"><a href="error.c.html#func-Module_Error">error.c</a></span>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<td><span class="cxref-reference-local"><a href="cmdVersion.c.html#func-VersionLookup">VersionLookup()</a></span>
|
|
<td><span class="cxref-reference-local"><a href="cmdVersion.c.html#func-VersionLookup">cmdVersion.c</a></span>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<td colspan=2><span class="cxref-reference-system">Tcl_SetResult(), sprintf(), strcat(), strcmp(), strcpy()</span>
|
|
</tr>
|
|
<tr>
|
|
<td>Used in:
|
|
<td><span class="cxref-reference-local"><a href="init.c.html#func-InitializeModuleCommands">InitializeModuleCommands()</a></span>
|
|
<td><span class="cxref-reference-local"><a href="init.c.html#func-InitializeModuleCommands">init.c</a></span>
|
|
</tr>
|
|
<tr>
|
|
<td>References Variables:
|
|
<td><span class="cxref-reference-local"><a href="main.c.html#var-g_current_module">g_current_module</a></span>
|
|
<td><span class="cxref-reference-local"><a href="main.c.html#var-g_current_module">main.c</a></span>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<td><span class="cxref-reference-local"><a href="main.c.html#var-g_flags">g_flags</a></span>
|
|
<td><span class="cxref-reference-local"><a href="main.c.html#var-g_flags">main.c</a></span>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<td><span class="cxref-reference-local"><a href="main.c.html#var-g_specified_module">g_specified_module</a></span>
|
|
<td><span class="cxref-reference-local"><a href="main.c.html#var-g_specified_module">main.c</a></span>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<td><span class="cxref-reference-local"><a href="cmdModule.c.html#var-module_command">module_command</a></span>
|
|
<td><span class="cxref-reference-local"><a href="cmdModule.c.html#var-module_command">cmdModule.c</a></span>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<td><span class="cxref-reference-local"><a href="cmdInfo.c.html#var-module_name">module_name</a></span>
|
|
<td><span class="cxref-reference-local"><a href="cmdInfo.c.html#var-module_name">cmdInfo.c</a></span>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<td><span class="cxref-reference-local"><a href="main.c.html#var-shell_derelict">shell_derelict</a></span>
|
|
<td><span class="cxref-reference-local"><a href="main.c.html#var-shell_derelict">main.c</a></span>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<td><span class="cxref-reference-local"><a href="main.c.html#var-shell_name">shell_name</a></span>
|
|
<td><span class="cxref-reference-local"><a href="main.c.html#var-shell_name">main.c</a></span>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<td><span class="cxref-reference-local"><a href="main.c.html#var-sw_userlvl">sw_userlvl</a></span>
|
|
<td><span class="cxref-reference-local"><a href="main.c.html#var-sw_userlvl">main.c</a></span>
|
|
</tr>
|
|
</table>
|
|
|
|
</BODY>
|
|
</HTML>
|