summaryrefslogtreecommitdiffstats
path: root/src/monitor
diff options
context:
space:
mode:
Diffstat (limited to 'src/monitor')
-rw-r--r--src/monitor/monitor_iface.xml30
-rw-r--r--src/monitor/monitor_iface_generated.c10
-rw-r--r--src/monitor/monitor_iface_generated.h10
3 files changed, 38 insertions, 12 deletions
diff --git a/src/monitor/monitor_iface.xml b/src/monitor/monitor_iface.xml
index 506b749c8..1f61de5b7 100644
--- a/src/monitor/monitor_iface.xml
+++ b/src/monitor/monitor_iface.xml
@@ -4,38 +4,48 @@
<interface name="org.freedesktop.sssd.monitor">
<annotation value="mon_srv_iface" name="org.freedesktop.DBus.GLib.CSymbol"/>
<method name="getVersion">
- <!-- manual argument parsing -->
+ <!-- manual argument parsing, raw handler -->
+ <annotation name="org.freedesktop.sssd.RawHandler" value="true"/>
</method>
<method name="RegisterService">
- <!-- manual argument parsing -->
+ <!-- manual argument parsing, raw handler -->
+ <annotation name="org.freedesktop.sssd.RawHandler" value="true"/>
</method>
</interface>
<interface name="org.freedesktop.sssd.service">
<annotation value="mon_cli_iface" name="org.freedesktop.DBus.GLib.CSymbol"/>
<method name="ping">
- <!-- no arguments -->
+ <!-- no arguments, raw handler -->
+ <annotation name="org.freedesktop.sssd.RawHandler" value="true"/>
</method>
<method name="resInit">
- <!-- no arguments -->
+ <!-- no arguments, raw handler -->
+ <annotation name="org.freedesktop.sssd.RawHandler" value="true"/>
</method>
<method name="shutDown">
- <!-- no arguments -->
+ <!-- no arguments, raw handler -->
+ <annotation name="org.freedesktop.sssd.RawHandler" value="true"/>
</method>
<method name="goOffline">
- <!-- no arguments -->
+ <!-- no arguments, raw handler -->
+ <annotation name="org.freedesktop.sssd.RawHandler" value="true"/>
</method>
<method name="resetOffline">
- <!-- no arguments -->
+ <!-- no arguments, raw handler -->
+ <annotation name="org.freedesktop.sssd.RawHandler" value="true"/>
</method>
<method name="rotateLogs">
- <!-- no arguments -->
+ <!-- no arguments, raw handler -->
+ <annotation name="org.freedesktop.sssd.RawHandler" value="true"/>
</method>
<method name="clearMemcache">
- <!-- no arguments -->
+ <!-- no arguments, raw handler -->
+ <annotation name="org.freedesktop.sssd.RawHandler" value="true"/>
</method>
<method name="clearEnumCache">
- <!-- no arguments -->
+ <!-- no arguments, raw handler -->
+ <annotation name="org.freedesktop.sssd.RawHandler" value="true"/>
</method>
</interface>
</node>
diff --git a/src/monitor/monitor_iface_generated.c b/src/monitor/monitor_iface_generated.c
index 81a7c247a..e9c3c1d52 100644
--- a/src/monitor/monitor_iface_generated.c
+++ b/src/monitor/monitor_iface_generated.c
@@ -12,12 +12,14 @@ const struct sbus_method_meta mon_srv_iface__methods[] = {
NULL, /* no in_args */
NULL, /* no out_args */
offsetof(struct mon_srv_iface, getVersion),
+ NULL, /* no invoker */
},
{
"RegisterService", /* name */
NULL, /* no in_args */
NULL, /* no out_args */
offsetof(struct mon_srv_iface, RegisterService),
+ NULL, /* no invoker */
},
{ NULL, }
};
@@ -37,48 +39,56 @@ const struct sbus_method_meta mon_cli_iface__methods[] = {
NULL, /* no in_args */
NULL, /* no out_args */
offsetof(struct mon_cli_iface, ping),
+ NULL, /* no invoker */
},
{
"resInit", /* name */
NULL, /* no in_args */
NULL, /* no out_args */
offsetof(struct mon_cli_iface, resInit),
+ NULL, /* no invoker */
},
{
"shutDown", /* name */
NULL, /* no in_args */
NULL, /* no out_args */
offsetof(struct mon_cli_iface, shutDown),
+ NULL, /* no invoker */
},
{
"goOffline", /* name */
NULL, /* no in_args */
NULL, /* no out_args */
offsetof(struct mon_cli_iface, goOffline),
+ NULL, /* no invoker */
},
{
"resetOffline", /* name */
NULL, /* no in_args */
NULL, /* no out_args */
offsetof(struct mon_cli_iface, resetOffline),
+ NULL, /* no invoker */
},
{
"rotateLogs", /* name */
NULL, /* no in_args */
NULL, /* no out_args */
offsetof(struct mon_cli_iface, rotateLogs),
+ NULL, /* no invoker */
},
{
"clearMemcache", /* name */
NULL, /* no in_args */
NULL, /* no out_args */
offsetof(struct mon_cli_iface, clearMemcache),
+ NULL, /* no invoker */
},
{
"clearEnumCache", /* name */
NULL, /* no in_args */
NULL, /* no out_args */
offsetof(struct mon_cli_iface, clearEnumCache),
+ NULL, /* no invoker */
},
{ NULL, }
};
diff --git a/src/monitor/monitor_iface_generated.h b/src/monitor/monitor_iface_generated.h
index bd556616c..37e4d480b 100644
--- a/src/monitor/monitor_iface_generated.h
+++ b/src/monitor/monitor_iface_generated.h
@@ -28,15 +28,21 @@
#define MON_CLI_IFACE_CLEARENUMCACHE "clearEnumCache"
/* ------------------------------------------------------------------------
- * 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.monitor */