Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Macros | Functions
tnef.h File Reference
#include "wtap.h"

Go to the source code of this file.

Macros

#define TNEF_SIGNATURE   0x223E9F78
 

Functions

wtap_open_return_val tnef_open (wtap *wth, int *err, char **err_info)
 Open a TNEF file.
 

Detailed Description

Transport-Neutral Encapsulation Format (TNEF) file reading

SPDX-License-Identifier: GPL-2.0-or-later

Function Documentation

◆ tnef_open()

wtap_open_return_val tnef_open ( wtap wth,
int *  err,
char **  err_info 
)

Open a TNEF file.

Attempts to open and read the header of a TNEF (Transport Neutral Encapsulation Format) file.

Parameters
wthPointer to the wtap structure that will hold the file information.
errPointer to an integer where any error code will be stored.
err_infoPointer to a char pointer where any error message will be stored.
Returns
wtap_open_return_val The result of the open operation, indicating whether the file is TNEF or not.