X-Git-Url: https://git.distorted.org.uk/~mdw/adns/blobdiff_plain/11a38eb17bbedce089254ff65f8c01f9d78004d3..721476eb974381619cb5a434988f4d1f71502a2f:/src/internal.h diff --git a/src/internal.h b/src/internal.h index 7faa212..a537115 100644 --- a/src/internal.h +++ b/src/internal.h @@ -672,6 +672,10 @@ void adns__transfer_interim(adns_query from, adns_query to, void *block); * TTLs get inherited by their parents. */ +void adns__free_interim(adns_query qu, void *p); +/* Forget about a block allocated by adns__alloc_interim. + */ + void *adns__alloc_mine(adns_query qu, size_t sz); /* Like _interim, but does not record the length for later * copying into the answer. This just ensures that the memory