| Wireshark 4.7.3 The Wireshark network protocol analyzer

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

Wraps a wtap file handle or wtap_dumper for read/write access from the Lua scripting environment. More...

`#include <wslua.h>`

## Public Attributes
FILE_T | file
wtap_dumper * | wdh
bool | expired

## Detailed Description

Wraps a wtap file handle or wtap_dumper for read/write access from the Lua scripting environment.

During read operations, file is set and wdh is NULL. During write operations, wdh is set and file is derived from it.

## Member Data Documentation

## ◆ expired

bool _wslua_file::expired

True if this file object is no longer valid.

## ◆ file

FILE_T _wslua_file::file

The wtap FILE_T handle used during read operations; invalid during write operations.

## ◆ wdh

wtap_dumper* _wslua_file::wdh

The wtap_dumper used during write operations; NULL during read operations.

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

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