ifp_iface_generated.c revision 99b2352f909c548811617389641a9ccc3e17bc53
842ae4bd224140319ae7feec1872b93dfd491143fielding/* The following definitions are auto-generated from ifp_iface.xml */
842ae4bd224140319ae7feec1872b93dfd491143fielding
842ae4bd224140319ae7feec1872b93dfd491143fielding#include "util/util.h"
842ae4bd224140319ae7feec1872b93dfd491143fielding#include "sbus/sssd_dbus.h"
842ae4bd224140319ae7feec1872b93dfd491143fielding#include "sbus/sssd_dbus_meta.h"
842ae4bd224140319ae7feec1872b93dfd491143fielding#include "sbus/sssd_dbus_invokers.h"
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz#include "ifp_iface_generated.h"
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* invokes a handler with a 's' DBus signature */
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcndstatic int invoke_s_method(struct sbus_request *dbus_req, void *function_ptr);
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd/* invokes a handler with a 'u' DBus signature */
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcndstatic int invoke_u_method(struct sbus_request *dbus_req, void *function_ptr);
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* invokes a handler with a 'su' DBus signature */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzstatic int invoke_su_method(struct sbus_request *dbus_req, void *function_ptr);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* invokes a handler with a 'ssu' DBus signature */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzstatic int invoke_ssu_method(struct sbus_request *dbus_req, void *function_ptr);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.ListComponents */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_ListComponents__out[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "components", "ao" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzint iface_ifp_ListComponents_finish(struct sbus_request *req, const char *arg_components[], int len_components)
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz{
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return sbus_request_return_and_finish(req,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_components, len_components,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_INVALID);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz}
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.ListResponders */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_ListResponders__out[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "responders", "ao" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzint iface_ifp_ListResponders_finish(struct sbus_request *req, const char *arg_responders[], int len_responders)
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz{
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return sbus_request_return_and_finish(req,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_responders, len_responders,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_INVALID);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz}
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.ListBackends */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_ListBackends__out[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "backends", "ao" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzint iface_ifp_ListBackends_finish(struct sbus_request *req, const char *arg_backends[], int len_backends)
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz{
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return sbus_request_return_and_finish(req,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_backends, len_backends,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_INVALID);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz}
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.FindMonitor */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_FindMonitor__out[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "monitor", "o" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzint iface_ifp_FindMonitor_finish(struct sbus_request *req, const char *arg_monitor)
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz{
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return sbus_request_return_and_finish(req,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_OBJECT_PATH, &arg_monitor,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_INVALID);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz}
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.FindResponderByName */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_FindResponderByName__in[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "name", "s" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.FindResponderByName */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_FindResponderByName__out[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "responder", "o" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzint iface_ifp_FindResponderByName_finish(struct sbus_request *req, const char *arg_responder)
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz{
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return sbus_request_return_and_finish(req,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_OBJECT_PATH, &arg_responder,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_INVALID);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz}
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.FindBackendByName */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_FindBackendByName__in[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "name", "s" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.FindBackendByName */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_FindBackendByName__out[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "backend", "o" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzint iface_ifp_FindBackendByName_finish(struct sbus_request *req, const char *arg_backend)
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz{
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return sbus_request_return_and_finish(req,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_OBJECT_PATH, &arg_backend,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_INVALID);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz}
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.GetUserAttr */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_GetUserAttr__in[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "user", "s" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "attr", "as" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.GetUserAttr */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_GetUserAttr__out[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "values", "a{sv}" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.GetUserGroups */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_GetUserGroups__in[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "user", "s" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.GetUserGroups */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_GetUserGroups__out[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "values", "as" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzint iface_ifp_GetUserGroups_finish(struct sbus_request *req, const char *arg_values[], int len_values)
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz{
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return sbus_request_return_and_finish(req,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_ARRAY, DBUS_TYPE_STRING, &arg_values, len_values,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_INVALID);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz}
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.FindDomainByName */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_FindDomainByName__in[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "name", "s" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.FindDomainByName */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_FindDomainByName__out[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "domain", "o" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzint iface_ifp_FindDomainByName_finish(struct sbus_request *req, const char *arg_domain)
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz{
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return sbus_request_return_and_finish(req,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_OBJECT_PATH, &arg_domain,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_INVALID);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz}
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.ListDomains */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_ListDomains__out[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "domain", "ao" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzint iface_ifp_ListDomains_finish(struct sbus_request *req, const char *arg_domain[], int len_domain)
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz{
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return sbus_request_return_and_finish(req,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_domain, len_domain,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_INVALID);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz}
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* methods for org.freedesktop.sssd.infopipe */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_method_meta iface_ifp__methods[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "Ping", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no in_args */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no out_args */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp, Ping),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "ListComponents", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no in_args */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_ListComponents__out,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp, ListComponents),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "ListResponders", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no in_args */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_ListResponders__out,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp, ListResponders),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "ListBackends", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no in_args */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_ListBackends__out,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp, ListBackends),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "FindMonitor", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no in_args */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_FindMonitor__out,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp, FindMonitor),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "FindResponderByName", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_FindResponderByName__in,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_FindResponderByName__out,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp, FindResponderByName),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz invoke_s_method,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "FindBackendByName", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_FindBackendByName__in,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_FindBackendByName__out,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp, FindBackendByName),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz invoke_s_method,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
99d46a23c6eac800f327b29f8009f7d7da986230trawick {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "GetUserAttr", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_GetUserAttr__in,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_GetUserAttr__out,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp, GetUserAttr),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "GetUserGroups", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_GetUserGroups__in,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_GetUserGroups__out,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp, GetUserGroups),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz invoke_s_method,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "FindDomainByName", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_FindDomainByName__in,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_FindDomainByName__out,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp, FindDomainByName),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz invoke_s_method,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "ListDomains", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no in_args */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_ListDomains__out,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp, ListDomains),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* interface info for org.freedesktop.sssd.infopipe */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_interface_meta iface_ifp_meta = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "org.freedesktop.sssd.infopipe", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp__methods,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no signals */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no properties */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_all, /* GetAll invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
99d46a23c6eac800f327b29f8009f7d7da986230trawick
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.Components.ChangeDebugLevelTemporarily */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_components_ChangeDebugLevelTemporarily__in[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "new_level", "u" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzint iface_ifp_components_ChangeDebugLevelTemporarily_finish(struct sbus_request *req)
99d46a23c6eac800f327b29f8009f7d7da986230trawick{
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return sbus_request_return_and_finish(req,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_INVALID);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz}
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* methods for org.freedesktop.sssd.infopipe.Components */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_method_meta iface_ifp_components__methods[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "ChangeDebugLevelTemporarily", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_components_ChangeDebugLevelTemporarily__in,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no out_args */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_components, ChangeDebugLevelTemporarily),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz invoke_u_method,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* property info for org.freedesktop.sssd.infopipe.Components */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_property_meta iface_ifp_components__properties[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "name", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "s", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_components, get_name),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_s,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "debug_level", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "u", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_components, get_debug_level),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_u,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "enabled", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "b", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_components, get_enabled),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_b,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "type", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "s", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_components, get_type),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_s,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "providers", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "as", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_components, get_providers),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_as,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* interface info for org.freedesktop.sssd.infopipe.Components */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_interface_meta iface_ifp_components_meta = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "org.freedesktop.sssd.infopipe.Components", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_components__methods,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no signals */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_components__properties,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_all, /* GetAll invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* property info for org.freedesktop.sssd.infopipe.Domains */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_property_meta iface_ifp_domains__properties[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "name", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "s", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_domains, get_name),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_s,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "provider", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "s", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
99d46a23c6eac800f327b29f8009f7d7da986230trawick offsetof(struct iface_ifp_domains, get_provider),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_s,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "primary_servers", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "as", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_domains, get_primary_servers),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_as,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "backup_servers", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "as", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_domains, get_backup_servers),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_as,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "min_id", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "u", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_domains, get_min_id),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_u,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "max_id", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "u", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_domains, get_max_id),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_u,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "realm", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "s", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_domains, get_realm),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_s,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "forest", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "s", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_domains, get_forest),
e8f95a682820a599fe41b22977010636be5c2717jim sbus_invoke_get_s,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "login_format", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "s", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_domains, get_login_format),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_s,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "fully_qualified_name_format", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "s", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_domains, get_fully_qualified_name_format),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_s,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "enumerable", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "b", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_domains, get_enumerable),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_b,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
99d46a23c6eac800f327b29f8009f7d7da986230trawick NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "use_fully_qualified_names", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "b", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_domains, get_use_fully_qualified_names),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_b,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "subdomain", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "b", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_domains, get_subdomain),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_b,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "parent_domain", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "o", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_domains, get_parent_domain),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_o,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* interface info for org.freedesktop.sssd.infopipe.Domains */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_interface_meta iface_ifp_domains_meta = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "org.freedesktop.sssd.infopipe.Domains", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no methods */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no signals */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_domains__properties,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_all, /* GetAll invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.Domains.Domain.IsOnline */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_domains_domain_IsOnline__out[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "status", "b" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzint iface_ifp_domains_domain_IsOnline_finish(struct sbus_request *req, bool arg_status)
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz{
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz dbus_bool_t cast_status = arg_status;
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return sbus_request_return_and_finish(req,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_BOOLEAN, &cast_status,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_INVALID);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz}
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.Domains.Domain.ListServices */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_domains_domain_ListServices__out[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "services", "as" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzint iface_ifp_domains_domain_ListServices_finish(struct sbus_request *req, const char *arg_services[], int len_services)
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz{
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return sbus_request_return_and_finish(req,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_ARRAY, DBUS_TYPE_STRING, &arg_services, len_services,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_INVALID);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz}
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.Domains.Domain.ActiveServer */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_domains_domain_ActiveServer__in[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "service", "s" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.Domains.Domain.ActiveServer */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_domains_domain_ActiveServer__out[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "server", "s" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzint iface_ifp_domains_domain_ActiveServer_finish(struct sbus_request *req, const char *arg_server)
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz{
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return sbus_request_return_and_finish(req,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_STRING, &arg_server,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_INVALID);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz}
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.Domains.Domain.ListServers */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_domains_domain_ListServers__in[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "service_name", "s" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.Domains.Domain.ListServers */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_domains_domain_ListServers__out[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "servers", "as" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzint iface_ifp_domains_domain_ListServers_finish(struct sbus_request *req, const char *arg_servers[], int len_servers)
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz{
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return sbus_request_return_and_finish(req,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_ARRAY, DBUS_TYPE_STRING, &arg_servers, len_servers,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_INVALID);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz}
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* methods for org.freedesktop.sssd.infopipe.Domains.Domain */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_method_meta iface_ifp_domains_domain__methods[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "IsOnline", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no in_args */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_domains_domain_IsOnline__out,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_domains_domain, IsOnline),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "ListServices", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no in_args */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_domains_domain_ListServices__out,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_domains_domain, ListServices),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "ActiveServer", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_domains_domain_ActiveServer__in,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_domains_domain_ActiveServer__out,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_domains_domain, ActiveServer),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz invoke_s_method,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "ListServers", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_domains_domain_ListServers__in,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_domains_domain_ListServers__out,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_domains_domain, ListServers),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz invoke_s_method,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* interface info for org.freedesktop.sssd.infopipe.Domains.Domain */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_interface_meta iface_ifp_domains_domain_meta = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "org.freedesktop.sssd.infopipe.Domains.Domain", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_domains_domain__methods,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no signals */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no properties */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_all, /* GetAll invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.Cache.List */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_cache_List__out[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "result", "ao" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzint iface_ifp_cache_List_finish(struct sbus_request *req, const char *arg_result[], int len_result)
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz{
0696197a54f186a65abacba1037f6fbe0cb975a1niq return sbus_request_return_and_finish(req,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_result, len_result,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_INVALID);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz}
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.Cache.ListByDomain */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_cache_ListByDomain__in[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "domain_name", "s" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.Cache.ListByDomain */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_cache_ListByDomain__out[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "result", "ao" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzint iface_ifp_cache_ListByDomain_finish(struct sbus_request *req, const char *arg_result[], int len_result)
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz{
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return sbus_request_return_and_finish(req,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_result, len_result,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_INVALID);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz}
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* methods for org.freedesktop.sssd.infopipe.Cache */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_method_meta iface_ifp_cache__methods[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "List", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no in_args */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_cache_List__out,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_cache, List),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "ListByDomain", /* name */
0696197a54f186a65abacba1037f6fbe0cb975a1niq iface_ifp_cache_ListByDomain__in,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_cache_ListByDomain__out,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_cache, ListByDomain),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz invoke_s_method,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
0696197a54f186a65abacba1037f6fbe0cb975a1niq
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* interface info for org.freedesktop.sssd.infopipe.Cache */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_interface_meta iface_ifp_cache_meta = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "org.freedesktop.sssd.infopipe.Cache", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_cache__methods,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no signals */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no properties */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_all, /* GetAll invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.Cache.Object.Store */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_cache_object_Store__out[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "result", "b" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzint iface_ifp_cache_object_Store_finish(struct sbus_request *req, bool arg_result)
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz{
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz dbus_bool_t cast_result = arg_result;
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return sbus_request_return_and_finish(req,
99d46a23c6eac800f327b29f8009f7d7da986230trawick DBUS_TYPE_BOOLEAN, &cast_result,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_INVALID);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz}
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.Cache.Object.Remove */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_cache_object_Remove__out[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "result", "b" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzint iface_ifp_cache_object_Remove_finish(struct sbus_request *req, bool arg_result)
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz{
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz dbus_bool_t cast_result = arg_result;
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return sbus_request_return_and_finish(req,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_BOOLEAN, &cast_result,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_INVALID);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz}
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* methods for org.freedesktop.sssd.infopipe.Cache.Object */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_method_meta iface_ifp_cache_object__methods[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "Store", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no in_args */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_cache_object_Store__out,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_cache_object, Store),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "Remove", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no in_args */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_cache_object_Remove__out,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_cache_object, Remove),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* interface info for org.freedesktop.sssd.infopipe.Cache.Object */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_interface_meta iface_ifp_cache_object_meta = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "org.freedesktop.sssd.infopipe.Cache.Object", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_cache_object__methods,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no signals */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no properties */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_all, /* GetAll invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.Users.FindByName */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_users_FindByName__in[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "name", "s" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.Users.FindByName */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_users_FindByName__out[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "result", "o" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
99d46a23c6eac800f327b29f8009f7d7da986230trawick
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzint iface_ifp_users_FindByName_finish(struct sbus_request *req, const char *arg_result)
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz{
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return sbus_request_return_and_finish(req,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_OBJECT_PATH, &arg_result,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_INVALID);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz}
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.Users.FindByID */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_users_FindByID__in[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "id", "u" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.Users.FindByID */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_users_FindByID__out[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "result", "o" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzint iface_ifp_users_FindByID_finish(struct sbus_request *req, const char *arg_result)
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz{
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return sbus_request_return_and_finish(req,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_OBJECT_PATH, &arg_result,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_INVALID);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz}
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.Users.FindByCertificate */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_users_FindByCertificate__in[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "pem_cert", "s" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.Users.FindByCertificate */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_users_FindByCertificate__out[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "result", "o" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzint iface_ifp_users_FindByCertificate_finish(struct sbus_request *req, const char *arg_result)
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz{
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return sbus_request_return_and_finish(req,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_OBJECT_PATH, &arg_result,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_INVALID);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz}
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.Users.ListByName */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_users_ListByName__in[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "name_filter", "s" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "limit", "u" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.Users.ListByName */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_users_ListByName__out[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "result", "ao" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzint iface_ifp_users_ListByName_finish(struct sbus_request *req, const char *arg_result[], int len_result)
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz{
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return sbus_request_return_and_finish(req,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_result, len_result,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_INVALID);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz}
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.Users.ListByDomainAndName */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_users_ListByDomainAndName__in[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "domain_name", "s" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "name_filter", "s" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "limit", "u" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.Users.ListByDomainAndName */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_users_ListByDomainAndName__out[] = {
99d46a23c6eac800f327b29f8009f7d7da986230trawick { "result", "ao" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzint iface_ifp_users_ListByDomainAndName_finish(struct sbus_request *req, const char *arg_result[], int len_result)
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz{
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return sbus_request_return_and_finish(req,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_result, len_result,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_INVALID);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz}
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* methods for org.freedesktop.sssd.infopipe.Users */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_method_meta iface_ifp_users__methods[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "FindByName", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_users_FindByName__in,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_users_FindByName__out,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_users, FindByName),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz invoke_s_method,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "FindByID", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_users_FindByID__in,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_users_FindByID__out,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_users, FindByID),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz invoke_u_method,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "FindByCertificate", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_users_FindByCertificate__in,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_users_FindByCertificate__out,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_users, FindByCertificate),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz invoke_s_method,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "ListByName", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_users_ListByName__in,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_users_ListByName__out,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_users, ListByName),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz invoke_su_method,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "ListByDomainAndName", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_users_ListByDomainAndName__in,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_users_ListByDomainAndName__out,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_users, ListByDomainAndName),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz invoke_ssu_method,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* interface info for org.freedesktop.sssd.infopipe.Users */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_interface_meta iface_ifp_users_meta = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "org.freedesktop.sssd.infopipe.Users", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_users__methods,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no signals */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no properties */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_all, /* GetAll invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzint iface_ifp_users_user_UpdateGroupsList_finish(struct sbus_request *req)
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz{
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return sbus_request_return_and_finish(req,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_INVALID);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz}
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* methods for org.freedesktop.sssd.infopipe.Users.User */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_method_meta iface_ifp_users_user__methods[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "UpdateGroupsList", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no in_args */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no out_args */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_users_user, UpdateGroupsList),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* property info for org.freedesktop.sssd.infopipe.Users.User */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_property_meta iface_ifp_users_user__properties[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "name", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "s", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_users_user, get_name),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_s,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "uidNumber", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "u", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_users_user, get_uidNumber),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_u,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "gidNumber", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "u", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_users_user, get_gidNumber),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_u,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "gecos", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "s", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_users_user, get_gecos),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_s,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "homeDirectory", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "s", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_users_user, get_homeDirectory),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_s,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "loginShell", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "s", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_users_user, get_loginShell),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_s,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "uniqueID", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "s", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_users_user, get_uniqueID),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_s,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "groups", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "ao", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_users_user, get_groups),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_ao,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "extraAttributes", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "a{sas}", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_users_user, get_extraAttributes),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_aDOsasDE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* interface info for org.freedesktop.sssd.infopipe.Users.User */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_interface_meta iface_ifp_users_user_meta = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "org.freedesktop.sssd.infopipe.Users.User", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_users_user__methods,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no signals */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_users_user__properties,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_all, /* GetAll invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.Groups.FindByName */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_groups_FindByName__in[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "name", "s" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.Groups.FindByName */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_groups_FindByName__out[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "result", "o" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzint iface_ifp_groups_FindByName_finish(struct sbus_request *req, const char *arg_result)
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz{
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return sbus_request_return_and_finish(req,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_OBJECT_PATH, &arg_result,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_INVALID);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz}
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.Groups.FindByID */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_groups_FindByID__in[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "id", "u" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.Groups.FindByID */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_groups_FindByID__out[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "result", "o" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzint iface_ifp_groups_FindByID_finish(struct sbus_request *req, const char *arg_result)
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz{
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return sbus_request_return_and_finish(req,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_OBJECT_PATH, &arg_result,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_INVALID);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz}
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.Groups.ListByName */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_groups_ListByName__in[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "name_filter", "s" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "limit", "u" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.Groups.ListByName */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_groups_ListByName__out[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "result", "ao" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzint iface_ifp_groups_ListByName_finish(struct sbus_request *req, const char *arg_result[], int len_result)
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz{
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return sbus_request_return_and_finish(req,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_result, len_result,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_INVALID);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz}
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.Groups.ListByDomainAndName */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_groups_ListByDomainAndName__in[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "domain_name", "s" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "name_filter", "s" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "limit", "u" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* arguments for org.freedesktop.sssd.infopipe.Groups.ListByDomainAndName */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_arg_meta iface_ifp_groups_ListByDomainAndName__out[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { "result", "ao" },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzint iface_ifp_groups_ListByDomainAndName_finish(struct sbus_request *req, const char *arg_result[], int len_result)
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz{
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return sbus_request_return_and_finish(req,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_result, len_result,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_INVALID);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz}
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* methods for org.freedesktop.sssd.infopipe.Groups */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_method_meta iface_ifp_groups__methods[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "FindByName", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_groups_FindByName__in,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_groups_FindByName__out,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_groups, FindByName),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz invoke_s_method,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "FindByID", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_groups_FindByID__in,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_groups_FindByID__out,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_groups, FindByID),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz invoke_u_method,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "ListByName", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_groups_ListByName__in,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_groups_ListByName__out,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_groups, ListByName),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz invoke_su_method,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "ListByDomainAndName", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_groups_ListByDomainAndName__in,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_groups_ListByDomainAndName__out,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_groups, ListByDomainAndName),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz invoke_ssu_method,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* interface info for org.freedesktop.sssd.infopipe.Groups */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_interface_meta iface_ifp_groups_meta = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "org.freedesktop.sssd.infopipe.Groups", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_groups__methods,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no signals */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no properties */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_all, /* GetAll invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzint iface_ifp_groups_group_UpdateMemberList_finish(struct sbus_request *req)
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz{
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return sbus_request_return_and_finish(req,
02c572354a8c81aa26105ea19a2f08851bb69b79jailletc DBUS_TYPE_INVALID);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz}
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* methods for org.freedesktop.sssd.infopipe.Groups.Group */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_method_meta iface_ifp_groups_group__methods[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "UpdateMemberList", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no in_args */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no out_args */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_groups_group, UpdateMemberList),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* property info for org.freedesktop.sssd.infopipe.Groups.Group */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_property_meta iface_ifp_groups_group__properties[] = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "name", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "s", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_groups_group, get_name),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_s,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "gidNumber", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "u", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_groups_group, get_gidNumber),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_u,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "uniqueID", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "s", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_groups_group, get_uniqueID),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_s,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "users", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "ao", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_groups_group, get_users),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_ao,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "groups", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "ao", /* type */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz SBUS_PROPERTY_READABLE,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz offsetof(struct iface_ifp_groups_group, get_groups),
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_ao,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz 0, /* not writable */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz },
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz { NULL, }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* interface info for org.freedesktop.sssd.infopipe.Groups.Group */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzconst struct sbus_interface_meta iface_ifp_groups_group_meta = {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz "org.freedesktop.sssd.infopipe.Groups.Group", /* name */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_groups_group__methods,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz NULL, /* no signals */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz iface_ifp_groups_group__properties,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz sbus_invoke_get_all, /* GetAll invoker */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz};
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* invokes a handler with a 'ssu' DBus signature */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzstatic int invoke_ssu_method(struct sbus_request *dbus_req, void *function_ptr)
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz{
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz const char * arg_0;
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz const char * arg_1;
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz uint32_t arg_2;
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz int (*handler)(struct sbus_request *, void *, const char *, const char *, uint32_t) = function_ptr;
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz if (!sbus_request_parse_or_finish(dbus_req,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_STRING, &arg_0,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_STRING, &arg_1,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_UINT32, &arg_2,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_INVALID)) {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return EOK; /* request handled */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return (handler)(dbus_req, dbus_req->intf->handler_data,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz arg_0,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz arg_1,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz arg_2);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz}
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* invokes a handler with a 's' DBus signature */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzstatic int invoke_s_method(struct sbus_request *dbus_req, void *function_ptr)
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz{
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz const char * arg_0;
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz int (*handler)(struct sbus_request *, void *, const char *) = function_ptr;
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz if (!sbus_request_parse_or_finish(dbus_req,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_STRING, &arg_0,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz DBUS_TYPE_INVALID)) {
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return EOK; /* request handled */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz }
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz return (handler)(dbus_req, dbus_req->intf->handler_data,
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz arg_0);
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz}
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz/* invokes a handler with a 'u' DBus signature */
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantzstatic int invoke_u_method(struct sbus_request *dbus_req, void *function_ptr)
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz{
ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8ddjerenkrantz uint32_t arg_0;
int (*handler)(struct sbus_request *, void *, uint32_t) = function_ptr;
if (!sbus_request_parse_or_finish(dbus_req,
DBUS_TYPE_UINT32, &arg_0,
DBUS_TYPE_INVALID)) {
return EOK; /* request handled */
}
return (handler)(dbus_req, dbus_req->intf->handler_data,
arg_0);
}
/* invokes a handler with a 'su' DBus signature */
static int invoke_su_method(struct sbus_request *dbus_req, void *function_ptr)
{
const char * arg_0;
uint32_t arg_1;
int (*handler)(struct sbus_request *, void *, const char *, uint32_t) = function_ptr;
if (!sbus_request_parse_or_finish(dbus_req,
DBUS_TYPE_STRING, &arg_0,
DBUS_TYPE_UINT32, &arg_1,
DBUS_TYPE_INVALID)) {
return EOK; /* request handled */
}
return (handler)(dbus_req, dbus_req->intf->handler_data,
arg_0,
arg_1);
}