X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=adns.git;a=blobdiff_plain;f=src%2Finternal.h;h=7faa2123c4abe4bffec95183ed607c0ed1551536;hp=f25fe9c4240f8b933c8f5ff80c2e2738d49cf668;hb=2edb1757691323cf8a54d6acd68251781a4df521;hpb=3eb20edd4ef2a509a0ff7d3973f663e35f812ea7 diff --git a/src/internal.h b/src/internal.h index f25fe9c..7faa212 100644 --- a/src/internal.h +++ b/src/internal.h @@ -229,6 +229,7 @@ adns_status adns__ckl_hostname(adns_state ads, adns_queryflags flags, typedef struct allocnode { struct allocnode *next, *back; + size_t sz; } allocnode; union maxalign { @@ -657,8 +658,7 @@ void *adns__alloc_preserved(adns_query qu, size_t sz); * answer->cname and answer->owner are _preserved. */ -void adns__transfer_interim(adns_query from, adns_query to, - void *block, size_t sz); +void adns__transfer_interim(adns_query from, adns_query to, void *block); /* Transfers an interim allocation from one query to another, so that * the `to' query will have room for the data when we get to makefinal * and so that the free will happen when the `to' query is freed