diff options
Diffstat (limited to 'contrib/wpa_supplicant/ctrl_iface.h')
-rw-r--r-- | contrib/wpa_supplicant/ctrl_iface.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/contrib/wpa_supplicant/ctrl_iface.h b/contrib/wpa_supplicant/ctrl_iface.h index d7ad6df..affa604 100644 --- a/contrib/wpa_supplicant/ctrl_iface.h +++ b/contrib/wpa_supplicant/ctrl_iface.h @@ -1,3 +1,17 @@ +/* + * WPA Supplicant / UNIX domain socket -based control interface + * Copyright (c) 2004-2005, Jouni Malinen <jkmaline@cc.hut.fi> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * Alternatively, this software may be distributed under the terms of BSD + * license. + * + * See README and COPYING for more details. + */ + #ifndef CTRL_IFACE_H #define CTRL_IFACE_H @@ -7,6 +21,9 @@ 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); +void wpa_supplicant_ctrl_iface_wait(struct wpa_supplicant *wpa_s); +int wpa_supplicant_global_ctrl_iface_init(struct wpa_global *global); +void wpa_supplicant_global_ctrl_iface_deinit(struct wpa_global *global); #else /* CONFIG_CTRL_IFACE */ @@ -26,6 +43,22 @@ wpa_supplicant_ctrl_iface_send(struct wpa_supplicant *wpa_s, int level, { } +static inline void +wpa_supplicant_ctrl_iface_wait(struct wpa_supplicant *wpa_s) +{ +} + +static inline int +wpa_supplicant_global_ctrl_iface_init(struct wpa_global *global) +{ + return 0; +} + +static inline void +wpa_supplicant_global_ctrl_iface_deinit(struct wpa_global *global) +{ +} + #endif /* CONFIG_CTRL_IFACE */ #endif /* CTRL_IFACE_H */ |