zmserver.cpp File Reference

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


Function Documentation

void loadZMConfig ( const string &  configfile  ) 

Definition at line 74 of file zmserver.cpp.

Referenced by main().

void connectToDatabase ( void   ) 

Definition at line 147 of file zmserver.cpp.

Referenced by kickDatabase(), and main().

void kickDatabase ( bool  debug  ) 

Definition at line 169 of file zmserver.cpp.

Referenced by ZMServer::handleGetLiveFrame(), and main().


Variable Documentation

MYSQL g_dbConn

string g_zmversion = ""

Definition at line 63 of file zmserver.cpp.

Referenced by ZMServer::initMonitor(), loadZMConfig(), and main().

string g_password = ""

Definition at line 64 of file zmserver.cpp.

Referenced by connectToDatabase(), and loadZMConfig().

string g_server = ""

Definition at line 65 of file zmserver.cpp.

Referenced by connectToDatabase(), and loadZMConfig().

string g_database = ""

Definition at line 66 of file zmserver.cpp.

Referenced by connectToDatabase(), and loadZMConfig().

string g_webPath = ""

string g_user = ""

Definition at line 68 of file zmserver.cpp.

Referenced by connectToDatabase(), and loadZMConfig().

string g_webUser = ""

Definition at line 69 of file zmserver.cpp.

Referenced by loadZMConfig().

string g_binPath = ""

time_t g_lastDBKick = 0

Definition at line 72 of file zmserver.cpp.

Referenced by kickDatabase().


Generated on Sat Dec 18 05:15:56 2010 for MythTV by  doxygen 1.5.5