Ethereal-dev: [Ethereal-dev] Patch to plugin_api_list.c

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

From: Pierre JUHEN <pierre.juhen@xxxxxxxxxx>
Date: Wed, 21 Jan 2004 20:43:32 +0100
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.

This is necessary to generate a plugin under Windows.

Pierre Juhen

______________


--- plugins/plugin_api_list_old.c       2003-12-06 19:46:57.000000000 +0100
+++ plugins/plugin_api_list.c   2004-01-21 20:15:25.000000000 +0100
@@ -264,6 +264,7 @@
char *proto_get_protocol_name(int n);
char *proto_get_protocol_short_name(protocol_t *);
char *proto_get_protocol_filter_name(int proto_id);
+protocol_t *find_protocol_by_id(int n);

void prefs_register_obsolete_preference(module_t *, const char *);