aboutsummaryrefslogtreecommitdiffstats
path: root/file.h
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2016-06-19 16:52:50 +0200
committerAnders Broman <a.broman58@gmail.com>2016-06-20 01:22:57 +0000
commit92f4c7c8d24d07ec83622e15310e8e8014c734ab (patch)
tree59151f9d7fcd60b5b0cc7e485df8948a70e6455e /file.h
parentbea1950d0701eba35af85b228f37dac849902ea8 (diff)
Add JSON export to Qt/GTK UI
Change-Id: I5ff46a40cdb1f8f41565d2aa54c6f9e61d397e3a Reviewed-on: https://code.wireshark.org/review/16013 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'file.h')
-rw-r--r--file.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/file.h b/file.h
index a52f9a454e..165795be59 100644
--- a/file.h
+++ b/file.h
@@ -463,6 +463,15 @@ cf_print_status_t cf_write_csv_packets(capture_file *cf, print_args_t *print_arg
cf_print_status_t cf_write_carrays_packets(capture_file *cf, print_args_t *print_args);
/**
+ * Print (export) the capture file into JSON format.
+ *
+ * @param cf the capture file
+ * @param print_args the arguments what and how to export
+ * @return one of cf_print_status_t
+ */
+cf_print_status_t cf_write_json_packets(capture_file *cf, print_args_t *print_args);
+
+/**
* Find packet with a protocol tree item that contains a specified text string.
*
* @param cf the capture file