At any time in a module, you can access to the following external variables.
Those variables are for reading only, do not change their values !
Notice that you don't have to define those variables in your module, the
definitions are done into the include file
char *mwname: This variable contains the name of the current module.
char *mwgroup: This variable contains the group name of the current module, as for example
"common/signal"which means that the current module belongs to the subgroup
signalwhich is part of the main group
int mwerrcnt: Give the number of time the function
mwerrorhas be called with the argument
ERROR(see section 9.3 page ). Since
ERRORis not a fatal event, the user has the possibility to terminate the algorithm by checking
mwerrcnt, if too many errors have been encountered.
int mwrunmode: The value of this variable indicates in which context the module is executed.