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