libsmbclient for Samba4: initial design issues

Alexander Bokovoy ab at
Mon Aug 15 12:49:15 GMT 2005

On Sat, Aug 13, 2005 at 11:58:46AM +1000, tridge at wrote:
> Perhaps we could look at a different technical solution? I believe
> that gcc and the GNU binutils has a way of marking functions as being
> public when the code is in a library, thus allowing C code to specify
> a 3 level scoping of "public", "internal" and "file", instead of the
> usual 2 level scoping of "public" and "file" given by
> static/non-static.
> This wouldn't help us on non-GNU platforms, but it would solve the
> namespace problem on the majority of our users platforms, and the
> other platforms can just live with the (very small!) chance of a name
> collision with the small range of prefixes we have now.
True. And on GNU platforms we can also use versioning for the libraries.
Perhaps we even have to use that to keep interfaces stable yet allowing to
evolve properly.

/ Alexander Bokovoy
Samba Team            
ALT Linux Team        
Midgard Project Ry    
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the samba-technical mailing list