24 |
|
|
25 |
bool isDaemon; |
bool isDaemon; |
26 |
bool isDebug; |
bool isDebug; |
27 |
|
bool daemonized; |
28 |
int uid; |
int uid; |
29 |
int gid; |
int gid; |
30 |
volatile bool mainContinue; |
volatile bool mainContinue; |
43 |
class ConfigFile* GetConfigfile(); |
class ConfigFile* GetConfigfile(); |
44 |
void SetConfigfile(class ConfigFile*); |
void SetConfigfile(class ConfigFile*); |
45 |
|
|
|
void logMessage(std::string str); |
|
|
void setLogfile(std::string file) {_logFile = file;} |
|
46 |
|
|
47 |
void loadConfig(int argc, char* argv[]); |
void loadConfig(int argc, char* argv[]); |
48 |
|
|
61 |
|
|
62 |
void printUsage(); |
void printUsage(); |
63 |
|
|
|
std::string _logFile; |
|
64 |
}; |
}; |
65 |
|
|
66 |
|
|