summaryrefslogtreecommitdiff
path: root/src/providers/dp_dyndns.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-04-16 14:19:15 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-05-03 20:25:46 +0200
commite45b81abe0aafa8a04bd64ac31a2fac63ce675b7 (patch)
tree332b0acdc2ec094331025f08b259d9b9b8d81262 /src/providers/dp_dyndns.h
parent38ebc764eeb7693e0c4f0894d6687e54fbba871b (diff)
downloadsssd-e45b81abe0aafa8a04bd64ac31a2fac63ce675b7.tar.gz
sssd-e45b81abe0aafa8a04bd64ac31a2fac63ce675b7.tar.bz2
sssd-e45b81abe0aafa8a04bd64ac31a2fac63ce675b7.zip
dyndns: new option dyndns_force_tcp
https://fedorahosted.org/sssd/ticket/1831 Adds a new option that can be used to force nsupdate to only use TCP to communicate with the DNS server.
Diffstat (limited to 'src/providers/dp_dyndns.h')
-rw-r--r--src/providers/dp_dyndns.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/providers/dp_dyndns.h b/src/providers/dp_dyndns.h
index 8fdbe487..a1e31e45 100644
--- a/src/providers/dp_dyndns.h
+++ b/src/providers/dp_dyndns.h
@@ -47,6 +47,7 @@ enum dp_dyndns_opts {
DP_OPT_DYNDNS_IFACE,
DP_OPT_DYNDNS_TTL,
DP_OPT_DYNDNS_UPDATE_PTR,
+ DP_OPT_DYNDNS_FORCE_TCP,
DP_OPT_DYNDNS /* attrs counter */
};
@@ -103,7 +104,8 @@ be_nsupdate_create_ptr_msg(TALLOC_CTX *mem_ctx, const char *realm,
*/
struct tevent_req *be_nsupdate_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
- char *nsupdate_msg);
+ char *nsupdate_msg,
+ bool force_tcp);
errno_t be_nsupdate_recv(struct tevent_req *req, int *child_status);
struct tevent_req * nsupdate_get_addrs_send(TALLOC_CTX *mem_ctx,