From 2f425090fb100c8d0469727e64b3106f721b6096 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Wed, 27 Jun 2012 18:16:47 +0300 Subject: WPS: Allow NDEF functions to be used from outside src/wps Signed-hostap: Jouni Malinen --- src/wps/wps.h | 4 ++++ src/wps/wps_i.h | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/wps') diff --git a/src/wps/wps.h b/src/wps/wps.h index 10a45f2..7944f75 100644 --- a/src/wps/wps.h +++ b/src/wps/wps.h @@ -833,6 +833,10 @@ char * wps_dev_type_bin2str(const u8 dev_type[WPS_DEV_TYPE_LEN], char *buf, void uuid_gen_mac_addr(const u8 *mac_addr, u8 *uuid); u16 wps_config_methods_str2bin(const char *str); +/* ndef.c */ +struct wpabuf * ndef_parse_wifi(struct wpabuf *buf); +struct wpabuf * ndef_build_wifi(struct wpabuf *buf); + #ifdef CONFIG_WPS_STRICT int wps_validate_beacon(const struct wpabuf *wps_ie); int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, int probe, diff --git a/src/wps/wps_i.h b/src/wps/wps_i.h index a873f33..aeadfc1 100644 --- a/src/wps/wps_i.h +++ b/src/wps/wps_i.h @@ -289,8 +289,4 @@ const u8 * wps_authorized_macs(struct wps_registrar *reg, size_t *count); int wps_registrar_pbc_overlap(struct wps_registrar *reg, const u8 *addr, const u8 *uuid_e); -/* ndef.c */ -struct wpabuf * ndef_parse_wifi(struct wpabuf *buf); -struct wpabuf * ndef_build_wifi(struct wpabuf *buf); - #endif /* WPS_I_H */ -- cgit v1.1