blob: 9830f5a2232f6d4d0ab0a86ec9254825a31d9a38 [file] [log] [blame]
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -07001/*
2 * hostapd / Configuration file parser
3 * Copyright (c) 2003-2009, Jouni Malinen <j@w1.fi>
4 *
Dmitry Shmidtc5ec7f52012-03-06 16:33:24 -08005 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -07007 */
8
9#ifndef CONFIG_FILE_H
10#define CONFIG_FILE_H
11
12struct hostapd_config * hostapd_config_read(const char *fname);
Dmitry Shmidt04949592012-07-19 12:16:46 -070013int hostapd_set_iface(struct hostapd_config *conf,
Dmitry Shmidtd80a4012015-11-05 16:35:40 -080014 struct hostapd_bss_config *bss, const char *field,
Dmitry Shmidt04949592012-07-19 12:16:46 -070015 char *value);
Roshan Pius3a1667e2018-07-03 15:17:14 -070016int 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);
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070021
22#endif /* CONFIG_FILE_H */