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 12:52:56 +0100 |
commit | 337e908edd6879bafab0ad5e0dc41f98e44352fd (patch) | |
tree | aa01a448a4bf3ff151be1d85205f6afc243b9d3a /gdbus/gdbus.h | |
parent | 1315c480850e272496f53719b708700eb51bc15b (diff) | |
download | ofono-337e908edd6879bafab0ad5e0dc41f98e44352fd.tar.bz2 |
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; }; |