libsmblclient and closing connections?
Richard Sharpe
rsharpe at richardsharpe.com
Thu Feb 17 21:37:07 GMT 2005
On Thu, 17 Feb 2005, Jeremy Monin wrote:
> On Thu, 17 Feb 2005, Richard Sharpe wrote:
> > I guess what is really needed is an smbc_shutdown (and
> > smbc_shutdown_context) that will close down all connections and clean
> > things up.
> >
> > While this function will be relatively easy to create, I am not sure I
> > have the time right now to do that :-)
>
> It looks like smbc_free_context would do most of the work; is this a good
> assumption?
Yes. I hadn't noticed it when I first went trawling through the code.
Perhaps an smbc_shutdown is needed only for completeness sake.
Regards
-----
Richard Sharpe, rsharpe[at]richardsharpe.com, rsharpe[at]samba.org,
sharpe[at]ethereal.com, http://www.richardsharpe.com
More information about the samba-technical
mailing list