blob: 9830f5a2232f6d4d0ab0a86ec9254825a31d9a38 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001/*
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
12struct hostapd_config * hostapd_config_read(const char *fname);
13int hostapd_set_iface(struct hostapd_config *conf,
14 struct hostapd_bss_config *bss, const char *field,
15 char *value);
16int hostapd_acl_comp(const void *a, const void *b);
17int hostapd_add_acl_maclist(struct mac_acl_entry **acl, int *num,
18 int vlan_id, const u8 *addr);
19void hostapd_remove_acl_mac(struct mac_acl_entry **acl, int *num,
20 const u8 *addr);
21
22#endif /* CONFIG_FILE_H */