version 0.1.10
[fms.git] / include / global.h
index ba827c4..cb75d5a 100644 (file)
@@ -5,21 +5,29 @@
 //#include <zthread/Thread.h>\r
 #include "pthreadwrapper/thread.h"\r
 \r
-#define FMS_VERSION    "0.1.9"\r
+#define FMS_VERSION    "0.1.10"\r
 \r
 // opens database and creates tables and initial inserts if necessary\r
 void SetupDB();\r
+void ConvertDB0100To0101();\r
 // inserts default options into the database\r
 void SetupDefaultOptions();\r
 // opens logfile and sets it up\r
 void SetupLogFile();\r
 \r
-void StartThreads(std::vector<PThread::Thread *> &threads);\r
-void ShutdownThreads(std::vector<PThread::Thread *> &threads);\r
+void SigHandler(int signum);\r
+\r
+void MainFunction();\r
+void Shutdown();\r
+\r
+//void StartThreads(std::vector<PThread::Thread *> &threads);\r
+//void ShutdownThreads(std::vector<PThread::Thread *> &threads);\r
 \r
 // needed for Windows to setup network\r
 void SetupNetwork();\r
 // cleanup network on Windows\r
 void ShutdownNetwork();\r
 \r
+extern bool wantshutdown;\r
+\r
 #endif // _global_\r