aboutsummaryrefslogtreecommitdiffstats
path: root/file.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-11-30 07:27:37 +0000
committerGuy Harris <guy@alum.mit.edu>1999-11-30 07:27:37 +0000
commit9a3791699ce275a305beebfe7463b41ae8fe6cc8 (patch)
tree0501cd0cb3e376148c4e40566cf51ecf0d8c3950 /file.h
parent350ea4308c103b8c4c672df6ece47771ae4fb993 (diff)
In "Go To Frame", distinguish between "there is no frame with that frame
number" and "there is a frame with that frame number, but it didn't pass the current display filter". svn path=/trunk/; revision=1164
Diffstat (limited to 'file.h')
-rw-r--r--file.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/file.h b/file.h
index ee6cd4662a..518948887a 100644
--- a/file.h
+++ b/file.h
@@ -1,7 +1,7 @@
/* file.h
* Definitions for file structures and routines
*
- * $Id: file.h,v 1.56 1999/11/29 08:51:11 guy Exp $
+ * $Id: file.h,v 1.57 1999/11/30 07:27:37 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -131,7 +131,14 @@ void colorize_packets(capture_file *);
int print_packets(capture_file *cf, print_args_t *print_args);
void change_time_formats(capture_file *);
gboolean find_packet(capture_file *cf, dfilter *sfcode);
-gboolean goto_frame(capture_file *cf, guint fnumber);
+
+typedef enum {
+ FOUND_FRAME, /* found the frame */
+ NO_SUCH_FRAME, /* no frame with that number */
+ FRAME_NOT_DISPLAYED /* frame with that number isn't displayed */
+} goto_result_t;
+goto_result_t goto_frame(capture_file *cf, guint fnumber);
+
void select_packet(capture_file *, int);
void unselect_packet(capture_file *);