diff options
author | Stefan Metzmacher <metze@samba.org> | 2014-07-30 08:24:10 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2014-08-26 09:13:06 +0200 |
commit | 342a087349f8a10833338a3fa49fbd4d4d29f3e5 (patch) | |
tree | 77d8753d159ca4cefec4b4f0ca09665dcab8d644 /source4/dns_server/dnsserver_common.h | |
parent | 99d5a5ead4f33723c25e8716a79d34b53822521e (diff) | |
download | samba-342a087349f8a10833338a3fa49fbd4d4d29f3e5.tar.gz |
s4:dns_server: split out dns_common_extract() and dns_common_lookup()
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.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/source4/dns_server/dnsserver_common.h b/source4/dns_server/dnsserver_common.h index 41febe28d39..4731780eea6 100644 --- a/source4/dns_server/dnsserver_common.h +++ b/source4/dns_server/dnsserver_common.h @@ -25,4 +25,17 @@ uint8_t werr_to_dns_err(WERROR werr); #define DNS_ERR(err_str) WERR_DNS_ERROR_RCODE_##err_str +struct ldb_message_element; + +WERROR dns_common_extract(const struct ldb_message_element *el, + TALLOC_CTX *mem_ctx, + struct dnsp_DnssrvRpcRecord **records, + uint16_t *num_records); + +WERROR dns_common_lookup(struct ldb_context *samdb, + TALLOC_CTX *mem_ctx, + struct ldb_dn *dn, + struct dnsp_DnssrvRpcRecord **records, + uint16_t *num_records); + #endif /* __DNSSERVER_COMMON_H__ */ |