| Wireshark 4.7.3 The Wireshark network protocol analyzer

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

Represents a display filter macro, including its name, template text, and parsed argument structure. More...

`#include <dfilter-macro.h>`

## Public Attributes
char * | name
char * | text
bool | usable
char ** | parts
int * | args_pos
int | argc
void * | priv

## Detailed Description

Represents a display filter macro, including its name, template text, and parsed argument structure.

## Member Data Documentation

## ◆ argc

int _dfilter_macro_t::argc

Expected number of arguments the macro accepts.

## ◆ args_pos

int* _dfilter_macro_t::args_pos

Array of argument indices indicating what is inserted between each pair of parts.

## ◆ name

char* _dfilter_macro_t::name

The macro identifier (name used to invoke the macro).

## ◆ parts

char** _dfilter_macro_t::parts

Array of literal text segments between argument insertion points.

## ◆ priv

void* _dfilter_macro_t::priv

Private copy of text backing the C-strings stored in parts; owns that memory.

## ◆ text

char* _dfilter_macro_t::text

Raw macro template text as read from the macros file.

## ◆ usable

bool _dfilter_macro_t::usable

Whether the macro has been successfully parsed and is ready for use.

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

- /builds/wireshark/wireshark/epan/dfilter/dfilter-macro.h