Revision 11115,
835 bytes
checked in by ghudson, 26 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r11114,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
1 | /* |
---|
2 | * Copyright (c) 1992-1996 Michael A. Cooper. |
---|
3 | * This software may be freely used and distributed provided it is not sold |
---|
4 | * for profit or used for commercial gain and the author is credited |
---|
5 | * appropriately. |
---|
6 | */ |
---|
7 | |
---|
8 | #ifndef lint |
---|
9 | static char *RCSid = "$Id: report.c,v 1.1.1.2 1998-02-12 21:32:00 ghudson Exp $"; |
---|
10 | #endif |
---|
11 | |
---|
12 | /* |
---|
13 | * Reporting |
---|
14 | */ |
---|
15 | #include "defs.h" |
---|
16 | |
---|
17 | char *RepSep = " | "; |
---|
18 | |
---|
19 | extern void Report(ClassType, InfoType, Key, Data, NumData) |
---|
20 | char *ClassType; |
---|
21 | char *InfoType; |
---|
22 | char *Key; |
---|
23 | char **Data; |
---|
24 | int NumData; |
---|
25 | { |
---|
26 | register int i; |
---|
27 | |
---|
28 | if (!ClassType) |
---|
29 | return; |
---|
30 | |
---|
31 | printf("%s%s%s%s%s", |
---|
32 | strlower(ClassType), RepSep, PS(InfoType), RepSep, PS(Key)); |
---|
33 | |
---|
34 | for (i = 0; i < NumData; ++i) { |
---|
35 | printf("%s", RepSep); |
---|
36 | if (Data[i]) |
---|
37 | printf("%s", Data[i]); |
---|
38 | } |
---|
39 | |
---|
40 | printf("\n"); |
---|
41 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.