diff options
author | Guy Harris <gharris@sonic.net> | 2021-01-30 21:08:59 -0800 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2021-01-30 21:15:30 -0800 |
commit | 1f15c0899ee2d1f27b523928a39a49175bdc32b7 (patch) | |
tree | 977b0cdb81d094d7eb647a848b18bf620a47338a /ui/taps.h | |
parent | b2db1517be11f9402613220269f63c373b9bf785 (diff) |
epan: have a routine to register all tap listeners.
Pull the code to register plugin taps, and the loop to register built-in
taps, into a single register_all_tap_listeners() routine.
This leaves it up to libwireshark, not to the programs using it, to know
how to register them.
Diffstat (limited to 'ui/taps.h')
-rw-r--r-- | ui/taps.h | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -17,10 +17,7 @@ extern "C" { #include <glib.h> -typedef struct _tap_reg { - const char *cb_name; - void (*cb_func)(void); -} tap_reg_t; +#include <epan/tap.h> extern tap_reg_t tap_reg_listener[]; |