summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2010-12-17 15:52:02 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2010-12-21 01:33:14 +0100
commit0159e2d07b2934d3229b9510f0ab5ba9c6711617 (patch)
tree8133e3e4259e73a51a2d5a62a376a8816c520b4b /include
parent756ac7134faf93c05b1d4b639123d785cddfa164 (diff)
downloadconnman-0159e2d07b2934d3229b9510f0ab5ba9c6711617.tar.gz
connman-0159e2d07b2934d3229b9510f0ab5ba9c6711617.tar.bz2
connman-0159e2d07b2934d3229b9510f0ab5ba9c6711617.zip
openvpn: Add pushed routes
We should add the routing entries pushed by the OpenVPN server.
Diffstat (limited to 'include')
-rw-r--r--include/provider.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/provider.h b/include/provider.h
index dde37fba..569d47ff 100644
--- a/include/provider.h
+++ b/include/provider.h
@@ -83,6 +83,10 @@ void connman_provider_set_dns(struct connman_provider *provider,
void connman_provider_set_domain(struct connman_provider *provider,
const char *domain);
+int connman_provider_append_route(struct connman_provider *provider,
+ const char *host, const char *netmask,
+ const char *gateway);
+
const char *connman_provider_get_driver_name(struct connman_provider *provider);
struct connman_provider_driver {