From 8596d17d7f424f6a68154a537d67f1150758e5f7 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 22 May 2013 07:44:28 +0000 Subject: Pull the capture-session state information out of capture_opts and put it into a separate capture_session structure. capture_opts should contain only user-specified option information (and stuff directly derived from it, such as the "capturing from a pipe" flag). svn path=/trunk/; revision=49493 --- capture_info.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'capture_info.h') diff --git a/capture_info.h b/capture_info.h index 98c8242fb3..4b250efcd7 100644 --- a/capture_info.h +++ b/capture_info.h @@ -33,13 +33,14 @@ #define __CAPTURE_INFO_H__ #include "capture_opts.h" +#include "capture_session.h" #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ /* open the info - init values (wtap, counts), create dialog */ -extern void capture_info_open(capture_options *capture_opts); +extern void capture_info_open(capture_session *cap_session); /* new file arrived - (eventually close old wtap), open wtap */ extern gboolean capture_info_new_file(const char *new_filename); @@ -65,9 +66,8 @@ typedef struct { /** Create the capture info dialog */ -extern void capture_info_ui_create( -capture_info *cinfo, -capture_options *capture_opts); +extern void +capture_info_ui_create(capture_info *cinfo, capture_session *cap_session); /** Update the capture info counters in the dialog */ extern void capture_info_ui_update( -- cgit v1.2.1