NetworkManager/src/settings
Thomas Haller c0c9b3dbcd ifcfg/trivial: rename svGetValueString() to svGetValueStr_cp()
We have

 - svGetValue()
    - returns the original string
    - avoids copying the string unless necessary

 - svGetValueStr_cp() (formerly svGetValueString())
    - returns the original string, unless it is empty ""
    - always clones the string

I think the behavior svGetValueStr*() of coercing "" to NULL is wrongly
used in most places. We should better handle "" like any other value,
not treat it as unset.

That would require another function svGetValue_cp(), which is like svGetValue()
but always copies the string. Rename svGetValueString() so that there is a place
for names like

  - svGetValue_cp()
  - svGetValueStr()

Also rename svSetValueString() to svSetValueStr().
2017-02-21 12:34:36 +01:00
..
plugins ifcfg/trivial: rename svGetValueString() to svGetValueStr_cp() 2017-02-21 12:34:36 +01:00
nm-agent-manager.c all: rename the introspection data to use the interface paths in names 2016-11-23 15:43:42 +01:00
nm-agent-manager.h core: refactor private data in "src" 2016-10-04 09:50:56 +02:00
nm-inotify-helper.c all: use O_CLOEXEC for file descriptors 2016-12-13 11:26:59 +01:00
nm-inotify-helper.h core: refactor private data in "src" 2016-10-04 09:50:56 +02:00
nm-secret-agent.c all: rename the introspection data to use the interface paths in names 2016-11-23 15:43:42 +01:00
nm-secret-agent.h core: refactor private data for NMExportedObject and others 2016-10-03 12:04:14 +02:00
nm-settings-connection.c settings: log changes to NMSettingsConnection's autoconnect_retries 2017-02-21 09:18:53 +01:00
nm-settings-connection.h core: consolidate sorting of connections by autoconnect/timestamp 2017-02-10 14:43:24 +01: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 all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nm-settings.c core: consolidate sorting of connections by autoconnect/timestamp 2017-02-10 14:43:24 +01:00
nm-settings.h core: refactor nm_settings_get_connections_sorted() to return array instead of GSList 2017-02-10 14:43:24 +01:00