Top | ![]() |
![]() |
![]() |
![]() |
#define | NM_SETTING_PARAM_REQUIRED |
#define | NM_SETTING_PARAM_SECRET |
#define | NM_SETTING_PARAM_FUZZY_IGNORE |
#define | NM_SETTING_NAME |
enum | NMSettingSecretFlags |
enum | NMSettingCompareFlags |
enum | NMSettingMacRandomization |
enum | NMSettingDiffResult |
GBoxed ╰── NMRange GEnum ├── NMSettingCompareFlags ├── NMSettingDiffResult ╰── NMSettingMacRandomization GFlags ╰── NMSettingSecretFlags
gboolean (*NMSettingClearSecretsWithFlagsFn) (NMSetting *setting
,const char *secret
,NMSettingSecretFlags flags
,gpointer user_data
);
setting |
The setting for which secrets are being iterated |
|
secret |
The secret's name |
|
flags |
The secret's flags, eg |
|
user_data |
User data passed to |
void (*NMSettingValueIterFn) (NMSetting *setting
,const char *key
,const GValue *value
,GParamFlags flags
,gpointer user_data
);
setting |
The setting for which properties are being iterated, given to
|
|
key |
The value/property name |
|
value |
The property's value |
|
flags |
The property's flags, like |
|
user_data |
User data passed to |
gboolean (*_NMConnectionForEachSecretFunc) (NMSettingSecretFlags flags
,gpointer user_data
);
gboolean nm_setting_verify (NMSetting *setting
,NMConnection *connection
,GError **error
);
gboolean nm_setting_verify_secrets (NMSetting *setting
,NMConnection *connection
,GError **error
);
gboolean nm_setting_compare (NMSetting *a
,NMSetting *b
,NMSettingCompareFlags flags
);
gboolean nm_setting_diff (NMSetting *a
,NMSetting *b
,NMSettingCompareFlags flags
,gboolean invert_results
,GHashTable **results
);
void nm_setting_enumerate_values (NMSetting *setting
,NMSettingValueIterFn func
,gpointer user_data
);
gboolean nm_setting_get_secret_flags (NMSetting *setting
,const char *secret_name
,NMSettingSecretFlags *out_flags
,GError **error
);
gboolean nm_setting_set_secret_flags (NMSetting *setting
,const char *secret_name
,NMSettingSecretFlags flags
,GError **error
);
GVariant * nm_setting_option_get (NMSetting *setting
,const char *opt_name
);
gboolean nm_setting_option_get_boolean (NMSetting *setting
,const char *opt_name
,gboolean *out_value
);
gboolean nm_setting_option_get_uint32 (NMSetting *setting
,const char *opt_name
,guint32 *out_value
);
void nm_setting_option_set (NMSetting *setting
,const char *opt_name
,GVariant *variant
);
void nm_setting_option_set_uint32 (NMSetting *setting
,const char *opt_name
,guint32 value
);
void nm_setting_option_set_boolean (NMSetting *setting
,const char *opt_name
,gboolean value
);
const char *const * nm_setting_option_get_all_names (NMSetting *setting
,guint *out_len
);
void nm_setting_option_clear_by_name (NMSetting *setting
,NMUtilsPredicateStr predicate
);
const GVariantType * nm_setting_get_dbus_property_type (NMSetting *setting
,const char *property_name
);
gboolean nm_range_get_range (const NMRange *range
,guint64 *start
,guint64 *end
);
These flags indicate specific behavior related to handling of a secret. Each secret has a corresponding set of these flags which indicate how the secret is to be stored and/or requested when it is needed.
the system is responsible for providing and storing this secret (default) |
||
a user secret agent is responsible for providing and storing this secret; when it is required agents will be asked to retrieve it |
||
this secret should not be saved, but should be requested from the user each time it is needed |
||
in situations where it cannot be automatically determined that the secret is required (some VPNs and PPP providers don't require all secrets) this flag indicates that the specific secret is not required |
These flags modify the comparison behavior when comparing two settings or two connections.
match all properties exactly |
||
match only important attributes, like SSID, type, security settings, etc. Does not match, for example, connection ID or UUID. |
||
ignore the connection's ID |
||
ignore all secrets |
||
ignore secrets for which
the secret's flags indicate the secret is owned by a user secret agent
(ie, the secret's flag includes |
||
ignore secrets for which
the secret's flags indicate the secret should not be saved to persistent
storage (ie, the secret's flag includes |
||
if this flag is set,
|
||
if this flag is set,
|
||
ignore the connection's timestamp |
Controls if and how the MAC address of a device is randomzied.
Since: 1.2
These values indicate the result of a setting difference operation.
unknown result |
||
the property is present in setting A |
||
the property is present in setting B |
||
the property is present in
setting A but is set to the default value. This flag is only set,
if you specify |
||
analog to |