s4 dns: Actually handle the update request
[mat/samba.git] / source4 / dns_server / dns_server.h
index 8570281baab9174a03a49912d65968ce26f68488..53d63063180c6b9956cdbc24ae0efeda27b27085 100644 (file)
@@ -64,6 +64,12 @@ WERROR dns_lookup_records(struct dns_server *dns,
                          struct ldb_dn *dn,
                          struct dnsp_DnssrvRpcRecord **records,
                          uint16_t *rec_count);
+WERROR dns_replace_records(struct dns_server *dns,
+                          TALLOC_CTX *mem_ctx,
+                          struct ldb_dn *dn,
+                          bool needs_add,
+                          const struct dnsp_DnssrvRpcRecord *records,
+                          uint16_t rec_count);
 WERROR dns_name2dn(struct dns_server *dns,
                   TALLOC_CTX *mem_ctx,
                   const char *name,