diff options
Diffstat (limited to 'src/sbus')
-rw-r--r-- | src/sbus/sssd_dbus_introspect.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/sbus/sssd_dbus_introspect.c b/src/sbus/sssd_dbus_introspect.c index f310aeb74..4bd9563e6 100644 --- a/src/sbus/sssd_dbus_introspect.c +++ b/src/sbus/sssd_dbus_introspect.c @@ -47,6 +47,14 @@ const struct sbus_method_meta introspect_method = " </method>\n" \ " </interface>\n" +#define SSS_INTROSPECT_INTERFACE_PROPERTIES \ + " <interface name=\"org.freedesktop.DBus.Properties\">\n" \ + " <method name=\"Get\">\n" \ + " <arg name=\"interface\" direction=\"in\" type=\"s\"/>\n" \ + " <arg name=\"property\" direction=\"in\" type=\"s\"/>\n" \ + " <arg name=\"value\" direction=\"out\" type=\"v\"/>\n" \ + " </method>\n" \ + " </interface>\n" struct introspect_ctx { FILE *f; @@ -253,6 +261,9 @@ static errno_t introspect_finish(struct introspect_ctx *ictx) ret = fputs(SSS_INTROSPECT_INTERFACE_INTROSPECTABLE, ictx->f); if (ret < 0) return EIO; + ret = fputs(SSS_INTROSPECT_INTERFACE_PROPERTIES, ictx->f); + if (ret < 0) return EIO; + ret = fputs("</node>\n", ictx->f); if (ret < 0) return EIO; |