diff options
author | Thomas Haller <thaller@redhat.com> | 2015-02-09 16:36:53 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-02-24 10:35:24 +0100 |
commit | c6778ad1b76a995deee966af959ab8bf325524d2 (patch) | |
tree | c61819cb32f6a7ca9a4a53a46fc42e1d72ef4c94 /src/nm-config.h | |
parent | 3bcc5e4bd0bd88b15ab8f84515f0fca52db62823 (diff) | |
download | NetworkManager-c6778ad1b76a995deee966af959ab8bf325524d2.tar.gz |
core: unify parsing of device specs using nm_match_spec_split()
There are three configuration options that contain device specs:
'main.ignore-carrier', 'main.no-auto-default', and
'keyfile.unmanaged-devices'.
Unify the parsing of them by splitting the device spec with
nm_match_spec_split(). This changes behavior for parsing of these
properties.
Also get rid of logging warnings when parsing 'keyfile.unmanaged-devices'.
Diffstat (limited to 'src/nm-config.h')
-rw-r--r-- | src/nm-config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nm-config.h b/src/nm-config.h index 530cbade98..46388b08eb 100644 --- a/src/nm-config.h +++ b/src/nm-config.h @@ -90,6 +90,7 @@ NMConfig *nm_config_setup (const NMConfigCmdLineOptions *cli, GError **error); void nm_config_reload (NMConfig *config); GKeyFile *nm_config_create_keyfile (void); +GSList *nm_config_get_device_match_spec (const GKeyFile *keyfile, const char *group, const char *key); G_END_DECLS |