35 in_file_state_e state;
38 GArray *idb_index_map;
45 MERGE_EVENT_INPUT_FILES_OPENED,
46 MERGE_EVENT_FRAME_TYPE_SELECTED,
47 MERGE_EVENT_READY_TO_MERGE,
48 MERGE_EVENT_RECORD_WAS_READ,
76WS_DLL_PUBLIC
const char*
117merge_files(
const char* out_filename,
const int file_type,
118 const char *
const *in_filenames,
const unsigned in_file_count,
121 wtap_compression_type compression_type);
141 const int file_type,
const char *
const *in_filenames,
142 const unsigned in_file_count,
const bool do_append,
160 const unsigned in_file_count,
const bool do_append,
163 wtap_compression_type compression_type);
merge_event
Definition merge.h:44
WS_DLL_PUBLIC idb_merge_mode merge_string_to_idb_merge_mode(const char *name)
Definition merge.c:58
idb_merge_mode
Definition merge.h:54
@ IDB_MERGE_MODE_NONE
Definition merge.h:55
@ IDB_MERGE_MODE_ALL_SAME
Definition merge.h:56
@ IDB_MERGE_MODE_ANY_SAME
Definition merge.h:57
WS_DLL_PUBLIC bool merge_files_to_tempfile(const char *tmpdir, char **out_filenamep, const char *pfx, const int file_type, const char *const *in_filenames, const unsigned in_file_count, const bool do_append, const idb_merge_mode mode, unsigned snaplen, const char *app_name, merge_progress_callback_t *cb)
Definition merge.c:1526
WS_DLL_PUBLIC bool merge_files_to_stdout(const int file_type, const char *const *in_filenames, const unsigned in_file_count, const bool do_append, const idb_merge_mode mode, unsigned snaplen, const char *app_name, merge_progress_callback_t *cb, wtap_compression_type compression_type)
Definition merge.c:1548
WS_DLL_PUBLIC const char * merge_idb_merge_mode_to_string(const int mode)
Definition merge.c:70
WS_DLL_PUBLIC bool merge_files(const char *out_filename, const int file_type, const char *const *in_filenames, const unsigned in_file_count, const bool do_append, const idb_merge_mode mode, unsigned snaplen, const char *app_name, merge_progress_callback_t *cb, wtap_compression_type compression_type)
Definition merge.c:1493
struct merge_in_file_s merge_in_file_t
Callback information for merging.
Definition merge.h:94
void * data
Definition merge.h:98