From 797d2f6a87607b146a2ef62e1ff501031dce8212 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 7 Dec 2017 19:31:43 -0800 Subject: Move the frame_set stuff back into the capture_file structure. libwireshark now expects an epan_t to be created with a pointer to a "packet provider" structure; that structure is opaque within libwireshark, and a pointer to it is passed to the callbacks that provide interface names, interface, descriptions, user comments, and packet time stamps, and that set user comments. The code that calls epan_new() is expected to provide those callbacks, and to define the structure, which can be used by the providers. If none of the callbacks need that extra information, the "packet provider" structure can be null. Have a "file" packet provider for all the programs that provide packets from a file. Change-Id: I4b5709a3dd7b098ebd7d2a7d95bcdd7b5903c1a0 Reviewed-on: https://code.wireshark.org/review/24731 Reviewed-by: Guy Harris --- Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index af05c5ddb2..25491e4396 100644 --- a/Makefile.am +++ b/Makefile.am @@ -379,6 +379,7 @@ EXTCAP_COMMON_SRC = \ # sources common for wireshark, tshark, and rawshark SHARK_COMMON_SRC = \ cfile.c \ + file_packet_provider.c \ frame_tvbuff.c \ sync_pipe_write.c -- cgit v1.2.3