Wireshark 5.1.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
pcapng-wireshark-custom.h File Reference
#include "wtap.h"
#include "wtap_opttypes.h"
#include <stdbool.h>

Go to the source code of this file.

Functions

bool pcapng_write_wireshark_process_info_block (wtap_dumper *wdh, wtap_block_t pib, int *err, char **err_info)
 Writes a process information block as a Wireshark custom block.

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

◆ pcapng_write_wireshark_process_info_block()

bool pcapng_write_wireshark_process_info_block ( wtap_dumper * wdh,
wtap_block_t pib,
int * err,
char ** err_info )
extern

Writes a process information block as a Wireshark custom block.

Parameters
wdhThe wtap_dumper structure for the output file.
pibThe WTAP_BLOCK_PROCESS_INFORMATION block to write.
errPointer to an integer that will be set to an error code if an error occurs.
err_infoPointer to a string where error information will be stored on failure.
Returns
true if successful, false otherwise.