diff options
| author | San Mehat <san@google.com> | 2009-05-14 15:00:06 -0700 |
|---|---|---|
| committer | San Mehat <san@google.com> | 2009-05-15 10:40:29 -0700 |
| commit | 5d6d417972f8d946c223c4efb9636b1ba4280543 (patch) | |
| tree | bbe4637de91895dd9a0283b8dcc3a3d2cf9378b0 /nexus/OpenVpnController.h | |
| parent | c41d1c8074ed02acc9d1e749d81e0aafb5efbbfa (diff) | |
| download | system_core-5d6d417972f8d946c223c4efb9636b1ba4280543.tar.gz system_core-5d6d417972f8d946c223c4efb9636b1ba4280543.tar.bz2 system_core-5d6d417972f8d946c223c4efb9636b1ba4280543.zip | |
nexus: Flesh out VPN support a bit more, cleanup service handling
Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'nexus/OpenVpnController.h')
| -rw-r--r-- | nexus/OpenVpnController.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/nexus/OpenVpnController.h b/nexus/OpenVpnController.h index 1ecc3fb3..7bcc098f 100644 --- a/nexus/OpenVpnController.h +++ b/nexus/OpenVpnController.h @@ -19,11 +19,15 @@ #include "VpnController.h" +class ServiceManager; + class OpenVpnController : public VpnController { +private: + ServiceManager *mServiceManager; public: OpenVpnController(); - virtual ~OpenVpnController() {} + virtual ~OpenVpnController(); int start(); int stop(); @@ -33,8 +37,7 @@ public: protected: private: - int startServiceDaemon(); - int stopServiceDaemon(); + int validateConfig(); }; #endif |
