binder.h 839 B

1234567891011121314151617181920212223242526272829303132
  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. #ifndef BINDER_H
  10. #define BINDER_H
  11. #ifdef _cplusplus
  12. extern "C" {
  13. #endif /* _cplusplus */
  14. /**
  15. * This is the binder RPC interface entry point to the wpa_supplicant core.
  16. * This initializes the binder driver & BinderManager instance and then forwards
  17. * all the notifcations from the supplicant core to the BinderManager.
  18. */
  19. struct wpas_binder_priv;
  20. struct wpa_global;
  21. struct wpas_binder_priv * wpas_binder_init(struct wpa_global *global);
  22. void wpas_binder_deinit(struct wpas_binder_priv *priv);
  23. #ifdef _cplusplus
  24. }
  25. #endif /* _cplusplus */
  26. #endif /* BINDER_H */