| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
aggregation_fields.h
Go to the documentation of this file.
1/* aggregation_fields.h
2 * Definitions and functions for aggregation fields
3 * By Hamdi Miladi <hamdi.miladi@technica-engineering.de>
4 * Copyright 2025 Hamdi Miladi
5 *
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <gerald@wireshark.org>
8 * Copyright 1998 Gerald Combs
9 *
10 * SPDX-License-Identifier: GPL-2.0-or-later
11 */
12
13#ifndef __AGGREGATION_FIELDS_H__
14#define __AGGREGATION_FIELDS_H__
15
16#include <epan/prefs.h>
17
18#ifdef __cplusplus
19 extern "C" {
20#endif /* __cplusplus */
21
26 typedef struct aggregation_field {
27 char *field;
28 int hf_id;
29} aggregation_field_t;
30
31/* Keep the UAT structure local to the aggregation_fields */
32
41 void aggregation_field_register_uat(module_t* pref_module);
42
43#ifdef __cplusplus
44}
45#endif /* __cplusplus */
46
53WS_DLL_PUBLIC
54 void apply_aggregation_prefs(void);
55
56#endif /* __AGGREGATION_FIELDS_H__ */
apply_aggregation_prefs
WS_DLL_PUBLIC void apply_aggregation_prefs(void)
Applies aggregation preferences from a UAT (User-Accessible Table) to the global preferences structur...
Definition aggregation_fields.c:74
aggregation_field_register_uat
void aggregation_field_register_uat(module_t *pref_module)
Registers UAT for aggregation fields.
Definition aggregation_fields.c:50
prefs.h
aggregation_field
Definition aggregation_fields.h:26
pref_module
Definition prefs-int.h:27