Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 25794: /trunk/epan/dissectors/ /trun
From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Tue, 22 Jul 2008 16:29:35 -0400


Bill Meier wrote:
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.

Cool.  :-)