Wireshark mailing list archives

Re: Remove hf_ variables


From: Guy Harris <guy () alum mit edu>
Date: Mon, 29 Jul 2013 13:25:41 -0700


On Jul 29, 2013, at 1:12 PM, Jakub Zawadzki <darkjames-ws () darkjames pl> 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.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: