dp_iface_generated.c revision bd4c2ed5aec7f57ea04500f0e43f151eedfdde45
/* The following definitions are auto-generated from dp_iface.xml */
#include "sbus/sssd_dbus.h"
#include "sbus/sssd_dbus_meta.h"
#include "sbus/sssd_dbus_invokers.h"
#include "dp_iface_generated.h"
/* invokes a handler with a 's' DBus signature */
/* invokes a handler with a 'us' DBus signature */
/* invokes a handler with a 'uss' DBus signature */
/* invokes a handler with a 'uuusss' DBus signature */
/* arguments for org.freedesktop.sssd.DataProvider.Client.Register */
const struct sbus_arg_meta iface_dp_client_Register__in[] = {
{ "Name", "s" },
{ NULL, }
};
{
return sbus_request_return_and_finish(req,
}
/* methods for org.freedesktop.sssd.DataProvider.Client */
const struct sbus_method_meta iface_dp_client__methods[] = {
{
"Register", /* name */
NULL, /* no out_args */
},
{ NULL, }
};
/* interface info for org.freedesktop.sssd.DataProvider.Client */
const struct sbus_interface_meta iface_dp_client_meta = {
"org.freedesktop.sssd.DataProvider.Client", /* name */
NULL, /* no signals */
NULL, /* no properties */
sbus_invoke_get_all, /* GetAll invoker */
};
/* arguments for org.freedesktop.sssd.DataProvider.Backend.IsOnline */
const struct sbus_arg_meta iface_dp_backend_IsOnline__in[] = {
{ "domain_name", "s" },
{ NULL, }
};
/* arguments for org.freedesktop.sssd.DataProvider.Backend.IsOnline */
const struct sbus_arg_meta iface_dp_backend_IsOnline__out[] = {
{ "status", "b" },
{ NULL, }
};
{
return sbus_request_return_and_finish(req,
}
/* methods for org.freedesktop.sssd.DataProvider.Backend */
const struct sbus_method_meta iface_dp_backend__methods[] = {
{
"IsOnline", /* name */
},
{ NULL, }
};
/* interface info for org.freedesktop.sssd.DataProvider.Backend */
const struct sbus_interface_meta iface_dp_backend_meta = {
"org.freedesktop.sssd.DataProvider.Backend", /* name */
NULL, /* no signals */
NULL, /* no properties */
sbus_invoke_get_all, /* GetAll invoker */
};
/* arguments for org.freedesktop.sssd.DataProvider.Failover.ListServices */
const struct sbus_arg_meta iface_dp_failover_ListServices__in[] = {
{ "domain_name", "s" },
{ NULL, }
};
/* arguments for org.freedesktop.sssd.DataProvider.Failover.ListServices */
const struct sbus_arg_meta iface_dp_failover_ListServices__out[] = {
{ "services", "as" },
{ NULL, }
};
int iface_dp_failover_ListServices_finish(struct sbus_request *req, const char *arg_services[], int len_services)
{
return sbus_request_return_and_finish(req,
}
/* arguments for org.freedesktop.sssd.DataProvider.Failover.ActiveServer */
const struct sbus_arg_meta iface_dp_failover_ActiveServer__in[] = {
{ "service_name", "s" },
{ NULL, }
};
/* arguments for org.freedesktop.sssd.DataProvider.Failover.ActiveServer */
const struct sbus_arg_meta iface_dp_failover_ActiveServer__out[] = {
{ "server", "s" },
{ NULL, }
};
{
return sbus_request_return_and_finish(req,
}
/* arguments for org.freedesktop.sssd.DataProvider.Failover.ListServers */
const struct sbus_arg_meta iface_dp_failover_ListServers__in[] = {
{ "service_name", "s" },
{ NULL, }
};
/* arguments for org.freedesktop.sssd.DataProvider.Failover.ListServers */
const struct sbus_arg_meta iface_dp_failover_ListServers__out[] = {
{ "servers", "as" },
{ NULL, }
};
int iface_dp_failover_ListServers_finish(struct sbus_request *req, const char *arg_servers[], int len_servers)
{
return sbus_request_return_and_finish(req,
}
/* methods for org.freedesktop.sssd.DataProvider.Failover */
const struct sbus_method_meta iface_dp_failover__methods[] = {
{
"ListServices", /* name */
},
{
"ActiveServer", /* name */
},
{
"ListServers", /* name */
},
{ NULL, }
};
/* interface info for org.freedesktop.sssd.DataProvider.Failover */
const struct sbus_interface_meta iface_dp_failover_meta = {
"org.freedesktop.sssd.DataProvider.Failover", /* name */
NULL, /* no signals */
NULL, /* no properties */
sbus_invoke_get_all, /* GetAll invoker */
};
/* arguments for org.freedesktop.sssd.dataprovider.autofsHandler */
const struct sbus_arg_meta iface_dp_autofsHandler__in[] = {
{ "dp_flags", "u" },
{ "mapname", "s" },
{ NULL, }
};
/* arguments for org.freedesktop.sssd.dataprovider.autofsHandler */
const struct sbus_arg_meta iface_dp_autofsHandler__out[] = {
{ "dp_error", "q" },
{ "error", "u" },
{ "error_message", "s" },
{ NULL, }
};
int iface_dp_autofsHandler_finish(struct sbus_request *req, uint16_t arg_dp_error, uint32_t arg_error, const char *arg_error_message)
{
return sbus_request_return_and_finish(req,
}
/* arguments for org.freedesktop.sssd.dataprovider.hostHandler */
const struct sbus_arg_meta iface_dp_hostHandler__in[] = {
{ "dp_flags", "u" },
{ "name", "s" },
{ "alias", "s" },
{ NULL, }
};
/* arguments for org.freedesktop.sssd.dataprovider.hostHandler */
const struct sbus_arg_meta iface_dp_hostHandler__out[] = {
{ "dp_error", "q" },
{ "error", "u" },
{ "error_message", "s" },
{ NULL, }
};
int iface_dp_hostHandler_finish(struct sbus_request *req, uint16_t arg_dp_error, uint32_t arg_error, const char *arg_error_message)
{
return sbus_request_return_and_finish(req,
}
/* arguments for org.freedesktop.sssd.dataprovider.getDomains */
const struct sbus_arg_meta iface_dp_getDomains__in[] = {
{ "domain_hint", "s" },
{ NULL, }
};
/* arguments for org.freedesktop.sssd.dataprovider.getDomains */
const struct sbus_arg_meta iface_dp_getDomains__out[] = {
{ "dp_error", "q" },
{ "error", "u" },
{ "error_message", "s" },
{ NULL, }
};
int iface_dp_getDomains_finish(struct sbus_request *req, uint16_t arg_dp_error, uint32_t arg_error, const char *arg_error_message)
{
return sbus_request_return_and_finish(req,
}
/* arguments for org.freedesktop.sssd.dataprovider.getAccountInfo */
const struct sbus_arg_meta iface_dp_getAccountInfo__in[] = {
{ "dp_flags", "u" },
{ "entry_type", "u" },
{ "attr_type", "u" },
{ "filter", "s" },
{ "domain", "s" },
{ "extra", "s" },
{ NULL, }
};
/* arguments for org.freedesktop.sssd.dataprovider.getAccountInfo */
const struct sbus_arg_meta iface_dp_getAccountInfo__out[] = {
{ "dp_error", "q" },
{ "error", "u" },
{ "error_message", "s" },
{ NULL, }
};
int iface_dp_getAccountInfo_finish(struct sbus_request *req, uint16_t arg_dp_error, uint32_t arg_error, const char *arg_error_message)
{
return sbus_request_return_and_finish(req,
}
/* methods for org.freedesktop.sssd.dataprovider */
const struct sbus_method_meta iface_dp__methods[] = {
{
"pamHandler", /* name */
NULL, /* no in_args */
NULL, /* no out_args */
NULL, /* no invoker */
},
{
"sudoHandler", /* name */
NULL, /* no in_args */
NULL, /* no out_args */
NULL, /* no invoker */
},
{
"autofsHandler", /* name */
},
{
"hostHandler", /* name */
},
{
"getDomains", /* name */
},
{
"getAccountInfo", /* name */
},
{ NULL, }
};
/* interface info for org.freedesktop.sssd.dataprovider */
const struct sbus_interface_meta iface_dp_meta = {
"org.freedesktop.sssd.dataprovider", /* name */
NULL, /* no signals */
NULL, /* no properties */
sbus_invoke_get_all, /* GetAll invoker */
};
/* invokes a handler with a 's' DBus signature */
{
const char * arg_0;
return EOK; /* request handled */
}
arg_0);
}
/* invokes a handler with a 'uss' DBus signature */
{
const char * arg_1;
const char * arg_2;
return EOK; /* request handled */
}
arg_2);
}
/* invokes a handler with a 'uuusss' DBus signature */
{
const char * arg_3;
const char * arg_4;
const char * arg_5;
int (*handler)(struct sbus_request *, void *, uint32_t, uint32_t, uint32_t, const char *, const char *, const char *) = function_ptr;
return EOK; /* request handled */
}
arg_5);
}
/* invokes a handler with a 'us' DBus signature */
{
const char * arg_1;
return EOK; /* request handled */
}
arg_1);
}