diff options
| author | Michael Biebl <biebl@debian.org> | 2023-08-09 21:55:35 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2023-08-09 21:55:35 +0200 |
| commit | 05e4a733f2141995181a551854d5df929f084adf (patch) | |
| tree | 83bb937740a6667525ba0df046748ecaa829c269 /src/libnm-core-impl/nm-keyfile.c | |
| parent | 14b0f3a9dc9ea90d60a3b057350fd4d637dc021a (diff) | |
New upstream version 1.44.0 upstream/1.44.0
Diffstat (limited to 'src/libnm-core-impl/nm-keyfile.c')
| -rw-r--r-- | src/libnm-core-impl/nm-keyfile.c | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/src/libnm-core-impl/nm-keyfile.c b/src/libnm-core-impl/nm-keyfile.c index 9a6ffc6f..82581d9f 100644 --- a/src/libnm-core-impl/nm-keyfile.c +++ b/src/libnm-core-impl/nm-keyfile.c @@ -3911,9 +3911,9 @@ nm_keyfile_read_ensure_uuid(NMConnection *connection, const char *fallback_uuid_ * the relative path is made absolute using @base_dir. This must * be an absolute path. * @handler_flags: the #NMKeyfileHandlerFlags. - * @handler: (allow-none) (scope call): read handler + * @handler: (nullable) (scope call): read handler * @user_data: user data for read handler - * @error: (allow-none) (out): error + * @error: error * * Tries to create a NMConnection from a keyfile. The resulting keyfile is * not normalized and might not even verify. @@ -4256,7 +4256,7 @@ _write_setting_wireguard(NMSetting *setting, KeyfileWriterInfo *info) * nm_keyfile_write: * @connection: the #NMConnection to persist to keyfile. * @handler_flags: the #NMKeyfileHandlerFlags. - * @handler: (allow-none) (scope call): optional handler for events and + * @handler: (nullable) (scope call): optional handler for events and * to override the default behavior. * @user_data: argument for @handler. * @error: the #GError in case writing fails. @@ -4554,13 +4554,14 @@ nm_keyfile_handler_data_fail_with_error(NMKeyfileHandlerData *handler_data, GErr /** * nm_keyfile_handler_data_get_context: * @handler_data: the #NMKeyfileHandlerData for any event. - * @out_kf_group_name: (out) (allow-none) (transfer none): if the event is in the - * context of a keyfile group, the group name. - * @out_kf_key_name: (out) (allow-none) (transfer none): if the event is in the - * context of a keyfile value, the key name. - * @out_cur_setting: (out) (allow-none) (transfer none): if the event happens while - * handling a particular #NMSetting instance. - * @out_cur_property_name: (out) (allow-none) (transfer none): the property name if applicable. + * @out_kf_group_name: (out) (optional) (nullable) (transfer none): if the event + * is in the context of a keyfile group, the group name. + * @out_kf_key_name: (out) (optional) (nullable) (transfer none): if the event + * is in the context of a keyfile value, the key name. + * @out_cur_setting: (out) (optional) (nullable) (transfer none): if the event + * happens while handling a particular #NMSetting instance. + * @out_cur_property_name: (out) (optional) (nullable) (transfer none): the + * property name if applicable. * * Get context information of the current event. This function can be called * on all events, but the context information may be unset. @@ -4605,8 +4606,8 @@ _nm_keyfile_handler_data_warn_get_message(const NMKeyfileHandlerData *handler_da * nm_keyfile_handler_data_warn_get: * @handler_data: the #NMKeyfileHandlerData for a %NM_KEYFILE_HANDLER_TYPE_WARN * event. - * @out_message: (out) (allow-none) (transfer none): the warning message. - * @out_severity: (out) (allow-none): the #NMKeyfileWarnSeverity warning severity. + * @out_message: (out) (optional) (transfer none): the warning message. + * @out_severity: (out) (optional): the #NMKeyfileWarnSeverity warning severity. * * Since: 1.30 */ |