1214503Srpaulo/*
2214503Srpaulo * hostapd / Configuration file parser
3214503Srpaulo * Copyright (c) 2003-2009, Jouni Malinen <j@w1.fi>
4214503Srpaulo *
5252726Srpaulo * This software may be distributed under the terms of the BSD license.
6252726Srpaulo * See README for more details.
7214503Srpaulo */
8214503Srpaulo
9214503Srpaulo#ifndef CONFIG_FILE_H
10214503Srpaulo#define CONFIG_FILE_H
11214503Srpaulo
12214503Srpaulostruct hostapd_config * hostapd_config_read(const char *fname);
13252726Srpauloint hostapd_set_iface(struct hostapd_config *conf,
14289549Srpaulo		      struct hostapd_bss_config *bss, const char *field,
15252726Srpaulo		      char *value);
16346981Scyint hostapd_acl_comp(const void *a, const void *b);
17346981Scyint hostapd_add_acl_maclist(struct mac_acl_entry **acl, int *num,
18346981Scy			    int vlan_id, const u8 *addr);
19346981Scyvoid hostapd_remove_acl_mac(struct mac_acl_entry **acl, int *num,
20346981Scy			    const u8 *addr);
21214503Srpaulo
22214503Srpaulo#endif /* CONFIG_FILE_H */
23