ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/vendor/wpa/dist/hostapd/ctrl_iface.h
Revision: 9639
Committed: Sun Oct 22 18:11:47 2017 UTC (6 years, 6 months ago) by laffer1
Content type: text/plain
File size: 998 byte(s)
Log Message:
wpa supplicant/hostapd 2.0

File Contents

# Content
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 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)
19 {
20 return 0;
21 }
22
23 static inline void hostapd_ctrl_iface_deinit(struct hostapd_data *hapd)
24 {
25 }
26
27 static inline int
28 hostapd_global_ctrl_iface_init(struct hapd_interfaces *interface)
29 {
30 return 0;
31 }
32
33 static inline void
34 hostapd_global_ctrl_iface_deinit(struct hapd_interfaces *interface)
35 {
36 }
37 #endif /* CONFIG_NO_CTRL_IFACE */
38
39 #endif /* CTRL_IFACE_H */