Ethereal-dev: Re: [Ethereal-dev] Patch to packet-frame.c for Mate access

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

Date: Mon, 29 Nov 2004 13:46:03 +0100
Hi,
I have a question about plugins in Win32.  Unfortunatelly I do not
have a Win32 box with a compiler at hand. So I cannot verify this
myself.

Do changes in plugin_api_list.c aply to libethereal.dll or just to the
"plugin.dll"?

or better,

Iif I make changes to the  plugin_api_list.c will a "plugin.dll" built
afterwards be able to run under the unmodified libethereal.dll ?

That comes because,  If the plugin.dll would run on top of the
unmodified libethereal.dll there's no problem.

But, if the plugin would need a compiled libethereal.dll that
incorporates the changes made to plugin_api_list.c we need to apply
the following patch as well before 0.10.8:

Index: plugins/plugin_api_list.c
===================================================================
--- plugins/plugin_api_list.c   (revision 12617)
+++ plugins/plugin_api_list.c   (working copy)
@@ -296,6 +296,8 @@
 
 int register_tap(char *);
 void tap_queue_packet(int, packet_info *, void *);
+GString *register_tap_listener(char *, void *, char *, tap_reset_cb ,
tap_packet_cb ,  tap_draw_cb );
+void remove_tap_listener(void *tapdata);
 
 void asn1_open(ASN1_SCK *, tvbuff_t *, int );
 void asn1_close(ASN1_SCK *, int *);


On Sun, 28 Nov 2004 21:55:14 +0100, Anders Broman <a.broman@xxxxxxxxx> wrote:
> I have checked in the patch to packet-frame.c needed for Mate to work. If it
> causes problems we can back it out again. 

BR
Luis
-- 
We can classify people in 10 categories:
- those who understand binary
- and those who don't