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_NEW_HANDLERS_H
16 #define CTRL_IFACE_DBUS_NEW_HANDLERS_H
18 struct network_handler_args
{
19 struct wpa_supplicant
*wpa_s
;
20 struct wpa_ssid
*ssid
;
23 struct bss_handler_args
{
24 struct wpa_supplicant
*wpa_s
;
28 DBusMessage
* wpas_dbus_handler_create_interface(DBusMessage
*message
,
29 struct wpa_global
*global
);
31 DBusMessage
* wpas_dbus_handler_remove_interface(DBusMessage
*message
,
32 struct wpa_global
*global
);
34 DBusMessage
* wpas_dbus_handler_get_interface(DBusMessage
*message
,
35 struct wpa_global
*global
);
37 DBusMessage
* wpas_dbus_getter_debug_params(DBusMessage
*message
,
38 struct wpa_global
*global
);
40 DBusMessage
* wpas_dbus_setter_debug_params(DBusMessage
*message
,
41 struct wpa_global
*global
);
43 DBusMessage
* wpas_dbus_getter_interfaces(DBusMessage
*message
,
44 struct wpa_global
*global
);
46 DBusMessage
* wpas_dbus_getter_eap_methods(DBusMessage
*message
,
49 DBusMessage
* wpas_dbus_handler_scan(DBusMessage
*message
,
50 struct wpa_supplicant
*wpa_s
);
52 DBusMessage
* wpas_dbus_handler_disconnect(DBusMessage
*message
,
53 struct wpa_supplicant
*wpa_s
);
55 DBusMessage
* wpas_dbus_handler_add_network(DBusMessage
*message
,
56 struct wpa_supplicant
*wpa_s
);
58 DBusMessage
* wpas_dbus_handler_remove_network(DBusMessage
*message
,
59 struct wpa_supplicant
*wpa_s
);
61 DBusMessage
* wpas_dbus_handler_select_network(DBusMessage
*message
,
62 struct wpa_supplicant
*wpa_s
);
64 DBusMessage
* wpas_dbus_handler_add_blob(DBusMessage
*message
,
65 struct wpa_supplicant
*wpa_s
);
67 DBusMessage
* wpas_dbus_handler_get_blob(DBusMessage
*message
,
68 struct wpa_supplicant
*wpa_s
);
70 DBusMessage
* wpas_dbus_handler_remove_blob(DBusMessage
*message
,
71 struct wpa_supplicant
*wpa_s
);
73 DBusMessage
* wpas_dbus_getter_capabilities(DBusMessage
*message
,
74 struct wpa_supplicant
*wpa_s
);
76 DBusMessage
* wpas_dbus_getter_state(DBusMessage
*message
,
77 struct wpa_supplicant
*wpa_s
);
79 DBusMessage
* wpas_dbus_getter_scanning(DBusMessage
*message
,
80 struct wpa_supplicant
*wpa_s
);
82 DBusMessage
* wpas_dbus_getter_ap_scan(DBusMessage
*message
,
83 struct wpa_supplicant
*wpa_s
);
85 DBusMessage
* wpas_dbus_setter_ap_scan(DBusMessage
*message
,
86 struct wpa_supplicant
*wpa_s
);
88 DBusMessage
* wpas_dbus_getter_ifname(DBusMessage
*message
,
89 struct wpa_supplicant
*wpa_s
);
91 DBusMessage
* wpas_dbus_getter_driver(DBusMessage
*message
,
92 struct wpa_supplicant
*wpa_s
);
94 DBusMessage
* wpas_dbus_getter_bridge_ifname(DBusMessage
*message
,
95 struct wpa_supplicant
*wpa_s
);
97 DBusMessage
* wpas_dbus_getter_current_bss(DBusMessage
*message
,
98 struct wpa_supplicant
*wpa_s
);
100 DBusMessage
* wpas_dbus_getter_current_network(DBusMessage
*message
,
101 struct wpa_supplicant
*wpa_s
);
103 DBusMessage
* wpas_dbus_getter_bsss(DBusMessage
*message
,
104 struct wpa_supplicant
*wpa_s
);
106 DBusMessage
* wpas_dbus_getter_networks(DBusMessage
*message
,
107 struct wpa_supplicant
*wpa_s
);
109 DBusMessage
* wpas_dbus_getter_blobs(DBusMessage
*message
,
110 struct wpa_supplicant
*bss
);
112 DBusMessage
* wpas_dbus_getter_bss_properties(DBusMessage
*message
,
113 struct bss_handler_args
*bss
);
115 DBusMessage
* wpas_dbus_getter_enabled(DBusMessage
*message
,
116 struct network_handler_args
*net
);
118 DBusMessage
* wpas_dbus_setter_enabled(DBusMessage
*message
,
119 struct network_handler_args
*net
);
121 DBusMessage
* wpas_dbus_getter_network_properties(
122 DBusMessage
*message
, struct network_handler_args
*net
);
124 DBusMessage
* wpas_dbus_setter_network_properties(
125 DBusMessage
*message
, struct network_handler_args
*net
);
127 DBusMessage
* wpas_dbus_handler_wps_start(DBusMessage
*message
,
128 struct wpa_supplicant
*wpa_s
);
130 DBusMessage
* wpas_dbus_getter_process_credentials(
131 DBusMessage
*message
, struct wpa_supplicant
*wpa_s
);
133 DBusMessage
* wpas_dbus_setter_process_credentials(
134 DBusMessage
*message
, struct wpa_supplicant
*wpa_s
);
136 DBusMessage
* wpas_dbus_getter_credentials(DBusMessage
*message
,
137 struct wpa_supplicant
*wpa_s
);
139 DBusMessage
* wpas_dbus_error_invald_args(DBusMessage
*message
,
141 DBusMessage
* wpas_dbus_error_unknown_error(DBusMessage
*message
,
144 #endif /* CTRL_IFACE_DBUS_HANDLERS_NEW_H */