diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-04-15 23:28:11 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-04-15 23:28:11 +0000 |
commit | 972c38a4c193f74d592a59882aba6dc394795690 (patch) | |
tree | 9bdf50330688aef607d579db3f1a1df3a547de86 /cfile.h | |
parent | 2d55c84171f9d28e703b6ec8ee4ad1ebaa1769b0 (diff) |
Rename a bunch of variables and routines that pertain to string search
with "string" rather than "ascii", to make it clearer what they're
involved with.
Use "gtk_toggle_button_set_active()", not
"gtk_toggle_button_set_state()" (the latter is a deprecated alias for
the former, probably dating back to GTK+ 1.0[.x] - 1.2[.x] and later
have "gtk_toggle_button_set_active()").
Do *NOT* change the radio buttons for the type of string search to do
based on whether we're doing a string search or not - doing so means we
don't correctly remember the type of string search.
Get rid of code to fetch some values that we don't subsequently use.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10609 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'cfile.h')
-rw-r--r-- | cfile.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* cfile.h * capture_file definition & GUI-independent manipulation * - * $Id: cfile.h,v 1.9 2004/02/03 00:16:58 ulfl Exp $ + * $Id: cfile.h,v 1.10 2004/04/15 23:28:10 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -73,7 +73,7 @@ typedef struct _capture_file { gchar *sfilter; /* Search filter string */ gboolean sbackward; /* TRUE if search is backward, FALSE if forward */ gboolean hex; /* TRUE is raw data search is being performed */ - gboolean ascii; /* TRUE is text search is being performed */ + gboolean string; /* TRUE is text search is being performed */ search_charset_t scs_type; /* Character set for text search */ gboolean case_type; /* TRUE if case-insensitive text search */ gboolean decode_data; /* TRUE if searching protocol tree text */ |