diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-03-07 02:44:41 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-03-07 02:44:41 +0000 |
commit | 441119bf420bf0f70ec43028142ffb9e73e2f415 (patch) | |
tree | dcd76ab989f1e0ed41345f4fdf7564ad33622c83 /epan/plugins.h | |
parent | a2795ba504a8f80ce4a6b757cea92c4098157f7f (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13644 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/plugins.h')
-rw-r--r-- | epan/plugins.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/plugins.h b/epan/plugins.h index f64325b51a..7ae35c0615 100644 --- a/epan/plugins.h +++ b/epan/plugins.h @@ -34,6 +34,7 @@ typedef struct _plugin { GModule *handle; /* handle returned by dlopen */ gchar *name; /* plugin name */ gchar *version; /* plugin version */ + void (*register_protoinfo)(void); /* routine to call to register protocol information */ void (*reg_handoff)(void); /* routine to call to register dissector handoff */ void (*register_tap_listener)(void); /* routine to call to register tap listener */ struct _plugin *next; /* forward link */ |