8214510f125879c3b1d247f2ce981ee20b5375d1Jakub Hrozek/* The following definitions are auto-generated from ifp_iface.xml */
8214510f125879c3b1d247f2ce981ee20b5375d1Jakub Hrozek
054900ab42a8b865a2257f94c66484e0a022a90cLukas Slebodnik#include <stddef.h>
054900ab42a8b865a2257f94c66484e0a022a90cLukas Slebodnik
054900ab42a8b865a2257f94c66484e0a022a90cLukas Slebodnik#include "dbus/dbus-protocol.h"
054900ab42a8b865a2257f94c66484e0a022a90cLukas Slebodnik#include "util/util_errors.h"
8214510f125879c3b1d247f2ce981ee20b5375d1Jakub Hrozek#include "sbus/sssd_dbus.h"
8214510f125879c3b1d247f2ce981ee20b5375d1Jakub Hrozek#include "sbus/sssd_dbus_meta.h"
df4e1db5d41c903ae57fd880acc76a0ad84aa7b2Pavel Březina#include "sbus/sssd_dbus_invokers.h"
8214510f125879c3b1d247f2ce981ee20b5375d1Jakub Hrozek#include "ifp_iface_generated.h"
8214510f125879c3b1d247f2ce981ee20b5375d1Jakub Hrozek
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek/* invokes a handler with a 's' DBus signature */
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozekstatic int invoke_s_method(struct sbus_request *dbus_req, void *function_ptr);
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina/* invokes a handler with a 'u' DBus signature */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březinastatic int invoke_u_method(struct sbus_request *dbus_req, void *function_ptr);
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina/* invokes a handler with a 'su' DBus signature */
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březinastatic int invoke_su_method(struct sbus_request *dbus_req, void *function_ptr);
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose/* invokes a handler with a 'ss' DBus signature */
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bosestatic int invoke_ss_method(struct sbus_request *dbus_req, void *function_ptr);
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina/* invokes a handler with a 'ssu' DBus signature */
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březinastatic int invoke_ssu_method(struct sbus_request *dbus_req, void *function_ptr);
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina
1024dbcba0c16fb5df5e6d16894a8c7a36dc75f2Pavel Březina/* arguments for org.freedesktop.sssd.infopipe.Ping */
1024dbcba0c16fb5df5e6d16894a8c7a36dc75f2Pavel Březinaconst struct sbus_arg_meta iface_ifp_Ping__in[] = {
1024dbcba0c16fb5df5e6d16894a8c7a36dc75f2Pavel Březina { "ping", "s" },
1024dbcba0c16fb5df5e6d16894a8c7a36dc75f2Pavel Březina { NULL, }
1024dbcba0c16fb5df5e6d16894a8c7a36dc75f2Pavel Březina};
1024dbcba0c16fb5df5e6d16894a8c7a36dc75f2Pavel Březina
1024dbcba0c16fb5df5e6d16894a8c7a36dc75f2Pavel Březina/* arguments for org.freedesktop.sssd.infopipe.Ping */
1024dbcba0c16fb5df5e6d16894a8c7a36dc75f2Pavel Březinaconst struct sbus_arg_meta iface_ifp_Ping__out[] = {
1024dbcba0c16fb5df5e6d16894a8c7a36dc75f2Pavel Březina { "pong", "s" },
1024dbcba0c16fb5df5e6d16894a8c7a36dc75f2Pavel Březina { NULL, }
1024dbcba0c16fb5df5e6d16894a8c7a36dc75f2Pavel Březina};
1024dbcba0c16fb5df5e6d16894a8c7a36dc75f2Pavel Březina
1024dbcba0c16fb5df5e6d16894a8c7a36dc75f2Pavel Březinaint iface_ifp_Ping_finish(struct sbus_request *req, const char *arg_pong)
1024dbcba0c16fb5df5e6d16894a8c7a36dc75f2Pavel Březina{
1024dbcba0c16fb5df5e6d16894a8c7a36dc75f2Pavel Březina return sbus_request_return_and_finish(req,
1024dbcba0c16fb5df5e6d16894a8c7a36dc75f2Pavel Březina DBUS_TYPE_STRING, &arg_pong,
1024dbcba0c16fb5df5e6d16894a8c7a36dc75f2Pavel Březina DBUS_TYPE_INVALID);
1024dbcba0c16fb5df5e6d16894a8c7a36dc75f2Pavel Březina}
1024dbcba0c16fb5df5e6d16894a8c7a36dc75f2Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina/* arguments for org.freedesktop.sssd.infopipe.ListComponents */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březinaconst struct sbus_arg_meta iface_ifp_ListComponents__out[] = {
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina { "components", "ao" },
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina { NULL, }
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina};
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březinaint iface_ifp_ListComponents_finish(struct sbus_request *req, const char *arg_components[], int len_components)
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina{
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina return sbus_request_return_and_finish(req,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_components, len_components,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina DBUS_TYPE_INVALID);
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina}
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina/* arguments for org.freedesktop.sssd.infopipe.ListResponders */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březinaconst struct sbus_arg_meta iface_ifp_ListResponders__out[] = {
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina { "responders", "ao" },
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina { NULL, }
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina};
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březinaint iface_ifp_ListResponders_finish(struct sbus_request *req, const char *arg_responders[], int len_responders)
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina{
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina return sbus_request_return_and_finish(req,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_responders, len_responders,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina DBUS_TYPE_INVALID);
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina}
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina/* arguments for org.freedesktop.sssd.infopipe.ListBackends */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březinaconst struct sbus_arg_meta iface_ifp_ListBackends__out[] = {
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina { "backends", "ao" },
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina { NULL, }
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina};
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březinaint iface_ifp_ListBackends_finish(struct sbus_request *req, const char *arg_backends[], int len_backends)
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina{
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina return sbus_request_return_and_finish(req,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_backends, len_backends,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina DBUS_TYPE_INVALID);
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina}
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina/* arguments for org.freedesktop.sssd.infopipe.FindMonitor */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březinaconst struct sbus_arg_meta iface_ifp_FindMonitor__out[] = {
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina { "monitor", "o" },
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina { NULL, }
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina};
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březinaint iface_ifp_FindMonitor_finish(struct sbus_request *req, const char *arg_monitor)
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina{
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina return sbus_request_return_and_finish(req,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina DBUS_TYPE_OBJECT_PATH, &arg_monitor,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina DBUS_TYPE_INVALID);
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina}
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina/* arguments for org.freedesktop.sssd.infopipe.FindResponderByName */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březinaconst struct sbus_arg_meta iface_ifp_FindResponderByName__in[] = {
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina { "name", "s" },
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina { NULL, }
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina};
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina/* arguments for org.freedesktop.sssd.infopipe.FindResponderByName */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březinaconst struct sbus_arg_meta iface_ifp_FindResponderByName__out[] = {
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina { "responder", "o" },
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina { NULL, }
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina};
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březinaint iface_ifp_FindResponderByName_finish(struct sbus_request *req, const char *arg_responder)
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina{
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina return sbus_request_return_and_finish(req,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina DBUS_TYPE_OBJECT_PATH, &arg_responder,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina DBUS_TYPE_INVALID);
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina}
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina/* arguments for org.freedesktop.sssd.infopipe.FindBackendByName */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březinaconst struct sbus_arg_meta iface_ifp_FindBackendByName__in[] = {
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina { "name", "s" },
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina { NULL, }
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina};
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina/* arguments for org.freedesktop.sssd.infopipe.FindBackendByName */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březinaconst struct sbus_arg_meta iface_ifp_FindBackendByName__out[] = {
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina { "backend", "o" },
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina { NULL, }
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina};
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březinaint iface_ifp_FindBackendByName_finish(struct sbus_request *req, const char *arg_backend)
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina{
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina return sbus_request_return_and_finish(req,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina DBUS_TYPE_OBJECT_PATH, &arg_backend,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina DBUS_TYPE_INVALID);
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina}
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
2fbe9b9373dcdc28558da07690e57ff7a162a11dJakub Hrozek/* arguments for org.freedesktop.sssd.infopipe.GetUserAttr */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březinaconst struct sbus_arg_meta iface_ifp_GetUserAttr__in[] = {
2fbe9b9373dcdc28558da07690e57ff7a162a11dJakub Hrozek { "user", "s" },
2fbe9b9373dcdc28558da07690e57ff7a162a11dJakub Hrozek { "attr", "as" },
2fbe9b9373dcdc28558da07690e57ff7a162a11dJakub Hrozek { NULL, }
2fbe9b9373dcdc28558da07690e57ff7a162a11dJakub Hrozek};
2fbe9b9373dcdc28558da07690e57ff7a162a11dJakub Hrozek
2fbe9b9373dcdc28558da07690e57ff7a162a11dJakub Hrozek/* arguments for org.freedesktop.sssd.infopipe.GetUserAttr */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březinaconst struct sbus_arg_meta iface_ifp_GetUserAttr__out[] = {
2fbe9b9373dcdc28558da07690e57ff7a162a11dJakub Hrozek { "values", "a{sv}" },
2fbe9b9373dcdc28558da07690e57ff7a162a11dJakub Hrozek { NULL, }
2fbe9b9373dcdc28558da07690e57ff7a162a11dJakub Hrozek};
2fbe9b9373dcdc28558da07690e57ff7a162a11dJakub Hrozek
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek/* arguments for org.freedesktop.sssd.infopipe.GetUserGroups */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březinaconst struct sbus_arg_meta iface_ifp_GetUserGroups__in[] = {
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek { "user", "s" },
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek { NULL, }
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek};
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek/* arguments for org.freedesktop.sssd.infopipe.GetUserGroups */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březinaconst struct sbus_arg_meta iface_ifp_GetUserGroups__out[] = {
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek { "values", "as" },
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek { NULL, }
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek};
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březinaint iface_ifp_GetUserGroups_finish(struct sbus_request *req, const char *arg_values[], int len_values)
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek{
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek return sbus_request_return_and_finish(req,
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek DBUS_TYPE_ARRAY, DBUS_TYPE_STRING, &arg_values, len_values,
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek DBUS_TYPE_INVALID);
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek}
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek/* arguments for org.freedesktop.sssd.infopipe.FindDomainByName */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březinaconst struct sbus_arg_meta iface_ifp_FindDomainByName__in[] = {
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek { "name", "s" },
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek { NULL, }
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek};
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek/* arguments for org.freedesktop.sssd.infopipe.FindDomainByName */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březinaconst struct sbus_arg_meta iface_ifp_FindDomainByName__out[] = {
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek { "domain", "o" },
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek { NULL, }
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek};
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březinaint iface_ifp_FindDomainByName_finish(struct sbus_request *req, const char *arg_domain)
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek{
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek return sbus_request_return_and_finish(req,
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek DBUS_TYPE_OBJECT_PATH, &arg_domain,
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek DBUS_TYPE_INVALID);
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek}
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek/* arguments for org.freedesktop.sssd.infopipe.ListDomains */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březinaconst struct sbus_arg_meta iface_ifp_ListDomains__out[] = {
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek { "domain", "ao" },
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek { NULL, }
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek};
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březinaint iface_ifp_ListDomains_finish(struct sbus_request *req, const char *arg_domain[], int len_domain)
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek{
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek return sbus_request_return_and_finish(req,
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_domain, len_domain,
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek DBUS_TYPE_INVALID);
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek}
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek
8214510f125879c3b1d247f2ce981ee20b5375d1Jakub Hrozek/* methods for org.freedesktop.sssd.infopipe */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březinaconst struct sbus_method_meta iface_ifp__methods[] = {
8214510f125879c3b1d247f2ce981ee20b5375d1Jakub Hrozek {
8214510f125879c3b1d247f2ce981ee20b5375d1Jakub Hrozek "Ping", /* name */
1024dbcba0c16fb5df5e6d16894a8c7a36dc75f2Pavel Březina iface_ifp_Ping__in,
1024dbcba0c16fb5df5e6d16894a8c7a36dc75f2Pavel Březina iface_ifp_Ping__out,
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina offsetof(struct iface_ifp, Ping),
1024dbcba0c16fb5df5e6d16894a8c7a36dc75f2Pavel Březina invoke_s_method,
8214510f125879c3b1d247f2ce981ee20b5375d1Jakub Hrozek },
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina {
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina "ListComponents", /* name */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina NULL, /* no in_args */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina iface_ifp_ListComponents__out,
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina offsetof(struct iface_ifp, ListComponents),
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina NULL, /* no invoker */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina },
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina {
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina "ListResponders", /* name */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina NULL, /* no in_args */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina iface_ifp_ListResponders__out,
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina offsetof(struct iface_ifp, ListResponders),
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina NULL, /* no invoker */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina },
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina {
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina "ListBackends", /* name */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina NULL, /* no in_args */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina iface_ifp_ListBackends__out,
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina offsetof(struct iface_ifp, ListBackends),
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina NULL, /* no invoker */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina },
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina {
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina "FindMonitor", /* name */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina NULL, /* no in_args */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina iface_ifp_FindMonitor__out,
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina offsetof(struct iface_ifp, FindMonitor),
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina NULL, /* no invoker */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina },
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina {
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina "FindResponderByName", /* name */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina iface_ifp_FindResponderByName__in,
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina iface_ifp_FindResponderByName__out,
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina offsetof(struct iface_ifp, FindResponderByName),
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina invoke_s_method,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina },
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina {
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina "FindBackendByName", /* name */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina iface_ifp_FindBackendByName__in,
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina iface_ifp_FindBackendByName__out,
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina offsetof(struct iface_ifp, FindBackendByName),
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina invoke_s_method,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina },
2fbe9b9373dcdc28558da07690e57ff7a162a11dJakub Hrozek {
2fbe9b9373dcdc28558da07690e57ff7a162a11dJakub Hrozek "GetUserAttr", /* name */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina iface_ifp_GetUserAttr__in,
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina iface_ifp_GetUserAttr__out,
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina offsetof(struct iface_ifp, GetUserAttr),
2fbe9b9373dcdc28558da07690e57ff7a162a11dJakub Hrozek NULL, /* no invoker */
2fbe9b9373dcdc28558da07690e57ff7a162a11dJakub Hrozek },
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek {
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek "GetUserGroups", /* name */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina iface_ifp_GetUserGroups__in,
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina iface_ifp_GetUserGroups__out,
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina offsetof(struct iface_ifp, GetUserGroups),
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek invoke_s_method,
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek },
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek {
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek "FindDomainByName", /* name */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina iface_ifp_FindDomainByName__in,
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina iface_ifp_FindDomainByName__out,
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina offsetof(struct iface_ifp, FindDomainByName),
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek invoke_s_method,
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek },
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek {
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek "ListDomains", /* name */
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek NULL, /* no in_args */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina iface_ifp_ListDomains__out,
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina offsetof(struct iface_ifp, ListDomains),
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek NULL, /* no invoker */
590582be38cdbfde387fcc57df92903d48c5a083Jakub Hrozek },
8214510f125879c3b1d247f2ce981ee20b5375d1Jakub Hrozek { NULL, }
8214510f125879c3b1d247f2ce981ee20b5375d1Jakub Hrozek};
8214510f125879c3b1d247f2ce981ee20b5375d1Jakub Hrozek
8214510f125879c3b1d247f2ce981ee20b5375d1Jakub Hrozek/* interface info for org.freedesktop.sssd.infopipe */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březinaconst struct sbus_interface_meta iface_ifp_meta = {
8214510f125879c3b1d247f2ce981ee20b5375d1Jakub Hrozek "org.freedesktop.sssd.infopipe", /* name */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina iface_ifp__methods,
8214510f125879c3b1d247f2ce981ee20b5375d1Jakub Hrozek NULL, /* no signals */
4f7f714e118e95896fac5239c7a8b529c39a4758Jakub Hrozek NULL, /* no properties */
df4e1db5d41c903ae57fd880acc76a0ad84aa7b2Pavel Březina sbus_invoke_get_all, /* GetAll invoker */
8214510f125879c3b1d247f2ce981ee20b5375d1Jakub Hrozek};
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek/* property info for org.freedesktop.sssd.infopipe.Components */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březinaconst struct sbus_property_meta iface_ifp_components__properties[] = {
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek {
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "name", /* name */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "s", /* type */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek SBUS_PROPERTY_READABLE,
4e5d19f659d8c545c4ed3c307c95cfe4f2ca33cbPavel Březina offsetof(struct iface_ifp_components, get_name),
df4e1db5d41c903ae57fd880acc76a0ad84aa7b2Pavel Březina sbus_invoke_get_s,
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek 0, /* not writable */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek NULL, /* no invoker */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek },
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek {
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "debug_level", /* name */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "u", /* type */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek SBUS_PROPERTY_READABLE,
4e5d19f659d8c545c4ed3c307c95cfe4f2ca33cbPavel Březina offsetof(struct iface_ifp_components, get_debug_level),
df4e1db5d41c903ae57fd880acc76a0ad84aa7b2Pavel Březina sbus_invoke_get_u,
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek 0, /* not writable */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek NULL, /* no invoker */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek },
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek {
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "enabled", /* name */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "b", /* type */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek SBUS_PROPERTY_READABLE,
4e5d19f659d8c545c4ed3c307c95cfe4f2ca33cbPavel Březina offsetof(struct iface_ifp_components, get_enabled),
df4e1db5d41c903ae57fd880acc76a0ad84aa7b2Pavel Březina sbus_invoke_get_b,
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek 0, /* not writable */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek NULL, /* no invoker */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek },
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek {
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "type", /* name */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "s", /* type */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek SBUS_PROPERTY_READABLE,
4e5d19f659d8c545c4ed3c307c95cfe4f2ca33cbPavel Březina offsetof(struct iface_ifp_components, get_type),
df4e1db5d41c903ae57fd880acc76a0ad84aa7b2Pavel Březina sbus_invoke_get_s,
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek 0, /* not writable */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek NULL, /* no invoker */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek },
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek {
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "providers", /* name */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "as", /* type */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek SBUS_PROPERTY_READABLE,
4e5d19f659d8c545c4ed3c307c95cfe4f2ca33cbPavel Březina offsetof(struct iface_ifp_components, get_providers),
df4e1db5d41c903ae57fd880acc76a0ad84aa7b2Pavel Březina sbus_invoke_get_as,
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek 0, /* not writable */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek NULL, /* no invoker */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek },
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek { NULL, }
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek};
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek/* interface info for org.freedesktop.sssd.infopipe.Components */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březinaconst struct sbus_interface_meta iface_ifp_components_meta = {
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "org.freedesktop.sssd.infopipe.Components", /* name */
2ddcd5785f10de42bf03dfc36eca94dbc1fc1fb3Fabiano Fidêncio NULL, /* no methods */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek NULL, /* no signals */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina iface_ifp_components__properties,
df4e1db5d41c903ae57fd880acc76a0ad84aa7b2Pavel Březina sbus_invoke_get_all, /* GetAll invoker */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek};
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek/* property info for org.freedesktop.sssd.infopipe.Domains */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březinaconst struct sbus_property_meta iface_ifp_domains__properties[] = {
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina {
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina "name", /* name */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina "s", /* type */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina SBUS_PROPERTY_READABLE,
4e5d19f659d8c545c4ed3c307c95cfe4f2ca33cbPavel Březina offsetof(struct iface_ifp_domains, get_name),
df4e1db5d41c903ae57fd880acc76a0ad84aa7b2Pavel Březina sbus_invoke_get_s,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina 0, /* not writable */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina NULL, /* no invoker */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina },
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina {
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "provider", /* name */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "s", /* type */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek SBUS_PROPERTY_READABLE,
4e5d19f659d8c545c4ed3c307c95cfe4f2ca33cbPavel Březina offsetof(struct iface_ifp_domains, get_provider),
df4e1db5d41c903ae57fd880acc76a0ad84aa7b2Pavel Březina sbus_invoke_get_s,
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek 0, /* not writable */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek NULL, /* no invoker */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek },
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek {
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "primary_servers", /* name */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "as", /* type */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek SBUS_PROPERTY_READABLE,
4e5d19f659d8c545c4ed3c307c95cfe4f2ca33cbPavel Březina offsetof(struct iface_ifp_domains, get_primary_servers),
df4e1db5d41c903ae57fd880acc76a0ad84aa7b2Pavel Březina sbus_invoke_get_as,
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek 0, /* not writable */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek NULL, /* no invoker */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek },
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek {
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "backup_servers", /* name */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "as", /* type */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek SBUS_PROPERTY_READABLE,
4e5d19f659d8c545c4ed3c307c95cfe4f2ca33cbPavel Březina offsetof(struct iface_ifp_domains, get_backup_servers),
df4e1db5d41c903ae57fd880acc76a0ad84aa7b2Pavel Březina sbus_invoke_get_as,
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek 0, /* not writable */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek NULL, /* no invoker */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek },
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek {
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "min_id", /* name */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina "u", /* type */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina SBUS_PROPERTY_READABLE,
4e5d19f659d8c545c4ed3c307c95cfe4f2ca33cbPavel Březina offsetof(struct iface_ifp_domains, get_min_id),
df4e1db5d41c903ae57fd880acc76a0ad84aa7b2Pavel Březina sbus_invoke_get_u,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina 0, /* not writable */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina NULL, /* no invoker */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina },
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina {
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "max_id", /* name */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "u", /* type */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina SBUS_PROPERTY_READABLE,
4e5d19f659d8c545c4ed3c307c95cfe4f2ca33cbPavel Březina offsetof(struct iface_ifp_domains, get_max_id),
df4e1db5d41c903ae57fd880acc76a0ad84aa7b2Pavel Březina sbus_invoke_get_u,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina 0, /* not writable */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina NULL, /* no invoker */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina },
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina {
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "realm", /* name */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina "s", /* type */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina SBUS_PROPERTY_READABLE,
4e5d19f659d8c545c4ed3c307c95cfe4f2ca33cbPavel Březina offsetof(struct iface_ifp_domains, get_realm),
df4e1db5d41c903ae57fd880acc76a0ad84aa7b2Pavel Březina sbus_invoke_get_s,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina 0, /* not writable */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina NULL, /* no invoker */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina },
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina {
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "forest", /* name */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "s", /* type */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina SBUS_PROPERTY_READABLE,
4e5d19f659d8c545c4ed3c307c95cfe4f2ca33cbPavel Březina offsetof(struct iface_ifp_domains, get_forest),
df4e1db5d41c903ae57fd880acc76a0ad84aa7b2Pavel Březina sbus_invoke_get_s,
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek 0, /* not writable */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek NULL, /* no invoker */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek },
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek {
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "login_format", /* name */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "s", /* type */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek SBUS_PROPERTY_READABLE,
4e5d19f659d8c545c4ed3c307c95cfe4f2ca33cbPavel Březina offsetof(struct iface_ifp_domains, get_login_format),
df4e1db5d41c903ae57fd880acc76a0ad84aa7b2Pavel Březina sbus_invoke_get_s,
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek 0, /* not writable */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek NULL, /* no invoker */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek },
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek {
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "fully_qualified_name_format", /* name */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "s", /* type */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek SBUS_PROPERTY_READABLE,
4e5d19f659d8c545c4ed3c307c95cfe4f2ca33cbPavel Březina offsetof(struct iface_ifp_domains, get_fully_qualified_name_format),
df4e1db5d41c903ae57fd880acc76a0ad84aa7b2Pavel Březina sbus_invoke_get_s,
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek 0, /* not writable */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek NULL, /* no invoker */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek },
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek {
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "enumerable", /* name */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "b", /* type */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek SBUS_PROPERTY_READABLE,
4e5d19f659d8c545c4ed3c307c95cfe4f2ca33cbPavel Březina offsetof(struct iface_ifp_domains, get_enumerable),
df4e1db5d41c903ae57fd880acc76a0ad84aa7b2Pavel Březina sbus_invoke_get_b,
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek 0, /* not writable */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek NULL, /* no invoker */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek },
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek {
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "use_fully_qualified_names", /* name */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "b", /* type */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek SBUS_PROPERTY_READABLE,
4e5d19f659d8c545c4ed3c307c95cfe4f2ca33cbPavel Březina offsetof(struct iface_ifp_domains, get_use_fully_qualified_names),
df4e1db5d41c903ae57fd880acc76a0ad84aa7b2Pavel Březina sbus_invoke_get_b,
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek 0, /* not writable */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek NULL, /* no invoker */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek },
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek {
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "subdomain", /* name */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "b", /* type */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek SBUS_PROPERTY_READABLE,
4e5d19f659d8c545c4ed3c307c95cfe4f2ca33cbPavel Březina offsetof(struct iface_ifp_domains, get_subdomain),
df4e1db5d41c903ae57fd880acc76a0ad84aa7b2Pavel Březina sbus_invoke_get_b,
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek 0, /* not writable */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek NULL, /* no invoker */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek },
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek {
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "parent_domain", /* name */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek "o", /* type */
75c465e1f9e047a981b29634b77b50dc684c4c89Michal Zidek SBUS_PROPERTY_READABLE,
4e5d19f659d8c545c4ed3c307c95cfe4f2ca33cbPavel Březina offsetof(struct iface_ifp_domains, get_parent_domain),
df4e1db5d41c903ae57fd880acc76a0ad84aa7b2Pavel Březina sbus_invoke_get_o,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina 0, /* not writable */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina NULL, /* no invoker */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina },
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina { NULL, }
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina};
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
d387c4608dbd3ca056e18e85313ef51aac146fd2Pavel Březina/* interface info for org.freedesktop.sssd.infopipe.Domains */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březinaconst struct sbus_interface_meta iface_ifp_domains_meta = {
d387c4608dbd3ca056e18e85313ef51aac146fd2Pavel Březina "org.freedesktop.sssd.infopipe.Domains", /* name */
d387c4608dbd3ca056e18e85313ef51aac146fd2Pavel Březina NULL, /* no methods */
d387c4608dbd3ca056e18e85313ef51aac146fd2Pavel Březina NULL, /* no signals */
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina iface_ifp_domains__properties,
df4e1db5d41c903ae57fd880acc76a0ad84aa7b2Pavel Březina sbus_invoke_get_all, /* GetAll invoker */
d387c4608dbd3ca056e18e85313ef51aac146fd2Pavel Březina};
d387c4608dbd3ca056e18e85313ef51aac146fd2Pavel Březina
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina/* arguments for org.freedesktop.sssd.infopipe.Domains.Domain.IsOnline */
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březinaconst struct sbus_arg_meta iface_ifp_domains_domain_IsOnline__out[] = {
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina { "status", "b" },
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina { NULL, }
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina};
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březinaint iface_ifp_domains_domain_IsOnline_finish(struct sbus_request *req, bool arg_status)
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina{
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina dbus_bool_t cast_status = arg_status;
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina return sbus_request_return_and_finish(req,
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina DBUS_TYPE_BOOLEAN, &cast_status,
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina DBUS_TYPE_INVALID);
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina}
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina/* arguments for org.freedesktop.sssd.infopipe.Domains.Domain.ListServices */
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březinaconst struct sbus_arg_meta iface_ifp_domains_domain_ListServices__out[] = {
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina { "services", "as" },
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina { NULL, }
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina};
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březinaint iface_ifp_domains_domain_ListServices_finish(struct sbus_request *req, const char *arg_services[], int len_services)
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina{
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina return sbus_request_return_and_finish(req,
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina DBUS_TYPE_ARRAY, DBUS_TYPE_STRING, &arg_services, len_services,
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina DBUS_TYPE_INVALID);
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina}
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina/* arguments for org.freedesktop.sssd.infopipe.Domains.Domain.ActiveServer */
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březinaconst struct sbus_arg_meta iface_ifp_domains_domain_ActiveServer__in[] = {
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina { "service", "s" },
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina { NULL, }
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina};
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina/* arguments for org.freedesktop.sssd.infopipe.Domains.Domain.ActiveServer */
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březinaconst struct sbus_arg_meta iface_ifp_domains_domain_ActiveServer__out[] = {
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina { "server", "s" },
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina { NULL, }
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina};
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březinaint iface_ifp_domains_domain_ActiveServer_finish(struct sbus_request *req, const char *arg_server)
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina{
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina return sbus_request_return_and_finish(req,
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina DBUS_TYPE_STRING, &arg_server,
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina DBUS_TYPE_INVALID);
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina}
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina/* arguments for org.freedesktop.sssd.infopipe.Domains.Domain.ListServers */
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březinaconst struct sbus_arg_meta iface_ifp_domains_domain_ListServers__in[] = {
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina { "service_name", "s" },
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina { NULL, }
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina};
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina/* arguments for org.freedesktop.sssd.infopipe.Domains.Domain.ListServers */
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březinaconst struct sbus_arg_meta iface_ifp_domains_domain_ListServers__out[] = {
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina { "servers", "as" },
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina { NULL, }
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina};
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březinaint iface_ifp_domains_domain_ListServers_finish(struct sbus_request *req, const char *arg_servers[], int len_servers)
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina{
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina return sbus_request_return_and_finish(req,
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina DBUS_TYPE_ARRAY, DBUS_TYPE_STRING, &arg_servers, len_servers,
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina DBUS_TYPE_INVALID);
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina}
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina
c6cf752337f5977ce3753b7113dc1a2342c86319Pavel Březinaint iface_ifp_domains_domain_RefreshAccessRules_finish(struct sbus_request *req)
c6cf752337f5977ce3753b7113dc1a2342c86319Pavel Březina{
c6cf752337f5977ce3753b7113dc1a2342c86319Pavel Březina return sbus_request_return_and_finish(req,
c6cf752337f5977ce3753b7113dc1a2342c86319Pavel Březina DBUS_TYPE_INVALID);
c6cf752337f5977ce3753b7113dc1a2342c86319Pavel Březina}
c6cf752337f5977ce3753b7113dc1a2342c86319Pavel Březina
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina/* methods for org.freedesktop.sssd.infopipe.Domains.Domain */
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březinaconst struct sbus_method_meta iface_ifp_domains_domain__methods[] = {
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina {
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina "IsOnline", /* name */
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina NULL, /* no in_args */
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina iface_ifp_domains_domain_IsOnline__out,
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina offsetof(struct iface_ifp_domains_domain, IsOnline),
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina NULL, /* no invoker */
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina },
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina {
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina "ListServices", /* name */
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina NULL, /* no in_args */
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina iface_ifp_domains_domain_ListServices__out,
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina offsetof(struct iface_ifp_domains_domain, ListServices),
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina NULL, /* no invoker */
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina },
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina {
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina "ActiveServer", /* name */
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina iface_ifp_domains_domain_ActiveServer__in,
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina iface_ifp_domains_domain_ActiveServer__out,
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina offsetof(struct iface_ifp_domains_domain, ActiveServer),
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina invoke_s_method,
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina },
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina {
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina "ListServers", /* name */
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina iface_ifp_domains_domain_ListServers__in,
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina iface_ifp_domains_domain_ListServers__out,
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina offsetof(struct iface_ifp_domains_domain, ListServers),
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina invoke_s_method,
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina },
c6cf752337f5977ce3753b7113dc1a2342c86319Pavel Březina {
c6cf752337f5977ce3753b7113dc1a2342c86319Pavel Březina "RefreshAccessRules", /* name */
c6cf752337f5977ce3753b7113dc1a2342c86319Pavel Březina NULL, /* no in_args */
c6cf752337f5977ce3753b7113dc1a2342c86319Pavel Březina NULL, /* no out_args */
c6cf752337f5977ce3753b7113dc1a2342c86319Pavel Březina offsetof(struct iface_ifp_domains_domain, RefreshAccessRules),
c6cf752337f5977ce3753b7113dc1a2342c86319Pavel Březina NULL, /* no invoker */
c6cf752337f5977ce3753b7113dc1a2342c86319Pavel Březina },
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina { NULL, }
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina};
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina/* interface info for org.freedesktop.sssd.infopipe.Domains.Domain */
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březinaconst struct sbus_interface_meta iface_ifp_domains_domain_meta = {
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina "org.freedesktop.sssd.infopipe.Domains.Domain", /* name */
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina iface_ifp_domains_domain__methods,
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina NULL, /* no signals */
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina NULL, /* no properties */
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina sbus_invoke_get_all, /* GetAll invoker */
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina};
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina/* arguments for org.freedesktop.sssd.infopipe.Cache.List */
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březinaconst struct sbus_arg_meta iface_ifp_cache_List__out[] = {
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina { "result", "ao" },
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina { NULL, }
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina};
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březinaint iface_ifp_cache_List_finish(struct sbus_request *req, const char *arg_result[], int len_result)
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina{
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina return sbus_request_return_and_finish(req,
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_result, len_result,
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina DBUS_TYPE_INVALID);
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina}
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina/* arguments for org.freedesktop.sssd.infopipe.Cache.ListByDomain */
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březinaconst struct sbus_arg_meta iface_ifp_cache_ListByDomain__in[] = {
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina { "domain_name", "s" },
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina { NULL, }
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina};
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina/* arguments for org.freedesktop.sssd.infopipe.Cache.ListByDomain */
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březinaconst struct sbus_arg_meta iface_ifp_cache_ListByDomain__out[] = {
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina { "result", "ao" },
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina { NULL, }
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina};
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březinaint iface_ifp_cache_ListByDomain_finish(struct sbus_request *req, const char *arg_result[], int len_result)
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina{
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina return sbus_request_return_and_finish(req,
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_result, len_result,
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina DBUS_TYPE_INVALID);
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina}
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina/* methods for org.freedesktop.sssd.infopipe.Cache */
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březinaconst struct sbus_method_meta iface_ifp_cache__methods[] = {
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina {
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina "List", /* name */
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina NULL, /* no in_args */
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina iface_ifp_cache_List__out,
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina offsetof(struct iface_ifp_cache, List),
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina NULL, /* no invoker */
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina },
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina {
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina "ListByDomain", /* name */
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina iface_ifp_cache_ListByDomain__in,
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina iface_ifp_cache_ListByDomain__out,
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina offsetof(struct iface_ifp_cache, ListByDomain),
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina invoke_s_method,
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina },
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina { NULL, }
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina};
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina/* interface info for org.freedesktop.sssd.infopipe.Cache */
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březinaconst struct sbus_interface_meta iface_ifp_cache_meta = {
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina "org.freedesktop.sssd.infopipe.Cache", /* name */
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina iface_ifp_cache__methods,
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina NULL, /* no signals */
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina NULL, /* no properties */
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina sbus_invoke_get_all, /* GetAll invoker */
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina};
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina/* arguments for org.freedesktop.sssd.infopipe.Cache.Object.Store */
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březinaconst struct sbus_arg_meta iface_ifp_cache_object_Store__out[] = {
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina { "result", "b" },
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina { NULL, }
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina};
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březinaint iface_ifp_cache_object_Store_finish(struct sbus_request *req, bool arg_result)
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina{
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina dbus_bool_t cast_result = arg_result;
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina return sbus_request_return_and_finish(req,
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina DBUS_TYPE_BOOLEAN, &cast_result,
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina DBUS_TYPE_INVALID);
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina}
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina/* arguments for org.freedesktop.sssd.infopipe.Cache.Object.Remove */
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březinaconst struct sbus_arg_meta iface_ifp_cache_object_Remove__out[] = {
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina { "result", "b" },
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina { NULL, }
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina};
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březinaint iface_ifp_cache_object_Remove_finish(struct sbus_request *req, bool arg_result)
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina{
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina dbus_bool_t cast_result = arg_result;
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina return sbus_request_return_and_finish(req,
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina DBUS_TYPE_BOOLEAN, &cast_result,
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina DBUS_TYPE_INVALID);
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina}
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina/* methods for org.freedesktop.sssd.infopipe.Cache.Object */
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březinaconst struct sbus_method_meta iface_ifp_cache_object__methods[] = {
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina {
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina "Store", /* name */
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina NULL, /* no in_args */
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina iface_ifp_cache_object_Store__out,
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina offsetof(struct iface_ifp_cache_object, Store),
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina NULL, /* no invoker */
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina },
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina {
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina "Remove", /* name */
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina NULL, /* no in_args */
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina iface_ifp_cache_object_Remove__out,
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina offsetof(struct iface_ifp_cache_object, Remove),
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina NULL, /* no invoker */
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina },
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina { NULL, }
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina};
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina/* interface info for org.freedesktop.sssd.infopipe.Cache.Object */
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březinaconst struct sbus_interface_meta iface_ifp_cache_object_meta = {
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina "org.freedesktop.sssd.infopipe.Cache.Object", /* name */
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina iface_ifp_cache_object__methods,
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina NULL, /* no signals */
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina NULL, /* no properties */
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina sbus_invoke_get_all, /* GetAll invoker */
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina};
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina/* arguments for org.freedesktop.sssd.infopipe.Users.FindByName */
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březinaconst struct sbus_arg_meta iface_ifp_users_FindByName__in[] = {
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina { "name", "s" },
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina { NULL, }
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina};
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina/* arguments for org.freedesktop.sssd.infopipe.Users.FindByName */
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březinaconst struct sbus_arg_meta iface_ifp_users_FindByName__out[] = {
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina { "result", "o" },
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina { NULL, }
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina};
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březinaint iface_ifp_users_FindByName_finish(struct sbus_request *req, const char *arg_result)
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina{
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina return sbus_request_return_and_finish(req,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina DBUS_TYPE_OBJECT_PATH, &arg_result,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina DBUS_TYPE_INVALID);
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina}
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina/* arguments for org.freedesktop.sssd.infopipe.Users.FindByID */
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březinaconst struct sbus_arg_meta iface_ifp_users_FindByID__in[] = {
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina { "id", "u" },
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina { NULL, }
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina};
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina/* arguments for org.freedesktop.sssd.infopipe.Users.FindByID */
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březinaconst struct sbus_arg_meta iface_ifp_users_FindByID__out[] = {
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina { "result", "o" },
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina { NULL, }
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina};
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březinaint iface_ifp_users_FindByID_finish(struct sbus_request *req, const char *arg_result)
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina{
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina return sbus_request_return_and_finish(req,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina DBUS_TYPE_OBJECT_PATH, &arg_result,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina DBUS_TYPE_INVALID);
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina}
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina
827a016a07d5f911cc4195be89896a376fd71f59Sumit Bose/* arguments for org.freedesktop.sssd.infopipe.Users.FindByCertificate */
827a016a07d5f911cc4195be89896a376fd71f59Sumit Boseconst struct sbus_arg_meta iface_ifp_users_FindByCertificate__in[] = {
827a016a07d5f911cc4195be89896a376fd71f59Sumit Bose { "pem_cert", "s" },
827a016a07d5f911cc4195be89896a376fd71f59Sumit Bose { NULL, }
827a016a07d5f911cc4195be89896a376fd71f59Sumit Bose};
827a016a07d5f911cc4195be89896a376fd71f59Sumit Bose
827a016a07d5f911cc4195be89896a376fd71f59Sumit Bose/* arguments for org.freedesktop.sssd.infopipe.Users.FindByCertificate */
827a016a07d5f911cc4195be89896a376fd71f59Sumit Boseconst struct sbus_arg_meta iface_ifp_users_FindByCertificate__out[] = {
827a016a07d5f911cc4195be89896a376fd71f59Sumit Bose { "result", "o" },
827a016a07d5f911cc4195be89896a376fd71f59Sumit Bose { NULL, }
827a016a07d5f911cc4195be89896a376fd71f59Sumit Bose};
827a016a07d5f911cc4195be89896a376fd71f59Sumit Bose
827a016a07d5f911cc4195be89896a376fd71f59Sumit Boseint iface_ifp_users_FindByCertificate_finish(struct sbus_request *req, const char *arg_result)
827a016a07d5f911cc4195be89896a376fd71f59Sumit Bose{
827a016a07d5f911cc4195be89896a376fd71f59Sumit Bose return sbus_request_return_and_finish(req,
827a016a07d5f911cc4195be89896a376fd71f59Sumit Bose DBUS_TYPE_OBJECT_PATH, &arg_result,
827a016a07d5f911cc4195be89896a376fd71f59Sumit Bose DBUS_TYPE_INVALID);
827a016a07d5f911cc4195be89896a376fd71f59Sumit Bose}
827a016a07d5f911cc4195be89896a376fd71f59Sumit Bose
861dbe0794739a1c93a5bed00913c7442a2bdac9Sumit Bose/* arguments for org.freedesktop.sssd.infopipe.Users.ListByCertificate */
861dbe0794739a1c93a5bed00913c7442a2bdac9Sumit Boseconst struct sbus_arg_meta iface_ifp_users_ListByCertificate__in[] = {
861dbe0794739a1c93a5bed00913c7442a2bdac9Sumit Bose { "pem_cert", "s" },
861dbe0794739a1c93a5bed00913c7442a2bdac9Sumit Bose { "limit", "u" },
861dbe0794739a1c93a5bed00913c7442a2bdac9Sumit Bose { NULL, }
861dbe0794739a1c93a5bed00913c7442a2bdac9Sumit Bose};
861dbe0794739a1c93a5bed00913c7442a2bdac9Sumit Bose
861dbe0794739a1c93a5bed00913c7442a2bdac9Sumit Bose/* arguments for org.freedesktop.sssd.infopipe.Users.ListByCertificate */
861dbe0794739a1c93a5bed00913c7442a2bdac9Sumit Boseconst struct sbus_arg_meta iface_ifp_users_ListByCertificate__out[] = {
861dbe0794739a1c93a5bed00913c7442a2bdac9Sumit Bose { "result", "ao" },
861dbe0794739a1c93a5bed00913c7442a2bdac9Sumit Bose { NULL, }
861dbe0794739a1c93a5bed00913c7442a2bdac9Sumit Bose};
861dbe0794739a1c93a5bed00913c7442a2bdac9Sumit Bose
861dbe0794739a1c93a5bed00913c7442a2bdac9Sumit Boseint iface_ifp_users_ListByCertificate_finish(struct sbus_request *req, const char *arg_result[], int len_result)
861dbe0794739a1c93a5bed00913c7442a2bdac9Sumit Bose{
861dbe0794739a1c93a5bed00913c7442a2bdac9Sumit Bose return sbus_request_return_and_finish(req,
861dbe0794739a1c93a5bed00913c7442a2bdac9Sumit Bose DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_result, len_result,
861dbe0794739a1c93a5bed00913c7442a2bdac9Sumit Bose DBUS_TYPE_INVALID);
861dbe0794739a1c93a5bed00913c7442a2bdac9Sumit Bose}
861dbe0794739a1c93a5bed00913c7442a2bdac9Sumit Bose
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose/* arguments for org.freedesktop.sssd.infopipe.Users.FindByNameAndCertificate */
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Boseconst struct sbus_arg_meta iface_ifp_users_FindByNameAndCertificate__in[] = {
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose { "name", "s" },
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose { "pem_cert", "s" },
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose { NULL, }
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose};
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose/* arguments for org.freedesktop.sssd.infopipe.Users.FindByNameAndCertificate */
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Boseconst struct sbus_arg_meta iface_ifp_users_FindByNameAndCertificate__out[] = {
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose { "result", "o" },
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose { NULL, }
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose};
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Boseint iface_ifp_users_FindByNameAndCertificate_finish(struct sbus_request *req, const char *arg_result)
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose{
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose return sbus_request_return_and_finish(req,
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose DBUS_TYPE_OBJECT_PATH, &arg_result,
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose DBUS_TYPE_INVALID);
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose}
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina/* arguments for org.freedesktop.sssd.infopipe.Users.ListByName */
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březinaconst struct sbus_arg_meta iface_ifp_users_ListByName__in[] = {
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina { "name_filter", "s" },
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina { "limit", "u" },
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina { NULL, }
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina};
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina/* arguments for org.freedesktop.sssd.infopipe.Users.ListByName */
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březinaconst struct sbus_arg_meta iface_ifp_users_ListByName__out[] = {
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina { "result", "ao" },
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina { NULL, }
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina};
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březinaint iface_ifp_users_ListByName_finish(struct sbus_request *req, const char *arg_result[], int len_result)
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina{
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina return sbus_request_return_and_finish(req,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_result, len_result,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina DBUS_TYPE_INVALID);
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina}
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina/* arguments for org.freedesktop.sssd.infopipe.Users.ListByDomainAndName */
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březinaconst struct sbus_arg_meta iface_ifp_users_ListByDomainAndName__in[] = {
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina { "domain_name", "s" },
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina { "name_filter", "s" },
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina { "limit", "u" },
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina { NULL, }
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina};
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina/* arguments for org.freedesktop.sssd.infopipe.Users.ListByDomainAndName */
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březinaconst struct sbus_arg_meta iface_ifp_users_ListByDomainAndName__out[] = {
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina { "result", "ao" },
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina { NULL, }
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina};
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březinaint iface_ifp_users_ListByDomainAndName_finish(struct sbus_request *req, const char *arg_result[], int len_result)
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina{
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina return sbus_request_return_and_finish(req,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_result, len_result,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina DBUS_TYPE_INVALID);
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina}
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina/* methods for org.freedesktop.sssd.infopipe.Users */
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březinaconst struct sbus_method_meta iface_ifp_users__methods[] = {
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina {
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina "FindByName", /* name */
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina iface_ifp_users_FindByName__in,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina iface_ifp_users_FindByName__out,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina offsetof(struct iface_ifp_users, FindByName),
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina invoke_s_method,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina },
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina {
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina "FindByID", /* name */
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina iface_ifp_users_FindByID__in,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina iface_ifp_users_FindByID__out,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina offsetof(struct iface_ifp_users, FindByID),
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina invoke_u_method,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina },
827a016a07d5f911cc4195be89896a376fd71f59Sumit Bose {
827a016a07d5f911cc4195be89896a376fd71f59Sumit Bose "FindByCertificate", /* name */
827a016a07d5f911cc4195be89896a376fd71f59Sumit Bose iface_ifp_users_FindByCertificate__in,
827a016a07d5f911cc4195be89896a376fd71f59Sumit Bose iface_ifp_users_FindByCertificate__out,
827a016a07d5f911cc4195be89896a376fd71f59Sumit Bose offsetof(struct iface_ifp_users, FindByCertificate),
827a016a07d5f911cc4195be89896a376fd71f59Sumit Bose invoke_s_method,
827a016a07d5f911cc4195be89896a376fd71f59Sumit Bose },
861dbe0794739a1c93a5bed00913c7442a2bdac9Sumit Bose {
861dbe0794739a1c93a5bed00913c7442a2bdac9Sumit Bose "ListByCertificate", /* name */
861dbe0794739a1c93a5bed00913c7442a2bdac9Sumit Bose iface_ifp_users_ListByCertificate__in,
861dbe0794739a1c93a5bed00913c7442a2bdac9Sumit Bose iface_ifp_users_ListByCertificate__out,
861dbe0794739a1c93a5bed00913c7442a2bdac9Sumit Bose offsetof(struct iface_ifp_users, ListByCertificate),
861dbe0794739a1c93a5bed00913c7442a2bdac9Sumit Bose invoke_su_method,
861dbe0794739a1c93a5bed00913c7442a2bdac9Sumit Bose },
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose {
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose "FindByNameAndCertificate", /* name */
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose iface_ifp_users_FindByNameAndCertificate__in,
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose iface_ifp_users_FindByNameAndCertificate__out,
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose offsetof(struct iface_ifp_users, FindByNameAndCertificate),
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose invoke_ss_method,
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose },
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina {
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina "ListByName", /* name */
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina iface_ifp_users_ListByName__in,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina iface_ifp_users_ListByName__out,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina offsetof(struct iface_ifp_users, ListByName),
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina invoke_su_method,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina },
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina {
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina "ListByDomainAndName", /* name */
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina iface_ifp_users_ListByDomainAndName__in,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina iface_ifp_users_ListByDomainAndName__out,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina offsetof(struct iface_ifp_users, ListByDomainAndName),
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina invoke_ssu_method,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina },
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina { NULL, }
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina};
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina/* interface info for org.freedesktop.sssd.infopipe.Users */
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březinaconst struct sbus_interface_meta iface_ifp_users_meta = {
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina "org.freedesktop.sssd.infopipe.Users", /* name */
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina iface_ifp_users__methods,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina NULL, /* no signals */
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina NULL, /* no properties */
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina sbus_invoke_get_all, /* GetAll invoker */
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina};
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březinaint iface_ifp_users_user_UpdateGroupsList_finish(struct sbus_request *req)
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina{
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina return sbus_request_return_and_finish(req,
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina DBUS_TYPE_INVALID);
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina}
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina/* methods for org.freedesktop.sssd.infopipe.Users.User */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březinaconst struct sbus_method_meta iface_ifp_users_user__methods[] = {
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina {
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina "UpdateGroupsList", /* name */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina NULL, /* no in_args */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina NULL, /* no out_args */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina offsetof(struct iface_ifp_users_user, UpdateGroupsList),
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina NULL, /* no invoker */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina },
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina { NULL, }
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina};
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina/* property info for org.freedesktop.sssd.infopipe.Users.User */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březinaconst struct sbus_property_meta iface_ifp_users_user__properties[] = {
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina {
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina "name", /* name */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina "s", /* type */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina SBUS_PROPERTY_READABLE,
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina offsetof(struct iface_ifp_users_user, get_name),
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina sbus_invoke_get_s,
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina 0, /* not writable */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina NULL, /* no invoker */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina },
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina {
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina "uidNumber", /* name */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina "u", /* type */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina SBUS_PROPERTY_READABLE,
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina offsetof(struct iface_ifp_users_user, get_uidNumber),
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina sbus_invoke_get_u,
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina 0, /* not writable */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina NULL, /* no invoker */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina },
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina {
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina "gidNumber", /* name */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina "u", /* type */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina SBUS_PROPERTY_READABLE,
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina offsetof(struct iface_ifp_users_user, get_gidNumber),
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina sbus_invoke_get_u,
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina 0, /* not writable */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina NULL, /* no invoker */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina },
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina {
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina "gecos", /* name */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina "s", /* type */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina SBUS_PROPERTY_READABLE,
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina offsetof(struct iface_ifp_users_user, get_gecos),
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina sbus_invoke_get_s,
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina 0, /* not writable */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina NULL, /* no invoker */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina },
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina {
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina "homeDirectory", /* name */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina "s", /* type */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina SBUS_PROPERTY_READABLE,
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina offsetof(struct iface_ifp_users_user, get_homeDirectory),
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina sbus_invoke_get_s,
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina 0, /* not writable */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina NULL, /* no invoker */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina },
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina {
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina "loginShell", /* name */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina "s", /* type */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina SBUS_PROPERTY_READABLE,
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina offsetof(struct iface_ifp_users_user, get_loginShell),
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina sbus_invoke_get_s,
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina 0, /* not writable */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina NULL, /* no invoker */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina },
e9a2e7afbd09c23dd8748246e09831ed7b17d7c5Thomas Equeter {
e9a2e7afbd09c23dd8748246e09831ed7b17d7c5Thomas Equeter "uniqueID", /* name */
e9a2e7afbd09c23dd8748246e09831ed7b17d7c5Thomas Equeter "s", /* type */
e9a2e7afbd09c23dd8748246e09831ed7b17d7c5Thomas Equeter SBUS_PROPERTY_READABLE,
e9a2e7afbd09c23dd8748246e09831ed7b17d7c5Thomas Equeter offsetof(struct iface_ifp_users_user, get_uniqueID),
e9a2e7afbd09c23dd8748246e09831ed7b17d7c5Thomas Equeter sbus_invoke_get_s,
e9a2e7afbd09c23dd8748246e09831ed7b17d7c5Thomas Equeter 0, /* not writable */
e9a2e7afbd09c23dd8748246e09831ed7b17d7c5Thomas Equeter NULL, /* no invoker */
e9a2e7afbd09c23dd8748246e09831ed7b17d7c5Thomas Equeter },
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina {
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina "groups", /* name */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina "ao", /* type */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina SBUS_PROPERTY_READABLE,
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina offsetof(struct iface_ifp_users_user, get_groups),
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina sbus_invoke_get_ao,
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina 0, /* not writable */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina NULL, /* no invoker */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina },
37d2194cc9ea4d0254c88a3419e2376572562babPavel Březina {
37d2194cc9ea4d0254c88a3419e2376572562babPavel Březina "domain", /* name */
37d2194cc9ea4d0254c88a3419e2376572562babPavel Březina "o", /* type */
37d2194cc9ea4d0254c88a3419e2376572562babPavel Březina SBUS_PROPERTY_READABLE,
37d2194cc9ea4d0254c88a3419e2376572562babPavel Březina offsetof(struct iface_ifp_users_user, get_domain),
37d2194cc9ea4d0254c88a3419e2376572562babPavel Březina sbus_invoke_get_o,
37d2194cc9ea4d0254c88a3419e2376572562babPavel Březina 0, /* not writable */
37d2194cc9ea4d0254c88a3419e2376572562babPavel Březina NULL, /* no invoker */
37d2194cc9ea4d0254c88a3419e2376572562babPavel Březina },
37d2194cc9ea4d0254c88a3419e2376572562babPavel Březina {
37d2194cc9ea4d0254c88a3419e2376572562babPavel Březina "domainname", /* name */
37d2194cc9ea4d0254c88a3419e2376572562babPavel Březina "s", /* type */
37d2194cc9ea4d0254c88a3419e2376572562babPavel Březina SBUS_PROPERTY_READABLE,
37d2194cc9ea4d0254c88a3419e2376572562babPavel Březina offsetof(struct iface_ifp_users_user, get_domainname),
37d2194cc9ea4d0254c88a3419e2376572562babPavel Březina sbus_invoke_get_s,
37d2194cc9ea4d0254c88a3419e2376572562babPavel Březina 0, /* not writable */
37d2194cc9ea4d0254c88a3419e2376572562babPavel Březina NULL, /* no invoker */
37d2194cc9ea4d0254c88a3419e2376572562babPavel Březina },
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina {
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina "extraAttributes", /* name */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina "a{sas}", /* type */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina SBUS_PROPERTY_READABLE,
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina offsetof(struct iface_ifp_users_user, get_extraAttributes),
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina sbus_invoke_get_aDOsasDE,
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina 0, /* not writable */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina NULL, /* no invoker */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina },
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina { NULL, }
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina};
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina/* interface info for org.freedesktop.sssd.infopipe.Users.User */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březinaconst struct sbus_interface_meta iface_ifp_users_user_meta = {
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina "org.freedesktop.sssd.infopipe.Users.User", /* name */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina iface_ifp_users_user__methods,
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina NULL, /* no signals */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina iface_ifp_users_user__properties,
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina sbus_invoke_get_all, /* GetAll invoker */
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina};
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina/* arguments for org.freedesktop.sssd.infopipe.Groups.FindByName */
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březinaconst struct sbus_arg_meta iface_ifp_groups_FindByName__in[] = {
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina { "name", "s" },
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina { NULL, }
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina};
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina/* arguments for org.freedesktop.sssd.infopipe.Groups.FindByName */
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březinaconst struct sbus_arg_meta iface_ifp_groups_FindByName__out[] = {
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina { "result", "o" },
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina { NULL, }
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina};
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březinaint iface_ifp_groups_FindByName_finish(struct sbus_request *req, const char *arg_result)
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina{
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina return sbus_request_return_and_finish(req,
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina DBUS_TYPE_OBJECT_PATH, &arg_result,
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina DBUS_TYPE_INVALID);
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina}
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina/* arguments for org.freedesktop.sssd.infopipe.Groups.FindByID */
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březinaconst struct sbus_arg_meta iface_ifp_groups_FindByID__in[] = {
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina { "id", "u" },
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina { NULL, }
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina};
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina/* arguments for org.freedesktop.sssd.infopipe.Groups.FindByID */
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březinaconst struct sbus_arg_meta iface_ifp_groups_FindByID__out[] = {
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina { "result", "o" },
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina { NULL, }
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina};
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březinaint iface_ifp_groups_FindByID_finish(struct sbus_request *req, const char *arg_result)
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina{
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina return sbus_request_return_and_finish(req,
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina DBUS_TYPE_OBJECT_PATH, &arg_result,
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina DBUS_TYPE_INVALID);
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina}
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina/* arguments for org.freedesktop.sssd.infopipe.Groups.ListByName */
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březinaconst struct sbus_arg_meta iface_ifp_groups_ListByName__in[] = {
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina { "name_filter", "s" },
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina { "limit", "u" },
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina { NULL, }
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina};
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina/* arguments for org.freedesktop.sssd.infopipe.Groups.ListByName */
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březinaconst struct sbus_arg_meta iface_ifp_groups_ListByName__out[] = {
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina { "result", "ao" },
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina { NULL, }
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina};
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březinaint iface_ifp_groups_ListByName_finish(struct sbus_request *req, const char *arg_result[], int len_result)
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina{
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina return sbus_request_return_and_finish(req,
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_result, len_result,
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina DBUS_TYPE_INVALID);
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina}
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina/* arguments for org.freedesktop.sssd.infopipe.Groups.ListByDomainAndName */
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březinaconst struct sbus_arg_meta iface_ifp_groups_ListByDomainAndName__in[] = {
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina { "domain_name", "s" },
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina { "name_filter", "s" },
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina { "limit", "u" },
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina { NULL, }
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina};
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina/* arguments for org.freedesktop.sssd.infopipe.Groups.ListByDomainAndName */
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březinaconst struct sbus_arg_meta iface_ifp_groups_ListByDomainAndName__out[] = {
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina { "result", "ao" },
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina { NULL, }
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina};
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březinaint iface_ifp_groups_ListByDomainAndName_finish(struct sbus_request *req, const char *arg_result[], int len_result)
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina{
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina return sbus_request_return_and_finish(req,
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_result, len_result,
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina DBUS_TYPE_INVALID);
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina}
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina/* methods for org.freedesktop.sssd.infopipe.Groups */
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březinaconst struct sbus_method_meta iface_ifp_groups__methods[] = {
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina {
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina "FindByName", /* name */
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina iface_ifp_groups_FindByName__in,
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina iface_ifp_groups_FindByName__out,
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina offsetof(struct iface_ifp_groups, FindByName),
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina invoke_s_method,
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina },
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina {
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina "FindByID", /* name */
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina iface_ifp_groups_FindByID__in,
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina iface_ifp_groups_FindByID__out,
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina offsetof(struct iface_ifp_groups, FindByID),
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina invoke_u_method,
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina },
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina {
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina "ListByName", /* name */
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina iface_ifp_groups_ListByName__in,
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina iface_ifp_groups_ListByName__out,
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina offsetof(struct iface_ifp_groups, ListByName),
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina invoke_su_method,
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina },
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina {
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina "ListByDomainAndName", /* name */
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina iface_ifp_groups_ListByDomainAndName__in,
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina iface_ifp_groups_ListByDomainAndName__out,
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina offsetof(struct iface_ifp_groups, ListByDomainAndName),
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina invoke_ssu_method,
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina },
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina { NULL, }
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina};
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina/* interface info for org.freedesktop.sssd.infopipe.Groups */
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březinaconst struct sbus_interface_meta iface_ifp_groups_meta = {
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina "org.freedesktop.sssd.infopipe.Groups", /* name */
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina iface_ifp_groups__methods,
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina NULL, /* no signals */
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina NULL, /* no properties */
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina sbus_invoke_get_all, /* GetAll invoker */
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina};
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březinaint iface_ifp_groups_group_UpdateMemberList_finish(struct sbus_request *req)
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina{
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina return sbus_request_return_and_finish(req,
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina DBUS_TYPE_INVALID);
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina}
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina/* methods for org.freedesktop.sssd.infopipe.Groups.Group */
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březinaconst struct sbus_method_meta iface_ifp_groups_group__methods[] = {
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina {
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina "UpdateMemberList", /* name */
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina NULL, /* no in_args */
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina NULL, /* no out_args */
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina offsetof(struct iface_ifp_groups_group, UpdateMemberList),
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina NULL, /* no invoker */
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina },
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina { NULL, }
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina};
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina/* property info for org.freedesktop.sssd.infopipe.Groups.Group */
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březinaconst struct sbus_property_meta iface_ifp_groups_group__properties[] = {
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina {
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina "name", /* name */
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina "s", /* type */
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina SBUS_PROPERTY_READABLE,
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina offsetof(struct iface_ifp_groups_group, get_name),
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina sbus_invoke_get_s,
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina 0, /* not writable */
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina NULL, /* no invoker */
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina },
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina {
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina "gidNumber", /* name */
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina "u", /* type */
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina SBUS_PROPERTY_READABLE,
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina offsetof(struct iface_ifp_groups_group, get_gidNumber),
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina sbus_invoke_get_u,
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina 0, /* not writable */
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina NULL, /* no invoker */
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina },
e9a2e7afbd09c23dd8748246e09831ed7b17d7c5Thomas Equeter {
e9a2e7afbd09c23dd8748246e09831ed7b17d7c5Thomas Equeter "uniqueID", /* name */
e9a2e7afbd09c23dd8748246e09831ed7b17d7c5Thomas Equeter "s", /* type */
e9a2e7afbd09c23dd8748246e09831ed7b17d7c5Thomas Equeter SBUS_PROPERTY_READABLE,
e9a2e7afbd09c23dd8748246e09831ed7b17d7c5Thomas Equeter offsetof(struct iface_ifp_groups_group, get_uniqueID),
e9a2e7afbd09c23dd8748246e09831ed7b17d7c5Thomas Equeter sbus_invoke_get_s,
e9a2e7afbd09c23dd8748246e09831ed7b17d7c5Thomas Equeter 0, /* not writable */
e9a2e7afbd09c23dd8748246e09831ed7b17d7c5Thomas Equeter NULL, /* no invoker */
e9a2e7afbd09c23dd8748246e09831ed7b17d7c5Thomas Equeter },
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina {
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina "users", /* name */
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina "ao", /* type */
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina SBUS_PROPERTY_READABLE,
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina offsetof(struct iface_ifp_groups_group, get_users),
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina sbus_invoke_get_ao,
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina 0, /* not writable */
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina NULL, /* no invoker */
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina },
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina {
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina "groups", /* name */
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina "ao", /* type */
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina SBUS_PROPERTY_READABLE,
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina offsetof(struct iface_ifp_groups_group, get_groups),
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina sbus_invoke_get_ao,
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina 0, /* not writable */
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina NULL, /* no invoker */
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina },
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina { NULL, }
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina};
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina/* interface info for org.freedesktop.sssd.infopipe.Groups.Group */
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březinaconst struct sbus_interface_meta iface_ifp_groups_group_meta = {
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina "org.freedesktop.sssd.infopipe.Groups.Group", /* name */
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina iface_ifp_groups_group__methods,
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina NULL, /* no signals */
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina iface_ifp_groups_group__properties,
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina sbus_invoke_get_all, /* GetAll invoker */
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina};
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose/* invokes a handler with a 'ss' DBus signature */
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bosestatic int invoke_ss_method(struct sbus_request *dbus_req, void *function_ptr)
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose{
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose const char * arg_0;
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose const char * arg_1;
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose int (*handler)(struct sbus_request *, void *, const char *, const char *) = function_ptr;
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose if (!sbus_request_parse_or_finish(dbus_req,
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose DBUS_TYPE_STRING, &arg_0,
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose DBUS_TYPE_STRING, &arg_1,
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose DBUS_TYPE_INVALID)) {
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose return EOK; /* request handled */
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose }
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose return (handler)(dbus_req, dbus_req->intf->handler_data,
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose arg_0,
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose arg_1);
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose}
ef55b0e470a8fbcf6e6d0a55883145e02a907842Sumit Bose
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina/* invokes a handler with a 'ssu' DBus signature */
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březinastatic int invoke_ssu_method(struct sbus_request *dbus_req, void *function_ptr)
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina{
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina const char * arg_0;
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina const char * arg_1;
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina uint32_t arg_2;
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina int (*handler)(struct sbus_request *, void *, const char *, const char *, uint32_t) = function_ptr;
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina if (!sbus_request_parse_or_finish(dbus_req,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina DBUS_TYPE_STRING, &arg_0,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina DBUS_TYPE_STRING, &arg_1,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina DBUS_TYPE_UINT32, &arg_2,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina DBUS_TYPE_INVALID)) {
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina return EOK; /* request handled */
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina }
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina return (handler)(dbus_req, dbus_req->intf->handler_data,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina arg_0,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina arg_1,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina arg_2);
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina}
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek/* invokes a handler with a 's' DBus signature */
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozekstatic int invoke_s_method(struct sbus_request *dbus_req, void *function_ptr)
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek{
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek const char * arg_0;
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek int (*handler)(struct sbus_request *, void *, const char *) = function_ptr;
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek if (!sbus_request_parse_or_finish(dbus_req,
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek DBUS_TYPE_STRING, &arg_0,
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek DBUS_TYPE_INVALID)) {
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek return EOK; /* request handled */
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek }
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek
66277b21179d95f6e96abed01a20ccbccf27ce99Pavel Březina return (handler)(dbus_req, dbus_req->intf->handler_data,
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek arg_0);
3fe339bcba0e211cc666bb3afe34e5c8fce85f4fJakub Hrozek}
d387c4608dbd3ca056e18e85313ef51aac146fd2Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina/* invokes a handler with a 'u' DBus signature */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březinastatic int invoke_u_method(struct sbus_request *dbus_req, void *function_ptr)
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina{
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina uint32_t arg_0;
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina int (*handler)(struct sbus_request *, void *, uint32_t) = function_ptr;
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina if (!sbus_request_parse_or_finish(dbus_req,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina DBUS_TYPE_UINT32, &arg_0,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina DBUS_TYPE_INVALID)) {
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina return EOK; /* request handled */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina }
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
66277b21179d95f6e96abed01a20ccbccf27ce99Pavel Březina return (handler)(dbus_req, dbus_req->intf->handler_data,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina arg_0);
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina}
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina/* invokes a handler with a 'su' DBus signature */
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březinastatic int invoke_su_method(struct sbus_request *dbus_req, void *function_ptr)
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina{
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina const char * arg_0;
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina uint32_t arg_1;
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina int (*handler)(struct sbus_request *, void *, const char *, uint32_t) = function_ptr;
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina if (!sbus_request_parse_or_finish(dbus_req,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina DBUS_TYPE_STRING, &arg_0,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina DBUS_TYPE_UINT32, &arg_1,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina DBUS_TYPE_INVALID)) {
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina return EOK; /* request handled */
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina }
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina return (handler)(dbus_req, dbus_req->intf->handler_data,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina arg_0,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina arg_1);
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina}