Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
init_wslua.h
1 /*
2  * init_wslua.h
3  *
4  * Wireshark - Network traffic analyzer
5  * By Gerald Combs <gerald@wireshark.org>
6  * Copyright 1998 Gerald Combs
7  *
8  * SPDX-License-Identifier: GPL-2.0-or-later
9  */
10 
11 #ifndef __INIT_WSLUA_H__
12 #define __INIT_WSLUA_H__
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif /* __cplusplus */
17 
18 #include "epan/register.h"
19 #include "ws_symbol_export.h"
20 
21 WS_DLL_PUBLIC int wslua_count_plugins(void);
22 WS_DLL_PUBLIC void wslua_reload_plugins (register_cb cb, gpointer client_data);
23 
24 typedef void (*wslua_plugin_description_callback)(const char *, const char *,
25  const char *, const char *,
26  void *);
27 WS_DLL_PUBLIC void wslua_plugins_get_descriptions(wslua_plugin_description_callback callback, void *user_data);
28 WS_DLL_PUBLIC void wslua_plugins_dump_all(void);
29 WS_DLL_PUBLIC const char *wslua_plugin_type_name(void);
30 
31 #ifdef __cplusplus
32 }
33 #endif /* __cplusplus */
34 
35 #endif /* __INIT_WSLUA_H__ */