diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2019-07-18 10:28:04 +0100 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2019-07-21 22:46:57 +0000 |
commit | 1d1679f061cbd035cdc68c7d0ceaa4b08f0f7e0e (patch) | |
tree | 73ba04cdf34ff4d3b8f4ebd5e0b69fdeec440110 /epan/epan.h | |
parent | 687ae12b6103330f365381b7df2764cc984bce88 (diff) |
Extend epan library plugins with a tap registration callback
tap_register_plugin() is not sufficient for an extension language
implementation because the epan plugin is initialized before
proto_init(), therefore before dissectors have registered taps.
Change-Id: Ief213f85ff4f7182f9af985e5f45476355cc2b86
Reviewed-on: https://code.wireshark.org/review/34048
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'epan/epan.h')
-rw-r--r-- | epan/epan.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/epan.h b/epan/epan.h index 80d9b6f4e4..217886eb84 100644 --- a/epan/epan.h +++ b/epan/epan.h @@ -120,6 +120,7 @@ typedef struct { void (*cleanup)(void); void (*register_all_protocols)(register_cb, gpointer); void (*register_all_handoffs)(register_cb, gpointer); + void (*register_all_tap_listeners)(void); } epan_plugin; WS_DLL_PUBLIC void epan_register_plugin(const epan_plugin *plugin); |