diff options
| author | Michael Biebl <biebl@debian.org> | 2024-05-05 00:07:30 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2024-05-05 00:07:30 +0200 |
| commit | 34bb501be08aa2b313d88e67d6e0a7e0a3f9cfa6 (patch) | |
| tree | 4e6220877828be4c6f261de09ec0cb2d80e32389 /src/libnm-core-intern | |
| parent | bba2e4b4de668db525cbfdfc35292e5a0b51671a (diff) | |
New upstream version 1.47.90 upstream/1.47.90
Diffstat (limited to 'src/libnm-core-intern')
| -rw-r--r-- | src/libnm-core-intern/nm-core-internal.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libnm-core-intern/nm-core-internal.h b/src/libnm-core-intern/nm-core-internal.h index 3903467d..fc157c58 100644 --- a/src/libnm-core-intern/nm-core-internal.h +++ b/src/libnm-core-intern/nm-core-internal.h @@ -821,6 +821,10 @@ struct _NMSettInfoProperty { * normalize the string via g_ascii_strdown(). */ bool direct_set_string_ascii_strdown : 1; + /* If TRUE, this is a NM_VALUE_TYPE_STRV direct property holding MAC addresses, + * and the setter will normalize them via _nm_utils_hwaddr_canonical_or_invalid(). */ + bool direct_set_strv_normalize_hwaddr : 1; + /* If TRUE, this is a NM_VALUE_TYPE_STRING direct property, and the setter will * normalize the string via g_strstrip(). */ bool direct_set_string_strip : 1; @@ -870,6 +874,10 @@ struct _NMSettInfoProperty { * an empty array. */ bool direct_strv_preserve_empty : 1; + /* This flag indicates that an empty strv array should be returned + * instead of NULL if it hadn't been created yet. */ + bool direct_strv_not_null : 1; + /* Usually, properties that are set to the default value for the GParamSpec * are not serialized to GVariant (and NULL is returned by to_dbus_data(). * Set this flag to force always converting the property even if the value |