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

Go to the source code of this file.

Functions

wtap_open_return_val capsa_open (wtap *wth, int *err, char **err_info)
 Open a Capsa file.
 

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

◆ capsa_open()

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

Open a Capsa file.

Attempts to open and read the header of a Capsa file to determine if it is a valid Capsa capture file.

Parameters
wthPointer to the wtap structure that will be initialized with 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 is a valid Capsa capture, not a valid Capsa capture, or an error occurred.