wpa_supplicant: add DBus method for changing debug parameters
authorHelmut Schaa <helmut.schaa@googlemail.com>
Wed, 6 May 2009 08:54:00 +0000 (11:54 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 6 May 2009 08:54:00 +0000 (11:54 +0300)
commit01a569e8a131cc6150210036ae171b8bfd418a3f
treef752ae293db43ba724b4b51f36a6e8db2f046fe4
parent617d1555479aecf3bf13e35202a46c63e8d19052
wpa_supplicant: add DBus method for changing debug parameters

Add a new DBus method "setDebugParams" which takes the parameters
debug_level, debug_timestamp and show_keys as input and updates the
internal debug variables accordingly.

To change the debug level, enable/disable timestamps and enable/disable
show_keys the following dbus-send command can be used:

dbus-send --system --dest=fi.epitest.hostap.WPASupplicant --print-reply
/fi/epitest/hostap/WPASupplicant fi.epitest.hostap.WPASupplicant.setDebugParams
int32:0 boolean:false boolean:false

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
wpa_supplicant/ctrl_iface_dbus.c
wpa_supplicant/ctrl_iface_dbus_handlers.c
wpa_supplicant/ctrl_iface_dbus_handlers.h