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 DBusMessage
* wpas_dbus_new_invalid_iface_error(DBusMessage
*message
);
20 DBusMessage
* wpas_dbus_global_add_interface(DBusMessage
*message
,
21 struct wpa_global
*global
);
23 DBusMessage
* wpas_dbus_global_remove_interface(DBusMessage
*message
,
24 struct wpa_global
*global
);
26 DBusMessage
* wpas_dbus_global_get_interface(DBusMessage
*message
,
27 struct wpa_global
*global
);
29 DBusMessage
* wpas_dbus_global_set_debugparams(DBusMessage
*message
,
30 struct wpa_global
*global
);
32 DBusMessage
* wpas_dbus_iface_scan(DBusMessage
*message
,
33 struct wpa_supplicant
*wpa_s
);
35 DBusMessage
* wpas_dbus_iface_scan_results(DBusMessage
*message
,
36 struct wpa_supplicant
*wpa_s
);
38 DBusMessage
* wpas_dbus_bssid_properties(DBusMessage
*message
,
39 struct wpa_supplicant
*wpa_s
,
40 struct wpa_scan_res
*res
);
42 DBusMessage
* wpas_dbus_iface_capabilities(DBusMessage
*message
,
43 struct wpa_supplicant
*wpa_s
);
45 DBusMessage
* wpas_dbus_iface_add_network(DBusMessage
*message
,
46 struct wpa_supplicant
*wpa_s
);
48 DBusMessage
* wpas_dbus_iface_remove_network(DBusMessage
*message
,
49 struct wpa_supplicant
*wpa_s
);
51 DBusMessage
* wpas_dbus_iface_set_network(DBusMessage
*message
,
52 struct wpa_supplicant
*wpa_s
,
53 struct wpa_ssid
*ssid
);
55 DBusMessage
* wpas_dbus_iface_enable_network(DBusMessage
*message
,
56 struct wpa_supplicant
*wpa_s
,
57 struct wpa_ssid
*ssid
);
59 DBusMessage
* wpas_dbus_iface_disable_network(DBusMessage
*message
,
60 struct wpa_supplicant
*wpa_s
,
61 struct wpa_ssid
*ssid
);
63 DBusMessage
* wpas_dbus_iface_select_network(DBusMessage
*message
,
64 struct wpa_supplicant
*wpa_s
);
66 DBusMessage
* wpas_dbus_iface_disconnect(DBusMessage
*message
,
67 struct wpa_supplicant
*wpa_s
);
69 DBusMessage
* wpas_dbus_iface_set_ap_scan(DBusMessage
*message
,
70 struct wpa_supplicant
*wpa_s
);
72 DBusMessage
* wpas_dbus_iface_set_smartcard_modules(
73 DBusMessage
*message
, struct wpa_supplicant
*wpa_s
);
75 DBusMessage
* wpas_dbus_iface_get_state(DBusMessage
*message
,
76 struct wpa_supplicant
*wpa_s
);
78 DBusMessage
* wpas_dbus_iface_get_scanning(DBusMessage
*message
,
79 struct wpa_supplicant
*wpa_s
);
81 DBusMessage
* wpas_dbus_iface_set_blobs(DBusMessage
*message
,
82 struct wpa_supplicant
*wpa_s
);
84 DBusMessage
* wpas_dbus_iface_remove_blobs(DBusMessage
*message
,
85 struct wpa_supplicant
*wpa_s
);
87 DBusMessage
* wpas_dbus_iface_wps_pbc(DBusMessage
*message
,
88 struct wpa_supplicant
*wpa_s
);
90 DBusMessage
* wpas_dbus_iface_wps_pin(DBusMessage
*message
,
91 struct wpa_supplicant
*wpa_s
);
93 DBusMessage
* wpas_dbus_iface_wps_reg(DBusMessage
*message
,
94 struct wpa_supplicant
*wpa_s
);
96 DBusMessage
* wpas_dbus_new_success_reply(DBusMessage
*message
);
97 DBusMessage
* wpas_dbus_new_invalid_opts_error(DBusMessage
*message
,
100 #endif /* CTRL_IFACE_DBUS_HANDLERS_H */