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

Go to the source code of this file.

Functions

wtap_open_return_val json_open (wtap *wth, int *err, char **err_info)
 Open a JSON file for reading.
 

Detailed Description

Copyright 2015, Dario Lombardo lomat.nosp@m.o@gm.nosp@m.ail.c.nosp@m.om

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

Function Documentation

◆ json_open()

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

Open a JSON file for reading.

Parameters
wthPointer to the wtap structure.
errError code if an error occurs.
err_infoError information if an error occurs.
Returns
wtap_open_return_val The result of opening the file.