diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2004-12-29 09:09:35 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2004-12-29 09:09:35 +0000 |
commit | 2ed93e96bd6c630a9171ea5d5217098fbfa76746 (patch) | |
tree | de1cdbec9c926a405377e4e9006c3bfcd8d5161b /gtk/main.h | |
parent | f1deabed568a18c05afdca5f4898fc9e13f71e91 (diff) | |
download | wireshark-2ed93e96bd6c630a9171ea5d5217098fbfa76746.tar.gz wireshark-2ed93e96bd6c630a9171ea5d5217098fbfa76746.tar.bz2 wireshark-2ed93e96bd6c630a9171ea5d5217098fbfa76746.zip |
Don't use a global capture_opts in the capturing engine (this isn't a good idea). Do some more "housekeeping" in the capturing part.
Hopefully the unspecified forward declaration of capture_options_t in main.h is portable, but buildbot will tell me. This way I need the internals of that struct only at the places I really use it.
svn path=/trunk/; revision=12853
Diffstat (limited to 'gtk/main.h')
-rw-r--r-- | gtk/main.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/main.h b/gtk/main.h index a84ea22e8d..f77da78c6b 100644 --- a/gtk/main.h +++ b/gtk/main.h @@ -57,6 +57,9 @@ * @ingroup windows_group */ +/** Global capture options. */ +typedef struct capture_options_tag * p_capture_options_t; +extern p_capture_options_t capture_opts; /** User requested "Zoom In" by menu or toolbar. * |