|
Wireshark 4.5.0
The Wireshark network protocol analyzer
|
Public Attributes | ||
| const char * | name | |
| const char * | title | |
| const char * | description | |
| int | ordinal | |
| int | type | |
| unsigned int | effect_flags | |
| union { | ||
| unsigned * uint | ||
| bool * boolp | ||
| int * enump | ||
| char ** string | ||
| range_t ** range | ||
| struct epan_uat * uat | ||
| color_t * colorp | ||
| GList ** list | ||
| } | varp | |
| union { | ||
| unsigned uint | ||
| bool boolval | ||
| int enumval | ||
| char * string | ||
| range_t * range | ||
| color_t color | ||
| GList * list | ||
| } | stashed_val | |
| union { | ||
| unsigned uint | ||
| bool boolval | ||
| int enumval | ||
| char * string | ||
| range_t * range | ||
| color_t color | ||
| GList * list | ||
| } | default_val | |
| union { | ||
| unsigned base | ||
| uint32_t max_value | ||
| struct { | ||
| const enum_val_t * enumvals | ||
| bool radio_buttons | ||
| } enum_info | ||
| } | info | |
| struct pref_custom_cbs | custom_cbs | |
| const char * | dissector_table | |
| const char * | dissector_desc | |
Struct to hold preference data
| unsigned preference::base |
input/output base, for PREF_UINT
| struct pref_custom_cbs preference::custom_cbs |
for PREF_CUSTOM
| union { ... } preference::default_val |
the default value of the preference
| const char* preference::description |
human-readable description of preference
| const char* preference::dissector_desc |
for PREF_DECODE_AS_RANGE
| const char* preference::dissector_table |
for PREF_DECODE_AS_RANGE
| unsigned int preference::effect_flags |
Flags of types effected by preference (PREF_TYPE_DISSECTION, PREF_EFFECT_CAPTURE, etc). Flags must be non-zero to ensure saving to disk
| struct { ... } preference::enum_info |
for PREF_ENUM
| const enum_val_t* preference::enumvals |
list of name & values
| union { ... } preference::info |
display/text file information
| uint32_t preference::max_value |
maximum value of a range
| const char* preference::name |
name of preference
| int preference::ordinal |
ordinal number of this preference
| bool preference::radio_buttons |
true if it should be shown as radio buttons rather than as an option menu or combo box in the preferences tab
| union { ... } preference::stashed_val |
original value, when editing from the GUI
| const char* preference::title |
title to use in GUI
| int preference::type |
type of that preference
| union { ... } preference::varp |
pointer to variable storing the value