libsmb: Change cli_posix_stat_send to take a pointer to sbuf
commit7e6991565ee335cc300cb330874b44155f950bcc
authorVolker Lendecke <vl@samba.org>
Wed, 13 Mar 2019 15:10:33 +0000 (13 16:10 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 18 Mar 2019 19:21:24 +0000 (18 19:21 +0000)
treee128cdb66b35c775526c568deaee3224d60780e1
parentcfc3f32038e9373eeab0a26d2d7b6f4eca2fecc0
libsmb: Change cli_posix_stat_send to take a pointer to sbuf

This moves the parsing work from the _recv function into the _done
function. This makes writing the SMB2 call easier later on: We can
have a smb2-specific done function doing the smb2-specific work and we
don't have to fork on protocol in the _recv function.

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