Wireshark 4.7.2
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
sttype_t Struct Reference

Describes a syntax tree node type, including its lifecycle and serialization callbacks. More...

#include <syntax-tree.h>

Public Attributes

sttype_id_t id
STTypeNewFunc func_new
STTypeFreeFunc func_free
STTypeDupFunc func_dup
STTypeToStrFunc func_tostr

Detailed Description

Describes a syntax tree node type, including its lifecycle and serialization callbacks.

Member Data Documentation

◆ func_dup

STTypeDupFunc sttype_t::func_dup

Copy constructor: deep-duplicates type data

◆ func_free

STTypeFreeFunc sttype_t::func_free

Destructor: releases type data

◆ func_new

STTypeNewFunc sttype_t::func_new

Constructor: allocates and initializes type data

◆ func_tostr

STTypeToStrFunc sttype_t::func_tostr

Serializer: converts type data to a string

◆ id

sttype_id_t sttype_t::id

Unique type identifier from sttype_id_t


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