Add function smbd_smb2_unread_bytes().
commita36d7633bd3608b71f610fc9df2ad9c66bfdd9c6
authorJeremy Allison <jra@samba.org>
Tue, 19 Mar 2013 19:24:17 +0000 (19 12:24 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 19 Apr 2013 21:10:51 +0000 (19 14:10 -0700)
treeec07abbfedc5af77fed95a8db58b64aa4eb13d10
parentec9fc986da8279f15338b7682c629bfdfc36d016
Add function smbd_smb2_unread_bytes().

Returns number of bytes left to read for recvfile. Will be
used in SMB_2_WRITE_FILE code path.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan (metze) Metzmacher <metze@samba.org>
source3/smbd/globals.h
source3/smbd/smb2_glue.c