diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2016-06-19 16:52:50 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-06-20 01:22:57 +0000 |
commit | 92f4c7c8d24d07ec83622e15310e8e8014c734ab (patch) | |
tree | 59151f9d7fcd60b5b0cc7e485df8948a70e6455e /file.h | |
parent | bea1950d0701eba35af85b228f37dac849902ea8 (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.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |