summaryrefslogtreecommitdiff
path: root/tools/supplicant-dbus.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-12-30 02:38:37 -0800
committerMarcel Holtmann <marcel@holtmann.org>2009-12-30 02:38:37 -0800
commita6b51d4e45f15c0eca7e5cfce377e4883ceae8e0 (patch)
treeeb1a37741585ccac83a619db1c446a73ded25599 /tools/supplicant-dbus.h
parent44730d1b724320894d1d7ec0b5717eeafbbb5408 (diff)
downloadconnman-a6b51d4e45f15c0eca7e5cfce377e4883ceae8e0.tar.gz
connman-a6b51d4e45f15c0eca7e5cfce377e4883ceae8e0.tar.bz2
connman-a6b51d4e45f15c0eca7e5cfce377e4883ceae8e0.zip
Add support for debug settings in supplicant test program
Diffstat (limited to 'tools/supplicant-dbus.h')
-rw-r--r--tools/supplicant-dbus.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/supplicant-dbus.h b/tools/supplicant-dbus.h
index 04cf0f54..51981e27 100644
--- a/tools/supplicant-dbus.h
+++ b/tools/supplicant-dbus.h
@@ -31,6 +31,9 @@ typedef void (* supplicant_dbus_array_function) (DBusMessageIter *iter,
typedef void (* supplicant_dbus_property_function) (const char *key,
DBusMessageIter *iter, void *user_data);
+typedef void (* supplicant_dbus_value_function) (DBusMessageIter *iter,
+ void *user_data);
+
void supplicant_dbus_setup(DBusConnection *conn);
void supplicant_dbus_array_foreach(DBusMessageIter *iter,
@@ -44,3 +47,8 @@ void supplicant_dbus_property_foreach(DBusMessageIter *iter,
int supplicant_dbus_property_get_all(const char *path, const char *interface,
supplicant_dbus_property_function function,
void *user_data);
+
+int supplicant_dbus_property_set(const char *path, const char *interface,
+ const char *key, const char *signature,
+ supplicant_dbus_value_function function,
+ void *user_data);