Initial version of donated sources by Avertec, 3.4p5.
[tas-yagle.git] / distrib / sources / beh / beh / beh_message.c
1
2 /* ###--------------------------------------------------------------### */
3 /* */
4 /* file : beh_message.c */
5 /* date : Oct 30 1995 */
6 /* version : v109 */
7 /* authors : Pirouz BAZARGAN SABET */
8 /* content : low-level function */
9 /* */
10 /* ###--------------------------------------------------------------### */
11
12 #include <stdio.h>
13
14 /* ###--------------------------------------------------------------### */
15 /* function : beh_message */
16 /* description : print a message on the standard output */
17 /* called func. : none */
18 /* ###--------------------------------------------------------------### */
19
20 void beh_message (code, str1)
21
22 int code;
23 char *str1;
24
25 {
26 (void) fprintf (stdout, "BEH : ");
27
28 switch (code)
29 {
30 case 3:
31 (void) fprintf (stdout, "Compiling `%s` (Behaviour) ...\n", str1);
32 break;
33 case 13:
34 (void) fprintf (stdout, "Saving '%s' in a vhdl file (vbe)\n", str1);
35 break;
36 case 14:
37 (void) fprintf (stdout, "Builting '%s' ...\n", str1);
38 break;
39 default:
40 (void) fprintf (stdout, "%s\n", str1);
41 }
42 }