Proposal: libsmbclient API

Jeremy Allison jra at samba.org
Thu Mar 26 16:26:03 GMT 2009


On Thu, Mar 26, 2009 at 04:53:32PM +0100, Andreas Schneider wrote:
> On Tuesday 24 March 2009 15:39:46 Derrell Lipman wrote:
> > Well the samba3 portion of master isn't changing, and needs to retain
> > backwards compatibility. I think we can solve all of these issues, though,
> > by having this be the beginnings of a samba4 libsmbclient. A libsmbclient
> > for samba4 will have a much cleaner interface to the internals, due to the
> > benefit of 20-20-hindsight of some of the troubles in samba3 leading
> > towards a very clean interface design from the outset.  It can, as well,
> > address (remove!) many of the historical dependencies that samba3's
> > libsmbclient has had to live with.
> 
> So, what's the plan for libsmbclient now? Leave how it is, add setter and 
> getter for errno and try to make it thread safe the way it is (if possible)?

Yes I think that's possible.

> Where should we start?

Identify globals, make 'em local if possible, thread specific if not....
Slow, grunt work :-).

Jeremy.


More information about the samba-technical mailing list