Add async cli_pull support
authorVolker Lendecke <vl@samba.org>
Thu, 28 Feb 2008 14:21:33 +0000 (15:21 +0100)
committerVolker Lendecke <vl@samba.org>
Thu, 28 Feb 2008 14:27:55 +0000 (15:27 +0100)
commit525aac775ecef275dbd0732830a9bac0fd023135
treef94f42e0cff50c92d927f3b1c33d3d87305be997
parent1d41b5bd2a58dcc6966a3a49ccb063ff05e46125
Add async cli_pull support

This is the big (and potentially controversial) one. It took a phone call to
explain to metze what is going on inside cli_pull_read_done, but I would really
like everybody to understand this function. It is a very good and reasonably
complex example of async programming. If we want more asynchronism in s3, this
is what we will have to deal with :-)

Make use of it in the smbclient "get" command.

Volker
(This used to be commit 844a163458c7585e4306a21ffdae5d08e03d6e4d)
source3/client/client.c
source3/libsmb/clireadwrite.c