2 * binder interface for wpa_supplicant daemon
3 * Copyright (c) 2004-2016, Jouni Malinen <j@w1.fi>
4 * Copyright (c) 2004-2016, Roshan Pius <rpius@google.com>
6 * This software may be distributed under the terms of the BSD license.
7 * See README for more details.
10 #ifndef WPA_SUPPLICANT_BINDER_IFACE_H
11 #define WPA_SUPPLICANT_BINDER_IFACE_H
13 #include "fi/w1/wpa_supplicant/BnIface.h"
16 #include "utils/common.h"
17 #include "utils/includes.h"
18 #include "../wpa_supplicant_i.h"
21 namespace wpa_supplicant_binder {
24 * Implementation of Iface binder object. Each unique binder
25 * object is used for control operations on a specific interface
26 * controlled by wpa_supplicant.
28 class Iface : public fi::w1::wpa_supplicant::BnIface
31 Iface(struct wpa_supplicant *wpa_s);
32 virtual ~Iface() = default;
35 /* Raw pointer to the structure maintained by the core for this
37 struct wpa_supplicant *wpa_s_;
40 } /* namespace wpa_supplicant_binder */
42 #endif /* WPA_SUPPLICANT_BINDER_IFACE_H */