Home | History | Annotate | Download | only in hostapd
      1 /*
      2  * hostapd / UNIX domain socket -based control interface
      3  * Copyright (c) 2004, Jouni Malinen <j (at) 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 */
     16 static inline int hostapd_ctrl_iface_init(struct hostapd_data *hapd)
     17 {
     18 	return 0;
     19 }
     20 
     21 static 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