From a54ac63bbf9b2c71026ac9028a8ffaf186cf3c82 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Sun, 28 Jun 2020 18:58:14 +0200 Subject: New upstream version 1.25.90 --- docs/libnm/html/NMSetting.html | 363 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 363 insertions(+) (limited to 'docs/libnm/html/NMSetting.html') diff --git a/docs/libnm/html/NMSetting.html b/docs/libnm/html/NMSetting.html index 03d52c7f..aba8c094 100644 --- a/docs/libnm/html/NMSetting.html +++ b/docs/libnm/html/NMSetting.html @@ -153,6 +153,69 @@ + +GVariant * + + +nm_setting_option_get () + + + + +gboolean + + +nm_setting_option_get_boolean () + + + + +gboolean + + +nm_setting_option_get_uint32 () + + + + +void + + +nm_setting_option_set () + + + + +void + + +nm_setting_option_set_uint32 () + + + + +void + + +nm_setting_option_set_boolean () + + + +const char *const* + + +nm_setting_option_get_all_names () + + + + +void + + +nm_setting_option_clear_by_name () + + + const GVariantType * @@ -843,6 +906,306 @@ this setting, and if that property is secret), +

nm_setting_option_get ()

+
GVariant *
+nm_setting_option_get (NMSetting *setting,
+                       const char *opt_name);
+
+

Parameters

+
+++++ + + + + + + + + + + + + +

setting

the NMSetting

 

opt_name

the option name to request.

 
+
+
+

Returns

+

the GVariant or NULL if the option +is not set.

+

[transfer none]

+
+

Since: 1.26.

+ +
+
+

nm_setting_option_get_boolean ()

+
gboolean
+nm_setting_option_get_boolean (NMSetting *setting,
+                               const char *opt_name,
+                               gboolean *out_value);
+
+

Parameters

+
+++++ + + + + + + + + + + + + + + + + + +

setting

the NMSetting

 

opt_name

the option to get

 

out_value

the optional output value. +If the option is unset, FALSE will be returned.

[allow-none][out]
+
+
+

Returns

+

TRUE if opt_name +is set to a boolean variant.

+
+

Since: 1.26

+
+
+
+

nm_setting_option_get_uint32 ()

+
gboolean
+nm_setting_option_get_uint32 (NMSetting *setting,
+                              const char *opt_name,
+                              guint32 *out_value);
+
+

Parameters

+
+++++ + + + + + + + + + + + + + + + + + +

setting

the NMSetting

 

opt_name

the option to get

 

out_value

the optional output value. +If the option is unset, 0 will be returned.

[allow-none][out]
+
+
+

Returns

+

TRUE if opt_name +is set to a uint32 variant.

+
+

Since: 1.26

+
+
+
+

nm_setting_option_set ()

+
void
+nm_setting_option_set (NMSetting *setting,
+                       const char *opt_name,
+                       GVariant *variant);
+

If variant + is NULL, this clears the option if it is set. +Otherwise, variant + is set as the option. If variant + is +a floating reference, it will be consumed.

+

Note that not all setting types support options. It is a bug +setting a variant to a setting that doesn't support it. +Currently only NMSettingEthtool supports it.

+
+

Parameters

+
+++++ + + + + + + + + + + + + + + + + + +

setting

the NMSetting

 

opt_name

the option name to set

 

variant

the variant to set.

[allow-none]
+
+

Since: 1.26

+
+
+
+

nm_setting_option_set_uint32 ()

+
void
+nm_setting_option_set_uint32 (NMSetting *setting,
+                              const char *opt_name,
+                              guint32 value);
+

Like nm_setting_option_set() to set a uint32 GVariant.

+
+

Parameters

+
+++++ + + + + + + + + + + + + +

setting

the NMSetting

 

value

the value to set.

 
+
+

Since: 1.26

+
+
+
+

nm_setting_option_set_boolean ()

+
void
+nm_setting_option_set_boolean (NMSetting *setting,
+                               const char *opt_name,
+                               gboolean value);
+

Like nm_setting_option_set() to set a boolean GVariant.

+
+

Parameters

+
+++++ + + + + + + + + + + + + +

setting

the NMSetting

 

value

the value to set.

 
+
+

Since: 1.26

+
+
+
+

nm_setting_option_get_all_names ()

+
const char *const*
+nm_setting_option_get_all_names (NMSetting *setting,
+                                 guint *out_len);
+

Gives the name of all set options.

+
+

Parameters

+
+++++ + + + + + + + + + + + + +

setting

the NMSetting

 

out_len

.

[allow-none][out]
+
+
+

Returns

+

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 +by the next operation.

+

[array length=out_len zero-terminated=1][transfer none]

+
+

Since: 1.26

+
+
+
+

nm_setting_option_clear_by_name ()

+
void
+nm_setting_option_clear_by_name (NMSetting *setting,
+                                 NMUtilsPredicateStr predicate);
+
+

Parameters

+
+++++ + + + + + + + + + + + + +

setting

the NMSetting

 

predicate

the predicate for which names +should be clear. +If the predicate returns TRUE for an option name, the option +gets removed. If NULL, all options will be removed.

[allow-none][scope call]
+
+

Since: 1.26

+
+
+

nm_setting_get_dbus_property_type ()

const GVariantType *
 nm_setting_get_dbus_property_type (NMSetting *setting,
-- 
cgit 1.3.0-6-gf8a5