Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 25794: /trunk/epan/dissectors/ /trun

From: Bill Meier <wmeier@xxxxxxxxxxx>
Date: Tue, 22 Jul 2008 15:16:36 -0400
Jeff Morriss wrote:
Are you automatically finding these? How? I was wondering about finding a way to do it...


Yep: A little bit of regex'ing in checkAPIs.pl seems to work OK for the way most value_string arrays are defined in Wireshark code.

The current code finds and checks the cases of "static const value_string ...;"

I'll commit the checkAPIs.pl changes in a bit.

(ToDo: investigate cases of value_string definitions such as
"const value_string ...;").