summaryrefslogtreecommitdiffstats
path: root/src/sbus/sssd_dbus_private.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2014-04-10 09:11:12 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-04-15 11:24:43 +0200
commit42c28b9424b6ef8a0021b124773e171dd5defadd (patch)
tree4bb8c5fd4d6aef0dfe8087e2de3fd18917f7b637 /src/sbus/sssd_dbus_private.h
parent9123c2abff5780f485764261eb4b180e9ceadf20 (diff)
downloadsssd-42c28b9424b6ef8a0021b124773e171dd5defadd.tar.gz
sssd-42c28b9424b6ef8a0021b124773e171dd5defadd.tar.xz
sssd-42c28b9424b6ef8a0021b124773e171dd5defadd.zip
SBUS: Generate introspection from the interface meta structure
https://fedorahosted.org/sssd/ticket/2234 This patch generates the introspection data from the sbus interface meta structure. The generated XML conforms to http://dbus.freedesktop.org/doc/dbus-specification.html#introspection-format The XML description of the interface also always includes the org.freedesktop.DBus.Introspectable interface, which this patch also allows in the policy settings.
Diffstat (limited to 'src/sbus/sssd_dbus_private.h')
-rw-r--r--src/sbus/sssd_dbus_private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sbus/sssd_dbus_private.h b/src/sbus/sssd_dbus_private.h
index 88230cfca..929caeccb 100644
--- a/src/sbus/sssd_dbus_private.h
+++ b/src/sbus/sssd_dbus_private.h
@@ -98,4 +98,10 @@ struct sbus_request *
sbus_new_request(struct sbus_connection *conn, struct sbus_interface *intf,
DBusMessage *message);
+struct sbus_introspect_ctx {
+ const struct sbus_interface_meta *iface;
+};
+
+int sbus_introspect(struct sbus_request *dbus_req, void *pvt);
+
#endif /* _SSSD_DBUS_PRIVATE_H_ */