xref: /freebsd/contrib/wpa/wpa_supplicant/binder/binder_i.h (revision 780fb4a2fa9a9aee5ac48a60b790f567c0dc13e9)
1*780fb4a2SCy Schubert /*
2*780fb4a2SCy Schubert  * binder interface for wpa_supplicant daemon
3*780fb4a2SCy Schubert  * Copyright (c) 2004-2016, Jouni Malinen <j@w1.fi>
4*780fb4a2SCy Schubert  * Copyright (c) 2004-2016, Roshan Pius <rpius@google.com>
5*780fb4a2SCy Schubert  *
6*780fb4a2SCy Schubert  * This software may be distributed under the terms of the BSD license.
7*780fb4a2SCy Schubert  * See README for more details.
8*780fb4a2SCy Schubert  */
9*780fb4a2SCy Schubert 
10*780fb4a2SCy Schubert #ifndef BINDER_I_H
11*780fb4a2SCy Schubert #define BINDER_I_H
12*780fb4a2SCy Schubert 
13*780fb4a2SCy Schubert #ifdef _cplusplus
14*780fb4a2SCy Schubert extern "C" {
15*780fb4a2SCy Schubert #endif // _cplusplus
16*780fb4a2SCy Schubert 
17*780fb4a2SCy Schubert struct wpas_binder_priv
18*780fb4a2SCy Schubert {
19*780fb4a2SCy Schubert 	int binder_fd;
20*780fb4a2SCy Schubert 	struct wpa_global *global;
21*780fb4a2SCy Schubert 	void *binder_manager;
22*780fb4a2SCy Schubert };
23*780fb4a2SCy Schubert 
24*780fb4a2SCy Schubert #ifdef _cplusplus
25*780fb4a2SCy Schubert }
26*780fb4a2SCy Schubert #endif /* _cplusplus */
27*780fb4a2SCy Schubert 
28*780fb4a2SCy Schubert #endif /* BINDER_I_H */
29