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

Go to the source code of this file.

Functions

wtap_open_return_val peekclassic_open (wtap *wth, int *err, char **err_info)
 Opens a file in the Peek Classic format.
 

Detailed Description

Wiretap Library Copyright (c) 1998 by Gilbert Ramirez gram@.nosp@m.alum.nosp@m.ni.ri.nosp@m.ce.e.nosp@m.du

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

Function Documentation

◆ peekclassic_open()

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

Opens a file in the Peek Classic format.

Parameters
wthPointer to the wtap structure that will be populated with file information.
errPointer to an integer where any error codes will be stored.
err_infoPointer to a char pointer where any error messages will be stored.
Returns
A value indicating whether the file is in the Peek Classic format, not recognized, or if an error occurred.