summaryrefslogtreecommitdiff
path: root/src/NetworkManagerUtils.h
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2019-05-07 10:15:10 +0200
committerLubomir Rintel <lkundrak@v3.sk>2019-05-28 15:03:20 +0200
commit28a39eda44007a9d060ff85041168b3d8a158a8e (patch)
treee93d378945f7d2ecf06dc0b87b4cfcca63a3c8c8 /src/NetworkManagerUtils.h
parent27eb2b2f9773415ff51574d3e4974af7cb71b7ff (diff)
downloadNetworkManager-28a39eda44007a9d060ff85041168b3d8a158a8e.tar.gz
utils: add ifname argument to nm_utils_complete_generic()
It's a common thing to complete a connection with an interface name; adding it to the common path is goint to save as a few tens of lines later on.
Diffstat (limited to 'src/NetworkManagerUtils.h')
-rw-r--r--src/NetworkManagerUtils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/NetworkManagerUtils.h b/src/NetworkManagerUtils.h
index 4be5d462b3..8eb4e3b3a3 100644
--- a/src/NetworkManagerUtils.h
+++ b/src/NetworkManagerUtils.h
@@ -41,6 +41,7 @@ void nm_utils_complete_generic (NMPlatform *platform,
const char *preferred_id,
const char *fallback_id_prefix,
const char *ifname_prefix,
+ const char *ifname,
gboolean default_enable_ipv6);
typedef gboolean (NMUtilsMatchFilterFunc) (NMConnection *connection, gpointer user_data);