From e27759aa56732ec1423a104333c1d88f5ddd7efb Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 17 May 2024 17:00:51 +0200 Subject: Adding upstream version 4.2.5. Signed-off-by: Daniel Baumann --- epan/packet.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'epan/packet.h') diff --git a/epan/packet.h b/epan/packet.h index ecfa85a0..80003c6f 100644 --- a/epan/packet.h +++ b/epan/packet.h @@ -471,11 +471,14 @@ typedef struct heur_dtbl_entry { /** A protocol uses this function to register a heuristic sub-dissector list. * Call this in the parent dissectors proto_register function. * - * @param name the name of this protocol + * @param name a unique short name for the list * @param proto the value obtained when registering the protocol */ WS_DLL_PUBLIC heur_dissector_list_t register_heur_dissector_list(const char *name, const int proto); +/** Deregister a heuristic dissector list by unique short name. */ +void deregister_heur_dissector_list(const char *name); + typedef void (*DATFunc_heur) (const gchar *table_name, struct heur_dtbl_entry *entry, gpointer user_data); typedef void (*DATFunc_heur_table) (const char *table_name, -- cgit v1.2.3