Change some of the merge.c APIs to return more information on failure,
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 27 Oct 2004 23:28:37 +0000 (23:28 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 27 Oct 2004 23:28:37 +0000 (23:28 +0000)
commit95062e56acfc985ffae5d1dd37a656a602fb0fca
tree710dc8246082edefe1ea5a819d05276fdfb80d8e
parent615a5531224ea76a1d0763201de08edef9dcb12d
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
file.c
file.h
gtk/file_dlg.c
gtk/main.c
merge.c
merge.h
mergecap.c