libcli/raw: add a recv_helper hook infrastructure
authorStefan Metzmacher <metze@samba.org>
Fri, 4 Jul 2008 17:52:23 +0000 (19:52 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 7 Jul 2008 11:43:13 +0000 (13:43 +0200)
commit6d84af89ba96627abe142ba7080c24ae2421ed6c
tree6a7104b14817865277d844659c28b2b53a311a01
parenta65599cc83a12ec61e5a6ba6ad9628619a0dc8a3
libcli/raw: add a recv_helper hook infrastructure

The recv helper will be called when a response comes
and the recv helper can decide to let the request
on the SMBCLI_REQUEST_RECV when more reponse packets
are expected. It's up to the helper function
to keep a reference to the in buffers, each incoming
response overwrites req->in.

metze
source/libcli/raw/clitransport.c
source/libcli/raw/libcliraw.h