config: add NMConfigDevice
Add NMConfigDevice, which is mostly just a wrapper around nm_device_get_hw_address() and nm_device_spec_match_list(), and implement it in NMDevice. This will be used for config options that match devices. (We can't use NMDevice directly for dependency reasons.)
This commit is contained in:
@@ -39,6 +39,7 @@ int nm_spawn_process (const char *args);
|
||||
void nm_utils_merge_ip4_config (NMIP4Config *ip4_config, NMSettingIP4Config *setting);
|
||||
void nm_utils_merge_ip6_config (NMIP6Config *ip6_config, NMSettingIP6Config *setting);
|
||||
|
||||
gboolean nm_match_spec_string (const GSList *specs, const char *string);
|
||||
gboolean nm_match_spec_hwaddr (const GSList *specs, const char *hwaddr);
|
||||
gboolean nm_match_spec_s390_subchannels (const GSList *specs, const char *subchannels);
|
||||
gboolean nm_match_spec_interface_name (const GSList *specs, const char *interface_name);
|
||||
|
Reference in New Issue
Block a user