summaryrefslogtreecommitdiff
path: root/clients/cli/devices.h
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2016-07-12 14:36:53 +0200
committerLubomir Rintel <lkundrak@v3.sk>2016-08-01 13:52:36 +0200
commit3068886043ff0fa202542d5941174a9e5f6492b6 (patch)
tree35b7ebcd36d687259b6199c30e125bce423f2d21 /clients/cli/devices.h
parent4302e05b1a0b0357040459be15ea90cf5cc8f9a7 (diff)
downloadNetworkManager-3068886043ff0fa202542d5941174a9e5f6492b6.tar.gz
cli/device: export some useful completion functions
Wi-Fi access point completion functionality and stuff useful for completing "ifname" and "ap" for "nmcli c up".
Diffstat (limited to 'clients/cli/devices.h')
-rw-r--r--clients/cli/devices.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/clients/cli/devices.h b/clients/cli/devices.h
index 01ff4819ea..7d5c07c022 100644
--- a/clients/cli/devices.h
+++ b/clients/cli/devices.h
@@ -24,6 +24,10 @@
NMCResultCode do_devices (NmCli *nmc, int argc, char **argv);
+void nmc_complete_device (NMClient *client, const char *prefix, gboolean wifi_only);
+
+void nmc_complete_bssid (NMClient *client, const char *ifname, const char *bssid_prefix);
+
void monitor_devices (NmCli *nmc);
NMDevice ** nmc_get_devices_sorted (NMClient *client);