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/infopipe/infopipe.h | |
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/infopipe/infopipe.h')
-rw-r--r-- | server/infopipe/infopipe.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/infopipe/infopipe.h b/server/infopipe/infopipe.h index aabc2bfa..83a3d8d4 100644 --- a/server/infopipe/infopipe.h +++ b/server/infopipe/infopipe.h @@ -25,6 +25,8 @@ #include <dbus/dbus.h> #include "sbus/sssd_dbus.h" +#define INFP_INTROSPECT_XML "infopipe/org.freeipa.sssd.infopipe.Introspect.xml" + #define INFOPIPE_DBUS_NAME "org.freeipa.sssd.infopipe1" #define INFOPIPE_INTERFACE "org.freeipa.sssd.infopipe1" #define INFOPIPE_PATH "/org/freeipa/sssd/infopipe1" |