From 356a07b384d1b3ff58ccf8a5f01b76f879055baf Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 23 Jul 1999 08:29:24 +0000 Subject: Add a "File/Print" menu item, which prints *all* the packets in the capture to a file or printer. This should eventually get the ability to print either all the packets or only the packets selected by the display filter, and possibly also the ability to print only packets M through N. Get rid of "cur" member of "capture_file" structure; nobody used it. There's no need to pass a pointer to a "dialog_button" variable to "simple_dialog()" for the error boxes displayed if a file copy or move fails; that dialog box is just a message box and has only an "OK" button. Put the declaration of "prefs" into "prefs.h". svn path=/trunk/; revision=378 --- prefs.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'prefs.h') diff --git a/prefs.h b/prefs.h index 3e6348f999..930b1c8c00 100644 --- a/prefs.h +++ b/prefs.h @@ -1,7 +1,7 @@ /* prefs.h * Definitions for preference handling routines * - * $Id: prefs.h,v 1.6 1999/06/12 07:04:35 guy Exp $ + * $Id: prefs.h,v 1.7 1999/07/23 08:29:24 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -41,6 +41,8 @@ typedef struct _e_prefs { gint num_cols; } e_prefs; +extern e_prefs prefs; + #define E_PR_PG_NONE -1 #define E_PR_PG_PRINTING 0 #define E_PR_PG_FILTER 1 -- cgit v1.2.3