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

Callback table for a PREF_CUSTOM preference, providing lifecycle and serialization hooks. More...

#include <prefs-int.h>

Public Attributes

pref_custom_free_cb free_cb
 
pref_custom_reset_cb reset_cb
 
pref_custom_set_cb set_cb
 
pref_custom_type_name_cb type_name_cb
 
pref_custom_type_description_cb type_description_cb
 
pref_custom_is_default_cb is_default_cb
 
pref_custom_to_str_cb to_str_cb
 

Detailed Description

Callback table for a PREF_CUSTOM preference, providing lifecycle and serialization hooks.

Member Data Documentation

◆ free_cb

pref_custom_free_cb pref_custom_cbs::free_cb

Releases any resources owned by the custom preference value

◆ is_default_cb

pref_custom_is_default_cb pref_custom_cbs::is_default_cb

Returns true if the custom preference currently holds its default value

◆ reset_cb

pref_custom_reset_cb pref_custom_cbs::reset_cb

Resets the custom preference to its default value

◆ set_cb

pref_custom_set_cb pref_custom_cbs::set_cb

Parses and applies a new value to the custom preference

◆ to_str_cb

pref_custom_to_str_cb pref_custom_cbs::to_str_cb

Serializes the current custom preference value to a string

◆ type_description_cb

pref_custom_type_description_cb pref_custom_cbs::type_description_cb

Returns a human-readable description of the custom preference type

◆ type_name_cb

pref_custom_type_name_cb pref_custom_cbs::type_name_cb

Returns a short type name string for the custom preference


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