diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-05-22 07:44:28 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-05-22 07:44:28 +0000 |
commit | 8596d17d7f424f6a68154a537d67f1150758e5f7 (patch) | |
tree | c001df238a88757313991c76047808fe4c451727 /capture_info.h | |
parent | 54ca6dae29aabe8ad5acb602f5727317dea50340 (diff) |
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
Diffstat (limited to 'capture_info.h')
-rw-r--r-- | capture_info.h | 8 |
1 files changed, 4 insertions, 4 deletions
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( |