Add async cli_pull support
commit76f9b360ee1d973630d82d401eeddce858189301
authorVolker Lendecke <vl@samba.org>
Thu, 28 Feb 2008 14:21:33 +0000 (28 15:21 +0100)
committerVolker Lendecke <vl@samba.org>
Thu, 6 Mar 2008 12:28:23 +0000 (6 13:28 +0100)
tree9c7d48ecf750d154caa0b1e477b143a19f08ddff
parente2153301351559f30f2714345f4c1ca6c5f1a45f
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