Ethereal-dev: Re: [ethereal-dev] initial X11 dissector close to completion, but...

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Mon, 12 Jun 2000 10:11:59 -0500
On Mon, Jun 12, 2000 at 04:24:08AM -0500, Guy Harris wrote:
> 
> 
> On Sun, Jun 04, 2000 at 05:05:42PM +0200, Christophe Tronche wrote:
> > I've got a lot of header fields (about 370 of them). To keep things
> > manageable, I've put them in a text file, with a short Perl script
> > (very specific to my needs) to create the register info and variable
> > declarations in two .h files, then #included in the packet-x11.c file
> > (I remember having seen this kind of things discussed before).
> 
> What does the Perl script use as input?
> 
> People may well add more fields to the X11 dissector if they add support
> for X11 extensions, so the script might be useful to others.

I wouldn't mind using Perl as another part of our build process. We use
it to create the man pages. If we decide to use Perl for other files,
I could get rid of "rdps" and use a Perl script. Also, I'm working on
a re-do of the NCP dissector. It uses a table of information and a Python
script to generate the C code. If we decide to use perl, I'll convert
the NCP script to Perl.

--gilbert