diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-11-22 00:06:54 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-11-22 08:07:24 +0000 |
commit | b19b12a85daa9ec91537c733d05550f5dfafa0eb (patch) | |
tree | c97c8158905d05f4f8a29980de89b3e5022352e6 /epan/print.h | |
parent | 6e1214c4df15acba6f55a75256e90dc96640d4b3 (diff) |
Get rid of write_headers global variable.
Have write_psml_preamble() and write_csv_preamble() take a capture_file *
as an argument, so they can print the column titles themselves, rather
than having to defer it to the routine that prints packet data.
Change-Id: Ifd1b7a13062be8ad46846315976922a752778153
Reviewed-on: https://code.wireshark.org/review/5438
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/print.h')
-rw-r--r-- | epan/print.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/print.h b/epan/print.h index 816c401660..020cce53ac 100644 --- a/epan/print.h +++ b/epan/print.h @@ -111,11 +111,11 @@ WS_DLL_PUBLIC void write_pdml_preamble(FILE *fh, const gchar* filename); WS_DLL_PUBLIC void proto_tree_write_pdml(epan_dissect_t *edt, FILE *fh); WS_DLL_PUBLIC void write_pdml_finale(FILE *fh); -WS_DLL_PUBLIC void write_psml_preamble(FILE *fh); +WS_DLL_PUBLIC void write_psml_preamble(capture_file *cf, FILE *fh); WS_DLL_PUBLIC void proto_tree_write_psml(epan_dissect_t *edt, FILE *fh); WS_DLL_PUBLIC void write_psml_finale(FILE *fh); -WS_DLL_PUBLIC void write_csv_preamble(FILE *fh); +WS_DLL_PUBLIC void write_csv_preamble(capture_file *cf, FILE *fh); WS_DLL_PUBLIC void proto_tree_write_csv(epan_dissect_t *edt, FILE *fh); WS_DLL_PUBLIC void write_csv_finale(FILE *fh); |