summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_dyndns.h
diff options
context:
space:
mode:
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_ */