diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-03-02 22:07:25 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-03-02 22:07:25 +0000 |
commit | 6c9deead35287fda4d7d8297aab2cc1ce9a53b93 (patch) | |
tree | 66c278c6ea06c491919bdb367830815f56b2b48e /file.h | |
parent | 3b37905e24b6a081e3538fc387a3febe7098fa67 (diff) | |
download | wireshark-6c9deead35287fda4d7d8297aab2cc1ce9a53b93.tar.gz wireshark-6c9deead35287fda4d7d8297aab2cc1ce9a53b93.tar.bz2 wireshark-6c9deead35287fda4d7d8297aab2cc1ce9a53b93.zip |
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.h | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -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 *); |