summaryrefslogtreecommitdiff
path: root/gdbus/gdbus.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-12-14 15:19:53 +0100
committerMarcel Holtmann <marcel@holtmann.org>2012-12-19 03:49:11 +0100
commitebae80d0e56a216a6f50e5792d42dd721889f621 (patch)
tree1044f406f4d3bca593c250d24a1a0fe20bc596c7 /gdbus/gdbus.h
parent43e6eaabc6085b331a6850627615c49ab71dd0d4 (diff)
downloadconnman-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.h7
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,