On Jan 21, 2004, at 11:43 AM, Pierre JUHEN wrote:
The declaration of find_protocol_by_id was forgotten in plugins/plugin_api_list.c in version 0.10.0, if this function is used in the plugin.
Not forgotten, just not included. No plugins that come with Ethereal use it, and nobody'd sent us a patch until now, so presumably either nobody'd created a plugin that used it until now or nobody who did had bothered to send us a patch.
How are you using it in your plugin? (Note that it does a linear search of a long list, so you'd want to call it in your register routine and save the result.) Note that if a dissector is called through a dissector handle or protocol table, you don't need to call it in order to see whether that dissector's protocol is enabled - that's done for you by the code that calls through handles and dissector tables.
_______________________________________________ Ethereal-dev mailing list [EMAIL PROTECTED] http://www.ethereal.com/mailman/listinfo/ethereal-dev
