Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
disabled_protos.h
Go to the documentation of this file.
1
11#pragma once
12#ifdef __cplusplus
13extern "C" {
14#endif /* __cplusplus */
15
16#include <ws_symbol_export.h>
17
25WS_DLL_PUBLIC bool
27
33WS_DLL_PUBLIC bool
34proto_disable_proto_by_name(const char *name);
35
42WS_DLL_PUBLIC bool
43proto_enable_proto_by_name(const char *name);
44
51WS_DLL_PUBLIC bool
52proto_enable_heuristic_by_name(const char *name);
53
60WS_DLL_PUBLIC bool
61proto_disable_heuristic_by_name(const char *name);
62
74WS_DLL_PUBLIC void
75read_enabled_and_disabled_lists(const char* app_env_var_prefix);
76
83WS_DLL_PUBLIC void
84save_enabled_and_disabled_lists(const char* app_env_var_prefix);
85
92extern void
94
95#ifdef __cplusplus
96}
97#endif /* __cplusplus */
WS_DLL_PUBLIC bool proto_disable_proto_by_name(const char *name)
Disable a particular protocol by name.
Definition disabled_protos.c:456
WS_DLL_PUBLIC bool proto_enable_proto_by_name(const char *name)
Enable a particular protocol by name.
Definition disabled_protos.c:495
void cleanup_enabled_and_disabled_lists(void)
Cleans up enabled and disabled protocol lists.
Definition disabled_protos.c:1057
WS_DLL_PUBLIC void read_enabled_and_disabled_lists(const char *app_env_var_prefix)
Read the files that enable and disable protocols and heuristic dissectors. Report errors through the ...
Definition disabled_protos.c:893
WS_DLL_PUBLIC void save_enabled_and_disabled_lists(const char *app_env_var_prefix)
Write out the lists of enabled and disabled protocols and heuristic dissectors to the corresponding f...
Definition disabled_protos.c:1008
WS_DLL_PUBLIC bool proto_enable_heuristic_by_name(const char *name)
Enable a particular heuristic dissector by name.
Definition disabled_protos.c:869
WS_DLL_PUBLIC bool enabled_protos_unsaved_changes(void)
Check if there are unsaved changes to enabled protocols.
Definition disabled_protos.c:70
WS_DLL_PUBLIC bool proto_disable_heuristic_by_name(const char *name)
Disable a heuristic dissector by name.
Definition disabled_protos.c:875