aboutsummaryrefslogtreecommitdiffstats
path: root/print.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-01-24 10:53:25 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-01-24 10:53:25 +0000
commit484071c232b2f8512db920efa9148473c59f726d (patch)
tree4f33de0c36a5dc83443857df1e1cd4ff680fbe32 /print.h
parentc484a2b17f88a61c345a776443722d07e094b06c (diff)
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9825 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'print.h')
-rw-r--r--print.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/print.h b/print.h
index d632c791e0..0771ba4335 100644
--- a/print.h
+++ b/print.h
@@ -1,7 +1,7 @@
/* print.h
* Definitions for printing packet analysis trees.
*
- * $Id: print.h,v 1.34 2004/01/09 18:10:40 ulfl Exp $
+ * $Id: print.h,v 1.35 2004/01/24 10:53:24 guy Exp $
*
* Gilbert Ramirez <gram@alumni.rice.edu>
*
@@ -65,9 +65,9 @@ typedef struct {
/* Functions in print.h */
FILE *open_print_dest(int to_file, const char *dest);
-void close_print_dest(int to_file, FILE *fh);
-void print_preamble(FILE *fh, gint format);
-void print_finale(FILE *fh, gint format);
+gboolean close_print_dest(int to_file, FILE *fh);
+gboolean print_preamble(FILE *fh, gint format);
+gboolean print_finale(FILE *fh, gint format);
void proto_tree_print(print_args_t *print_args, epan_dissect_t *edt,
FILE *fh);
void print_hex_data(FILE *fh, gint format, epan_dissect_t *edt);