forked from osmocom/wireshark
49 lines
1.1 KiB
C
49 lines
1.1 KiB
C
/* stats_tree_plugin.c
|
|
* Stats tree plugin registration file
|
|
* Automatically generated by make_stat_tree_registration.pl
|
|
*
|
|
* Wireshark - Network traffic analyzer
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
* Copyright 1998 Gerald Combs
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#include "config.h"
|
|
|
|
#include <gmodule.h>
|
|
|
|
/* plugins are DLLs */
|
|
#define WS_BUILD_DLL
|
|
#include "ws_symbol_export.h"
|
|
|
|
#include <epan/stats_tree.h>
|
|
#include "pinfo_stats_tree.h"
|
|
|
|
WS_DLL_PUBLIC_DEF const gchar plugin_version[] = PLUGIN_VERSION;
|
|
WS_DLL_PUBLIC_DEF const int plugin_want_major = VERSION_MAJOR;
|
|
WS_DLL_PUBLIC_DEF const int plugin_want_minor = VERSION_MINOR;
|
|
|
|
WS_DLL_PUBLIC void plugin_register(void);
|
|
|
|
void plugin_register(void)
|
|
{
|
|
static tap_plugin plug;
|
|
|
|
plug.register_tap_listener = register_pinfo_stat_trees;
|
|
tap_register_plugin(&plug);
|
|
}
|
|
|
|
/*
|
|
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
|
*
|
|
* Local variables:
|
|
* c-basic-offset: 8
|
|
* tab-width: 8
|
|
* indent-tabs-mode: t
|
|
* End:
|
|
*
|
|
* vi: set shiftwidth=8 tabstop=8 noexpandtab:
|
|
* :indentSize=8:tabSize=8:noTabs=false:
|
|
*/
|