X-Git-Url: https://git.distorted.org.uk/~mdw/adns/blobdiff_plain/ca00c406d966d65b85d1f94c3d618ccec8de1dc3..4f9225e6d9dcc19ff9a2fff8e9ddecce5c0195d0:/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