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