Wireshark-dev: Re: [Wireshark-dev] Routines for registering dissectors with a"portnumber", and
From: Andreas <[email protected]>
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.