diff options
author | Pavel Březina <pbrezina@redhat.com> | 2016-06-16 13:56:12 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2016-06-27 16:34:58 +0200 |
commit | 9e9ad4cb181c6c0ec70caacfb31319753f889e98 (patch) | |
tree | d5b6fa71e4e0e02897d174c035cf515da3eb8e87 /src/responder/ifp/ifp_iface_generated.c | |
parent | bf83a0faacf16196ab9bd37dcf6190b4209ccaf7 (diff) | |
download | sssd-9e9ad4cb181c6c0ec70caacfb31319753f889e98.tar.gz sssd-9e9ad4cb181c6c0ec70caacfb31319753f889e98.tar.xz sssd-9e9ad4cb181c6c0ec70caacfb31319753f889e98.zip |
IFP: Provide domain and failover status
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/responder/ifp/ifp_iface_generated.c')
-rw-r--r-- | src/responder/ifp/ifp_iface_generated.c | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/src/responder/ifp/ifp_iface_generated.c b/src/responder/ifp/ifp_iface_generated.c index a4fdd5d12..4d3bb5727 100644 --- a/src/responder/ifp/ifp_iface_generated.c +++ b/src/responder/ifp/ifp_iface_generated.c @@ -531,6 +531,61 @@ const struct sbus_interface_meta iface_ifp_domains_meta = { sbus_invoke_get_all, /* GetAll invoker */ }; +/* arguments for org.freedesktop.sssd.infopipe.Domains.Domain.IsOnline */ +const struct sbus_arg_meta iface_ifp_domains_domain_IsOnline__out[] = { + { "status", "b" }, + { NULL, } +}; + +int iface_ifp_domains_domain_IsOnline_finish(struct sbus_request *req, bool arg_status) +{ + dbus_bool_t cast_status = arg_status; + return sbus_request_return_and_finish(req, + DBUS_TYPE_BOOLEAN, &cast_status, + DBUS_TYPE_INVALID); +} + +/* arguments for org.freedesktop.sssd.infopipe.Domains.Domain.ListServices */ +const struct sbus_arg_meta iface_ifp_domains_domain_ListServices__out[] = { + { "services", "as" }, + { NULL, } +}; + +int iface_ifp_domains_domain_ListServices_finish(struct sbus_request *req, const char *arg_services[], int len_services) +{ + return sbus_request_return_and_finish(req, + DBUS_TYPE_ARRAY, DBUS_TYPE_STRING, &arg_services, len_services, + DBUS_TYPE_INVALID); +} + +/* methods for org.freedesktop.sssd.infopipe.Domains.Domain */ +const struct sbus_method_meta iface_ifp_domains_domain__methods[] = { + { + "IsOnline", /* name */ + NULL, /* no in_args */ + iface_ifp_domains_domain_IsOnline__out, + offsetof(struct iface_ifp_domains_domain, IsOnline), + NULL, /* no invoker */ + }, + { + "ListServices", /* name */ + NULL, /* no in_args */ + iface_ifp_domains_domain_ListServices__out, + offsetof(struct iface_ifp_domains_domain, ListServices), + NULL, /* no invoker */ + }, + { NULL, } +}; + +/* interface info for org.freedesktop.sssd.infopipe.Domains.Domain */ +const struct sbus_interface_meta iface_ifp_domains_domain_meta = { + "org.freedesktop.sssd.infopipe.Domains.Domain", /* name */ + iface_ifp_domains_domain__methods, + NULL, /* no signals */ + NULL, /* no properties */ + sbus_invoke_get_all, /* GetAll invoker */ +}; + /* arguments for org.freedesktop.sssd.infopipe.Cache.List */ const struct sbus_arg_meta iface_ifp_cache_List__out[] = { { "result", "ao" }, |