xref: /aosp_15_r20/external/wpa_supplicant_8/hostapd/aidl/aidl.h (revision 03f9172ca588f91df233974f4258bab95191f931)
1 /*
2  * aidl interface for wpa_supplicant daemon
3  * Copyright (c) 2004-2018, Jouni Malinen <[email protected]>
4  * Copyright (c) 2004-2018, 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 #pragma once
11 
12 #ifdef __cplusplus
13 extern "C"
14 {
15 #endif  // _cplusplus
16 #include "ap/hostapd.h"
17 
18 /**
19  * This is the aidl RPC interface entry point to the hostapd core.
20  * This initializes the aidl driver & IHostapd instance.
21  */
22 int hostapd_aidl_init(struct hapd_interfaces *interfaces);
23 void hostapd_aidl_deinit(struct hapd_interfaces *interfaces);
24 
25 #ifdef __cplusplus
26 }
27 #endif  // _cplusplus
28