diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2012-12-14 15:19:53 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-12-19 03:49:11 +0100 |
commit | ebae80d0e56a216a6f50e5792d42dd721889f621 (patch) | |
tree | 1044f406f4d3bca593c250d24a1a0fe20bc596c7 /gdbus/gdbus.h | |
parent | 43e6eaabc6085b331a6850627615c49ab71dd0d4 (diff) | |
download | connman-ebae80d0e56a216a6f50e5792d42dd721889f621.tar.gz connman-ebae80d0e56a216a6f50e5792d42dd721889f621.tar.bz2 connman-ebae80d0e56a216a6f50e5792d42dd721889f621.zip |
gdbus: Add support for setting D-Bus client basic properties
Diffstat (limited to 'gdbus/gdbus.h')
-rw-r--r-- | gdbus/gdbus.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdbus/gdbus.h b/gdbus/gdbus.h index a0ca173a..fa978db6 100644 --- a/gdbus/gdbus.h +++ b/gdbus/gdbus.h @@ -279,6 +279,13 @@ const char *g_dbus_proxy_get_interface(GDBusProxy *proxy); gboolean g_dbus_proxy_get_property(GDBusProxy *proxy, const char *name, DBusMessageIter *iter); +typedef void (* GDBusResultFunction) (const DBusError *error, void *user_data); + +gboolean g_dbus_proxy_set_property_basic(GDBusProxy *proxy, + const char *name, int type, const void *value, + GDBusResultFunction function, void *user_data, + GDBusDestroyFunction destroy); + typedef struct GDBusClient GDBusClient; GDBusClient *g_dbus_client_new(DBusConnection *connection, |