8eddb1650d
We are exporting a registration function from libwireshark just to have it passed back as a callback. Seems unnecessary. Change-Id: I7621005c9be11691d319102326824c5e3520a6f3 Reviewed-on: https://code.wireshark.org/review/29328 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot Reviewed-by: João Valverde <j@v6e.pt>
35 lines
964 B
C
35 lines
964 B
C
/*
|
|
* init_wslua.h
|
|
*
|
|
* Wireshark - Network traffic analyzer
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
* Copyright 1998 Gerald Combs
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef __INIT_WSLUA_H__
|
|
#define __INIT_WSLUA_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif /* __cplusplus */
|
|
|
|
#include "ws_symbol_export.h"
|
|
|
|
WS_DLL_PUBLIC int wslua_count_plugins(void);
|
|
WS_DLL_PUBLIC void wslua_reload_plugins (register_cb cb, gpointer client_data);
|
|
|
|
typedef void (*wslua_plugin_description_callback)(const char *, const char *,
|
|
const char *, const char *,
|
|
void *);
|
|
WS_DLL_PUBLIC void wslua_plugins_get_descriptions(wslua_plugin_description_callback callback, void *user_data);
|
|
WS_DLL_PUBLIC void wslua_plugins_dump_all(void);
|
|
WS_DLL_PUBLIC const char *wslua_plugin_type_name(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif /* __cplusplus */
|
|
|
|
#endif /* __INIT_WSLUA_H__ */
|