Ethereal-dev: Re: [Ethereal-dev] Why are the DISSECTOR_SUPPORT_xy files not moved, like the o

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

From: "Guy Harris" <[email protected]>
Date: Tue, 27 Jul 2004 14:26:36 -0700 (PDT)
Ulf Lamping said:
> Several days ago, the dissector files packet-xxx were moved from the
> top-level dir into epan/dissectors.
>
> Is there a reason, to keep the DISSECTOR_SUPPORT_xxx files still in the
> top-level dir?

I see no reason to keep the DISSECTOR_SUPPORT_INCLUDES files there, if the
.c files corresponding to them have moved; they should move to the
directories where the .c files are.

Some of those are still in the top-level directory, such as print.h; we
should decide where print.c belongs.  (It has two levels of print support
- low-level routines for printing text to files or printers, independent
of the type of text being printed, and higher-level routines that print a
protocol tree and hex data to a print_stream_t and that print P{D,S}ML to
a file.  Those should perhaps be split into two files, with the latter
probably belonging in libethereal as they know about libetherealisms such
as protocol trees, but with the former perhaps belonging elsewhere.)

Then there's "util.h", which includes both stuff that probably belongs in
libethereal and stuff that doesn't.