Wireshark 4.7.3
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
TrdpDict Struct Reference

This struct is the root container for the type dictionary read from XML. More...

Public Attributes

TrdpXmlContext parseCtx
struct DatasetmTableDataset
struct DatasetmCyclicDataset
size_t maxDatasetDepth
unsigned int knowledge
unsigned int datasets
struct ComIdmTableComId

Detailed Description

This struct is the root container for the type dictionary read from XML.

The old QtXML-based application used hash-tables instead of lists. GLib offers GHashTable as an alternative. However, once the structure is built, there are not that many look-ups, since Datasets and Elements are directly linked. Only in case of large ComId databases, this would become relevant again. Mañana, mañana ...

Member Data Documentation

◆ datasets

unsigned int TrdpDict::datasets

number of Datasets

◆ knowledge

unsigned int TrdpDict::knowledge

number of found ComIds

◆ maxDatasetDepth

size_t TrdpDict::maxDatasetDepth

stats, maximum depth. if >TRDP_MAX_DATASET_RECURSION, this is an error indication

◆ mCyclicDataset

struct Dataset* TrdpDict::mCyclicDataset

on dict creation, this is set, if a Dataset causes cyclic recursion. It is an internal error flag.

◆ mTableComId

struct ComId* TrdpDict::mTableComId

first item of linked list of ComId items. Use it to iterate if necessary or use TrdpDict_lookup_ComId for a pointer.

◆ mTableDataset

struct Dataset* TrdpDict::mTableDataset

first item of linked list of Dataset items. Use it to iterate if necessary or use TrdpDict_get_Dataset for a pointer.


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