blob: d7ad6dfe670a984e953d0b3bb3863ef05a20408d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#ifndef CTRL_IFACE_H
#define CTRL_IFACE_H
#ifdef CONFIG_CTRL_IFACE
int wpa_supplicant_ctrl_iface_init(struct wpa_supplicant *wpa_s);
void wpa_supplicant_ctrl_iface_deinit(struct wpa_supplicant *wpa_s);
void wpa_supplicant_ctrl_iface_send(struct wpa_supplicant *wpa_s, int level,
char *buf, size_t len);
#else /* CONFIG_CTRL_IFACE */
static inline int wpa_supplicant_ctrl_iface_init(struct wpa_supplicant *wpa_s)
{
return 0;
}
static inline void
wpa_supplicant_ctrl_iface_deinit(struct wpa_supplicant *wpa_s)
{
}
static inline void
wpa_supplicant_ctrl_iface_send(struct wpa_supplicant *wpa_s, int level,
char *buf, size_t len)
{
}
#endif /* CONFIG_CTRL_IFACE */
#endif /* CTRL_IFACE_H */
|