summaryrefslogtreecommitdiff
path: root/libcli/smb/smbXcli_base.h
AgeCommit message (Collapse)AuthorFilesLines
2011-11-24smbXcli: rework smb1cli_req_recv() to expose an iov with 3 elementsStefan Metzmacher1-3/+17
Each smb1cli_req has 3 iov elements [SMB HDR, SMB Parameter Block, SMB Data Block]. The 'inbuf' is still exposed if the caller requires it (until we fix all legacy callers). The can now pass an array of expected [status,wct] combinations, instead of just one expected min_wct. metze
2011-11-24smbXcli: rework smb2cli_req to smbXcli_conn/smbXcli_reqStefan Metzmacher1-4/+4
metze
2011-11-24libcli/smb: copy smb2cli_req_* code to smbXcli_base.cStefan Metzmacher1-0/+41
metze
2011-11-24smbXcli: rework smbXcli_base.c to use smbXcli_conn/smbXcli_reqStefan Metzmacher1-0/+106
This splits the low level smb code from 'struct cli_state' and makes it much more generic and useful for testing. metze