summaryrefslogtreecommitdiffstats
path: root/source3/include/async_smb.h
Commit message (Collapse)AuthorAgeFilesLines
* s3: Add a talloc_move for the inbuf to cli_smb_recvVolker Lendecke2010-02-221-2/+3
|
* s3: Move smb_splice_chain to smbd/process.c, its only userVolker Lendecke2009-12-221-5/+0
|
* s3:libsmb: let cli_smb_chain_send() also return NTSTATUSStefan Metzmacher2009-05-131-1/+1
| | | | metze
* s3: return proper error code in cli_smb_req_sendBo Yang2009-05-131-1/+1
| | | | Signed-off-by: Bo Yang <boyang@samba.org>
* Add async oplock waiterVolker Lendecke2009-04-061-0/+7
|
* Remove async_req based async libsmb infrastructureVolker Lendecke2009-04-061-112/+0
|
* Add new async libsmb infrastructureVolker Lendecke2009-04-061-0/+27
| | | | | | | | I know this is just yet another iteration, but I like this one much better than the one that exists right now :-) It will do trans and echo requests without a _recv helper and without unnecessary memcpy().
* s3:libsmb: use new simplified smb_signing code for the client sideStefan Metzmacher2009-03-231-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
* Add the cli_wct_ofs routine to calculate the offset for write&xVolker Lendecke2008-12-191-0/+2
|
* Convert cli_request->outbuf to uint8_tVolker Lendecke2008-12-191-2/+2
|
* For large smbwrite&x, we need more than 64k bccVolker Lendecke2008-12-191-2/+2
|
* Pass "bytes_alignment" up through cli_request_sendVolker Lendecke2008-12-191-0/+1
| | | | This parameter makes smb_spice_chain add padding before the bytes field
* Add a "bytes_padding" parameter to smb_splice_chainVolker Lendecke2008-12-081-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.
* Factor out smb_splice_chain(), to be used by chain_reply() in smbdVolker Lendecke2008-12-081-0/+3
|
* Add utility function cli_in_chain()Volker Lendecke2008-09-091-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)
* Remove cli_request_get()Volker Lendecke2008-08-281-6/+0
| | | | | req->private_data==NULL at this point is definitely a bug. (This used to be commit ce3dc9f616cafc1289a94ac7cae0beca967d836e)
* Add async smbecho client supportVolker Lendecke2008-08-281-0/+4
| | | | (This used to be commit c1d645fbe39433541d8bfe6b818c855cee318dc5)
* Add cli_request->recv_helperVolker Lendecke2008-08-281-0/+12
| | | | | Necessary for requests with multiple replies (This used to be commit cb2e338eb33dfb4627f9b43456af0c86d7d268c6)
* Activate code to enable chained requestsVolker Lendecke2008-08-281-2/+19
| | | | | Add the CHAIN1 torture test (This used to be commit 82992d74a99b056bbfe90e1b79190e0b7c0bf2bd)
* Move "struct cli_request" from client.h to async_smb.hVolker Lendecke2008-08-281-0/+63
| | | | | Also add some comments (This used to be commit 2ecc311f785317caf5b60051147dcd085c80d64f)
* Add cli_pull_replyVolker Lendecke2008-08-281-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)
* Remove cli->event_ctx, pass it explicitlyVolker Lendecke2008-08-281-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)
* Refactoring: Add the routine cli_request_send()Volker Lendecke2008-08-281-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)
* Add infrastructure to support async SMB requestsVolker Lendecke2008-03-061-0/+62
(This used to be commit e2153301351559f30f2714345f4c1ca6c5f1a45f)