]>
git.ipfire.org Git - thirdparty/hostap.git/blob - hostapd/ctrl_iface.h
2 * hostapd / UNIX domain socket -based control interface
3 * Copyright (c) 2004, Jouni Malinen <j@w1.fi>
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
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 int hostapd_global_ctrl_iface_init(struct hapd_interfaces
*interface
);
16 void hostapd_global_ctrl_iface_deinit(struct hapd_interfaces
*interface
);
17 #else /* CONFIG_NO_CTRL_IFACE */
18 static inline int hostapd_ctrl_iface_init(struct hostapd_data
*hapd
)
23 static inline void hostapd_ctrl_iface_deinit(struct hostapd_data
*hapd
)
28 hostapd_global_ctrl_iface_init(struct hapd_interfaces
*interface
)
34 hostapd_global_ctrl_iface_deinit(struct hapd_interfaces
*interface
)
37 #endif /* CONFIG_NO_CTRL_IFACE */
39 #endif /* CTRL_IFACE_H */