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.
13 #include "fi/w1/wpa_supplicant/BnSupplicant.h"
14 #include "fi/w1/wpa_supplicant/ISupplicantCallbacks.h"
17 #include "utils/includes.h"
18 #include "utils/common.h"
19 #include "../wpa_supplicant_i.h"
22 namespace wpa_supplicant_binder {
25 * Implementation of the supplicant binder object. This binder
26 * object is used core for global control operations on
29 class Supplicant : public fi::w1::wpa_supplicant::BnSupplicant
32 Supplicant(struct wpa_global *global);
33 virtual ~Supplicant() = default;
36 /* Raw pointer to the global structure maintained by the core. */
37 struct wpa_global *wpa_global_;
38 /* All the callback objects registered by the clients. */
39 std::vector<android::sp<fi::w1::wpa_supplicant::ISupplicantCallbacks>>
43 } /* namespace wpa_supplicant_binder */
45 #endif /* SUPPLICANT_H */