diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-17 15:00:52 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-17 15:00:52 +0000 |
commit | 0f157e7d6c4be48f213ea022cb2d6d1316c423c8 (patch) | |
tree | ff4ad271b50a39e23d5a50a54f4bff37342cdc1c /epan/packet.h | |
parent | Adding debian version 4.2.4-1. (diff) | |
download | wireshark-0f157e7d6c4be48f213ea022cb2d6d1316c423c8.tar.xz wireshark-0f157e7d6c4be48f213ea022cb2d6d1316c423c8.zip |
Merging upstream version 4.2.5.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/packet.h')
-rw-r--r-- | epan/packet.h | 5 |
1 files changed, 4 insertions, 1 deletions
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, |