Ethereal-dev: [Ethereal-dev] old vs new style plugin

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

From: Oren Mazor <oren.mazor@xxxxxxxxx>
Date: Mon, 11 Apr 2005 09:43:35 -0400
Hi all,

I'm working on a plugin for a special type of protocol we have here at
work, and I'm finding that ethereal (0.10.3) refuses to recognize it,
instead saying that it is an old-style plugin.

Most of the research I've done shows that ethereal determines that
based on the functions i have in my code, those being:

G_MODULE_EXPORT void plugin_register(void)
G_MODULE_EXPORT void plugin_reg_handoff_xyz(void)
static void dissect_xyz(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
void proto_register_xyz(void)
void proto_reg_handoff_xyz(void)

am I missing anything important? specifically, my error message is:

# ethereal
The plugin packet-xyz.so, version 0.0.2 is an old-style plugin;
Those are no longer supported.

I'm looking through the ethereal source, and I cant even find where
that message is being thrown.

thanks,
Oren