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: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Mon, 3 Jun 2002 03:08:45 +0200
On Sun, Jun 02, 2002 at 08:56:00PM -0400, Ashok Narayanan wrote:
> Why do this? Doesn't it introduce an extra step in compile/link of
> Ethereal if I just edit one packet-xxx.c and remake? What's the
> benefit?

1) Currently, all the dissectors are linked twice, once for ethereal
   and once for tethereal. With my patch, this step will only be done
   once.
2) Eventually, there should be a clean separation between the frontend
  (command line, gui) and the dissctor functionality. The dissector should
  go into epan/libethereal. That way, it will become easier to write
  new frontends while providing all functionality with all frontends
  that have the required capabilities (the command line version is never
  going to have several display boxes for overview, dissction and hex,
  but maybe someone will write a curses/slang frontend that does).
  This patch make the places that have somewhat mixed functions a bit
  more visible.

 Ciao
           Jörg

PS: I do have a bad memory, but it's not so bad that you needed to quote
    my email completely  :-)
--
Joerg Mayer                                          <jmayer@xxxxxxxxx>
I found out that "pro" means "instead of" (as in proconsul). Now I know
what proactive means.