libsmb and the cli_ routines and libsmbclient connection
handling
Richard Sharpe
sharpe at ns.aus.com
Sat Jan 27 00:30:33 GMT 2001
At 09:55 AM 1/27/01 +1100, Andrew Tridgell wrote:
>Richard,
>
>I'm happy for that sort of split, so we an open multiple shares on a
>connection. I'd far prefer it not be magic though - I'd hate for the
>library to automagically do this. Instead the app programmer should
>make two calls - one to create a connection struct and the other to
>access a share.
Yes, that is how I think it has to happen. When a user calls
cli_send_tconX, they get back a share struct, but they have to have created
a connection struct before hand ...
I think they need to do this anyway, so they get the option to have
separate connections for each share if they want, or shared connections
where they maje sense.
>Cheers, Tridge
>
Regards
-------
Richard Sharpe, sharpe at ns.aus.com
Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba
More information about the samba-technical
mailing list