+void adns__makefinal_str(adns_query qu, char **strp) {
+ int l;
+ char *before, *after;
+
+ before= *strp;
+ l= strlen(before)+1;
+ after= adns__alloc_final(qu,l);
+ memcpy(after,before,l);
+ *strp= after;
+}
+
+void adns__makefinal_block(adns__query qu, void **blpp, size_t sz) {
+ void *after;
+
+ after= adns__alloc_final(qu,sz);
+ memcpy(after,*blpp,sz);
+ *blpp= after;
+}
+