ifp_iface_generated.c revision 8fe171bf5a7a570591418e6548105f1d5a0097b3
/* The following definitions are auto-generated from ifp_iface.xml */
#include "sbus/sssd_dbus.h"
#include "sbus/sssd_dbus_meta.h"
#include "sbus/sssd_dbus_invokers.h"
#include "ifp_iface_generated.h"
/* invokes a handler with a 's' DBus signature */
/* invokes a handler with a 'u' DBus signature */
/* invokes a handler with a 'su' DBus signature */
/* invokes a handler with a 'ssu' DBus signature */
/* arguments for org.freedesktop.sssd.infopipe.ListComponents */
const struct sbus_arg_meta iface_ifp_ListComponents__out[] = {
{ "components", "ao" },
{ NULL, }
};
int iface_ifp_ListComponents_finish(struct sbus_request *req, const char *arg_components[], int len_components)
{
return sbus_request_return_and_finish(req,
}
/* arguments for org.freedesktop.sssd.infopipe.ListResponders */
const struct sbus_arg_meta iface_ifp_ListResponders__out[] = {
{ "responders", "ao" },
{ NULL, }
};
int iface_ifp_ListResponders_finish(struct sbus_request *req, const char *arg_responders[], int len_responders)
{
return sbus_request_return_and_finish(req,
}
/* arguments for org.freedesktop.sssd.infopipe.ListBackends */
const struct sbus_arg_meta iface_ifp_ListBackends__out[] = {
{ "backends", "ao" },
{ NULL, }
};
int iface_ifp_ListBackends_finish(struct sbus_request *req, const char *arg_backends[], int len_backends)
{
return sbus_request_return_and_finish(req,
}
/* arguments for org.freedesktop.sssd.infopipe.FindMonitor */
const struct sbus_arg_meta iface_ifp_FindMonitor__out[] = {
{ "monitor", "o" },
{ NULL, }
};
{
return sbus_request_return_and_finish(req,
}
/* arguments for org.freedesktop.sssd.infopipe.FindResponderByName */
const struct sbus_arg_meta iface_ifp_FindResponderByName__in[] = {
{ "name", "s" },
{ NULL, }
};
/* arguments for org.freedesktop.sssd.infopipe.FindResponderByName */
const struct sbus_arg_meta iface_ifp_FindResponderByName__out[] = {
{ "responder", "o" },
{ NULL, }
};
{
return sbus_request_return_and_finish(req,
}
/* arguments for org.freedesktop.sssd.infopipe.FindBackendByName */
const struct sbus_arg_meta iface_ifp_FindBackendByName__in[] = {
{ "name", "s" },
{ NULL, }
};
/* arguments for org.freedesktop.sssd.infopipe.FindBackendByName */
const struct sbus_arg_meta iface_ifp_FindBackendByName__out[] = {
{ "backend", "o" },
{ NULL, }
};
{
return sbus_request_return_and_finish(req,
}
/* arguments for org.freedesktop.sssd.infopipe.GetUserAttr */
const struct sbus_arg_meta iface_ifp_GetUserAttr__in[] = {
{ "user", "s" },
{ "attr", "as" },
{ NULL, }
};
/* arguments for org.freedesktop.sssd.infopipe.GetUserAttr */
const struct sbus_arg_meta iface_ifp_GetUserAttr__out[] = {
{ "values", "a{sv}" },
{ NULL, }
};
/* arguments for org.freedesktop.sssd.infopipe.GetUserGroups */
const struct sbus_arg_meta iface_ifp_GetUserGroups__in[] = {
{ "user", "s" },
{ NULL, }
};
/* arguments for org.freedesktop.sssd.infopipe.GetUserGroups */
const struct sbus_arg_meta iface_ifp_GetUserGroups__out[] = {
{ "values", "as" },
{ NULL, }
};
int iface_ifp_GetUserGroups_finish(struct sbus_request *req, const char *arg_values[], int len_values)
{
return sbus_request_return_and_finish(req,
}
/* arguments for org.freedesktop.sssd.infopipe.FindDomainByName */
const struct sbus_arg_meta iface_ifp_FindDomainByName__in[] = {
{ "name", "s" },
{ NULL, }
};
/* arguments for org.freedesktop.sssd.infopipe.FindDomainByName */
const struct sbus_arg_meta iface_ifp_FindDomainByName__out[] = {
{ "domain", "o" },
{ NULL, }
};
{
return sbus_request_return_and_finish(req,
}
/* arguments for org.freedesktop.sssd.infopipe.ListDomains */
const struct sbus_arg_meta iface_ifp_ListDomains__out[] = {
{ "domain", "ao" },
{ NULL, }
};
int iface_ifp_ListDomains_finish(struct sbus_request *req, const char *arg_domain[], int len_domain)
{
return sbus_request_return_and_finish(req,
}
/* methods for org.freedesktop.sssd.infopipe */
const struct sbus_method_meta iface_ifp__methods[] = {
{
"Ping", /* name */
NULL, /* no in_args */
NULL, /* no out_args */
NULL, /* no invoker */
},
{
"ListComponents", /* name */
NULL, /* no in_args */
NULL, /* no invoker */
},
{
"ListResponders", /* name */
NULL, /* no in_args */
NULL, /* no invoker */
},
{
"ListBackends", /* name */
NULL, /* no in_args */
NULL, /* no invoker */
},
{
"FindMonitor", /* name */
NULL, /* no in_args */
NULL, /* no invoker */
},
{
"FindResponderByName", /* name */
},
{
"FindBackendByName", /* name */
},
{
"GetUserAttr", /* name */
NULL, /* no invoker */
},
{
"GetUserGroups", /* name */
},
{
"FindDomainByName", /* name */
},
{
"ListDomains", /* name */
NULL, /* no in_args */
NULL, /* no invoker */
},
{ NULL, }
};
/* interface info for org.freedesktop.sssd.infopipe */
const struct sbus_interface_meta iface_ifp_meta = {
"org.freedesktop.sssd.infopipe", /* name */
NULL, /* no signals */
NULL, /* no properties */
sbus_invoke_get_all, /* GetAll invoker */
};
{
return sbus_request_return_and_finish(req,
}
{
return sbus_request_return_and_finish(req,
}
/* arguments for org.freedesktop.sssd.infopipe.Components.ChangeDebugLevel */
const struct sbus_arg_meta iface_ifp_components_ChangeDebugLevel__in[] = {
{ "new_level", "u" },
{ NULL, }
};
{
return sbus_request_return_and_finish(req,
}
/* arguments for org.freedesktop.sssd.infopipe.Components.ChangeDebugLevelTemporarily */
const struct sbus_arg_meta iface_ifp_components_ChangeDebugLevelTemporarily__in[] = {
{ "new_level", "u" },
{ NULL, }
};
{
return sbus_request_return_and_finish(req,
}
/* methods for org.freedesktop.sssd.infopipe.Components */
const struct sbus_method_meta iface_ifp_components__methods[] = {
{
"Enable", /* name */
NULL, /* no in_args */
NULL, /* no out_args */
NULL, /* no invoker */
},
{
"Disable", /* name */
NULL, /* no in_args */
NULL, /* no out_args */
NULL, /* no invoker */
},
{
"ChangeDebugLevel", /* name */
NULL, /* no out_args */
},
{
"ChangeDebugLevelTemporarily", /* name */
NULL, /* no out_args */
},
{ NULL, }
};
/* property info for org.freedesktop.sssd.infopipe.Components */
const struct sbus_property_meta iface_ifp_components__properties[] = {
{
"name", /* name */
"s", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"debug_level", /* name */
"u", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"enabled", /* name */
"b", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"type", /* name */
"s", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"providers", /* name */
"as", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{ NULL, }
};
/* interface info for org.freedesktop.sssd.infopipe.Components */
const struct sbus_interface_meta iface_ifp_components_meta = {
"org.freedesktop.sssd.infopipe.Components", /* name */
NULL, /* no signals */
sbus_invoke_get_all, /* GetAll invoker */
};
/* property info for org.freedesktop.sssd.infopipe.Domains */
const struct sbus_property_meta iface_ifp_domains__properties[] = {
{
"name", /* name */
"s", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"provider", /* name */
"s", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"primary_servers", /* name */
"as", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"backup_servers", /* name */
"as", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"min_id", /* name */
"u", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"max_id", /* name */
"u", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"realm", /* name */
"s", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"forest", /* name */
"s", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"login_format", /* name */
"s", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"fully_qualified_name_format", /* name */
"s", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"enumerable", /* name */
"b", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"use_fully_qualified_names", /* name */
"b", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"subdomain", /* name */
"b", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"parent_domain", /* name */
"o", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{ NULL, }
};
/* interface info for org.freedesktop.sssd.infopipe.Domains */
const struct sbus_interface_meta iface_ifp_domains_meta = {
"org.freedesktop.sssd.infopipe.Domains", /* name */
NULL, /* no methods */
NULL, /* no signals */
sbus_invoke_get_all, /* GetAll invoker */
};
/* arguments for org.freedesktop.sssd.infopipe.Users.FindByName */
const struct sbus_arg_meta iface_ifp_users_FindByName__in[] = {
{ "name", "s" },
{ NULL, }
};
/* arguments for org.freedesktop.sssd.infopipe.Users.FindByName */
const struct sbus_arg_meta iface_ifp_users_FindByName__out[] = {
{ "result", "o" },
{ NULL, }
};
{
return sbus_request_return_and_finish(req,
}
/* arguments for org.freedesktop.sssd.infopipe.Users.FindByID */
const struct sbus_arg_meta iface_ifp_users_FindByID__in[] = {
{ "id", "u" },
{ NULL, }
};
/* arguments for org.freedesktop.sssd.infopipe.Users.FindByID */
const struct sbus_arg_meta iface_ifp_users_FindByID__out[] = {
{ "result", "o" },
{ NULL, }
};
{
return sbus_request_return_and_finish(req,
}
/* arguments for org.freedesktop.sssd.infopipe.Users.ListByName */
const struct sbus_arg_meta iface_ifp_users_ListByName__in[] = {
{ "name_filter", "s" },
{ "limit", "u" },
{ NULL, }
};
/* arguments for org.freedesktop.sssd.infopipe.Users.ListByName */
const struct sbus_arg_meta iface_ifp_users_ListByName__out[] = {
{ "result", "ao" },
{ NULL, }
};
int iface_ifp_users_ListByName_finish(struct sbus_request *req, const char *arg_result[], int len_result)
{
return sbus_request_return_and_finish(req,
}
/* arguments for org.freedesktop.sssd.infopipe.Users.ListByDomainAndName */
const struct sbus_arg_meta iface_ifp_users_ListByDomainAndName__in[] = {
{ "domain_name", "s" },
{ "name_filter", "s" },
{ "limit", "u" },
{ NULL, }
};
/* arguments for org.freedesktop.sssd.infopipe.Users.ListByDomainAndName */
const struct sbus_arg_meta iface_ifp_users_ListByDomainAndName__out[] = {
{ "result", "ao" },
{ NULL, }
};
int iface_ifp_users_ListByDomainAndName_finish(struct sbus_request *req, const char *arg_result[], int len_result)
{
return sbus_request_return_and_finish(req,
}
/* methods for org.freedesktop.sssd.infopipe.Users */
const struct sbus_method_meta iface_ifp_users__methods[] = {
{
"FindByName", /* name */
},
{
"FindByID", /* name */
},
{
"ListByName", /* name */
},
{
"ListByDomainAndName", /* name */
},
{ NULL, }
};
/* interface info for org.freedesktop.sssd.infopipe.Users */
const struct sbus_interface_meta iface_ifp_users_meta = {
"org.freedesktop.sssd.infopipe.Users", /* name */
NULL, /* no signals */
NULL, /* no properties */
sbus_invoke_get_all, /* GetAll invoker */
};
{
return sbus_request_return_and_finish(req,
}
/* methods for org.freedesktop.sssd.infopipe.Users.User */
const struct sbus_method_meta iface_ifp_users_user__methods[] = {
{
"UpdateGroupsList", /* name */
NULL, /* no in_args */
NULL, /* no out_args */
NULL, /* no invoker */
},
{ NULL, }
};
/* property info for org.freedesktop.sssd.infopipe.Users.User */
const struct sbus_property_meta iface_ifp_users_user__properties[] = {
{
"name", /* name */
"s", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"uidNumber", /* name */
"u", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"gidNumber", /* name */
"u", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"gecos", /* name */
"s", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"homeDirectory", /* name */
"s", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"loginShell", /* name */
"s", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"groups", /* name */
"ao", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"extraAttributes", /* name */
"a{sas}", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{ NULL, }
};
/* interface info for org.freedesktop.sssd.infopipe.Users.User */
const struct sbus_interface_meta iface_ifp_users_user_meta = {
"org.freedesktop.sssd.infopipe.Users.User", /* name */
NULL, /* no signals */
sbus_invoke_get_all, /* GetAll invoker */
};
/* arguments for org.freedesktop.sssd.infopipe.Groups.FindByName */
const struct sbus_arg_meta iface_ifp_groups_FindByName__in[] = {
{ "name", "s" },
{ NULL, }
};
/* arguments for org.freedesktop.sssd.infopipe.Groups.FindByName */
const struct sbus_arg_meta iface_ifp_groups_FindByName__out[] = {
{ "result", "o" },
{ NULL, }
};
{
return sbus_request_return_and_finish(req,
}
/* arguments for org.freedesktop.sssd.infopipe.Groups.FindByID */
const struct sbus_arg_meta iface_ifp_groups_FindByID__in[] = {
{ "id", "u" },
{ NULL, }
};
/* arguments for org.freedesktop.sssd.infopipe.Groups.FindByID */
const struct sbus_arg_meta iface_ifp_groups_FindByID__out[] = {
{ "result", "o" },
{ NULL, }
};
{
return sbus_request_return_and_finish(req,
}
/* arguments for org.freedesktop.sssd.infopipe.Groups.ListByName */
const struct sbus_arg_meta iface_ifp_groups_ListByName__in[] = {
{ "name_filter", "s" },
{ "limit", "u" },
{ NULL, }
};
/* arguments for org.freedesktop.sssd.infopipe.Groups.ListByName */
const struct sbus_arg_meta iface_ifp_groups_ListByName__out[] = {
{ "result", "ao" },
{ NULL, }
};
int iface_ifp_groups_ListByName_finish(struct sbus_request *req, const char *arg_result[], int len_result)
{
return sbus_request_return_and_finish(req,
}
/* arguments for org.freedesktop.sssd.infopipe.Groups.ListByDomainAndName */
const struct sbus_arg_meta iface_ifp_groups_ListByDomainAndName__in[] = {
{ "domain_name", "s" },
{ "name_filter", "s" },
{ "limit", "u" },
{ NULL, }
};
/* arguments for org.freedesktop.sssd.infopipe.Groups.ListByDomainAndName */
const struct sbus_arg_meta iface_ifp_groups_ListByDomainAndName__out[] = {
{ "result", "ao" },
{ NULL, }
};
int iface_ifp_groups_ListByDomainAndName_finish(struct sbus_request *req, const char *arg_result[], int len_result)
{
return sbus_request_return_and_finish(req,
}
/* methods for org.freedesktop.sssd.infopipe.Groups */
const struct sbus_method_meta iface_ifp_groups__methods[] = {
{
"FindByName", /* name */
},
{
"FindByID", /* name */
},
{
"ListByName", /* name */
},
{
"ListByDomainAndName", /* name */
},
{ NULL, }
};
/* interface info for org.freedesktop.sssd.infopipe.Groups */
const struct sbus_interface_meta iface_ifp_groups_meta = {
"org.freedesktop.sssd.infopipe.Groups", /* name */
NULL, /* no signals */
NULL, /* no properties */
sbus_invoke_get_all, /* GetAll invoker */
};
{
return sbus_request_return_and_finish(req,
}
/* methods for org.freedesktop.sssd.infopipe.Groups.Group */
const struct sbus_method_meta iface_ifp_groups_group__methods[] = {
{
"UpdateMemberList", /* name */
NULL, /* no in_args */
NULL, /* no out_args */
NULL, /* no invoker */
},
{ NULL, }
};
/* property info for org.freedesktop.sssd.infopipe.Groups.Group */
const struct sbus_property_meta iface_ifp_groups_group__properties[] = {
{
"name", /* name */
"s", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"gidNumber", /* name */
"u", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"users", /* name */
"ao", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"groups", /* name */
"ao", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{ NULL, }
};
/* interface info for org.freedesktop.sssd.infopipe.Groups.Group */
const struct sbus_interface_meta iface_ifp_groups_group_meta = {
"org.freedesktop.sssd.infopipe.Groups.Group", /* name */
NULL, /* no signals */
sbus_invoke_get_all, /* GetAll invoker */
};
/* invokes a handler with a 'ssu' DBus signature */
{
const char * arg_0;
const char * arg_1;
return EOK; /* request handled */
}
arg_2);
}
/* invokes a handler with a 's' DBus signature */
{
const char * arg_0;
return EOK; /* request handled */
}
arg_0);
}
/* invokes a handler with a 'u' DBus signature */
{
return EOK; /* request handled */
}
arg_0);
}
/* invokes a handler with a 'su' DBus signature */
{
const char * arg_0;
return EOK; /* request handled */
}
arg_1);
}