2013-08-13 10:38:30 +00:00
|
|
|
/*
|
|
|
|
* init_wslua.h
|
|
|
|
*
|
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
2018-01-29 22:40:45 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2013-08-13 10:38:30 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __INIT_WSLUA_H__
|
|
|
|
#define __INIT_WSLUA_H__
|
|
|
|
|
2014-01-01 14:12:38 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
2017-11-21 18:38:44 +00:00
|
|
|
#include "epan/register.h"
|
2013-12-02 08:30:29 +00:00
|
|
|
#include "ws_symbol_export.h"
|
|
|
|
|
2013-08-13 10:38:30 +00:00
|
|
|
WS_DLL_PUBLIC int wslua_count_plugins(void);
|
2015-08-11 12:08:08 +00:00
|
|
|
WS_DLL_PUBLIC void wslua_reload_plugins (register_cb cb, gpointer client_data);
|
2013-08-13 10:38:30 +00:00
|
|
|
|
2013-12-02 08:30:29 +00:00
|
|
|
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);
|
2018-01-29 22:40:45 +00:00
|
|
|
WS_DLL_PUBLIC const char *wslua_plugin_type_name(void);
|
2013-12-02 08:30:29 +00:00
|
|
|
|
2014-01-01 14:12:38 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
2013-08-13 10:38:30 +00:00
|
|
|
#endif /* __INIT_WSLUA_H__ */
|