|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
Describes a single editable field within a UAT (User Accessible Table). More...
#include <uat.h>
Public Attributes | ||
| const char * | name | |
| const char * | title | |
| uat_text_mode_t | mode | |
| struct { | ||
| uat_fld_chk_cb_t chk | ||
| uat_fld_set_cb_t set | ||
| uat_fld_tostr_cb_t tostr | ||
| } | cb | |
| Callbacks for validating, applying, and serializing this field's value. | ||
| struct { | ||
| const void * chk | ||
| const void * set | ||
| const void * tostr | ||
| } | cbdata | |
| Opaque context pointers passed as auxiliary data to each corresponding callback. | ||
| const void * | fld_data | |
| const char * | desc | |
| struct _fld_data_t * | priv | |
Describes a single editable field within a UAT (User Accessible Table).
| uat_fld_chk_cb_t _uat_field_t::chk |
Validation callback; returns false and sets an error message if the value is invalid
| const void* _uat_field_t::chk |
Auxiliary data pointer passed to cb.chk
| const char* _uat_field_t::desc |
Tooltip or help text describing the field's purpose, shown in the UAT editor
| const void* _uat_field_t::fld_data |
Pointer to static field-type metadata (e.g., an enum_val_t array for PT_TXTMOD_ENUM)
| uat_text_mode_t _uat_field_t::mode |
Controls how the field value is rendered, parsed, and edited
| const char* _uat_field_t::name |
Internal name of the field, used as the key in the preferences file
| struct _fld_data_t* _uat_field_t::priv |
Internal private state managed by the UAT framework; not for use by dissectors
| uat_fld_set_cb_t _uat_field_t::set |
Apply callback; writes a parsed value into the UAT record struct
| const void* _uat_field_t::set |
Auxiliary data pointer passed to cb.set
| const char* _uat_field_t::title |
Human-readable column header label shown in the UAT editor dialog
| uat_fld_tostr_cb_t _uat_field_t::tostr |
Serialization callback; converts the field's current value to a string for display and file output
| const void* _uat_field_t::tostr |
Auxiliary data pointer passed to cb.tostr