Go to the source code of this file.
Functions | |
| void | loadZMConfig (const string &configfile) |
| void | connectToDatabase (void) |
| void | kickDatabase (bool debug) |
Variables | |
| MYSQL | g_dbConn |
| string | g_zmversion = "" |
| string | g_password = "" |
| string | g_server = "" |
| string | g_database = "" |
| string | g_webPath = "" |
| string | g_user = "" |
| string | g_webUser = "" |
| string | g_binPath = "" |
| time_t | g_lastDBKick = 0 |
| void loadZMConfig | ( | const string & | configfile | ) |
Definition at line 81 of file zmserver.cpp.
Referenced by main().
| void connectToDatabase | ( | void | ) |
Definition at line 154 of file zmserver.cpp.
Referenced by kickDatabase(), and main().
| void kickDatabase | ( | bool | debug | ) |
Definition at line 176 of file zmserver.cpp.
Referenced by ZMServer::handleGetLiveFrame(), and main().
| MYSQL g_dbConn |
Definition at line 69 of file zmserver.cpp.
Referenced by connectToDatabase(), ZMServer::getMonitorList(), ZMServer::getZMSetting(), ZMServer::handleDeleteEvent(), ZMServer::handleDeleteEventList(), ZMServer::handleGetAnalyseFrame(), ZMServer::handleGetCameraList(), ZMServer::handleGetEventDates(), ZMServer::handleGetEventList(), ZMServer::handleGetFrameList(), ZMServer::handleGetMonitorList(), ZMServer::handleGetMonitorStatus(), ZMServer::handleSetMonitorFunction(), kickDatabase(), main(), and ZMServer::zmcControl().
| string g_zmversion = "" |
Definition at line 70 of file zmserver.cpp.
Referenced by ZMServer::initMonitor(), loadZMConfig(), and main().
| string g_password = "" |
Definition at line 71 of file zmserver.cpp.
Referenced by connectToDatabase(), and loadZMConfig().
Definition at line 72 of file zmserver.cpp.
Referenced by connectToDatabase(), and loadZMConfig().
| string g_database = "" |
Definition at line 73 of file zmserver.cpp.
Referenced by connectToDatabase(), and loadZMConfig().
Definition at line 74 of file zmserver.cpp.
Referenced by ZMServer::handleGetAnalyseFrame(), ZMServer::handleGetEventFrame(), ZMServer::handleGetServerStatus(), and loadZMConfig().
Definition at line 75 of file zmserver.cpp.
Referenced by connectToDatabase(), and loadZMConfig().
Definition at line 76 of file zmserver.cpp.
Referenced by loadZMConfig().
Definition at line 77 of file zmserver.cpp.
Referenced by ZMServer::getMonitorStatus(), ZMServer::handleDeleteEvent(), ZMServer::handleGetServerStatus(), ZMServer::handleRunZMAudit(), ZMServer::handleSetMonitorFunction(), loadZMConfig(), ZMServer::zmaControl(), and ZMServer::zmcControl().
| time_t g_lastDBKick = 0 |
Definition at line 79 of file zmserver.cpp.
Referenced by kickDatabase().
1.6.3