diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2014-05-21 21:29:15 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-05-27 10:43:36 +0200 |
commit | 4f7f714e118e95896fac5239c7a8b529c39a4758 (patch) | |
tree | 41a78f39f2fe9bcec0d9394525500cc43b3f41ec /src/tests/sbus_tests.c | |
parent | 886d29fced0bcc1668a3cb99a5bca66ea486b3a4 (diff) | |
download | sssd-4f7f714e118e95896fac5239c7a8b529c39a4758.tar.gz sssd-4f7f714e118e95896fac5239c7a8b529c39a4758.tar.xz sssd-4f7f714e118e95896fac5239c7a8b529c39a4758.zip |
SBUS: Implement org.freedesktop.DBus.Properties.GetAll for primitive types
This patch implements the GetAll method of the
org.freedesktop.DBus.Properties interface by iterating over the
available getters and putting all the results into a single getter.
The patch includes a unit test that exercies all currently supported
array types.
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/tests/sbus_tests.c')
-rw-r--r-- | src/tests/sbus_tests.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/sbus_tests.c b/src/tests/sbus_tests.c index d2725cf0e..8572f3263 100644 --- a/src/tests/sbus_tests.c +++ b/src/tests/sbus_tests.c @@ -98,6 +98,7 @@ const struct sbus_interface_meta pilot_meta = { pilot_methods, NULL, /* no signals */ NULL, /* no properties */ + NULL, /* no GetAll invoker */ }; static int blink_handler(struct sbus_request *req, void *data) |