Ethereal-dev: Re: [Ethereal-dev] Lost somewhere in the Plugin API ... please bring up the "mod

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

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Sat, 22 Jan 2005 22:34:51 +0100
Lars Roland wrote:

Ulf Lamping schrieb:

> So if I need symbols from Ethereal in my plugin, I'll have to add them > in the libethereal.def file I would guess.

Yes, just add the function name to libethereal.def. If you add variables to the list, you have to add the keyword "DATA" to that line in libethereal.def and "ETH_VAR_IMPORT" instead of "extern" to the variable declaration in the appropriate header file.

Got my plugin back to life by some additions to libethereal.def and #include <epan/dissectors/packet-dcerpc.h> as I needed the definition of e_uuid_t :-)

Hmm, I've seen the DATA tag there before, but in a clean API point of view it might not be a good way to export data IMHO, although maybe sometimes not avoidable.

I still vote to remove the plugin API stuff as soon as possible and bring the documentation up to date.


BTW, I didn't get the last mail, because mailman had temporarily disabled my mailing list membership due to "excessive bounces" !?

I had some problems with receiving mailing list mails once ago, but no problems for some weeks (months?) now.


I had to retrieve it from ethereal's mail archive.

Shit happen's ;-)

Regards, ULFL