diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2017-09-05 09:24:29 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2017-09-05 09:26:38 +0200 |
commit | 1403cdf1ef1690207fdbfcdb23619671e5222ab8 (patch) | |
tree | 8f75e6538fe31a255eb946a1a6db06d1c505e829 | |
parent | a76939a3210ded58b2afbf4cc0f3c4cec9df36d9 (diff) | |
download | NetworkManager-bg/man-nm-settings-ifcfg-rh.tar.gz |
libnm-core: add ifcfg-rh documentation for user settingbg/man-nm-settings-ifcfg-rh
-rw-r--r-- | libnm-core/nm-setting-user.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libnm-core/nm-setting-user.c b/libnm-core/nm-setting-user.c index 6c1d152aa9..cf879b66f0 100644 --- a/libnm-core/nm-setting-user.c +++ b/libnm-core/nm-setting-user.c @@ -597,6 +597,18 @@ nm_setting_user_class_init (NMSettingUserClass *klass) * * Since: 1.8 **/ + /* ---ifcfg-rh--- + * property: data + * variable: NM_USER_* + * description: each key/value pair is stored as a separate variable with + * name composed by concatenating NM_USER_ with the encoded key. The key is + * encoded by substituting lowercase letters with uppercase and prepending + * uppercase letters with an underscore. A dot in encoded as a double + * underscore. Remaining characters are encoded as underscore followed by a + * 3 digit octal representation of the character. + * example: NM_USER_FOOBAR=something + * ---end--- + */ obj_properties[PROP_DATA] = g_param_spec_boxed (NM_SETTING_USER_DATA, "", "", G_TYPE_HASH_TABLE, |