wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ctrl_iface.h
Go to the documentation of this file.
1 
5 #ifndef CTRL_IFACE_H
6 #define CTRL_IFACE_H
7 
8 #ifndef CONFIG_NO_CTRL_IFACE
9 int hostapd_ctrl_iface_init(struct hostapd_data *hapd);
10 void hostapd_ctrl_iface_deinit(struct hostapd_data *hapd);
11 int hostapd_global_ctrl_iface_init(struct hapd_interfaces *interface);
12 void hostapd_global_ctrl_iface_deinit(struct hapd_interfaces *interface);
13 #else /* CONFIG_NO_CTRL_IFACE */
14 static inline int hostapd_ctrl_iface_init(struct hostapd_data *hapd)
15 {
16  return 0;
17 }
18 
19 static inline void hostapd_ctrl_iface_deinit(struct hostapd_data *hapd)
20 {
21 }
22 
23 static inline int
24 hostapd_global_ctrl_iface_init(struct hapd_interfaces *interface)
25 {
26  return 0;
27 }
28 
29 static inline void
30 hostapd_global_ctrl_iface_deinit(struct hapd_interfaces *interface)
31 {
32 }
33 #endif /* CONFIG_NO_CTRL_IFACE */
34 
35 #endif /* CTRL_IFACE_H */
Definition: hostapd.h:28
hostapd per-BSS data structure
Definition: hostapd.h:103