diff options
author | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2012-10-04 04:26:28 -0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-11-26 14:44:48 +0100 |
commit | f7c84230369ced263932efa147c7d8471e948e73 (patch) | |
tree | 5f2cb2a42fa21852d149a2f44934fb625212e849 /gdbus/gdbus.h | |
parent | cc3872fd91934e04a0384e3d33a7b78b6183dc37 (diff) | |
download | connman-f7c84230369ced263932efa147c7d8471e948e73.tar.gz connman-f7c84230369ced263932efa147c7d8471e948e73.tar.bz2 connman-f7c84230369ced263932efa147c7d8471e948e73.zip |
gdbus: Implement DBus.Properties.Get method
Diffstat (limited to 'gdbus/gdbus.h')
-rw-r--r-- | gdbus/gdbus.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdbus/gdbus.h b/gdbus/gdbus.h index 34e3cb32..b2e78c4a 100644 --- a/gdbus/gdbus.h +++ b/gdbus/gdbus.h @@ -66,6 +66,12 @@ typedef void (* GDBusDestroyFunction) (void *user_data); typedef DBusMessage * (* GDBusMethodFunction) (DBusConnection *connection, DBusMessage *message, void *user_data); +typedef gboolean (*GDBusPropertyGetter)(const GDBusPropertyTable *property, + DBusMessageIter *iter, void *data); + +typedef gboolean (*GDBusPropertyExists)(const GDBusPropertyTable *property, + void *data); + typedef guint32 GDBusPendingReply; typedef void (* GDBusSecurityFunction) (DBusConnection *connection, @@ -116,6 +122,8 @@ struct GDBusSignalTable { struct GDBusPropertyTable { const char *name; const char *type; + GDBusPropertyGetter get; + GDBusPropertyExists exists; GDBusPropertyFlags flags; }; |