]> git.ipfire.org Git - thirdparty/hostap.git/blame - hostapd/ctrl_iface.h
Remove the GPL notification from files contributed by Jouni Malinen
[thirdparty/hostap.git] / hostapd / ctrl_iface.h
CommitLineData
6fc6879b
JM
1/*
2 * hostapd / UNIX domain socket -based control interface
3 * Copyright (c) 2004, Jouni Malinen <j@w1.fi>
4 *
0f3d578e
JM
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
6fc6879b
JM
7 */
8
9#ifndef CTRL_IFACE_H
10#define CTRL_IFACE_H
11
7fd46d46 12#ifndef CONFIG_NO_CTRL_IFACE
6fc6879b
JM
13int hostapd_ctrl_iface_init(struct hostapd_data *hapd);
14void hostapd_ctrl_iface_deinit(struct hostapd_data *hapd);
7fd46d46
JM
15#else /* CONFIG_NO_CTRL_IFACE */
16static inline int hostapd_ctrl_iface_init(struct hostapd_data *hapd)
17{
18 return 0;
19}
20
21static inline void hostapd_ctrl_iface_deinit(struct hostapd_data *hapd)
22{
23}
7fd46d46 24#endif /* CONFIG_NO_CTRL_IFACE */
6fc6879b
JM
25
26#endif /* CTRL_IFACE_H */