1 /* 2 * hostapd / UNIX domain socket -based control interface 3 * Copyright (c) 2004, Jouni Malinen <j@w1.fi> 4 * 5 * This software may be distributed under the terms of the BSD license. 6 * See README for more details. 7 */ 8 9 #ifndef CTRL_IFACE_H 10 #define CTRL_IFACE_H 11 12 #ifndef CONFIG_NO_CTRL_IFACE 13 int hostapd_ctrl_iface_init(struct hostapd_data *hapd); 14 void hostapd_ctrl_iface_deinit(struct hostapd_data *hapd); 15 #else /* CONFIG_NO_CTRL_IFACE */ hostapd_ctrl_iface_init(struct hostapd_data * hapd)16static inline int hostapd_ctrl_iface_init(struct hostapd_data *hapd) 17 { 18 return 0; 19 } 20 hostapd_ctrl_iface_deinit(struct hostapd_data * hapd)21static inline void hostapd_ctrl_iface_deinit(struct hostapd_data *hapd) 22 { 23 } 24 #endif /* CONFIG_NO_CTRL_IFACE */ 25 26 #endif /* CTRL_IFACE_H */ 27