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

Go to the source code of this file.

Macros

#define RUBY_MARSHAL_MAJOR   4
 
#define RUBY_MARSHAL_MINOR   8
 

Functions

wtap_open_return_val ruby_marshal_open (wtap *wth, int *err, char **err_info)
 Opens a file for reading using Ruby Marshal format.
 

Detailed Description

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

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

Function Documentation

◆ ruby_marshal_open()

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

Opens a file for reading using Ruby Marshal format.

Parameters
wthPointer to the wtap structure.
errPointer to an integer that will hold any error code if an error occurs.
err_infoPointer to a character pointer that will hold any error information if an error occurs.
Returns
wtap_open_return_val The result of opening the file, indicating success or failure.