ifp_iface_generated.c revision d387c4608dbd3ca056e18e85313ef51aac146fd2
/* The following definitions are auto-generated from ifp_iface.xml */
#include "sbus/sssd_dbus.h"
#include "sbus/sssd_dbus_meta.h"
#include "ifp_iface_generated.h"
/* invokes a handler with a 's' DBus signature */
/* arguments for org.freedesktop.sssd.infopipe.GetUserAttr */
const struct sbus_arg_meta infopipe_iface_GetUserAttr__in[] = {
{ "user", "s" },
{ "attr", "as" },
{ NULL, }
};
/* arguments for org.freedesktop.sssd.infopipe.GetUserAttr */
const struct sbus_arg_meta infopipe_iface_GetUserAttr__out[] = {
{ "values", "a{sv}" },
{ NULL, }
};
/* arguments for org.freedesktop.sssd.infopipe.GetUserGroups */
const struct sbus_arg_meta infopipe_iface_GetUserGroups__in[] = {
{ "user", "s" },
{ NULL, }
};
/* arguments for org.freedesktop.sssd.infopipe.GetUserGroups */
const struct sbus_arg_meta infopipe_iface_GetUserGroups__out[] = {
{ "values", "as" },
{ NULL, }
};
int infopipe_iface_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 infopipe_iface_FindDomainByName__in[] = {
{ "name", "s" },
{ NULL, }
};
/* arguments for org.freedesktop.sssd.infopipe.FindDomainByName */
const struct sbus_arg_meta infopipe_iface_FindDomainByName__out[] = {
{ "domain", "o" },
{ NULL, }
};
{
return sbus_request_return_and_finish(req,
}
/* arguments for org.freedesktop.sssd.infopipe.ListDomains */
const struct sbus_arg_meta infopipe_iface_ListDomains__out[] = {
{ "domain", "ao" },
{ NULL, }
};
int infopipe_iface_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 infopipe_iface__methods[] = {
{
"Ping", /* name */
NULL, /* no in_args */
NULL, /* no out_args */
NULL, /* no invoker */
},
{
"GetUserAttr", /* name */
NULL, /* no invoker */
},
{
"GetUserGroups", /* name */
},
{
"FindDomainByName", /* name */
},
{
"ListDomains", /* name */
NULL, /* no in_args */
NULL, /* no invoker */
},
{ NULL, }
};
/* invokes GetAll for the 'org.freedesktop.sssd.infopipe' interface */
{
&iter_dict);
}
/* interface info for org.freedesktop.sssd.infopipe */
const struct sbus_interface_meta infopipe_iface_meta = {
"org.freedesktop.sssd.infopipe", /* name */
NULL, /* no signals */
NULL, /* no properties */
invoke_infopipe_iface_get_all, /* GetAll invoker */
};
/* invokes GetAll for the 'org.freedesktop.sssd.infopipe.Domains' interface */
{
const struct sbus_property_meta *property;
int ret;
const char * s_prop_val;
const char * s_out_val;
bool b_prop_val;
const char * *as_prop_val;
int as_prop_len;
const char * *as_out_val;
const char * o_prop_val;
const char * o_out_val;
&iter_dict);
if (s_handler) {
}
}
if (s_handler) {
}
}
if (as_handler) {
ret = sbus_add_array_as_variant_to_dict(&iter_dict, "primary_servers", DBUS_TYPE_STRING, (uint8_t*)as_out_val, as_prop_len, sizeof(const char *));
}
}
if (as_handler) {
ret = sbus_add_array_as_variant_to_dict(&iter_dict, "backup_servers", DBUS_TYPE_STRING, (uint8_t*)as_out_val, as_prop_len, sizeof(const char *));
}
}
if (u_handler) {
}
}
if (u_handler) {
}
}
if (s_handler) {
}
}
if (s_handler) {
}
}
if (s_handler) {
}
}
if (s_handler) {
ret = sbus_add_variant_to_dict(&iter_dict, "fully_qualified_name_format", DBUS_TYPE_STRING, &s_out_val);
}
}
if (b_handler) {
}
}
if (b_handler) {
ret = sbus_add_variant_to_dict(&iter_dict, "use_fully_qualified_names", DBUS_TYPE_BOOLEAN, &b_out_val);
}
}
if (b_handler) {
}
}
if (o_handler) {
}
}
}
/* property info for org.freedesktop.sssd.infopipe.Domains */
const struct sbus_property_meta infopipe_domain__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 infopipe_domain_meta = {
"org.freedesktop.sssd.infopipe.Domains", /* name */
NULL, /* no methods */
NULL, /* no signals */
invoke_infopipe_domain_get_all, /* GetAll invoker */
};
/* invokes a handler with a 's' DBus signature */
{
const char * arg_0;
return EOK; /* request handled */
}
arg_0);
}
/* invokes a getter with a 'const char *' DBus type */
{
const char * prop_val;
const char * out_val;
}
/* invokes a getter with a 'dbus_bool_t' DBus type */
{
bool prop_val;
}
/* invokes a getter with a 'uint32_t' DBus type */
{
}
/* invokes a getter with an array of 'const char *' DBus type */
{
const char * *prop_val;
int prop_len;
const char * *out_val;
return sbus_request_return_array_as_variant(dbus_req, DBUS_TYPE_STRING, (uint8_t*)out_val, prop_len, sizeof(const char *));
}
/* invokes a getter with a 'const char *' DBus type */
{
const char * prop_val;
const char * out_val;
}