aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/scan.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-01-03 07:48:00 (GMT)
committerJouni Malinen <j@w1.fi>2014-01-05 20:35:52 (GMT)
commitdd43aaa5098f4ef9bce5263f94e8197b0df266c9 (patch)
treeb5bd3c4f7597377b6b2876704f9c5887b62d5e60 /wpa_supplicant/scan.h
parent06f9acce189b20daee8fe8fd46cd849425304130 (diff)
downloadhostap-dd43aaa5098f4ef9bce5263f94e8197b0df266c9.zip
hostap-dd43aaa5098f4ef9bce5263f94e8197b0df266c9.tar.gz
hostap-dd43aaa5098f4ef9bce5263f94e8197b0df266c9.tar.bz2
Add helper functions for cloning and freeing scan parameters
Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/scan.h')
-rw-r--r--wpa_supplicant/scan.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/wpa_supplicant/scan.h b/wpa_supplicant/scan.h
index b6fe070..e4c8989 100644
--- a/wpa_supplicant/scan.h
+++ b/wpa_supplicant/scan.h
@@ -1,6 +1,6 @@
/*
* WPA Supplicant - Scanning
- * Copyright (c) 2003-2010, Jouni Malinen <j@w1.fi>
+ * Copyright (c) 2003-2014, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
@@ -43,5 +43,8 @@ int wpa_supplicant_start_sched_scan(struct wpa_supplicant *wpa_s,
struct wpa_driver_scan_params *params,
int interval);
int wpa_supplicant_stop_sched_scan(struct wpa_supplicant *wpa_s);
+struct wpa_driver_scan_params *
+wpa_scan_clone_params(const struct wpa_driver_scan_params *src);
+void wpa_scan_free_params(struct wpa_driver_scan_params *params);
#endif /* SCAN_H */