config_file.h 720 B

12345678910111213141516171819202122
  1. /*
  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. #ifndef CONFIG_FILE_H
  9. #define CONFIG_FILE_H
  10. struct hostapd_config * hostapd_config_read(const char *fname);
  11. int hostapd_set_iface(struct hostapd_config *conf,
  12. struct hostapd_bss_config *bss, const char *field,
  13. char *value);
  14. int hostapd_acl_comp(const void *a, const void *b);
  15. int hostapd_add_acl_maclist(struct mac_acl_entry **acl, int *num,
  16. int vlan_id, const u8 *addr);
  17. void hostapd_remove_acl_mac(struct mac_acl_entry **acl, int *num,
  18. const u8 *addr);
  19. #endif /* CONFIG_FILE_H */