The Meta-Environment API
00001 #ifndef __ERROR_OUTPUT__ 00002 #define __ERROR_OUTPUT__ 00003 00004 #include <error-support.idef> 00005 00006 /* This is for commandline error output only */ 00007 process AddJob(Message: str) is 00008 tau 00009 00010 process JobDone(Message: str) is 00011 tau 00012 00013 process ConsoleMessage(Message: str) is 00014 printf("%s\n", Message) 00015 00016 process Error(Message: str) is 00017 printf("error: %s\n", Message) 00018 00019 process Warning(Message: str) is 00020 printf("warning: %s\n", Message) 00021 00022 process DisplaySummary(Summary: summary) is 00023 snd-msg(display-feedback(Summary)) 00024 00025 process RemoveSummary(Producer: str, SummaryId: str) is 00026 tau 00027 00028 #endif /* __ERROR_OUTPUT__ */