| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
init_wslua.h
Go to the documentation of this file.
1
9
10#ifndef __INIT_WSLUA_H__
11#define __INIT_WSLUA_H__
12
13#include "ws_symbol_export.h"
14#include <epan/register.h> /* for register_cb */
15#include <stdbool.h>
16
17#include "epan/register.h"
18
19#ifdef __cplusplus
20 extern "C" {
21#endif /* __cplusplus */
22
31WS_DLL_PUBLIC int wslua_count_plugins(void);
32
44WS_DLL_PUBLIC bool wslua_reload_plugins (register_cb cb, void *client_data, const char* app_env_var_prefix);
45
46 typedef void (*wslua_plugin_description_callback)(const char *, const char *,
47 const char *, const char *,
48 void *);
49
58WS_DLL_PUBLIC void wslua_plugins_get_descriptions(wslua_plugin_description_callback callback, void *user_data);
59
63WS_DLL_PUBLIC void wslua_plugins_dump_all(void);
64
73WS_DLL_PUBLIC const char *wslua_plugin_type_name(void);
74
75#ifdef __cplusplus
76}
77#endif /* __cplusplus */
78
79#endif /* __INIT_WSLUA_H__ */
wslua_count_plugins
WS_DLL_PUBLIC int wslua_count_plugins(void)
Counts the number of Lua plugins.
Definition init_wslua.c:1138
wslua_plugins_dump_all
WS_DLL_PUBLIC void wslua_plugins_dump_all(void)
Dumps all Lua plugins.
Definition init_wslua.c:1172
wslua_plugins_get_descriptions
WS_DLL_PUBLIC void wslua_plugins_get_descriptions(wslua_plugin_description_callback callback, void *user_data)
Retrieves descriptions of all loaded WSLua plugins.
Definition init_wslua.c:1153
wslua_reload_plugins
WS_DLL_PUBLIC bool wslua_reload_plugins(register_cb cb, void *client_data, const char *app_env_var_prefix)
Reloads Lua plugins.
Definition init_wslua.c:2050
wslua_plugin_type_name
WS_DLL_PUBLIC const char * wslua_plugin_type_name(void)
Returns the type name of the WSLUA plugin.
Definition init_wslua.c:1177
register.h
client_data
Definition packet-bt-dht.c:97