libsmb: Add protocol-agnostic cli_read
authorVolker Lendecke <vl@samba.org>
Wed, 4 Apr 2018 14:18:28 +0000 (16:18 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 27 Aug 2018 21:09:15 +0000 (23:09 +0200)
commita5c4d91ebf6527001a2cc8a316db931768ec8249
tree53523fe86e6e507ae44b53863dad0a217789b307
parent4d72ebb821518c25e4759ad697d5e18257f80765
libsmb: Add protocol-agnostic cli_read

So far only cli_pull could be called directly without looking at the
protocol. We did not have a simple read that did the right thing
depending on the protocol

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libsmb/clireadwrite.c
source3/libsmb/proto.h