]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/wpa_supplicant/config.h
This commit was generated by cvs2svn to compensate for changes in r151600,
[FreeBSD/FreeBSD.git] / contrib / wpa_supplicant / config.h
1 #ifndef CONFIG_H
2 #define CONFIG_H
3
4 #ifdef CONFIG_CTRL_IFACE
5 #ifndef CONFIG_CTRL_IFACE_UDP
6 #include <grp.h>
7 #endif /* CONFIG_CTRL_IFACE_UDP */
8 #endif /* CONFIG_CTRL_IFACE */
9
10 #include "config_ssid.h"
11
12 struct wpa_config {
13         struct wpa_ssid *ssid; /* global network list */
14         struct wpa_ssid **pssid; /* per priority network lists (in priority
15                                   * order) */
16         int num_prio; /* number of different priorities */
17         int eapol_version;
18         int ap_scan;
19         char *ctrl_interface; /* directory for UNIX domain sockets */
20 #ifdef CONFIG_CTRL_IFACE
21 #ifndef CONFIG_CTRL_IFACE_UDP
22         gid_t ctrl_interface_gid;
23 #endif /* CONFIG_CTRL_IFACE_UDP */
24         int ctrl_interface_gid_set;
25 #endif /* CONFIG_CTRL_IFACE */
26         int fast_reauth;
27 };
28
29
30 struct wpa_config * wpa_config_read(const char *config_file);
31 void wpa_config_free(struct wpa_config *ssid);
32
33 #endif /* CONFIG_H */