diff options
Diffstat (limited to 'src/include/cctk_WarnLevel.h')
-rw-r--r-- | src/include/cctk_WarnLevel.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/include/cctk_WarnLevel.h b/src/include/cctk_WarnLevel.h new file mode 100644 index 00000000..fb39f255 --- /dev/null +++ b/src/include/cctk_WarnLevel.h @@ -0,0 +1,28 @@ + /*@@ + @header WarnLevel.h + @date Wed Feb 17 00:53:55 1999 + @author Tom Goodale + @desc + Header for the warning functions. + @enddesc + @@*/ + +#ifndef _WARNLEVEL_H_ +#define _WARNLEVEL_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +int CCTKi_SetWarnLevel(int level); +void CCTK_Warn(int level, int line, const char *file, const char *thorn, const char *message); +void CCTK_ParamWarn(const char *thorn, const char *message); +void CCTK_FinaliseParamWarn(void); +int CCTKi_SetErrorLevel(int level); +void CCTK_Info(const char *thorn, const char *message); + +#ifdef __cplusplus +} +#endif + +#endif |