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