Wireshark mailing list archives

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


From: Andreas <AndreasSander1 () gmx net>
Date: Mon, 20 Dec 2010 20:02:23 +0100

Am 20.12.2010 19:22, schrieb Stephen Fisher:

Using accessor functions to set and get values as in object-oriented
programming instead of directly using the variables would help prevent
problems like this.

Agreed. This helps hiding implementation change at an API interface. 
Such set of functions should be well defined to keep the names consistent.

--
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: