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: Ed Warnicke <hagbard@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 13 Apr 2001 13:21:16 -0400 (EDT)
Have you checked this into cvs yet?  ( Just checking because working 
on this problem is on my agenda for this weekend also).  

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.  

There is also an extern dependency on etype_vals[], which is 
defined in packet-ethertype.c ( and also appears to depend on etypes.h).

Just a couple of notes on things I had noticed but not had time to 
resolve yet.

Ed

On Fri, 13 Apr 2001, Gilbert Ramirez wrote:

> Last night I made a lot of progress on making epan/ethereal.lib a DLL,
> separate from any routines and dissectors in the top-level directory.
> (Obviously, on the Win32 platform). This involved:
> 
> o Moving prefs.* into epan
> o Passing timestamp_type and col_fmt_prefs_str (as a string, not a function)
>     into prefs.c instead of having prefs.c reference it itself.
> o Handling dissect_data() in the same way we handle dissect_frame(), i.e.,
>     get the function pointer via name-lookup.
> o Getting rid of the plugin address table.
> 
> I still have some more things to clean up and some run-time errors to
> look into. I am not considering the packaging of the dissectors yet.
> 
> I just wanted to let everyone know so that no one duplicates the effort.
> 
> --gilbert
> 
> 
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
>