Ethereal-dev: Re: [Ethereal-dev] Plug-in documentation

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: Mon, 5 Nov 2001 12:41:01 -0800 (PST)
(Please don't send HTML mail to mailing lists; not everybody on the list
has mail software that can conveniently deal with it.)

> I am a final year student on a degree course in computing and as part of
> my project am looking at making a plugin based on SMB.
> 
> I was wondering if you could point me to some documentation if any on
> plugins or plugin development

The only documentation is the "README.plugins" file in the "doc"
directory of the source code.  Note that the only plugins supported by
Ethereal are plugin dissectors, and that the only ways they differ from
non-plugin dissectors is

	1) the way they're built and run;

	2) the way they register themselves with the core of Ethereal;

	3) the fact that they should include "plugins/plugin_api.h" and
	   one (but only one) of the source files in the plugin should
	   include, in the current CVS version of Ethereal,
	   "plugins/plugin_api_defs.h".

See the source to the various plugins, in subdirectories of the "plugin"
directory, for examples.