From ce07cefdb041979c8d363ef6c021dbae34a10d79 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 7 Feb 2007 11:26:36 +0000 Subject: r21217: Just found a system that does not define in_addr_t but only struct in_addr. Okay, it's a SuSE 7.0, but if the fix is so simple I think we should not drop that :-) Volker (This used to be commit a5d0d1c1e63c63388540a24854bde380cd4b06bf) --- source3/libaddns/dns.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'source3/libaddns/dns.h') diff --git a/source3/libaddns/dns.h b/source3/libaddns/dns.h index 9e8cc1d155..6f480a5469 100644 --- a/source3/libaddns/dns.h +++ b/source3/libaddns/dns.h @@ -405,13 +405,16 @@ DNS_ERROR dns_create_tkey_record(TALLOC_CTX *mem_ctx, const char *keyname, struct dns_rrec **prec); DNS_ERROR dns_create_name_in_use_record(TALLOC_CTX *mem_ctx, const char *name, - const in_addr_t *ip, + const struct in_addr *ip, struct dns_rrec **prec); DNS_ERROR dns_create_delete_record(TALLOC_CTX *mem_ctx, const char *name, uint16 type, uint16 r_class, struct dns_rrec **prec); +DNS_ERROR dns_create_name_not_in_use_record(TALLOC_CTX *mem_ctx, + const char *name, uint32 type, + struct dns_rrec **prec); DNS_ERROR dns_create_a_record(TALLOC_CTX *mem_ctx, const char *host, - uint32 ttl, in_addr_t ip, + uint32 ttl, struct in_addr ip, struct dns_rrec **prec); DNS_ERROR dns_unmarshall_tkey_record(TALLOC_CTX *mem_ctx, struct dns_rrec *rec, struct dns_tkey_record **ptkey); -- cgit