platform/trivial: rename link related functions

Link related functions should have a "nm_platform_link" prefix. Rename.

Naming is a subjective matter and one might argue that omitting
the "link" part from the name is shorter and even preferred.

However, I think functions related to links should have a common
prefix as the underlyings are strongly related.
This commit is contained in:
Thomas Haller
2015-12-09 16:14:49 +01:00
parent 6a7730241b
commit eef388990f
15 changed files with 128 additions and 115 deletions

View File

@@ -618,7 +618,7 @@ _linktype_get_type (NMPlatform *platform,
NMPlatformTunProperties props;
if ( platform
&& nm_platform_tun_get_properties_ifname (platform, ifname, &props)) {
&& nm_platform_link_tun_get_properties_ifname (platform, ifname, &props)) {
if (!g_strcmp0 (props.mode, "tap"))
return NM_LINK_TYPE_TAP;
if (!g_strcmp0 (props.mode, "tun"))