2008-02-27 20:34:43 -05:00
|
|
|
/*
|
|
|
|
* WPA Supplicant / dbus-based control interface
|
|
|
|
* Copyright (c) 2006, Dan Williams <dcbw@redhat.com> and Red Hat, Inc.
|
|
|
|
*
|
2012-07-02 05:04:38 -04:00
|
|
|
* This software may be distributed under the terms of the BSD license.
|
|
|
|
* See README for more details.
|
2008-02-27 20:34:43 -05:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef CTRL_IFACE_DBUS_HANDLERS_H
|
|
|
|
#define CTRL_IFACE_DBUS_HANDLERS_H
|
|
|
|
|
2010-01-02 08:13:25 -05:00
|
|
|
struct wpa_bss;
|
|
|
|
|
2008-02-27 20:34:43 -05:00
|
|
|
DBusMessage * wpas_dbus_new_invalid_iface_error(DBusMessage *message);
|
2010-01-01 11:20:05 -05:00
|
|
|
DBusMessage * wpas_dbus_new_invalid_network_error(DBusMessage *message);
|
2008-02-27 20:34:43 -05:00
|
|
|
|
|
|
|
DBusMessage * wpas_dbus_global_add_interface(DBusMessage *message,
|
|
|
|
struct wpa_global *global);
|
|
|
|
|
|
|
|
DBusMessage * wpas_dbus_global_remove_interface(DBusMessage *message,
|
|
|
|
struct wpa_global *global);
|
|
|
|
|
|
|
|
DBusMessage * wpas_dbus_global_get_interface(DBusMessage *message,
|
|
|
|
struct wpa_global *global);
|
|
|
|
|
2009-05-06 04:54:00 -04:00
|
|
|
DBusMessage * wpas_dbus_global_set_debugparams(DBusMessage *message,
|
|
|
|
struct wpa_global *global);
|
|
|
|
|
2008-02-27 20:34:43 -05:00
|
|
|
DBusMessage * wpas_dbus_iface_scan(DBusMessage *message,
|
|
|
|
struct wpa_supplicant *wpa_s);
|
|
|
|
|
|
|
|
DBusMessage * wpas_dbus_iface_scan_results(DBusMessage *message,
|
|
|
|
struct wpa_supplicant *wpa_s);
|
|
|
|
|
|
|
|
DBusMessage * wpas_dbus_bssid_properties(DBusMessage *message,
|
|
|
|
struct wpa_supplicant *wpa_s,
|
2010-01-02 08:13:25 -05:00
|
|
|
struct wpa_bss *bss);
|
2008-02-27 20:34:43 -05:00
|
|
|
|
|
|
|
DBusMessage * wpas_dbus_iface_capabilities(DBusMessage *message,
|
|
|
|
struct wpa_supplicant *wpa_s);
|
|
|
|
|
|
|
|
DBusMessage * wpas_dbus_iface_add_network(DBusMessage *message,
|
|
|
|
struct wpa_supplicant *wpa_s);
|
|
|
|
|
|
|
|
DBusMessage * wpas_dbus_iface_remove_network(DBusMessage *message,
|
|
|
|
struct wpa_supplicant *wpa_s);
|
|
|
|
|
|
|
|
DBusMessage * wpas_dbus_iface_set_network(DBusMessage *message,
|
|
|
|
struct wpa_supplicant *wpa_s,
|
|
|
|
struct wpa_ssid *ssid);
|
|
|
|
|
|
|
|
DBusMessage * wpas_dbus_iface_enable_network(DBusMessage *message,
|
|
|
|
struct wpa_supplicant *wpa_s,
|
|
|
|
struct wpa_ssid *ssid);
|
|
|
|
|
|
|
|
DBusMessage * wpas_dbus_iface_disable_network(DBusMessage *message,
|
|
|
|
struct wpa_supplicant *wpa_s,
|
|
|
|
struct wpa_ssid *ssid);
|
|
|
|
|
|
|
|
DBusMessage * wpas_dbus_iface_select_network(DBusMessage *message,
|
2014-12-31 16:21:10 -05:00
|
|
|
struct wpa_supplicant *wpa_s);
|
2008-02-27 20:34:43 -05:00
|
|
|
|
|
|
|
DBusMessage * wpas_dbus_iface_disconnect(DBusMessage *message,
|
|
|
|
struct wpa_supplicant *wpa_s);
|
|
|
|
|
|
|
|
DBusMessage * wpas_dbus_iface_set_ap_scan(DBusMessage *message,
|
2014-12-31 16:21:10 -05:00
|
|
|
struct wpa_supplicant *wpa_s);
|
2008-02-27 20:34:43 -05:00
|
|
|
|
2008-04-28 10:15:56 -04:00
|
|
|
DBusMessage * wpas_dbus_iface_set_smartcard_modules(
|
|
|
|
DBusMessage *message, struct wpa_supplicant *wpa_s);
|
|
|
|
|
2008-02-27 20:34:43 -05:00
|
|
|
DBusMessage * wpas_dbus_iface_get_state(DBusMessage *message,
|
|
|
|
struct wpa_supplicant *wpa_s);
|
|
|
|
|
2009-05-27 14:06:40 -04:00
|
|
|
DBusMessage * wpas_dbus_iface_get_scanning(DBusMessage *message,
|
|
|
|
struct wpa_supplicant *wpa_s);
|
|
|
|
|
2008-02-27 20:34:43 -05:00
|
|
|
DBusMessage * wpas_dbus_iface_set_blobs(DBusMessage *message,
|
2014-12-31 16:21:10 -05:00
|
|
|
struct wpa_supplicant *wpa_s);
|
2008-02-27 20:34:43 -05:00
|
|
|
|
|
|
|
DBusMessage * wpas_dbus_iface_remove_blobs(DBusMessage *message,
|
|
|
|
struct wpa_supplicant *wpa_s);
|
|
|
|
|
2009-05-06 06:23:41 -04:00
|
|
|
DBusMessage * wpas_dbus_iface_wps_pbc(DBusMessage *message,
|
|
|
|
struct wpa_supplicant *wpa_s);
|
|
|
|
|
|
|
|
DBusMessage * wpas_dbus_iface_wps_pin(DBusMessage *message,
|
|
|
|
struct wpa_supplicant *wpa_s);
|
|
|
|
|
|
|
|
DBusMessage * wpas_dbus_iface_wps_reg(DBusMessage *message,
|
|
|
|
struct wpa_supplicant *wpa_s);
|
|
|
|
|
2011-03-20 06:02:33 -04:00
|
|
|
DBusMessage * wpas_dbus_iface_flush(DBusMessage *message,
|
|
|
|
struct wpa_supplicant *wpa_s);
|
|
|
|
|
2009-12-20 14:04:40 -05:00
|
|
|
DBusMessage * wpas_dbus_new_success_reply(DBusMessage *message);
|
|
|
|
DBusMessage * wpas_dbus_new_invalid_opts_error(DBusMessage *message,
|
|
|
|
const char *arg);
|
2008-02-27 20:34:43 -05:00
|
|
|
|
|
|
|
#endif /* CTRL_IFACE_DBUS_HANDLERS_H */
|
|
|
|
|