diff options
author | San Mehat <san@google.com> | 2009-05-20 15:28:43 -0700 |
---|---|---|
committer | San Mehat <san@google.com> | 2009-05-22 08:40:13 -0700 |
commit | 4876567cb9c6a69ce21fd2b1c5bcce5a6f274276 (patch) | |
tree | e08d76eed07e530884fb4e4d810a59ca4f017997 /nexus/VpnController.h | |
parent | 463de48fb05cb29388e7763f75f6cfa56a2f5cb1 (diff) | |
download | system_core-4876567cb9c6a69ce21fd2b1c5bcce5a6f274276.zip system_core-4876567cb9c6a69ce21fd2b1c5bcce5a6f274276.tar.gz system_core-4876567cb9c6a69ce21fd2b1c5bcce5a6f274276.tar.bz2 |
nexus: Switch controllers to use abstracted properties and refactor command protocol
Also fixes a select() bug and removes debugging
Signed-off-by: San Mehat <san@google.com>
nexus: fix whitespace
Diffstat (limited to 'nexus/VpnController.h')
-rw-r--r-- | nexus/VpnController.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nexus/VpnController.h b/nexus/VpnController.h index 4088e6a..0a93990 100644 --- a/nexus/VpnController.h +++ b/nexus/VpnController.h @@ -33,14 +33,14 @@ public: virtual int start(); virtual int stop(); + virtual int setProperty(const char *name, char *value); + virtual const char *getProperty(const char *name, char *buffer, + size_t maxlen); + +private: virtual int enable(); virtual int disable(); - struct in_addr &getVpnGateway() { return mVpnGateway; } - int setVpnGateway(const char *vpnGw); - int setVpnGateway(struct in_addr *vpnGw); - -protected: }; #endif |