Lines Matching refs:Cfile
147 unless (open(Cfile, ">$file")) {
155 print Cfile <<EOF;
165 print Cfile "#ifndef _PRAUDIT\n";
166 print Cfile "/* Internal data type definitions */\n\n";
169 print Cfile "static $extDef\n";
173 print Cfile "\n/* External event structure to internal event structure */\n\n";
195 print Cfile "static struct entry $structName\[$count\] = {\n";
204 print Cfile "\t$entry\n";
206 print Cfile "};\n";
208 print Cfile "static struct translation X_$externalRoot = {\n";
211 print Cfile "\t0,\n"; # tx_offsetsCalculated = 0
212 print Cfile "\t$externalId,\n";
213 print Cfile "\t$externalName,\n";
215 print Cfile "\t$count,\n";
216 print Cfile "\t&XX_$externalRoot\[$firstToken\],\n";
217 print Cfile "\t&XX_$externalRoot\[0\]\n};\n";
225 print Cfile "adt_translation_t *${pfx_adt}_xlate_table[$count] = {\n";
233 print Cfile ",\n";
235 print Cfile "\t&$eventId";
237 print Cfile ",\n\tNULL\n};\n";
241 print Cfile <<EOF;
253 print Cfile <<EOF;
262 print Cfile <<EOF;
267 print Cfile <<EOF;
272 print Cfile <<EOF;
281 print Cfile "/* message lists */\n\n";
298 print Cfile "/* Deprecated message list */\n" if ($deprecated);
299 print Cfile "static char *msg_$listName\[$listLength] = {\n";
303 print Cfile ",\n" unless $ffirst;
307 print Cfile "\t\"$text\"";
310 print Cfile "\tNULL";
313 print Cfile "\n};\n";
317 print Cfile "\nstruct msg_text ${pfx_adt}_msg_text[", $#listName + 1,
323 print Cfile ",\n" unless $ffirst;
326 print Cfile "\t{0, $max, $name, $start}";
328 print Cfile "\n};\n";
331 close Cfile;