diff options
author | Gerald Combs <gerald@wireshark.org> | 1998-10-28 21:38:11 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 1998-10-28 21:38:11 +0000 |
commit | 06e5aae0e3946b453377f7d824ef43961dfa47aa (patch) | |
tree | b372423ae62551ea536da9d5edca5d65efa00353 /print.h | |
parent | 3b9dda5d6bd434cc5f75b30b08b4ac2d5d33f04c (diff) | |
download | wireshark-06e5aae0e3946b453377f7d824ef43961dfa47aa.tar.gz wireshark-06e5aae0e3946b453377f7d824ef43961dfa47aa.tar.bz2 wireshark-06e5aae0e3946b453377f7d824ef43961dfa47aa.zip |
* Added preference file saves and reads.
svn path=/trunk/; revision=75
Diffstat (limited to 'print.h')
-rw-r--r-- | print.h | 14 |
1 files changed, 2 insertions, 12 deletions
@@ -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); |