| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Public Attributes | List of all members
_value_string_ext Struct Reference

Extended metadata for a value_string array. More...

`#include <value_string.h>`

## Public Attributes
_value_string_match2_t | _vs_match2
uint32_t | _vs_first_value
unsigned | _vs_num_entries
const value_string * | _vs_p
const char * | _vs_name
wmem_allocator_t * | _scope

## Detailed Description

Extended metadata for a value_string array.

Encapsulates additional information and utilities for working with a `value_string` array, including match logic, bounds, and memory scope. This structure supports enhanced lookup and error reporting functionality.

## Member Data Documentation

## ◆ _scope

wmem_allocator_t* _value_string_ext::_scope

Memory scope used for allocation and cleanup.

## ◆ _vs_first_value

uint32_t _value_string_ext::_vs_first_value

First value in the value_string array.

## ◆ _vs_match2

_value_string_match2_t _value_string_ext::_vs_match2

Optional custom match function for advanced lookup.

## ◆ _vs_name

const char* _value_string_ext::_vs_name

Name of the mapping (used in error messages).

## ◆ _vs_num_entries

unsigned _value_string_ext::_vs_num_entries

Number of entries in the array (excluding final {0, NULL}).

## ◆ _vs_p

const value_string* _value_string_ext::_vs_p

Pointer to the value_string array.

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

- /builds/wireshark/wireshark/wsutil/value_string.h