Debian Codegraph @

wpa_supplicant/binder/iface.h

raw
1 /*
2 * binder interface for wpa_supplicant daemon
3 * Copyright (c) 2004-2016, Jouni Malinen <[email protected]>
4 * Copyright (c) 2004-2016, Roshan Pius <[email protected]>
5 *
6 * This software may be distributed under the terms of the BSD license.
7 * See README for more details.
8 */
9
10 #ifndef WPA_SUPPLICANT_BINDER_IFACE_H
11 #define WPA_SUPPLICANT_BINDER_IFACE_H
12
13 #include "fi/w1/wpa_supplicant/BnIface.h"
14
15 extern "C" {
16 #include "utils/common.h"
17 #include "utils/includes.h"
18 #include "../wpa_supplicant_i.h"
19 }
20
21 namespace wpa_supplicant_binder {
22
23 /**
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.
27 */
28 class Iface : public fi::w1::wpa_supplicant::BnIface
29 {
30 public:
31 Iface(struct wpa_supplicant *wpa_s);
32 virtual ~Iface() = default;
33
34 private:
35 /* Raw pointer to the structure maintained by the core for this
36 * interface. */
37 struct wpa_supplicant *wpa_s_;
38 };
39
40 } /* namespace wpa_supplicant_binder */
41
42 #endif /* WPA_SUPPLICANT_BINDER_IFACE_H */