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

Defines a display filter function, holding its name, implementation, arity, and type information. More...

#include <dfunctions.h>

Public Attributes

const char * name
 
DFFuncType function
 
unsigned min_nargs
 
unsigned max_nargs
 
ftenum_t return_ftype
 
DFSemCheckType semcheck_param_function
 

Detailed Description

Defines a display filter function, holding its name, implementation, arity, and type information.

Member Data Documentation

◆ function

DFFuncType df_func_def_t::function

Pointer to the function implementation.

◆ max_nargs

unsigned df_func_def_t::max_nargs

Maximum number of arguments the function accepts; 0 means no upper limit.

◆ min_nargs

unsigned df_func_def_t::min_nargs

Minimum number of arguments the function accepts.

◆ name

const char* df_func_def_t::name

The function name as used in display filter expressions.

◆ return_ftype

ftenum_t df_func_def_t::return_ftype

Return type of the function; FT_NONE if the return type matches the argument type.

◆ semcheck_param_function

DFSemCheckType df_func_def_t::semcheck_param_function

Semantic check callback used to validate the function's parameters at compile time.


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