Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Attributes | List of all members
merge_progress_callback_t Struct Reference

Callback information for merging. More...

#include <merge.h>

Public Attributes

bool(* callback_func )(merge_event event, int num, const merge_in_file_t in_files[], const unsigned in_file_count, void *data)
 
void * data
 

Detailed Description

Callback information for merging.

The merge_files() routine can invoke a callback during its execution, to enable verbose printing or progress bar updating, for example. This struct provides merge_files() with the callback routine to invoke, and optionally private data to pass through to the callback each time it is invoked. For the callback_func routine's arguments: the event is when the callback was invoked, the num is an int specific to the event, in_files is an array of the created merge info, in_file_count is the size of the array, data is whatever was passed in the data member of this struct. The callback_func routine's return value should be true if merging should be aborted.

Member Data Documentation

◆ data

void* merge_progress_callback_t::data

private data to use for passing through to the callback function


The documentation for this struct was generated from the following file: