aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/p2p_supplicant.h
diff options
context:
space:
mode:
authorMax Stepanov <Max.Stepanov@intel.com>2015-03-16 05:16:57 (GMT)
committerJouni Malinen <j@w1.fi>2015-03-20 13:56:59 (GMT)
commitc40a8918ec005c565279dc76de057b17de4404bd (patch)
tree2c2b8c141d2b208b317ecdb966dfad51c061b75d /wpa_supplicant/p2p_supplicant.h
parent2dc422e2b331dfe8214bf945709c4ec605b1f48b (diff)
downloadhostap-c40a8918ec005c565279dc76de057b17de4404bd.zip
hostap-c40a8918ec005c565279dc76de057b17de4404bd.tar.gz
hostap-c40a8918ec005c565279dc76de057b17de4404bd.tar.bz2
P2PS: Delete ASP advertisements on wpas_p2p_service_flush
Delete all ASP serice advertisement on wpas_p2p_service_flush similarly to Bonjour and UPnP services. Signed-off-by: Max Stepanov <Max.Stepanov@intel.com>
Diffstat (limited to 'wpa_supplicant/p2p_supplicant.h')
-rw-r--r--wpa_supplicant/p2p_supplicant.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/p2p_supplicant.h b/wpa_supplicant/p2p_supplicant.h
index 1d3c67b..0b9ebc0 100644
--- a/wpa_supplicant/p2p_supplicant.h
+++ b/wpa_supplicant/p2p_supplicant.h
@@ -93,6 +93,7 @@ int wpas_p2p_service_add_asp(struct wpa_supplicant *wpa_s, int auto_accept,
u32 adv_id, const char *adv_str, u8 svc_state,
u16 config_methods, const char *svc_info);
int wpas_p2p_service_del_asp(struct wpa_supplicant *wpa_s, u32 adv_id);
+void wpas_p2p_service_flush_asp(struct wpa_supplicant *wpa_s);
int wpas_p2p_service_p2ps_id_exists(struct wpa_supplicant *wpa_s, u32 adv_id);
void wpas_sd_request(void *ctx, int freq, const u8 *sa, u8 dialog_token,
u16 update_indic, const u8 *tlvs, size_t tlvs_len);