Add a more flexible version of hwaddr_aton: hwaddr_aton2()
[libeap.git] / src / utils / common.h
index 9abda59..f17bf69 100644 (file)
@@ -436,6 +436,7 @@ typedef u64 __bitwise le64;
 #endif /* __must_check */
 
 int hwaddr_aton(const char *txt, u8 *addr);
+int hwaddr_aton2(const char *txt, u8 *addr);
 int hexstr2bin(const char *hex, u8 *buf, size_t len);
 void inc_byte_array(u8 *counter, size_t len);
 void wpa_get_ntp_timestamp(u8 *buf);