| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
init_wslua.h
Go to the documentation of this file.
1
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
52WS_DLL_PUBLIC void wslua_reload_done(void);
53
54 typedef void (*wslua_plugin_description_callback)(const char *, const char *,
55 const char *, const char *,
56 void *);
57
66WS_DLL_PUBLIC void wslua_plugins_get_descriptions(wslua_plugin_description_callback callback, void *user_data);
67
71WS_DLL_PUBLIC void wslua_plugins_dump_all(void);
72
81WS_DLL_PUBLIC const char *wslua_plugin_type_name(void);
82
83#ifdef __cplusplus
84}
85#endif /* __cplusplus */
86
87#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:1123
wslua_plugins_dump_all
WS_DLL_PUBLIC void wslua_plugins_dump_all(void)
Dumps all Lua plugins.
Definition init_wslua.c:1157
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:1138
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:2034
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:1162
wslua_reload_done
WS_DLL_PUBLIC void wslua_reload_done(void)
Signal that a Lua plugin reload is complete.
Definition init_wslua.c:2082
register.h
client_data
Definition packet-bt-dht.c:99