summaryrefslogtreecommitdiff
path: root/ps.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-01-24 10:53:25 +0000
committerGuy Harris <guy@alum.mit.edu>2004-01-24 10:53:25 +0000
commit65f18bb833c0259fa3705b6f3147f95354d4a101 (patch)
tree4f33de0c36a5dc83443857df1e1cd4ff680fbe32 /ps.h
parent7180513677713540595701ba3dc91c62a895fe89 (diff)
downloadwireshark-65f18bb833c0259fa3705b6f3147f95354d4a101.tar.gz
As with "file_write_error_message()", so with
"file_close_error_message()" - but just use "file_write_error_message()" for UNIX-style errors, under the assumption that a close will only fail because a buffer-flushing write fails or because "close()" itself fails when, for example, pushing unsynced NFS client-side writes out over the wire. Make several routines in "print.c" return success/failure indications. Check for write errors when printing "Follow TCP Stream" stuff or saving it to a file. svn path=/trunk/; revision=9825
Diffstat (limited to 'ps.h')
-rw-r--r--ps.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/ps.h b/ps.h
index 5eacffe219..c9dc3dcdf1 100644
--- a/ps.h
+++ b/ps.h
@@ -1,15 +1,14 @@
/* 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.5 2002/08/28 21:00:41 jmayer Exp $
* Gilbert Ramirez <gram@alumni.rice.edu>
*
* Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@zing.org>
+ * By Gerald Combs <gerald@ethereal.com>
* Copyright 1998 Gerald Combs
*
- *
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
@@ -30,8 +29,7 @@
/* Functions in ps.c; automatically generated by rdps */
-void print_ps_preamble(FILE *);
-void print_ps_hex(FILE *);
-void print_ps_finale(FILE *);
+int print_ps_preamble(FILE *);
+int print_ps_finale(FILE *);
#endif /* ps.h */