Ethereal-dev: RE: [ethereal-dev] Error message duplication between Ethereal and Tethereal

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

From: Jeff Foster <jfoste@xxxxxxxxxxxx>
Date: Thu, 27 Jul 2000 09:45:06 -0500

> I was looking to generate a list of error messages out of the source code,
> and I noticed a lot of duplication of error messages, many of which are
the
> same or similar.
> 
> Can we not extract the error messages to a single include file or .c file
> and access them via enums or something like that?
> 
> Then the one source file can be maintained for both.

I agree with Richard.  The idea of moving all messages to one file would
force
reuse of the messages, allow a more consistant message format, and make it
easier
to port(?) the messages to a different language.  I also suggest the we
include
some sort of message number system, so people using different languages
could 
reference a message by the number and don't have to translate it to
communicate
about a problem.


Jeff Foster
jfoste@xxxxxxxxxxxx