summaryrefslogtreecommitdiff
path: root/vpn/vpn-provider.c
diff options
context:
space:
mode:
Diffstat (limited to 'vpn/vpn-provider.c')
-rw-r--r--vpn/vpn-provider.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/vpn/vpn-provider.c b/vpn/vpn-provider.c
index 1630dad6..a5980e6f 100644
--- a/vpn/vpn-provider.c
+++ b/vpn/vpn-provider.c
@@ -2153,6 +2153,21 @@ void __vpn_provider_check_connections(void)
g_timeout_add(1000, check_vpn_count, NULL);
}
+const char *vpn_provider_get_name(struct vpn_provider *provider)
+{
+ return provider->name;
+}
+
+const char *vpn_provider_get_host(struct vpn_provider *provider)
+{
+ return provider->host;
+}
+
+const char *vpn_provider_get_path(struct vpn_provider *provider)
+{
+ return provider->path;
+}
+
int __vpn_provider_init(gboolean do_routes)
{
DBG("");