00001
00013
00014
00015 #ifndef OA_CORE_H
00016 #define OA_CORE_H
00017
00018 #include <time.h>
00019
00025 int runflag;
00026
00034 void do_init(const int argc, char** argv);
00035
00042 void set_termfunc(void (*termfunc)(void));
00043
00049 void versionscreen(void);
00050
00056 void display_title(void);
00057
00062 extern time_t start_time;
00063
00069 int get_version(char flag);
00070
00078 #define VERSION_FLAG_MAJOR 0
00079 #define VERSION_FLAG_MINOR 1
00080 #define VERSION_FLAG_REVISION 2
00081 #define VERSION_FLAG_RELEASE 3
00082 #define VERSION_FLAG_OFFICIAL 4
00083 #define VERSION_FLAG_MOD 5
00084
00090 #define MAX_TERMFUNC 10
00091
00094 #endif // OA_CORE_H