aboutsummaryrefslogtreecommitdiffstats
path: root/file.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-03-02 22:07:25 +0000
committerGuy Harris <guy@alum.mit.edu>2003-03-02 22:07:25 +0000
commit6c9deead35287fda4d7d8297aab2cc1ce9a53b93 (patch)
tree66c278c6ea06c491919bdb367830815f56b2b48e /file.h
parent3b37905e24b6a081e3538fc387a3febe7098fa67 (diff)
Have "goto_frame()" put up error dialog boxes itself, rather than having
its callers put up the same error dialog boxes. Have it just return a success vs. failure Boolean. svn path=/trunk/; revision=7254
Diffstat (limited to 'file.h')
-rw-r--r--file.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/file.h b/file.h
index c90b36bbaa..7cb68dc39f 100644
--- a/file.h
+++ b/file.h
@@ -1,7 +1,7 @@
/* file.h
* Definitions for file structures and routines
*
- * $Id: file.h,v 1.98 2002/09/06 22:45:40 sahlberg Exp $
+ * $Id: file.h,v 1.99 2003/03/02 22:07:21 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -57,12 +57,7 @@ int print_packets(capture_file *cf, print_args_t *print_args);
void change_time_formats(capture_file *);
gboolean find_packet(capture_file *cf, dfilter_t *sfcode);
-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);
+gboolean goto_frame(capture_file *cf, guint fnumber);
void select_packet(capture_file *, int);
void unselect_packet(capture_file *);