#define _global_\r
\r
#include <string>\r
-#include <vector>\r
-#include "pthreadwrapper/thread.h"\r
+#include <Poco/ScopedLock.h>\r
+#include <Poco/Mutex.h>\r
\r
-#define FMS_VERSION "0.2.13"\r
+#define FMS_VERSION "0.3.0"\r
\r
-// opens database and creates tables and initial inserts if necessary\r
-void SetupDB();\r
-void ConvertDB0100To0101();\r
-void ConvertDB0101To0103();\r
-void ConvertDB0103To0104();\r
-void ConvertDB0104To0105();\r
-void ConvertDB0105To0106();\r
-void ConvertDB0106To0107();\r
-void ConvertDB0107To0108();\r
-void ConvertDB0108To0109();\r
-void ConvertDB0109To0110();\r
-// inserts default options into the database\r
-void SetupDefaultOptions();\r
-// opens logfile and sets it up\r
-void SetupLogFile();\r
+typedef Poco::ScopedLock<Poco::FastMutex> Guard;\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
-void SigHandler(int signum);\r
-\r
-void MainFunction();\r
-void Shutdown();\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