Ethereal-dev: Re: [Ethereal-dev] Separating the dissectors into a library

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Mon, 3 Jun 2002 02:43:35 -0700
On Mon, Jun 03, 2002 at 03:08:45AM +0200, Joerg Mayer wrote:
> 2) Eventually, there should be a clean separation between the frontend
>   (command line, gui) and the dissctor functionality.

There already *is* a reasonably clean separation; no dissector can, for
example, have any GTK+ code, as all the dissector object files are
linked into Tethereal, which isn't linked with GTK+.  The same applies
to the modules in the top-level directory that provide support functions
for dissectors.

(I'm not saying that separating the dissectors from the front end, by
putting them into separate directories, is a bad idea; I think it's a
reasonable thing to do.  I'm just saying that it's not necessary in
order to arrange that the same dissectors can be used in different front
ends.)