]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
WPS: Allow NDEF functions to be used from outside src/wps
authorJouni Malinen <j@w1.fi>
Wed, 27 Jun 2012 15:16:47 +0000 (18:16 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 27 Jun 2012 18:22:12 +0000 (21:22 +0300)
Signed-hostap: Jouni Malinen <j@w1.fi>

src/wps/wps.h
src/wps/wps_i.h

index 10a45f204835885384b769f386f3f3145fa5d622..7944f75c48b1514549400677f440e93b6eb7a33b 100644 (file)
@@ -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,
index a873f33f1c96844f3338c1e066f3c276edfb8ad1..aeadfc12f337ff7d6f125e3bea23e647091cdfba 100644 (file)
@@ -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 */