diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-02-27 22:04:48 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-02-27 22:04:48 +0000 |
commit | dd4b0b718b341cbd9ac75aa08735e7a91a62f284 (patch) | |
tree | a4e1653c58125d810cf211a7363fb6e8f2a7407a /epan/plugins.h | |
parent | e18e3db2259c992f7544ea3d9813d68de0900b40 (diff) | |
download | wireshark-dd4b0b718b341cbd9ac75aa08735e7a91a62f284.tar.gz wireshark-dd4b0b718b341cbd9ac75aa08735e7a91a62f284.tar.bz2 wireshark-dd4b0b718b341cbd9ac75aa08735e7a91a62f284.zip |
The stats tree stuff should ultimately allow us to have plugin taps, so
add infrastructure for them, and display the plugin type (which could be
both dissector *and* tap) in the list of plugins.
svn path=/trunk/; revision=13543
Diffstat (limited to 'epan/plugins.h')
-rw-r--r-- | epan/plugins.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/plugins.h b/epan/plugins.h index f844703d9f..f64325b51a 100644 --- a/epan/plugins.h +++ b/epan/plugins.h @@ -35,6 +35,7 @@ typedef struct _plugin { gchar *name; /* plugin name */ gchar *version; /* plugin version */ 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 */ } plugin; @@ -42,6 +43,7 @@ ETH_VAR_IMPORT plugin *plugin_list; extern void init_plugins(const char *); extern void register_all_plugin_handoffs(void); +extern void register_all_plugin_tap_listeners(void); /* get the global plugin dir */ /* Return value is g_malloced so the caller should g_free() it. */ |