version 0.2.20
[fms.git] / include / global.h
index 0c1be3b..2bc49ce 100644 (file)
@@ -1,10 +1,11 @@
 #ifndef _global_\r
 #define _global_\r
 \r
+#include <string>\r
 #include <vector>\r
 #include "pthreadwrapper/thread.h"\r
 \r
-#define FMS_VERSION    "0.2.4"\r
+#define FMS_VERSION    "0.2.20"\r
 \r
 // opens database and creates tables and initial inserts if necessary\r
 void SetupDB();\r
@@ -13,11 +14,18 @@ void ConvertDB0101To0103();
 void ConvertDB0103To0104();\r
 void ConvertDB0104To0105();\r
 void ConvertDB0105To0106();\r
+void ConvertDB0106To0107();\r
+void ConvertDB0107To0108();\r
+void ConvertDB0108To0109();\r
+void ConvertDB0109To0110();\r
+void ConvertDB0110To0111();\r
 // inserts default options into the database\r
 void SetupDefaultOptions();\r
 // opens logfile and sets it up\r
 void SetupLogFile();\r
 \r
+std::string CreateShortIdentityName(const std::string &name, const std::string &publickey);\r
+\r
 // TODO remove sometime after 0.1.17\r
 void FixCapitalBoardNames();\r
 \r
@@ -31,6 +39,6 @@ void SetupNetwork();
 // cleanup network on Windows\r
 void ShutdownNetwork();\r
 \r
-extern bool wantshutdown;\r
+extern volatile bool wantshutdown;\r
 \r
 #endif // _global_\r