summaryrefslogtreecommitdiff
path: root/source3/include/async_smb.h
AgeCommit message (Collapse)AuthorFilesLines
2009-03-23s3:libsmb: use new simplified smb_signing code for the client sideStefan Metzmacher1-0/+2
We store the seqnum/mid mapping in the cli_request structure for async requests and in the cli_state structure for sync calls. We skip the signing check for oplock requests while waiting for async requests coming in. metze
2008-12-19Add the cli_wct_ofs routine to calculate the offset for write&xVolker Lendecke1-0/+2
2008-12-19Convert cli_request->outbuf to uint8_tVolker Lendecke1-2/+2
2008-12-19For large smbwrite&x, we need more than 64k bccVolker Lendecke1-2/+2
2008-12-19Pass "bytes_alignment" up through cli_request_sendVolker Lendecke1-0/+1
This parameter makes smb_spice_chain add padding before the bytes field
2008-12-08Add a "bytes_padding" parameter to smb_splice_chainVolker Lendecke1-0/+1
For example open&x and write&x needs the bytes to be aligned relative to the SMB header. In particular for write&x we should not have to move stuff around.
2008-12-08Factor out smb_splice_chain(), to be used by chain_reply() in smbdVolker Lendecke1-0/+3
2008-09-09Add utility function cli_in_chain()Volker Lendecke1-0/+1
This gives a hint whether a function is called from within the middle of a chain. In particular the trans calls don't really like this. (This used to be commit 4252b32db5ef7483f2c5c52312b6e6dc68d1d687)
2008-08-28Remove cli_request_get()Volker Lendecke1-6/+0
req->private_data==NULL at this point is definitely a bug. (This used to be commit ce3dc9f616cafc1289a94ac7cae0beca967d836e)
2008-08-28Add async smbecho client supportVolker Lendecke1-0/+4
(This used to be commit c1d645fbe39433541d8bfe6b818c855cee318dc5)
2008-08-28Add cli_request->recv_helperVolker Lendecke1-0/+12
Necessary for requests with multiple replies (This used to be commit cb2e338eb33dfb4627f9b43456af0c86d7d268c6)
2008-08-28Activate code to enable chained requestsVolker Lendecke1-2/+19
Add the CHAIN1 torture test (This used to be commit 82992d74a99b056bbfe90e1b79190e0b7c0bf2bd)
2008-08-28Move "struct cli_request" from client.h to async_smb.hVolker Lendecke1-0/+63
Also add some comments (This used to be commit 2ecc311f785317caf5b60051147dcd085c80d64f)
2008-08-28Add cli_pull_replyVolker Lendecke1-0/+4
Along the lines of cli_request_send this abstracts away the smb-level buffer handling when parsing replies we got from the server. (This used to be commit 253134d3aaa359fdfb665709dd5686f69af7f8fd)
2008-08-28Remove cli->event_ctx, pass it explicitlyVolker Lendecke1-15/+3
Storing the event_context as permanent state in struct cli_state creates more complex code than necessary IMO. (This used to be commit debb37f703075008e5ea7d34d214cfa4d0f8f916)
2008-08-28Refactoring: Add the routine cli_request_send()Volker Lendecke1-6/+6
cli_request_send() is supposed to bundle all generic SMB-header handling. This makes cli_request_new static to async_smb.c. (This used to be commit 7e73dd4e7622db64d30d48ba106892e0895fc188)
2008-03-06Add infrastructure to support async SMB requestsVolker Lendecke1-0/+62
(This used to be commit e2153301351559f30f2714345f4c1ca6c5f1a45f)