ipa_selinux_maps.h revision fdab7bbf8933351f6254438c30ff361cd748b15a
1391N/A/*
1391N/A SSSD
1391N/A
1391N/A IPA Backend Module -- SELinux user maps (maps retrieval)
1391N/A
1391N/A Authors:
1391N/A Jan Zeleny <jzeleny@redhat.com>
1391N/A
1391N/A Copyright (C) 2012 Red Hat
1391N/A
1391N/A This program is free software; you can redistribute it and/or modify
1391N/A it under the terms of the GNU General Public License as published by
1391N/A the Free Software Foundation; either version 3 of the License, or
1391N/A (at your option) any later version.
1391N/A
1391N/A This program is distributed in the hope that it will be useful,
1391N/A but WITHOUT ANY WARRANTY; without even the implied warranty of
1391N/A MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1391N/A GNU General Public License for more details.
1391N/A
1391N/A You should have received a copy of the GNU General Public License
1391N/A along with this program. If not, see <http://www.gnu.org/licenses/>.
1391N/A*/
1391N/A
1391N/A#ifndef IPA_SELINUX_MAPS_H_
1391N/A#define IPA_SELINUX_MAPS_H_
1391N/A
1391N/A#include "providers/ldap/sdap_async.h"
1391N/A
1391N/Astruct tevent_req *
1391N/Aipa_selinux_get_maps_send(TALLOC_CTX *mem_ctx,
1391N/A struct tevent_context *ev,
1391N/A struct sysdb_ctx *sysdb,
1391N/A struct sdap_handle *sh,
1391N/A struct sdap_options *opts,
1391N/A struct ipa_options *ipa_opts,
1391N/A struct sdap_search_base **search_bases);
1391N/A
1391N/Aerrno_t
1391N/Aipa_selinux_get_maps_recv(struct tevent_req *req,
1391N/A TALLOC_CTX *mem_ctx,
1391N/A size_t *count,
1391N/A struct sysdb_attrs ***maps);
1391N/A
1391N/A#endif /* IPA_SELINUX_MAPS_H_ */
1391N/A