diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-12-19 13:23:15 -0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-12-19 13:23:15 -0800 |
commit | 7bc004006cb45f73276ef56edc03dac4177becc3 (patch) | |
tree | bfcedb35928e20c965c7c51cf0e0ae251a554f59 /include | |
parent | 771829488c36eb8ee9ce09a12ecb7517e3cf4f04 (diff) | |
download | connman-7bc004006cb45f73276ef56edc03dac4177becc3.tar.gz connman-7bc004006cb45f73276ef56edc03dac4177becc3.tar.bz2 connman-7bc004006cb45f73276ef56edc03dac4177becc3.zip |
Add user data argument to D-Bus array property helpers
Diffstat (limited to 'include')
-rw-r--r-- | include/dbus.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/dbus.h b/include/dbus.h index db681b96..bc252955 100644 --- a/include/dbus.h +++ b/include/dbus.h @@ -55,8 +55,9 @@ void connman_dbus_property_append_dict(DBusMessageIter *iter, const char *key, connman_dbus_append_cb_t function, void *user_data); void connman_dbus_property_append_fixed_array(DBusMessageIter *iter, const char *key, int type, void *val, int len); -void connman_dbus_property_append_variable_array(DBusMessageIter *dict, - const char *key, int type, connman_dbus_append_cb_t function); +void connman_dbus_property_append_variable_array(DBusMessageIter *iter, + const char *key, int type, + connman_dbus_append_cb_t function, void *user_data); dbus_bool_t connman_dbus_property_changed_basic(const char *path, const char *interface, const char *key, @@ -121,7 +122,7 @@ static inline void connman_dbus_dict_append_variable_array(DBusMessageIter *dict dbus_message_iter_open_container(dict, DBUS_TYPE_DICT_ENTRY, NULL, &entry); connman_dbus_property_append_variable_array(&entry, key, - type, function); + type, function, NULL); dbus_message_iter_close_container(dict, &entry); } |