Make wpa_config_parse_string() a shared function
This will be used in future hostapd configuration parser changes. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
986de33d5c
commit
b87d70c88a
3 changed files with 63 additions and 61 deletions
|
@ -446,6 +446,8 @@ size_t printf_decode(u8 *buf, size_t maxlen, const char *str);
|
|||
|
||||
const char * wpa_ssid_txt(const u8 *ssid, size_t ssid_len);
|
||||
|
||||
char * wpa_config_parse_string(const char *value, size_t *len);
|
||||
|
||||
static inline int is_zero_ether_addr(const u8 *a)
|
||||
{
|
||||
return !(a[0] | a[1] | a[2] | a[3] | a[4] | a[5]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue