*
* $Id$
*
- * Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@ethereal.com>
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or
#ifndef __CAPTURE_INFO_H__
#define __CAPTURE_INFO_H__
+#include "capture_opts.h"
/* open the info - init values (wtap, counts), create dialog */
-extern void capture_info_open(const char *iface);
+extern void capture_info_open(capture_options *capture_opts);
/* new file arrived - (eventually close old wtap), open wtap */
-extern void capture_info_new_file(const char *new_filename);
+extern gboolean capture_info_new_file(const char *new_filename);
/* new packets arrived - read from wtap, count */
extern void capture_info_new_packets(int to_read);
/** Create the capture info dialog */
extern void capture_info_ui_create(
capture_info *cinfo,
-const gchar *iface);
+capture_options *capture_opts);
/** Update the capture info counters in the dialog */
extern void capture_info_ui_update(