NetworkManager/system-settings/plugins/ifcfg-rh
Daniel Gnoutcheff bbd4c23213 split nm_sysconfig_connection_update
The various "update" functions implemented by NMSysconfigConnection have
become confusing.  Depending on how you count, we've wound up with about
4 functions that all share the name "update" but nonetheless do
different things.  These functions used to be distributed over several
interfaces implemented by NMSysconfigConnection, but now that we've
removed NMExportedConnection and are about to remove
NMSettingsConnectionInterface, they will be all crammed into a single
interface and will be even more confusing than before.  It's time to
give better names to these guys.

The renames planned are:

- nm_settings_connection_interface_update() -->
    nm_sysconfig_connection_commit_changes()

- nm_sysconfig_connection_update() with signal_update==FALSE -->
    nm_sysconfig_connection_replace_settings()

- nm_sysconfig_connection_update() with signal_update==TRUE -->
    nm_sysconfig_connection_replace_and_commit()

This commit performs the last two renames.  The first will be performed
when removing NMSettingsConnectionInterface.

We also have nm_sysconfig_connection_replace_and_commit() have an
async-ish API that accepts a callback. This fits nicely with the
async-ish API of nm_settings_connection_interface_update(), and it lets
us clean up pk_update_cb() a bit.
2010-08-06 13:05:47 -04:00
..
tests ifcfg-rh: testcases for unmanaged BRIDGE and VLAN 2010-08-04 16:42:38 -05:00
common.h ifcfg-rh: use IFCFG_PLUGIN_ERROR instead of ifcfg_plugin_error_quark () 2010-08-04 16:27:34 -05:00
errors.c ifcfg-rh: move reader/writer to separate utility library 2009-02-28 07:08:19 -05:00
Makefile.am build: enable AM_SILENT_RULES (bgo #625263) 2010-08-03 12:58:46 -07:00
nm-ifcfg-connection.c split nm_sysconfig_connection_update 2010-08-06 13:05:47 -04:00
nm-ifcfg-connection.h everything: use libgudev instead of HAL; merge NM and nm-system-settings 2009-06-11 00:39:12 -04:00
nm-ifcfg-rh.conf ifcfg-rh: provide an easy way to get connection UUID/path for tools 2010-02-17 16:43:03 -08:00
nm-ifcfg-rh.xml ifcfg-rh: provide an easy way to get connection UUID/path for tools 2010-02-17 16:43:03 -08:00
plugin.c split nm_sysconfig_connection_update 2010-08-06 13:05:47 -04:00
plugin.h ifcfg-rh: move reader/writer to separate utility library 2009-02-28 07:08:19 -05:00
reader.c ifcfg-rh: clarify comment about unmanaged connections 2010-08-04 16:59:24 -05:00
reader.h ifcfg-rh: add IPv6 addressing and routes support (rh #523288) 2010-01-05 19:06:27 -06:00
shvar.c ifcfg-rh: initial write support for wifi & wired 2009-04-14 09:08:14 -04:00
shvar.h ifcfg-rh: initial write support for wifi & wired 2009-04-14 09:08:14 -04:00
utils.c ifcfg-rh: add IPv6 addressing and routes support (rh #523288) 2010-01-05 19:06:27 -06:00
utils.h ifcfg-rh: add IPv6 addressing and routes support (rh #523288) 2010-01-05 19:06:27 -06:00
writer.c ifcfg-rh: use IFCFG_PLUGIN_ERROR instead of ifcfg_plugin_error_quark () 2010-08-04 16:27:34 -05:00
writer.h ifcfg-rh: add IPv6 addressing and routes support (rh #523288) 2010-01-05 19:06:27 -06:00