From c2eca192d53bec368916e7cb50b9b38417c251ef Mon Sep 17 00:00:00 2001 From: guy Date: Sun, 25 Jan 2004 00:58:13 +0000 Subject: There's no need to keep a "FILE *" for the file being printed to in a "capture_file" structure. Keep it locally, instead. Check for errors when printing packets. Report failure to open a print destination and failure to write to a print destination differently. Don't have the "print preamble" and "print final" routines return success/failure indications - revert to the old scheme where they didn't, and have the callers use "ferror()" to check for errors. Report write errors when printing dissections in Tethereal. Report print errors as errors, not warnings. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9828 f5534014-38df-0310-8fa8-9805f1628bb7 --- ps.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ps.h') diff --git a/ps.h b/ps.h index c9dc3dcdf1..a41d0f245a 100644 --- a/ps.h +++ b/ps.h @@ -1,7 +1,7 @@ /* ps.h * Definitions for generating PostScript(R) packet output. * - * $Id: ps.h,v 1.6 2004/01/24 10:53:24 guy Exp $ + * $Id: ps.h,v 1.7 2004/01/25 00:58:12 guy Exp $ * * Gilbert Ramirez * @@ -29,7 +29,7 @@ /* Functions in ps.c; automatically generated by rdps */ -int print_ps_preamble(FILE *); -int print_ps_finale(FILE *); +void print_ps_preamble(FILE *); +void print_ps_finale(FILE *); #endif /* ps.h */ -- cgit v1.2.3