]> git.ipfire.org Git - thirdparty/hostap.git/blame - wpa_supplicant/binder/binder.h
binder: Add binder skeletal code for Android
[thirdparty/hostap.git] / wpa_supplicant / binder / binder.h
CommitLineData
7b4bbb9f
RP
1/*
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>
5 *
6 * This software may be distributed under the terms of the BSD license.
7 * See README for more details.
8 */
9
10#ifndef BINDER_H
11#define BINDER_H
12
13#ifdef _cplusplus
14extern "C" {
15#endif /* _cplusplus */
16
17/**
18 * This is the binder RPC interface entry point to the wpa_supplicant core.
19 * This initializes the binder driver & BinderManager instance and then forwards
20 * all the notifcations from the supplicant core to the BinderManager.
21 */
22struct wpas_binder_priv;
23struct wpa_global;
24
25struct wpas_binder_priv * wpas_binder_init(struct wpa_global *global);
26void wpas_binder_deinit(struct wpas_binder_priv *priv);
27
28#ifdef _cplusplus
29}
30#endif /* _cplusplus */
31
32#endif /* BINDER_H */