Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
aggregation_fields.h File Reference
#include <epan/prefs.h>

Go to the source code of this file.

Classes

struct  aggregation_field
 

Typedefs

typedef struct aggregation_field aggregation_field_t
 

Functions

void aggregation_field_register_uat (module_t *pref_module)
 Registers UAT for aggregation fields.
 
WS_DLL_PUBLIC void apply_aggregation_prefs (void)
 Applies aggregation preferences from a UAT (User-Accessible Table) to the global preferences structure.
 

Detailed Description

Aggregation fields.

Function Documentation

◆ aggregation_field_register_uat()

void aggregation_field_register_uat ( module_t pref_module)

Registers UAT for aggregation fields.

This function registers a User-Accessible Table (UAT) for managing aggregation fields, allowing users to configure and save their preferences persistently across sessions.

Parameters
pref_modulePointer to the module structure where preferences are registered.

◆ apply_aggregation_prefs()

WS_DLL_PUBLIC void apply_aggregation_prefs ( void  )

Applies aggregation preferences from a UAT (User-Accessible Table) to the global preferences structure.

This function frees any existing list of aggregation fields and then rebuilds it based on the current entries in the UAT. It skips empty entries and updates the number of aggregation fields. Finally, it marks the UAT as unchanged.