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

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

#include <packet-trdp-dict.h>

Public Attributes

struct DatasetmTableDataset
 
struct DatasetmCyclicDataset
 
size_t maxDatasetDepth
 
unsigned int knowledge
 
unsigned int datasets
 
struct ComIdmTableComId
 
const char * currentFile
 
bool isShippedXml
 
uint32_t def_bitset_subtype
 
uint32_t def_endian_subtype
 

Detailed Description

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

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 Elemnts are directly linked. Only in case of large ComId databases, this would become relevant again. Mañana, mañana ...

Member Data Documentation

◆ currentFile

const char* TrdpDict::currentFile

name of currently parsed file

◆ datasets

unsigned int TrdpDict::datasets

number of Datasets

◆ def_bitset_subtype

uint32_t TrdpDict::def_bitset_subtype

default subtype value for numeric bitset types

◆ def_endian_subtype

uint32_t TrdpDict::def_endian_subtype

default subtype value for numeric types [0,1]

◆ isShippedXml

bool TrdpDict::isShippedXml

mark datasets when shipped to be displayed accordingly

◆ 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: