summaryrefslogtreecommitdiff
path: root/merge.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-06-21 16:45:07 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-06-21 16:45:07 +0000
commit5c061e582e8ac9f0e744cb0981f942197a925613 (patch)
tree1217e77a29ba40b20811eef4de8c737b5e82f50a /merge.h
parentc10d97d8e351193db5af5c9f2a79faae03a48a6a (diff)
downloadwireshark-5c061e582e8ac9f0e744cb0981f942197a925613.tar.gz
if more than one file is (drag and) dropped into the program,
merge them together into a new temporary file (and notice the user by a simple_dialog about it) svn path=/trunk/; revision=11205
Diffstat (limited to 'merge.h')
-rw-r--r--merge.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/merge.h b/merge.h
index 178e6c7d5e..736638053e 100644
--- a/merge.h
+++ b/merge.h
@@ -2,7 +2,7 @@
* Definitions for menu routines with toolkit-independent APIs but
* toolkit-dependent implementations.
*
- * $Id: merge.h,v 1.2 2004/06/18 12:04:49 jmayer Exp $
+ * $Id: merge.h,v 1.3 2004/06/21 16:45:06 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -142,17 +142,17 @@ merge_append_files(int in_file_count, merge_in_file_t in_files[], merge_out_file
/*
- * Convenience function: merge two files into one.
+ * Convenience function: merge any number of input files into one.
*
* @param out_filename the output filename
- * @param in_file0 first input filename
- * @param in_file1 second input filename
+ * @param in_file_count number of input files
+ * @param in_filenames array of input filenames
* @param do_append TRUE to append, FALSE to merge chronologically
* @param err wiretap error, if failed
* @return TRUE if function succeeded
*/
extern gboolean
-merge_two_files(char *out_filename, char *in_file0, char *in_file1, gboolean do_append, int *err);
+merge_n_files(char *out_filename, int in_file_count, char **in_filenames, gboolean do_append, int *err);
#ifdef __cplusplus