The Sniffer-reading code now checks to make sure that it is trying
[obnox/wireshark/wip.git] / print.h
1 /* print.h
2  * Definitions for printing packet analysis trees.
3  *
4  * $Id: print.h,v 1.6 1998/10/28 21:38:11 gerald Exp $
5  *
6  * Gilbert Ramirez <gram@verdict.uthscsa.edu>
7  *
8  * Ethereal - Network traffic analyzer
9  * By Gerald Combs <gerald@zing.org>
10  * Copyright 1998 Gerald Combs
11  *
12  * 
13  * This program is free software; you can redistribute it and/or
14  * modify it under the terms of the GNU General Public License
15  * as published by the Free Software Foundation; either version 2
16  * of the License, or (at your option) any later version.
17  * 
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21  * GNU General Public License for more details.
22  * 
23  * You should have received a copy of the GNU General Public License
24  * along with this program; if not, write to the Free Software
25  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
26  */
27
28 #ifndef __PRINT_H__
29 #define __PRINT_H__
30
31 /* Functions in print.h */
32
33 GtkWidget *printer_prefs_show();
34 void printer_prefs_ok(GtkWidget *w);
35 void printer_prefs_save(GtkWidget *w);
36 void printer_prefs_cancel(GtkWidget *w);
37 void print_tree(const u_char *pd, frame_data *fd, GtkTree *tree);
38 void print_tree_text(FILE *fh, const u_char *pd, frame_data *fd, GtkTree *tree);
39 void print_tree_ps(FILE *fh, const u_char *pd, frame_data *fd, GtkTree *tree);
40
41 #endif /* print.h */