ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] Ungerister hfinfo fields

From: Helge Kruse <Helge.Kruse@xxxxxxx>
Date: Wed, 25 Jul 2012 10:42:29 +0200
While implementing a dissector I need to unregister hfinfo structs. These structs had been created temporarily and should be deleted. Someting similar can also be found in packet-http.c, line#2122.

The libWireshark.dll exports proto_register_field_array but unfortunately not proto_unregister_field. Hence this functionality is not supported for dissector plug-ins. Can you please add proto_unregister_field to the export list in libwireshark.def?

Thanks,
Helge