From 7a7adf458bd8519e68960748af0222b794e0a02b Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mon, 23 Feb 2009 16:54:02 -0500 Subject: Add D-BUS introspection to InfoPipe This function is necessary to play nice with D-BUS clients built in multiple languages. It will read in the XML file on the first request and store the returned XML as a component of the sbus_message_handler_ctx for the connection. All subsequent requests during the process' lifetime will be returned from the stored memory. This is perfectly safe, as the available methods cannot change during the process lifetime. --- server/sbus/sssd_dbus.h | 1 + 1 file changed, 1 insertion(+) (limited to 'server/sbus') diff --git a/server/sbus/sssd_dbus.h b/server/sbus/sssd_dbus.h index bc65e3146..20165ffbb 100644 --- a/server/sbus/sssd_dbus.h +++ b/server/sbus/sssd_dbus.h @@ -70,6 +70,7 @@ struct sbus_method_ctx { struct sbus_message_handler_ctx { struct sbus_conn_ctx *conn_ctx; struct sbus_method_ctx *method_ctx; + char *introspection_xml; }; struct sbus_message_ctx { -- cgit