projects
/
fms.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
version 0.2.20
[fms.git]
/
include
/
global.h
diff --git
a/include/global.h
b/include/global.h
index
ddd6fa3
..
2bc49ce
100644
(file)
--- a/
include/global.h
+++ b/
include/global.h
@@
-1,22
+1,31
@@
#ifndef _global_
\r
#define _global_
\r
\r
#ifndef _global_
\r
#define _global_
\r
\r
+#include <string>
\r
#include <vector>
\r
#include <vector>
\r
-//#include <zthread/Thread.h>
\r
#include "pthreadwrapper/thread.h"
\r
\r
#include "pthreadwrapper/thread.h"
\r
\r
-#define FMS_VERSION "0.2.
1
"
\r
+#define FMS_VERSION "0.2.
20
"
\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
\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
+void ConvertDB0110To0111();
\r
// inserts default options into the database
\r
void SetupDefaultOptions();
\r
// opens logfile and sets it up
\r
void SetupLogFile();
\r
\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
// TODO remove sometime after 0.1.17
\r
void FixCapitalBoardNames();
\r
\r
@@
-25,14
+34,11
@@
void SigHandler(int signum);
void MainFunction();
\r
void Shutdown();
\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
// needed for Windows to setup network
\r
void SetupNetwork();
\r
// cleanup network on Windows
\r
void ShutdownNetwork();
\r
\r
-extern bool wantshutdown;
\r
+extern
volatile
bool wantshutdown;
\r
\r
#endif // _global_
\r
\r
#endif // _global_
\r