Ethereal-dev: Re: [Ethereal-dev] new tap for mgcp

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

From: Jason House <jhouse@xxxxxxxxx>
Date: Thu, 06 Mar 2003 17:47:16 -0500
Lars Roland wrote:
> As Tomas Kukosa mentioned, there are some issues, we have to think
> about, when using tap-listeners with plugins. There is critical point,
> when someone invokes the tap-routine and the plugin is not present, i.e.
> ethereal was installed without plugins.
> 
> at the moment, tethereal just say "tap not found" and exits. and that is
>   already ok. For the gtk version, we will need probably some error
> handling or we should hide the menu item for that function, if that is
> possible.

The best thing might be to have a function call inside plugins to
register/deregister menu items on plugin load/unload.  That would then
make all plugins able to add items to the menus, and avoids mgcp-only
code.  

> 
> Best Regards,
> Lars Roland