Ethereal-dev: [ethereal-dev] tvbuff.c and format_text()

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

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Fri, 8 Sep 2000 12:21:13 -0400
The new function introducted to tvbuff.c requires packet.h, in order
to get the prototype for format_text().

However, I'd rather avoid having tvbuff.c dependent on packet.h, since
in order to test the tvbuff routines, linking a minimum amount of
object files into tvbtest is good. I'd rather not link packet.o and
all its dependencies.

If there are no objections, I'll make another file called "string_utils.c"
and put format_text() in there. (or maybe util.c is the right place; let
me think about that...). That way tvbtest can still be small.

--gilbert