addns: Allow creating AAAA records during updates
[sfrench/samba-autobuild/.git] / lib / addns / dns.h
index 6ccdbb60f1a004de751d9ab7a27cabc1547d97de..d98a27ea2daae46dabaed94b607f6e9c81a66312 100644 (file)
 #define QTYPE_MD        3
 #define QTYPE_CNAME    5
 #define QTYPE_SOA      6
+#define QTYPE_AAAA     28
 #define QTYPE_ANY      255
 #define        QTYPE_TKEY      249
 #define QTYPE_TSIG     250
@@ -408,6 +409,9 @@ DNS_ERROR dns_create_name_not_in_use_record(TALLOC_CTX *mem_ctx,
 DNS_ERROR dns_create_a_record(TALLOC_CTX *mem_ctx, const char *host,
                              uint32 ttl, const struct sockaddr_storage *pss,
                              struct dns_rrec **prec);
+DNS_ERROR dns_create_aaaa_record(TALLOC_CTX *mem_ctx, const char *host,
+                                uint32 ttl, const struct sockaddr_storage *pss,
+                                struct dns_rrec **prec);
 DNS_ERROR dns_unmarshall_tkey_record(TALLOC_CTX *mem_ctx, struct dns_rrec *rec,
                                     struct dns_tkey_record **ptkey);
 DNS_ERROR dns_create_tsig_record(TALLOC_CTX *mem_ctx, const char *keyname,