eff73b943151b0013b2e30ff0508330dcca7297a
[fms.git] / include / identitytestglobal.h
1 #ifndef _global_\r
2 #define _global_\r
3 \r
4 #include <vector>\r
5 #include <zthread/Thread.h>\r
6 \r
7 #define FMS_VERSION     "0.0.1"\r
8 \r
9 // opens database and creates tables and initial inserts if necessary\r
10 void SetupDB();\r
11 // inserts default options into the database\r
12 void SetupDefaultOptions();\r
13 // opens logfile and sets it up\r
14 void SetupLogFile();\r
15 \r
16 void StartThreads(std::vector<ZThread::Thread *> &threads);\r
17 void ShutdownThreads(std::vector<ZThread::Thread *> &threads);\r
18 \r
19 // needed for Windows to setup network\r
20 void SetupNetwork();\r
21 // cleanup network on Windows\r
22 void ShutdownNetwork();\r
23 \r
24 #endif  // _global_\r