Wireshark 4.5.0
The Wireshark network protocol analyzer
|
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 |
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.
void* merge_progress_callback_t::data |
private data to use for passing through to the callback function