summaryrefslogtreecommitdiffstats
path: root/src/responder/ifp
diff options
context:
space:
mode:
Diffstat (limited to 'src/responder/ifp')
-rw-r--r--src/responder/ifp/ifp_iface.xml3
-rw-r--r--src/responder/ifp/ifp_iface_generated.c1
-rw-r--r--src/responder/ifp/ifp_iface_generated.h10
3 files changed, 11 insertions, 3 deletions
diff --git a/src/responder/ifp/ifp_iface.xml b/src/responder/ifp/ifp_iface.xml
index e3221b577..078d29e2d 100644
--- a/src/responder/ifp/ifp_iface.xml
+++ b/src/responder/ifp/ifp_iface.xml
@@ -4,7 +4,8 @@
<interface name="org.freedesktop.sssd.infopipe">
<annotation value="infopipe_iface" name="org.freedesktop.DBus.GLib.CSymbol"/>
<method name="Ping">
- <!-- arguments parsed manually -->
+ <!-- manual argument parsing, raw handler -->
+ <annotation name="org.freedesktop.sssd.RawHandler" value="true"/>
</method>
</interface>
</node>
diff --git a/src/responder/ifp/ifp_iface_generated.c b/src/responder/ifp/ifp_iface_generated.c
index db5e0e545..57c67f8bc 100644
--- a/src/responder/ifp/ifp_iface_generated.c
+++ b/src/responder/ifp/ifp_iface_generated.c
@@ -12,6 +12,7 @@ const struct sbus_method_meta infopipe_iface__methods[] = {
NULL, /* no in_args */
NULL, /* no out_args */
offsetof(struct infopipe_iface, Ping),
+ NULL, /* no invoker */
},
{ NULL, }
};
diff --git a/src/responder/ifp/ifp_iface_generated.h b/src/responder/ifp/ifp_iface_generated.h
index 8db83fc11..f69fb162d 100644
--- a/src/responder/ifp/ifp_iface_generated.h
+++ b/src/responder/ifp/ifp_iface_generated.h
@@ -16,15 +16,21 @@
#define INFOPIPE_IFACE_PING "Ping"
/* ------------------------------------------------------------------------
- * DBus Vtable handler structures
+ * DBus handlers
*
* These structures are filled in by implementors of the different
* dbus interfaces to handle method calls.
*
* Handler functions of type sbus_msg_handler_fn accept raw messages,
- * other handlers will be typed appropriately. If a handler that is
+ * other handlers are typed appropriately. If a handler that is
* set to NULL is invoked it will result in a
* org.freedesktop.DBus.Error.NotSupported error for the caller.
+ *
+ * Handlers have a matching xxx_finish() function (unless the method has
+ * accepts raw messages). These finish functions the
+ * sbus_request_return_and_finish() with the appropriate arguments to
+ * construct a valid reply. Once a finish function has been called, the
+ * @dbus_req it was called with is freed and no longer valid.
*/
/* vtable for org.freedesktop.sssd.infopipe */