Is libsmb (the one that comes with samba) reentrant?

Andrew Tridgell tridge at linuxcare.com
Mon Nov 8 23:17:00 GMT 1999


> I am working on a small client program that will be doing file transfer tests
> on multiple SMB machines and I was wondering if libsmb was re-entrant?  

I doubt it is re-entrant. 

hmm, looking over the code it is probably not far off. The only static
variable is an error string. It could probably be made re-entrant with
very little work.

A higher priority would be to document it and make it build as a
standalone library though :)


More information about the samba-technical mailing list