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)
commit7718a89222549d3d38f58193374d7b5d6b0e79fa
tree6d5e00572b608e51831fedb657f9b09d6c30f69d
parent70ccb7e7ce0154c98b3bb26c4a85b52b4929ecf1
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
(This used to be commit 6d84af89ba96627abe142ba7080c24ae2421ed6c)
source4/libcli/raw/clitransport.c
source4/libcli/raw/libcliraw.h