coffee
Coronagraph Optimization For Fast Exoplanet Exploration
00CORE.h
Go to the documentation of this file.
1 
14 #ifndef _00CORE_H
15 #define _00CORE_H
16 
17 
18 
23 void __attribute__ ((constructor)) libinit_00CORE();
24 
25 int init_00CORE();
26 
27 
28 
29 /* =========================================================*/
31 /* =========================================================*/
32 
34 int printRED(char *string);
35 
37 int printWARNING(const char *file, const char *func, int line, char *warnmessage);
38 
40 int printERROR(const char *file, const char *func, int line, char *errmessage);
41 
43 static void CORE_logFunctionCall(const int funclevel, const int loglevel, const int logfuncMODE, const char *FileName, const char *FunctionName, const long line, char *comments);
44 
45 
46 /* =========================================================*/
48 /* =========================================================*/
49 
50 int set_precision(int vp);
51 
52 int CLIWritePid();
53 
54 
55 /* =========================================================*/
57 /* =========================================================*/
58 
59 struct timespec timespec_diff(struct timespec start, struct timespec end);
60 
61 double timespec_diff_double(struct timespec start, struct timespec end);
62 
63 #endif
int CLIWritePid()
Definition: 00CORE.c:428
int set_precision(int vp)
Definition: 00CORE.c:388
void __attribute__((constructor)) libinit_00CORE()
Definition: 00CORE.c:87
struct timespec timespec_diff(struct timespec start, struct timespec end)
Definition: 00CORE.c:449
int printERROR(const char *file, const char *func, int line, char *errmessage)
Print error (in red) and continue.
Definition: 00CORE.c:224
int printWARNING(const char *file, const char *func, int line, char *warnmessage)
Print warning and continue.
Definition: 00CORE.c:164
double timespec_diff_double(struct timespec start, struct timespec end)
Definition: 00CORE.c:466
int init_00CORE()
Definition: 00CORE.c:100
char * line
Definition: CLIcore.c:181
int printRED(char *string)
Print string in red.
Definition: 00CORE.c:129