summaryrefslogtreecommitdiffstats
path: root/src/responder/ifp/ifp_iface_generated.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/responder/ifp/ifp_iface_generated.c')
-rw-r--r--src/responder/ifp/ifp_iface_generated.c25
1 files changed, 22 insertions, 3 deletions
diff --git a/src/responder/ifp/ifp_iface_generated.c b/src/responder/ifp/ifp_iface_generated.c
index 15339698f..6943e38e3 100644
--- a/src/responder/ifp/ifp_iface_generated.c
+++ b/src/responder/ifp/ifp_iface_generated.c
@@ -24,6 +24,25 @@ static int invoke_ss_method(struct sbus_request *dbus_req, void *function_ptr);
/* invokes a handler with a 'ssu' DBus signature */
static int invoke_ssu_method(struct sbus_request *dbus_req, void *function_ptr);
+/* arguments for org.freedesktop.sssd.infopipe.Ping */
+const struct sbus_arg_meta iface_ifp_Ping__in[] = {
+ { "ping", "s" },
+ { NULL, }
+};
+
+/* arguments for org.freedesktop.sssd.infopipe.Ping */
+const struct sbus_arg_meta iface_ifp_Ping__out[] = {
+ { "pong", "s" },
+ { NULL, }
+};
+
+int iface_ifp_Ping_finish(struct sbus_request *req, const char *arg_pong)
+{
+ return sbus_request_return_and_finish(req,
+ DBUS_TYPE_STRING, &arg_pong,
+ DBUS_TYPE_INVALID);
+}
+
/* arguments for org.freedesktop.sssd.infopipe.ListComponents */
const struct sbus_arg_meta iface_ifp_ListComponents__out[] = {
{ "components", "ao" },
@@ -182,10 +201,10 @@ int iface_ifp_ListDomains_finish(struct sbus_request *req, const char *arg_domai
const struct sbus_method_meta iface_ifp__methods[] = {
{
"Ping", /* name */
- NULL, /* no in_args */
- NULL, /* no out_args */
+ iface_ifp_Ping__in,
+ iface_ifp_Ping__out,
offsetof(struct iface_ifp, Ping),
- NULL, /* no invoker */
+ invoke_s_method,
},
{
"ListComponents", /* name */