ifp_iface.c revision 8fe171bf5a7a570591418e6548105f1d5a0097b3
842ae4bd224140319ae7feec1872b93dfd491143fielding Pavel Březina <pbrezina@redhat.com>
842ae4bd224140319ae7feec1872b93dfd491143fielding Copyright (C) 2015 Red Hat
b4a287513d176e4355dd56ea47b27228e0e5d75fjerenkrantz This program is free software; you can redistribute it and/or modify
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd it under the terms of the GNU General Public License as published by
b4a287513d176e4355dd56ea47b27228e0e5d75fjerenkrantz the Free Software Foundation; either version 3 of the License, or
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd (at your option) any later version.
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd This program is distributed in the hope that it will be useful,
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd but WITHOUT ANY WARRANTY; without even the implied warranty of
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
b4a287513d176e4355dd56ea47b27228e0e5d75fjerenkrantz GNU General Public License for more details.
b4a287513d176e4355dd56ea47b27228e0e5d75fjerenkrantz You should have received a copy of the GNU General Public License
b4a287513d176e4355dd56ea47b27228e0e5d75fjerenkrantz along with this program. If not, see <http://www.gnu.org/licenses/>.
b4a287513d176e4355dd56ea47b27228e0e5d75fjerenkrantz /* components */
b4a287513d176e4355dd56ea47b27228e0e5d75fjerenkrantz .FindResponderByName = ifp_find_responder_by_name,
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholesstruct iface_ifp_components iface_ifp_components = {
194c1e226415b5f34251d249ffe2f8b96c835637minfrin .ChangeDebugLevel = ifp_component_change_debug_level,
194c1e226415b5f34251d249ffe2f8b96c835637minfrin .ChangeDebugLevelTemporarily = ifp_component_change_debug_level_tmp,
db027b0af55a7fa31f2e1659368d606a8b860bb0chrisd /* FIXME: This should be part of Components.Backends interface, onece
18b5268e013574026b2503b1641baf3299045f45sf * SSSD supports multiple interfaces per object path. */
b4a287513d176e4355dd56ea47b27228e0e5d75fjerenkrantz .get_fully_qualified_name_format = ifp_dom_get_fqdn_format,
b4a287513d176e4355dd56ea47b27228e0e5d75fjerenkrantz .get_use_fully_qualified_names = ifp_dom_get_use_fqdn,
db027b0af55a7fa31f2e1659368d606a8b860bb0chrisd .UpdateGroupsList = ifp_users_user_update_groups_list,
194c1e226415b5f34251d249ffe2f8b96c835637minfrin .get_homeDirectory = ifp_users_user_get_home_directory,
194c1e226415b5f34251d249ffe2f8b96c835637minfrin .get_extraAttributes = ifp_users_user_get_extra_attributes
194c1e226415b5f34251d249ffe2f8b96c835637minfrin .ListByDomainAndName = ifp_groups_list_by_domain_and_name
194c1e226415b5f34251d249ffe2f8b96c835637minfrinstruct iface_ifp_groups_group iface_ifp_groups_group = {
194c1e226415b5f34251d249ffe2f8b96c835637minfrin .UpdateMemberList = ifp_groups_group_update_member_list,
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes const char *path;
b4a287513d176e4355dd56ea47b27228e0e5d75fjerenkrantz { IFP_PATH_DOMAINS_TREE, &iface_ifp_domains.vtable },
b4a287513d176e4355dd56ea47b27228e0e5d75fjerenkrantz { IFP_PATH_COMPONENTS_TREE, &iface_ifp_components.vtable },
2e242dca7111f99d54dd144b7b8418d88d560032chrisd { IFP_PATH_USERS_TREE, &iface_ifp_users_user.vtable },
2e242dca7111f99d54dd144b7b8418d88d560032chrisd { IFP_PATH_GROUPS_TREE, &iface_ifp_groups_group.vtable },
b4a287513d176e4355dd56ea47b27228e0e5d75fjerenkrantzerrno_t ifp_register_sbus_interface(struct sbus_connection *conn, void *pvt)
b4a287513d176e4355dd56ea47b27228e0e5d75fjerenkrantz ret = sbus_conn_register_iface(conn, iface_map[i].vtable,
return EOK;