Ethereal-dev: Re: [Ethereal-dev] General plugins

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: Sun, 15 Jul 2001 23:42:32 -0700
On Sun, Jul 15, 2001 at 11:37:09PM -0700, Guy Harris wrote:
> If the latter, another way to do this would be to have generalize
> "ph_stats_new()", by having it take a callback and a "user data pointer"
> as an argument, and have it call the callback with a pointer to the
> protocol tree, a pointer to the "frame_data" structure for the frame,
> and the "user data pointer" as arguments.

...although note that a Tools plugin would come in two parts - the
data-processing part and the UI part.  The UI part would be separate so
that, for example, versions could be built for more than one type of UI
(currently, Ethereal has only GTK+ 1.2[.x], but it might in the future
have some or all of GTK+ 2.x, GTK+ 1.2[.x] + Gnome 1.x, GTK+ 2.x + Gnome
2.x, KDE 2.x, MFC or some native Windows UI, curses, etc..)