From 56aa05227f6bc18211d9ddec669af77ba5cd78e9 Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Sat, 12 Dec 2015 23:38:21 -0500 Subject: Create a way to register "capture" dissectors. Capture dissectors could be architected like dissection dissectors, with tables and subtables and possibly using tvbs to pass there data instead of raw byte arrays. This is a first step towards that by refactoring capture_info_packet() to work off of a "capture dissector table" Registering the capture dissection functions instead of calling them directly also clears up a bunch of dissector header files who sole purpose was providing the capture dissection function definition. Change-Id: I10e9b79e061f32d2572f009823601d4f048d37aa Reviewed-on: https://code.wireshark.org/review/12581 Petri-Dish: Michael Mann Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann --- epan/dissectors/packet-ipfc.h | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 epan/dissectors/packet-ipfc.h (limited to 'epan/dissectors/packet-ipfc.h') diff --git a/epan/dissectors/packet-ipfc.h b/epan/dissectors/packet-ipfc.h deleted file mode 100644 index 8fc077af54..0000000000 --- a/epan/dissectors/packet-ipfc.h +++ /dev/null @@ -1,30 +0,0 @@ -/* packet-ipfc.h - * - * Wireshark - Network traffic analyzer - * By Gerald Combs - * Copyright 1998 Gerald Combs - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -#ifndef __PACKET_IPFC_H__ -#define __PACKET_IPFC_H__ - -#include "ws_symbol_export.h" - -WS_DLL_PUBLIC -void capture_ipfc(const guchar *, int, packet_counts *); - -#endif -- cgit v1.2.3