From 494f296a3baab08522617b24b1f126d8f9a17502 Mon Sep 17 00:00:00 2001
From: Michael Biebl Verifies the secrets in the setting.
+The returned GError contains information about which secret of the setting
+failed validation, and in what way that secret failed validation.
+The secret validation is done separately from main setting validation, because
+in some cases connection failure is not desired just for the secrets. setting the NMSetting to verify secrets in connection the NMConnection that error location to store error, or Since: 1.2
+nm_setting_verify_secrets ()
+
+
+
+
@@ -195,6 +203,10 @@
+gboolean
+
+
nm_setting_compare ()
NMSettingCompareFlags
+
+enum
+NMSettingMacRandomization
+
@@ -207,10 +219,11 @@
struct
NMSetting
Object Hierarchy
- GEnum
+
GEnum
├── NMSettingCompareFlags
- ╰── NMSettingDiffResult
- GFlags
+ ├── NMSettingDiffResult
+ ╰── NMSettingMacRandomization
+ GFlags
╰── NMSettingSecretFlags
GObject
╰── NMSetting
@@ -226,15 +239,19 @@
├── NMSettingGeneric
├── NMSettingGsm
├── NMSettingInfiniband
+ ├── NMSettingIPTunnel
├── NMSettingIPConfig
+ ├── NMSettingMacvlan
├── NMSettingOlpcMesh
├── NMSettingPpp
├── NMSettingPppoe
├── NMSettingSerial
├── NMSettingTeamPort
├── NMSettingTeam
+ ├── NMSettingTun
├── NMSettingVlan
├── NMSettingVpn
+ ├── NMSettingVxlan
├── NMSettingWimax
├── NMSettingWired
├── NMSettingWirelessSecurity
@@ -494,6 +511,54 @@ is being verified in isolation.
nm_setting_verify_secrets ()
+gboolean
+nm_setting_verify_secrets (
+NMSetting *setting,
+ NMConnection *connection,
+ GError **error);Parameters
+
+
+
+
+
+
+
+
+
+
+setting
+came from, or
+NULL if setting
+is being verified in isolation. [allow-none]
+
+
+
+
+
+NULL
+
+nm_setting_compare ()
gboolean
nm_setting_compare (
NMSetting *a,
@@ -503,7 +568,7 @@ nm_setting_compare (NMSettingCompareFlags
for a description of each flag's behavior.
NMSetting object, calling the supplied
user function for each property.
-Parameters
+Parameters
@@ -643,7 +708,7 @@ nm_setting_to_string (
-Parameters
+Parameters
@@ -658,7 +723,7 @@ output format is not guaranteed to be stable and may change at any time.
-Returns
+Returns
an allocated string containing a textual representation of the
setting's properties and values (including secrets!), which the caller should
free with g_free()
@@ -675,7 +740,7 @@ nm_setting_get_secret_flags (NMSettingSecretFlags describing how to
handle that secret.
-Returns
+Returns
TRUE on success (if the given secret name was a valid property of
this setting, and if that property is secret), FALSE if not
@@ -723,7 +788,7 @@ nm_setting_set_secret_flags (NMSettingSecretFlags describing how to
handle that secret.
-Returns
+Returns
TRUE on success (if the given secret name was a valid property of
this setting, and if that property is secret), FALSE if not
@@ -770,7 +835,7 @@ nm_setting_get_dbus_property_type (GObject property.
-Returns
+Returns
the D-Bus marshalling type of property
on setting
.
@@ -970,6 +1035,45 @@ two connections.
+enum NMSettingMacRandomization
+Controls if and how the MAC address of a device is randomzied.
+
+
+
+