cfitsTK
00CORE.h
Go to the documentation of this file.
1 
14 #ifndef _00CORE_H
15 #define _00CORE_H
16 
17 
18 
22 int init_00CORE();
23 
24 
25 
26 /* =========================================================*/
28 /* =========================================================*/
29 
31 int printRED(char *string);
32 
34 int printWARNING(const char *file, const char *func, int line, char *warnmessage);
35 
37 int printERROR(const char *file, const char *func, int line, char *errmessage);
38 
40 static void CORE_logFunctionCall(const int funclevel, const int loglevel, const int logfuncMODE, const char *FunctionName, const long line, char *comments);
41 
42 
43 
44 /* =========================================================*/
46 /* =========================================================*/
47 
48 int set_precision(int vp);
49 
50 int CLIWritePid();
51 
52 
53 /* =========================================================*/
55 /* =========================================================*/
56 
57 struct timespec timespec_diff(struct timespec start, struct timespec end);
58 
59 double timespec_diff_double(struct timespec start, struct timespec end);
60 
61 #endif
static void CORE_logFunctionCall(const int funclevel, const int loglevel, const int logfuncMODE, const char *FunctionName, const long line, char *comments)
Log function call to file.
int CLIWritePid()
Definition: 00CORE.c:413
double timespec_diff_double(struct timespec start, struct timespec end)
Definition: 00CORE.c:451
int init_00CORE()
Definition: 00CORE.c:85
int printRED(char *string)
Print string in red.
Definition: 00CORE.c:114
int printWARNING(const char *file, const char *func, int line, char *warnmessage)
Print warning and continue.
Definition: 00CORE.c:149
int set_precision(int vp)
Definition: 00CORE.c:373
int printERROR(const char *file, const char *func, int line, char *errmessage)
Print error (in red) and continue.
Definition: 00CORE.c:209
char * line
Definition: CLIcore.c:156
struct timespec timespec_diff(struct timespec start, struct timespec end)
Definition: 00CORE.c:434