aboutsummaryrefslogtreecommitdiffstats
path: root/cfile.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2011-01-31 12:19:15 +0000
committerAnders Broman <anders.broman@ericsson.com>2011-01-31 12:19:15 +0000
commitb7527dd063ca82726c88981f9d61eb951a2b9a12 (patch)
tree5d7b7b9c4e230107bb89622f2b77c3429ab90ba1 /cfile.h
parent502ddd6cdb42f2dd779e9c16a5a9594ad5e0378e (diff)
From Cal Turney:
Bug 5621 - With String in Packet details searches, highlight row in tree https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5621 svn path=/trunk/; revision=35718
Diffstat (limited to 'cfile.h')
-rw-r--r--cfile.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/cfile.h b/cfile.h
index fe912bb261..a54fddc0a0 100644
--- a/cfile.h
+++ b/cfile.h
@@ -70,15 +70,16 @@ typedef struct _capture_file {
gchar *dfilter; /* Display filter string */
gboolean redissecting; /* TRUE if currently redissecting (cf_redissect_packets) */
/* search */
- gchar *sfilter; /* Search filter string */
- search_direction dir; /* Direction in which to do searches */
- gboolean hex; /* TRUE is raw data search is being performed */
- gboolean string; /* TRUE is text search is being performed */
- guint32 search_pos; /* Position of last character found in search */
- search_charset_t scs_type; /* Character set for text search */
+ gchar *sfilter; /* Filter, hex value, or string being searched */
+ gboolean hex; /* TRUE if "Hex value" search was last selected */
+ gboolean string; /* TRUE if "String" search was last selected */
+ gboolean summary_data; /* TRUE if "String" search in "Packet list" (Info column) was last selected */
+ gboolean decode_data; /* TRUE if "String" search in "Packet details" was last selected */
+ gboolean packet_data; /* TRUE if "String" search in "Packet data" was last selected */
+ guint32 search_pos; /* Byte position of last byte found in a hex search */
gboolean case_type; /* TRUE if case-insensitive text search */
- gboolean decode_data; /* TRUE if searching protocol tree text */
- gboolean summary_data; /* TRUE if searching Info column text */
+ search_charset_t scs_type; /* Character set for text search */
+ search_direction dir; /* Direction in which to do searches */
gboolean search_in_progress; /* TRUE if user just clicked OK in the Find dialog or hit <control>N/B */
/* packet data */
union wtap_pseudo_header pseudo_header; /* Packet pseudo_header */