Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: Re: [Ethereal-dev] What to export for Win32 plugins

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: Thu, 23 Sep 2004 00:34:02 -0700
Jaap Keuter wrote:

Who/what decides which functions to export to us poor Win32 plugin
developers?

The people who contribute patches to add new functions to the list - or who add new functions and *don't* contribute patches to add functions to the list (generally because they don't know about the list of exported functions or forget about them).

Personally i've interest in proto_tree_add_debug_text() from proto.c (can
help with debugging, I guess) and rtp_add_address() from packet-rtp.c
(there are more call control protocols than H.245). But I guess many more
handy functions are available.

Exporting functions would be easier if we did whatever MSVC++/etc. voodoo was necessary to just have plugins import them from libethereal.dll - it'd just involve adding the function name to libethereal.def.

I've checked in changes to add the functions in question - as well as rtcp_add_address() - to the plugin API list and to libethereal.def. Not being on a Windows system right now, I haven't tested the changes.