Ethereal-dev: Re: [Ethereal-dev] shared libraries

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: Thu, 22 Mar 2001 11:10:36 -0800 (PST)
> The dependency on register.h is a little more basic, as it 
> speaks to how we handle dissectors.  I've considered a number of 
> possible ways around this problem.  

	...

4) Have "epan_init()" take, as arguments, pointers to the routines to
   be used to register non-plugin dissectors and to register handoffs
   for non-plugin dissectors, pass those arguments to "proto_init()",
   and have "proto_init()" call through those pointers rather than
   directly calling "register_all_protocols()" and
   "register_all_protocol_handoffs()".

> 2)	Convert the existing dissctor base into one jumbo plugin.

5) Put the existing dissector base into libethereal, which would also
   include "register.c".