aboutsummaryrefslogtreecommitdiffstats
path: root/ps.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-01-25 00:58:13 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-01-25 00:58:13 +0000
commitc2eca192d53bec368916e7cb50b9b38417c251ef (patch)
tree6285e0506f94a9c4dfbf986131dd1b0f316d19bd /ps.h
parent2fd2de8c9d4bc60f1be07fbdbf25d6a93574a28b (diff)
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
Diffstat (limited to 'ps.h')
-rw-r--r--ps.h6
1 files changed, 3 insertions, 3 deletions
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 <gram@alumni.rice.edu>
*
@@ -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 */