OpenVPN
|
Go to the source code of this file.
Functions | |
BOOL | ReportStatusToSCMgr (SERVICE_STATUS_HANDLE service, SERVICE_STATUS *status) |
static int | CmdInstallServices () |
static int | CmdStartService (openvpn_service_type type) |
static int | CmdRemoveServices () |
int | _tmain (int argc, TCHAR *argv[]) |
Variables | |
openvpn_service_t | openvpn_service [_service_max] |
int _tmain | ( | int | argc, |
TCHAR * | argv[] | ||
) |
Definition at line 224 of file service.c.
References APPNAME, CmdInstallServices(), CmdRemoveServices(), CmdStartService(), interactive, interactive_service, M_ERR, MSG_FLAGS_ERROR, MsgToEventLog(), openvpn_service_t::name, openvpn_service, PACKAGE, PACKAGE_NAME, service_instance, ServiceStartInteractive(), and ServiceStartInteractiveOwn().
|
static |
Definition at line 57 of file service.c.
References _service_max, GetLastErrorText(), openvpn_service, and service.
Referenced by _tmain().
|
static |
Definition at line 149 of file service.c.
References _service_max, openvpn_service_t::display_name, GetLastErrorText(), openvpn_service_t::name, openvpn_service, service, and status.
Referenced by _tmain().
|
static |
Definition at line 110 of file service.c.
References GetLastErrorText(), openvpn_service, and service.
Referenced by _tmain().
BOOL ReportStatusToSCMgr | ( | SERVICE_STATUS_HANDLE | service, |
SERVICE_STATUS * | status | ||
) |
Definition at line 22 of file service.c.
References MSG_FLAGS_ERROR, MsgToEventLog(), service, and status.
Referenced by ServiceCtrlInteractive(), and ServiceStartInteractive().
openvpn_service_t openvpn_service[_service_max] |
Definition at line 18 of file service.c.
Referenced by _tmain(), CmdInstallServices(), CmdRemoveServices(), and CmdStartService().