[haiku-commits] Re: haiku: hrev54923 - src/kits/network/libnetservices src/kits/network/libnetapi headers/private/netservices headers/os/net

  • From: Niels Sascha Reedijk <niels.reedijk@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 28 Jan 2021 09:00:24 +0000

HI Axel,

On Thu, Jan 28, 2021 at 8:57 AM Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:


Am 27/01/2021 um 20:53 schrieb Niels Sascha Reedijk:
In the implementation, both libbnetapi.so and libnetservices.a will
use the same header and source files. If LIBNETAPI_DEPRECATED is
defined during build, the headers and source will have binary
compatible behavior. Otherwise, the classes and other objects will be
put in the HaikuExt namespace.

Did you invent the "HaikuExt" namespace for this, or did it already exist?
We usually use the BPrivate namespace for experimental (and private)
API. If we really want to invent a new one for this, shouldn't it be
called "Exp" not "Ext"?
In any case, I would not deviate from starting all our names with a B,
not to clobber the global namespace any more.

It seems like this message got through the cracks. After discussion
during code review, it is now in the BPrivate::Network namespace.

N>

Other related posts: