aboutsummaryrefslogtreecommitdiffstats
path: root/print.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>1998-10-28 21:38:11 +0000
committerGerald Combs <gerald@wireshark.org>1998-10-28 21:38:11 +0000
commit06e5aae0e3946b453377f7d824ef43961dfa47aa (patch)
treeb372423ae62551ea536da9d5edca5d65efa00353 /print.h
parent3b9dda5d6bd434cc5f75b30b08b4ac2d5d33f04c (diff)
* Added preference file saves and reads.
svn path=/trunk/; revision=75
Diffstat (limited to 'print.h')
-rw-r--r--print.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/print.h b/print.h
index 0bafbd74d6..60585b4fa0 100644
--- a/print.h
+++ b/print.h
@@ -1,7 +1,7 @@
/* print.h
* Definitions for printing packet analysis trees.
*
- * $Id: print.h,v 1.5 1998/10/10 03:32:20 gerald Exp $
+ * $Id: print.h,v 1.6 1998/10/28 21:38:11 gerald Exp $
*
* Gilbert Ramirez <gram@verdict.uthscsa.edu>
*
@@ -28,21 +28,11 @@
#ifndef __PRINT_H__
#define __PRINT_H__
-typedef struct pr_opts {
- int output_format; /* 0=text, 1=postscript */
- int output_dest; /* 0=cmd, 1=file */
- char *file;
- char *cmd;
-
- /* for the dialogue box */
- GtkWidget *cmd_te;
- GtkWidget *file_te;
-} pr_opts;
-
/* Functions in print.h */
GtkWidget *printer_prefs_show();
void printer_prefs_ok(GtkWidget *w);
+void printer_prefs_save(GtkWidget *w);
void printer_prefs_cancel(GtkWidget *w);
void print_tree(const u_char *pd, frame_data *fd, GtkTree *tree);
void print_tree_text(FILE *fh, const u_char *pd, frame_data *fd, GtkTree *tree);