aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-03-07 02:44:41 +0000
committerGuy Harris <guy@alum.mit.edu>2005-03-07 02:44:41 +0000
commit802859d3fdec48deb783cf69bfd9ebde1a29cfbc (patch)
treedcd76ab989f1e0ed41345f4fdf7564ad33622c83 /doc
parentab32b090b72047d3ed37852f5b40a5de386a433a (diff)
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
Diffstat (limited to 'doc')
-rw-r--r--doc/README.plugins2
1 files changed, 1 insertions, 1 deletions
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