diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-10-27 23:28:37 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-10-27 23:28:37 +0000 |
commit | 95062e56acfc985ffae5d1dd37a656a602fb0fca (patch) | |
tree | 710dc8246082edefe1ea5a819d05276fdfb80d8e /file.h | |
parent | 615a5531224ea76a1d0763201de08edef9dcb12d (diff) |
Change some of the merge.c APIs to return more information on failure,
and use that information to provide better error messages.
Have "merge_open_outfile()" do all the work of filling in the
merge_out_file_t structure, with the values to use passed as arguments.
Get rid of some structure members that used to be used solely to pass
information to "merge_open_outfile()".
Add a "cf_merge_files()" routine to do the merging and reporting of errors.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12420 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'file.h')
-rw-r--r-- | file.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -53,6 +53,10 @@ read_status_t cf_finish_tail(capture_file *, int *); gboolean cf_save(char *fname, capture_file * cf, packet_range_t *range, guint save_format); gchar *cf_get_display_name(capture_file *); +gboolean +cf_merge_files(const char *out_file, int out_fd, int in_file_count, + char *const *in_filenames, int filetype, gboolean do_append); + gboolean filter_packets(capture_file *cf, gchar *dfilter, gboolean force); void reftime_packets(capture_file *); void colorize_packets(capture_file *); |