Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Attributes | List of all members
epan_uat Struct Reference

Represents a User Accessible Table (UAT), managing a set of user-editable records exposed to a dissector. More...

#include <uat-int.h>

Public Attributes

char * name
 
size_t record_size
 
char * filename
 
bool from_profile
 
char * help
 
unsigned flags
 
void ** user_ptr
 
unsigned * nrows_p
 
uat_copy_cb_t copy_cb
 
uat_update_cb_t update_cb
 
uat_free_cb_t free_cb
 
uat_post_update_cb_t post_update_cb
 
uat_reset_cb_t reset_cb
 
uat_field_tfields
 
const char ** default_values
 
unsigned ncols
 
GArray * user_data
 
GArray * raw_data
 
GArray * valid_data
 
bool changed
 
uat_rep_t * rep
 
uat_rep_free_cb_t free_rep
 
bool loaded
 

Detailed Description

Represents a User Accessible Table (UAT), managing a set of user-editable records exposed to a dissector.

Member Data Documentation

◆ changed

bool epan_uat::changed

True if the UAT has unsaved changes since it was last loaded or saved.

◆ copy_cb

uat_copy_cb_t epan_uat::copy_cb

Callback invoked to deep-copy a record's variable-length fields.

◆ default_values

const char** epan_uat::default_values

Array of default value strings, one per column, used when creating new records.

◆ fields

uat_field_t* epan_uat::fields

Array of field descriptors defining the columns of this UAT.

◆ filename

char* epan_uat::filename

Name of the file (within the profile directory) used to persist this UAT.

◆ flags

unsigned epan_uat::flags

Bitmask of UAT_* flags controlling behavior during load, save, and reset.

◆ free_cb

uat_free_cb_t epan_uat::free_cb

Callback invoked to release variable-length fields owned by a record.

◆ free_rep

uat_rep_free_cb_t epan_uat::free_rep

Callback used to release the UAT-level GUI representation handle.

◆ from_profile

bool epan_uat::from_profile

True if this UAT is loaded from the current profile directory rather than the global config.

◆ help

char* epan_uat::help

Help topic identifier passed to user_guide_url() to generate documentation link.

◆ loaded

bool epan_uat::loaded

True if the UAT has been successfully loaded from its backing file.

◆ name

char* epan_uat::name

Internal name identifying this UAT, used for registration and file naming.

◆ ncols

unsigned epan_uat::ncols

Number of columns (fields) in each UAT record.

◆ nrows_p

unsigned* epan_uat::nrows_p

Pointer to the dissector's count variable that receives the number of valid records.

◆ post_update_cb

uat_post_update_cb_t epan_uat::post_update_cb

Callback invoked after the full UAT has been updated and validated.

◆ raw_data

GArray* epan_uat::raw_data

Array of all records including potentially invalid ones; for internal UAT use only.

◆ record_size

size_t epan_uat::record_size

Size in bytes of a single UAT record struct.

◆ rep

uat_rep_t* epan_uat::rep

Opaque GUI representation handle for the UAT table as a whole.

◆ reset_cb

uat_reset_cb_t epan_uat::reset_cb

Callback invoked to reset the UAT to its default state.

◆ update_cb

uat_update_cb_t epan_uat::update_cb

Callback invoked to validate a record after editing; returns an error string on failure.

◆ user_data

GArray* epan_uat::user_data

Array of fully validated records exposed to the dissector via user_ptr.

◆ user_ptr

void** epan_uat::user_ptr

Pointer to the dissector's array variable that receives the validated record array.

◆ valid_data

GArray* epan_uat::valid_data

Parallel boolean array indicating whether each record in raw_data passed validation.


The documentation for this struct was generated from the following file: