Ethereal-dev: Re: [Ethereal-dev] MSVC warning: NOT_DECODED_YET is redefined(packet-ber.h / pa

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

From: "Guy Harris" <gharris@xxxxxxxxx>
Date: Mon, 17 May 2004 09:10:24 -0700 (PDT)
Ronnie Sahlberg said:
> are there really dissectors/protocols that need to include both
> packet-per.h and packet-ber.h at the same time?

Possibly not - but "plugins/plugin_api_list.c" does, as both the PER and
BER helpers are exported to plugins, which means that "epan/plugins.c"
also does - and so does "plugins/plugin_api.h", so anything that includes
*that* also ends up including both of them.

If we can get rid of the exported routine table (e.g., by supporting only
libethereal as a DLL, and linking programs and plugins with it), that
would no longer be a problem.