From: Jouni Malinen Date: Wed, 27 Jun 2012 15:16:47 +0000 (+0300) Subject: WPS: Allow NDEF functions to be used from outside src/wps X-Git-Tag: hostap_2_0~586 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f425090fb100c8d0469727e64b3106f721b6096;p=thirdparty%2Fhostap.git WPS: Allow NDEF functions to be used from outside src/wps Signed-hostap: Jouni Malinen --- diff --git a/src/wps/wps.h b/src/wps/wps.h index 10a45f204..7944f75c4 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 a873f33f1..aeadfc12f 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 */