summaryrefslogtreecommitdiff
path: root/capture_info.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2008-06-24 01:23:33 +0000
committerGuy Harris <guy@alum.mit.edu>2008-06-24 01:23:33 +0000
commit2a691a0aeccb8a2b41a62bf02cbcea83c8109df4 (patch)
tree150fa12ca8af874b398cf896e06974b5f2a882aa /capture_info.h
parent2eb5983b4707f274f47fd2c9029f40e8a513f96b (diff)
downloadwireshark-2a691a0aeccb8a2b41a62bf02cbcea83c8109df4.tar.gz
Have capture_info_ui_create() and capture_info_open() take a pointer to
the capture_opts structure as an argument, rather than just a pointer to the interface name. Don't declare a global "capture_opts" pointer, as we don't define it any more. svn path=/trunk/; revision=25570
Diffstat (limited to 'capture_info.h')
-rw-r--r--capture_info.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/capture_info.h b/capture_info.h
index be77e03803..6943314c0f 100644
--- a/capture_info.h
+++ b/capture_info.h
@@ -34,7 +34,7 @@
/* open the info - init values (wtap, counts), create dialog */
-extern void capture_info_open(const char *iface);
+extern void capture_info_open(capture_opts *capture_opts);
/* new file arrived - (eventually close old wtap), open wtap */
extern gboolean capture_info_new_file(const char *new_filename);
@@ -62,7 +62,7 @@ typedef struct {
/** Create the capture info dialog */
extern void capture_info_ui_create(
capture_info *cinfo,
-const gchar *iface);
+capture_opts *capture_opts);
/** Update the capture info counters in the dialog */
extern void capture_info_ui_update(