summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_dyndns.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-04-30 18:55:29 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-05-03 20:31:38 +0200
commit33df734b39538eeb870b118b7feea76f90bb004b (patch)
tree9b8001f2c585596b33308a4ed233fb7e4b864735 /src/providers/ldap/sdap_dyndns.h
parente15a9f81eb33066937710d7dee6976a3646d119c (diff)
downloadsssd-33df734b39538eeb870b118b7feea76f90bb004b.tar.gz
sssd-33df734b39538eeb870b118b7feea76f90bb004b.tar.xz
sssd-33df734b39538eeb870b118b7feea76f90bb004b.zip
Split out the common code from timed DNS updates
Diffstat (limited to 'src/providers/ldap/sdap_dyndns.h')
-rw-r--r--src/providers/ldap/sdap_dyndns.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_dyndns.h b/src/providers/ldap/sdap_dyndns.h
index 66de64a59..7aaff5d2c 100644
--- a/src/providers/ldap/sdap_dyndns.h
+++ b/src/providers/ldap/sdap_dyndns.h
@@ -47,4 +47,17 @@ sdap_dyndns_update_send(TALLOC_CTX *mem_ctx,
errno_t sdap_dyndns_update_recv(struct tevent_req *req);
+/* Connects to the LDAP server in order to read the address from the
+ * socket and be able to perform dynamic DNS updates. Reschedules the
+ * task automatically on errors and sets/resets the timer_in_progress
+ * guard in be_nsupdate_ctx.
+ */
+struct tevent_req *
+sdap_dyndns_timer_conn_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ struct sdap_id_ctx *sdap_ctx,
+ struct be_nsupdate_ctx *dyndns_ctx);
+
+errno_t sdap_dyndns_timer_conn_recv(struct tevent_req *req);
+
#endif /* SDAP_DYNDNS_H_ */