#define CONFIG_FILE_H
struct hostapd_config * hostapd_config_read(const char *fname);
+int hostapd_config_read_rxkh_file(struct hostapd_bss_config *conf,
+ const char *fname);
int hostapd_set_iface(struct hostapd_config *conf,
struct hostapd_bss_config *bss, const char *field,
char *value);
hostapd_config_clear_rxkhs(conf);
- err = hostapd_config_setup_rxkhs(conf);
+ err = hostapd_config_read_rxkh_file(conf, conf->rxkh_file);
if (err < 0) {
wpa_printf(MSG_ERROR, "Reloading RxKHs failed: %d",
err);
#ifdef CONFIG_IEEE80211R_AP
-int hostapd_config_setup_rxkhs(struct hostapd_bss_config *conf)
-{
- return hostapd_config_read_rxkh_file(conf, conf->rxkh_file);
-}
-
-
void hostapd_config_clear_rxkhs(struct hostapd_bss_config *conf)
{
struct ft_remote_r0kh *r0kh, *r0kh_prev;
void hostapd_config_free_eap_user(struct hostapd_eap_user *user);
void hostapd_config_free_eap_users(struct hostapd_eap_user *user);
void hostapd_config_clear_wpa_psk(struct hostapd_wpa_psk **p);
-int hostapd_config_read_rxkh_file(struct hostapd_bss_config *conf,
- const char *fname);
void hostapd_config_clear_rxkhs(struct hostapd_bss_config *conf);
-int hostapd_config_setup_rxkhs(struct hostapd_bss_config *conf);
void hostapd_config_free_bss(struct hostapd_bss_config *conf);
void hostapd_config_free(struct hostapd_config *conf);
int hostapd_maclist_found(struct mac_acl_entry *list, int num_entries,