14 #include <epan/epan.h> 16 #include "ws_symbol_export.h" 18 #include "wsutil/plugins.h" 25 typedef void (*tap_reset_cb)(
void *tapdata);
27 typedef void (*tap_draw_cb)(
void *tapdata);
32 #define TL_REQUIRES_NOTHING 0x00000000 33 #define TL_REQUIRES_PROTO_TREE 0x00000001 34 #define TL_REQUIRES_COLUMNS 0x00000002 35 #define TL_REQUIRES_ERROR_PACKETS 0x00000004 37 #define TL_IS_DISSECTOR_HELPER 0x00000008 42 void (*register_tap_listener)(void);
46 WS_DLL_PUBLIC
void tap_register_plugin(
const tap_plugin *plug);
57 WS_DLL_PUBLIC
void register_all_plugin_tap_listeners(
void);
59 extern void tap_init(
void);
73 WS_DLL_PUBLIC
int register_tap(
const char *name);
76 WS_DLL_PUBLIC GList* get_tap_names(
void);
81 WS_DLL_PUBLIC
int find_tap_id(
const char *name);
103 WS_DLL_PUBLIC
void tap_queue_packet(
int tap_id,
packet_info *pinfo,
const void *tap_specific_data);
124 WS_DLL_PUBLIC
void reset_tap_listeners(
void);
133 WS_DLL_PUBLIC
void draw_tap_listeners(gboolean draw_all);
209 WS_DLL_PUBLIC GString *register_tap_listener(
const char *tapname,
void *tapdata,
210 const char *fstring, guint flags, tap_reset_cb tap_reset,
211 tap_packet_cb tap_packet, tap_draw_cb tap_draw) G_GNUC_WARN_UNUSED_RESULT;
214 WS_DLL_PUBLIC GString *set_tap_dfilter(
void *tapdata,
const char *fstring);
217 WS_DLL_PUBLIC
void tap_listeners_dfilter_recompile(
void);
220 WS_DLL_PUBLIC
void remove_tap_listener(
void *tapdata);
226 WS_DLL_PUBLIC gboolean tap_listeners_require_dissection(
void);
229 WS_DLL_PUBLIC gboolean have_tap_listener(
int tap_id);
232 WS_DLL_PUBLIC gboolean have_filtering_tap_listeners(
void);
239 WS_DLL_PUBLIC guint union_of_tap_listener_flags(
void);
255 WS_DLL_PUBLIC
const void *fetch_tapped_data(
int tap_id,
int idx);
259 extern void tap_cleanup(
void);
Definition: packet_info.h:44
Definition: epan_dissect.h:28