/*
SSSD
sdap_dyndns.h: LDAP specific dynamic DNS update
Authors:
Jakub Hrozek <jhrozek@redhat.com>
Copyright (C) 2013 Red Hat
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SDAP_DYNDNS_H_
#define SDAP_DYNDNS_H_
#include "providers/be_dyndns.h"
#include "providers/ldap/ldap_common.h"
struct tevent_req *
struct tevent_context *ev,
struct sdap_id_ctx *sdap_ctx,
enum be_nsupdate_auth auth_type,
const char *ifname,
const char *hostname,
const char *realm,
const int ttl,
bool check_diff);
/* Connects to the LDAP server in order to read the address from the
* socket and be able to perform dynamic DNS updates. Reschedules the
* guard in be_nsupdate_ctx.
*/
struct tevent_req *
struct tevent_context *ev,
struct sdap_id_ctx *sdap_ctx,
struct be_nsupdate_ctx *dyndns_ctx);
#endif /* SDAP_DYNDNS_H_ */