summaryrefslogtreecommitdiffstats
path: root/nexus/VpnController.h
diff options
context:
space:
mode:
authorSan Mehat <san@google.com>2009-05-20 15:28:43 -0700
committerSan Mehat <san@google.com>2009-05-22 08:40:13 -0700
commit4876567cb9c6a69ce21fd2b1c5bcce5a6f274276 (patch)
treee08d76eed07e530884fb4e4d810a59ca4f017997 /nexus/VpnController.h
parent463de48fb05cb29388e7763f75f6cfa56a2f5cb1 (diff)
downloadsystem_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.h10
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