aboutsummaryrefslogtreecommitdiffstats
path: root/epan/tpg.c
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2017-09-26 21:45:16 +0100
committerAnders Broman <a.broman58@gmail.com>2017-09-28 12:26:01 +0000
commitf0e12f0fd301476378719d8268f13d53b14aaf1b (patch)
treeb48d6c99803d436d4b18c52136242eb6f0a4b15e /epan/tpg.c
parent13184fbf3a1490e2ba7c27cf34e458a77bfcc337 (diff)
Remove TPG plugin and dependencies
It doesn't build with autotools and CMake. Under-documented and unmaintained. Seems to be a work-in-progress that stalled. Introduces spurious CMake dependency on yapp. Change-Id: I0dca1ccbdfd683586c05765437d4b7804ab5cc70 Reviewed-on: https://code.wireshark.org/review/23758 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/tpg.c')
-rw-r--r--epan/tpg.c69
1 files changed, 0 insertions, 69 deletions
diff --git a/epan/tpg.c b/epan/tpg.c
deleted file mode 100644
index 05ae6a4b18..0000000000
--- a/epan/tpg.c
+++ /dev/null
@@ -1,69 +0,0 @@
-/* tpg.c
- * helper functions for TPG
- *
- * (c) 2005, Luis E. Garcia Ontanon <luis@ontanon.org>
- *
- * Wireshark - Network traffic analyzer
- * By Gerald Combs <gerald@wireshark.org>
- * 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.
- */
-
-
-#include "config.h"
-
-#include "tpg.h"
-#include <epan/wmem/wmem.h>
-#include <epan/packet.h>
-
-extern guint32 tpg_ipv4(tvbparse_elem_t* e _U_) {
- /* XXX TO DO */
- return 0;
-}
-
-extern guint8* tpg_ipv6(tvbparse_elem_t* e _U_) {
- /* XXX TO DO */
- return NULL;
-}
-
-extern tpg_parser_data_t* tpg_start(proto_tree* root_tree,
- tvbuff_t* tvb,
- int offset,
- int len,
- tvbparse_wanted_t* ignore,
- void* private_data) {
- tpg_parser_data_t* tpg = wmem_new(wmem_packet_scope(), tpg_parser_data_t);
- tpg->private_data = private_data;
- tpg->tt = tvbparse_init(tvb,offset,len,tpg,ignore);
-
- tpg->stack = wmem_stack_new(wmem_packet_scope());
- wmem_stack_push(tpg->stack, root_tree);
-
- return tpg;
-}
-
-/*
- * Editor modelines - http://www.wireshark.org/tools/modelines.html
- *
- * Local variables:
- * c-basic-offset: 4
- * tab-width: 8
- * indent-tabs-mode: nil
- * End:
- *
- * vi: set shiftwidth=4 tabstop=8 expandtab:
- * :indentSize=4:tabSize=8:noTabs=true:
- */