diff options
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2014-03-21 16:16:36 -0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-03-24 14:27:51 -0700 |
commit | 6fdcfc309cf85f33e1dd6477d56121d9ff61ec7a (patch) | |
tree | 9533e66502e55244456c7e3d38a32c60d9493e87 /gdbus/gdbus.h | |
parent | 4585969568dbc3e3a4873fbef56bb245ce2ba242 (diff) | |
download | ofono-6fdcfc309cf85f33e1dd6477d56121d9ff61ec7a.tar.bz2 |
gdbus: Add g_dbus_proxy_set_property_array
This patch adds a new gdbus utility function to allow setting a property
of fixed, and non-fixed values array.
Diffstat (limited to 'gdbus/gdbus.h')
-rw-r--r-- | gdbus/gdbus.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdbus/gdbus.h b/gdbus/gdbus.h index 8ada2009..551c306a 100644 --- a/gdbus/gdbus.h +++ b/gdbus/gdbus.h @@ -329,6 +329,11 @@ gboolean g_dbus_proxy_set_property_basic(GDBusProxy *proxy, GDBusResultFunction function, void *user_data, GDBusDestroyFunction destroy); +gboolean g_dbus_proxy_set_property_array(GDBusProxy *proxy, + const char *name, int type, const void *value, + size_t size, GDBusResultFunction function, + void *user_data, GDBusDestroyFunction destroy); + typedef void (* GDBusSetupFunction) (DBusMessageIter *iter, void *user_data); typedef void (* GDBusReturnFunction) (DBusMessage *message, void *user_data); |