summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2014-05-21 20:10:23 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-05-27 10:43:40 +0200
commitbdbb5cd11752d79488e5d87b908103322e010df1 (patch)
tree61711a6a697ca6ef41c148bd5c8cf8e119c2a893 /src
parent4f7f714e118e95896fac5239c7a8b529c39a4758 (diff)
downloadsssd-bdbb5cd11752d79488e5d87b908103322e010df1.tar.gz
sssd-bdbb5cd11752d79488e5d87b908103322e010df1.tar.xz
sssd-bdbb5cd11752d79488e5d87b908103322e010df1.zip
SBUS: Add org.freedesktop.DBus.Properties.GetAll to Introspection
Reviewed-by: Pavel Březina <pbrezina@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/sbus/sssd_dbus_introspect.c4
-rw-r--r--src/tests/sbus_tests.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/sbus/sssd_dbus_introspect.c b/src/sbus/sssd_dbus_introspect.c
index 73434faf7..977383356 100644
--- a/src/sbus/sssd_dbus_introspect.c
+++ b/src/sbus/sssd_dbus_introspect.c
@@ -57,6 +57,10 @@ const struct sbus_method_meta introspect_method =
" <arg name=\"property\" direction=\"in\" type=\"s\"/>\n" \
" <arg name=\"value\" direction=\"out\" type=\"v\"/>\n" \
" </method>\n" \
+ " <method name=\"GetAll\">\n" \
+ " <arg name=\"interface\" direction=\"in\" type=\"s\"/>\n" \
+ " <arg name=\"properties\" direction=\"out\" type=\"a{sv}\"/>\n" \
+ " </method>\n" \
" </interface>\n"
struct introspect_ctx {
diff --git a/src/tests/sbus_tests.c b/src/tests/sbus_tests.c
index 8572f3263..50c452e42 100644
--- a/src/tests/sbus_tests.c
+++ b/src/tests/sbus_tests.c
@@ -65,6 +65,10 @@
" <arg name=\"property\" direction=\"in\" type=\"s\"/>\n" \
" <arg name=\"value\" direction=\"out\" type=\"v\"/>\n" \
" </method>\n" \
+ " <method name=\"GetAll\">\n" \
+ " <arg name=\"interface\" direction=\"in\" type=\"s\"/>\n" \
+ " <arg name=\"properties\" direction=\"out\" type=\"a{sv}\"/>\n" \
+ " </method>\n" \
" </interface>\n" \
"</node>\n"