It doesn't look like we can remove the first parameter, but I guess I'm
missing something.

It's currently used in the API implementation like this:
HdrHeap       *heap = ((HdrHeapSDKHandle *)bufp)->m_heap;
and heap is used like this:
mime_hdr_print(heap, mh, blk->end(), blk->write_avail(), &bufindex, &tmp);

Do you mean the code after the refactor gets HdrHeap in another way?



On Mon, Jun 10, 2024 at 1:59 PM <josiah_vander...@mediacombb.net> wrote:

> Hello,
>
> After a refactor, the first parameter to TSMimeHdrPrint is unused, and we
> are planning on removing it for ATS 10. The API will be changed as in the
> following diff:
>
> -void TSMimeHdrPrint(TSMBuffer bufp, TSMLoc offset, TSIOBuffer iobufp);
> +void TSMimeHdrPrint(TSMLoc offset, TSIOBuffer iobufp);
>
> The change is straightforward, but please let me know if you have any
> questions or concerns.
>
> Thank you,
> Josiah VanderZee
>
>
>
>

Reply via email to