From cfa22deaae3169b3bca9fd4cd9c564d391531bb0 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Fri, 12 Oct 2012 23:40:29 +0000 Subject: Add a packet format group box, similar to the packet range group box. Use it in the new "Export Packet Dissections" dialog. I'm omitting PostScript exports on purpose. If you *really* need that feature you can probably get better results than we produce using text + enscript or print-to-PDF + pdf2ps/pdftops or PSML/PDML + XSL + ... The Windows code is untested. I'll check in any needed fixes shortly. svn path=/trunk/; revision=45513 --- print.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'print.h') diff --git a/print.h b/print.h index 42a5812faa..00907ea09a 100644 --- a/print.h +++ b/print.h @@ -33,6 +33,10 @@ #include "packet-range.h" +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + /* * Print stream code; this provides a "print stream" class with subclasses * of various sorts. Additional subclasses might be implemented elsewhere. @@ -155,4 +159,8 @@ extern void write_fields_finale(output_fields_t* fields, FILE *fh); extern const gchar* get_node_field_value(field_info* fi, epan_dissect_t* edt); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* print.h */ -- cgit v1.2.3