71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny/*
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny SSSD
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny Authors:
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny Jan Zeleny <jzeleny@redhat.com>
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny Copyright (C) 2012 Red Hat
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny This program is free software; you can redistribute it and/or modify
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny it under the terms of the GNU General Public License as published by
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny the Free Software Foundation; either version 3 of the License, or
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny (at your option) any later version.
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny This program is distributed in the hope that it will be useful,
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny but WITHOUT ANY WARRANTY; without even the implied warranty of
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny GNU General Public License for more details.
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny You should have received a copy of the GNU General Public License
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny along with this program. If not, see <http://www.gnu.org/licenses/>.
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny*/
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny#ifndef IPA_HBAC_RULES_H_
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny#define IPA_HBAC_RULES_H_
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny/* From ipa_hbac_rules.c */
71ad247500b417836a1a2edec257a4433a7c415fJan Zelenystruct tevent_req *
71ad247500b417836a1a2edec257a4433a7c415fJan Zelenyipa_hbac_rule_info_send(TALLOC_CTX *mem_ctx,
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny struct tevent_context *ev,
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny struct sdap_handle *sh,
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny struct sdap_options *opts,
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny struct sdap_search_base **search_bases,
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny struct sysdb_attrs *ipa_host);
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny
71ad247500b417836a1a2edec257a4433a7c415fJan Zelenyerrno_t
71ad247500b417836a1a2edec257a4433a7c415fJan Zelenyipa_hbac_rule_info_recv(struct tevent_req *req,
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny TALLOC_CTX *mem_ctx,
684a13e8de1526257ca2e40b6bf2e05585d4eacaFabiano Fidêncio size_t *_rule_count,
684a13e8de1526257ca2e40b6bf2e05585d4eacaFabiano Fidêncio struct sysdb_attrs ***_rules);
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny
71ad247500b417836a1a2edec257a4433a7c415fJan Zeleny#endif /* IPA_HBAC_RULES_H_ */