Functions | |
void | GetUserDisconnect (QString variable) |
void | GetUserSend (QString variable) |
int | main (int argc, char *argv[]) |
void | readConfigFile () |
void | signal_handler (int) |
void | unsupported_options (char *erreur, const QString &usage) |
command line error | |
bool | validatePort (const int &port) |
Variables | |
QStringList | AllowUserDisconnect |
Allow client to disconnect user. | |
QStringList | AllowUserSendMsg |
Allow client to send message. | |
QString | Certificat = "/etc/qtsmbstatusd/server.pem" |
bool | daemonize = false |
Server * | myserver |
QString | Private_key = "/etc/qtsmbstatusd/privkey.pem" |
QString | ssl_password = "password" |
void GetUserDisconnect | ( | QString | variable | ) |
void GetUserSend | ( | QString | variable | ) |
int main | ( | int | argc, | |
char * | argv[] | |||
) |
void readConfigFile | ( | ) |
Read configuration file
void signal_handler | ( | int | ) |
Receive SIGTERM, SIGINT or SIGQUIT signal
void unsupported_options | ( | char * | erreur, | |
const QString & | usage | |||
) |
command line error
bool validatePort | ( | const int & | port | ) |
Test if TCP port is valid
port | port number |
true | TCP port is valid | |
false | TCP port is not valid |
QStringList AllowUserDisconnect |
Allow client to disconnect user.
QStringList AllowUserSendMsg |
Allow client to send message.
QString Certificat = "/etc/qtsmbstatusd/server.pem" |
bool daemonize = false |
QString Private_key = "/etc/qtsmbstatusd/privkey.pem" |
QString ssl_password = "password" |