769347ad4d35d43488eb98f980143495b0db415dStef Walter/* The following definitions are auto-generated from monitor_iface.xml */
769347ad4d35d43488eb98f980143495b0db415dStef Walter
054900ab42a8b865a2257f94c66484e0a022a90cLukas Slebodnik#include <stddef.h>
054900ab42a8b865a2257f94c66484e0a022a90cLukas Slebodnik
054900ab42a8b865a2257f94c66484e0a022a90cLukas Slebodnik#include "dbus/dbus-protocol.h"
054900ab42a8b865a2257f94c66484e0a022a90cLukas Slebodnik#include "util/util_errors.h"
769347ad4d35d43488eb98f980143495b0db415dStef Walter#include "sbus/sssd_dbus.h"
769347ad4d35d43488eb98f980143495b0db415dStef Walter#include "sbus/sssd_dbus_meta.h"
df4e1db5d41c903ae57fd880acc76a0ad84aa7b2Pavel Březina#include "sbus/sssd_dbus_invokers.h"
769347ad4d35d43488eb98f980143495b0db415dStef Walter#include "monitor_iface_generated.h"
769347ad4d35d43488eb98f980143495b0db415dStef Walter
769347ad4d35d43488eb98f980143495b0db415dStef Walter/* methods for org.freedesktop.sssd.monitor */
769347ad4d35d43488eb98f980143495b0db415dStef Walterconst struct sbus_method_meta mon_srv_iface__methods[] = {
769347ad4d35d43488eb98f980143495b0db415dStef Walter {
769347ad4d35d43488eb98f980143495b0db415dStef Walter "getVersion", /* name */
769347ad4d35d43488eb98f980143495b0db415dStef Walter NULL, /* no in_args */
769347ad4d35d43488eb98f980143495b0db415dStef Walter NULL, /* no out_args */
769347ad4d35d43488eb98f980143495b0db415dStef Walter offsetof(struct mon_srv_iface, getVersion),
dff909d473f43a6bd0f0286fa2d279c0ebe945c6Stef Walter NULL, /* no invoker */
769347ad4d35d43488eb98f980143495b0db415dStef Walter },
769347ad4d35d43488eb98f980143495b0db415dStef Walter {
769347ad4d35d43488eb98f980143495b0db415dStef Walter "RegisterService", /* name */
769347ad4d35d43488eb98f980143495b0db415dStef Walter NULL, /* no in_args */
769347ad4d35d43488eb98f980143495b0db415dStef Walter NULL, /* no out_args */
769347ad4d35d43488eb98f980143495b0db415dStef Walter offsetof(struct mon_srv_iface, RegisterService),
dff909d473f43a6bd0f0286fa2d279c0ebe945c6Stef Walter NULL, /* no invoker */
769347ad4d35d43488eb98f980143495b0db415dStef Walter },
769347ad4d35d43488eb98f980143495b0db415dStef Walter { NULL, }
769347ad4d35d43488eb98f980143495b0db415dStef Walter};
769347ad4d35d43488eb98f980143495b0db415dStef Walter
769347ad4d35d43488eb98f980143495b0db415dStef Walter/* interface info for org.freedesktop.sssd.monitor */
769347ad4d35d43488eb98f980143495b0db415dStef Walterconst struct sbus_interface_meta mon_srv_iface_meta = {
769347ad4d35d43488eb98f980143495b0db415dStef Walter "org.freedesktop.sssd.monitor", /* name */
769347ad4d35d43488eb98f980143495b0db415dStef Walter mon_srv_iface__methods,
769347ad4d35d43488eb98f980143495b0db415dStef Walter NULL, /* no signals */
4f7f714e118e95896fac5239c7a8b529c39a4758Jakub Hrozek NULL, /* no properties */
df4e1db5d41c903ae57fd880acc76a0ad84aa7b2Pavel Březina sbus_invoke_get_all, /* GetAll invoker */
769347ad4d35d43488eb98f980143495b0db415dStef Walter};
769347ad4d35d43488eb98f980143495b0db415dStef Walter
769347ad4d35d43488eb98f980143495b0db415dStef Walter/* methods for org.freedesktop.sssd.service */
769347ad4d35d43488eb98f980143495b0db415dStef Walterconst struct sbus_method_meta mon_cli_iface__methods[] = {
769347ad4d35d43488eb98f980143495b0db415dStef Walter {
769347ad4d35d43488eb98f980143495b0db415dStef Walter "resInit", /* name */
769347ad4d35d43488eb98f980143495b0db415dStef Walter NULL, /* no in_args */
769347ad4d35d43488eb98f980143495b0db415dStef Walter NULL, /* no out_args */
769347ad4d35d43488eb98f980143495b0db415dStef Walter offsetof(struct mon_cli_iface, resInit),
dff909d473f43a6bd0f0286fa2d279c0ebe945c6Stef Walter NULL, /* no invoker */
769347ad4d35d43488eb98f980143495b0db415dStef Walter },
769347ad4d35d43488eb98f980143495b0db415dStef Walter {
769347ad4d35d43488eb98f980143495b0db415dStef Walter "goOffline", /* name */
769347ad4d35d43488eb98f980143495b0db415dStef Walter NULL, /* no in_args */
769347ad4d35d43488eb98f980143495b0db415dStef Walter NULL, /* no out_args */
769347ad4d35d43488eb98f980143495b0db415dStef Walter offsetof(struct mon_cli_iface, goOffline),
dff909d473f43a6bd0f0286fa2d279c0ebe945c6Stef Walter NULL, /* no invoker */
769347ad4d35d43488eb98f980143495b0db415dStef Walter },
769347ad4d35d43488eb98f980143495b0db415dStef Walter {
769347ad4d35d43488eb98f980143495b0db415dStef Walter "resetOffline", /* name */
769347ad4d35d43488eb98f980143495b0db415dStef Walter NULL, /* no in_args */
769347ad4d35d43488eb98f980143495b0db415dStef Walter NULL, /* no out_args */
769347ad4d35d43488eb98f980143495b0db415dStef Walter offsetof(struct mon_cli_iface, resetOffline),
dff909d473f43a6bd0f0286fa2d279c0ebe945c6Stef Walter NULL, /* no invoker */
769347ad4d35d43488eb98f980143495b0db415dStef Walter },
769347ad4d35d43488eb98f980143495b0db415dStef Walter {
769347ad4d35d43488eb98f980143495b0db415dStef Walter "rotateLogs", /* name */
769347ad4d35d43488eb98f980143495b0db415dStef Walter NULL, /* no in_args */
769347ad4d35d43488eb98f980143495b0db415dStef Walter NULL, /* no out_args */
769347ad4d35d43488eb98f980143495b0db415dStef Walter offsetof(struct mon_cli_iface, rotateLogs),
dff909d473f43a6bd0f0286fa2d279c0ebe945c6Stef Walter NULL, /* no invoker */
769347ad4d35d43488eb98f980143495b0db415dStef Walter },
769347ad4d35d43488eb98f980143495b0db415dStef Walter {
769347ad4d35d43488eb98f980143495b0db415dStef Walter "clearMemcache", /* name */
769347ad4d35d43488eb98f980143495b0db415dStef Walter NULL, /* no in_args */
769347ad4d35d43488eb98f980143495b0db415dStef Walter NULL, /* no out_args */
769347ad4d35d43488eb98f980143495b0db415dStef Walter offsetof(struct mon_cli_iface, clearMemcache),
dff909d473f43a6bd0f0286fa2d279c0ebe945c6Stef Walter NULL, /* no invoker */
769347ad4d35d43488eb98f980143495b0db415dStef Walter },
769347ad4d35d43488eb98f980143495b0db415dStef Walter {
769347ad4d35d43488eb98f980143495b0db415dStef Walter "clearEnumCache", /* name */
769347ad4d35d43488eb98f980143495b0db415dStef Walter NULL, /* no in_args */
769347ad4d35d43488eb98f980143495b0db415dStef Walter NULL, /* no out_args */
769347ad4d35d43488eb98f980143495b0db415dStef Walter offsetof(struct mon_cli_iface, clearEnumCache),
dff909d473f43a6bd0f0286fa2d279c0ebe945c6Stef Walter NULL, /* no invoker */
769347ad4d35d43488eb98f980143495b0db415dStef Walter },
b76419cf8830440b46c20a15585562343c7b1924Jakub Hrozek {
b76419cf8830440b46c20a15585562343c7b1924Jakub Hrozek "sysbusReconnect", /* name */
b76419cf8830440b46c20a15585562343c7b1924Jakub Hrozek NULL, /* no in_args */
b76419cf8830440b46c20a15585562343c7b1924Jakub Hrozek NULL, /* no out_args */
b76419cf8830440b46c20a15585562343c7b1924Jakub Hrozek offsetof(struct mon_cli_iface, sysbusReconnect),
b76419cf8830440b46c20a15585562343c7b1924Jakub Hrozek NULL, /* no invoker */
b76419cf8830440b46c20a15585562343c7b1924Jakub Hrozek },
769347ad4d35d43488eb98f980143495b0db415dStef Walter { NULL, }
769347ad4d35d43488eb98f980143495b0db415dStef Walter};
769347ad4d35d43488eb98f980143495b0db415dStef Walter
769347ad4d35d43488eb98f980143495b0db415dStef Walter/* interface info for org.freedesktop.sssd.service */
769347ad4d35d43488eb98f980143495b0db415dStef Walterconst struct sbus_interface_meta mon_cli_iface_meta = {
769347ad4d35d43488eb98f980143495b0db415dStef Walter "org.freedesktop.sssd.service", /* name */
769347ad4d35d43488eb98f980143495b0db415dStef Walter mon_cli_iface__methods,
769347ad4d35d43488eb98f980143495b0db415dStef Walter NULL, /* no signals */
4f7f714e118e95896fac5239c7a8b529c39a4758Jakub Hrozek NULL, /* no properties */
df4e1db5d41c903ae57fd880acc76a0ad84aa7b2Pavel Březina sbus_invoke_get_all, /* GetAll invoker */
769347ad4d35d43488eb98f980143495b0db415dStef Walter};