[PATCH] Shared samba build

Michael Sweet mike at easysw.com
Wed Oct 26 17:28:52 GMT 2005


Jelmer Vernooij wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi Michael,
> 
> Michael Sweet wrote:
> 
>> Jelmer Vernooij wrote:
>>
>>> ...
>>> seperate as well, for example, we could have:
>>>
>>> - - libsmbclient (basically libcli)
>>> - - libmsrpc
>>> - - libtalloc
>>> - - libldb
>>> - - libtdb
>>> - - libnet
>>> - - libcom
>>> - - libsocket_wrapper
>>> - - libregistry
>>
>> May I humbly suggest that you prefix all library named with "smb",
>> e.g. libsmbmsrpc, libsmbtalloc, etc. to avoid "polluting" the global
>> library namespace?
> 
> Sure. I'd agree with that for some, but not all, of those. It'd make
> sense for 'libcom', 'libregistry' and 'libnet' but not for the others
> IMHO. 'ldb', 'talloc' and 'tdb' are general purpose and are used by
> projects other then Samba. 'msrpc' already has the prefix 'ms'.

IMHO, if those libraries are not distributed separately then they
should have the "smb" prefix, particularly if other projects (I'm
thinking WINE here, but others might also use SAMBA code) are
already shipping their own versions...

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Document Software          http://www.easysw.com


More information about the samba-technical mailing list