xref: /freebsd/contrib/wpa/hostapd/config_file.h (revision f81cdf24ba5436367377f7c8e8f51f6df2a75ca7)
1 /*
2  * hostapd / Configuration file parser
3  * Copyright (c) 2003-2009, Jouni Malinen <j@w1.fi>
4  *
5  * This software may be distributed under the terms of the BSD license.
6  * See README for more details.
7  */
8 
9 #ifndef CONFIG_FILE_H
10 #define CONFIG_FILE_H
11 
12 struct hostapd_config * hostapd_config_read(const char *fname);
13 int hostapd_set_iface(struct hostapd_config *conf,
14 		      struct hostapd_bss_config *bss, const char *field,
15 		      char *value);
16 int hostapd_acl_comp(const void *a, const void *b);
17 int hostapd_add_acl_maclist(struct mac_acl_entry **acl, int *num,
18 			    int vlan_id, const u8 *addr);
19 void hostapd_remove_acl_mac(struct mac_acl_entry **acl, int *num,
20 			    const u8 *addr);
21 
22 #endif /* CONFIG_FILE_H */
23