NetworkManager/src/settings
Thomas Haller 74b6de6933 ifcfg-rh: rework writing secrets and write them all at once later
Instead of having set_secret() for each call open the file,
mangle it, and write it back, collect all secrets and process
them at the end once.

Also, previously set_secrets() ignored failures to write a secret and
added the secret in plain to the ifcfg file. Let's not do that.

Also, purge all other entires form the secrets file. Not only
the once that we explicitly touch.
2017-10-25 14:04:36 +02:00
..
plugins ifcfg-rh: rework writing secrets and write them all at once later 2017-10-25 14:04:36 +02:00
nm-agent-manager.c core,clients: use our own string hashing function nm_str_hash() 2017-10-18 13:05:00 +02:00
nm-agent-manager.h core: refactor private data in "src" 2016-10-04 09:50:56 +02:00
nm-inotify-helper.c core: use nm_close() 2017-10-19 15:49:58 +02:00
nm-inotify-helper.h core: refactor private data in "src" 2016-10-04 09:50:56 +02:00
nm-secret-agent.c secret-agent: use CList to track requests 2017-05-11 18:26:10 +02:00
nm-secret-agent.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-settings-connection.c settings: first persist connection to disk before replacing settings 2017-10-25 14:04:36 +02:00
nm-settings-connection.h settings: extend commit_changes() to update the settings after writing 2017-10-25 14:04:36 +02:00
nm-settings-plugin.c settings: set @error on failure of nm_settings_plugin_add_connection() 2016-03-03 18:54:20 +01:00
nm-settings-plugin.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-settings.c settings: get rid of callback arguments for nm_settings_connection_delete() 2017-10-25 14:04:36 +02:00
nm-settings.h hostname: split out hostname management from NMSettings 2017-05-12 17:29:33 +02:00