|
|
@ -54,7 +54,7 @@ const TCHAR *cfgProp = _T("conn"); |
|
|
|
* Format: <BANNER> |
|
|
|
* Format: <BANNER> |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
void |
|
|
|
void |
|
|
|
OnReady(connection_t *c, char *msg) |
|
|
|
OnReady(connection_t *c, UNUSED char *msg) |
|
|
|
{ |
|
|
|
{ |
|
|
|
ManagementCommand(c, "state on", NULL, regular); |
|
|
|
ManagementCommand(c, "state on", NULL, regular); |
|
|
|
ManagementCommand(c, "log all on", OnLogLine, combined); |
|
|
|
ManagementCommand(c, "log all on", OnLogLine, combined); |
|
|
@ -65,7 +65,7 @@ OnReady(connection_t *c, char *msg) |
|
|
|
* Handle the request to release a hold from the OpenVPN management interface |
|
|
|
* Handle the request to release a hold from the OpenVPN management interface |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
void |
|
|
|
void |
|
|
|
OnHold(connection_t *c, char *msg) |
|
|
|
OnHold(connection_t *c, UNUSED char *msg) |
|
|
|
{ |
|
|
|
{ |
|
|
|
ManagementCommand(c, "hold off", NULL, regular); |
|
|
|
ManagementCommand(c, "hold off", NULL, regular); |
|
|
|
ManagementCommand(c, "hold release", NULL, regular); |
|
|
|
ManagementCommand(c, "hold release", NULL, regular); |
|
|
@ -345,7 +345,7 @@ OnPassword(connection_t *c, char *msg) |
|
|
|
* Handle exit of the OpenVPN process |
|
|
|
* Handle exit of the OpenVPN process |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
void |
|
|
|
void |
|
|
|
OnStop(connection_t *c, char *msg) |
|
|
|
OnStop(connection_t *c, UNUSED char *msg) |
|
|
|
{ |
|
|
|
{ |
|
|
|
UINT txt_id, msg_id; |
|
|
|
UINT txt_id, msg_id; |
|
|
|
SetMenuStatus(c, disconnected); |
|
|
|
SetMenuStatus(c, disconnected); |
|
|
|