aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/binder/binder.h
diff options
context:
space:
mode:
Diffstat (limited to 'wpa_supplicant/binder/binder.h')
-rw-r--r--wpa_supplicant/binder/binder.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/wpa_supplicant/binder/binder.h b/wpa_supplicant/binder/binder.h
index 6406f09..a165074 100644
--- a/wpa_supplicant/binder/binder.h
+++ b/wpa_supplicant/binder/binder.h
@@ -25,6 +25,20 @@ struct wpa_global;
struct wpas_binder_priv * wpas_binder_init(struct wpa_global *global);
void wpas_binder_deinit(struct wpas_binder_priv *priv);
+#ifdef CONFIG_CTRL_IFACE_BINDER
+int wpas_binder_register_interface(struct wpa_supplicant *wpa_s);
+int wpas_binder_unregister_interface(struct wpa_supplicant *wpa_s);
+#else /* CONFIG_CTRL_IFACE_BINDER */
+static inline int wpas_binder_register_interface(struct wpa_supplicant *wpa_s)
+{
+ return 0;
+}
+static inline int wpas_binder_unregister_interface(struct wpa_supplicant *wpa_s)
+{
+ return 0;
+}
+#endif /* CONFIG_CTRL_IFACE_BINDER */
+
#ifdef _cplusplus
}
#endif /* _cplusplus */