Ethereal-dev: Re: [Ethereal-dev] adding a plugin to ethereal

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

From: "Enrico Budianto" <[email protected]>
Date: Fri, 23 Jul 2004 04:30:48 -0500
Hi,
Thanks for the quick reply..

I included those 2 files but I still get the linking error unresolved external symbols.
I'm compiling using the "Build" command inside the MSVC++ GUI.
Is there some other lib that I need to include?

Thanks again.




From: Guy Harris <[email protected]>
Reply-To: Ethereal development <[email protected]>
To: Ethereal development <[email protected]>
Subject: Re: [Ethereal-dev] adding a plugin to ethereal
Date: Fri, 23 Jul 2004 01:58:05 -0700

On Fri, Jul 23, 2004 at 03:53:17AM -0500, Enrico Budianto wrote:
> I'm new this mailing list and I need to add a new dissector to ethereal for
> a project. I was suggested to do it as a plugin.
> I'm using MSVC++ version 6 to compile the dissector and I'm having problem
> with it. Maybe someone that has done this can give me some pointers.
> A few questions:
> 1. Do I need to include plugin_api.c in my source file?

No.

You include "plugins/plugin_api.h" and "plugin/plugin_api_defs.h"; see
some of the plugins in the Ethereal source.

> 2. Do I need to define PLUGINS_NEED_ADDRESS_TABLE?

No.  It's defined for you when building on Windows.

> 3. What do I need to do with those files generated by Python (Xplugin....
> files)?

Nothing.

_______________________________________________
Ethereal-dev mailing list
[email protected]
http://www.ethereal.com/mailman/listinfo/ethereal-dev
_________________________________________________________________
Overwhelmed by debt? Find out how to ‘Dig Yourself Out of Debt’ from MSN Money. http://special.msn.com/money/0407debt.armx