aboutsummaryrefslogtreecommitdiffstats
path: root/src/wps
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2012-06-27 18:16:47 +0300
committerJouni Malinen <j@w1.fi>2012-06-27 21:22:12 +0300
commit2f425090fb100c8d0469727e64b3106f721b6096 (patch)
tree4c771de4c2f41b302970021b23795f91f27d0482 /src/wps
parente524ebe387e1f1fd08bf5afece068abb8ddd4e3b (diff)
downloadexternal_wpa_supplicant_8_ti-2f425090fb100c8d0469727e64b3106f721b6096.zip
external_wpa_supplicant_8_ti-2f425090fb100c8d0469727e64b3106f721b6096.tar.gz
external_wpa_supplicant_8_ti-2f425090fb100c8d0469727e64b3106f721b6096.tar.bz2
WPS: Allow NDEF functions to be used from outside src/wps
Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/wps')
-rw-r--r--src/wps/wps.h4
-rw-r--r--src/wps/wps_i.h4
2 files changed, 4 insertions, 4 deletions
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 */