Wireshark mailing list archives

Re: Routines for registering dissectors with a "portnumber", and looking up dissectors by "port number", renamed


From: "news.gmane.com" <AndreasSander1 () gmx net>
Date: Mon, 20 Dec 2010 07:37:33 +0100


"Guy Harris" <guy () alum mit edu> wrote in message 
news:46DF3675-DDB3-4A9A-BB54-3C32A101D849 () alum mit edu...
I've checked into the trunk a change to rename:

dissector_add() -> dissector_add_uint()
dissector_change() -> dissector_change_uint()
dissector_delete() -> dissector_delete_uint()
dissector_get_port_handle() -> dissector_get_uint_handle()
dissector_reset() -> dissector_reset_uint()
dissector_try_port() -> dissector_try_uint()
dissector_try_port_new() -> dissector_try_uint_new()>
next_tvb_add_port() -> next_tvb_add_uint()

Well, that meens, any dissector DLL that uses this function stops working 
with the next revision of libwireshark.dll since the old functions will not 
be in the export list anymore.

I hope the new function names become stable, so that someday a Wireshark API 
can be defined.

--
Andy



___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: