00001 #ifndef _ERRLOG_H
00002 #define _ERRLOG_H
00003
00004 typedef int ErrNo_t;
00005 typedef int WarnNo_t;
00006 typedef void (*LogPrint_t)(char *fmt, ...);
00007
00008 int errlog_paramerr(LogPrint_t log, char *pname, ErrNo_t error, const char *series, long long recnum);
00009 int errlog_paramdef(LogPrint_t log,
00010 char *pname,
00011 WarnNo_t warn,
00012 double defaultp,
00013 double *p,
00014 const char *series,
00015 long long recnum);
00016 int errlog_staterr(LogPrint_t log, char *fnn, ErrNo_t error, const char *series, long long recnum);
00017 void errlog_errwrite (char *fmt, ...);
00018 void errlog_hstwrite (char *fmt, ...);
00019
00020 #endif