summaryrefslogtreecommitdiff
path: root/libnm
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-11-20 16:57:04 +0100
committerThomas Haller <thaller@redhat.com>2017-11-23 14:44:25 +0100
commit2be6515dd076af720635b1a9506ac43e4251ace0 (patch)
treebbcdc493fe8425ca9195414a658d7f6698c94362 /libnm
parent0601b5d725b072bd3ce4ec60be867898a16f85cd (diff)
downloadNetworkManager-2be6515dd076af720635b1a9506ac43e4251ace0.tar.gz
libnm: add nm_setting_vpn_get_data_keys() and nm_setting_vpn_get_secret_keys() API
It's rather limiting that the only API to access *all* keys is nm_setting_vpn_foreach_data_item() and nm_setting_vpn_foreach_secret(). API like nm_setting_vpn_get_num_secrets() is not useful, at least as long as you cannot access the item by index.
Diffstat (limited to 'libnm')
-rw-r--r--libnm/libnm.ver2
1 files changed, 2 insertions, 0 deletions
diff --git a/libnm/libnm.ver b/libnm/libnm.ver
index 5e9feaffc8..aad581698b 100644
--- a/libnm/libnm.ver
+++ b/libnm/libnm.ver
@@ -1258,4 +1258,6 @@ global:
nm_setting_team_port_get_lacp_key;
nm_setting_team_remove_runner_tx_hash;
nm_setting_team_remove_runner_tx_hash_by_value;
+ nm_setting_vpn_get_data_keys;
+ nm_setting_vpn_get_secret_keys;
} libnm_1_10_0;