summaryrefslogtreecommitdiff
path: root/src/supplicant/nm-supplicant-interface.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-08-12 11:43:25 +0200
committerThomas Haller <thaller@redhat.com>2018-08-22 10:49:34 +0200
commitced0dd2e4a908c4c76c338b4575f8762f4a0f418 (patch)
treeaef5ee89e6ac9676d3f57a8d98597c65516e22f8 /src/supplicant/nm-supplicant-interface.h
parentf5792881a0a3bf6673ee20f59f4aff8dc693d5bf (diff)
wifi: use GBytes for ssids scan list
Use GBytes instead of GBytesArray. GBytes is immutable and can be shared. It is also the type that we natively get from nm_setting_wireless_get_ssid(). This way we avoid some conversions.
Diffstat (limited to 'src/supplicant/nm-supplicant-interface.h')
-rw-r--r--src/supplicant/nm-supplicant-interface.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/supplicant/nm-supplicant-interface.h b/src/supplicant/nm-supplicant-interface.h
index 31272b3c1..0365fdcd6 100644
--- a/src/supplicant/nm-supplicant-interface.h
+++ b/src/supplicant/nm-supplicant-interface.h
@@ -100,7 +100,9 @@ void nm_supplicant_interface_disconnect (NMSupplicantInterface * iface);
const char *nm_supplicant_interface_get_object_path (NMSupplicantInterface * iface);
-void nm_supplicant_interface_request_scan (NMSupplicantInterface * self, const GPtrArray *ssids);
+void nm_supplicant_interface_request_scan (NMSupplicantInterface *self,
+ GBytes *const*ssids,
+ guint ssids_len);
NMSupplicantInterfaceState nm_supplicant_interface_get_state (NMSupplicantInterface * self);