| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
plugin_if.h
Go to the documentation of this file.
1
17#ifndef EPAN_PLUGIN_IF_H
18#define EPAN_PLUGIN_IF_H
19
20#include "ws_symbol_export.h"
21#include "ws_attributes.h"
22
23#include <glib.h>
24#include <epan/epan.h>
25#include <epan/frame_data.h>
26#include <epan/cfile.h>
27
28#ifdef __cplusplus
29 extern "C" {
30#endif /* __cplusplus */
31
35 typedef enum
36{
37 EXT_MENUBAR_GTK_GUI,
38 EXT_MENUBAR_QT_GUI
39} ext_menubar_gui_type;
40
41
49 typedef void (*ext_menubar_action_cb)(ext_menubar_gui_type gui_type, void *gui_object, void *user_data);
50
51
55 typedef enum
56{
57 EXT_MENUBAR_MENU,
58 EXT_MENUBAR_ITEM,
59 EXT_MENUBAR_SEPARATOR,
60 EXT_MENUBAR_URL
61} ext_menubar_entry_t;
62
63
64 typedef struct _ext_menubar_t ext_menubar_t;
65 typedef ext_menubar_t ext_menu_t;
66
67
71 struct _ext_menubar_t
72{
73 ext_menubar_entry_t type;
74 ext_menu_t *parent;
75 int proto;
76 GList *children;
77 unsigned submenu_cnt;
78 unsigned item_cnt;
79
80 char *name;
81 char *label;
82
83 char *tooltip;
84 bool is_plugin;
85 void *user_data;
86
87 ext_menubar_action_cb callback;
88
89 char *parent_menu;
90};
91
99 typedef void (*ext_toolbar_action_cb)(void *toolbar_item, void *item_data, void *user_data);
100
104 typedef enum
105{
106 EXT_TOOLBAR_BAR,
107 EXT_TOOLBAR_ITEM
108} ext_toolbar_entry_t;
109
113 typedef enum
114{
115 EXT_TOOLBAR_BOOLEAN,
116 EXT_TOOLBAR_BUTTON,
117 EXT_TOOLBAR_STRING,
118 EXT_TOOLBAR_SELECTOR
119} ext_toolbar_item_t;
120
124 typedef struct _ext_toolbar_value_t
125{
126 char *value;
127 char *display;
128 bool is_default;
129} ext_toolbar_value_t;
130
134 typedef struct _ext_toolbar_t
135{
136 ext_toolbar_entry_t type;
137
138 GList *children;
139 unsigned submenu_cnt;
140 unsigned item_cnt;
141
142 char *name;
143 char *defvalue;
144 char *tooltip;
145 void *user_data;
146
147 bool is_required;
148 bool capture_only;
149 ext_toolbar_item_t item_type;
150
151 GList *values;
152 char *regex;
153
154 ext_toolbar_action_cb callback;
155} ext_toolbar_t;
156
160 typedef enum
161{
162 EXT_TOOLBAR_UPDATE_VALUE,
163 EXT_TOOLBAR_UPDATE_DATA,
164 EXT_TOOLBAR_UPDATE_DATABYINDEX,
165 EXT_TOOLBAR_UPDATE_DATA_ADD,
166 EXT_TOOLBAR_UPDATE_DATA_REMOVE,
167 EXT_TOOLBAR_SET_ACTIVE
168} ext_toolbar_update_type_t;
169
170
174 typedef struct _ext_toolbar_update_t
175{
176 ext_toolbar_update_type_t type;
177 bool silent;
178 void *user_data;
179 void *data_index;
180} ext_toolbar_update_t;
181
192WS_DLL_PUBLIC ext_menu_t * ext_menubar_register_menu(
193 int proto_id, const char * menulabel, bool is_plugin);
194
205WS_DLL_PUBLIC ext_menu_t * ext_menubar_set_parentmenu(
206 ext_menu_t * menu, const char * parentmenu);
207
216WS_DLL_PUBLIC ext_menu_t * ext_menubar_add_submenu(
217 ext_menu_t * parent, const char *menulabel);
218
232WS_DLL_PUBLIC void ext_menubar_add_entry(
233 ext_menu_t * parent_menu,
234 const char *label,
235 const char *tooltip,
236 ext_menubar_action_cb callback,
237 void *user_data);
238
247WS_DLL_PUBLIC void ext_menubar_add_separator(ext_menu_t *parent_menu);
248
260WS_DLL_PUBLIC void ext_menubar_add_website(ext_menu_t * parent, const char *label,
261 const char *tooltip, const char *url);
262
270WS_DLL_PUBLIC ext_toolbar_t * ext_toolbar_register_toolbar(const char * toolbar_label);
271
279WS_DLL_PUBLIC void ext_toolbar_unregister_toolbar(ext_toolbar_t * toolbar);
280
288WS_DLL_PUBLIC void ext_toolbar_unregister_toolbar_by_name(const char * toolbar_name);
289
318WS_DLL_PUBLIC ext_toolbar_t * ext_toolbar_add_entry(
319 ext_toolbar_t * parent_bar,
320 ext_toolbar_item_t type,
321 const char *label,
322 const char *defvalue,
323 const char *tooltip,
324 bool capture_only,
325 GList * value_list,
326 bool is_required,
327 const char * valid_regex,
328 ext_toolbar_action_cb callback,
329 void *user_data);
330
340WS_DLL_PUBLIC GList * ext_toolbar_add_val(GList * entries, char * value, char * display, bool is_default);
341
351WS_DLL_PUBLIC void ext_toolbar_register_update_cb(ext_toolbar_t * entry, ext_toolbar_action_cb callback, void *item_data);
352
363WS_DLL_PUBLIC void ext_toolbar_update_value(ext_toolbar_t * entry, void *data, bool silent);
364
374WS_DLL_PUBLIC void ext_toolbar_update_data(ext_toolbar_t * entry, void *data, bool silent);
375
387WS_DLL_PUBLIC void ext_toolbar_update_data_by_index(ext_toolbar_t * entry, void *data, void *idx, bool silent);
388
400WS_DLL_PUBLIC void ext_toolbar_update_data_add_entry(ext_toolbar_t * entry, void *data, void *idx, bool silent);
401
414WS_DLL_PUBLIC void ext_toolbar_update_data_remove_entry(ext_toolbar_t * entry, void *data, void *idx, bool silent);
415
422WS_DLL_PUBLIC ext_toolbar_t * ext_toolbar_entry_by_label(const ext_toolbar_t * toolbar, const char * label);
423
429WS_DLL_PUBLIC void ext_toolbar_update_data_set_active(ext_toolbar_t * entry, bool status);
430
431/*
432 * Structure definition for the plugin_if_get_ws_info function
433 */
434
438 typedef struct _ws_info_t
439{
440 bool ws_info_supported;
441 file_state cf_state;
442 char *cf_filename;
443 uint32_t cf_count;
444 uint32_t cf_framenr;
445 bool frame_passed_dfilter;
446} ws_info_t;
447
448
452 typedef enum
453{
454 PLUGIN_IF_FILTER_ACTION_APPLY,
455 PLUGIN_IF_FILTER_ACTION_PREPARE,
456 PLUGIN_IF_PREFERENCE_SAVE,
457 PLUGIN_IF_GOTO_FRAME,
458 PLUGIN_IF_GET_WS_INFO,
459 PLUGIN_IF_GET_FRAME_DATA,
460 PLUGIN_IF_GET_CAPTURE_FILE,
461 PLUGIN_IF_REMOVE_TOOLBAR
462} plugin_if_callback_t;
463
464
472 typedef void (*plugin_if_gui_cb)(GHashTable * data_set);
473
480WS_DLL_PUBLIC void plugin_if_register_gui_cb(plugin_if_callback_t actionType, plugin_if_gui_cb callback);
481
487WS_DLL_PUBLIC void plugin_if_apply_filter(const char * filter_string, bool force);
488
496WS_DLL_PUBLIC void plugin_if_save_preference(const char * pref_module, const char * pref_key, const char * pref_value);
497
502WS_DLL_PUBLIC void plugin_if_goto_frame(uint32_t framenr);
503
508WS_DLL_PUBLIC void plugin_if_get_ws_info(ws_info_t ** ws_info);
509
510 typedef void* (*plugin_if_frame_data_cb)(frame_data*, void*);
511
518WS_DLL_PUBLIC void* plugin_if_get_frame_data(plugin_if_frame_data_cb extract_cb, void *user_data);
519
520 typedef void* (*plugin_if_capture_file_cb)(capture_file*, void*);
521
528WS_DLL_PUBLIC void* plugin_if_get_capture_file(plugin_if_capture_file_cb extract_cb, void* user_data);
529
536WS_DLL_PUBLIC GList * ext_menubar_get_entries(void);
537
544WS_DLL_PUBLIC GList * ext_toolbar_get_entries(void);
545
546#ifdef __cplusplus
547}
548#endif /* __cplusplus */
549
550#endif /* EPAN_PLUGIN_IF_H */
551
552/*
553 * Editor modelines
554 *
555 * Local Variables:
556 * c-basic-offset: 4
557 * tab-width: 8
558 * indent-tabs-mode: nil
559 * End:
560 *
561 * ex: set shiftwidth=4 tabstop=8 expandtab:
562 * :indentSize=4:tabSize=8:noTabs=true:
563 */
cfile.h
capture_file
struct _capture_file capture_file
Represents a capture file and its associated metadata.
file_state
file_state
Lifecycle state of a capture file.
Definition cfile.h:30
epan.h
frame_data.h
frame_data
DIAG_OFF_PEDANTIC struct _frame_data frame_data
Frame data structure.
ext_menubar_add_entry
WS_DLL_PUBLIC void ext_menubar_add_entry(ext_menu_t *parent_menu, const char *label, const char *tooltip, ext_menubar_action_cb callback, void *user_data)
Registers a new menubar entry.
Definition plugin_if.c:166
ext_toolbar_update_data
WS_DLL_PUBLIC void ext_toolbar_update_data(ext_toolbar_t *entry, void *data, bool silent)
Updates the entry data.
Definition plugin_if.c:473
ext_toolbar_update_type_t
ext_toolbar_update_type_t
Specifies the kind of update operation to apply to a toolbar item.
Definition plugin_if.h:161
EXT_TOOLBAR_UPDATE_DATA_ADD
@ EXT_TOOLBAR_UPDATE_DATA_ADD
Definition plugin_if.h:165
EXT_TOOLBAR_UPDATE_VALUE
@ EXT_TOOLBAR_UPDATE_VALUE
Definition plugin_if.h:162
EXT_TOOLBAR_UPDATE_DATA_REMOVE
@ EXT_TOOLBAR_UPDATE_DATA_REMOVE
Definition plugin_if.h:166
EXT_TOOLBAR_UPDATE_DATA
@ EXT_TOOLBAR_UPDATE_DATA
Definition plugin_if.h:163
EXT_TOOLBAR_SET_ACTIVE
@ EXT_TOOLBAR_SET_ACTIVE
Definition plugin_if.h:167
EXT_TOOLBAR_UPDATE_DATABYINDEX
@ EXT_TOOLBAR_UPDATE_DATABYINDEX
Definition plugin_if.h:164
ext_menubar_entry_t
ext_menubar_entry_t
Classifies a node within the menubar entry tree.
Definition plugin_if.h:56
EXT_MENUBAR_ITEM
@ EXT_MENUBAR_ITEM
Definition plugin_if.h:58
EXT_MENUBAR_URL
@ EXT_MENUBAR_URL
Definition plugin_if.h:60
EXT_MENUBAR_SEPARATOR
@ EXT_MENUBAR_SEPARATOR
Definition plugin_if.h:59
EXT_MENUBAR_MENU
@ EXT_MENUBAR_MENU
Definition plugin_if.h:57
ext_toolbar_add_val
WS_DLL_PUBLIC GList * ext_toolbar_add_val(GList *entries, char *value, char *display, bool is_default)
Adds a new value entry to an existing toolbar.
Definition plugin_if.c:376
ext_toolbar_register_update_cb
WS_DLL_PUBLIC void ext_toolbar_register_update_cb(ext_toolbar_t *entry, ext_toolbar_action_cb callback, void *item_data)
Registers a callback for toolbar updates.
Definition plugin_if.c:415
ext_menubar_add_submenu
WS_DLL_PUBLIC ext_menu_t * ext_menubar_add_submenu(ext_menu_t *parent, const char *menulabel)
Registers a new main menu.
Definition plugin_if.c:108
ext_toolbar_update_t
struct _ext_toolbar_update_t ext_toolbar_update_t
Carries the parameters for a single toolbar item update operation.
ext_menubar_add_separator
WS_DLL_PUBLIC void ext_menubar_add_separator(ext_menu_t *parent_menu)
Registers a new separator entry.
Definition plugin_if.c:184
ext_toolbar_entry_by_label
WS_DLL_PUBLIC ext_toolbar_t * ext_toolbar_entry_by_label(const ext_toolbar_t *toolbar, const char *label)
Searches for and returns an entry from the toolbar with the given label.
Definition plugin_if.c:367
ext_toolbar_update_data_set_active
WS_DLL_PUBLIC void ext_toolbar_update_data_set_active(ext_toolbar_t *entry, bool status)
Sets the UI element for the given entry to the specified status.
Definition plugin_if.c:497
ext_toolbar_unregister_toolbar
WS_DLL_PUBLIC void ext_toolbar_unregister_toolbar(ext_toolbar_t *toolbar)
Removes a toolbar from the system.
Definition plugin_if.c:253
ext_toolbar_t
struct _ext_toolbar_t ext_toolbar_t
Represents a node in the plugin-registered toolbar tree (bar or item).
ext_menubar_register_menu
WS_DLL_PUBLIC ext_menu_t * ext_menubar_register_menu(int proto_id, const char *menulabel, bool is_plugin)
Registers a new main menu.
Definition plugin_if.c:58
ext_toolbar_update_data_remove_entry
WS_DLL_PUBLIC void ext_toolbar_update_data_remove_entry(ext_toolbar_t *entry, void *data, void *idx, bool silent)
Removes an entry data by index.
Definition plugin_if.c:491
plugin_if_get_ws_info
WS_DLL_PUBLIC void plugin_if_get_ws_info(ws_info_t **ws_info)
Takes a snapshot of status information from Wireshark.
Definition plugin_if.c:554
ext_menubar_set_parentmenu
WS_DLL_PUBLIC ext_menu_t * ext_menubar_set_parentmenu(ext_menu_t *menu, const char *parentmenu)
Sets a parent menu for the user menu.
Definition plugin_if.c:97
plugin_if_register_gui_cb
WS_DLL_PUBLIC void plugin_if_register_gui_cb(plugin_if_callback_t actionType, plugin_if_gui_cb callback)
Registers a callback function for GUI-related actions.
Definition plugin_if.c:621
ext_toolbar_unregister_toolbar_by_name
WS_DLL_PUBLIC void ext_toolbar_unregister_toolbar_by_name(const char *toolbar_name)
Removes a toolbar from the system by providing the name of the toolbar.
Definition plugin_if.c:232
ext_toolbar_update_value
WS_DLL_PUBLIC void ext_toolbar_update_value(ext_toolbar_t *entry, void *data, bool silent)
Updates the entry values.
Definition plugin_if.c:468
plugin_if_apply_filter
WS_DLL_PUBLIC void plugin_if_apply_filter(const char *filter_string, bool force)
Applies the given filter string as display filter.
Definition plugin_if.c:509
plugin_if_save_preference
WS_DLL_PUBLIC void plugin_if_save_preference(const char *pref_module, const char *pref_key, const char *pref_value)
Saves a preference to the main preference storage.
Definition plugin_if.c:540
ext_menubar_add_website
WS_DLL_PUBLIC void ext_menubar_add_website(ext_menu_t *parent, const char *label, const char *tooltip, const char *url)
Registers a entry for a website call.
Definition plugin_if.c:175
ext_menu_t
ext_menubar_t ext_menu_t
Definition plugin_if.h:65
ext_menubar_gui_type
ext_menubar_gui_type
Identifies the GUI toolkit hosting the menubar, passed to action callbacks.
Definition plugin_if.h:36
EXT_MENUBAR_GTK_GUI
@ EXT_MENUBAR_GTK_GUI
Definition plugin_if.h:37
EXT_MENUBAR_QT_GUI
@ EXT_MENUBAR_QT_GUI
Definition plugin_if.h:38
ext_toolbar_get_entries
WS_DLL_PUBLIC GList * ext_toolbar_get_entries(void)
Private Method for retrieving the toolbar entries.
Definition plugin_if.c:193
ext_toolbar_add_entry
WS_DLL_PUBLIC ext_toolbar_t * ext_toolbar_add_entry(ext_toolbar_t *parent_bar, ext_toolbar_item_t type, const char *label, const char *defvalue, const char *tooltip, bool capture_only, GList *value_list, bool is_required, const char *valid_regex, ext_toolbar_action_cb callback, void *user_data)
Registers a new toolbar entry.
Definition plugin_if.c:308
plugin_if_get_capture_file
WS_DLL_PUBLIC void * plugin_if_get_capture_file(plugin_if_capture_file_cb extract_cb, void *user_data)
Gets capture_file, data are extracted by extract_cb.
Definition plugin_if.c:604
ext_menubar_get_entries
WS_DLL_PUBLIC GList * ext_menubar_get_entries(void)
Private Method for retrieving the menubar entries.
Definition plugin_if.c:53
ext_toolbar_action_cb
void(* ext_toolbar_action_cb)(void *toolbar_item, void *item_data, void *user_data)
Callback invoked when a toolbar item's value or button state changes.
Definition plugin_if.h:99
ext_toolbar_register_toolbar
WS_DLL_PUBLIC ext_toolbar_t * ext_toolbar_register_toolbar(const char *toolbar_label)
Registers a toolbar.
Definition plugin_if.c:198
ext_toolbar_update_data_add_entry
WS_DLL_PUBLIC void ext_toolbar_update_data_add_entry(ext_toolbar_t *entry, void *data, void *idx, bool silent)
Adds the entry data by index.
Definition plugin_if.c:485
plugin_if_get_frame_data
WS_DLL_PUBLIC void * plugin_if_get_frame_data(plugin_if_frame_data_cb extract_cb, void *user_data)
Gets frame_data for current packet, data are extracted by extract_cb.
Definition plugin_if.c:587
ext_toolbar_item_t
ext_toolbar_item_t
Specifies the widget type for a toolbar control item.
Definition plugin_if.h:114
EXT_TOOLBAR_STRING
@ EXT_TOOLBAR_STRING
Definition plugin_if.h:117
EXT_TOOLBAR_BUTTON
@ EXT_TOOLBAR_BUTTON
Definition plugin_if.h:116
EXT_TOOLBAR_SELECTOR
@ EXT_TOOLBAR_SELECTOR
Definition plugin_if.h:118
EXT_TOOLBAR_BOOLEAN
@ EXT_TOOLBAR_BOOLEAN
Definition plugin_if.h:115
plugin_if_goto_frame
WS_DLL_PUBLIC void plugin_if_goto_frame(uint32_t framenr)
Jumps to the given frame number.
Definition plugin_if.c:526
ws_info_t
struct _ws_info_t ws_info_t
Snapshot of current Wireshark application state, passed to plugins via plugin_if_get_ws_info.
ext_toolbar_entry_t
ext_toolbar_entry_t
Classifies a node within the toolbar entry tree.
Definition plugin_if.h:105
EXT_TOOLBAR_BAR
@ EXT_TOOLBAR_BAR
Definition plugin_if.h:106
EXT_TOOLBAR_ITEM
@ EXT_TOOLBAR_ITEM
Definition plugin_if.h:107
ext_toolbar_value_t
struct _ext_toolbar_value_t ext_toolbar_value_t
A single selectable value entry for a selector-type toolbar item.
plugin_if_gui_cb
void(* plugin_if_gui_cb)(GHashTable *data_set)
Callback function type for GUI-related actions.
Definition plugin_if.h:472
plugin_if_callback_t
plugin_if_callback_t
Identifies a GUI action that a plugin can invoke through the plugin interface callback mechanism.
Definition plugin_if.h:453
PLUGIN_IF_FILTER_ACTION_APPLY
@ PLUGIN_IF_FILTER_ACTION_APPLY
Definition plugin_if.h:454
PLUGIN_IF_GOTO_FRAME
@ PLUGIN_IF_GOTO_FRAME
Definition plugin_if.h:457
PLUGIN_IF_GET_WS_INFO
@ PLUGIN_IF_GET_WS_INFO
Definition plugin_if.h:458
PLUGIN_IF_REMOVE_TOOLBAR
@ PLUGIN_IF_REMOVE_TOOLBAR
Definition plugin_if.h:461
PLUGIN_IF_GET_CAPTURE_FILE
@ PLUGIN_IF_GET_CAPTURE_FILE
Definition plugin_if.h:460
PLUGIN_IF_FILTER_ACTION_PREPARE
@ PLUGIN_IF_FILTER_ACTION_PREPARE
Definition plugin_if.h:455
PLUGIN_IF_PREFERENCE_SAVE
@ PLUGIN_IF_PREFERENCE_SAVE
Definition plugin_if.h:456
PLUGIN_IF_GET_FRAME_DATA
@ PLUGIN_IF_GET_FRAME_DATA
Definition plugin_if.h:459
ext_menubar_action_cb
void(* ext_menubar_action_cb)(ext_menubar_gui_type gui_type, void *gui_object, void *user_data)
Callback invoked when a menubar item is activated.
Definition plugin_if.h:49
ext_toolbar_update_data_by_index
WS_DLL_PUBLIC void ext_toolbar_update_data_by_index(ext_toolbar_t *entry, void *data, void *idx, bool silent)
Updates the entry data by index.
Definition plugin_if.c:479
_ext_menubar_t
Represents a node in the plugin-registered menubar tree (menu, item, separator, or URL).
Definition plugin_if.h:72
_ext_menubar_t::parent_menu
char * parent_menu
Definition plugin_if.h:89
_ext_menubar_t::proto
int proto
Definition plugin_if.h:75
_ext_menubar_t::type
ext_menubar_entry_t type
Definition plugin_if.h:73
_ext_menubar_t::parent
ext_menu_t * parent
Definition plugin_if.h:74
_ext_menubar_t::name
char * name
Definition plugin_if.h:80
_ext_menubar_t::submenu_cnt
unsigned submenu_cnt
Definition plugin_if.h:77
_ext_menubar_t::callback
ext_menubar_action_cb callback
Definition plugin_if.h:87
_ext_menubar_t::children
GList * children
Definition plugin_if.h:76
_ext_menubar_t::item_cnt
unsigned item_cnt
Definition plugin_if.h:78
_ext_menubar_t::tooltip
char * tooltip
Definition plugin_if.h:83
_ext_menubar_t::is_plugin
bool is_plugin
Definition plugin_if.h:84
_ext_menubar_t::label
char * label
Definition plugin_if.h:81
_ext_menubar_t::user_data
void * user_data
Definition plugin_if.h:85
_ext_toolbar_t
Represents a node in the plugin-registered toolbar tree (bar or item).
Definition plugin_if.h:135
_ext_toolbar_t::regex
char * regex
Definition plugin_if.h:152
_ext_toolbar_t::item_cnt
unsigned item_cnt
Definition plugin_if.h:140
_ext_toolbar_t::tooltip
char * tooltip
Definition plugin_if.h:144
_ext_toolbar_t::submenu_cnt
unsigned submenu_cnt
Definition plugin_if.h:139
_ext_toolbar_t::type
ext_toolbar_entry_t type
Definition plugin_if.h:136
_ext_toolbar_t::name
char * name
Definition plugin_if.h:142
_ext_toolbar_t::defvalue
char * defvalue
Definition plugin_if.h:143
_ext_toolbar_t::is_required
bool is_required
Definition plugin_if.h:147
_ext_toolbar_t::values
GList * values
Definition plugin_if.h:151
_ext_toolbar_t::capture_only
bool capture_only
Definition plugin_if.h:148
_ext_toolbar_t::children
GList * children
Definition plugin_if.h:138
_ext_toolbar_t::user_data
void * user_data
Definition plugin_if.h:145
_ext_toolbar_t::callback
ext_toolbar_action_cb callback
Definition plugin_if.h:154
_ext_toolbar_t::item_type
ext_toolbar_item_t item_type
Definition plugin_if.h:149
_ext_toolbar_update_t
Carries the parameters for a single toolbar item update operation.
Definition plugin_if.h:175
_ext_toolbar_update_t::user_data
void * user_data
Definition plugin_if.h:178
_ext_toolbar_update_t::data_index
void * data_index
Definition plugin_if.h:179
_ext_toolbar_update_t::silent
bool silent
Definition plugin_if.h:177
_ext_toolbar_update_t::type
ext_toolbar_update_type_t type
Definition plugin_if.h:176
_ext_toolbar_value_t
A single selectable value entry for a selector-type toolbar item.
Definition plugin_if.h:125
_ext_toolbar_value_t::value
char * value
Definition plugin_if.h:126
_ext_toolbar_value_t::is_default
bool is_default
Definition plugin_if.h:128
_ext_toolbar_value_t::display
char * display
Definition plugin_if.h:127
_ws_info_t
Snapshot of current Wireshark application state, passed to plugins via plugin_if_get_ws_info.
Definition plugin_if.h:439
_ws_info_t::cf_state
file_state cf_state
Definition plugin_if.h:441
_ws_info_t::cf_count
uint32_t cf_count
Definition plugin_if.h:443
_ws_info_t::frame_passed_dfilter
bool frame_passed_dfilter
Definition plugin_if.h:445
_ws_info_t::ws_info_supported
bool ws_info_supported
Definition plugin_if.h:440
_ws_info_t::cf_filename
char * cf_filename
Definition plugin_if.h:442
_ws_info_t::cf_framenr
uint32_t cf_framenr
Definition plugin_if.h:444
pref_module
Represents a preference module grouping related preferences under a named, hierarchical entry in the ...
Definition prefs-int.h:27
ws_info
#define ws_info(...)
Log an "info" level entry without source context.
Definition wslog.h:629