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