-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