2 * hostapd / UNIX domain socket -based control interface
3 * Copyright (c) 2004, Jouni Malinen <j@w1.fi>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
9 * Alternatively, this software may be distributed under the terms of BSD
12 * See README and COPYING for more details.
18 #ifndef CONFIG_NO_CTRL_IFACE
19 int hostapd_ctrl_iface_init(struct hostapd_data
*hapd
);
20 void hostapd_ctrl_iface_deinit(struct hostapd_data
*hapd
);
21 #else /* CONFIG_NO_CTRL_IFACE */
22 static inline int hostapd_ctrl_iface_init(struct hostapd_data
*hapd
)
27 static inline void hostapd_ctrl_iface_deinit(struct hostapd_data
*hapd
)
30 #endif /* CONFIG_NO_CTRL_IFACE */
32 #endif /* CTRL_IFACE_H */