| Wireshark 4.7.3 The Wireshark network protocol analyzer

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

Stores Lua function references to prevent garbage collection for functions used by tcp_dissect_pdus(). More...

`#include <wslua.h>`

## Public Attributes
lua_State * | state
int | get_len_ref
int | dissect_ref

## Detailed Description

Stores Lua function references to prevent garbage collection for functions used by tcp_dissect_pdus().

## Member Data Documentation

## ◆ dissect_ref

int _wslua_func_saver::dissect_ref

Lua registry reference to the function that dissects the PDU.

## ◆ get_len_ref

int _wslua_func_saver::get_len_ref

Lua registry reference to the function that returns the PDU length.

## ◆ state

lua_State* _wslua_func_saver::state

The Lua state in which the function references are registered.

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

- /builds/wireshark/wireshark/epan/wslua/wslua.h