2 * WPA Supplicant / dbus-based control interface
3 * Copyright (c) 2006, Dan Williams <dcbw@redhat.com> and Red Hat, Inc.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
9 * Alternatively, this software may be distributed under the terms of BSD
12 * See README and COPYING for more details.
15 #ifndef CTRL_IFACE_DBUS_HANDLERS_H
16 #define CTRL_IFACE_DBUS_HANDLERS_H
18 #ifdef CONFIG_CTRL_IFACE_DBUS
20 DBusMessage
* wpas_dbus_new_invalid_iface_error(DBusMessage
*message
);
22 DBusMessage
* wpas_dbus_global_add_interface(DBusMessage
*message
,
23 struct wpa_global
*global
);
25 DBusMessage
* wpas_dbus_global_remove_interface(DBusMessage
*message
,
26 struct wpa_global
*global
);
28 DBusMessage
* wpas_dbus_global_get_interface(DBusMessage
*message
,
29 struct wpa_global
*global
);
31 DBusMessage
* wpas_dbus_iface_scan(DBusMessage
*message
,
32 struct wpa_supplicant
*wpa_s
);
34 DBusMessage
* wpas_dbus_iface_scan_results(DBusMessage
*message
,
35 struct wpa_supplicant
*wpa_s
);
37 DBusMessage
* wpas_dbus_bssid_properties(DBusMessage
*message
,
38 struct wpa_supplicant
*wpa_s
,
39 struct wpa_scan_res
*res
);
41 DBusMessage
* wpas_dbus_iface_capabilities(DBusMessage
*message
,
42 struct wpa_supplicant
*wpa_s
);
44 DBusMessage
* wpas_dbus_iface_add_network(DBusMessage
*message
,
45 struct wpa_supplicant
*wpa_s
);
47 DBusMessage
* wpas_dbus_iface_remove_network(DBusMessage
*message
,
48 struct wpa_supplicant
*wpa_s
);
50 DBusMessage
* wpas_dbus_iface_set_network(DBusMessage
*message
,
51 struct wpa_supplicant
*wpa_s
,
52 struct wpa_ssid
*ssid
);
54 DBusMessage
* wpas_dbus_iface_enable_network(DBusMessage
*message
,
55 struct wpa_supplicant
*wpa_s
,
56 struct wpa_ssid
*ssid
);
58 DBusMessage
* wpas_dbus_iface_disable_network(DBusMessage
*message
,
59 struct wpa_supplicant
*wpa_s
,
60 struct wpa_ssid
*ssid
);
62 DBusMessage
* wpas_dbus_iface_select_network(DBusMessage
*message
,
63 struct wpa_supplicant
*wpa_s
);
65 DBusMessage
* wpas_dbus_iface_disconnect(DBusMessage
*message
,
66 struct wpa_supplicant
*wpa_s
);
68 DBusMessage
* wpas_dbus_iface_set_ap_scan(DBusMessage
*message
,
69 struct wpa_supplicant
*wpa_s
);
71 DBusMessage
* wpas_dbus_iface_set_smartcard_modules(
72 DBusMessage
*message
, struct wpa_supplicant
*wpa_s
);
74 DBusMessage
* wpas_dbus_iface_get_state(DBusMessage
*message
,
75 struct wpa_supplicant
*wpa_s
);
77 DBusMessage
* wpas_dbus_iface_set_blobs(DBusMessage
*message
,
78 struct wpa_supplicant
*wpa_s
);
80 DBusMessage
* wpas_dbus_iface_remove_blobs(DBusMessage
*message
,
81 struct wpa_supplicant
*wpa_s
);
83 #endif /* CONFIG_CTRL_IFACE_DBUS */
85 #endif /* CTRL_IFACE_DBUS_HANDLERS_H */