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)
commit844a163458c7585e4306a21ffdae5d08e03d6e4d
tree2e1503c9e41613be9336458a393780371b6a4896
parentf5356825698a02df2d400b51dd95d1f857c83e81
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
source/client/client.c
source/libsmb/clireadwrite.c