diff options
author | sam <sam@FreeBSD.org> | 2005-06-05 20:52:14 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2005-06-05 20:52:14 +0000 |
commit | 2b0ba7bae5b60321ee7843871a2cf15ad6b3f65b (patch) | |
tree | 98be326632e2ea3857ee0d9f831c91ea0823bb0d /contrib/wpa_supplicant/config.h | |
download | FreeBSD-src-2b0ba7bae5b60321ee7843871a2cf15ad6b3f65b.zip FreeBSD-src-2b0ba7bae5b60321ee7843871a2cf15ad6b3f65b.tar.gz |
Stripped down import of wpa_supplicant v0.3.8
Diffstat (limited to 'contrib/wpa_supplicant/config.h')
-rw-r--r-- | contrib/wpa_supplicant/config.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/contrib/wpa_supplicant/config.h b/contrib/wpa_supplicant/config.h new file mode 100644 index 0000000..13deb3e --- /dev/null +++ b/contrib/wpa_supplicant/config.h @@ -0,0 +1,33 @@ +#ifndef CONFIG_H +#define CONFIG_H + +#ifdef CONFIG_CTRL_IFACE +#ifndef CONFIG_CTRL_IFACE_UDP +#include <grp.h> +#endif /* CONFIG_CTRL_IFACE_UDP */ +#endif /* CONFIG_CTRL_IFACE */ + +#include "config_ssid.h" + +struct wpa_config { + struct wpa_ssid *ssid; /* global network list */ + struct wpa_ssid **pssid; /* per priority network lists (in priority + * order) */ + int num_prio; /* number of different priorities */ + int eapol_version; + int ap_scan; + char *ctrl_interface; /* directory for UNIX domain sockets */ +#ifdef CONFIG_CTRL_IFACE +#ifndef CONFIG_CTRL_IFACE_UDP + gid_t ctrl_interface_gid; +#endif /* CONFIG_CTRL_IFACE_UDP */ + int ctrl_interface_gid_set; +#endif /* CONFIG_CTRL_IFACE */ + int fast_reauth; +}; + + +struct wpa_config * wpa_config_read(const char *config_file); +void wpa_config_free(struct wpa_config *ssid); + +#endif /* CONFIG_H */ |