Ethereal-dev: Re: [Ethereal-dev] Total indepedence of epan/ethereal.lib

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Fri, 13 Apr 2001 11:37:57 -0700 (PDT)
> Also, there are subtle dependencies through the extern declarations 
> that need to be explored.  For example, there is a subtle dependency on 
> ipprotostr() which is externed in packet.h and comes from ipproto.c.
> 
> ipproto.c is dependent on etypes.h and packet-ip.h.  

"ipprotostr()", like "etype_vals[]", doesn't appear to be used in
libethereal, so perhaps the declaration of "ipprotostr()" should be
moved out of "packet.h" into a new "ipproto.h" header file.

("ipproto.c" also doesn't appear to use anything in "etypes.h", so
perhaps it doesn't need to include it; I'm trying a build now with the
'#include "etypes.h"' removed from "ipproto.c" - if it works, I'll
remove that #include.)