ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Routines for registering dissectors with a"portnumber", and

From: Andreas <AndreasSander1@xxxxxxx>
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