diff options
author | Andrew Bartlett <abartlet@samba.org> | 2015-09-22 12:10:00 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2015-10-26 05:11:21 +0100 |
commit | 0504065948eec9bd65296d5956b5863d9af06e41 (patch) | |
tree | 466e6b232c24256df68f03b4173c5ba4b41f28d0 /source4/dns_server/dns_server.h | |
parent | 2715805f4c617b9a5d9ae7d2252c6adb30ab6490 (diff) | |
download | samba-0504065948eec9bd65296d5956b5863d9af06e41.tar.gz |
dns_server: Put more code in common
This will allow a python module to be written to modify DNS entries in sam.ldb directly
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'source4/dns_server/dns_server.h')
-rw-r--r-- | source4/dns_server/dns_server.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/source4/dns_server/dns_server.h b/source4/dns_server/dns_server.h index 64b716a2542..e5c15ec1532 100644 --- a/source4/dns_server/dns_server.h +++ b/source4/dns_server/dns_server.h @@ -24,15 +24,9 @@ #include "librpc/gen_ndr/dns.h" #include "librpc/gen_ndr/ndr_dnsp.h" +#include "dnsserver_common.h" struct tsocket_address; - -struct dns_server_zone { - struct dns_server_zone *prev, *next; - const char *name; - struct ldb_dn *dn; -}; - struct dns_server_tkey { const char *name; enum dns_tkey_mode mode; @@ -87,7 +81,6 @@ WERROR dns_server_process_update(struct dns_server *dns, struct dns_res_rec **updates, uint16_t *update_count, struct dns_res_rec **additional, uint16_t *arcount); -bool dns_name_match(const char *zone, const char *name, size_t *host_part_len); bool dns_name_equal(const char *name1, const char *name2); bool dns_records_match(struct dnsp_DnssrvRpcRecord *rec1, struct dnsp_DnssrvRpcRecord *rec2); |