1324714Scy/* 2324714Scy * binder interface for wpa_supplicant daemon 3324714Scy * Copyright (c) 2004-2016, Jouni Malinen <j@w1.fi> 4324714Scy * Copyright (c) 2004-2016, Roshan Pius <rpius@google.com> 5324714Scy * 6324714Scy * This software may be distributed under the terms of the BSD license. 7324714Scy * See README for more details. 8324714Scy */ 9324714Scy 10324714Scy#ifndef WPA_SUPPLICANT_BINDER_IFACE_H 11324714Scy#define WPA_SUPPLICANT_BINDER_IFACE_H 12324714Scy 13324714Scy#include "fi/w1/wpa_supplicant/BnIface.h" 14324714Scy 15324714Scyextern "C" { 16324714Scy#include "utils/common.h" 17324714Scy#include "utils/includes.h" 18324714Scy#include "../wpa_supplicant_i.h" 19324714Scy} 20324714Scy 21324714Scynamespace wpa_supplicant_binder { 22324714Scy 23324714Scy/** 24324714Scy * Implementation of Iface binder object. Each unique binder 25324714Scy * object is used for control operations on a specific interface 26324714Scy * controlled by wpa_supplicant. 27324714Scy */ 28324714Scyclass Iface : public fi::w1::wpa_supplicant::BnIface 29324714Scy{ 30324714Scypublic: 31324714Scy Iface(struct wpa_supplicant *wpa_s); 32324714Scy virtual ~Iface() = default; 33324714Scy 34324714Scyprivate: 35324714Scy /* Raw pointer to the structure maintained by the core for this 36324714Scy * interface. */ 37324714Scy struct wpa_supplicant *wpa_s_; 38324714Scy}; 39324714Scy 40324714Scy} /* namespace wpa_supplicant_binder */ 41324714Scy 42324714Scy#endif /* WPA_SUPPLICANT_BINDER_IFACE_H */ 43