From bf284da2eef917f8bf55be3aad15bb296072bb77 Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Wed, 8 Jan 2014 04:35:28 +0000 Subject: TFShark (Terminal Fileshark) v.001. Bug 9607 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9607) This is a VERY PRELIMINARY version of tfshark. It's an attempt to jumpstart FileShark and its architecture. Right now it's mostly just a very stripped down version of tshark with all of the necessary build modifications (including now building filetap library since tfshark depends on it) This code has helped me identify what I believe to be all of the necessary layers for a complete fileshark architecture. And those layers will slowly be added in time (patches always welcome!). svn path=/trunk/; revision=54646 --- epan/epan.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'epan/epan.h') diff --git a/epan/epan.h b/epan/epan.h index 093f7f8562..5a9dbda019 100644 --- a/epan/epan.h +++ b/epan/epan.h @@ -177,6 +177,17 @@ void epan_dissect_run_with_taps(epan_dissect_t *edt, struct wtap_pkthdr *phdr, tvbuff_t *tvb, frame_data *fd, struct epan_column_info *cinfo); +/** run a single file packet dissection */ +WS_DLL_PUBLIC +void +epan_dissect_file_run(epan_dissect_t *edt, struct wtap_pkthdr *phdr, + tvbuff_t *tvb, frame_data *fd, struct epan_column_info *cinfo); + +WS_DLL_PUBLIC +void +epan_dissect_file_run_with_taps(epan_dissect_t *edt, struct wtap_pkthdr *phdr, + tvbuff_t *tvb, frame_data *fd, struct epan_column_info *cinfo); + /** Prime a proto_tree using the fields/protocols used in a dfilter. */ WS_DLL_PUBLIC void -- cgit v1.2.3