path: root/prefs.h
diff options
authorGuy Harris <guy@alum.mit.edu>1999-07-23 08:29:24 +0000
committerGuy Harris <guy@alum.mit.edu>1999-07-23 08:29:24 +0000
commit356a07b384d1b3ff58ccf8a5f01b76f879055baf (patch)
tree5546665a4b2e1fa09c5d4a74623c5c860cf70b03 /prefs.h
parentde459d1426cc27341dcf681cf5b35c27c9a5732a (diff)
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
Diffstat (limited to 'prefs.h')
1 files changed, 3 insertions, 1 deletions
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 <gerald@zing.org>
@@ -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