| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Macros | Functions
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.

## 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

  wth | Pointer to the wtap structure.
  err | Error code if an error occurs.
  err_info | Error information if an error occurs.

Returns
  wtap_open_return_val The result of opening the file.

< Precision: 1 second (0 fractional digits).