Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Macros | Functions | Variables
mmodule.c File Reference
#include "config.h"
#include "mmodule.h"
#include "wtap_module.h"
#include "file_wrappers.h"

Macros

#define WS_LOG_DOMAIN   "MModuleFile"
 

Functions

void register_mmodule (void)
 
bool verify_checksum (FILE_T fh, int *err, char **err_info)
 
wtap_open_return_val mmodule_open (wtap *wth, int *err, char **err_info)
 Open a file using the mmodule protocol.
 

Variables

struct mmodule_phdrmmodule
 

Detailed Description

Copyright 2025, Daniel Salloum danie.nosp@m.l.sa.nosp@m.lloum.nosp@m.@gma.nosp@m.il.co.nosp@m.m

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

Function Documentation

◆ mmodule_open()

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

Open a file using the mmodule protocol.

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.