|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
Represents a single Wireshark preference registered from a Lua dissector script. More...
#include <wslua.h>
Public Attributes | ||
| char * | name | |
| char * | label | |
| char * | desc | |
| pref_type_e | type | |
| union { | ||
| bool b | ||
| unsigned u | ||
| char * s | ||
| int e | ||
| range_t * r | ||
| void * p | ||
| } | value | |
| union { | ||
| uint32_t max_value | ||
| struct { | ||
| const enum_val_t * enumvals | ||
| bool radio_buttons | ||
| } enum_info | ||
| struct { | ||
| uat_field_t * uat_field_list | ||
| } uat_field_list_info | ||
| char * default_s | ||
| } | info | |
| struct _wslua_pref_t * | next | |
| struct _wslua_proto_t * | proto | |
| int | ref | |
Represents a single Wireshark preference registered from a Lua dissector script.
| bool _wslua_pref_t::b |
Value for PREF_BOOL preferences.
| char* _wslua_pref_t::default_s |
Default string value for PREF_STRING preferences.
| char* _wslua_pref_t::desc |
Description of the preference shown as a tooltip or help text.
| int _wslua_pref_t::e |
Value for PREF_ENUM preferences (index into enumvals).
| struct { ... } _wslua_pref_t::enum_info |
Metadata for PREF_ENUM preferences.
| const enum_val_t* _wslua_pref_t::enumvals |
NULL-terminated array of name/value pairs for the enumeration.
| union { ... } _wslua_pref_t::info |
Display and metadata for the preference, interpreted according to type.
| char* _wslua_pref_t::label |
Human-readable label displayed in the preferences dialog.
| uint32_t _wslua_pref_t::max_value |
Maximum allowed value for PREF_UINT range preferences.
| char* _wslua_pref_t::name |
Internal name of the preference used for storage and lookup.
| struct _wslua_pref_t* _wslua_pref_t::next |
Pointer to the next preference in this protocol's linked list of preferences.
| void* _wslua_pref_t::p |
Value for PREF_STATIC_TEXT or other opaque preferences.
| struct _wslua_proto_t* _wslua_pref_t::proto |
Back-pointer to the Lua proto that owns this preference.
| range_t* _wslua_pref_t::r |
Value for PREF_RANGE preferences.
| bool _wslua_pref_t::radio_buttons |
True to display as radio buttons; false to display as a combo box.
| int _wslua_pref_t::ref |
Lua registry reference used to deregister this preference when the proto is removed.
| char* _wslua_pref_t::s |
Value for PREF_STRING preferences.
| pref_type_e _wslua_pref_t::type |
Type of the preference (PREF_BOOL, PREF_UINT, PREF_STRING, etc.).
| unsigned _wslua_pref_t::u |
Value for PREF_UINT preferences.
| uat_field_t* _wslua_pref_t::uat_field_list |
Array of field descriptors defining the columns of the UAT.
| struct { ... } _wslua_pref_t::uat_field_list_info |
Metadata for PREF_UAT preferences.
| union { ... } _wslua_pref_t::value |
Current value of the preference, interpreted according to type.