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

Go to the source code of this file.

Functions

wtap_open_return_val rfc7468_open (wtap *wth, int *err, char **err_info)
 Open a file using RFC 7468 format.
 

Detailed Description

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

Function Documentation

◆ rfc7468_open()

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

Open a file using RFC 7468 format.

This function attempts to open and read an initial chunk of the file to detect if it matches the RFC 7468 format.

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
A value indicating whether the file was successfully opened or not.