Ethereal-dev: [Ethereal-dev] Static -vs- Dynamic configuration

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

From: David Frascone <dave@xxxxxxxxxxxx>
Date: Tue, 27 Feb 2001 11:43:57 -0600
Currently, packet-diameter.c loads many configuration options out of 
packet-diameter-defs.h.  These are generated from a dictionary.  But, any time
we find a bug in the dictionary (or in the .h file), it requires a recompile.

I'm considering puting a dictionary parser into the diameter dissector.  This
would cause the diameter dissector to parse a file (on startup), and load in
it's configuration.  The file is less than 1000 lines, and would parse VERY 
quickly.  Probably un-noticably.

So, should I do it?  If I do, where should I put the configuration file?  It
would be system wide settings, and would probably never be touched by users.

Comments?


--Dave