aboutsummaryrefslogtreecommitdiffstats
path: root/print.h
diff options
context:
space:
mode:
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 /print.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 'print.h')
-rw-r--r--print.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/print.h b/print.h
index bd3548b2a3..ce9699b91b 100644
--- a/print.h
+++ b/print.h
@@ -1,7 +1,7 @@
/* print.h
* Definitions for printing packet analysis trees.
*
- * $Id: print.h,v 1.7 1999/07/13 04:38:15 guy Exp $
+ * $Id: print.h,v 1.8 1999/07/23 08:29:22 guy Exp $
*
* Gilbert Ramirez <gram@verdict.uthscsa.edu>
*
@@ -34,6 +34,9 @@ GtkWidget *printer_prefs_show();
void printer_prefs_ok(GtkWidget *w);
void printer_prefs_save(GtkWidget *w);
void printer_prefs_cancel(GtkWidget *w);
-void proto_tree_print(GNode *protocol_tree, const u_char *pd, frame_data *fd);
+FILE *open_print_dest(int to_file, const char *dest);
+void close_print_dest(int to_file, FILE *fh);
+void proto_tree_print(GNode *protocol_tree, const u_char *pd, frame_data *fd,
+ FILE *fh);
#endif /* print.h */