31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek/*
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek SSSD
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek AD Master Domain Module
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek Authors:
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek Sumit Bose <sbose@redhat.com>
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek Copyright (C) 2013 Red Hat
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek This program is free software; you can redistribute it and/or modify
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek it under the terms of the GNU General Public License as published by
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek the Free Software Foundation; either version 3 of the License, or
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek (at your option) any later version.
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek This program is distributed in the hope that it will be useful,
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek but WITHOUT ANY WARRANTY; without even the implied warranty of
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek GNU General Public License for more details.
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek You should have received a copy of the GNU General Public License
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek along with this program. If not, see <http://www.gnu.org/licenses/>.
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek*/
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek#ifndef _AD_MASTER_DOMAIN_H_
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek#define _AD_MASTER_DOMAIN_H_
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozekstruct tevent_req *
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozekad_master_domain_send(TALLOC_CTX *mem_ctx,
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek struct tevent_context *ev,
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek struct sdap_id_conn_ctx *conn,
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek struct sdap_id_op *op,
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek const char *dom_name);
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozekerrno_t
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozekad_master_domain_recv(struct tevent_req *req,
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek TALLOC_CTX *mem_ctx,
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek char **_flat,
17195241500e46272018d7897d6e87249870caf2Pavel Reichl char **_id,
60cab26b12df9a2153823972cde0c38ca86e01b9Yassir Elley char **_site,
17195241500e46272018d7897d6e87249870caf2Pavel Reichl char **_forest);
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek#endif /* _AD_MASTER_DOMAIN_H_ */