summaryrefslogtreecommitdiff
path: root/epan/disabled_protos.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/disabled_protos.h')
-rw-r--r--epan/disabled_protos.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/epan/disabled_protos.h b/epan/disabled_protos.h
index 2f06c22fc5..33e56f7d9b 100644
--- a/epan/disabled_protos.h
+++ b/epan/disabled_protos.h
@@ -62,6 +62,13 @@ WS_DLL_PUBLIC void
save_disabled_protos_list(char **pref_path_return, int *errno_return);
/*
+ * Disable a particular protocol by name
+ */
+
+WS_DLL_PUBLIC void
+proto_disable_proto_by_name(const char *name);
+
+/*
* Read in a list of disabled protocols.
*
* On success, "*pref_path_return" is set to NULL.
@@ -94,6 +101,12 @@ set_disabled_heur_dissector_list(void);
WS_DLL_PUBLIC void
save_disabled_heur_dissector_list(char **pref_path_return, int *errno_return);
+/*
+ * Enable/disable a particular heuristic dissector by name
+ */
+WS_DLL_PUBLIC void
+proto_enable_heuristic_by_name(const char *name, gboolean enable);
+
#ifdef __cplusplus
}