summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2012-09-25 11:08:48 +0200
committerGünther Deschner <gd@samba.org>2012-10-02 16:22:31 +0200
commitec23d0a3eeeeb2f3969d4d113d80bd82cb1dbbcd (patch)
treeecc11eda334cabefa1a183653e1cac2fc1d06ce4
parent5d4247ae7434adae87b265a362a9fa19b4ca557c (diff)
downloadsamba-ec23d0a3eeeeb2f3969d4d113d80bd82cb1dbbcd.tar.gz
samba-ec23d0a3eeeeb2f3969d4d113d80bd82cb1dbbcd.tar.bz2
samba-ec23d0a3eeeeb2f3969d4d113d80bd82cb1dbbcd.zip
s3-net: pass down a flags field to DoDNSUpdate().
Guenther
-rw-r--r--source3/utils/net_dns.c3
-rw-r--r--source3/utils/net_dns.h4
2 files changed, 5 insertions, 2 deletions
diff --git a/source3/utils/net_dns.c b/source3/utils/net_dns.c
index 2948e7cd3c..437b4c1b96 100644
--- a/source3/utils/net_dns.c
+++ b/source3/utils/net_dns.c
@@ -31,7 +31,8 @@
DNS_ERROR DoDNSUpdate(char *pszServerName,
const char *pszDomainName, const char *pszHostName,
- const struct sockaddr_storage *sslist, size_t num_addrs )
+ const struct sockaddr_storage *sslist, size_t num_addrs,
+ uint32_t flags)
{
DNS_ERROR err;
struct dns_connection *conn;
diff --git a/source3/utils/net_dns.h b/source3/utils/net_dns.h
index 83d2922982..19bf86683e 100644
--- a/source3/utils/net_dns.h
+++ b/source3/utils/net_dns.h
@@ -26,7 +26,9 @@
DNS_ERROR DoDNSUpdate(char *pszServerName,
const char *pszDomainName, const char *pszHostName,
const struct sockaddr_storage *sslist,
- size_t num_addrs );
+ size_t num_addrs,
+ uint32_t flags);
+
DNS_ERROR do_gethostbyname(const char *server, const char *host);
#endif /* defined(WITH_DNS_UPDATES) */