Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Remove hf_ variables

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Mon, 29 Jul 2013 13:25:41 -0700
On Jul 29, 2013, at 1:12 PM, Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx> wrote:

> Is anyone attached to hf_ variables? ;)
> 
> There's no real need of them, and we can just replace them with
> header_field_info structure.

I.e., pass a pointer to the relevant structure, rather than an array index into an internal array that can supply that pointer?

I'm not sure there's a compelling reason (other than the effort involved in converting code) to keep the variables.