summaryrefslogtreecommitdiff
path: root/libnm-util/nm-setting-vpn.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2014-10-16 20:09:38 -0500
committerDan Williams <dcbw@redhat.com>2014-11-06 21:16:57 -0600
commit2b9e442013fad40d289982c4ac48f28f9801b12c (patch)
tree2cce5c163b42cca5771caf92be16a9443f275313 /libnm-util/nm-setting-vpn.h
parent4b2935b9b8e165e6baa435b6335196637f725815 (diff)
downloadNetworkManager-2b9e442013fad40d289982c4ac48f28f9801b12c.tar.gz
libnm/libnm-util: add VPN 'persistent' property
This property will indicate that the user wishes the VPN connection to stay active until explicitly disconnected, even across link changes or other interruptions.
Diffstat (limited to 'libnm-util/nm-setting-vpn.h')
-rw-r--r--libnm-util/nm-setting-vpn.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libnm-util/nm-setting-vpn.h b/libnm-util/nm-setting-vpn.h
index 3eb51ee9d6..fbc9fe34f0 100644
--- a/libnm-util/nm-setting-vpn.h
+++ b/libnm-util/nm-setting-vpn.h
@@ -54,6 +54,7 @@ GQuark nm_setting_vpn_error_quark (void);
#define NM_SETTING_VPN_SERVICE_TYPE "service-type"
#define NM_SETTING_VPN_USER_NAME "user-name"
+#define NM_SETTING_VPN_PERSISTENT "persistent"
#define NM_SETTING_VPN_DATA "data"
#define NM_SETTING_VPN_SECRETS "secrets"
@@ -85,6 +86,7 @@ GType nm_setting_vpn_get_type (void);
NMSetting *nm_setting_vpn_new (void);
const char *nm_setting_vpn_get_service_type (NMSettingVPN *setting);
const char *nm_setting_vpn_get_user_name (NMSettingVPN *setting);
+gboolean nm_setting_vpn_get_persistent (NMSettingVPN *setting);
guint32 nm_setting_vpn_get_num_data_items (NMSettingVPN *setting);
void nm_setting_vpn_add_data_item (NMSettingVPN *setting,