|
Wireshark 4.7.2
The Wireshark network protocol analyzer
|
Describes a registered pcapng block type, including its identity, human-readable metadata, lifecycle callbacks, and known options. More...
#include <wtap_opttypes.h>
Public Attributes | |
| wtap_block_type_t | block_type |
| const char * | name |
| const char * | description |
| wtap_block_create_func | create |
| wtap_mand_free_func | free_mand |
| wtap_mand_copy_func | copy_mand |
| GHashTable * | options |
Describes a registered pcapng block type, including its identity, human-readable metadata, lifecycle callbacks, and known options.
| wtap_block_type_t wtap_blocktype_t::block_type |
Internal enumeration value identifying this block type.
| wtap_mand_copy_func wtap_blocktype_t::copy_mand |
Callback invoked to deep-copy the mandatory data when a block is duplicated.
| wtap_block_create_func wtap_blocktype_t::create |
Callback invoked to allocate and initialize the mandatory data for a new block of this type.
| const char* wtap_blocktype_t::description |
Human-readable description of this block type, suitable for display.
| wtap_mand_free_func wtap_blocktype_t::free_mand |
Callback invoked to release resources held by the mandatory data when a block is destroyed.
| const char* wtap_blocktype_t::name |
Short programmatic name for this block type.
| GHashTable* wtap_blocktype_t::options |
Hash table mapping option codes to their definitions for all options known to this block type.