summaryrefslogtreecommitdiff
path: root/libnm-core/nm-setting.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnm-core/nm-setting.c')
-rw-r--r--libnm-core/nm-setting.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/libnm-core/nm-setting.c b/libnm-core/nm-setting.c
index 98d9d9498f..a99a46b0ea 100644
--- a/libnm-core/nm-setting.c
+++ b/libnm-core/nm-setting.c
@@ -2482,24 +2482,22 @@ out_zero:
}
/**
- * _nm_setting_option_get_all_names:
+ * nm_setting_option_get_all_names:
* @setting: the #NMSetting
* @out_len: (allow-none) (out):
*
- * Gives the number of generic data elements and optionally returns all their
- * key names and values. This API is low level access and unless you know what you
- * are doing, it might not be what you want.
+ * Gives the name of all set options.
*
* Returns: (array length=out_len zero-terminated=1) (transfer none):
* A %NULL terminated array of key names. If no names are present, this returns
* %NULL. The returned array and the names are owned by %NMSetting and might be invalidated
- * soon.
+ * by the next operation.
*
- * Since: 1.14
+ * Since: 1.26
**/
const char *const*
-_nm_setting_option_get_all_names (NMSetting *setting,
- guint *out_len)
+nm_setting_option_get_all_names (NMSetting *setting,
+ guint *out_len)
{
const char *const*names;
guint len;