summaryrefslogtreecommitdiff
path: root/source4/dns_server/dnsserver_common.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-07-30 18:27:56 +0200
committerStefan Metzmacher <metze@samba.org>2014-08-26 09:13:06 +0200
commit0689e795e073008d2ad539c0ef5ddbdc6d9efdac (patch)
tree36668df83b699bfbd5ddd104b65d2adb6edc7216 /source4/dns_server/dnsserver_common.h
parent7e7df78bd7ae5575da7443b45c0e2e4167eebde2 (diff)
downloadsamba-0689e795e073008d2ad539c0ef5ddbdc6d9efdac.tar.gz
s4:dns_server: split out dns_common_replace()
Bug: https://bugzilla.samba.org/show_bug.cgi?id=10749 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/dns_server/dnsserver_common.h')
-rw-r--r--source4/dns_server/dnsserver_common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/dns_server/dnsserver_common.h b/source4/dns_server/dnsserver_common.h
index 4731780eea6..1117ad11910 100644
--- a/source4/dns_server/dnsserver_common.h
+++ b/source4/dns_server/dnsserver_common.h
@@ -38,4 +38,12 @@ WERROR dns_common_lookup(struct ldb_context *samdb,
struct dnsp_DnssrvRpcRecord **records,
uint16_t *num_records);
+WERROR dns_common_replace(struct ldb_context *samdb,
+ TALLOC_CTX *mem_ctx,
+ struct ldb_dn *dn,
+ bool needs_add,
+ uint32_t serial,
+ struct dnsp_DnssrvRpcRecord *records,
+ uint16_t rec_count);
+
#endif /* __DNSSERVER_COMMON_H__ */