diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2009-02-23 16:54:02 -0500 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2009-02-24 11:23:32 -0500 |
commit | 7a7adf458bd8519e68960748af0222b794e0a02b (patch) | |
tree | 0a7e8587d3339858690c88cdafc567fe9356264f /server/sbus | |
parent | 13421cbe0af4343f9d110600755ffa756690b282 (diff) | |
download | sssd-7a7adf458bd8519e68960748af0222b794e0a02b.tar.gz sssd-7a7adf458bd8519e68960748af0222b794e0a02b.tar.bz2 sssd-7a7adf458bd8519e68960748af0222b794e0a02b.zip |
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.
Diffstat (limited to 'server/sbus')
-rw-r--r-- | server/sbus/sssd_dbus.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/sbus/sssd_dbus.h b/server/sbus/sssd_dbus.h index bc65e314..20165ffb 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 { |