/usr/share/doc/cxref-doc/examples/file.c.html is in cxref-doc 1.6d-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 | <!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.6d). -->
<!-- cxref program (c) Andrew M. Bishop 1995-2011. -->
<!--
Cxref: ./cxref -warn-xref -xref -O../doc/example -Ncxref -latex -html-src -rtf -sgml file.c
CPP : /build/buildd/cxref-1.6d/cpp/cxref-cpp -cxref-cpp-defines /build/buildd/cxref-1.6d/cpp/cxref-cpp.defines -lang-c -C -dD -dI
-->
<HTML>
<HEAD>
<TITLE>Cross reference for file.c of cxref.</TITLE>
<LINK rel="stylesheet" href="cxref.css" type="text/css">
</HEAD>
<BODY>
<h1><a name="file" href="file.c.src.html">File file.c</a></h1>
<b>RCS Header: /home/amb/CVS/cxref/src/file.c,v 1.10 1997-05-17 15:06:01 amb Exp </b>
<p>
<span class="cxref-file-comment">
C Cross Referencing & Documentation tool. Version 1.4.
<br>
Sets up the top level File structure.</span>
<p>
<hr>
<h2>Included Files</h2>
<ul class="cxref-include">
<li class="cxref-include-system"><tt><span class="cxref-include-system">#include <stdlib.h></span></tt>
</ul>
<ul class="cxref-include">
<li class="cxref-include-system"><tt><span class="cxref-include-system">#include <stdio.h></span></tt>
</ul>
<ul class="cxref-include">
<li class="cxref-include-system"><tt><span class="cxref-include-system">#include <string.h></span></tt>
</ul>
<ul class="cxref-include">
<li class="cxref-include-local"><tt><span class="cxref-include-local"><a href="memory.h.html#file">#include "memory.h"</a></span></tt>
</ul>
<ul class="cxref-include">
<li class="cxref-include-local"><tt><span class="cxref-include-local"><a href="datatype.h.html#file">#include "datatype.h"</a></span></tt>
</ul>
<ul class="cxref-include">
<li class="cxref-include-local"><tt><span class="cxref-include-local"><a href="cxref.h.html#file">#include "cxref.h"</a></span></tt>
<ul class="cxref-include">
<li class="cxref-include-local"><tt><span class="cxref-include-local"><a href="datatype.h.html#file">#include "datatype.h"</a></span></tt>
</ul>
</ul>
<hr>
<h2>Preprocessor definitions</h2>
<span class="cxref-define-comment"> To control the debugging in this file. </span>
<p>
<tt><span class="cxref-define"><a href="file.c.src.html#line17">#define DEBUG</a> 0</span></tt><br>
<hr>
<h2>External Variables</h2>
<b><a name="var-CurFile">CurFile</a></b><br>
<span class="cxref-variable-comment"> This contains the File that is currently being documented to allow the other functions access to it. </span>
<p>
<tt><span class="cxref-variable">extern File CurFile</span></tt><br>
<table>
<tr>
<td>Defined in:
<td><span class="cxref-reference-local"><a href="cxref.c.html#var-CurFile">cxref.c</a></span>
</tr>
</table>
<hr>
<h2><a name="func-DeleteFile">Global Function DeleteFile()</a></h2>
<span class="cxref-function-comment"> Deletes a file structure.</span>
<p>
<tt><span class="cxref-function"><a href="file.c.src.html#line72">void DeleteFile ( File file )</a></span></tt><br>
<dl compact>
<dt><tt><span class="cxref-function">File file</span></tt>
<dd><span class="cxref-function-comment">The file structure to be deleted.</span>
</dl>
<span class="cxref-function-comment"> This is required to go through each of the elements in the File structure and delete each of them in turn.</span>
<p>
<table>
<tr>
<td>Prototyped in:
<td colspan=2><span class="cxref-reference-local"><a href="cxref.h.html#file">cxref.h</a></span>
</tr>
<tr>
<td>Calls:
<td><span class="cxref-reference-local"><a href="preproc.c.html#func-DeleteDefineType">DeleteDefineType()</a></span>
<td><span class="cxref-reference-local"><a href="preproc.c.html#func-DeleteDefineType">preproc.c</a></span>
</tr>
<tr>
<td>
<td><span class="cxref-reference-local"><a href="func.c.html#func-DeleteFunctionType">DeleteFunctionType()</a></span>
<td><span class="cxref-reference-local"><a href="func.c.html#func-DeleteFunctionType">func.c</a></span>
</tr>
<tr>
<td>
<td><span class="cxref-reference-local"><a href="preproc.c.html#func-DeleteIncludeType">DeleteIncludeType()</a></span>
<td><span class="cxref-reference-local"><a href="preproc.c.html#func-DeleteIncludeType">preproc.c</a></span>
</tr>
<tr>
<td>
<td><span class="cxref-reference-local"><a href="slist.c.html#func-DeleteStringList">DeleteStringList()</a></span>
<td><span class="cxref-reference-local"><a href="slist.c.html#func-DeleteStringList">slist.c</a></span>
</tr>
<tr>
<td>
<td><span class="cxref-reference-local"><a href="slist.c.html#func-DeleteStringList2">DeleteStringList2()</a></span>
<td><span class="cxref-reference-local"><a href="slist.c.html#func-DeleteStringList2">slist.c</a></span>
</tr>
<tr>
<td>
<td><span class="cxref-reference-local"><a href="type.c.html#func-DeleteTypedefType">DeleteTypedefType()</a></span>
<td><span class="cxref-reference-local"><a href="type.c.html#func-DeleteTypedefType">type.c</a></span>
</tr>
<tr>
<td>
<td><span class="cxref-reference-local"><a href="var.c.html#func-DeleteVariableType">DeleteVariableType()</a></span>
<td><span class="cxref-reference-local"><a href="var.c.html#func-DeleteVariableType">var.c</a></span>
</tr>
<tr>
<td>
<td><span class="cxref-reference-local"><a href="memory.c.html#func-SafeFree">SafeFree()</a></span>
<td><span class="cxref-reference-local"><a href="memory.c.html#func-SafeFree">memory.c</a></span>
</tr>
<tr>
<td>Called by:
<td><span class="cxref-reference-local"><a href="cxref.c.html#func-main">main()</a></span>
<td><span class="cxref-reference-local"><a href="cxref.c.html#func-main">cxref.c</a></span>
</tr>
</table>
<hr>
<h2><a name="func-NewFile">Global Function NewFile()</a></h2>
<span class="cxref-function-comment"> Creates a new File structure.</span>
<p>
<tt><span class="cxref-function"><a href="file.c.src.html#line38">File NewFile ( char* name )</a></span></tt><br>
<dl compact>
<dt><tt><span class="cxref-function">File NewFile</span></tt>
<dd><span class="cxref-function-comment">Returns the new file structure.</span>
<dt><tt><span class="cxref-function">char* name</span></tt>
<dd><span class="cxref-function-comment">The name of the file.</span>
</dl>
<table>
<tr>
<td>Prototyped in:
<td colspan=2><span class="cxref-reference-local"><a href="cxref.h.html#file">cxref.h</a></span>
</tr>
<tr>
<td>Calls:
<td><span class="cxref-reference-local"><a href="slist.c.html#func-NewStringList">NewStringList()</a></span>
<td><span class="cxref-reference-local"><a href="slist.c.html#func-NewStringList">slist.c</a></span>
</tr>
<tr>
<td>
<td><span class="cxref-reference-local"><a href="slist.c.html#func-NewStringList2">NewStringList2()</a></span>
<td><span class="cxref-reference-local"><a href="slist.c.html#func-NewStringList2">slist.c</a></span>
</tr>
<tr>
<td>
<td><span class="cxref-reference-local"><a href="memory.c.html#func-SafeCalloc">SafeCalloc()</a></span>
<td><span class="cxref-reference-local"><a href="memory.c.html#func-SafeCalloc">memory.c</a></span>
</tr>
<tr>
<td>
<td><span class="cxref-reference-local"><a href="memory.c.html#func-SafeMallocString">SafeMallocString()</a></span>
<td><span class="cxref-reference-local"><a href="memory.c.html#func-SafeMallocString">memory.c</a></span>
</tr>
<tr>
<td>Called by:
<td><span class="cxref-reference-local"><a href="cxref.c.html#func-main">main()</a></span>
<td><span class="cxref-reference-local"><a href="cxref.c.html#func-main">cxref.c</a></span>
</tr>
</table>
<hr>
<h2><a name="func-SeenFileComment">Global Function SeenFileComment()</a></h2>
<span class="cxref-function-comment"> Called when a file comment has been seen. Only the first of multiple comments in a file are used.</span>
<p>
<tt><span class="cxref-function"><a href="file.c.src.html#line57">void SeenFileComment ( char* comment )</a></span></tt><br>
<dl compact>
<dt><tt><span class="cxref-function">char* comment</span></tt>
<dd><span class="cxref-function-comment">The comment for the file.</span>
</dl>
<table>
<tr>
<td>Prototyped in:
<td colspan=2><span class="cxref-reference-local"><a href="cxref.h.html#file">cxref.h</a></span>
</tr>
<tr>
<td>Calls:
<td><span class="cxref-reference-local"><a href="memory.c.html#func-SafeMallocString">SafeMallocString()</a></span>
<td><span class="cxref-reference-local"><a href="memory.c.html#func-SafeMallocString">memory.c</a></span>
</tr>
<tr>
<td>Called by:
<td><span class="cxref-reference-local"><a href="comment.c.html#func-SeenComment">SeenComment()</a></span>
<td><span class="cxref-reference-local"><a href="comment.c.html#func-SeenComment">comment.c</a></span>
</tr>
<tr>
<td>References Variables:
<td><span class="cxref-reference-local"><a href="cxref.c.html#var-CurFile">CurFile</a></span>
<td><span class="cxref-reference-local"><a href="cxref.c.html#var-CurFile">cxref.c</a></span>
</tr>
</table>
</BODY>
</HTML>
|