From 2a691a0aeccb8a2b41a62bf02cbcea83c8109df4 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 24 Jun 2008 01:23:33 +0000 Subject: 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 --- capture_info.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'capture_info.h') 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( -- cgit v1.2.1