libnm-core: add ifcfg-rh documentation for user setting

This commit is contained in:
Beniamino Galvani 2017-09-05 09:24:29 +02:00
parent 20bb9bde24
commit ade90756ba

View file

@ -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 is encoded as a double
* underscore. Remaining characters are encoded as underscore followed by a
* 3 digit octal representation of the character.
* example: NM_USER_FOO__BAR=something
* ---end---
*/
obj_properties[PROP_DATA] =
g_param_spec_boxed (NM_SETTING_USER_DATA, "", "",
G_TYPE_HASH_TABLE,