summaryrefslogtreecommitdiff
path: root/libnm-glib/nm-active-connection.h
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2014-01-15 12:52:13 +0100
committerJiří Klimeš <jklimes@redhat.com>2014-01-15 13:10:42 +0100
commitf53f39847adda13a54a848538f8919d42f00f021 (patch)
tree435df55d491386d2842bd334a70200f45f7ccdfc /libnm-glib/nm-active-connection.h
parent06f8b577ad6bb6401303ae4f034949edd05fa203 (diff)
downloadNetworkManager-f53f39847adda13a54a848538f8919d42f00f021.tar.gz
libnm-glib: add NMActiveConnection:vpn property
It is mainly useful for GObject introspection users helping them to find out whether the connection is VPN easier.
Diffstat (limited to 'libnm-glib/nm-active-connection.h')
-rw-r--r--libnm-glib/nm-active-connection.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libnm-glib/nm-active-connection.h b/libnm-glib/nm-active-connection.h
index 49f040def6..716d3c2df1 100644
--- a/libnm-glib/nm-active-connection.h
+++ b/libnm-glib/nm-active-connection.h
@@ -17,7 +17,7 @@
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA.
*
- * Copyright (C) 2007 - 2011 Red Hat, Inc.
+ * Copyright (C) 2007 - 2014 Red Hat, Inc.
* Copyright (C) 2008 Novell, Inc.
*/
@@ -54,6 +54,7 @@ G_BEGIN_DECLS
#define NM_ACTIVE_CONNECTION_DEFAULT6 "default6"
#define NM_ACTIVE_CONNECTION_IP6_CONFIG "ip6-config"
#define NM_ACTIVE_CONNECTION_DHCP6_CONFIG "dhcp6-config"
+#define NM_ACTIVE_CONNECTION_VPN "vpn"
#define NM_ACTIVE_CONNECTION_MASTER "master"
typedef struct {
@@ -88,6 +89,7 @@ NMDHCP4Config *nm_active_connection_get_dhcp4_config (NMActiveConnection *c
gboolean nm_active_connection_get_default6 (NMActiveConnection *connection);
NMIP6Config * nm_active_connection_get_ip6_config (NMActiveConnection *connection);
NMDHCP6Config *nm_active_connection_get_dhcp6_config (NMActiveConnection *connection);
+gboolean nm_active_connection_get_vpn (NMActiveConnection *connection);
G_END_DECLS