From 802859d3fdec48deb783cf69bfd9ebde1a29cfbc Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Mon, 7 Mar 2005 02:44:41 +0000 Subject: Call the "new-style init" routine for plugins a "register" routine, as it serves the same purpose as the register routine in a built-in dissector, and don't require all dissectors to have one, as they might just be taps. Get rid of the stats tree's init routine, as it's just a tap, and as it doesn't do anything. Update the idl2eth Python script to generate plugins with register routines. svn path=/trunk/; revision=13644 --- doc/README.plugins | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/README.plugins') diff --git a/doc/README.plugins b/doc/README.plugins index 59d7975485..d5eb9fb7b6 100644 --- a/doc/README.plugins +++ b/doc/README.plugins @@ -47,7 +47,7 @@ The following two functions need to be exported by the plugin: #ifndef ENABLE_STATIC G_MODULE_EXPORT void -new_plugin_init(void) +plugin_register(void) #endif This function is called by Ethereal when the plugin is initialized; it's -- cgit v1.2.3